/* ============================================================
   Sowa Kultury — nowy design (makiety HTML): wspólny arkusz stylów
   Strony: nowy-design.html (główna), artykul.html (pojedynczy
   artykuł), czasopismo.html, sowa-tv.html.
   Źródło projektu: One page SOWA 01.png + STRONA TYTUŁOWA.docx.
   Kierunek: para granat + beż z jasnozłotymi akcentami, sznyt
   vintage — ziarno papieru, sepiowe fotografie z winietą, podwójne
   linie i ornamenty ✦/❦, kursywa antykwy, inicjały.
   Uwaga: ścieżki url("docs/Nowe/…") są względne wobec katalogu
   z plikami makiet (C:\.Net\Sowa\).
   ============================================================ */
:root {
    --paper:      #ede1c6;   /* beż — tło sekcji „papierowych” (wyraźny, nie biały) */
    --paper-deep: #e2d2ae;   /* ciemniejszy beż (Czasopismo) */
    --card:       #f8f0dc;   /* karty na beżu — krem, jaśniejsze od tła */
    --ink:        #1d2634;   /* granatowa czerń tekstu na beżu */
    --navy:       #16202f;   /* granat — sekcje ciemne */
    --navy-2:     #0e1520;   /* głębszy granat — Sowa TV, stopka */
    --gold:       #b9912f;   /* złoto — akcenty */
    --gold-light: #dcc17c;   /* jasne złoto — wypełnienie przycisków */
    --gold-light-2: #d2b262; /* jasne złoto po najechaniu */
    --gold-soft:  #cdb06a;   /* złote linie */
    --gold-pale:  #d5bf85;   /* delikatne obwódki na beżu */
    --cream:      #f0e6cf;   /* beżowy tekst na granacie */
    --cream-dim:  rgba(240, 230, 207, 0.72);
    --gold-line:  rgba(205, 176, 106, 0.35);
    --muted:      #645c49;   /* tekst drugorzędny na beżu */
    --line:       #d3c39c;   /* włoskowe linie na beżu */
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Montserrat', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.page-dark { background: var(--navy-2); }
body::after {
    /* ziarno starego papieru / kliszy — nałożone na całą stronę */
    content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
    opacity: 0.13; mix-blend-mode: multiply;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23g)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ───────────────────────── Nawigacja (granat) ───────────────────────── */
.top-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 21, 32, 0.97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--gold-line);
    transition: box-shadow .3s ease;
}
.top-nav::before {
    /* złota nitka nad nawigacją — sygnatura identyfikacji */
    content: ""; display: block; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.top-nav.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.nav-inner {
    max-width: 1180px; margin: 0 auto; padding: 0.85rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand svg { width: 34px; height: 34px; }
.brand-name {
    font-family: var(--serif); font-size: 1.45rem; font-weight: 700;
    letter-spacing: 0.04em; color: var(--cream); line-height: 1;
}
.brand-name em { font-style: normal; color: var(--gold-soft); font-weight: 500; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.4rem; }
.nav-links a {
    font-size: 0.69rem; font-weight: 500; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--cream-dim); padding: 0.35rem 0;
    border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.nav-links a.active { color: var(--gold-soft); border-bottom-color: var(--gold-line); }
.nav-links a.nav-cta {
    border: 1px solid var(--gold-line); color: var(--gold-soft);
    padding: 0.5rem 1.05rem; transition: background .25s, color .25s, border-color .25s;
}
.nav-links a.nav-cta:hover { background: rgba(205, 176, 106, 0.14); border-color: var(--gold-soft); border-bottom-color: var(--gold-soft); color: var(--cream); }

/* ───────────────────────── Hero (strona główna) ───────────────────────── */
.hero {
    position: relative; min-height: 82vh;
    display: flex; align-items: center;
    background: var(--navy-2) url("hero-bg.png") center 30% / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(10, 15, 23, 0.82) 12%, rgba(10, 15, 23, 0.32) 55%, rgba(10, 15, 23, 0.18) 100%);
}
.hero::after {
    /* miękkie zszycie hero z sekcją poniżej */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
    background: linear-gradient(180deg, transparent, rgba(14, 21, 32, 0.85));
}
.hero-inner { position: relative; z-index: 1; max-width: 1180px; width: 100%; margin: 0 auto; padding: 6rem 1.5rem 7rem; }
.hero-kicker {
    display: inline-block; font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-soft);
    margin-bottom: 1.2rem;
}
.hero-kicker::after { content: ""; display: block; width: 56px; height: 1px; background: var(--gold); margin-top: 0.85rem; }
.hero h1 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(3rem, 7vw, 5.4rem);
    color: #f4ead2; line-height: 1.03; letter-spacing: 0.01em;
}
.hero p {
    margin-top: 1.1rem; max-width: 34rem;
    color: var(--cream-dim);
    font-family: var(--serif); font-style: italic;
    font-weight: 400; font-size: 1.28rem; letter-spacing: 0.02em;
}
.flourish {
    display: flex; align-items: center; gap: 0.9rem;
    margin-top: 1.5rem; color: var(--gold-soft); font-size: 1.15rem;
}
.flourish::before, .flourish::after { content: ""; width: 64px; height: 1px; background: var(--gold-soft); opacity: 0.65; }
.hero .btn-gold { margin-top: 1.9rem; }
.scroll-cue {
    position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 1;
}
.scroll-cue span { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-dim); }
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold-soft), transparent); }

