/* =========================================
   BLOG.CSS — Pięknie Żyć
   Styles for blog listing + article pages
   ========================================= */

/* =========================================
   CATEGORY COLORS
   ========================================= */
:root {
    --cat-ciaza:       #C41E3A;
    --cat-ciaza-bg:    #FFF0F2;
    --cat-kobiecosc:   #7B4F8E;
    --cat-kobiecosc-bg:#F5EFF9;
    --cat-macierzynstwo: #3D7A5C;
    --cat-macierzynstwo-bg: #EDF7F2;
    --cat-rozne:       #5A6A82;
    --cat-rozne-bg:    #EEF1F5;
}

/* =========================================
   BLOG HERO
   ========================================= */
/* Skala pierwszego ekranu — te same wartości co w przestrzenie.css
   (blog.html nie ładuje tamtego arkusza) */
:root {
    --pz-krok: min(1vw, 1.55vh);
    --pz-naglowek: clamp(4.4rem, 10.8vh, 6.6rem);
}

.blog-hero {
    background: linear-gradient(160deg, #FFF0E6 0%, #FFE8F0 60%, #fff 100%);
    /* Pierwszy widok na całą wysokość okna — spójnie z portalem i podstronami */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: var(--pz-naglowek) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ——— Zdjęcie w hero ———
   Ten sam mechanizm co na podstronach przestrzeni (przestrzenie.css):
   poniżej 1024px fotografia jest tłem całej sekcji i wtapia się w róż
   welonem gradientowym, od 1024px dostaje własną kolumnę po prawej. */
.blog-hero__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blog-hero__photo picture,
.blog-hero__photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.blog-hero__photo img {
    object-fit: cover;
    object-position: 50% 20%;
}

/* Bez welonu — zdjęcie zostaje w oryginalnych barwach. Czytelność tekstu
   bierze się z matowej szybki pod nim (patrz .blog-hero__container niżej). */
.blog-hero::before {
    content: none;
}

/* Ciemna smuga u samej góry — kontrast dla logo i hamburgera */
@media (max-width: 1023px) {
    .blog-hero__photo::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: clamp(6.5rem, 17vh, 11rem);
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(58, 24, 30, 0.62) 0%, rgba(58, 24, 30, 0) 100%);
    }

    /* Kafelek ani na środku, ani przy krawędzi — środek bloku ląduje
       ok. 3/4 wysokości ekranu */
    .blog-hero {
        align-items: flex-end;
        padding-top: calc(var(--pz-naglowek) * 0.72);
        padding-bottom: clamp(4.5rem, 13vh, 7.5rem);
    }

    /* Matowa szybka pod tekstem — ten sam materiał co kafelki na stronie
       głównej. Selektor złożony, bo reguła bazowa .blog-hero__container stoi
       niżej w pliku i przy równej wadze by ją nadpisała. */
    .blog-hero .blog-hero__container {
        width: 100%;
        max-width: min(34rem, 100%);
        background: rgba(255, 246, 249, 0.66);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        backdrop-filter: blur(16px) saturate(180%);
        border: 1.5px solid rgba(196, 30, 58, 0.18);
        border-radius: 22px;
        padding: clamp(1.1rem, 2.8vh, 1.7rem) clamp(1.1rem, 4.5vw, 1.75rem);
        box-shadow: 0 12px 32px -18px rgba(146, 61, 65, 0.65);
    }
}

@media (min-width: 1024px) {
    .blog-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) min(42vw, 63vh);
        align-items: center;
    }

    .blog-hero__photo {
        position: relative;
        inset: auto;
        align-self: stretch;
        margin-top: calc(-1 * var(--pz-naglowek));
        margin-bottom: calc(-1 * var(--pz-naglowek));
        overflow: visible;
    }

    /* Miękkie zejście w róż tła zamiast twardej krawędzi kolumny */
    .blog-hero__photo img {
        object-position: 50% 22%;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%);
        mask-image: linear-gradient(to right, transparent 0%, #000 26%);
    }

    /* Welon niepotrzebny — zdjęcie ma własną kolumnę */
    .blog-hero::before {
        display: none;
    }

    /* Zdjęcie sięga górnej krawędzi ekranu — pod nagłówkiem rozjaśniamy je smugą */
    .blog-hero__photo::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: calc(var(--pz-naglowek) + 1.5rem);
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(253, 248, 246, 0.92) 0%, rgba(253, 248, 246, 0) 100%);
    }
}

