/* Fonty self-hosted (woff2, latin + latin-ext) - bez polaczen do Google. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../assets/fonts/playfair-display-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../assets/fonts/playfair-display-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../assets/fonts/playfair-display-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../assets/fonts/playfair-display-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../assets/fonts/playfair-display-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../assets/fonts/playfair-display-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../assets/fonts/inter-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../../assets/fonts/inter-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../assets/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../assets/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../assets/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================================
   Help 4 Website - Blog
   JEDEN wspolny arkusz stylow. Zmienne CSS w :root sa jedynym zrodlem prawdy
   dla kolorow i typografii (tokeny odczytane ze strony glownej).
   Zmiana zlota = jedna edycja ponizej.
   ========================================================================= */

:root {
    /* --- Tokeny marki (zgodne ze strona glowna /assets/css/style.css) --- */
    --black: #0D0D0D;
    --gold: #D4AF37;
    --gold-light: #F4E4C1;
    --gold-bright: #F5D96B;
    --burgundy: #5C1A1B;
    --cream: #F5F1E8;
    --white: #FFFFFF;
    --gray: #8B8B8B;

    /* --- Typografia --- */
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* --- Uklad --- */
    --prose: 70ch;          /* maks. szerokosc kolumny tekstu dla czytelnosci */
    --wrap: 1200px;         /* maks. szerokosc kontenera (listing, naglowek) */
    --nav-h: 5.5rem;        /* zapas na staly naglowek */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--cream);
    background: var(--black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: rgba(212, 175, 55, 0.25);
    color: var(--white);
}

/* Pasek przewijania w zlocie - spojnie ze strona glowna */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); border-left: 1px solid rgba(212, 175, 55, 0.15); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #D4AF37 0%, #B8941F 50%, #D4AF37 100%); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #F4E4C1 0%, #D4AF37 50%, #F4E4C1 100%); }
* { scrollbar-width: thin; scrollbar-color: #D4AF37 #0D0D0D; }

/* Skip link - dostepnosc WCAG 2.4.1 */
.skip-link {
    position: fixed;
    top: -100%;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 99999;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Wspolny focus klawiatury */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Pasek postepu przewijania - identyczny ze strona glowna */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), #F5D96B, var(--gold));
    z-index: 1001;
    pointer-events: none;
}

/* =========================================================================
   NAWIGACJA  (markup i zachowanie skopiowane ze strony glownej)
   ========================================================================= */
#nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem;
    z-index: 1000;
    transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
}

#nav.scrolled {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(13, 13, 13, 0.9);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 1.25rem;
}

#nav .container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    display: flex;
    align-items: center;
}

.logo .logo-letter {
    display: inline-block;
    color: var(--gold);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo .logo-4 {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 800;
    margin: 0 0.02em;
}

nav ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13, 13, 13, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    gap: 1.5rem;
    list-style: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
                opacity 0.15s ease,
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

nav ul.open {
    max-height: 520px;
    opacity: 1;
    padding: 2rem;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

nav ul.open li { opacity: 1; transform: translateY(0); transition: opacity 0.3s ease, transform 0.3s ease; }
nav ul.open li:nth-child(1) { transition-delay: 0.05s; }
nav ul.open li:nth-child(2) { transition-delay: 0.10s; }
nav ul.open li:nth-child(3) { transition-delay: 0.15s; }
nav ul.open li:nth-child(4) { transition-delay: 0.20s; }
nav ul.open li:nth-child(5) { transition-delay: 0.25s; }
nav ul.open li:nth-child(6) { transition-delay: 0.30s; }
nav ul.open li:nth-child(7) { transition-delay: 0.35s; }

/* Linki nawigacji - z wykluczeniem logo, by jego style (.logo) nie byly nadpisywane przez specyficznosc #id (spojnie ze strona glowna) */
#nav a:not(.logo) {
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s;
}

#nav a:not(.logo):hover { color: var(--gold); }
#nav a[aria-current="page"]:not(.logo) { color: var(--gold); }

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    min-height: 44px;
    justify-content: center;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Desktop - pelna pozioma nawigacja (jak na stronie glownej) */
@media (min-width: 1025px) {
    #nav { padding: 2rem 4rem; }
    #nav.scrolled { padding: 1.5rem 4rem; }
    .hamburger { display: none; }
    nav ul {
        position: static;
        flex-direction: row;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        padding: 0;
        gap: clamp(1rem, 2vw, 3rem);
        border-bottom: none;
        max-height: none;
        overflow: visible;
        opacity: 1;
    }
    nav ul li { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   KONTENERY / UKLAD
   ========================================================================= */
.container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    display: block;
}

/* =========================================================================
   LISTING BLOGA  (hero + karty wpisow)
   ========================================================================= */
/* Hero listingu = hero strony glownej: pelny ekran, wycentrowany content,
   to samo tlo (poswiata + pole zlotych czasteczek z paralaksa na scroll). */
.blog-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--black);
}