/* ───────────────────────── Przyciski ───────────────────────── */
.btn-gold, .btn-outline, .btn-outline-light {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.8rem 1.6rem; cursor: pointer; background: transparent;
    transition: background .25s, color .25s, border-color .25s;
}
/* Jasne złoto jako wypełnienie — miękkie, nie ciemne; granatowy tekst.
   Główne przyciski zachowują podwójną ramkę (passe-partout),
   działa tak samo na beżu i na granacie. */
.btn-gold {
    background: var(--gold-light); color: #22293a;
    border: 1px solid #c2a04a;
    outline: 1px solid rgba(185, 145, 47, 0.4); outline-offset: 3px;
}
.btn-gold:hover { background: var(--gold-light-2); border-color: var(--gold); }
.btn-gold:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.btn-outline { background: rgba(220, 193, 124, 0.30); color: #3a3220; border: 1px solid rgba(185, 145, 47, 0.5); }
.btn-outline:hover { background: rgba(220, 193, 124, 0.5); border-color: var(--gold); color: #22293a; }
.btn-outline-light { background: rgba(220, 193, 124, 0.14); color: var(--cream); border: 1px solid var(--gold-line); }
.btn-outline-light:hover { background: rgba(220, 193, 124, 0.26); border-color: var(--gold-soft); }
.arrow { font-family: var(--serif); font-size: 1.05rem; line-height: 0; }

/* ───────────────────────── Sekcje ───────────────────────── */
.section { padding: 5.2rem 0 5.6rem; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 3.1rem; }
.section-head .kicker {
    display: block; font-size: 0.63rem; font-weight: 600;
    letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 0.8rem;
}
.section-head .rule { display: flex; align-items: center; gap: 1.7rem; }
.section-head .rule::before, .section-head .rule::after {
    content: ""; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.section-head .rule::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.section-head h2 {
    font-family: var(--serif); font-weight: 600; font-size: 1.9rem;
    letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.section-head h2::before { content: "✦"; color: var(--gold); font-size: 0.8rem; vertical-align: 0.4em; margin-right: 1.15rem; }
.section-head h2::after  { content: "✦"; color: var(--gold); font-size: 0.8rem; vertical-align: 0.4em; margin-left: 1.15rem; }
.section-head::after {
    /* podwójna linia jak w starym druku */
    content: ""; display: block; width: 132px; margin: 1.15rem auto 0;
    border-top: 3px double var(--gold-soft);
}
.section-sub {
    text-align: center; color: var(--muted); max-width: 44rem; margin: -2.1rem auto 3rem;
    font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08rem;
}

/* Ciemne pasma: granat zamiast beżu */
.section-dark { background: var(--navy); color: var(--cream-dim); }
.section-dark .section-head h2 { color: var(--cream); }
.section-dark .section-head .kicker { color: var(--gold-soft); }
.section-dark .section-head .rule::before { background: linear-gradient(90deg, transparent, var(--gold-line)); }
.section-dark .section-head .rule::after { background: linear-gradient(90deg, var(--gold-line), transparent); }
.section-dark .section-sub { color: var(--cream-dim); }
.section-dark .date-label { color: var(--cream-dim); }

.cat-label {
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold);
}
.date-label {
    font-family: var(--serif); font-style: italic;
    font-size: 0.9rem; color: var(--muted); letter-spacing: 0.03em;
}

/* ───────────────────── Nagłówek podstrony (pasmo granatowe) ───────────────────── */
.page-header {
    background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
    border-bottom: 1px solid var(--gold-line);
    padding: 4rem 1.5rem 3.2rem; text-align: center; color: var(--cream);
}
.page-header .kicker {
    display: block; font-size: 0.63rem; font-weight: 600;
    letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft);
    margin-bottom: 0.9rem;
}
.page-header h1 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(2.1rem, 4.5vw, 3.1rem);
    letter-spacing: 0.14em; text-transform: uppercase;
}
.page-header h1::before { content: "✦"; color: var(--gold-soft); font-size: 0.85rem; vertical-align: 0.45em; margin-right: 1.2rem; }
.page-header h1::after  { content: "✦"; color: var(--gold-soft); font-size: 0.85rem; vertical-align: 0.45em; margin-left: 1.2rem; }
.page-header .orn { width: 132px; margin: 1.2rem auto 0; border-top: 3px double var(--gold-line); }
.page-header .page-sub {
    font-family: var(--serif); font-style: italic; font-size: 1.1rem;
    color: var(--cream-dim); margin-top: 1rem; max-width: 44rem;
    margin-left: auto; margin-right: auto;
}
.back-link {
    display: inline-block; margin-top: 1.5rem;
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--cream-dim); border-bottom: 1px solid var(--gold-line); padding-bottom: 0.25rem;
    transition: color .2s, border-color .2s;
}
.back-link:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ───────────────────────── Magazyn: wyróżniony (granatowy panel) ───────────────────────── */
.featured {
    display: grid; grid-template-columns: 1.08fr 1fr; gap: 2.8rem;
    align-items: center; margin-bottom: 3.4rem;
    background: linear-gradient(140deg, #1c2a40 0%, var(--navy) 55%, #121b29 100%);
    border: 1px solid var(--gold-line);
    padding: 2.4rem;
    box-shadow: 0 26px 60px rgba(19, 28, 42, 0.28);
}
.featured-img {
    position: relative; aspect-ratio: 16 / 10.5; overflow: hidden;
    border: 1px solid var(--gold-soft);
    outline: 1px solid var(--gold-line); outline-offset: 7px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 3.5s ease, filter .6s ease; }
.featured:hover .featured-img img { transform: scale(1.045); }

/* Fotografie w tonie sepii, ożywają po najechaniu; winieta jak na starej kliszy */
.featured-img img, .post-thumb img, .tv-thumb img, .team-photo img, .mag-cover img, .about-img, .article-hero-bg, .article-body figure img {
    filter: sepia(0.32) saturate(0.82) contrast(1.04);
}
.featured:hover .featured-img img, .post-card:hover .post-thumb img, .tv-card:hover .tv-thumb img,
.team-card:hover .team-photo img, .mag-cover:hover img, .tv-hero .tv-thumb:hover img {
    filter: sepia(0.04) saturate(1) contrast(1);
}
.featured-img::after, .post-thumb::after, .tv-thumb::after, .team-photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 46px rgba(30, 22, 6, 0.32);
}
.featured-badge {
    display: inline-block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em;
    text-transform: uppercase; color: var(--gold-soft);
    border: 1px solid var(--gold-line); padding: 0.4rem 0.9rem; margin-bottom: 1.1rem;
}
.featured-body .cat-label { color: var(--gold-soft); display: block; }
.featured-body h3 {
    font-family: var(--serif); font-weight: 600; color: #f4ead2;
    font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; margin: 0.7rem 0 1rem;
}
.featured-body p { color: var(--cream-dim); font-size: 0.93rem; font-weight: 300; max-width: 30rem; }
.featured-body .btn-gold { margin: 1.6rem 0 1.1rem; }
.featured-body .date-label { display: block; color: rgba(240, 230, 207, 0.5); }

