/*
Theme Name: BokepTulen
Theme URI: https://bokeptulen.com
Author: BokepTulen
Description: Video streaming theme (replika tampilan indoav.com) — monokrom light/dark, Nunito, grid kartu 3-stat, filter nav, single page + related + trending.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: bokeptulen
Tags: video, streaming, light, dark, grid-layout, responsive-layout
*/

/* ============ Design tokens (shadcn-style, monochrome) ============ */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 0%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 0%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 0%;
  --primary: 0 0% 0%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 0%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --accent: 0 0% 96%;
  --accent-foreground: 0 0% 0%;
  --destructive: 0 0% 0%;
  --destructive-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 0 0% 0%;
  --radius: .5rem;
  --stat: 0 0% 45%;
  --thumb-bg: 0 0% 96%;
}
.dark {
  --background: 0 0% 0%;
  --foreground: 0 0% 100%;
  --card: 0 0% 4%;
  --card-foreground: 0 0% 100%;
  --popover: 0 0% 4%;
  --popover-foreground: 0 0% 100%;
  --primary: 0 0% 100%;
  --primary-foreground: 0 0% 0%;
  --secondary: 0 0% 10%;
  --secondary-foreground: 0 0% 100%;
  --muted: 0 0% 10%;
  --muted-foreground: 0 0% 65%;
  --accent: 0 0% 10%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 0% 100%;
  --destructive-foreground: 0 0% 0%;
  --border: 0 0% 20%;
  --input: 0 0% 20%;
  --ring: 0 0% 100%;
  --stat: 0 0% 65%;
  --thumb-bg: 0 0% 10%;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
a:hover { color: hsl(var(--foreground)); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding: 8px 14px; z-index: 999; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============ Header ============ */
.main-nav {
  position: sticky; top: 0; z-index: 100;
  width: 100%;
  display: flex; height: 64px; min-height: 64px;
  align-items: center; justify-content: space-between;
  gap: 8px; padding: 0 16px;
  max-width: 1400px; margin: 0 auto;
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  box-sizing: border-box;
}
.main-nav__logo { display: flex; align-items: center; flex-shrink: 0; min-width: 0; flex: 0 0 auto; max-width: 200px; }
.site-logo-text { text-decoration: none !important; }
.site-logo-text__content {
  font-family: "Nunito", sans-serif; font-weight: 900; font-size: 24px; line-height: 1.2;
  letter-spacing: -0.025em; color: hsl(var(--foreground)); white-space: nowrap;
  display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.main-nav__logo img { height: 34px; width: auto; }

/* Search */
.main-nav__search { flex: 1 1 0%; display: flex; align-items: center; justify-content: center; min-width: 0; }
.search-form { width: 100%; max-width: 560px; }
.search-form__wrapper { position: relative; display: flex; width: 100%; align-items: center; }
.search-form__icon-wrapper {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; color: hsl(var(--muted-foreground)); pointer-events: none; z-index: 2;
}
.search-form__input {
  display: flex; height: 40px; width: 100%;
  border-radius: var(--radius); border: 1.5px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 8px 72px 8px 44px;
  font-size: 14px; line-height: 20px; color: hsl(var(--foreground));
  outline: none !important; box-shadow: none; box-sizing: border-box;
}
.search-form__input:focus { border-color: hsl(var(--ring)); }
.search-form__button {
  position: absolute; right: 0; top: 0; height: 100%;
  display: flex; align-items: center; justify-content: center;
  min-width: 72px; width: 72px;
  background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  border: none; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 12px; font-weight: 500; cursor: pointer;
}
.search-form__button-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Dropdown (Filter / Kategori / Genre) */
.dropdown { position: relative; }
.dropdown__button {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  white-space: nowrap; border: none; background: transparent;
  border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 500;
  padding: 4px 6px; color: hsl(var(--foreground)); cursor: pointer;
  transition: background .15s;
}
.dropdown__button:hover { background: hsl(var(--accent)); }
.dropdown__content {
  position: absolute; right: 0; top: 100%; margin-top: 8px;
  display: none; z-index: 9999;
  min-width: 200px; width: max-content; max-width: min(90vw, 400px);
  max-height: calc(100vh - 100px); overflow-y: auto;
  border: 1px solid hsl(var(--border)); border-radius: 6px;
  background: hsl(var(--popover)); padding: 16px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}
.dropdown.open .dropdown__content { display: block; }
.dropdown__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.dropdown__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: normal; word-wrap: break-word;
  border-radius: 6px; padding: 4px 8px; min-height: 30px;
  font-size: 13px; line-height: 1.3; font-weight: 500; color: hsl(var(--foreground));
}
.dropdown__link:hover { background: hsl(var(--accent)); }
.dropdown__link--full { grid-column: 1 / -1; justify-content: flex-start; }

/* Theme toggle */
.main-nav__theme-toggle {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 8px;
  border: none; background: transparent; border-radius: 6px; color: hsl(var(--foreground));
  transition: background .15s; cursor: pointer;
}
.main-nav__theme-toggle:hover { background: hsl(var(--accent)); }
.theme-icon-light { display: inline-flex; }
.theme-icon-dark { display: none; }
.dark .theme-icon-light { display: none; }
.dark .theme-icon-dark { display: inline-flex; }

/* Mobile actions */
.mobile-actions { display: none; align-items: center; gap: 4px; flex-shrink: 0; }
.main-nav__mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px; padding: 6px;
  border: none; background: transparent; border-radius: 6px; color: hsl(var(--foreground)); cursor: pointer;
}
.main-nav__mobile-toggle:hover { background: hsl(var(--accent)); }

/* Mobile panels (search / filter / menu) */
/* Overlay HARUS di bawah header (z-index 100) tapi di atas konten, agar tombol header tetap bisa diklik. */
#bt-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 50; }

.mobile-search-panel {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: hsl(var(--popover)); border-bottom: 1px solid hsl(var(--border));
  padding: 12px; z-index: 90; box-shadow: 0 12px 24px rgba(0,0,0,.1);
}
.main-nav.search-open .mobile-search-panel { display: block; }

.mobile-filter-panel {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  background: hsl(var(--popover)); border-top: 1px solid hsl(var(--border));
  border-radius: 16px 16px 0 0; padding: 16px 16px 24px;
  z-index: 200; max-height: 60vh; overflow-y: auto;
  box-shadow: 0 -8px 28px rgba(0,0,0,.18);
}
.main-nav.filter-open .mobile-filter-panel { display: block; }

.mobile-menu-panel {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 85%; max-width: 320px;
  background: hsl(var(--popover));
  padding: 16px; z-index: 200; overflow-y: auto;
  box-shadow: -8px 0 28px rgba(0,0,0,.18);
}
.main-nav.menu-open .mobile-menu-panel { display: block; }

.mobile-filter-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mobile-filter-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.mobile-filter-links a:hover { background: hsl(var(--accent)); }

.mobile-menu-section { margin-bottom: 18px; }
.mobile-menu-section:last-child { margin-bottom: 0; }
.mobile-menu-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: hsl(var(--muted-foreground)); margin: 0 0 8px; }
.mobile-menu-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mobile-menu-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 6px; font-size: 14px; color: hsl(var(--foreground)); }
.mobile-menu-links a:hover { background: hsl(var(--accent)); }