/* Poswiata (jak .hero-bg na stronie glownej) */
.blog-hero .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.09), transparent 65%);
    pointer-events: none;
}

/* Pole zlotych czasteczek (canvas) - identyczne z hero strony glownej */
.blog-hero .hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
}

.blog-hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

/* Tytul: te same rozmiary/waga/interlinia co .hero h1 na stronie glownej */
.blog-hero h1 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 2rem;
}

.blog-hero h1 .accent { color: var(--gold); font-style: italic; font-weight: 700; }

/* Skalowanie na wiekszych ekranach - identyczne z .hero h1 na stronie glownej */
@media (min-width: 769px) {
    .blog-hero h1 {
        font-size: clamp(3rem, 8vw, 5rem);
    }
}
@media (min-width: 1025px) {
    .blog-hero h1 {
        font-size: clamp(3rem, 8vw, 8rem);
    }
}

/* --- Scramble reveal naglowka (identyczny ze strona glowna /assets/js/hero-reveal.js) --- */
.blog-hero .hero-h1 {
    line-height: 1.15;
    text-align: center;
    user-select: none;
}
.blog-hero .hero-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    min-height: 1.15em;
    white-space: nowrap;
}
.blog-hero .hero-line.gold {
    font-style: italic;
    font-weight: 700;
    color: var(--gold);
}
.char {
    position: relative;
    display: inline-block;
}
.char > .sizer {
    visibility: hidden;
    display: inline-block;
    pointer-events: none;
}
.char > .display {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    color: rgba(245, 245, 245, 0.28);
    transition: color 0.25s ease, text-shadow 0.4s ease;
}
.char.locked-white > .display { color: #f5f5f5; }
.char.locked-gold > .display {
    color: var(--gold);
    text-shadow: 0 0 28px rgba(212, 175, 55, 0.55);
}
.blog-hero .hero-line.gold .char > .display { color: rgba(245, 220, 130, 0.32); }
.blog-hero .hero-line.gold .char.locked-gold > .display {
    color: var(--gold);
    text-shadow: 0 0 28px rgba(212, 175, 55, 0.55);
}
.char.space { width: 0.32em; }
.hero-cursor {
    display: inline-block;
    width: 4px;
    height: 0.78em;
    background: var(--gold);
    margin-left: 10px;
    align-self: center;
    animation: hero-cursor-blink 0.7s step-end infinite;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
    transition: opacity 0.4s ease;
}
.hero-cursor.hidden { opacity: 0; }
@keyframes hero-cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Podtytul: jak .hero-subtitle na stronie glownej */
.blog-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Telefony: skalowanie z dvh jak hero strony glownej (napis wypelnia ekran) */
@media (max-width: 480px) {
    /* Logo - lzejsze na mobile, identycznie jak strona glowna */
    .logo {
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: 2px;
    }
    .logo .logo-4 {
        font-size: 1.25rem;
    }
    .blog-hero {
        padding: clamp(3.5rem, 8dvh, 5rem) 0 clamp(2rem, 5dvh, 4rem);
    }
    .blog-hero-content {
        padding: 0 1.25rem;
    }
    .blog-hero h1 {
        font-size: clamp(2.6rem, min(15vw, 11dvh), 5rem);
        line-height: 1.05;
        letter-spacing: -0.01em;
        margin-bottom: clamp(0.9rem, 2.5dvh, 1.75rem);
    }
    .blog-hero .hero-line.gold { font-size: 1.08em; }
    .blog-hero p {
        font-size: clamp(0.85rem, 2.4dvh, 1rem);
        line-height: 1.65;
    }
}

.posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 0 5rem;
}

@media (min-width: 720px) {
    .posts { grid-template-columns: repeat(2, 1fr); }
}

.post-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    padding: 2.25rem 2rem;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.post-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(212, 175, 55, 0.08);
}

.post-card .post-meta {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1rem;
}

.post-card h2 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 0.9rem;
}

.post-card h2 a { color: inherit; transition: color 0.3s; }
.post-card:hover h2 a { color: var(--gold); }