/* ───────────────────────── Magazyn: tematy (kategorie) ───────────────────────── */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; padding: 0 0 2.4rem; }
.chip {
    font-size: 0.67rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
    padding: 0.5rem 1.1rem; border: 1px solid var(--gold-pale); border-radius: 2px;
    color: var(--ink); background: var(--card);
    transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.posts-grid {
    display: grid; gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}
.post-card {
    background: linear-gradient(180deg, var(--card) 0%, #f1e4c5 100%);
    border: 1px solid var(--line); border-top: 3px double var(--gold-pale);
    display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(19, 28, 42, 0.15); border-top-color: var(--gold); }
.post-thumb { position: relative; aspect-ratio: 3 / 2.1; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.8s ease, filter .6s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 1.1rem 1.15rem 0.4rem; flex: 1; }
.post-body h4 {
    font-family: var(--serif); font-weight: 600; font-size: 1.13rem;
    line-height: 1.22; margin: 0.5rem 0 0.55rem; color: var(--ink);
}
.post-body p {
    font-size: 0.8rem; color: var(--muted); font-weight: 300;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-foot {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.7rem 1.15rem 1rem; border-top: 1px solid var(--line); margin-top: 0.9rem;
}
.post-foot .arrow { color: var(--gold); font-size: 1.2rem; transition: transform .25s; }
.post-card:hover .post-foot .arrow { transform: translateX(4px); }

.section-cta { text-align: center; margin-top: 2.8rem; }

/* ───────────────────────── O nas (granat) ───────────────────────── */
.about { position: relative; overflow: hidden; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.about-grid {
    display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3.5rem; align-items: center;
    position: relative; z-index: 1;
}
.about-img {
    aspect-ratio: 4 / 3.4;
    border: 1px solid var(--gold-soft);
    outline: 1px solid var(--gold-line); outline-offset: 7px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    background: var(--navy-2) url("hero-bg.png") no-repeat;
    background-size: 230%; background-position: 46% 8%;
}
.about-copy .kicker {
    display: block; font-size: 0.63rem; font-weight: 600;
    letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.8rem;
}
.about-copy h2 {
    font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--cream);
    letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.3rem;
}
.about-copy h2::after { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin-top: 0.9rem; }
.about-copy p { color: var(--cream-dim); font-weight: 300; font-size: 0.94rem; margin-bottom: 1rem; max-width: 36rem; }
.about-copy p.lead::first-letter {
    /* inicjał jak w dawnym czasopiśmie */
    font-family: var(--serif); font-weight: 600; font-size: 3.3em; line-height: 0.78;
    float: left; padding: 0.08em 0.14em 0 0; color: var(--gold-soft);
}
.about-copy strong { color: var(--cream); font-weight: 500; }
.about-copy .btn-gold { margin-top: 1rem; }
.about-owl {
    position: absolute; right: -70px; bottom: -40px; width: 320px; opacity: 0.08;
    pointer-events: none;
}

/* ───────────────────────── Sowa TV (głęboki granat — sala kinowa) ───────────────────────── */
.tv-section { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 26%, var(--navy-2) 100%); }
.tv-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.tv-card {
    background: rgba(244, 234, 210, 0.035);
    border: 1px solid rgba(205, 176, 106, 0.22);
    transition: transform .3s, box-shadow .3s, border-color .3s, background .3s;
}
.tv-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5); border-color: var(--gold-soft); background: rgba(244, 234, 210, 0.06); }
.tv-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); display: block; }
.tv-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 2.8s ease, opacity .3s, filter .6s ease; }
.tv-card:hover .tv-thumb img { transform: scale(1.06); opacity: 1; }
.tv-play {
    position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
    border-radius: 50%; background: rgba(14, 21, 32, 0.72);
    border: 1px solid rgba(244, 234, 210, 0.5);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s, transform .25s;
}
.tv-play::after {
    content: ""; margin-left: 4px;
    border-left: 14px solid #f4ead2; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.tv-card:hover .tv-play { background: var(--gold); transform: scale(1.08); }
.tv-time {
    position: absolute; right: 0.6rem; bottom: 0.6rem;
    background: rgba(14, 21, 32, 0.85); color: #f4ead2;
    font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; padding: 0.2rem 0.5rem;
}
.tv-body { padding: 1rem 1.05rem 1.05rem; }
.tv-body .date-label { display: block; margin-bottom: 0.3rem; }
.tv-body h4 { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.25; margin-bottom: 0.7rem; color: var(--cream); }
.tv-body p { font-size: 0.8rem; font-weight: 300; color: var(--cream-dim); margin-bottom: 0.7rem; }
.yt-tag { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.68rem; color: var(--cream-dim); letter-spacing: 0.05em; }
.yt-tag svg { width: 17px; height: 12px; }

/* Sowa TV: najnowszy odcinek jako duże, wyśrodkowane „główne wideo” */
.tv-hero { max-width: 880px; margin: 0 auto 3.6rem; text-align: center; }
.tv-hero .tv-thumb {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--gold-line);
    outline: 1px solid rgba(205, 176, 106, 0.2); outline-offset: 7px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.tv-hero .tv-thumb:hover .tv-play { background: var(--gold); transform: scale(1.06); }
.tv-hero .tv-thumb:hover img { transform: scale(1.04); opacity: 1; }
.tv-hero .tv-play { width: 74px; height: 74px; }
.tv-hero .tv-play::after { border-left-width: 19px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 6px; }
.tv-hero-body { margin-top: 1.7rem; }
.tv-hero-body .date-label { color: var(--cream-dim); }
.tv-hero-body h2 {
    font-family: var(--serif); font-weight: 600; color: var(--cream);
    font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; margin: 0.5rem 0 0.8rem;
}
.tv-hero-body p { color: var(--cream-dim); font-weight: 300; font-size: 0.95rem; max-width: 40rem; margin: 0 auto; }

/* ───────────────────────── Czasopismo (beż — papier) ───────────────────────── */
.mag-section { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.mag-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; }
.mag-cover {
    max-width: 350px; margin: 0 auto; position: relative;
    box-shadow: 0 26px 60px rgba(19, 28, 42, 0.3);
    border: 1px solid var(--gold-soft);
    outline: 1px solid var(--gold-pale); outline-offset: 7px;
    transition: transform .35s ease;
}
.mag-cover:hover { transform: translateY(-6px) rotate(-0.5deg); }
.mag-cover img { width: 100%; transition: filter .6s ease; }
.mag-cover .mag-badge {
    position: absolute; top: 1rem; right: -0.7rem;
    background: var(--navy); color: var(--gold-soft); border: 1px solid var(--gold-line);
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.42rem 0.85rem; box-shadow: 0 6px 16px rgba(19, 28, 42, 0.25);
}
.mag-info h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.2; margin: 0.7rem 0 1.4rem; }
.mag-info > p { font-size: 0.92rem; font-weight: 300; color: #4c4a41; max-width: 34rem; margin-bottom: 1.4rem; }
.mag-benefits { list-style: none; margin-bottom: 2rem; }
.mag-benefits li { display: flex; gap: 0.9rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: #4c4a41; }
.mag-benefits li:last-child { border-bottom: none; }
.mag-benefits .tick { color: var(--gold); font-family: var(--serif); font-size: 1.1rem; }
.mag-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.mag-prev { margin-top: 3.8rem; }
.mag-prev h3 {
    font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
    letter-spacing: 0.14em; text-transform: uppercase; text-align: center; margin-bottom: 1.8rem; color: #3c4453;
}
.mag-prev h3::before { content: "✦"; color: var(--gold); font-size: 0.7rem; vertical-align: 0.4em; margin-right: 1rem; }
.mag-prev h3::after  { content: "✦"; color: var(--gold); font-size: 0.7rem; vertical-align: 0.4em; margin-left: 1rem; }
.mag-prev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.4rem; max-width: 760px; margin: 0 auto; }
.mag-prev-grid.wide { max-width: none; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stub-cover {
    aspect-ratio: 3 / 4.2; position: relative; padding: 1.1rem;
    background: linear-gradient(160deg, #1c2a3e 0%, var(--navy) 55%, var(--navy-2) 100%);
    border: 1px solid var(--gold-line);
    box-shadow: 0 14px 32px rgba(19, 28, 42, 0.22);
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform .3s ease;
}
.stub-cover:hover { transform: translateY(-5px); }
.stub-cover::after {
    content: ""; position: absolute; inset: 7px;
    border: 1px solid rgba(205, 176, 106, 0.28); pointer-events: none;
}
.stub-title { font-family: var(--serif); color: #f4ead2; font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.stub-title em { display: block; font-style: normal; color: var(--gold-soft); font-size: 0.85rem; font-weight: 500; margin-top: 0.2rem; }
.stub-season { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 234, 210, 0.65); }

/* ───────────────────────── Redakcja (beż) ───────────────────────── */
.team-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.team-card {
    background: linear-gradient(180deg, var(--card) 0%, #f1e4c5 100%);
    border: 1px solid var(--line); border-top: 3px double var(--gold-pale);
    text-align: center; padding-bottom: 1.2rem;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(19, 28, 42, 0.13); border-top-color: var(--gold); }
.team-photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; margin-bottom: 1rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: filter .6s ease; }
.team-mono {
    width: 100%; height: 100%;
    background: linear-gradient(160deg, #22334a 0%, var(--navy) 70%);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 2.4rem; font-weight: 500; color: var(--gold-soft); letter-spacing: 0.08em;
}
.team-card h4 { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; padding: 0 0.8rem; }
.team-card span { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 0.3rem; }

/* ───────────────────────── Artykuł (cover story) ───────────────────────── */
.article-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; background: var(--navy-2); overflow: hidden; }
.article-hero-bg { position: absolute; inset: 0; background-position: center 35%; background-size: cover; background-repeat: no-repeat; }
.article-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14, 21, 32, 0.6) 0%, rgba(14, 21, 32, 0.25) 42%, rgba(10, 15, 23, 0.9) 100%);
    box-shadow: inset 0 0 120px rgba(10, 8, 2, 0.5);
}
.article-hero-content { position: relative; z-index: 1; max-width: 1180px; width: 100%; margin: 0 auto; padding: 8rem 1.5rem 3.4rem; }
.article-hero .cat-label { color: var(--gold-soft); }
.article-hero h1 {
    font-family: var(--serif); font-weight: 600; color: #f4ead2;
    font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.08;
    max-width: 22ch; margin: 0.8rem 0 1.1rem;
}
.article-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem;
    font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--cream-dim);
}
.article-meta .author { color: var(--gold-soft); }
.article-meta .dot { color: var(--gold-soft); font-style: normal; }