/* Upload button */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  border: none; border-radius: 6px; font-weight: 500; font-size: 14px; cursor: pointer;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .9; color: hsl(var(--primary-foreground)); }
.btn-sm { height: 36px; padding: 0 12px; }
.upload-btn-wrap { flex-shrink: 0; }

/* ============ Filter nav ============ */
.filter-menu-wrapper {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.filter-menu__nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; padding: 6px 16px;
  max-width: 1400px; margin: 0 auto;
}
.filter-menu__link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 500;
  color: hsl(var(--muted-foreground)); white-space: nowrap;
  transition: background .15s, color .15s;
}
.filter-menu__link:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.filter-menu__link.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.filter-menu__icon { display: inline-flex; }

/* Mobile chip nav (kategori, horizontal scroll) */
.mobile-chip-nav {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-chip-nav::-webkit-scrollbar { display: none; }
.mobile-chip {
  display: inline-flex; align-items: center; flex-shrink: 0;
  padding: 6px 14px; border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  font-size: 13px; line-height: 1.2; font-weight: 500;
  color: hsl(var(--foreground)); white-space: nowrap;
  background: hsl(var(--muted));
}
.mobile-chip.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }

/* ============ Layout ============ */
.site-main { flex: 1; padding: 20px 0 48px; }
.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.page-title { font-size: 22px; font-weight: 800; }
.page-sub { color: hsl(var(--muted-foreground)); font-size: 14px; margin: 4px 0 20px; }