.post-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.post-card .read-more {
    align-self: flex-start;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease, opacity 0.3s;
}

.post-card .read-more:hover { gap: 0.85rem; opacity: 0.8; }

/* =========================================================================
   ARTYKUL  (typografia wpisu - "oddychajacy" uklad)
   ========================================================================= */
.post-header {
    padding: calc(var(--nav-h) + 3rem) 1.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.post-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.10), transparent 62%);
    pointer-events: none;
}

.post-header .inner {
    position: relative;
    max-width: var(--prose);
    margin: 0 auto;
}

.post-breadcrumb {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1.5rem;
}
.post-breadcrumb a { color: var(--gold); }
.post-breadcrumb span { opacity: 0.5; margin: 0 0.4rem; }

.post-header h1 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    line-height: 1.18;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.post-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--gray);
}
.post-meta-line .dot { color: var(--gold); }
.post-meta-line .author { color: var(--cream); }

/* Korpus artykulu */
.post-body {
    max-width: var(--prose);
    margin: 2.5rem auto 0;
    padding: 0 1.5rem 4rem;
    font-size: 1.075rem;
    line-height: 1.85;
    color: var(--cream);
}

.post-body > p,
.post-body > ul,
.post-body > ol { color: rgba(245, 241, 232, 0.86); }

.post-body p { margin: 0 0 1.6rem; }

.post-body .lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--cream);
    margin-bottom: 2.5rem;
}

.post-body h2 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    line-height: 1.25;
    color: var(--white);
    margin: 3.5rem 0 1.25rem;
}

.post-body h2 .accent { color: var(--gold); font-style: italic; }

.post-body h3 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.25rem, 2.6vw, 1.5rem);
    line-height: 1.3;
    color: var(--gold-light);
    margin: 2.5rem 0 0.85rem;
}

.post-body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(212, 175, 55, 0.45);
    transition: text-decoration-color 0.3s ease, color 0.3s ease;
}
.post-body a:hover { text-decoration-color: var(--gold); }

.post-body strong { color: var(--white); font-weight: 600; }
.post-body em { font-style: italic; }

.post-body ul,
.post-body ol {
    margin: 0 0 1.6rem;
    padding-left: 1.4rem;
}
.post-body li { margin-bottom: 0.7rem; padding-left: 0.3rem; }
.post-body ul li::marker { color: var(--gold); }
.post-body ol li::marker { color: var(--gold); font-weight: 600; }

/* Cytat / mysl przewodnia */
.post-body blockquote {
    margin: 2.5rem 0;
    padding: 0.5rem 0 0.5rem 1.75rem;
    border-left: 2px solid var(--gold);
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--cream);
}

/* Callout "Jak sprawdzic u siebie" */
.check {
    margin: 1.25rem 0 0;
    padding: 1.25rem 1.5rem;
    border-left: 2px solid var(--gold);
    background: rgba(212, 175, 55, 0.04);
    border-radius: 0 4px 4px 0;
}
.check .check-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.check p { margin: 0; font-size: 1rem; color: rgba(245, 241, 232, 0.9); }

/* Miekkie CTA na koncu wpisu */
.post-cta {
    max-width: var(--prose);
    margin: 1rem auto 0;
    padding: 2.75rem 2rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.02));
}
.post-cta h2 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--white);
    margin-bottom: 0.9rem;
}
.post-cta p {
    color: var(--gray);
    max-width: 48ch;
    margin: 0 auto 1.75rem;
}
.cta-btn {
    display: inline-block;
    padding: 1.1rem 3rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}
.cta-btn:hover { color: var(--black); }
.cta-btn:hover::before { transform: translateY(0); }

/* Powrot do bloga */
.post-back {
    max-width: var(--prose);
    margin: 2.5rem auto 0;
    padding: 0 1.5rem;
}
.post-back a {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, gap 0.3s ease;
}
.post-back a:hover { color: var(--gold); gap: 0.8rem; }

/* =========================================================================
   STOPKA  (spojna ze strona glowna)
   ========================================================================= */
footer {
    padding: 2.5rem 1.5rem;
    background: var(--black);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--gray);
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
footer a { color: var(--gold); transition: opacity 0.3s; }
footer a:hover { opacity: 0.7; }
footer .footer-contact { margin-top: 0.75rem; }
footer .footer-nav { margin-top: 0.75rem; }
footer .footer-nav a { margin: 0 0.6rem; }

@media (min-width: 1025px) {
    footer { padding: 3.5rem; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
