/*
Theme Name:  Maluszkowe Porady
Author:      Facecube.dev
Author URI:  https://facecube.dev
Version:     2.0
Description: Portal parentingowy – SEO, link building, artykuły sponsorowane.
Text Domain: maluszkowe-porady
*/

/* ============================================================
   SPIS TREŚCI
   1.  Custom Properties (tokeny)
   2.  Reset & Base
   3.  Typografia globalna
   4.  Header / Navbar
   5.  Hero (strona główna)
   6.  Sekcja Kategorie
   7.  Sekcja Blog – Karty artykułów
   8.  Sekcja E-book
   9.  Sekcja Newsletter
   10. Single Post
   11. Archiwum kategorii
   12. Sidebar & Widget Areas
   13. Komentarze
   14. Footer
   15. Strona 404
   16. Paginacja
   17. Badge – Artykuł sponsorowany
   18. Utilities
   19. Responsywność
   ============================================================ */


/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */

:root {
    /* --- Kolory --- */
    --brown:        #806154;
    --brown-dark:   #5c453a;
    --brown-light:  #c4a091;
    --brown-muted:  rgba(128, 97, 84, 0.09);
    --rose:         #D19D98;
    --vanilla:      #FCF9EE;
    --cream:        #F5EDE4;
    --white:        #FAFAFB;
    --text:         #2d1f1a;
    --text-muted:   #7a5c4f;
    --border:       rgba(128, 97, 84, 0.15);

    /* --- Typografia fluid --- */
    --text-xs:   clamp(0.688rem, 1.2vw,  0.75rem);
    --text-sm:   clamp(0.813rem, 1.5vw,  0.875rem);
    --text-base: clamp(0.875rem, 1.8vw,  1rem);
    --text-lg:   clamp(1rem,     2vw,    1.125rem);
    --text-xl:   clamp(1.125rem, 2.5vw,  1.25rem);
    --text-2xl:  clamp(1.25rem,  3vw,    1.5rem);
    --text-3xl:  clamp(1.5rem,   4vw,    2rem);
    --text-4xl:  clamp(1.75rem,  4.5vw,  2.75rem);
    --text-hero: clamp(2.2rem,   5.5vw,  3.8rem);

    /* --- Spacing --- */
    --section-gap:    clamp(4rem, 10vw, 7rem);
    --section-gap-sm: clamp(2rem, 5vw,  3.5rem);
    --container-px:   clamp(1rem, 3vw,  1.5rem);

    /* --- Kształty --- */
    --card-radius:  12px;
    --btn-radius:   6px;
    --img-radius:   16px;

    /* --- Transitions --- */
    --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* --- Shadows --- */
    --shadow-xs:    0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm:    0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-md:    0 4px 16px rgba(128, 97, 84, 0.12);
    --shadow-lg:    0 8px 32px rgba(128, 97, 84, 0.16);
    --shadow-hover: 0 16px 48px rgba(128, 97, 84, 0.22);
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

/* Globalne blokowanie poziomego scrolla.
   overflow-x: hidden na section nie psuje position:sticky (header jest poza sekcjami).
   html + body razem blokują scroll poziomy bez tworzenia scroll-containera dla sticky. */
section,
.lp-trust-bar,
.wsp-trust-bar,
.hero__badges-bar,
.site-footer {
    overflow-x: hidden;
}

body {
    background-color: var(--vanilla);
    font-family: "Montserrat", sans-serif;
    font-size: var(--text-base);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* --- WordPress core fixes --- */
.wp-caption { max-width: 100%; }
.aligncenter { display: block; margin-inline: auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }


/* ============================================================
   3. TYPOGRAFIA GLOBALNA
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
    color: var(--text);
}

p {
    line-height: 1.8;
    color: var(--text-muted);
}

/* Nagłówki sekcji */
.section-title {
    font-size: var(--text-4xl);
    font-weight: 300;
    color: var(--brown);
    text-align: center;
    margin-bottom: var(--section-gap-sm);
}

.section-title--left {
    text-align: left;
}

/* Sekcja header row z linkiem "Zobacz wszystkie" */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-header h2 {
    font-size: var(--text-4xl);
    font-weight: 300;
    color: var(--brown);
}

.section-header .see-all {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 1.5px solid transparent;
    transition: var(--transition);
}

.section-header .see-all:hover {
    border-bottom-color: var(--brown);
}


/* ============================================================
   4. HEADER / NAVBAR
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(252, 249, 238, 0.97);
    border-bottom: 1px solid rgba(128, 97, 84, 0.12);
    box-shadow: 0 2px 16px rgba(128, 97, 84, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    height: 82px;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* === Logo === */

.navbar__logo {
    flex-shrink: 0;
}

.navbar__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar__logo img {
    height: 58px;
    width: auto;
    transition: opacity 0.2s ease;
    display: block;
}

.navbar__logo img:hover {
    opacity: 0.8;
}

.navbar__logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--brown);
    letter-spacing: -0.02em;
}

/* Pionowy separator logo / nav */
.navbar__logo::after {
    content: '';
    display: block;
    width: 1px;
    height: 28px;
    background-color: rgba(128, 97, 84, 0.18);
    margin-left: 32px;
    flex-shrink: 0;
}

.navbar__logo {
    display: flex;
    align-items: center;
}

/* === Nawigacja === */

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.8125rem; /* 13px */
    font-weight: 500;
    letter-spacing: 0.01em;
}

.navbar-nav .nav-link {
    color: var(--text-muted);
    padding: 7px 11px;
    border-radius: var(--btn-radius);
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Podkreślenie slide-in przy hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 11px;
    right: 11px;
    height: 1.5px;
    background-color: var(--brown);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--brown);
    background-color: var(--brown-muted);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: var(--brown);
    font-weight: 700;
}

/* === Ikona wyszukiwania === */

.navbar__search-btn {
    flex-shrink: 0;
    background: none;
    border: 1.5px solid transparent;
    color: var(--text-muted);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    margin-left: 8px;
    cursor: pointer;
}

.navbar__search-btn:hover {
    color: var(--brown);
    background-color: var(--brown-muted);
    border-color: var(--border);
}

/* === Hamburger === */

.navbar-toggler {
    border: none;
    background: none;
    color: var(--brown);
    font-size: 1.6rem;
    padding: 4px 6px;
    line-height: 1;
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* === Mobile collapse === */

.navbar-collapse {
    background-color: rgba(252, 249, 238, 0.99);
}

/* Mobile logo */
.mobile-logo {
    height: 46px;
    width: auto;
}

/* ============================================================
   5. HERO (strona główna)
   ============================================================ */

.hero {
    position: relative;
    background-image: url('assets/img/hero.webp');
    background-size: cover;
    background-position: 65% center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Gradient lewo → prawo: kremowy → transparent */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(252, 249, 238, 0.98) 0%,
        rgba(252, 249, 238, 0.94) 30%,
        rgba(252, 249, 238, 0.70) 52%,
        rgba(252, 249, 238, 0.20) 70%,
        rgba(252, 249, 238, 0.00) 85%
    );
    z-index: 1;
}

/* === Główna treść === */