.blog-hero__container {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.blog-hero__label {
    display: inline-block;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #C41E3A;
    margin-bottom: clamp(0.4rem, 1.4vh, 1rem);
}

.blog-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, calc(var(--pz-krok) * 5), 4.75rem);
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    line-height: 1.1;
    margin-bottom: clamp(0.6rem, 1.8vh, 1.25rem);
}

.blog-hero__description {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(0.95rem, calc(var(--pz-krok) * 1.35), 1.2rem);
    color: #4A4A4A;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Zaproszenie do przewinięcia — hero zajmuje cały ekran */
.blog-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: clamp(0.75rem, 2vh, 1.5rem);
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Darker Grotesque', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(107, 46, 49, 0.6);
    text-decoration: none !important;
    transition: color 300ms ease;
}

.blog-hero__scroll:hover {
    color: #C41E3A;
}

.blog-hero__scroll-line {
    display: block;
    width: 1px;
    height: clamp(1.25rem, 3vh, 2.25rem);
    background: linear-gradient(to bottom, rgba(146, 61, 65, 0.5), transparent);
    animation: blogHeroScroll 2.4s ease-in-out infinite;
}

@keyframes blogHeroScroll {
    0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
    50%      { opacity: 1;    transform: scaleY(1);   transform-origin: top; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-hero__scroll-line { animation: none; }
}

/* =========================================
   CATEGORY FILTER
   ========================================= */
.blog-filter {
    background: #fff;
    padding: 2rem 0 0;
    position: sticky;
    top: 70px;
    z-index: 50;
    border-bottom: 1px solid rgba(196,30,58,.1);
}

.blog-filter__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 0;
}

.blog-filter__btn {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: #4A4A4A;
    background: none;
    border: none;
    padding: .7rem 1.4rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}

.blog-filter__btn:hover {
    color: #C41E3A;
}

.blog-filter__btn.is-active {
    color: #C41E3A;
    border-bottom-color: #C41E3A;
}

@media (max-width: 767px) {
    .blog-filter {
        top: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .blog-filter__container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 0;
        gap: 0;
    }
    .blog-filter__btn {
        padding: .7rem 1rem;
        font-size: .85rem;
    }
}

/* =========================================
   BLOG GRID
   ========================================= */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem clamp(1.5rem, 5vw, 3rem) 6rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1023px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =========================================
   ARTICLE CARD
   ========================================= */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(146,61,65,.12);
}

.blog-card.is-hidden {
    display: none;
}

.blog-card__image-wrap {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #FFF0F2;
}

/* Klikalny link na zdjęciu — zajmuje całą powierzchnię */
.blog-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card__image-wrap img {
    transform: scale(1.04);
}

/* Klikalny tytuł karty */
.blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.blog-card__title a:hover {
    color: #C41E3A;
}

.blog-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 20px;
}

.blog-card__category--ciaza {
    background: var(--cat-ciaza-bg);
    color: var(--cat-ciaza);
}
.blog-card__category--kobiecosc {
    background: var(--cat-kobiecosc-bg);
    color: var(--cat-kobiecosc);
}
.blog-card__category--macierzynstwo {
    background: var(--cat-macierzynstwo-bg);
    color: var(--cat-macierzynstwo);
}
.blog-card__category--rozne {
    background: var(--cat-rozne-bg);
    color: var(--cat-rozne);
}

.blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    line-height: 1.3;
    margin-bottom: .75rem;
}

.blog-card__excerpt {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .95rem;
    line-height: 1.55;
    color: #4A4A4A;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(196,30,58,.08);
    padding-top: 1rem;
    margin-top: auto;
}

.blog-card__meta {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .8rem;
    color: #6B6B6B;
    display: flex;
    gap: .75rem;
    align-items: center;
}

.blog-card__meta::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #C41E3A;
    border-radius: 50%;
}