/* ============ Video card ============ */
.video-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
.video-card { min-width: 0; }
.video-card__thumbnail { position: relative; aspect-ratio: 16/9; background: hsl(var(--thumb-bg)); overflow: hidden; border-radius: 10px; }
.video-card__link { display: block; width: 100%; height: 100%; }
.video-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.video-card:hover .video-card__image { transform: scale(1.06); }
.video-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); opacity: 0; transition: opacity .2s ease;
}
.video-card:hover .video-card__overlay { opacity: 1; }
.video-card__play-icon { color: #fff; display: inline-flex; transform: scale(.85); transition: transform .2s ease; }
.video-card:hover .video-card__play-icon { transform: scale(1); }
.video-card__duration {
  position: absolute; right: 8px; bottom: 8px;
  padding: 2px 7px; border-radius: 5px;
  background: rgba(0,0,0,.8); color: #fff;
  font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .2px;
  pointer-events: none;
}
.video-card__meta { padding: 10px 2px 0; }
.video-card__title { font-size: 14px; font-weight: 600; line-height: 1.375; margin: 0; }
.video-card__title a { color: hsl(var(--foreground)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card__title a:hover { color: hsl(var(--foreground)); opacity: .8; }
.video-card__stats { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.video-card__stat-item { display: inline-flex; align-items: center; gap: 5px; color: hsl(var(--stat)); font-size: 12.5px; }
.video-card__stat-icon { display: inline-flex; }

/* ============ Single video ============ */
.video-player-wrap { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; border-radius: var(--radius); }
.video-player-wrap iframe, .video-player-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player-unavailable { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: hsl(var(--muted-foreground)); background: hsl(var(--muted)); }

.single-header { margin: 16px 0 8px; }
.video-page-title { font-size: 22px; font-weight: 700; line-height: 1.35; }
.video-page-title b { font-weight: 800; }
.duration-badge {
  display: inline-flex; align-items: center; vertical-align: middle;
  background: #d4d4d8; color: #27272a; padding: 2px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 500; white-space: nowrap; margin-left: 8px;
}
.dark .duration-badge { background: #52525b; color: #f4f4f5; }

.single-stats { display: flex; align-items: center; gap: 18px; margin: 10px 0 14px; color: hsl(var(--muted-foreground)); font-size: 14px; }
.single-stats .stat { display: inline-flex; align-items: center; gap: 6px; }

.action-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 6px; border: 1px solid hsl(var(--input));
  background: hsl(var(--background)); color: hsl(var(--foreground));
  font-size: 14px; font-weight: 500; transition: background .15s;
}
.action-btn:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.action-btn.liked { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }
.action-btn.muted-bg { background: color-mix(in srgb, hsl(var(--muted)) 40%, transparent); }

.single-date { color: hsl(var(--muted-foreground)); font-size: 13px; margin-bottom: 18px; }
.single-content { color: hsl(var(--foreground)); font-size: 15px; margin-bottom: 20px; }
.single-content a { color: hsl(var(--foreground)); text-decoration: underline; }
.video-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.term-chip { background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); padding: 4px 12px; border-radius: 999px; font-size: 13px; color: hsl(var(--foreground)); }
.term-chip:hover { background: hsl(var(--accent)); }

/* Share modal */
.share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.social-share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
}
.social-share-btn:hover { opacity: .85; color: hsl(var(--primary-foreground)); }

/* Section headings */
.section-head { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; }
.section-head h2 { font-size: 18px; font-weight: 800; }
.section-head .more { margin-left: auto; font-size: 13px; font-weight: 600; color: hsl(var(--muted-foreground)); }
.section-head .more:hover { color: hsl(var(--foreground)); }

/* ============ Sidebar / trending ============ */
.sidebar { position: sticky; top: 80px; align-self: start; }
.trending-block { margin-bottom: 24px; }
.trending-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: hsl(var(--muted-foreground)); margin: 0 0 10px; }
.trending-item { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid hsl(var(--border)); }
.trending-item:last-child { border-bottom: none; }
.trending-thumb { width: 120px; height: 68px; flex-shrink: 0; background: hsl(var(--thumb-bg)); overflow: hidden; border-radius: 4px; }
.trending-thumb img { width: 100%; height: 100%; object-fit: cover; }
.trending-body { min-width: 0; }
.trending-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trending-title a { color: hsl(var(--foreground)); }
.trending-stats { font-size: 12px; color: hsl(var(--muted-foreground)); margin-top: 3px; }

.widget { margin-bottom: 24px; }
.widget-title { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { margin-bottom: 8px; }
.widget ul li a { font-size: 14px; color: hsl(var(--foreground)); }
.widget ul li a:hover { color: hsl(var(--muted-foreground)); }
.widget ul li .count { color: hsl(var(--muted-foreground)); font-size: 12px; }

/* ============ Load More (pagination nyaman) ============ */
.bt-load-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.btn-lg { height: 46px; padding: 0 28px; font-size: 15px; font-weight: 700; border-radius: 8px; }
.bt-load-more { position: relative; min-width: 200px; }
.bt-load-more .bt-load-more-spinner {
  display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
}
.bt-load-more.loading .bt-load-more-spinner { display: inline-block; animation: bt-spin .7s linear infinite; }
.bt-load-more.loading .bt-load-more-label { opacity: .85; }
@keyframes bt-spin { to { transform: rotate(360deg); } }

/* Pagination lama (fallback, tetap dipertahankan) */
.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid hsl(var(--input)); border-radius: 6px; color: hsl(var(--foreground)); font-size: 14px; }
.pagination .page-numbers.current { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-weight: 700; }
.pagination .page-numbers:hover { background: hsl(var(--accent)); }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* ============ Comments ============ */
.comments-area { margin-top: 28px; }
.comments-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.comment-list { list-style: none; margin: 0 0 20px; padding: 0; }
.comment-list .comment-body { background: hsl(var(--muted)); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.comment-list .comment-meta { font-size: 12px; color: hsl(var(--muted-foreground)); margin-bottom: 6px; }
.comment-respond label { display: block; margin-bottom: 4px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond textarea {
  width: 100%; background: hsl(var(--muted)); border: 1px solid hsl(var(--input)); border-radius: 8px; padding: 10px 12px; color: hsl(var(--foreground)); margin-bottom: 12px; outline: none;
}
.comment-respond input:focus, .comment-respond textarea:focus { border-color: hsl(var(--ring)); }
.comment-respond .submit, .btn { background: hsl(var(--primary)); border: none; color: hsl(var(--primary-foreground)); padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: 700; }

/* ============ Upload form ============ */
.upload-form input, .upload-form textarea {
  width: 100%; background: hsl(var(--muted)); border: 1px solid hsl(var(--input)); border-radius: 8px; padding: 10px 12px; color: hsl(var(--foreground)); margin-bottom: 12px; outline: none;
}
.upload-form input:focus, .upload-form textarea:focus { border-color: hsl(var(--ring)); }
.upload-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: 28px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: hsl(var(--muted-foreground)); font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: hsl(var(--foreground)); }
.footer-copy { color: hsl(var(--muted-foreground)); font-size: 13px; }
.disclaimer { color: hsl(var(--muted-foreground)); font-size: 12px; margin-top: 18px; opacity: .75; }

/* ============ Responsive ============ */
/* Grid: 1 col (mobile) -> 2 cols (>=768) -> 4 cols (>=1024) */
@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .filter-dropdown { display: none; }
}
@media (max-width: 960px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
@media (max-width: 767px) {
  .main-nav { gap: 4px; padding: 0 12px; height: 40px; min-height: 40px; }
  .site-logo-text__content { font-size: 18px; }
  .main-nav__search,
  .main-nav__categories,
  .upload-btn-wrap,
  .main-nav__theme-toggle--desktop { display: none; }
  .mobile-actions { display: flex; }
  .mobile-chip-nav { display: flex; }
  .filter-menu-wrapper { display: block; }
  .filter-menu__nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 6px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter-menu__nav::-webkit-scrollbar { display: none; }
  .filter-menu__link { flex-shrink: 0; }
  .page-title { font-size: 16px; }
  .video-page-title { font-size: 18px; }
  .video-grid { gap: 14px; }
  .video-card__title { font-size: 15px; }
  .bt-load-more { width: 100%; min-width: 0; }
}