.hero__main {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5rem);
    display: flex;
    align-items: center;
}

/* Tekst ograniczony do lewych ~62% */
.hero__text {
    max-width: 640px;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brown);
    margin-bottom: 20px;
}

/* Tytuł — duży i dominujący */
.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    font-style: italic;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.hero__description {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 420px;
}

/* Przyciski CTA — pill shape */
.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary-mp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--brown);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 50px;
    border: 1.5px solid var(--brown);
    transition: var(--transition);
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary-mp:hover {
    background-color: var(--brown-dark);
    border-color: var(--brown-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-mp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(252, 249, 238, 0.75);
    color: var(--brown);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 50px;
    border: 1.5px solid var(--brown);
    transition: var(--transition);
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}

.btn-outline-mp:hover {
    background-color: var(--brown-muted);
    color: var(--brown-dark);
    border-color: var(--brown-dark);
    transform: translateY(-2px);
}

/* === Pasek cech — pełna szerokość na dole hero === */

.hero__badges-bar {
    position: relative;
    z-index: 2;
    background-color: rgba(252, 249, 238, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(128, 97, 84, 0.12);
    padding: 14px 0;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 28px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
}

.hero__trust-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: var(--brown-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown);
    font-size: 0.9rem;
    border: 1px solid rgba(128, 97, 84, 0.15);
}

.hero__trust-sep {
    width: 1px;
    height: 20px;
    background-color: rgba(128, 97, 84, 0.2);
    flex-shrink: 0;
}


/* ============================================================
   6. SEKCJA KATEGORIE
   ============================================================ */

.section-categories {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--cream);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(45, 31, 26, 0.78) 0%,
        rgba(45, 31, 26, 0.2)  50%,
        transparent            100%
    );
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(92, 69, 58, 0.88) 0%,
        rgba(92, 69, 58, 0.3)  55%,
        transparent            100%
    );
}

.category-card__body {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
}

.category-card__title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.category-card__desc {
    font-size: var(--text-xs);
    font-weight: 400;
    color: rgba(250, 250, 251, 0.82);
    line-height: 1.5;
    margin: 0;
}

.category-card a {
    position: absolute;
    inset: 0;
    z-index: 2;
}


/* ============================================================
   7. SEKCJA BLOG – KARTY ARTYKUŁÓW
   ============================================================ */

.section-blog {
    padding: var(--section-gap) 0;
}

.section-blog--cream {
    background-color: var(--cream);
}

/* Siatka kart */
.articles-grid {
    display: grid;
    gap: 22px;
}

.articles-grid--4 { grid-template-columns: repeat(4, 1fr); }
.articles-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Karta artykułu */
.article-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(164, 120, 101, 0.12);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(164, 120, 101, 0.24);
}

/* Zdjęcie */
.article-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

.article-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.article-card:hover .article-card__img-wrap img {
    transform: scale(1.06);
}

/* Treść karty */
.article-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

/* Meta (kategoria + data) */
.article-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.article-card__cat {
    font-weight: 600;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-card__cat::after {
    content: '·';
    margin-left: 10px;
    font-weight: 400;
    color: var(--text-muted);
}

.article-card__title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    margin: 0;
    transition: color 0.2s ease;
    /* Ogranicz do 2 linijek */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .article-card__title {
    color: var(--brown);
}

.article-card__excerpt {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    /* Ogranicz do 3 linijek */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card__link {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 1px;
    border-bottom: 1.5px solid transparent;
    transition: var(--transition);
}

.article-card__link:hover {
    color: var(--brown-dark);
    border-bottom-color: var(--brown-dark);
}


/* ============================================================
   8. SEKCJA E-BOOK
   ============================================================ */

.section-ebook {
    padding: var(--section-gap) 0;
    background-color: var(--cream);
}

.ebook__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brown);
    margin-bottom: 12px;
}

.ebook__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    line-height: 1.18;
    margin-bottom: 16px;
}

.ebook__subtitle {
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--brown);
    margin-bottom: 12px;
}

.ebook__desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

.ebook__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ebook__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.ebook__features li i {
    color: var(--brown);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.ebook__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ebook__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebook__image-wrap img {
    max-height: 480px;
    width: auto;
    drop-shadow: var(--shadow-lg);
    filter: drop-shadow(0 16px 40px rgba(128,97,84,0.25));
    transition: var(--transition-slow);
}

.ebook__image-wrap img:hover {
    filter: drop-shadow(0 24px 56px rgba(128,97,84,0.35));
    transform: translateY(-4px);
}


/* ============================================================
   9. SEKCJA NEWSLETTER
   ============================================================ */

.section-newsletter {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

.newsletter__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.newsletter__icon {
    width: 56px;
    height: 56px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--brown);
}

.newsletter__title {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 12px;
}

.newsletter__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 440px;
}

.newsletter__form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background-color: var(--white);
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text);
    transition: var(--transition);
}

.newsletter__form input[type="email"]:focus {
    outline: none;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(128, 97, 84, 0.1);
}

.newsletter__form input[type="email"]::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.newsletter__form input[type="submit"],
.newsletter__form .wpcf7-submit {
    align-self: flex-start;
    background-color: var(--brown);
    color: var(--white);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 12px 24px;
    border: none;
    border-radius: var(--btn-radius);
    transition: var(--transition);
    cursor: pointer;
}