.article-body { max-width: 760px; margin: 0 auto; padding: 4.2rem 1.5rem 1rem; }
.article-body p {
    font-size: 1.01rem; font-weight: 300; color: #3b3627;
    line-height: 1.95; margin-bottom: 1.55rem;
}
.article-body > p:first-of-type::first-letter {
    /* inicjał otwierający — jak w dawnym magazynie */
    font-family: var(--serif); font-weight: 600; font-size: 3.9em; line-height: 0.76;
    float: left; padding: 0.06em 0.16em 0 0; color: var(--gold);
}
.article-body h2 {
    font-family: var(--serif); font-weight: 600; font-size: 1.65rem; color: var(--ink);
    margin: 2.7rem 0 1.2rem; line-height: 1.2;
}
.article-body h2::before { content: "✦"; color: var(--gold); font-size: 0.72rem; vertical-align: 0.55em; margin-right: 0.9rem; }
.article-body blockquote {
    margin: 2.5rem 0; padding: 0.4rem 0 0.4rem 1.9rem;
    border-left: 3px double var(--gold-soft);
    font-family: var(--serif); font-style: italic;
    font-size: 1.45rem; line-height: 1.45; color: #4a4433;
}
.article-body blockquote footer { font-size: 0.95rem; font-style: normal; color: var(--muted); margin-top: 0.6rem; }
.article-body figure { margin: 2.7rem 0; }
.article-body figure img {
    width: 100%;
    border: 1px solid var(--gold-soft);
    outline: 1px solid var(--gold-pale); outline-offset: 6px;
}
.article-body figcaption {
    font-family: var(--serif); font-style: italic; font-size: 0.92rem;
    color: var(--muted); margin-top: 1rem; text-align: center;
}
.article-end { text-align: center; color: var(--gold); font-size: 1.35rem; margin: 2.6rem 0 0; }

