/*
Theme Name: Bersama
Description: Tema katalog video mandiri dengan tampilan gelap, carousel poster dan aksen oranye. Dibuat dari awal mengikuti tata letak referensi, tanpa konten situs referensi.
Version: 1.2.3
Author: Bersama
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bersama
Tags: dark, custom-logo, custom-menu, featured-images, theme-options, translation-ready, grid-layout
*/
:root{--bbv-accent:#ea580c;--bg:#09090b;--surface:#18181b;--border:#27272a;--muted:#a1a1aa;--text:#fafafa;color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:76px}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.5 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}img{display:block;max-width:100%;height:auto}svg{width:20px;height:20px;flex:none}h1,h2,h3,p{margin:0}button{border:0}button:disabled{cursor:default}button[hidden],[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--bbv-accent);outline-offset:4px}a:hover{color:var(--bbv-accent)}
.container{width:100%;max-width:1600px;padding:0 40px;margin-inline:auto;min-width:0}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto;width:auto;height:auto;top:8px;left:8px;padding:10px 18px;z-index:1000;background:var(--bg);border-radius:8px}
.site-header{position:sticky;top:0;z-index:30;height:57px;border-bottom:1px solid #27272a66;background:#09090bcc;backdrop-filter:blur(14px)}
.admin-bar .site-header{top:32px}.header-inner{height:56px;display:flex;align-items:center;gap:16px}
.site-brand{display:inline-flex;align-items:center;gap:8px;flex:none;min-width:0}.brand-mark{width:36px;height:36px;background:var(--bbv-accent);border-radius:9px;display:grid;place-items:center;color:white;box-shadow:inset 0 1px 0 #ffffff26}.brand-mark svg{width:22px;height:22px;fill:currentColor}
.brand-name{font-size:24px;font-weight:700;letter-spacing:-.6px;line-height:1.2;background:linear-gradient(90deg,#fdba74,var(--bbv-accent));background-clip:text;-webkit-background-clip:text;color:transparent;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.custom-logo-link{flex:none;display:inline-flex;align-items:center}.custom-logo{max-height:36px;width:auto;max-width:220px}
.search-form{position:relative;flex:1;max-width:256px;min-width:60px}.search-form input{height:36px;width:100%;background:#18181b80;border:1px solid var(--border);border-radius:6px;color:#e4e4e7;padding:0 36px 0 12px;font-size:14px;outline:none}.search-form input:focus{border-color:var(--bbv-accent)}.search-form input::placeholder{color:#71717a}.search-form input::-webkit-search-cancel-button{cursor:pointer}.search-submit{position:absolute;right:0;top:0;display:grid;place-items:center;width:36px;height:36px;background:none;color:var(--muted);border-radius:6px}.search-submit svg{width:16px;height:16px}.search-submit:hover{color:var(--bbv-accent)}
.desktop-nav{flex:none}.nav-list{display:flex;align-items:center;gap:20px;margin:0;padding:0;list-style:none;font-size:14px;font-weight:500}.nav-list>li{position:relative}.nav-list a{display:block;white-space:nowrap}.nav-list a[aria-current],.nav-list .current-menu-item>a{color:#fbbf24}.nav-list .sub-menu{position:absolute;top:100%;left:0;min-width:160px;padding:12px;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:8px;display:none;z-index:10}.nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu{display:block}.sub-menu li+li{margin-top:8px}
.icon-button{display:grid;place-items:center;width:36px;height:36px;background:none;border-radius:6px}.icon-button:hover{background:var(--surface);color:var(--bbv-accent)}.menu-toggle{display:none}.mobile-menu-wrap{position:fixed;inset:0;z-index:100}.menu-backdrop{position:absolute;inset:0;background:#0009;cursor:default}.mobile-menu{position:relative;max-width:calc(100vw - 48px);width:280px;height:100%;padding:20px;background:var(--bg);border-right:1px solid var(--border);overflow-y:auto}.drawer-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:28px}.drawer-top .brand-name{display:block;font-size:18px;max-width:150px}.drawer-top .brand-mark{width:30px;height:30px}.mobile-menu .nav-list{display:flex;flex-direction:column;align-items:stretch;gap:4px}.mobile-menu .nav-list a{padding:10px 0}.mobile-menu .nav-list .sub-menu{position:static;display:block;border:0;background:none;padding:0 0 0 16px}.menu-is-open{overflow:hidden}
.site-main{padding-top:20px;padding-bottom:20px;min-height:calc(100vh - 320px);outline:none}
.hero{position:relative;background:#18181b99;border-radius:12px;padding:16px;margin-bottom:24px}.hero-rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:none}.hero-rail::-webkit-scrollbar{display:none}.hero-item{flex:0 0 12.5%;scroll-snap-align:start;min-width:0}.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#0009;color:#fff;z-index:5}.hero-arrow:hover{background:var(--bbv-accent)}.hero-arrow svg{width:18px;height:18px}.hero-prev{left:8px}.hero-next{right:8px}
.section-title{font-size:18px;font-weight:700;line-height:28px;margin-bottom:16px;color:#fff}.sort-tabs{display:flex;gap:8px;align-items:center;overflow:auto;margin-bottom:20px;padding:0 2px 2px;scrollbar-width:none}.sort-pill{display:inline-flex;align-items:center;justify-content:center;flex:none;background:var(--border);color:#d4d4d8;font-size:14px;font-weight:500;line-height:20px;padding:6px 14px;border-radius:9999px;transition:background .15s,color .15s}.sort-pill:hover{background:#3f3f46;color:#fff}.sort-pill.is-active{background:var(--bbv-accent);color:#fff}
.video-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.video-card{min-width:0}.card-link{display:block}.card-cover{position:relative;aspect-ratio:16/9;background:var(--surface);overflow:hidden;border-radius:12px;box-shadow:inset 0 0 0 1px #ffffff0d;isolation:isolate}.card-cover::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff0d;border-radius:inherit;pointer-events:none;z-index:4}.card-cover img{width:100%;height:100%;object-fit:cover}.portrait-card .card-cover{aspect-ratio:2/3}.hd-badge{position:absolute;right:6px;top:6px;background:var(--bbv-accent);padding:2px 6px;border-radius:4px;font-size:10px;font-weight:700;line-height:15px;letter-spacing:.4px;color:#fff;z-index:3}.card-meta{position:absolute;inset:auto 0 0;display:flex;justify-content:space-between;align-items:center;gap:4px;padding:0 6px 4px;font-size:10px;line-height:15px;font-weight:500;color:#fff;z-index:3;pointer-events:none}.views-badge,.duration-badge{background:#0009;border-radius:4px;padding:2px 4px;font-variant-numeric:tabular-nums}.views-badge{display:inline-flex;align-items:center;gap:4px}.views-badge svg{width:12px;height:12px}.card-overlay{position:absolute;inset:0;background:#0006;display:grid;place-items:center;opacity:0;transition:opacity .25s}.play-circle{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--bbv-accent);box-shadow:0 8px 18px #0004;transform:scale(.75);transition:transform .25s}.play-circle svg{fill:#fff;width:22px;height:22px}.card-link:hover .card-overlay,.card-link:focus-visible .card-overlay{opacity:1}.card-link:hover .play-circle,.card-link:focus-visible .play-circle{transform:scale(1)}.card-link:hover .card-cover::after{box-shadow:inset 0 0 0 2px var(--bbv-accent)}.card-title{font-size:14px;font-weight:500;line-height:20px;height:40px;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff;overflow-wrap:anywhere;transition:color .15s}.card-link:hover .card-title{color:#fb923c}
.navigation.pagination{margin-top:40px}.pagination .nav-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.page-numbers{min-width:40px;height:40px;border:1px solid var(--border);border-radius:8px;background:var(--surface);display:inline-flex;align-items:center;justify-content:center;font-size:14px;padding:0 12px}.page-numbers.current{background:var(--bbv-accent);border-color:var(--bbv-accent);color:white}.page-numbers.dots{background:none;border-color:transparent}.page-numbers:hover:not(.current):not(.dots){border-color:var(--bbv-accent)}
.site-footer{margin-top:48px;border-top:1px solid #27272a99;padding:32px 0;background:var(--bg)}.footer-inner{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}.footer-inner .brand-name{display:block;font-size:20px;max-width:100%}.footer-inner .brand-mark{width:28px;height:28px}.footer-inner .brand-mark svg{width:18px;height:18px}.footer-inner .custom-logo{max-height:30px}.footer-inner .nav-list{font-weight:400;color:var(--muted);gap:20px}.footer-description{max-width:768px;color:var(--muted);font-size:14px;line-height:22px}.copyright{font-size:12px;color:#71717a}.footer-inner .sub-menu{top:auto;bottom:100%}
.empty-state{min-height:340px;padding:64px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;border:1px dashed var(--border);border-radius:12px;margin:24px 0}.empty-state h1,.empty-state h2{font-size:24px}.empty-state p{color:var(--muted);max-width:500px}.empty-icon{width:56px;height:56px;display:grid;place-items:center;background:var(--surface);border-radius:14px;color:var(--bbv-accent)}.empty-icon svg{fill:currentColor;width:28px;height:28px}.text-link{color:var(--bbv-accent);display:inline-flex;align-items:center;gap:6px;font-size:14px}.error-code{font-size:64px;font-weight:700;color:var(--bbv-accent);line-height:1}
.breadcrumbs{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px;color:var(--muted);margin-bottom:20px}.breadcrumbs span{overflow:hidden;text-overflow:ellipsis}.breadcrumbs svg{width:14px;height:14px}.single-video{max-width:1180px;margin-inline:auto}.bbv-player{background:#000;aspect-ratio:16/9;border-radius:12px;overflow:hidden}.bbv-player__video,.bbv-player__iframe{display:block;border:0;outline:none;width:100%;height:100%;background:#000;color-scheme:dark}.video-details{margin-top:24px}.video-details h1{font-size:24px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}.single-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;font-size:13px;color:var(--muted);margin-top:12px}.single-meta span{display:inline-flex;align-items:center;gap:6px}.single-meta svg{width:16px;height:16px}.taxonomy-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.taxonomy-chips a,.tag-item{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);background:var(--surface);border-radius:6px;padding:6px 12px;font-size:13px}.taxonomy-chips a:hover,.tag-item:hover{border-color:var(--bbv-accent)}.related-videos{margin-top:40px}.prose{overflow-wrap:anywhere;line-height:1.8;color:#d4d4d8;margin-top:24px}.prose>*+*{margin-top:20px}.prose a{color:var(--bbv-accent);text-decoration:underline}.prose h2,.prose h3{color:var(--text)}.prose img{height:auto;border-radius:10px}.prose iframe,.prose video{max-width:100%;border:0}.prose .wp-block-embed__wrapper iframe{width:100%;aspect-ratio:16/9}.prose .wp-block-video video{width:100%;border-radius:12px;background:#000}.prose pre{padding:16px;background:var(--surface);overflow:auto}.prose blockquote{border-left:3px solid var(--bbv-accent);padding-left:20px;margin-left:0}.prose table{width:100%;border-collapse:collapse;display:block;overflow:auto}.prose th,.prose td{padding:8px;border:1px solid var(--border)}.prose .alignwide{max-width:100%}.prose .alignleft{float:left;margin-right:20px}.prose .alignright{float:right;margin-left:20px}.prose .aligncenter{margin-inline:auto}.prose::after{content:"";display:block;clear:both}.page-content{max-width:1000px;margin:12px auto}.page-title{font-size:28px;line-height:1.4}.archive-description{margin-top:-4px;margin-bottom:20px;font-size:14px}.post-password-form input{max-width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text)}.post-password-form input[type=submit]{background:var(--bbv-accent);border-color:var(--bbv-accent);cursor:pointer}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px;color:var(--muted)}.sticky .card-cover::after{box-shadow:inset 0 0 0 1px var(--bbv-accent)}.bypostauthor{font-weight:inherit}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category-item{display:flex;align-items:center;gap:12px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.category-item:hover{border-color:var(--bbv-accent)}.directory-icon{color:var(--bbv-accent);display:flex;align-items:center}.term-name{font-size:14px;font-weight:500;overflow-wrap:anywhere;min-width:0}.term-count{font-size:12px;color:var(--muted);white-space:nowrap}.category-item .term-count{margin-left:auto}.category-item>svg{width:16px;height:16px;color:var(--muted)}.tag-directory{display:flex;flex-wrap:wrap;gap:12px}.tag-item svg{width:16px;height:16px}.directory{margin-top:4px;min-height:360px}
@media(max-width:1279px){.hero-item{flex-basis:16%}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.container{padding-inline:32px}}
@media(max-width:1023px){.video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-item{flex-basis:16%}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.container{padding-inline:24px}.brand-name{font-size:22px;max-width:230px}}
@media(max-width:767px){.container{padding-inline:16px}.site-header{background:var(--bg);backdrop-filter:none}.admin-bar .site-header{top:46px}.header-inner{gap:8px}.menu-toggle{display:grid;flex:none}.header-inner>.site-brand .brand-name{display:none}.custom-logo{max-width:120px}.desktop-nav{display:none}.search-form{max-width:none}.search-form input{font-size:16px}.site-main{padding-top:0;padding-bottom:8px}.hero{margin-inline:-16px;margin-bottom:16px;padding:12px 16px;border-radius:0}.hero-item{flex-basis:22%}.video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.section-title{margin-top:16px}.single-video{padding-top:16px}.video-details h1{font-size:21px}.category-item{padding:16px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory{padding-top:1px}.page-content{padding-top:16px}.footer-inner .nav-list{flex-wrap:wrap;justify-content:center}.footer-inner .brand-name{white-space:normal}.footer-inner .sub-menu{left:50%;transform:translateX(-50%)}.footer-description{font-size:13px}.bbv-player{border-radius:8px}}
@media(max-width:639px){.hero-item{flex-basis:calc((100% - 24px)/3)}.video-grid{grid-template-columns:minmax(0,1fr)}.bbv-mobile-cols-2 .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-title{font-size:12px;line-height:15px;height:30px}.sort-tabs{gap:6px}.sort-pill{padding-inline:12px}.category-grid{grid-template-columns:minmax(0,1fr)}.card-cover{border-radius:12px}.hero .card-cover{border-radius:12px}.site-footer{margin-top:40px}.breadcrumbs{font-size:12px}.single-meta{gap:12px}.pagination .nav-links{gap:6px}.page-numbers{min-width:36px;padding-inline:10px}.taxonomy-chips{gap:6px}.prose{font-size:15px}.prose .alignleft,.prose .alignright{float:none;margin-inline:0}.page-title{font-size:24px}}
.card-cover .card-trailer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;pointer-events:none}.bbv-embed-player iframe,.bbv-embed-player video{display:block;width:100%;height:100%;border:0}.bbv-shortcode-player{background:#000;border-radius:12px;overflow:hidden}.bbv-shortcode-player video{max-width:100%}.video-tracking{margin-top:20px}.video-tracking svg{width:16px;height:16px}.video-ad{margin-top:24px;text-align:center;overflow:hidden}.video-ad img{margin-inline:auto;max-width:100%;height:auto}
/* Theme Options use the existing catalogue surfaces and spacing. */
.bbv-read-more{margin-top:12px}.taxonomy-chips>.video-terms{margin-top:0}.term-label{align-self:center;color:var(--muted);font-size:13px}.under-video-widgets{margin-top:32px}
.header-inner:has(.site-brand-image){height:auto;min-height:56px;padding-block:6px}.site-header:has(.site-brand-image){height:auto;min-height:57px}.brand-mark-plain path{fill:currentColor}
.video-grid{grid-template-columns:repeat(var(--bbv-cols,5),minmax(0,1fr))}.card-cover{aspect-ratio:var(--bbv-ratio,16/9)}.card-cover img,.card-cover .card-trailer{object-fit:var(--bbv-fit,cover)}.portrait-card .card-cover{aspect-ratio:2/3}.category-grid{grid-template-columns:repeat(var(--bbv-term-cols,4),minmax(0,1fr))}
.play-circle{color:#fff;background:var(--bbv-accent-fill,var(--bbv-accent));z-index:2}.play-circle svg,.play-circle path{fill:#fff;stroke:none}.card-overlay{z-index:2}.brand-mark svg,.brand-mark path{fill:currentColor}.brand-mark-plain{background:none;box-shadow:none;color:var(--bbv-accent)}.brand-name{font-size:var(--bbv-logo-size,24px)}.site-brand-image img{width:auto}.site-brand{position:relative}.brand-slogan{position:absolute;left:44px;top:100%;font-size:10px;line-height:1.2;color:var(--muted);white-space:nowrap;max-width:250px;overflow:hidden;text-overflow:ellipsis}.site-brand-image .brand-slogan{left:0}
.sort-pill.is-active,.hd-badge,.page-numbers.current,.brand-mark{background:var(--bbv-accent-fill,var(--bbv-accent))}.brand-mark-plain{background:none}.header-social{margin-left:auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--muted)}.header-social a{color:var(--text)}.header-social a:hover{color:var(--bbv-accent)}.header-inner:has(.header-social){min-height:56px;height:auto}.site-header:has(.header-social){height:auto;min-height:57px}
.bbv-layout-boxed .container{max-width:1320px}.bbv-layout-boxed .site-main{background:var(--bg);box-shadow:0 0 24px #0005}.bbv-rendering-gradient .site-header{background:linear-gradient(180deg,#18181bee,#09090bdd)}.bbv-rendering-gradient .hero{background:linear-gradient(180deg,#27272acc,#18181b99)}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}.content-layout.has-sidebar{grid-template-columns:minmax(0,1fr) 280px}.catalogue-content,.video-content,.directory{min-width:0}.bbv-sidebar-left .content-layout.has-sidebar{grid-template-columns:280px minmax(0,1fr)}.bbv-sidebar-left .content-layout.has-sidebar>.site-sidebar{grid-column:1;grid-row:1}.bbv-sidebar-left .content-layout.has-sidebar>:not(.site-sidebar){grid-column:2;grid-row:1}.site-sidebar{min-width:0}.widget{margin-bottom:24px;overflow-wrap:anywhere}.widget-title{font-size:18px;line-height:1.5;margin-bottom:16px}.site-sidebar .widget{padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.site-sidebar .video-grid,.footer-widgets .video-grid{grid-template-columns:minmax(0,1fr)}.widget ul{padding-left:20px}.widget li+li{margin-top:6px}.widget input,.widget select{max-width:100%;color:var(--text);background:var(--bg);border:1px solid var(--border);padding:8px;border-radius:6px}.widget .search-form{max-width:none}.homepage-widgets{margin-bottom:32px}.homepage-about{margin-top:28px;margin-bottom:28px}.archive-description-bottom{margin-top:28px}.directory-description:empty{display:none}
.footer-widgets{display:grid;grid-template-columns:repeat(var(--bbv-footer-cols,4),minmax(0,1fr));gap:24px;width:100%;text-align:left}.footer-column{min-width:0}.footer-widgets .widget-title{font-size:16px}.copyright p{display:inline}.bbv-ad-zone{max-width:100%;overflow-wrap:anywhere;text-align:center}.bbv-ad-zone iframe{max-width:100%}.bbv-ad-zone>img{margin-inline:auto}.ad-header{margin-bottom:20px}.ad-footer{width:100%}.ad-sidebar{margin-bottom:20px}.bbv-ad-zone:empty{display:none}
.directory-thumbnail{width:72px;height:48px;object-fit:var(--bbv-fit,cover);border-radius:6px;flex:none}.category-item{flex-wrap:wrap}.category-item .term-name{flex:1}.category-item:has(.directory-thumbnail) .directory-icon{display:none}.category-item .term-count{margin-left:0}.card-rating{height:4px;margin-top:4px;border-radius:4px;background:var(--border);position:relative;overflow:visible}.card-rating-meter{display:block;background:var(--bbv-accent);height:100%;border-radius:inherit}.card-rating-label{font-size:10px;color:var(--muted);position:absolute;right:0;top:3px}.card-rating+.card-title{padding-right:26px}
.sort-more{position:relative;flex:none;font-size:12px;color:var(--muted)}.sort-more summary{cursor:pointer;padding:7px 10px;border-radius:999px;list-style:none}.sort-more summary::-webkit-details-marker{display:none}.sort-more summary::after{content:' ▾'}.sort-more[open] summary{background:var(--surface)}.sort-more ul{position:fixed;z-index:15;list-style:none;margin:4px 0 0;padding:10px;min-width:160px;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 18px #0005}.sort-more li+li{margin-top:8px}.sort-more a[aria-current]{color:var(--bbv-accent)}.hero-pause{display:block;margin:8px 0 0 auto;padding:3px 8px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--muted);font-size:11px}
.video-description.is-truncated{max-height:220px;overflow:hidden;mask-image:linear-gradient(to bottom,#000 65%,transparent)}.video-description-toggle{padding:6px 0;background:none;color:var(--bbv-accent);font-size:14px}.video-description-toggle:hover{text-decoration:underline}.bbv-player-shell{position:relative}.bbv-player-ad{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 16px 16px;background:#000d;border-radius:12px;overflow:auto}.bbv-player-ad [data-close-ad]{position:absolute;right:12px;top:10px;background:var(--surface);color:#fff;border-radius:6px;padding:6px 10px;font-size:12px}.bbv-player-ad .bbv-ad-zone{margin-top:8px}.bbv-rating{display:flex;align-items:center;gap:8px;margin-top:16px;color:var(--muted);font-size:13px}.bbv-rating span{display:inline-flex;gap:5px;align-items:center}.video-terms{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;font-size:13px}.video-terms a{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.video-terms a:hover{border-color:var(--bbv-accent)}.video-terms svg{width:16px;height:16px}.video-terms-label{align-self:center;color:var(--muted)}.share-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:20px;font-size:12px;color:var(--muted)}.share-links a{padding:5px 9px;border:1px solid var(--border);border-radius:5px}.share-links a:hover{border-color:var(--bbv-accent)}
.comments-area{margin-top:36px;border-top:1px solid var(--border);padding-top:24px}.comments-title,.comment-reply-title{font-size:20px;margin-bottom:16px}.comment-list{list-style:none;padding:0;margin:20px 0}.comment-list .children{list-style:none;padding-left:24px}.comment-body{padding:16px 0;border-bottom:1px solid var(--border)}.comment-meta{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;gap:8px}.comment-author{display:flex;align-items:center;gap:6px}.comment-author .avatar{border-radius:50%;width:32px;height:32px}.comment-content{margin-top:12px;overflow-wrap:anywhere}.comment-content p+p{margin-top:12px}.comment-respond{margin-top:24px}.comment-form p{margin-top:16px}.comment-form label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}.comment-form input:not([type=checkbox]),.comment-form textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text)}.comment-form textarea{min-height:140px}.comment-form .submit{width:auto!important;background:var(--bbv-accent-fill,var(--bbv-accent))!important;border-color:var(--bbv-accent)!important;cursor:pointer}.comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start}.comment-form-cookies-consent label{display:inline}.reply{font-size:12px;margin-top:8px;color:var(--bbv-accent)}
@media(max-width:1279px){.category-grid{grid-template-columns:repeat(var(--bbv-term-medium-cols,3),minmax(0,1fr))}.header-social>span{display:none}}
@media(max-width:1023px){.video-grid{grid-template-columns:repeat(var(--bbv-tablet-cols,4),minmax(0,1fr))}.category-grid{grid-template-columns:repeat(var(--bbv-term-tablet-cols,2),minmax(0,1fr))}.content-layout.has-sidebar,.bbv-sidebar-left .content-layout.has-sidebar{grid-template-columns:minmax(0,1fr) 230px}.bbv-sidebar-left .content-layout.has-sidebar{grid-template-columns:230px minmax(0,1fr)}.header-social{display:none}.site-brand-image img{max-width:220px}}
@media(max-width:767px){.video-grid{grid-template-columns:repeat(var(--bbv-mobile-cols,1),minmax(0,1fr))}.content-layout.has-sidebar,.bbv-sidebar-left .content-layout.has-sidebar{grid-template-columns:minmax(0,1fr)}.bbv-sidebar-left .content-layout.has-sidebar>.site-sidebar,.bbv-sidebar-left .content-layout.has-sidebar>:not(.site-sidebar){grid-column:auto;grid-row:auto}.footer-widgets{grid-template-columns:repeat(var(--bbv-footer-mobile-cols,2),minmax(0,1fr))}.site-brand-image img{max-width:120px}.header-inner .brand-slogan{display:none}.category-grid{grid-template-columns:repeat(var(--bbv-term-tablet-cols,2),minmax(0,1fr))}.sort-more{font-size:11px}}
@media(max-width:479px){.video-grid{grid-template-columns:repeat(var(--bbv-phone-cols,1),minmax(0,1fr))}.category-grid,.footer-widgets{grid-template-columns:minmax(0,1fr)}.directory-thumbnail{width:88px;height:58px}.comment-list .children{padding-left:12px}}
/* Full category descriptions stay readable when JavaScript is unavailable. */
.archive-description-wrap{margin-bottom:20px}
.archive-description-wrap .archive-description{margin-bottom:0}
.archive-description-wrap-bottom{margin-top:28px}
.archive-description-wrap-bottom .archive-description{margin-top:0}
.archive-description[data-truncate-description].is-truncated{max-height:7.2em;overflow:hidden;mask-image:linear-gradient(to bottom,#000 70%,transparent)}
.archive-description-toggle{margin-top:8px;min-height:44px;font-size:13px}
/* Native Categories widgets and Category List blocks share the same compact footer grid. */
.footer-categories{border-bottom:1px solid var(--border);padding-bottom:24px;margin-bottom:28px}.footer-category-widgets>.widget{margin:0}.footer-category-widgets>.widget+.widget{margin-top:24px}.footer-category-widgets .widget-title{font-size:14px;text-align:center;margin-bottom:16px}.footer-category-widgets .widget_categories ul:not(.children),.footer-category-widgets .wp-block-categories-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));align-items:start;gap:8px 24px;list-style:none;margin:0;padding:0}.footer-category-widgets .widget_categories li,.footer-category-widgets .wp-block-categories-list li{min-width:0;max-width:100%;margin:0;padding:0;list-style:none;color:var(--muted);font-size:11px;line-height:18px;text-align:center;overflow-wrap:anywhere}.footer-category-widgets .widget_categories li>a,.footer-category-widgets .wp-block-categories-list li>a{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;max-width:100%;padding:8px 2px;color:#d4d4d8;font-size:12px;font-weight:500;line-height:18px;letter-spacing:.02em;text-transform:uppercase;text-align:center;overflow-wrap:anywhere;transition:color .15s}.footer-category-widgets .widget_categories li>a::after,.footer-category-widgets .wp-block-categories-list li>a::after{content:"";position:absolute;bottom:3px;left:10%;right:10%;height:2px;background:var(--bbv-accent);transform:scaleX(0);transition:transform .15s}.footer-category-widgets li>a:hover,.footer-category-widgets .widget_categories .current-cat>a,.footer-category-widgets .wp-block-categories-list .current-cat>a{color:var(--bbv-accent)}.footer-category-widgets li>a:hover::after,.footer-category-widgets .widget_categories .current-cat>a::after,.footer-category-widgets .wp-block-categories-list .current-cat>a::after{transform:scaleX(1)}.footer-category-widgets li>a:focus-visible{outline-offset:2px;border-radius:2px}.footer-category-widgets ul.children{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}.footer-category-widgets ul.children li>a{font-size:11px;letter-spacing:0;text-transform:none;color:var(--muted)}.footer-category-widgets select{display:block;width:100%;max-width:420px;min-height:44px;margin-inline:auto;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:10px}
@media(max-width:767px){.footer-categories{padding-bottom:20px;margin-bottom:24px}.footer-category-widgets .widget_categories ul:not(.children),.footer-category-widgets .wp-block-categories-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.footer-category-widgets .widget_categories li>a,.footer-category-widgets .wp-block-categories-list li>a{font-size:10px;line-height:16px;letter-spacing:0}}
@media(max-width:399px){.footer-category-widgets .widget_categories ul:not(.children),.footer-category-widgets .wp-block-categories-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
