/* ═══════════════════════════════════════════════
   FLAVOR CMS — Starter Dark Template
   "Cool Grandma Cult Icon" Design System
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --f-bg:        #0D0D0D;
    --f-surface:   #161616;
    --f-card:      #1A1A1A;
    --f-elevated:  #222;
    --f-accent:    var(--flavor-accent, #FF6B2B);
    --f-secondary: var(--flavor-secondary, #E84393);
    --f-text:      #F5F5F5;
    --f-muted:     #888;
    --f-dim:       #555;
    --f-border:    rgba(255,255,255,0.06);
    --f-font:      var(--flavor-font, 'Noto Sans Hebrew', 'Rubik', sans-serif);
    --f-radius:    12px;
    --f-radius-sm: 8px;
}

/* ─── Base ─────────────────────────────────── */
.flavor-page {
    font-family: var(--f-font);
    background: var(--f-bg);
    color: var(--f-text);
    direction: rtl;
    line-height: 1.6;
    min-height: 100vh;
}

.flavor-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ─── Breadcrumbs ──────────────────────────── */
.flavor-crumbs {
    font-size: 0.7rem;
    color: var(--f-dim);
    padding: 1rem 0;
}
.flavor-crumbs a { color: var(--f-dim); text-decoration: none; }
.flavor-crumbs a:hover { color: var(--f-muted); }
.flavor-crumbs span { margin: 0 4px; }
.flavor-crumbs .current { color: var(--f-muted); }

/* ─── Video Layout ─────────────────────────── */
.flavor-video-layout {
    display: grid;
    gap: 28px;
    align-items: start;
    padding-bottom: 4rem;
}
.layout-wide { grid-template-columns: 1fr 320px; }
.layout-short { grid-template-columns: 380px 1fr; }

@media (max-width: 900px) {
    .layout-wide, .layout-short { grid-template-columns: 1fr; }
}