.article-footer { max-width: 760px; margin: 0 auto; padding: 2.6rem 1.5rem 4.6rem; }
.article-adjacent {
    display: flex; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap;
    border-top: 3px double var(--gold-pale); padding-top: 1.7rem;
}
.adj-link { max-width: 46%; min-width: 220px; }
.adj-link .adj-dir {
    display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
.adj-link strong {
    font-family: var(--serif); font-weight: 600; font-size: 1.08rem;
    color: var(--ink); line-height: 1.3; transition: color .2s;
}
.adj-link:hover strong { color: #7d621c; }
.adj-next { margin-left: auto; text-align: right; }
.article-footer .section-cta { margin-top: 2.6rem; }

/* ───────────────────────── Kontakt (granat) ───────────────────────── */
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--gold-line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 3rem; position: relative; z-index: 1; }
.contact h3 {
    font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem;
}
.contact p, .contact a.line { display: block; font-size: 0.87rem; font-weight: 300; margin-bottom: 0.45rem; color: rgba(244, 234, 210, 0.8); }
.contact a.line:hover { color: var(--gold-soft); }
.contact .sep { border: none; border-top: 1px solid rgba(205, 176, 106, 0.25); margin: 1.1rem 0; }
.contact small { font-size: 0.72rem; color: rgba(244, 234, 210, 0.5); }
.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.socials a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(205, 176, 106, 0.45);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s, border-color .25s;
}
.socials a:hover { background: rgba(205, 176, 106, 0.16); border-color: var(--gold-soft); }
.socials svg { width: 15px; height: 15px; fill: #f4ead2; }

.contact-form { background: rgba(244, 234, 210, 0.04); border: 1px solid rgba(205, 176, 106, 0.25); padding: 1.6rem; }
.contact-form label { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(240, 230, 207, 0.55); margin-bottom: 0.3rem; }
.contact-form input, .contact-form textarea {
    width: 100%; background: rgba(14, 21, 32, 0.5); border: 1px solid rgba(205, 176, 106, 0.3);
    color: #f4ead2; font-family: var(--sans); font-size: 0.85rem; font-weight: 300;
    padding: 0.65rem 0.8rem; margin-bottom: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-owl { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 380px; opacity: 0.07; pointer-events: none; }

footer.site-footer {
    background: var(--navy-2); color: rgba(244, 234, 210, 0.45);
    font-size: 0.72rem; letter-spacing: 0.06em;
    border-top: 1px solid rgba(205, 176, 106, 0.18);
}
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 1.4rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ───────────────────────── Animacje (jak w obecnym motywie) ───────────────────────── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-up { opacity: 1; transform: none; transition: none; }
    .featured-img img, .post-thumb img, .tv-thumb img { transition: none; }
}

/* ───────────────────────── Responsywność ───────────────────────── */
@media (max-width: 1024px) {
    .nav-links { display: none; }  /* makieta: menu mobilne do decyzji w implementacji */
    .featured, .about-grid, .mag-layout { grid-template-columns: 1fr; gap: 2rem; }
    .featured { padding: 1.4rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .hero { min-height: 64vh; }
    .article-hero { min-height: 52vh; }
    .adj-link { max-width: 100%; }
    .adj-next { margin-left: 0; text-align: left; }
}

/* ============================================================
   WORDPRESS LAYER — everything below supports WP markup and
   features the static mockups don't carry: admin bar, painted
   fallback crops, click-to-play, flipbook reader, grouped
   archive, mobile menu, block-template mappings, Studio page.
   ============================================================ */

/* ── Admin bar: keep the sticky nav below it ── */
body.admin-bar .top-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .top-nav { top: 46px; } }

/* ── Mobile menu (mockup defers this decision — hamburger panel) ── */
.nav-toggle {
    display: none; background: none; border: 1px solid var(--gold-line);
    padding: 0.55rem 0.6rem; cursor: pointer; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gold-soft); transition: transform .25s, opacity .25s; }