.blog-card__link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: #C41E3A;
    text-decoration: none;
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: gap .2s;
}

.blog-card__link::after {
    content: '→';
}

.blog-card:hover .blog-card__link {
    gap: .7rem;
}

/* =========================================
   BLOG EMPTY STATE
   ========================================= */
.blog-empty {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: #6B6B6B;
}

/* =========================================
   ARTICLE PAGE — BREADCRUMB
   ========================================= */
.breadcrumb {
    background: #fff;
    padding: calc(80px + 1rem) 0 1rem;
    border-bottom: 1px solid rgba(196,30,58,.08);
}

.breadcrumb__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    list-style: none;
}

.breadcrumb__item {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    color: #6B6B6B;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.breadcrumb__item:not(:last-child)::after {
    content: '/';
    opacity: .4;
}

.breadcrumb__link {
    color: #6B6B6B;
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb__link:hover {
    color: #C41E3A;
}

.breadcrumb__current {
    color: #C41E3A;
    font-weight: 600;
}

/* =========================================
   ARTICLE PAGE — HEADER
   ========================================= */
.article-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem) 5rem;
}

.article-header {
    padding: 2.5rem 0 2rem;
}

.article-header__category {
    display: inline-block;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.article-header__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.article-header__subtitle {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.article-header__meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    color: #6B6B6B;
    padding-top: 1rem;
    border-top: 1px solid rgba(196,30,58,.1);
}

.article-header__meta-author {
    font-weight: 600;
    color: #923D41;
}

.article-header__meta-dot {
    width: 4px;
    height: 4px;
    background: #C41E3A;
    border-radius: 50%;
    opacity: .5;
}

/* =========================================
   ARTICLE PAGE — FEATURED IMAGE
   ========================================= */
.article-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    aspect-ratio: 16 / 9;
    background: #FFF0F2;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-image figcaption {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .8rem;
    color: #6B6B6B;
    text-align: center;
    margin-top: .5rem;
    font-style: italic;
}

/* =========================================
   ARTICLE PAGE — CONTENT TYPOGRAPHY
   ========================================= */
.article-content {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.8;
    color: #1A1A1A;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-style: italic;
    color: #923D41;
    margin: 2.5rem 0 1rem;
    line-height: 1.2;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-style: italic;
    color: #923D41;
    margin: 2rem 0 .75rem;
}

.article-content p {
    margin-bottom: 1.4rem;
    font-size: clamp(1rem, 1.4vw, 1.1rem) !important;
    font-family: 'Darker Grotesque', sans-serif !important;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.article-content ul {
    list-style: none;
    padding-left: 0;
}

.article-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: .5rem;
}

.article-content ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #C41E3A;
    font-size: .65em;
    top: .35em;
}

.article-content ol {
    list-style: decimal;
}

.article-content ol li {
    margin-bottom: .5rem;
    padding-left: .25rem;
}

.article-content strong {
    font-weight: 700;
    color: #923D41;
}

.article-content em {
    font-style: italic;
    color: #923D41;
}

.article-content blockquote {
    border-left: 4px solid #C41E3A;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: #FFF0F2;
    border-radius: 0 12px 12px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: #923D41;
    line-height: 1.5;
}

.article-content blockquote cite {
    display: block;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-style: normal;
    color: #6B6B6B;
    margin-top: .5rem;
}

/* Highlight box */
.article-content .highlight-box {
    background: linear-gradient(135deg, #FFF0F2 0%, #F5EFF9 100%);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    border: 1px solid rgba(196,30,58,.12);
}

.article-content .highlight-box p:last-child {
    margin-bottom: 0;
}

/* =========================================
   ARTICLE PAGE — TAGS
   ========================================= */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 2.5rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(196,30,58,.1);
}

.article-tags__label {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: #6B6B6B;
    display: flex;
    align-items: center;
    margin-right: .25rem;
}

.article-tag {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: #923D41;
    background: #FFF0F2;
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 20px;
    padding: .3rem .9rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.article-tag:hover {
    background: #C41E3A;
    color: #fff;
}

/* =========================================
   ARTICLE PAGE — AUTHOR BIO
   ========================================= */
.article-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #FFF0F2 0%, #F5EFF9 100%);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
}