/* ─── Player ───────────────────────────────── */
.flavor-player {
    border-radius: var(--f-radius);
    overflow: hidden;
    background: var(--f-card);
    border: 1px solid var(--f-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.flavor-player iframe,
.flavor-player .flavor-thumb {
    width: 100%;
    display: block;
}
.player-wide iframe  { aspect-ratio: 16/9; }
.player-short iframe { aspect-ratio: 9/16; max-height: 580px; }
.player-wide .flavor-thumb  { aspect-ratio: 16/9; object-fit: cover; }
.player-short .flavor-thumb { aspect-ratio: 9/16; object-fit: cover; max-height: 580px; }

/* ─── Video Info ───────────────────────────── */
.flavor-video-info { margin-top: 20px; }

.flavor-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.badge {
    font-size: 0.55rem; font-weight: 800; padding: 3px 8px; border-radius: 5px;
    letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
}
.badge-accent { background: var(--f-accent); color: #fff; }
.badge-muted  { background: var(--f-elevated); color: var(--f-muted); }
.badge-series { background: rgba(46,213,115,0.1); border: 1px solid rgba(46,213,115,0.2); color: #2ED573; }

.flavor-video-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
}

.flavor-video-meta {
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: 0.75rem; color: var(--f-muted);
    margin-bottom: 20px;
}

/* ─── CTA Row ──────────────────────────────── */
.flavor-cta-row { display: flex; gap: 8px; margin-bottom: 24px; }
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--f-font); font-size: 0.78rem; font-weight: 700;
    padding: 10px 18px; border-radius: var(--f-radius-sm); border: none;
    text-decoration: none; cursor: pointer; transition: all 0.25s;
}
.btn-yt     { background: #FF0000; color: #fff; }
.btn-accent { background: var(--f-accent); color: #fff; }
.btn-ghost  { background: var(--f-card); color: #fff; border: 1px solid var(--f-border); }
.btn-full   { width: 100%; justify-content: center; }
.btn:hover  { transform: translateY(-2px); filter: brightness(1.1); }

/* ─── Description ──────────────────────────── */
.flavor-video-desc {
    background: var(--f-card); border-radius: var(--f-radius);
    padding: 1.5rem; border: 1px solid var(--f-border);
    margin-bottom: 16px;
}
.flavor-video-desc h2 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.flavor-video-desc p  { font-size: 0.88rem; color: var(--f-muted); line-height: 2; }

.flavor-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.flavor-tag {
    font-size: 0.62rem; color: var(--f-accent);
    background: rgba(255,107,43,0.08); border: 1px solid rgba(255,107,43,0.15);
    padding: 3px 8px; border-radius: 4px; text-decoration: none;
}

/* ─── SEO Block ────────────────────────────── */
.flavor-seo-block {
    background: var(--f-surface); border-radius: var(--f-radius);
    padding: 1.5rem; border: 1px solid var(--f-border);
}
.flavor-seo-block p { font-size: 0.8rem; color: var(--f-dim); line-height: 1.9; }

/* ─── Sidebar ──────────────────────────────── */
.flavor-sidebar {}
.sidebar-title {
    font-size: 1rem; font-weight: 800; margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 1px solid var(--f-border);
}

.sidebar-card {
    display: flex; gap: 10px; padding: 8px; border-radius: 8px;
    text-decoration: none; color: inherit; margin-bottom: 8px;
    transition: background 0.2s; border: 1px solid transparent;
}
.sidebar-card:hover { background: var(--f-card); border-color: var(--f-border); }

.sidebar-thumb {
    border-radius: 6px; overflow: hidden; flex-shrink: 0; position: relative;
    background: var(--f-card);
}
.thumb-wide  { width: 90px; height: 50px; }
.thumb-short { width: 44px; height: 70px; }
.sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-badge {
    position: absolute; top: 2px; right: 2px;
    background: var(--f-accent); color: #fff;
    font-size: 0.4rem; font-weight: 800; padding: 1px 3px; border-radius: 2px;
}

.sidebar-info h4 {
    font-size: 0.72rem; font-weight: 700; margin-bottom: 2px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-meta { font-size: 0.58rem; color: var(--f-dim); }

/* ─── Subscribe Widget ─────────────────────── */
.sidebar-subscribe {
    margin-top: 20px; text-align: center;
    background: linear-gradient(135deg, rgba(255,107,43,0.08), rgba(232,67,147,0.05));
    border: 1px solid rgba(255,107,43,0.15); border-radius: var(--f-radius);
    padding: 1.2rem;
}
.sub-icon { font-size: 2rem; margin-bottom: 6px; }
.sidebar-subscribe h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 4px; }
.sidebar-subscribe p  { font-size: 0.7rem; color: var(--f-muted); margin-bottom: 12px; }

/* ─── Archive Grid ─────────────────────────── */
.flavor-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.flavor-shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.flavor-shorts-scroll {
    display: flex; gap: 14px;
    overflow-x: auto; padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.flavor-shorts-scroll::-webkit-scrollbar { height: 4px; }
.flavor-shorts-scroll::-webkit-scrollbar-thumb { background: var(--f-accent); border-radius: 4px; }

/* ─── Card (archive) ──────────────────────── */
.flavor-card-video {
    text-decoration: none; color: inherit;
    transition: transform 0.3s; display: block;
}
.flavor-card-video:hover { transform: translateY(-4px); }
.flavor-card-video .card-thumb {
    border-radius: var(--f-radius); overflow: hidden;
    margin-bottom: 12px; position: relative;
    background: var(--f-card); border: 1px solid var(--f-border);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.flavor-card-video:hover .card-thumb {
    border-color: rgba(255,107,43,0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.flavor-card-video .card-thumb img {
    width: 100%; display: block; object-fit: cover;
}
.card-thumb-wide img  { aspect-ratio: 16/9; }
.card-thumb-short img { aspect-ratio: 9/16; }
.card-duration {
    position: absolute; bottom: 8px; left: 8px;
    background: rgba(0,0,0,0.7); color: #fff;
    font-size: 0.65rem; font-weight: 600; padding: 2px 6px; border-radius: 4px;
}
.card-title { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.card-desc {
    font-size: 0.72rem; color: var(--f-muted); margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.6;
}
.card-meta { font-size: 0.62rem; color: var(--f-dim); display: flex; gap: 12px; }

/* ─── Section Header ──────────────────────── */
.flavor-section-head { margin-bottom: 32px; }
.flavor-section-tag {
    font-size: 0.55rem; font-weight: 700; color: var(--f-accent);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px;
}
.flavor-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900;
    line-height: 1.15; margin-bottom: 8px;
}
.flavor-section-sub { font-size: 0.9rem; color: var(--f-muted); max-width: 520px; }

/* ─── Characters ───────────────────────────── */
.flavor-char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.flavor-char-card {
    background: var(--f-card); border: 1px solid var(--f-border);
    border-radius: var(--f-radius); padding: 1.4rem;
    transition: all 0.3s; text-decoration: none; color: inherit;
}
.flavor-char-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* ─── Sponsors ─────────────────────────────── */
.flavor-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}
.flavor-sponsor-card {
    background: var(--f-card); border: 1px solid var(--f-border);
    border-radius: var(--f-radius); padding: 1.5rem;
    position: relative; overflow: hidden; transition: all 0.3s;
}
.flavor-sponsor-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}
.flavor-sponsor-card .sponsor-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
}

/* ─── Animations ───────────────────────────── */
.flavor-reveal {
    opacity: 0; transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22,1,0.36,1);
}
.flavor-reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════
   HOMEPAGE STYLES
   ═══════════════════════════════════════════════ */

/* ─── Hero ─────────────────────────────────── */
.flavor-hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.flavor-hero-bg {
    position: absolute; inset: 0; background: var(--f-bg);
}
.flavor-hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, var(--f-accent-alpha, rgba(255,107,43,0.1)), transparent 50%),
        radial-gradient(ellipse at 20% 80%, var(--f-secondary-alpha, rgba(232,67,147,0.06)), transparent 40%);
}
.flavor-hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center; padding-top: 6rem; padding-bottom: 4rem;
}
.flavor-hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900; line-height: 1; margin: 12px 0 4px;
}
.flavor-hero-sub {
    font-size: 1.05rem; color: var(--f-muted); max-width: 440px;
    line-height: 1.8; margin-bottom: 28px;
}
.flavor-hero-actions { display: flex; gap: 10px; margin-bottom: 40px; }
.flavor-hero-stats { display: flex; gap: 32px; }
.flavor-hero-stat {}
.stat-num { font-weight: 900; font-size: 1.6rem; }
.stat-label { font-size: 0.65rem; color: var(--f-dim); }