.top-nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.top-nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.top-nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--navy-2); border-bottom: 1px solid var(--gold-line);
        padding: 0.6rem 1.5rem 1.2rem;
    }
    .top-nav.menu-open .nav-links { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.7rem 0; border-bottom: 1px solid rgba(205, 176, 106, 0.12); }
    .nav-links a.nav-cta { display: inline-block; margin-top: 0.8rem; border-bottom-color: var(--gold-line); }
}

/* ── Painted fallback crops: content without an image gets a crop of
      the Sowa painting, in the same sepia treatment as photographs ── */
.pt-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 2.8s ease, filter .6s ease;
    filter: sepia(0.32) saturate(0.82) contrast(1.04);
}
.pt-1 { background-image: url('Sowa.png'); background-position: 10% 20%; }
.pt-2 { background-image: url('Sowa.png'); background-position: 35% 60%; }
.pt-3 { background-image: url('Sowa.png'); background-position: 60% 30%; }
.pt-4 { background-image: url('Sowa.png'); background-position: 80% 70%; }
.pt-5 { background-image: url('Sowa.png'); background-position: 50% 80%; }
.pt-6 { background-image: url('Sowa.png'); background-position: 90% 10%; }
.post-card:hover .pt-bg, .tv-card:hover .pt-bg, .tv-hero .tv-thumb:hover .pt-bg,
.mag-cover:hover .pt-bg, .stub-cover:hover .pt-bg, .featured:hover .pt-bg {
    transform: scale(1.06);
    filter: sepia(0.04) saturate(1) contrast(1);
}
.featured-img .pt-bg { position: absolute; inset: 0; }