.article-author__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(196,30,58,.15);
}

.article-author__info {
    flex: 1;
}

.article-author__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    margin-bottom: .25rem;
}

.article-author__bio {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .9rem;
    color: #4A4A4A;
    line-height: 1.55;
    margin: 0 !important;
}

@media (max-width: 480px) {
    .article-author {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   RELATED POSTS
   ========================================= */
.related-posts {
    margin: 3rem 0 0;
    padding-top: 2.5rem;
    border-top: 2px dotted rgba(196,30,58,.15);
}

.related-posts__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-style: italic;
    color: #923D41;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 767px) {
    .related-posts__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(146,61,65,.12);
}

.related-card__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #FFF0F2;
}

.related-card__body {
    padding: 1rem 1.1rem 1.25rem;
}

.related-card__category {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #C41E3A;
    margin-bottom: .4rem;
}

.related-card__title {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    line-height: 1.35;
    margin: 0;
}

/* =========================================
   ARTICLE CTA
   ========================================= */
.article-cta {
    background: linear-gradient(135deg, #923D41 0%, #C41E3A 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 3rem 0;
    color: #fff;
}

.article-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-style: italic;
    color: #fff;
    margin-bottom: .75rem;
    font-weight: 700;
}

.article-cta__text {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    opacity: .9;
    margin-bottom: 1.5rem !important;
    color: #fff !important;
}

.article-cta .btn--light {
    background: #fff;
    color: #923D41;
    font-weight: 700;
    border: none;
    padding: .875rem 2rem;
    border-radius: 4px;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .9375rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform .2s, box-shadow .2s;
}

.article-cta .btn--light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* =========================================
   SHARE STRIP
   ========================================= */
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(196,30,58,.1);
    margin-top: 1.5rem;
}

.article-share__label {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: #6B6B6B;
    flex-shrink: 0;
}

.article-share__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: #923D41;
    text-decoration: none;
    padding: .4rem .9rem;
    border-radius: 20px;
    border: 1px solid rgba(196,30,58,.25);
    transition: background .2s, color .2s;
}

.article-share__link:hover {
    background: #C41E3A;
    color: #fff;
    border-color: #C41E3A;
}

/* =========================================
   ARTICLE TEMPLATE — LAYOUT & COMPONENTS
   (klasy używane w szablon-artykulu.html)
   ========================================= */

/* Wrapper główny artykułu */
.article {
    overflow-x: hidden;
}

/* Hero baner artykułu */
.article-hero {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    background: #FFF0F2;
    margin-top: 70px;
}
.article-hero__img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}
@media (max-width: 767px) {
    .article-hero { max-height: 260px; margin-top: 0; }
    .article-hero__img { max-height: 260px; }
}

/* Container artykułu */
.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem) 5rem;
}

/* Breadcrumb wewnątrz artykułu */
.article-breadcrumb {
    padding: 1.5rem 0 .5rem;
}
.article-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    color: #6B6B6B;
}
.article-breadcrumb li {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.article-breadcrumb li:not(:last-child)::after {
    content: '/';
    opacity: .4;
}
.article-breadcrumb a {
    color: #6B6B6B;
    text-decoration: none;
    transition: color .2s;
}
.article-breadcrumb a:hover { color: #C41E3A; }
.article-breadcrumb [aria-current="page"] {
    color: #C41E3A;
    font-weight: 600;
}

/* Badge kategorii z data-category */
.article-category {
    display: inline-block;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}
.article-category[data-category="ciaza"]         { background: var(--cat-ciaza-bg);         color: var(--cat-ciaza); }
.article-category[data-category="kobiecosc"]     { background: var(--cat-kobiecosc-bg);     color: var(--cat-kobiecosc); }
.article-category[data-category="macierzynstwo"] { background: var(--cat-macierzynstwo-bg); color: var(--cat-macierzynstwo); }
.article-category[data-category="rozne"]         { background: var(--cat-rozne-bg);         color: var(--cat-rozne); }

/* Tytuł artykułu */
.article-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    line-height: 1.15;
    margin-bottom: 1rem;
}

/* Lead / wprowadzenie */
.article-intro {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Meta row (autor + data) */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(196,30,58,.1);
    margin-top: .5rem;
}
.article-meta__details {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.article-date,
.article-read-time {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .82rem;
    color: #6B6B6B;
}
.article-date::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    background: rgba(196,30,58,.4);
    border-radius: 50%;
    margin-right: .5rem;
    vertical-align: middle;
}

/* Autor w metadanych nagłówka */
.article-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.article-author__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(196,30,58,.2);
}
.article-author__info {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.article-author__name {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    line-height: 1.2;
}
.article-author__role {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .78rem;
    color: #6B6B6B;
    line-height: 1.3;
}

/* Listy w treści (poza .article-content) */
.article-list {
    margin-bottom: 1.4rem;
    padding-left: 0;
    list-style: none;
}
.article-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: .5rem;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.8;
    color: #1A1A1A;
}
ul.article-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #C41E3A;
    font-size: .65em;
    top: .35em;
}
ol.article-list {
    list-style: decimal;
    padding-left: 1.5rem;
}
ol.article-list li::before { display: none; }