/* Hero Player */
.flavor-hero-player { position: relative; }
.flavor-hero-player-inner {
    display: block; border-radius: 16px; overflow: hidden;
    background: var(--f-card); position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    border: 1px solid var(--f-border); text-decoration: none; color: inherit;
}
.flavor-hero-player-inner img {
    width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover;
}
.flavor-hero-player-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.15); opacity: 0; transition: opacity 0.3s;
}
.flavor-hero-player-inner:hover .flavor-hero-player-overlay { opacity: 1; }
.flavor-hero-play-btn {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
}
.flavor-hero-player-info {
    position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 2;
}
.flavor-hero-player-title {
    font-weight: 800; font-size: 1.1rem; margin-top: 6px; color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ─── Sections ─────────────────────────────── */
.flavor-section { padding: 4rem 0; }
.flavor-section-surface { background: var(--f-surface); }

.flavor-section-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.flavor-section-sub { font-size: 0.9rem; color: var(--f-muted); max-width: 520px; margin-top: 4px; }

.flavor-center { text-align: center; }

/* ─── Short Cards ──────────────────────────── */
.flavor-short-card {
    min-width: 220px; flex: 0 0 220px; scroll-snap-align: start;
    text-decoration: none; color: inherit;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.flavor-short-card:hover { transform: translateY(-6px) scale(1.02); }
.flavor-short-thumb {
    aspect-ratio: 9/16; border-radius: 14px; overflow: hidden;
    position: relative;
    background: linear-gradient(160deg, var(--f-card), var(--f-surface));
    border: 1px solid var(--f-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.35s;
}
.flavor-short-card:hover .flavor-short-thumb {
    border-color: rgba(255,107,43,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,107,43,0.1);
}
.flavor-short-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.flavor-short-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s; z-index: 3;
}
.flavor-short-card:hover .flavor-short-overlay { opacity: 1; }
.flavor-short-play {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,107,43,0.3); border: 2px solid rgba(255,107,43,0.5);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
}
.flavor-short-badges {
    position: absolute; top: 10px; left: 10px; right: 10px;
    display: flex; justify-content: space-between; z-index: 2;
}
.flavor-short-info {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.flavor-short-title {
    font-size: 0.82rem; font-weight: 700; color: #fff;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.4; margin-bottom: 4px;
}
.flavor-short-meta { font-size: 0.6rem; color: rgba(255,255,255,0.45); }

.badge-pink { background: #E84393; color: #fff; }

/* ─── Series Grid ──────────────────────────── */
.flavor-series-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;
}
.flavor-series-card {
    background: var(--f-card); border: 1px solid var(--f-border);
    border-radius: 16px; text-align: center;
    text-decoration: none; color: inherit; transition: all 0.3s;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center;
    padding: 0;
}
.flavor-series-card:hover {
    border-color: var(--f-accent); transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.flavor-series-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--f-accent); opacity: 0; transition: opacity 0.3s;
}
.flavor-series-card:hover::before { opacity: 1; }
.flavor-series-card-img-wrap {
    width: 100%; aspect-ratio: 16/10; overflow: hidden;
    border-radius: 16px 16px 0 0; background: var(--f-elevated);
    display: flex; align-items: center; justify-content: center;
}
.flavor-series-icon {
    width: 80px; height: 80px; border-radius: 14px;
    background: rgba(255,107,43,0.1); border: 1px solid rgba(255,107,43,0.2);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.5rem; color: var(--f-accent);
}
.flavor-series-card-info {
    padding: 14px 16px 18px;
}
.flavor-series-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: #fff; }
.flavor-series-count { font-size: 0.78rem; color: var(--f-dim); }

/* ─── Card Series Badge ────────────────────── */
.card-series {
    position: absolute; top: 8px; left: 8px;
    background: rgba(255,107,43,0.15); border: 1px solid rgba(255,107,43,0.25);
    color: var(--f-accent); font-size: 0.55rem; font-weight: 600;
    padding: 2px 8px; border-radius: 4px;
}

/* ─── Character Cards ──────────────────────── */
.flavor-char-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    margin: 0 auto 10px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; border: 2px solid;
}
.flavor-char-avatar img { width: 100%; height: 100%; object-fit: cover; }
.flavor-char-avatar span { font-weight: 900; font-size: 1.2rem; }
.flavor-char-card { text-align: center; text-decoration: none; color: inherit; }
.flavor-char-name { font-weight: 700; font-size: 0.88rem; }
.flavor-char-role { font-size: 0.65rem; font-weight: 500; }