.newsletter__form input[type="submit"]:hover,
.newsletter__form .wpcf7-submit:hover {
    background-color: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.newsletter__rodo {
    font-size: var(--text-xs);
    color: var(--text-muted);
    opacity: 0.75;
    margin-top: 6px;
    line-height: 1.5;
}

.newsletter__rodo a {
    color: var(--brown);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* CF7 overrides */
.newsletter__form .wpcf7-list-item {
    margin: 0;
}

.newsletter__form .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

/* Obrazek po prawej */
.newsletter__image-wrap {
    border-radius: var(--img-radius);
    overflow: hidden;
    height: 100%;
    min-height: 360px;
}

.newsletter__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================================================
   10. SINGLE POST
   ============================================================ */

.hero-single {
    background-color: var(--cream);
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-single__meta a {
    color: var(--brown);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-single__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-single__excerpt {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
    max-width: 680px;
}

/* Treść artykułu */
.post-content {
    font-size: var(--text-base);
    line-height: 1.85;
    color: var(--text);
}

.post-content h2 { font-size: var(--text-3xl); font-weight: 600; color: var(--text); margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: var(--text-2xl); font-weight: 600; color: var(--text); margin: 2rem 0 0.875rem; }
.post-content h4 { font-size: var(--text-xl);  font-weight: 600; color: var(--text); margin: 1.5rem 0 0.75rem; }

.post-content p  { margin-bottom: 1.25rem; }
.post-content a  { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--brown-dark); }

.post-content ul,
.post-content ol {
    list-style: revert;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-content blockquote {
    border-left: 3px solid var(--brown);
    padding: 12px 20px;
    margin: 1.5rem 0;
    background-color: var(--cream);
    border-radius: 0 var(--btn-radius) var(--btn-radius) 0;
    font-style: italic;
    color: var(--text-muted);
}

.post-content img {
    border-radius: var(--card-radius);
    margin: 1.5rem auto;
}

/* Featured image w hero single */
.hero-single__thumb {
    border-radius: var(--img-radius);
    overflow: hidden;
    line-height: 0;
}

.hero-single__img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--img-radius);
    display: block;
}

/* Tagi posta */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.post-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--brown);
    background-color: var(--brown-muted);
    border: 1px solid rgba(128, 97, 84, 0.18);
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.post-tag:hover {
    background-color: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

/* Strony posta (next/prev w paginacji treści) */
.post-pages {
    margin-top: 2rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.post-pages a {
    color: var(--brown);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Komentarze – dodatkowe style */
.comment-author-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author-name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text);
}

.comment-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.comment-awaiting {
    font-size: var(--text-xs);
    color: var(--brown-light);
}

.comment-text {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text);
}

.comment-text p {
    margin-bottom: 0.5rem;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.comment-footer {
    margin-top: 10px;
}

.comment-reply a {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.comment-reply a:hover {
    color: var(--brown-dark);
}

.comment-list .children {
    padding-left: 20px;
    list-style: none;
}

.comments-password {
    font-size: var(--text-sm);
    color: var(--text-muted);
    padding: 16px;
    background-color: var(--cream);
    border-radius: var(--card-radius);
}

.comments-pagination {
    margin-top: 1.5rem;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.comments-pagination a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    font-size: var(--text-sm);
    color: var(--brown);
    text-decoration: none;
    transition: var(--transition);
}

.comments-pagination a:hover {
    background-color: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

/* Czas czytania */
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Powiązane artykuły */
.related-articles {
    padding: var(--section-gap-sm) 0;
    border-top: 1px solid var(--border);
    margin-top: var(--section-gap-sm);
}

.related-articles h3 {
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--brown);
    margin-bottom: var(--section-gap-sm);
}


/* ============================================================
   11. ARCHIWUM KATEGORII
   ============================================================ */

.hero-category {
    min-height: 300px;
    background-color: var(--brown);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.hero-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(45, 31, 26, 0.72) 0%,
        rgba(45, 31, 26, 0.15) 100%
    );
}

.hero-category__body {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0;
}

.hero-category__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-category__desc {
    font-size: var(--text-base);
    color: rgba(250, 250, 251, 0.82);
    max-width: 560px;
    line-height: 1.65;
}

.section-category-archive {
    padding: clamp(3rem, 6vw, 5rem) 0 var(--section-gap);
}

.category-seo-desc {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--border);
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.8;
}

.category-seo-desc h2 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 12px;
}


/* ============================================================
   12. SIDEBAR & WIDGET AREAS
   ============================================================ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.widget-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--border);
}

/* Baner reklamowy */
.ad-widget {
    background-color: var(--cream);
    border-radius: var(--card-radius);
    padding: 20px;
    text-align: center;
    border: 1px dashed rgba(128, 97, 84, 0.3);
}

.ad-widget img {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 6px;
}


/* ============================================================
   13. KOMENTARZE
   ============================================================ */

.comments-section {
    margin-top: var(--section-gap-sm);
    padding-top: var(--section-gap-sm);
    border-top: 2px solid var(--border);
}

.comments-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 28px;
}

/* --- Lista komentarzy --- */

.comment-list {
    padding: 0;
    margin: 0 0 40px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    list-style: none;
}

/* Karta komentarza */
.comment-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

/* Awatar z inicjałem */
.comment-card__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--brown));
    color: var(--white);
    font-size: var(--text-base);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
}

/* Treść komentarza */
.comment-card__body {
    flex: 1;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 0 var(--card-radius) var(--card-radius) var(--card-radius);
    padding: 16px 20px;
    position: relative;
}

/* Trójkąt wskazujący na awatar */
.comment-card__body::before {
    content: '';
    position: absolute;
    top: 14px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid var(--border);
}

.comment-card__body::after {
    content: '';
    position: absolute;
    top: 14px;
    left: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid var(--white);
}

/* Nagłówek komentarza */
.comment-card__header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.comment-card__author {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text);
}