/* Cytat w treści (poza .article-content) */
.article-quote {
    border-left: 4px solid #C41E3A;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: #FFF0F2;
    border-radius: 0 12px 12px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: #923D41;
    line-height: 1.5;
}
.article-quote p { margin-bottom: 0; }
.article-quote cite {
    display: block;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-style: normal;
    color: #6B6B6B;
    margin-top: .5rem;
}

/* Ramka wyróżniająca */
.article-highlight {
    background: linear-gradient(135deg, #FFF0F2 0%, #F5EFF9 100%);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    border: 1px solid rgba(196,30,58,.12);
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.8;
    color: #1A1A1A;
}
.article-highlight p:last-child { margin-bottom: 0; }

/* Zdanie przewodnie — wyróżniona, pojedyncza myśl w treści */
.article-lead-line {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.5;
    color: #923D41;
    text-align: center;
    margin: 2.25rem auto;
    max-width: 38ch;
}

/* Zdjęcie w treści */
.article-figure {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .8rem;
    color: #6B6B6B;
    text-align: center;
    padding: .5rem;
    font-style: italic;
}

/* Biogram autorki (dół artykułu) */
.article-author-bio {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, #FFF0F2 0%, #F5EFF9 100%);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
}
.article-author-bio__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(196,30,58,.15);
}
.article-author-bio__content { flex: 1; }
.article-author-bio__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    font-style: italic;
    color: #923D41;
    margin-bottom: .5rem;
}
.article-author-bio__desc {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .95rem;
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: .75rem;
}
.article-author-bio__link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    color: #C41E3A;
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .2s;
}
.article-author-bio__link:hover { color: #923D41; }
@media (max-width: 480px) {
    .article-author-bio { flex-direction: column; align-items: center; text-align: center; }
}

/* Przyciski share */
.article-share__btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    padding: .4rem .9rem;
    border-radius: 20px;
    border: 1px solid rgba(196,30,58,.25);
    transition: background .2s, color .2s, border-color .2s;
    color: #923D41;
}
.article-share__btn:hover {
    background: #C41E3A;
    color: #fff;
    border-color: #C41E3A;
}

/* CTA artykułu — dodatkowe elementy */
.article-cta__container { max-width: 600px; margin: 0 auto; }
.article-cta__eyebrow {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin-bottom: .5rem;
}
.article-cta__desc {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,.92) !important;
    line-height: 1.6;
    margin-bottom: 1.5rem !important;
}

/* Related posts container */
.related-posts__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem) 4rem;
}

/* article-cta w szablonie artykułu — brak border-radius na full-width */
.article > .article-cta {
    border-radius: 0;
    margin: 0;
    padding: 3.5rem 2rem;
}

/* Data w blog-card (listing + related) */
.blog-card__date {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: .8rem;
    color: #6B6B6B;
    display: block;
    margin-bottom: .4rem;
}

/* blog-card__date dla powiązanych artykułów (article-page) */
/* Uwaga: blog-card__link to link "Czytaj →" w stopce karty — nie zmieniaj */