/* ── Click-to-play holder (animations.js swaps a.tv-thumb for this) ── */
.tv-playing { position: relative; aspect-ratio: 16 / 9; background: #000; }
.tv-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Post-card titles are links in WP (mockup uses a plain h4) ── */
.post-body h4 a { color: inherit; transition: color .2s; }
.post-body h4 a:hover { color: #7d621c; }

/* ── Grouped archive (/wszystkie-artykuly) ── */
.theme-group { margin: 0 0 3.6rem; }
.theme-group:last-child { margin-bottom: 0; }
.theme-group-title {
    font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
    letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
    color: #3c4453; margin: 0 0 1.8rem;
}
.theme-group-title::before { content: "✦"; color: var(--gold); font-size: 0.7rem; vertical-align: 0.4em; margin-right: 1rem; }
.theme-group-title::after  { content: "✦"; color: var(--gold); font-size: 0.7rem; vertical-align: 0.4em; margin-left: 1rem; }

/* ── Staggered reveal delays (from the previous theme) ── */
.stagger > .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-up:nth-child(2) { transition-delay: .1s; }
.stagger > .fade-up:nth-child(3) { transition-delay: .2s; }
.stagger > .fade-up:nth-child(4) { transition-delay: .3s; }
.stagger > .fade-up:nth-child(5) { transition-delay: .4s; }
.stagger > .fade-up:nth-child(6) { transition-delay: .5s; }

/* ── Sowa TV admin intro (Settings → Sowa TV) ── */
.tv-intro {
    max-width: 44rem; margin: -1.4rem auto 2.6rem; text-align: center;
    font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--cream-dim);
}

/* ── Editions: covers without an image, unreadable stubs ── */
.mag-cover { display: block; }
.mag-cover.no-img { aspect-ratio: 3 / 4.2; }
.mag-cover .pt-bg { position: absolute; inset: 0; }
.mag-cover-title {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1;
    font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
    color: #f4ead2; text-shadow: 0 2px 8px rgba(14, 21, 32, 0.8);
}
.mag-cover-stub { cursor: default; }
.mag-cover-stub:hover { transform: none; }
.stub-cover { overflow: hidden; }
.stub-cover .pt-bg { z-index: 0; }
.stub-cover.has-img::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(14, 21, 32, 0.15) 40%, rgba(14, 21, 32, 0.78));
}
.stub-cover .stub-title, .stub-cover .stub-season { position: relative; z-index: 1; }
.stub-static { cursor: default; }
.stub-static:hover { transform: none; }