.comment-card__date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.comment-awaiting {
    font-size: var(--text-xs);
    color: var(--brown-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Treść */
.comment-card__text {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text);
}

.comment-card__text p {
    margin-bottom: 0.5rem;
}

.comment-card__text p:last-child {
    margin-bottom: 0;
}

/* Link odpowiedzi */
.comment-card__footer {
    margin-top: 10px;
}

.comment-card__footer a,
.comment-reply-link {
    font-size: var(--text-xs) !important;
    font-weight: 600 !important;
    color: var(--brown) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.comment-card__footer a:hover,
.comment-reply-link:hover {
    color: var(--brown-dark) !important;
}

/* Komentarze zagnieżdżone */
.comment .children {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    margin-left: 58px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment a { color: var(--brown); }
.comment-respond a { color: var(--brown); }
.comment-meta { display: none; }

/* --- Formularz komentarza --- */

#respond {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

#reply-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

#reply-title small {
    display: block;
    font-size: var(--text-sm);
    font-weight: 400;
    margin-top: 4px;
}

#reply-title small a {
    color: var(--brown);
    text-decoration: underline;
}

/* Logged-in notice */
.comment-notes,
.logged-in-as {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.logged-in-as a {
    color: var(--brown);
    text-decoration: underline;
}

/* Grid formularza */
.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comment-form-author,
.comment-form-email {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comment-form-comment,
.form-submit {
    grid-column: 1 / -1;
}

.comment-form-comment {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Etykiety */
.comment-form label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
}

.comment-form .required {
    color: var(--brown);
    margin-left: 2px;
}

/* Pola input i textarea */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    background-color: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    padding: 11px 14px;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text);
    transition: var(--transition);
    appearance: none;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
    font-style: italic;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(128, 97, 84, 0.1);
    background-color: var(--vanilla);
}

.comment-form textarea {
    resize: vertical;
    min-height: 140px;
}

.comment-form-url { display: none; }

/* Przycisk wyślij */
.form-submit {
    margin: 0;
}

.submit {
    background-color: var(--brown);
    color: var(--white);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 12px 28px;
    border: none;
    border-radius: var(--btn-radius);
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit:hover {
    background-color: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Paginacja komentarzy */
.comments-pagination {
    margin-top: 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.comments-pagination a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    font-size: var(--text-sm);
    color: var(--brown);
    text-decoration: none;
    transition: var(--transition);
}

.comments-pagination a:hover {
    background-color: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

/* Hasło */
.comments-password {
    font-size: var(--text-sm);
    color: var(--text-muted);
    padding: 16px 20px;
    background-color: var(--cream);
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 575.98px) {
    .comment-form {
        grid-template-columns: 1fr;
    }

    .comment-form-author,
    .comment-form-email,
    .comment-form-comment,
    .form-submit {
        grid-column: 1 / -1;
    }

    .comment .children {
        margin-left: 24px;
    }

    .comment-card__avatar {
        width: 36px;
        height: 36px;
        font-size: var(--text-sm);
    }
}


/* ============================================================
   14. FOOTER
   ============================================================ */

.site-footer {
    background-color: var(--brown-dark);
    color: rgba(250, 250, 251, 0.75);
    font-size: var(--text-sm);
    padding: clamp(3rem, 7vw, 5rem) 0 0;
}

.footer__logo {
    margin-bottom: 16px;
}

.footer__logo a {
    display: inline-block;
    background-color: rgba(252, 249, 238, 0.12);
    border-radius: var(--btn-radius);
    padding: 10px 16px;
    width: 100%;
    transition: var(--transition);
}

.footer__logo a:hover {
    background-color: rgba(252, 249, 238, 0.2);
}

.footer__logo img {
    width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: none;
    opacity: 1;
}

.footer__tagline {
    font-size: var(--text-sm);
    font-style: italic;
    font-weight: 300;
    color: rgba(250, 250, 251, 0.55);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Social icons */
.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(250, 250, 251, 0.1);
    color: rgba(250, 250, 251, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer__social a:hover {
    background-color: rgba(250, 250, 251, 0.2);
    color: var(--white);
    transform: translateY(-2px);
}

/* Kolumny linków */
.footer__col-title {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(250, 250, 251, 0.45);
    margin-bottom: 16px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: var(--text-sm);
    color: rgba(250, 250, 251, 0.65);
    text-decoration: none;
    transition: var(--transition);
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
    display: block;
    line-height: 1.45;
}

.footer__links a:hover {
    color: var(--white);
    border-bottom-color: rgba(250, 250, 251, 0.3);
}

/* Długie tytuły artykułów w "Najpopularniejsze" — max 2 linijki */
.footer__link--clamp {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fallback text logo w stopce */
.footer__logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

/* Stopka – dolna belka */
.footer__bottom {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: 20px 0;
    border-top: 1px solid rgba(250, 250, 251, 0.1);
}

.footer__copy {
    font-size: var(--text-xs);
    color: rgba(250, 250, 251, 0.4);
    margin: 0;
}

.footer__credit {
    font-size: var(--text-xs);
    color: rgba(250, 250, 251, 0.4);
    margin: 0;
}

.footer__credit a {
    color: rgba(250, 250, 251, 0.55);
    transition: var(--transition);
}

.footer__credit a:hover {
    color: var(--white);
}

.footer__credit img {
    display: inline;
    height: 18px;
    width: 18px;
    vertical-align: middle;
}


/* ============================================================
   15. STRONA 404
   ============================================================ */

.page-404 {
    padding: clamp(5rem, 12vw, 9rem) 0;
    text-align: center;
}

.page-404__code {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
    margin-bottom: -20px;
}

.page-404__title {
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.page-404__desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 32px;
}


/* ============================================================
   16. PAGINACJA
   ============================================================ */

.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* paginate_links(type:'list') generuje <ul class="page-numbers"> */
.pagination .page-numbers,
.pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-numbers li {
    display: flex;
}

.pagination a,
.pagination span,
.pagination .page-numbers a,
.pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    color: var(--brown);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current,
.pagination .page-numbers a:hover,
.pagination .page-numbers .current {
    background-color: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

.pagination .dots {
    border: none;
    background: none;
    cursor: default;
}


/* ============================================================
   17. BADGE – ARTYKUŁ SPONSOROWANY
   ============================================================ */

.badge-sponsored {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--brown-dark);
    background-color: rgba(128, 97, 84, 0.09);
    border: 1px solid rgba(128, 97, 84, 0.22);
    padding: 3px 8px 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    flex-shrink: 0;
}

.badge-sponsored i {
    font-size: 0.75rem;
}

/* Badge na karcie – górny lewy róg */
.article-card {
    position: relative;
}

.article-card .badge-sponsored {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}


/* ============================================================
   18. UTILITIES
   ============================================================ */

.text-brown   { color: var(--brown); }
.text-muted-mp { color: var(--text-muted); }
.bg-cream     { background-color: var(--cream); }
.bg-vanilla   { background-color: var(--vanilla); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ============================================================
   19. STRONA WSPÓŁPRACA
   ============================================================ */

/* Hero */
.wspolpraca-hero {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background-color: var(--cream);
}

.wspolpraca-hero__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brown);
    margin-bottom: 16px;
}

.wspolpraca-hero__title {
    font-size: var(--text-hero);
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 20px;
}

.wspolpraca-hero__desc {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Stat cards */
.wspolpraca-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 24px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-card__number {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--brown);
    line-height: 1;
}

.stat-card__label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.4;
}

/* Pakiety */
.wspolpraca-packages {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.package-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 32px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(128, 97, 84, 0.25);
}

.package-card--featured {
    border-color: var(--brown);
    box-shadow: var(--shadow-md);
}

.package-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brown);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.package-card__icon {
    font-size: 2rem;
    color: var(--brown);
    line-height: 1;
}

.package-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.package-card__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.package-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.package-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.package-card__features li i {
    color: var(--brown);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Dlaczego warto */
.wspolpraca-why {
    padding: var(--section-gap) 0;
    background-color: var(--cream);
}

.wspolpraca-why__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 32px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--brown);
    box-shadow: var(--shadow-sm);
}

.why-item strong {
    display: block;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.why-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Audience bars */
.wspolpraca-audience {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.wspolpraca-audience h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.audience-bar {
    display: grid;
    grid-template-columns: 140px 1fr 40px;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.audience-bar:last-child {
    margin-bottom: 0;
}

.audience-bar__label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.audience-bar__track {
    background-color: var(--cream);
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}

.audience-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brown-light), var(--brown));
    border-radius: 20px;
    transition: width 1s ease;
}

.audience-bar__val {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--brown);
    text-align: right;
}

/* Kontakt */
.wspolpraca-contact {
    padding: var(--section-gap) 0;
    background-color: var(--brown-dark);
}

.wspolpraca-contact__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    font-style: italic;
    color: var(--white);
    margin-bottom: 16px;
}

.wspolpraca-contact__desc {
    font-size: var(--text-base);
    color: rgba(250, 250, 251, 0.75);
    line-height: 1.7;
    margin-bottom: 28px;
}

.wspolpraca-contact .btn-primary-mp {
    background-color: var(--white);
    color: var(--brown-dark);
    border-color: var(--white);
    font-size: var(--text-base);
    padding: 14px 32px;
}

.wspolpraca-contact .btn-primary-mp:hover {
    background-color: var(--vanilla);
    border-color: var(--vanilla);
    color: var(--brown-dark);
}

.wspolpraca-contact__note {
    font-size: var(--text-sm);
    color: rgba(250, 250, 251, 0.5);
    margin-top: 12px;
}

/* Wyszukiwarka – formularz WP */
.search-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    overflow: hidden;
    background-color: var(--white);
}

.search-field {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text);
    background: transparent;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    background-color: var(--brown);
    color: var(--white);
    border: none;
    padding: 12px 18px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.search-submit:hover {
    background-color: var(--brown-dark);
}


/* ============================================================
   20. BREADCRUMBS
   ============================================================ */

.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs__item::after {
    content: '/';
    opacity: 0.4;
}

.breadcrumbs__item:last-child::after {
    display: none;
}

.breadcrumbs__item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs__item a:hover {
    color: var(--brown);
}