/* ─── CTA Box ──────────────────────────────── */
.flavor-cta-box {
    max-width: 800px; margin: 0 auto;
    background: var(--f-card); border: 1px solid var(--f-border);
    border-radius: 20px; padding: 3.5rem; text-align: center;
    position: relative; overflow: hidden;
}
.flavor-cta-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--f-accent), #E84393, #00D2D3);
}
.flavor-cta-title { font-weight: 900; font-size: 1.8rem; margin-bottom: 8px; }
.flavor-cta-sub { color: var(--f-muted); margin-bottom: 24px; font-size: 0.88rem; }
.flavor-cta-buttons { display: flex; gap: 10px; justify-content: center; }
.btn-yt { background: #FF0000; color: #fff; }
.btn-tt { background: #fff; color: #000; }
.btn-sm { font-size: 0.72rem; padding: 7px 14px; }

/* ─── Responsive ───────────────────────────── */
@media (max-width: 900px) {
    .flavor-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .flavor-hero-player { max-width: 500px; }
    .flavor-hero-stats { gap: 20px; }
    .flavor-section-header { flex-direction: column; }
}
@media (max-width: 600px) {
    .flavor-container { padding-left: 1.2rem; padding-right: 1.2rem; }
    .flavor-hero-title { font-size: 2.5rem; }
    .flavor-short-card { min-width: 170px; flex: 0 0 170px; }
    .flavor-cta-box { padding: 2rem 1.5rem; }
}

/* ─── Filter Pills ─────────────────────────── */
.flavor-filter-row { display: flex; gap: 6px; flex-wrap: wrap; }
.flavor-filter-pill {
    font-family: var(--f-font); font-size: 0.72rem; font-weight: 500;
    background: transparent; color: var(--f-dim);
    border: 1px solid var(--f-border); padding: 6px 14px; border-radius: 6px;
    text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.flavor-filter-pill:hover, .flavor-filter-pill.active {
    background: var(--f-accent); color: #fff; border-color: var(--f-accent);
    font-weight: 700;
}

/* ─── Pagination ───────────────────────────── */
.flavor-pagination { font-family: var(--f-font); }
.flavor-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--f-card); border: 1px solid var(--f-border);
    color: var(--f-muted); text-decoration: none; font-size: 0.8rem; margin: 0 3px;
    transition: all 0.2s;
}
.flavor-pagination .page-numbers.current,
.flavor-pagination .page-numbers:hover {
    background: var(--f-accent); color: #fff; border-color: var(--f-accent);
}

/* ═══════════════════════════════════════════════
   CUSTOM NAV
   ═══════════════════════════════════════════════ */
.flavor-body { margin: 0; padding: 0; background: var(--f-bg, #0D0D0D); color: var(--f-text, #F5F5F5); }
.flavor-body * { box-sizing: border-box; }

.flavor-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0.9rem 0; direction: rtl;
    background: rgba(13,13,13,0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.flavor-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(13,13,13,0.95);
    border-bottom-color: var(--f-border);
}
.flavor-nav-inner {
    max-width: 1300px; margin: 0 auto; padding: 0 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.flavor-nav-logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: inherit;
}
.flavor-nav-logo-img { height: 32px; width: auto; border-radius: 6px; }
.flavor-nav-logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.85rem; color: #fff;
}
.flavor-nav-logo-text {
    font-family: var(--f-font); font-weight: 800; font-size: 1.1rem;
}

/* Links */
.flavor-nav-links {
    display: flex; gap: 1.8rem; align-items: center;
}
.flavor-nav-link {
    font-family: var(--f-font); font-size: 0.82rem; font-weight: 400;
    color: var(--f-muted); text-decoration: none;
    transition: color 0.2s; padding: 2px 0;
    border-bottom: 2px solid transparent;
}
.flavor-nav-link:hover, .flavor-nav-link.active {
    color: #fff;
}
.flavor-nav-link.active {
    border-bottom-color: var(--f-accent);
    font-weight: 700;
}

/* Actions */
.flavor-nav-actions { display: flex; align-items: center; gap: 10px; }
.flavor-nav-cta {
    font-family: var(--f-font); font-size: 0.75rem; font-weight: 700;
    color: #fff; padding: 7px 16px; border-radius: 8px;
    text-decoration: none; transition: all 0.3s;
}
.flavor-nav-cta:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* Mobile toggle */
.flavor-nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; flex-direction: column; gap: 5px;
}
.flavor-nav-toggle span {
    width: 22px; height: 2px; background: #fff; border-radius: 2px;
    transition: all 0.3s;
}
.flavor-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.flavor-nav-toggle.active span:nth-child(2) { opacity: 0; }
.flavor-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .flavor-nav-toggle { display: flex; }
    .flavor-nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(13,13,13,0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 1.5rem 2.5rem; gap: 1rem;
        border-bottom: 1px solid var(--f-border);
    }
    .flavor-nav-links.open { display: flex; }
}

