/* ==========================================================================
   Pussyboy-inspired light theme
   Simple, flat and modern: black header, yellow signal, white cards.
   ========================================================================== */

:root,
html[data-theme="light"],
html[data-theme="dark"] {
    --bg: #f2f2f2;
    --bg-2: #ffffff;
    --panel: #ffffff;
    --panel-2: #f7f7f7;
    --panel-3: #ededed;
    --line: #e4e4e4;
    --line-strong: #cfcfcf;
    --text: #1b1b1b;
    --muted: #666666;
    --muted-2: #8b8b8b;
    --accent: #ffcc00;
    --accent-2: #e6b800;
    --accent-ink: #111111;
    --mint: #111111;
    --gold: #e6b800;
    --radius: 2px;
    --radius-lg: 3px;
    --radius-sm: 2px;
    --shadow: none;
    --header-h: 62px;
}

body.site {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

.container { max-width: 1320px; }

/* Header ------------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: #111;
    border-bottom: 4px solid #ffcc00;
    backdrop-filter: none;
}
.site-header.is-scrolled { background: #111; border-color: #ffcc00; }
.header-inner { height: 62px; gap: 26px; }
.brand { gap: 9px; }
.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    background: #ffcc00;
    color: #111;
    box-shadow: none;
}
.brand-mark .icon { width: 16px; height: 16px; }
.brand-text { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.main-nav { gap: 20px; }
.main-nav > a {
    padding: 6px 0;
    color: #e8e8e8;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
}
.main-nav > a:hover,
.main-nav > a.is-active { color: #ffcc00; background: transparent; }
.main-nav > a.is-active { color: #ffcc00; }
.nav-drop-btn {
    color: #e8e8e8;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 0;
}
.nav-drop-btn:hover { color: #ffcc00; background: transparent; }
.nav-drop-panel {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}
.nav-drop-panel a { color: #333; }
.nav-drop-panel a:hover { background: #f4f4f4; color: #111; }
.header-actions { gap: 10px; }
.header-search {
    height: 36px;
    min-width: 260px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 2px;
    color: #111;
}
.header-search:focus-within { background: #fff; border-color: #ffcc00; }
.header-search .icon { color: #777; }
.header-search input { color: #111; font-size: 13px; }
.header-search input::placeholder { color: #999; }
.header-search-btn {
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 2px;
    background: #ffcc00;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.header-search-btn:hover { background: #e6b800; }
.site-header .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .18); border-radius: 2px; }
.site-header .icon-btn:hover { background: #222; border-color: #444; }
[data-theme-toggle] { display: none; }

/* Typography and sections ------------------------------------------------ */
.section { padding: 26px 0 34px; }
.section-tight { padding: 20px 0 30px; }
.section-soft { background: #fff; border-block: 1px solid #e4e4e4; }
.section-head { align-items: flex-end; margin-bottom: 18px; gap: 12px; }
.section-head .eyebrow { display: none; }
.section-head h1,
.section-head h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -.01em;
    font-weight: 700;
    color: #1b1b1b;
}
.section-head .text-link { color: #1b1b1b; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.section-head .text-link:hover { color: #000; }
.text-link { color: #1b1b1b; }
.text-link:hover { color: #000; }

/* Home: no big editorial hero, just the newest grid ----------------------- */
.home-page .hero:not(.hero-empty) { display: none; }
.home-page .hero-empty { padding: 34px 0 12px; }
.home-page .hero-empty .hero-title { font-size: 28px; letter-spacing: -.02em; }
.home-page .hero-empty .hero-text { font-size: 14px; }
.home-page .section { padding-top: 30px; }

/* Video grid -------------------------------------------------------------- */
.video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.video-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.video-card-media {
    border-radius: 2px;
    background: #ddd;
    box-shadow: none;
    overflow: hidden;
}
.video-card-media img { transition: opacity .18s ease; }
.video-card:hover .video-card-media img { transform: none; filter: none; opacity: .92; }
.video-card-shade,
.video-card-play,
.video-card-cat,
.video-card-meta,
.video-card-badge { display: none !important; }
.video-card-body { padding: 8px 0 0; }
.video-card-title {
    margin: 0;
    min-height: 38px;
    color: #333;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-card-title a { color: #333; }
.video-card-title a:hover { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.duration-pill {
    right: 6px;
    bottom: 6px;
    padding: 2px 5px;
    border-radius: 2px;
    background: rgba(0, 0, 0, .82);
    font-size: 11px;
    font-weight: 600;
}

/* Browse / banner --------------------------------------------------------- */
.breadcrumbs { color: #888; font-size: 12px; padding: 14px 0 0; }
.breadcrumbs a { color: #777; }
.breadcrumbs a:hover { color: #111; }
.page-banner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0 18px;
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 20px;
}
.page-banner-copy h1 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 700;
    color: #1b1b1b;
}
.page-banner-copy p { margin: 0; max-width: 760px; color: #777; font-size: 13px; line-height: 1.6; }
.page-banner .eyebrow { display: none; }
.page-banner-side { gap: 6px; }
.count-badge {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    color: #555;
    font-size: 12px;
    padding: 5px 9px;
}
.page-banner-note { color: #888; font-size: 12px; }

/* Pagination -------------------------------------------------------------- */
.pagination { gap: 8px; padding-top: 30px; }
.page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}
.page-btn:hover { border-color: #bdbdbd; background: #f7f7f7; color: #111; }
.page-btn.is-current {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #111;
    font-weight: 700;
}
.page-ellipsis { color: #999; }

/* Buttons and links ------------------------------------------------------- */
.btn { border-radius: 2px; box-shadow: none; }
.btn-accent { background: #ffcc00; color: #111; border-color: #ffcc00; }
.btn-accent:hover { background: #e6b800; border-color: #e6b800; color: #111; }
.btn-ghost { background: #fff; border-color: #ddd; color: #222; }
.btn-ghost:hover { background: #f4f4f4; border-color: #bbb; color: #111; }

/* Tag cloud and chips ----------------------------------------------------- */
.chip {
    padding: 5px 9px;
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    background: #fff;
    color: #444;
    font-size: 12px;
    box-shadow: none;
}
.chip:hover { background: #111; border-color: #111; color: #fff; transform: none; }
.chip-hot { border-color: #ffcc00; color: #111; }
.chip-w4, .chip-w5 { border-color: #ffcc00; color: #111; }
.site-tag-cloud { background: #fff; border-top: 1px solid #e4e4e4; padding: 22px 0 28px; }
.site-tag-cloud .section-head h2 { font-size: 18px; }
.site-tag-cloud .section-head { margin-bottom: 12px; }

/* Video page -------------------------------------------------------------- */
.video-layout { padding: 22px 0 34px; gap: 28px; }
.player-shell { border-radius: 2px; background: #000; box-shadow: none; }
.tag-spotlight .player-shell { max-width: 100%; }
.video-details h1 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.video-details { border: 0; background: transparent; padding: 16px 0 0; }
.video-meta { color: #888; }
.tag-list .chip { font-size: 12px; }

/* Footer ------------------------------------------------------------------ */
.site-footer { margin-top: 20px; background: #111; border-top: 4px solid #ffcc00; color: #b5b5b5; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { color: #999; }
.footer-title { color: #fff; }
.footer-col a { color: #b5b5b5; }
.footer-col a:hover { color: #ffcc00; }
.footer-bottom { color: #888; border-top-color: #2a2a2a; }
.footer-bottom a { color: #ccc; }
.badge-soft { background: #1d1d1d; border-color: #333; color: #bbb; }

/* Forms ------------------------------------------------------------------- */
.field input, .field textarea, .field select {
    background: #fff;
    border-color: #ddd;
    border-radius: 2px;
    color: #111;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: #ffcc00; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
    .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    html, body.site { max-width: 100%; overflow-x: hidden; }
    .container { width: 100%; padding-left: 16px; padding-right: 16px; }
    .header-inner { height: 56px; width: 100%; }
    .header-actions { margin-left: auto; }
    .header-search, .header-search-btn { display: none; }
    .brand-text { font-size: 19px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; width: 100%; }
    .video-card, .video-card-media, .video-card-media img { max-width: 100%; }
    .video-card-title { font-size: 13px; min-height: 35px; }
    .page-banner-copy h1 { font-size: 22px; }
    .page-banner { padding: 18px 0 14px; }
}
@media (max-width: 420px) {
    .video-grid { gap: 14px 8px; }
}