.breadcrumbs__item--current {
    color: var(--brown);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}


/* ============================================================
   20. SEARCH OVERLAY
   ============================================================ */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(252, 249, 238, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-overlay__close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--btn-radius);
    transition: var(--transition);
    line-height: 1;
}

.search-overlay__close:hover {
    color: var(--brown);
    background-color: var(--brown-muted);
}

.search-overlay__inner {
    width: min(640px, 90vw);
    text-align: center;
}

.search-overlay__hint {
    font-size: var(--text-2xl);
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

/* WordPress search form w overlay
   WP generuje: <form><label><span(sr-only)><input></label><input type=submit></form>
   Label musi być flex:1 żeby input go wypełnił */
.search-overlay .search-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    overflow: hidden;
    background-color: var(--white);
    width: 100%;
}

/* Label owijający input — flex:1 żeby nie był "białym prostokątem" */
.search-overlay .search-form label {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Screen-reader text — ukryte wizualnie */
.search-overlay .search-form .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0,0,0,0);
    overflow: hidden;
}

.search-overlay .search-field {
    flex: 1;
    width: 100%;
    border: none;
    padding: 14px 18px;
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--text);
    background: transparent;
}

.search-overlay .search-field:focus {
    outline: none;
}

/* input[type=submit] i button.search-submit */
.search-overlay .search-submit,
.search-overlay input[type="submit"] {
    background-color: var(--brown);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.search-overlay .search-submit:hover,
.search-overlay input[type="submit"]:hover {
    background-color: var(--brown-dark);
}

/* Navbar logo text fallback */
.navbar__logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--brown);
    letter-spacing: -0.02em;
}


/* ============================================================
   21. SINGLE POST – ULEPSZENIA
   ============================================================ */

/* Hero single – wyraźniejsze meta */
.hero-single__cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--brown-muted);
    color: var(--brown);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: var(--transition);
}

.hero-single__cat-badge:hover {
    background-color: var(--brown);
    color: var(--white);
}

.hero-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 20px;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.hero-single__meta-sep {
    color: var(--border);
    user-select: none;
}

/* Treść artykułu – wyśrodkowanie gdy brak sidebara */
.article-col--centered {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* post-content – lepsza typografia */
.post-content > p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.post-content h3 {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Naprawa bullet points — override globalnego list-style: none */
.post-content ul {
    list-style: disc !important;
    padding-left: 1.6rem !important;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-content ol {
    list-style: decimal !important;
    padding-left: 1.6rem !important;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-content li {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--text);
    padding-left: 4px;
}

.post-content li::marker {
    color: var(--brown);
}

/* Powiązane artykuły – odstęp */
.related-posts-section {
    padding-top: var(--section-gap-sm);
}


/* ============================================================
   22. BRAKUJĄCE KLASY (fixes)
   ============================================================ */

/* Link owijający obrazek karty — musi być block żeby img wypełnił wrap */
.article-card__img-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}

/* Wyszukiwarka na stronie 404 */
.page-404__search {
    max-width: 420px;
    margin: 0 auto;
}

.page-404__search .search-form {
    margin: 0 auto;
}

/* Footer link z MP_Footer_Walker */
.footer__link {
    font-size: var(--text-sm);
    color: rgba(250, 250, 251, 0.65);
    text-decoration: none;
    transition: var(--transition);
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
    display: block;
}

.footer__link:hover {
    color: var(--white);
    border-bottom-color: rgba(250, 250, 251, 0.3);
}

/* Sekcja "Najczęściej czytane" — kremowe tło */
.section-blog--cream {
    background-color: var(--cream);
}


/* ============================================================
   22. DOSTĘPNOŚĆ (Accessibility)
   ============================================================ */

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    background-color: var(--brown);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 0 0 var(--btn-radius) var(--btn-radius);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Focus ring — widoczny dla klawiatury, niewidoczny dla myszy */
:focus-visible {
    outline: 2.5px solid var(--brown);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Usuń outline dla elementów non-keyboard */
:focus:not(:focus-visible) {
    outline: none;
}

/* Zaznaczenie tekstu */
::selection {
    background-color: var(--rose);
    color: var(--white);
}

/* Reduced motion — wyłącz animacje */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ============================================================
   23. WORDPRESS EDITOR STYLES
   ============================================================ */

/* Figcaption / wp-caption */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-caption img {
    display: block;
    width: 100%;
    border-radius: var(--btn-radius);
}

.wp-caption-text,
figcaption {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
    margin-top: 6px;
    font-style: italic;
    line-height: 1.5;
}

/* Galeria WP */
.gallery {
    display: grid;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: var(--btn-radius);
    display: block;
}

.gallery-caption {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 4px;
    text-align: center;
    font-style: italic;
}

/* Tabele w treści */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    margin-bottom: 1.5rem;
}

.post-content th {
    background-color: var(--cream);
    color: var(--text);
    font-weight: 700;
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.post-content td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: top;
}

.post-content tr:nth-child(even) td {
    background-color: rgba(245, 237, 228, 0.4);
}

/* Kod */
.post-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.875em;
    background-color: var(--cream);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--brown-dark);
}

.post-content pre {
    background-color: var(--text);
    color: var(--vanilla);
    padding: 20px;
    border-radius: var(--card-radius);
    overflow-x: auto;
    font-size: var(--text-sm);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    border-radius: 0;
}

/* HR */
.post-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* Alignments WP */
.post-content .aligncenter {
    display: block;
    margin: 1.5rem auto;
    border-radius: var(--btn-radius);
}

.post-content .alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
    border-radius: var(--btn-radius);
    max-width: 50%;
}

.post-content .alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
    border-radius: var(--btn-radius);
    max-width: 50%;
}

.post-content::after {
    content: '';
    display: table;
    clear: both;
}

/* Embedy (YouTube, iFrame) */
.post-content iframe,
.post-content embed,
.post-content object {
    max-width: 100%;
    border-radius: var(--btn-radius);
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ============================================================
   24. PRINT STYLES
   ============================================================ */

@media print {
    /* Ukryj elementy niepotrzebne w druku */
    .site-header,
    .site-footer,
    .sidebar,
    .section-blog,
    .section-newsletter,
    .section-ebook,
    .section-categories,
    .related-articles,
    .comments-section,
    .search-overlay,
    .pagination,
    .ad-widget,
    .hero__cta-group,
    .hero__trust,
    .post-tags,
    .breadcrumbs,
    nav,
    button {
        display: none !important;
    }

    /* Treść */
    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
        line-height: 1.6;
    }

    .hero-single {
        background: #fff;
        padding: 0;
    }

    .hero-single__title {
        font-size: 22pt;
        color: #000;
    }

    .post-content {
        font-size: 11pt;
        color: #000;
    }

    .post-content h2 { font-size: 16pt; }
    .post-content h3 { font-size: 14pt; }

    /* Pokaż URL linków */
    .post-content a::after {
        content: ' (' attr(href) ')';
        font-size: 9pt;
        color: #555;
        word-break: break-all;
    }

    /* Unikaj łamania obrazków */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Unikaj łamania nagłówków */
    h1, h2, h3 {
        page-break-after: avoid;
    }

    /* Marginesy strony */
    @page {
        margin: 2cm;
    }
}