/* ═══════════════════════════════════════════════
   CUSTOM FOOTER
   ═══════════════════════════════════════════════ */
.flavor-footer {
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--f-border);
    direction: rtl;
}
.flavor-footer-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.flavor-footer-brand {
    font-family: var(--f-font); font-weight: 800; font-size: 1rem;
    color: #fff; text-decoration: none;
}
.flavor-footer-links { display: flex; gap: 16px; }
.flavor-footer-links a {
    font-family: var(--f-font); font-size: 0.72rem;
    color: var(--f-dim); text-decoration: none;
    transition: color 0.2s;
}
.flavor-footer-links a:hover { color: var(--f-muted); }
.flavor-footer-social { display: flex; gap: 6px; }
.flavor-footer-social a {
    font-family: var(--f-font); font-size: 0.62rem;
    color: var(--f-dim); text-decoration: none;
    border: 1px solid var(--f-border); padding: 4px 10px; border-radius: 4px;
    transition: all 0.2s;
}
.flavor-footer-social a:hover { color: #fff; border-color: var(--f-muted); }
.flavor-footer-bottom {
    text-align: center; font-family: var(--f-font); font-size: 0.55rem;
    color: var(--f-dim); padding-top: 12px; margin-top: 16px;
    border-top: 1px solid var(--f-border); opacity: 0.5;
}

/* ─── Main content area ────────────────────── */
.flavor-main { min-height: 100vh; }

/* ═══════════════════════════════════════════════
   ADMIN BAR FIX
   ═══════════════════════════════════════════════ */
body.admin-bar .flavor-nav {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .flavor-nav { top: 46px; }
}

/* ═══════════════════════════════════════════════
   SERIES / CATEGORY PAGE
   ═══════════════════════════════════════════════ */
.flavor-series-hero {
    position: relative; padding: 8rem 0 3rem; overflow: hidden;
    min-height: 280px; display: flex; align-items: flex-end;
}
.flavor-series-hero-bg {
    position: absolute; inset: 0;
    background: var(--f-bg);
}
.flavor-series-hero-img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.15; filter: blur(20px) saturate(1.2);
}
.flavor-series-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--f-bg) 20%, transparent 80%);
}
.flavor-series-hero-content {
    position: relative; z-index: 2;
}
.flavor-series-hero-info {
    display: flex; align-items: center; gap: 20px;
}
.flavor-series-hero-icon {
    width: 72px; height: 72px; border-radius: 16px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.8rem;
    border: 2px solid; overflow: hidden;
}
.flavor-series-hero-icon img {
    width: 100%; height: 100%; object-fit: cover;
}
.flavor-series-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
    line-height: 1.2; margin: 4px 0 6px;
}
.flavor-series-hero-desc {
    font-size: 0.9rem; color: var(--f-muted); max-width: 500px; line-height: 1.7;
}
.flavor-series-hero-stats {
    display: flex; gap: 16px; margin-top: 8px;
    font-size: 0.72rem; color: var(--f-dim);
}
.flavor-series-hero-stats span {
    background: var(--f-card); border: 1px solid var(--f-border);
    padding: 4px 12px; border-radius: 6px;
}