/* ── Block-template article mappings (templates/single.html) ── */
.article-body .wp-block-post-content > p:first-of-type::first-letter {
    font-family: var(--serif); font-weight: 600; font-size: 3.9em; line-height: 0.76;
    float: left; padding: 0.06em 0.16em 0 0; color: var(--gold);
}
.article-body .wp-block-image img {
    border: 1px solid var(--gold-soft);
    outline: 1px solid var(--gold-pale); outline-offset: 6px;
}
.article-body .wp-block-image figcaption {
    font-family: var(--serif); font-style: italic; font-size: 0.92rem;
    color: var(--muted); margin-top: 1rem; text-align: center;
}
.article-adjacent .wp-block-post-navigation-link { max-width: 46%; min-width: 220px; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.article-adjacent .wp-block-post-navigation-link a {
    display: block; font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
    letter-spacing: 0; text-transform: none;
    color: var(--ink); line-height: 1.3; margin-top: 0.4rem; transition: color .2s;
}
.article-adjacent .wp-block-post-navigation-link a:hover { color: #7d621c; }
.article-adjacent .post-navigation-link-next { margin-left: auto; text-align: right; }
@media (max-width: 1024px) {
    .article-adjacent .wp-block-post-navigation-link { max-width: 100%; }
    .article-adjacent .post-navigation-link-next { margin-left: 0; text-align: left; }
}
.article-back { text-align: center; margin-top: 2.4rem; }
.article-back a {
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 0.25rem;
    transition: color .2s, border-color .2s;
}
.article-back a:hover { color: var(--gold); border-color: var(--gold); }

/* ── Index fallback list ── */
.index-list { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

/* ── Studio (/studio) — re-themed; layout keeps until its own mockup lands ── */
.service-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.service-card {
    background: linear-gradient(180deg, var(--card) 0%, #f1e4c5 100%);
    border: 1px solid var(--line); border-top: 3px double var(--gold-pale);
    padding: 1.4rem 1.3rem 1.5rem;
    transition: transform .3s, box-shadow .3s, border-top-color .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(19, 28, 42, 0.13); border-top-color: var(--gold); }
.service-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.82rem; font-weight: 300; color: var(--muted); }
.studio-client {
    display: inline-block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold-soft);
    border: 1px solid var(--gold-line); padding: 0.25rem 0.6rem; margin-bottom: 0.55rem;
}
.studio-cta-band { text-align: center; padding: 1rem 1.5rem 0; }
.studio-cta-band h2 {
    font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    color: var(--cream); margin: 0.6rem 0 1.6rem;
}
.studio-cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ── Czasopismo flipbook reader (classes created by assets/flipbook.js) ── */
body.flipbook-open { overflow: hidden; }
.flipbook-overlay {
    position: fixed; inset: 0;
    /* Above #wpadminbar (z-index 99999) — same convention as WP core modals. */
    z-index: 100000;
    background: rgba(14, 21, 32, 0.97);
    display: flex; flex-direction: column;
}
.flipbook-topbar { display: flex; align-items: center; gap: 1.2rem; padding: 0.9rem 1.4rem; color: var(--cream); }
.flipbook-title {
    font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-right: auto;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.flipbook-counter { font-size: 0.65rem; letter-spacing: 0.14em; color: var(--cream-dim); }
.flipbook-download {
    font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--cream-dim); border: 1px solid var(--gold-line); padding: 0.45em 1em;
    transition: border-color .3s, color .3s; white-space: nowrap;
}
.flipbook-download:hover { color: var(--cream); border-color: var(--gold-soft); }
.flipbook-close {
    background: none; border: none; color: var(--cream); font-size: 1.7rem; line-height: 1;
    cursor: pointer; padding: 0 0.2em; transition: color .3s, transform .3s;
}
.flipbook-close:hover { color: var(--gold-soft); transform: rotate(90deg); }
.flipbook-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0.5rem 4.5rem 1.5rem; }
.flipbook-book { max-width: 100%; max-height: 100%; }
.flipbook-status {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: var(--cream-dim); font-size: 0.75rem; letter-spacing: 0.12em; text-align: center; line-height: 2;
}
.flipbook-status a { color: var(--gold-soft); text-decoration: underline; }
.flipbook-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(240, 230, 207, 0.08); border: 1px solid var(--gold-line);
    color: var(--cream); font-size: 1.3rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s, border-color .3s, color .3s;
}
.flipbook-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-2); }
.flipbook-prev { left: 1rem; }
.flipbook-next { right: 1rem; }
@media (max-width: 680px) {
    .flipbook-stage { padding: 0.5rem 0.6rem 4rem; }
    .flipbook-nav { top: auto; bottom: 0.9rem; transform: none; }
    .flipbook-prev { left: calc(50% - 60px); }
    .flipbook-next { right: calc(50% - 60px); }
    .flipbook-download { display: none; }
}