/* ============================================================
   26. LANDING PAGE — WSPÓŁPRACA
   ============================================================ */

/* --- HERO --- */
.wsp-hero {
    padding: clamp(3.5rem, 9vw, 6.5rem) 0;
    background-color: var(--vanilla);
}

.wsp-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    font-style: italic;
    color: var(--text);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.wsp-hero__desc {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 520px;
}

.wsp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Values — zastąpiły fałszywe statystyki */
.wsp-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wsp-value {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.wsp-value:hover {
    border-color: rgba(128, 97, 84, 0.25);
    box-shadow: var(--shadow-sm);
}

.wsp-value__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--brown-muted);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--brown);
}

.wsp-value strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.wsp-value p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* --- PASEK ZAUFANIA --- */
.wsp-trust-bar {
    background-color: var(--brown-dark);
    padding: 14px 0;
}

.wsp-trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.wsp-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 24px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(250, 250, 251, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.wsp-trust-bar__item i {
    color: var(--rose);
    font-size: 0.95rem;
}

.wsp-trust-bar__sep {
    width: 1px;
    height: 20px;
    background-color: rgba(250, 250, 251, 0.15);
    flex-shrink: 0;
}

/* --- PAKIETY --- */
.wsp-packages {
    padding: var(--section-gap) 0;
    background-color: var(--cream);
}

.wsp-packages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.wsp-package-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 32px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: var(--transition);
}

.wsp-package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(128, 97, 84, 0.25);
}

.wsp-package-card--featured {
    border-color: var(--brown);
    box-shadow: var(--shadow-md);
}

.wsp-package-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brown);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.wsp-package-card__icon {
    font-size: 2rem;
    color: var(--brown);
    line-height: 1;
}

.wsp-package-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.wsp-package-card__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.wsp-package-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.wsp-package-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.wsp-package-card__features li i {
    color: var(--brown);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1rem;
}

/* --- PROCES --- */
.wsp-process {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

.wsp-process__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.wsp-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 0 20px;
}

.wsp-step__num {
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brown-light);
}

.wsp-step__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--brown-muted);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brown);
}

.wsp-step__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.wsp-step__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.wsp-process__arrow {
    display: flex;
    align-items: center;
    padding-top: 48px;
    color: var(--border);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- DLACZEGO WARTO --- */
.wsp-why {
    padding: var(--section-gap) 0;
    background-color: var(--cream);
}

.wsp-why__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 28px;
}

.wsp-why__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wsp-why__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--brown);
    box-shadow: var(--shadow-sm);
}

.wsp-why__item strong {
    display: block;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.wsp-why__item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Audience bars */
.wsp-audience {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.wsp-audience h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.wsp-audience__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 20px;
}

.wsp-audience__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wsp-audience__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

.wsp-audience__list li i {
    color: var(--brown);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.wsp-audience__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-xs);
    color: var(--text-muted);
    background-color: var(--vanilla);
    border-radius: var(--btn-radius);
    padding: 12px 14px;
    border: 1px solid var(--border);
    line-height: 1.55;
    font-style: italic;
}

.wsp-audience__note i {
    color: var(--brown);
    flex-shrink: 0;
    margin-top: 1px;
}

.wsp-bar {
    margin-bottom: 18px;
}

.wsp-bar:last-child { margin-bottom: 0; }

.wsp-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wsp-bar__label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.wsp-bar__val {
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--brown);
}

.wsp-bar__track {
    height: 8px;
    background-color: var(--cream);
    border-radius: 20px;
    overflow: hidden;
}

.wsp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brown-light), var(--brown));
    border-radius: 20px;
}