/* Series cards on homepage — use image if available */
.flavor-series-card-img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.3s;
}
.flavor-series-card:hover .flavor-series-card-img {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════
   INLINE PLAYER ACTIONS (hover on shorts)
   Small buttons on the right side, like Instagram/TikTok
   ═══════════════════════════════════════════════ */
.flavor-short-overlay {
    position: absolute; inset: 0; z-index: 3;
    display: flex; align-items: flex-end; justify-content: flex-start;
    padding: 12px; opacity: 0; transition: opacity 0.3s;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 40%);
    pointer-events: none;
}
.flavor-short-card:hover .flavor-short-overlay {
    opacity: 1; pointer-events: auto;
}
.flavor-inline-actions {
    display: flex; flex-direction: column; gap: 6px;
    align-items: center;
    margin-bottom: 50px; /* above the title */
}
.fia-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
    text-decoration: none; line-height: 1;
}
.fia-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); transform: scale(1.1); }
.fia-play {
    background: var(--f-accent, #FF6B2B); border-color: var(--f-accent, #FF6B2B);
    width: 38px; height: 38px; font-size: 0.85rem;
}
.fia-play:hover { filter: brightness(1.2); }
.fia-close {
    position: absolute; top: 10px; right: 10px; z-index: 10;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 0.7rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.fia-close:hover { background: rgba(255,0,0,0.5); }

/* ═══════════════════════════════════════════════
   LINK & BUTTON VISIBILITY FIXES
   ═══════════════════════════════════════════════ */
/* Buttons on dark background */
.btn-ghost {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

/* CTA TikTok button (white on dark) */
.btn-tt {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}
.btn-tt:hover {
    background: rgba(255,255,255,0.15) !important;
}

/* Footer links */
.flavor-footer-links a { color: rgba(255,255,255,0.4) !important; }
.flavor-footer-links a:hover { color: rgba(255,255,255,0.8) !important; }

/* Nav links */
.flavor-nav-link { color: rgba(255,255,255,0.5) !important; }
.flavor-nav-link:hover, .flavor-nav-link.active { color: #fff !important; }

/* Archive "all" button */
.flavor-center .btn-ghost { color: rgba(255,255,255,0.6) !important; }
.flavor-center .btn-ghost:hover { color: #fff !important; }

/* Filter pills */
.flavor-filter-pill { color: rgba(255,255,255,0.5) !important; }
.flavor-filter-pill:hover, .flavor-filter-pill.active { color: #fff !important; }

/* Card text */
.card-title { color: #fff !important; }
.card-desc { color: rgba(255,255,255,0.45) !important; }
.card-meta { color: rgba(255,255,255,0.35) !important; }

/* Breadcrumbs */
.flavor-crumbs a { color: rgba(255,255,255,0.35) !important; }
.flavor-crumbs a:hover { color: rgba(255,255,255,0.6) !important; }
.flavor-crumbs .current { color: rgba(255,255,255,0.6) !important; }

/* SEO block */
.flavor-seo-block { color: rgba(255,255,255,0.3) !important; }
.flavor-seo-block h2 { color: rgba(255,255,255,0.6) !important; }


/* Footer legal links */
.flavor-footer-legal { display: flex; gap: 12px; }
.flavor-footer-legal a {
    font-family: var(--f-font); font-size: 0.6rem;
    color: rgba(255,255,255,0.25) !important; text-decoration: none;
    transition: color 0.2s;
}
.flavor-footer-legal a:hover { color: rgba(255,255,255,0.5) !important; }

/* ═══════════════════════════════════════════════
   LEGAL / STATIC PAGES
   ═══════════════════════════════════════════════ */
.flavor-legal-page {
    padding: 2rem 0 4rem;
}
.flavor-legal-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.flavor-legal-header h1 {
    font-family: var(--f-font);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
}
.flavor-legal-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}
.flavor-legal-content {
    font-family: var(--f-font);
    color: rgba(255,255,255,0.7);
    line-height: 1.85;
    font-size: 0.95rem;
}
.flavor-legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 2.5rem 0 1rem;
}
.flavor-legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin: 2rem 0 0.8rem;
}
.flavor-legal-content p {
    margin: 0 0 1.2rem;
}
.flavor-legal-content ul, .flavor-legal-content ol {
    margin: 0 0 1.2rem;
    padding-right: 1.5rem;
}
.flavor-legal-content li {
    margin-bottom: 0.5rem;
}
.flavor-legal-content a {
    color: var(--f-accent, #FF6B2B);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.flavor-legal-content a:hover {
    color: #fff;
}
.flavor-legal-content strong {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════
   LEGAL PAGES (Terms, Privacy, Accessibility)
   ═══════════════════════════════════════════════ */
.flavor-legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 0 80px;
}
.flavor-legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.flavor-legal-header h1 {
    font-family: var(--f-font);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}
.flavor-legal-meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* Content styling */
.flavor-legal-content {
    font-family: var(--f-font);
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.7);
}
.flavor-legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 48px 0 16px;
    display: none; /* Hide the duplicate H2 title from content */
}
.flavor-legal-content h2:first-child { display: none; }
.flavor-legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--f-accent, #FF6B2B);
    margin: 36px 0 12px;
    padding-right: 14px;
    border-right: 3px solid var(--f-accent, #FF6B2B);
}
.flavor-legal-content p {
    margin: 0 0 16px;
    color: rgba(255,255,255,0.65);
}
.flavor-legal-content strong {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}
.flavor-legal-content a {
    color: var(--f-accent, #FF6B2B);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.flavor-legal-content a:hover {
    color: #fff;
}
.flavor-legal-content ul, .flavor-legal-content ol {
    margin: 0 0 16px;
    padding-right: 24px;
    color: rgba(255,255,255,0.6);
}
.flavor-legal-content li {
    margin-bottom: 8px;
    padding-right: 4px;
}
.flavor-legal-content li::marker {
    color: var(--f-accent, #FF6B2B);
}

/* Footer */
.flavor-legal-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

/* ═══════════════════════════════════════════════
   SINGLE CHARACTER PAGE
   ═══════════════════════════════════════════════ */
.flavor-char-hero {
    text-align: center;
    padding: 20px 0 40px;
}
.flavor-char-hero-img {
    width: 200px; height: 200px;
    border-radius: 50%; overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid;
    background: var(--f-card);
}
.flavor-char-hero-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.flavor-char-hero-letter {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; font-weight: 800;
}
.flavor-char-hero-name {
    font-family: var(--f-font); font-size: 2.5rem; font-weight: 800;
    color: #fff; margin: 0 0 12px;
}
.flavor-char-quote {
    font-size: 1.1rem; font-style: italic;
    color: rgba(255,255,255,0.6);
    border-right: 3px solid; padding-right: 16px;
    margin: 0 auto 24px; max-width: 500px; text-align: right;
}
.flavor-char-stats {
    display: flex; gap: 32px; justify-content: center;
    margin-top: 16px;
}
.flavor-char-stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; display: block; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; }

/* Details */
.flavor-char-details { max-width: 700px; margin: 0 auto; }
.flavor-char-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.flavor-char-section h2 {
    font-family: var(--f-font); font-size: 1.1rem; font-weight: 700;
    color: rgba(255,255,255,0.9); margin: 0 0 12px;
}
.flavor-char-section p, .flavor-char-bio {
    font-size: 0.92rem; line-height: 1.8; color: rgba(255,255,255,0.6);
}
.flavor-char-traits { display: flex; flex-wrap: wrap; gap: 8px; }
.flavor-char-trait {
    padding: 4px 14px; border-radius: 20px;
    border: 1px solid; font-size: 0.8rem; font-weight: 600;
    background: transparent;
}
.flavor-char-catchphrase {
    font-size: 1.2rem; font-weight: 700; font-style: italic;
}

/* Related Videos */
.flavor-char-videos { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.flavor-char-videos h2 {
    font-family: var(--f-font); font-size: 1.3rem; font-weight: 800;
    color: #fff; margin: 0 0 20px;
}

/* ═══════════════════════════════════════════════
   ARCHIVE CHARACTER — BIGGER CARDS
   ═══════════════════════════════════════════════ */
.flavor-char-card {
    text-align: center;
    padding: 2rem !important;
}
.flavor-char-avatar {
    width: 120px !important; height: 120px !important;
    margin: 0 auto 14px !important;
    border-radius: 50% !important;
    overflow: hidden;
    border: 3px solid;
}
.flavor-char-avatar img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
}
.flavor-char-name {
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    color: #fff !important;
    margin-bottom: 6px;
}

/* 3-col grid for videos */
.flavor-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.flavor-card-video {
    background: var(--f-card); border-radius: 12px;
    overflow: hidden; text-decoration: none; color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.flavor-card-video:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.flavor-card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.flavor-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.flavor-card-body { padding: 12px 14px; }
.flavor-card-body h3 { font-size: 0.88rem; font-weight: 600; color: #fff; margin: 0 0 4px; line-height: 1.4; }
.flavor-card-meta { font-size: 0.72rem; color: rgba(255,255,255,0.35); }

/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */
.flavor-pagination ul {
    list-style: none; display: flex; gap: 6px; justify-content: center;
    margin: 0; padding: 0;
}
.flavor-pagination li { display: inline-block; }
.flavor-pagination a, .flavor-pagination span {
    display: inline-block; padding: 8px 14px;
    background: var(--f-card); border: 1px solid var(--f-border);
    border-radius: 8px; color: rgba(255,255,255,0.6);
    font-size: 0.85rem; text-decoration: none; transition: all 0.2s;
}
.flavor-pagination a:hover {
    border-color: var(--f-accent); color: #fff;
}
.flavor-pagination .current {
    background: var(--f-accent); border-color: var(--f-accent); color: #fff; font-weight: 700;
}