/* --- FAQ --- */
.wsp-faq {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

/* --- KONTAKT --- */
.wsp-contact {
    padding: var(--section-gap) 0;
    background-color: var(--brown-dark);
}

.wsp-contact__title {
    font-size: var(--text-4xl);
    font-weight: 800;
    font-style: italic;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.wsp-contact__desc {
    font-size: var(--text-base);
    color: rgba(250, 250, 251, 0.72);
    line-height: 1.75;
    margin-bottom: 32px;
}

.wsp-contact__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wsp-contact__link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

a.wsp-contact__link:hover {
    opacity: 0.85;
}

.wsp-contact__link-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(250, 250, 251, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--rose);
    flex-shrink: 0;
}

.wsp-contact__link span {
    display: block;
    font-size: var(--text-xs);
    color: rgba(250, 250, 251, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.wsp-contact__link strong {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
}

/* Formularz kontaktowy w sekcji kontakt */
.wsp-contact__form-wrap {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}

.wsp-contact__form-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

/* ============================================================
   CF7 — GLOBALNE STYLE (działają wszędzie na stronie)
   ============================================================ */

/* Siatka 2-kolumnowa */
.cf7-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Pole z labelem */
.cf7-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cf7-field label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

/* Kluczowe: wpcf7-form-control-wrap musi być block, żeby input był full-width */
.cf7-field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Globalne style inputów w cf7-field */
.cf7-field input[type="text"],
.cf7-field input[type="email"],
.cf7-field input[type="tel"],
.cf7-field input[type="url"],
.cf7-field input[type="number"],
.cf7-field textarea,
.cf7-field select {
    display: block;
    width: 100%;
    background-color: var(--vanilla);
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    padding: 11px 14px;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.cf7-field input:focus,
.cf7-field textarea:focus,
.cf7-field select:focus {
    outline: none;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(128, 97, 84, 0.1);
    background-color: var(--white);
}

.cf7-field input::placeholder,
.cf7-field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
    font-style: italic;
}

.cf7-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* Select — strzałka */
.cf7-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23806154' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* Checkbox */
.cf7-field--checkbox {
    grid-column: 1 / -1;
}

.cf7-field--checkbox .wpcf7-list-item {
    margin: 0;
    display: block;
}

.cf7-field--checkbox .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.55;
}

.cf7-field--checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 1px;
    accent-color: var(--brown);
    cursor: pointer;
}

.cf7-field--checkbox a {
    color: var(--brown);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit button generowany przez CF7 */
.wpcf7-submit {
    background-color: var(--brown) !important;
    color: var(--white) !important;
    font-family: inherit !important;
    font-size: var(--text-sm) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    padding: 13px 28px !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
}

.wpcf7-submit:hover {
    background-color: var(--brown-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Spinner ładowania */
.wpcf7-spinner {
    display: none !important;
}

/* Błąd walidacji */
.wpcf7-not-valid-tip {
    font-size: var(--text-xs);
    color: #c0392b;
    margin-top: 4px;
    display: block;
}

.wpcf7-not-valid {
    border-color: #c0392b !important;
    background-color: #fdf0ef !important;
}

/* Komunikat po wysłaniu */
.wpcf7-response-output {
    font-size: var(--text-sm);
    padding: 12px 16px;
    border-radius: var(--btn-radius);
    margin-top: 16px;
    border: none !important;
    line-height: 1.5;
}

.wpcf7-mail-sent-ok {
    background-color: #eafaf1;
    color: #1e8449;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background-color: #fdf0ef;
    color: #c0392b;
}

/* Responsywność — mobile */
@media (max-width: 575.98px) {
    .cf7-grid {
        grid-template-columns: 1fr;
    }
}

/* CF7 override w sekcji kontakt */
.wsp-contact__form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wsp-contact__form-wrap input[type="text"],
.wsp-contact__form-wrap input[type="email"],
.wsp-contact__form-wrap textarea,
.wsp-contact__form-wrap select {
    width: 100%;
    background-color: var(--vanilla);
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    padding: 11px 14px;
    font-family: inherit;
    font-size: var(--text-sm);
    color: var(--text);
    transition: var(--transition);
}

.wsp-contact__form-wrap input:focus,
.wsp-contact__form-wrap textarea:focus {
    outline: none;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(128, 97, 84, 0.1);
    background-color: var(--white);
}

.wsp-contact__form-wrap textarea {
    min-height: 120px;
    resize: vertical;
}

.wsp-contact__form-wrap input[type="submit"] {
    background-color: var(--brown);
    color: var(--white);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 13px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.wsp-contact__form-wrap input[type="submit"]:hover {
    background-color: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Responsywność Współpraca --- */
@media (max-width: 991.98px) {
    .wsp-packages__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .wsp-stats-grid     { grid-template-columns: 1fr 1fr; }
    .wsp-process__steps { flex-direction: column; align-items: center; gap: 20px; }
    .wsp-process__arrow { transform: rotate(90deg); padding-top: 0; }
    .wsp-trust-bar__sep { display: none; }
}

@media (max-width: 575.98px) {
    .wsp-hero__cta      { flex-direction: column; }
    .wsp-hero__cta a    { justify-content: center; }
    .wsp-stats-grid     { grid-template-columns: 1fr 1fr; gap: 10px; }
    .wsp-stat__number   { font-size: var(--text-3xl); }
    .wsp-contact__form-wrap { padding: 24px 20px; }
}


/* ============================================================
   27. LANDING PAGE — WYPRAWKA DLA NOWORODKA
   ============================================================ */

/* Wspólne utility */
.lp-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brown);
    margin-bottom: 14px;
}

.lp-section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    font-style: italic;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.lp-section-title--left { text-align: left; }

.lp-section-desc {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- HERO LANDING --- */

.lp-hero {
    padding: clamp(3.5rem, 9vw, 6rem) 0;
    background-color: var(--vanilla);
}

.lp-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    font-style: italic;
    color: var(--text);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.lp-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 480px;
}

.lp-hero__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-hero__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text);
}

.lp-hero__features li i {
    color: var(--brown);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.lp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.lp-cta-btn {
    font-size: var(--text-base) !important;
    padding: 16px 36px !important;
}

.lp-hero__mockup {
    position: relative;
    display: inline-block;
}

.lp-hero__mockup img {
    filter: drop-shadow(0 20px 50px rgba(128, 97, 84, 0.28));
    transition: var(--transition-slow);
    max-height: 520px;
    width: auto;
}

.lp-hero__mockup img:hover {
    filter: drop-shadow(0 28px 64px rgba(128, 97, 84, 0.38));
    transform: translateY(-6px);
}

/* --- PASEK ZAUFANIA --- */

.lp-trust-bar {
    background-color: var(--brown);
    padding: 16px 0;
}

.lp-trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.lp-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 24px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(250, 250, 251, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lp-trust-bar__item i {
    font-size: 1rem;
    color: var(--rose);
}

.lp-trust-bar__sep {
    width: 1px;
    height: 20px;
    background-color: rgba(250, 250, 251, 0.2);
    flex-shrink: 0;
}

/* --- PROBLEM --- */

.lp-problem {
    padding: var(--section-gap) 0;
    background-color: var(--cream);
}

.lp-problem__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.lp-problem__item {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 24px 20px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.lp-problem__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.lp-problem__item i {
    font-size: 1.4rem;
    color: var(--brown-light);
}

.lp-problem__item p {
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.lp-problem__item--highlight {
    background-color: var(--brown);
    border-color: var(--brown);
}

.lp-problem__item--highlight i {
    color: var(--rose);
}

.lp-problem__item--highlight p {
    color: rgba(250, 250, 251, 0.9);
    font-style: normal;
    font-weight: 600;
}

/* --- TRANSFORMACJA --- */

.lp-solution {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

.lp-solution__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-solution__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--text-base);
    color: var(--text);
    line-height: 1.6;
}

.lp-solution__list li i {
    color: var(--brown);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.lp-solution__quote {
    background-color: var(--cream);
    border-radius: var(--card-radius);
    padding: 36px 32px;
    border-left: 4px solid var(--brown);
    position: relative;
}

.lp-solution__quote-icon {
    font-size: 2.5rem;
    color: var(--brown-light);
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.lp-solution__quote p {
    font-size: var(--text-base);
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.lp-solution__quote-author {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brown);
}

/* --- ROZDZIAŁY --- */

.lp-chapters {
    padding: var(--section-gap) 0;
    background-color: var(--cream);
}

.lp-chapters__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-chapter-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 24px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.lp-chapter-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(128, 97, 84, 0.25);
}

.lp-chapter-card__num {
    font-size: var(--text-xs);
    font-weight: 800;
    color: var(--brown-light);
    letter-spacing: 0.1em;
    line-height: 1;
}

.lp-chapter-card__icon {
    font-size: 1.6rem;
    color: var(--brown);
    line-height: 1;
}

.lp-chapter-card__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.lp-chapter-card__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* --- PODGLĄD --- */

.lp-preview {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

.lp-preview__img-wrap {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.lp-preview__img-wrap:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.lp-preview__img-wrap img {
    width: 100%;
    display: block;
}

/* --- DLA KOGO --- */

.lp-forwhom {
    padding: var(--section-gap) 0;
    background-color: var(--cream);
}

.lp-forwhom__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-forwhom__card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 28px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lp-forwhom__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.lp-forwhom__icon {
    width: 56px;
    height: 56px;
    background-color: var(--brown-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--brown);
    flex-shrink: 0;
}

.lp-forwhom__card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* --- GŁÓWNY CTA --- */

.lp-cta-section {
    padding: var(--section-gap) 0;
    background-color: var(--brown-dark);
}

.lp-cta-section__title {
    font-size: var(--text-4xl);
    font-weight: 800;
    font-style: italic;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.lp-cta-section__desc {
    font-size: var(--text-lg);
    color: rgba(250, 250, 251, 0.75);
    margin-bottom: 32px;
}

.lp-cta-section .btn-primary-mp {
    background-color: var(--white);
    color: var(--brown-dark);
    border-color: var(--white);
    font-size: var(--text-base) !important;
    padding: 16px 40px !important;
}

.lp-cta-section .btn-primary-mp:hover {
    background-color: var(--vanilla);
    border-color: var(--vanilla);
    color: var(--brown-dark);
}

.lp-cta-section__note {
    font-size: var(--text-xs);
    color: rgba(250, 250, 251, 0.5);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lp-cta-section__note i {
    color: rgba(250, 250, 251, 0.4);
}

/* --- FAQ --- */

.lp-faq {
    padding: var(--section-gap) 0;
    background-color: var(--vanilla);
}

.lp-accordion .accordion-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--btn-radius) !important;
    margin-bottom: 8px;
    overflow: hidden;
}

.lp-accordion .accordion-button {
    background-color: var(--white);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text);
    border-radius: var(--btn-radius) !important;
    padding: 18px 20px;
}

.lp-accordion .accordion-button:not(.collapsed) {
    background-color: var(--brown-muted);
    color: var(--brown-dark);
    box-shadow: none;
}

.lp-accordion .accordion-body {
    background-color: var(--white);
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.75;
    padding: 0 20px 20px;
}

/* --- Responsywność LP --- */

@media (max-width: 1199.98px) {
    .lp-chapters__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
    .lp-problem__grid   { grid-template-columns: repeat(2, 1fr); }
    .lp-chapters__grid  { grid-template-columns: repeat(2, 1fr); }
    .lp-forwhom__grid   { grid-template-columns: repeat(2, 1fr); }
    .lp-trust-bar__sep  { display: none; }
    .lp-trust-bar__item { padding: 6px 16px; }
}

@media (max-width: 575.98px) {
    .lp-problem__grid   { grid-template-columns: 1fr; }
    .lp-chapters__grid  { grid-template-columns: 1fr; }
    .lp-forwhom__grid   { grid-template-columns: repeat(2, 1fr); }
    .lp-hero__cta       { flex-direction: column; }
    .lp-hero__cta .btn-primary-mp,
    .lp-hero__cta .btn-outline-mp { width: 100%; justify-content: center; }
}


/* ============================================================
   25. FINALNA RESPONSYWNOŚĆ
   ============================================================ */

/* Tablet landscape (992–1199px) */
@media (max-width: 1199.98px) {
    .articles-grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet portrait (768–991px) */
@media (max-width: 991.98px) {
    :root {
        --section-gap: clamp(3rem, 8vw, 5rem);
    }

    .site-header {
        height: auto;
        padding: 14px 0;
        position: sticky;
    }

    /* Nadpisanie Bootstrap position:relative na .navbar
       Dzięki temu navbar-collapse pozycjonuje się
       względem .site-header (sticky), a nie .navbar (container) */
    nav.navbar {
        position: static !important;
    }

    /* Ukryj separator przy mobile */
    .navbar__logo::after {
        display: none;
    }

    /* Hamburger — większy i bardziej klikalny */
    .navbar-toggler {
        font-size: 2rem;
        padding: 4px 8px;
        line-height: 1;
        margin-left: 8px;
    }

    /* Lupa — większa na mobile */
    .navbar__search-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    /* Logo mobile — trochę większe */
    .mobile-logo {
        height: 52px;
    }

    /* Menu jako overlay — pełna szerokość, pod headerem, nie przesuwa treści */
    .navbar-collapse {
        position: absolute;
        top: 100%;       /* 100% wysokości .site-header — tuż pod nim */
        left: 0;
        right: 0;
        z-index: 999;    /* poniżej site-header (1000) — header zawsze na wierzchu */
        background-color: var(--vanilla);  /* jednolite, nieprzezroczyste */
        padding: 8px 20px 24px;
        border-bottom: 2px solid rgba(128, 97, 84, 0.12);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        font-size: var(--text-sm);
    }

    .navbar-nav .nav-link {
        padding: 10px 14px;
        width: 100%;
        border-radius: var(--btn-radius);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link.active {
        background-color: var(--brown-muted);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid--4,
    .articles-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero — na tablecie gradient sięga trochę dalej */
    .hero::before {
        background: linear-gradient(
            to right,
            rgba(252, 249, 238, 0.98) 0%,
            rgba(252, 249, 238, 0.95) 40%,
            rgba(252, 249, 238, 0.70) 65%,
            rgba(252, 249, 238, 0.20) 85%,
            rgba(252, 249, 238, 0.00) 100%
        );
    }

    .hero__text {
        max-width: 100%;
    }

    .hero__description {
        max-width: 100%;
    }

    .section-header {
        flex-direction: column;
        gap: 6px;
    }

    .newsletter__image-wrap {
        min-height: 280px;
        margin-top: 2rem;
    }

    .wspolpraca-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .audience-bar {
        grid-template-columns: 100px 1fr 36px;
    }

    .footer__bottom .d-flex {
        flex-direction: column;
        gap: 6px;
    }
}

/* Large mobile (576–767px) */
@media (max-width: 767.98px) {
    .hero {
        padding: clamp(2.5rem, 6vw, 4rem) 0;
    }

    .hero__image-wrap {
        min-height: 300px;
    }

    .hero-category {
        min-height: 240px;
    }

    .wspolpraca-hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card__number {
        font-size: var(--text-3xl);
    }

    .wspolpraca-audience {
        padding: 24px 20px;
    }

    .audience-bar {
        grid-template-columns: 90px 1fr 32px;
        gap: 8px;
    }

    .footer .row.g-5 {
        --bs-gutter-y: 2rem;
    }

    .gallery-columns-3,
    .gallery-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (< 576px) */
@media (max-width: 575.98px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid--4,
    .articles-grid--3 {
        grid-template-columns: 1fr;
    }

    /* Hero mobile — wyłącz background-image, zdjęcie pokazane jako <img> poniżej */
    .hero {
        background-image: none !important;
    }

    .hero::before {
        display: none;
    }

    /* Zdjęcie mobile pod treścią hero */
    .hero__mobile-img {
        width: 100%;
        overflow: hidden;
    }

    .hero__mobile-img img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        object-position: center top;
        display: block;
    }

    .hero__trust {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .hero__trust-sep {
        display: none;
    }

    .hero__trust-item {
        padding: 0 0;
    }

    .hero__cta-group {
        flex-direction: column;
    }

    .btn-primary-mp,
    .btn-outline-mp {
        justify-content: center;
        width: 100%;
    }

    .hero__trust {
        gap: 10px;
    }

    .hero__trust-item {
        font-size: var(--text-xs);
    }

    .section-header {
        flex-direction: column;
        gap: 6px;
    }

    .comment-form-author,
    .comment-form-email {
        flex: none;
        width: 100%;
        min-width: 100%;
    }

    .ebook__cta-group {
        flex-direction: column;
    }

    .ebook__cta-group .btn-primary-mp,
    .ebook__cta-group .btn-outline-mp {
        justify-content: center;
    }

    .newsletter__content {
        padding: 28px 20px;
    }

    .wspolpraca-hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .packages-grid {
        max-width: 100%;
    }

    .why-item__icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .gallery-columns-2,
    .gallery-columns-3,
    .gallery-columns-4 {
        grid-template-columns: 1fr;
    }

    .post-content .alignleft,
    .post-content .alignright {
        float: none;
        max-width: 100%;
        margin: 1rem auto;
    }

    .breadcrumbs__item--current {
        max-width: 160px;
    }

    .hero-single__title {
        font-size: var(--text-3xl);
    }

    .page-404__code {
        font-size: clamp(5rem, 18vw, 8rem);
    }
}

