/* test-wedkarski.pl — wypasiony layout: jasny + niebieskie akcenty */

:root {
    --c-primary: #0682b4;
    --c-primary-dark: #056a93;
    --c-primary-darker: #034e6b;
    --c-accent: #31b7e9;
    --c-accent-light: #6fd1f5;
    --c-bg: #f3f7fb;
    --c-bg-alt: #ffffff;
    --c-card: #ffffff;
    --c-text: #1d2a3b;
    --c-text-soft: #43526a;
    --c-muted: #6b7785;
    --c-border: #e3e8ef;
    --c-border-soft: #eef2f7;
    --c-tag: #eaf4fa;
    --c-tag-text: #056a93;
    --c-warn: #f29900;
    --c-success: #0fb27b;
    --shadow-sm: 0 1px 2px rgba(8,55,79,.04), 0 1px 3px rgba(8,55,79,.06);
    --shadow-md: 0 4px 10px -2px rgba(8,55,79,.08), 0 2px 6px -1px rgba(8,55,79,.05);
    --shadow-lg: 0 18px 40px -12px rgba(8,55,79,.18), 0 8px 16px -6px rgba(8,55,79,.10);
    --shadow-hero: 0 20px 50px -16px rgba(3,78,107,.55);
    --radius: 8px;
    --radius-lg: 14px;
    --max-w: 1240px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); text-decoration: underline; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .75rem 1.4rem; border-radius: var(--radius); font-weight: 600;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    font-size: .96rem; line-height: 1; transition: all .18s ease;
    font-family: var(--font);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
    background: var(--c-primary); color: #fff; border-color: var(--c-primary);
    box-shadow: 0 6px 14px -4px rgba(6,130,180,.45);
}
.btn-primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.btn-outline {
    background: transparent; color: var(--c-primary); border-color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-ghost {
    background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: var(--c-primary-dark); }
.btn-ghost-dark {
    background: transparent; color: var(--c-primary); border-color: var(--c-border);
}
.btn-ghost-dark:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ============ HEADER ============ */
.site-header {
    background: var(--c-card);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; padding: .85rem 1.5rem;
}
.logo {
    display: inline-flex; align-items: center; gap: .55rem;
    font-weight: 700; font-size: 1.25rem; color: var(--c-primary); text-decoration: none;
    letter-spacing: -.01em;
}
.logo:hover { text-decoration: none; color: var(--c-primary-dark); }
.logo-icon { font-size: 1.65rem; line-height: 1; }
.main-nav { display: flex; gap: .15rem; flex-wrap: wrap; align-items: center; }
.main-nav a {
    padding: .55rem .9rem; border-radius: var(--radius);
    color: var(--c-text); font-weight: 500; font-size: .94rem;
    transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--c-bg); text-decoration: none; color: var(--c-primary); }
.main-nav a.active { background: var(--c-primary); color: #fff; }

/* ============ MAIN ============ */
.site-main { min-height: 60vh; padding: 0 0 3.5rem; }

/* ============ SECTION HEAD ============ */
.section-head {
    text-align: center; max-width: 760px; margin: 0 auto 2.5rem;
}
.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .65rem;
    color: var(--c-text); letter-spacing: -.015em; line-height: 1.2;
}
.section-head p { color: var(--c-muted); font-size: 1.05rem; margin: 0; }
.section-head--small {
    text-align: left; margin-bottom: 1.25rem;
}
.section-head--small h2 {
    font-size: 1.5rem; margin: 0;
    padding-bottom: .5rem; border-bottom: 2px solid var(--c-primary);
    display: inline-block;
}
.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--c-primary); margin-bottom: .65rem;
}

/* ============ HERO ============ */
.hero-block {
    position: relative; min-height: 620px;
    display: flex; align-items: center;
    color: #fff; overflow: hidden;
    margin-bottom: 4rem;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-color: #1a3144;
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(3,78,107,.78) 0%, rgba(6,130,180,.58) 55%, rgba(13,30,45,.55) 100%);
}
.hero-content {
    position: relative; padding: 5rem 1.5rem 4rem;
    max-width: 920px; text-align: center; z-index: 2;
}
.hero-eyebrow {
    display: inline-block; padding: .35rem 1rem; border-radius: 999px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.25);
    font-size: .82rem; font-weight: 600; letter-spacing: .04em;
    margin-bottom: 1.25rem;
}
.hero-content h1 {
    font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.1;
    margin: 0 0 1.25rem; font-weight: 800; letter-spacing: -.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 700px; margin: 0 auto 2rem;
    color: #f0f8fd; line-height: 1.7;
}
.hero-cta { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
    color: rgba(255,255,255,.92); font-size: .96rem;
}
.hero-trust li { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.hero-trust strong {
    display: block; font-size: 1.7rem; font-weight: 800; color: #fff;
    line-height: 1;
}

/* ============ BENEFITS ============ */
.benefits { padding: 1rem 1.5rem 4rem; }
.benefit-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.benefit-card {
    background: var(--c-card); border: 1px solid var(--c-border);
    padding: 1.75rem 1.5rem; border-radius: var(--radius-lg);
    transition: transform .2s, box-shadow .2s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-accent); }
.benefit-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--c-accent-light), var(--c-primary));
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1rem;
    box-shadow: 0 6px 14px -4px rgba(6,130,180,.35);
}
.benefit-card h3 { margin: 0 0 .55rem; font-size: 1.12rem; color: var(--c-text); }
.benefit-card p { margin: 0; color: var(--c-text-soft); font-size: .95rem; line-height: 1.6; }

/* ============ FEATURED POSTS ============ */
.featured-posts {
    background: var(--c-bg-alt);
    padding: 4rem 0 4rem;
    border-top: 1px solid var(--c-border-soft);
    border-bottom: 1px solid var(--c-border-soft);
}
.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
}
.feat-card {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-card--big {
    grid-row: span 2; grid-column: 1;
}
.feat-card--big .feat-thumb { aspect-ratio: 16/10; }
.feat-card--big .feat-body { padding: 1.5rem; }
.feat-card--big h3 { font-size: 1.45rem; line-height: 1.25; }
.feat-thumb {
    display: block; width: 100%; aspect-ratio: 4/3;
    background-size: cover; background-position: center;
    background-color: #d8e6ef;
    transition: transform .35s ease;
}
.feat-card:hover .feat-thumb { transform: scale(1.04); }
.feat-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.feat-cat {
    font-size: .76rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: var(--c-primary); text-decoration: none;
}
.feat-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.feat-card h3 a { color: var(--c-text); }
.feat-card h3 a:hover { color: var(--c-primary); text-decoration: none; }
.feat-body p { margin: 0; color: var(--c-text-soft); font-size: .92rem; line-height: 1.55; }
.feat-meta {
    margin-top: auto; padding-top: .5rem;
    font-size: .82rem; color: var(--c-muted);
    display: flex; gap: .35rem; align-items: center;
}
.feat-meta .dot { opacity: .5; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ============ KATEGORIE TILE ============ */
.cats-block { padding: 4rem 1.5rem; }
.cats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}
.cat-tile {
    position: relative; aspect-ratio: 4/3;
    background-size: cover; background-position: center;
    background-color: #d8e6ef;
    border-radius: var(--radius-lg); overflow: hidden;
    display: block; transition: transform .2s, box-shadow .2s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cat-tile-shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(3,78,107,.85) 100%);
}
.cat-tile-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1rem 1.1rem; color: #fff;
    display: flex; align-items: center; gap: .55rem;
}
.cat-tile-icon { font-size: 1.6rem; }
.cat-tile-content h3 {
    margin: 0; font-size: 1.08rem; font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ============ TRUST BLOCK ============ */
.trust-block {
    background: linear-gradient(135deg, #eef6fb 0%, #fdfefe 60%);
    padding: 4.5rem 0;
    border-top: 1px solid var(--c-border-soft);
    border-bottom: 1px solid var(--c-border-soft);
}
.trust-grid {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 3rem; align-items: center;
}
.trust-img {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-1deg);
    transition: transform .3s;
}
.trust-img:hover { transform: rotate(0deg) scale(1.02); }
.trust-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.trust-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: .25rem 0 1rem; line-height: 1.2; letter-spacing: -.015em; }
.trust-text p { color: var(--c-text-soft); font-size: 1.02rem; line-height: 1.7; margin: 0 0 1rem; }
.trust-text p strong { color: var(--c-text); }
.trust-points { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; }
.trust-points li {
    display: flex; align-items: flex-start; gap: .65rem;
    padding: .35rem 0; color: var(--c-text-soft); font-size: .96rem;
}
.trust-points .check {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--c-success); color: #fff; font-weight: 700; font-size: .8rem;
}

/* ============ GUIDES ============ */
.guides-block { padding: 4rem 1.5rem; }
.guides-grid {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem;
}
.guide-feature {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
}
.guide-thumb {
    display: block; width: 100%; aspect-ratio: 16/9;
    background-size: cover; background-position: center;
    background-color: #d8e6ef;
}
.guide-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.guide-tag {
    align-self: flex-start;
    padding: .3rem .8rem; background: var(--c-tag); color: var(--c-tag-text);
    border-radius: 999px; font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
}
.guide-body h3 { font-size: 1.45rem; margin: 0; line-height: 1.25; }
.guide-body h3 a { color: var(--c-text); }
.guide-body h3 a:hover { color: var(--c-primary); text-decoration: none; }
.guide-body p { margin: 0; color: var(--c-text-soft); font-size: 1rem; }

.guide-list {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); padding: 1.75rem;
}
.guide-list h4 { margin: 0 0 1rem; font-size: 1.08rem; color: var(--c-text); }
.guide-list ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.guide-list li {
    padding: .7rem 0; border-bottom: 1px solid var(--c-border-soft);
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    font-size: .94rem;
}
.guide-list li:last-child { border-bottom: 0; }
.guide-list li a { color: var(--c-text); }
.guide-list li a:hover { color: var(--c-primary); text-decoration: none; }
.guide-list li span { font-size: .78rem; color: var(--c-muted); flex-shrink: 0; }

/* ============ NEWSLETTER ============ */
.newsletter-block {
    position: relative; padding: 5rem 0;
    color: #fff; overflow: hidden;
}
.newsletter-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-color: #1a3144;
}
.newsletter-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(3,78,107,.92) 0%, rgba(6,130,180,.78) 100%);
}
.newsletter-content {
    position: relative; z-index: 2; text-align: center; max-width: 700px;
}
.newsletter-content .eyebrow { color: var(--c-accent-light); }
.newsletter-content h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: .35rem 0 .85rem; line-height: 1.2; letter-spacing: -.015em; }
.newsletter-content p { color: #e5f3fa; font-size: 1.05rem; margin: 0 0 2rem; }
.newsletter-form {
    display: flex; gap: .5rem; max-width: 460px; margin: 0 auto 1rem;
    flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
    flex: 1 1 240px; min-width: 0;
    padding: .85rem 1.1rem;
    border-radius: var(--radius); border: 0;
    font-size: .98rem; font-family: var(--font);
    background: rgba(255,255,255,.96); color: var(--c-text);
}
.newsletter-form input[type="email"]:focus { outline: 2px solid var(--c-accent); }
.newsletter-content small { color: rgba(255,255,255,.7); font-size: .82rem; }

/* ============ MORE BLOCK ============ */
.more-block { padding: 4rem 1.5rem 1rem; }
.more-grid {
    display: grid; grid-template-columns: 2fr 1fr; gap: 2rem;
}
.post-list {
    display: grid; gap: 1.25rem;
}
.post-card {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow .15s, transform .15s;
    display: grid; grid-template-columns: 180px 1fr;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card-thumb {
    background-size: cover; background-position: center;
    background-color: #d8e6ef;
    min-height: 150px;
}
.post-card-body { padding: 1.1rem 1.25rem; }
.post-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; line-height: 1.3; }
.post-card h3 a { color: var(--c-text); }
.post-card h3 a:hover { color: var(--c-primary); text-decoration: none; }
.post-card p { margin: .5rem 0 0; color: var(--c-text-soft); font-size: .9rem; line-height: 1.55; }
.post-meta { font-size: .8rem; color: var(--c-muted); }
.post-meta time, .post-meta .cat-link { color: var(--c-muted); }
.post-meta .cat-link:hover { color: var(--c-primary); }

/* Side */
.side-box {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
    margin-bottom: 1.25rem;
}
.side-box h4 { margin: 0 0 .65rem; font-size: 1.05rem; color: var(--c-text); }
.side-box p { margin: 0 0 .85rem; color: var(--c-text-soft); font-size: .92rem; }
.side-box--cta {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
    color: #fff; border-color: transparent;
}
.side-box--cta h4 { color: #fff; }
.side-box--cta p { color: rgba(255,255,255,.9); }
.side-box--cta .btn-outline { color: #fff; border-color: #fff; }
.side-box--cta .btn-outline:hover { background: #fff; color: var(--c-primary-dark); }
.link-arrow {
    font-weight: 600; color: var(--c-primary);
    display: inline-flex; align-items: center; gap: .25rem;
}
.link-arrow:hover { text-decoration: none; gap: .45rem; }

/* ============ TAGI ============ */
.tags {
    display: flex; flex-wrap: wrap; gap: .35rem;
    margin-top: .75rem; align-items: center;
}
.tags strong { font-size: .85rem; color: var(--c-text); margin-right: .35rem; }
.tag {
    display: inline-block; padding: .22rem .6rem;
    background: var(--c-tag); color: var(--c-tag-text);
    border-radius: 4px; font-size: .78rem;
    text-decoration: none; transition: all .15s;
}
.tag:hover { background: var(--c-primary); color: #fff; text-decoration: none; }
.tag-cloud {
    display: flex; flex-wrap: wrap; gap: .35rem;
}
.tag-1 { opacity: .75; }
.tag-2 { font-size: .82rem; }
.tag-3 { font-size: .88rem; font-weight: 500; }
.tag-4 { font-size: .92rem; font-weight: 500; }
.tag-5 { font-size: .98rem; font-weight: 600; }

/* ============ SINGLE POST ============ */
.post-single {
    background: var(--c-card); border-radius: var(--radius-lg);
    padding: 2rem; box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    max-width: 820px; margin: 2.5rem auto 0;
}
.breadcrumb { font-size: .85rem; color: var(--c-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.post-header h1 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 0 0 .5rem; line-height: 1.2; letter-spacing: -.015em; }
.post-header .lead {
    font-size: 1.08rem; color: var(--c-text-soft); margin: 1rem 0 0;
    padding-left: 1rem; border-left: 3px solid var(--c-accent);
    font-style: italic;
}
.post-hero-img {
    margin: 1.75rem 0 0; padding: 0;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
}
.post-hero-img img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.post-content { font-size: 1.02rem; line-height: 1.78; margin-top: 1.75rem; }

/* Tabele w treści wpisu (Markdown GFM) */
.post-content .table-wrap {
    margin: 1.5rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: var(--c-card);
}
.post-content .md-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
    line-height: 1.55;
}
.post-content .md-table thead {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
    color: #fff;
}
.post-content .md-table th {
    padding: .8rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .01em;
    border-bottom: 1px solid var(--c-primary-dark);
}
.post-content .md-table td {
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--c-border-soft);
    vertical-align: top;
    color: var(--c-text-soft);
}
.post-content .md-table tbody tr:last-child td { border-bottom: 0; }
.post-content .md-table tbody tr:nth-child(even) { background: var(--c-bg); }
.post-content .md-table tbody tr:hover { background: var(--c-tag); }
.post-content .md-table td strong { color: var(--c-text); }
@media (max-width: 720px) {
    .post-content .md-table { font-size: .85rem; }
    .post-content .md-table th, .post-content .md-table td { padding: .55rem .7rem; }
}
.post-content h2 { font-size: 1.45rem; margin: 2rem 0 .75rem; color: var(--c-primary); }
.post-content h3 { font-size: 1.18rem; margin: 1.5rem 0 .5rem; }
.post-content p { margin: 0 0 1rem; }
.post-content ul, .post-content ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: .35rem; }
.post-content strong { color: var(--c-text); }
.post-footer { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--c-border); }
.related {
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid var(--c-border);
}
.related-head { margin-bottom: 1.5rem; }
.related-head h2 {
    font-size: 1.5rem; margin: 0 0 .35rem;
    padding-bottom: .5rem; border-bottom: 2px solid var(--c-primary);
    display: inline-block;
}
.related-head p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.related .archive-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.related .archive-card-thumb { aspect-ratio: 16/10; }
.related .archive-card-body { padding: 1rem 1.15rem 1.15rem; gap: .45rem; }
.related .archive-card h3 { font-size: 1rem; }
.related .archive-card-body p { font-size: .88rem; }

/* ============ ARCHIVE / CATEGORY / TAG ============ */
.archive { padding: 2.5rem 0 1rem; }
.archive-header {
    margin: 0 auto 2rem; text-align: center; max-width: 760px;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #eef6fb 0%, #fdfefe 80%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border-soft);
}
.archive-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--c-accent-light), var(--c-primary));
    color: #fff; font-size: 1.6rem; font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 18px -6px rgba(6,130,180,.45);
}
.archive-header h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 0 0 .5rem;
    letter-spacing: -.015em; line-height: 1.2;
}
.archive-header .lead {
    color: var(--c-text-soft); margin: 0 auto; font-size: 1.05rem;
    max-width: 620px;
}
.archive-count {
    display: inline-block; margin: 1rem 0 0;
    padding: .25rem .85rem; background: rgba(6,130,180,.1);
    color: var(--c-primary-dark); font-weight: 600; font-size: .85rem;
    border-radius: 999px;
}

.subcats {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin: 0 0 2.5rem; justify-content: center;
}
.subcat-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1.1rem; background: var(--c-card);
    border: 1px solid var(--c-border); border-radius: 999px;
    font-size: .9rem; color: var(--c-text); font-weight: 500;
    transition: all .15s;
}
.subcat-chip:hover {
    background: var(--c-primary); color: #fff; border-color: var(--c-primary);
    text-decoration: none; transform: translateY(-1px);
    box-shadow: 0 6px 14px -4px rgba(6,130,180,.35);
}
.subcat-chip-icon { font-size: 1rem; line-height: 1; }

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.archive-card {
    background: var(--c-card); border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.archive-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
    border-color: var(--c-accent);
}
.archive-card-thumb {
    display: block; width: 100%; aspect-ratio: 16/10;
    background-size: cover; background-position: center;
    background-color: #d8e6ef;
    transition: transform .4s ease;
    overflow: hidden;
}
.archive-card:hover .archive-card-thumb { transform: scale(1.05); }
.archive-card-body {
    padding: 1.25rem 1.4rem 1.4rem;
    display: flex; flex-direction: column; gap: .55rem; flex: 1;
}
.archive-card-cat {
    align-self: flex-start;
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--c-primary);
    padding: .2rem .55rem; background: var(--c-tag); border-radius: 4px;
    transition: all .15s;
}
.archive-card-cat:hover { background: var(--c-primary); color: #fff; text-decoration: none; }
.archive-card h3 {
    margin: 0; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.005em;
}
.archive-card h3 a { color: var(--c-text); }
.archive-card h3 a:hover { color: var(--c-primary); text-decoration: none; }
.archive-card-body p {
    margin: 0; color: var(--c-text-soft); font-size: .92rem; line-height: 1.55;
}
.archive-card-meta {
    margin-top: auto; padding-top: .85rem;
    border-top: 1px solid var(--c-border-soft);
    font-size: .82rem; color: var(--c-muted);
    display: flex; gap: .35rem; align-items: center; flex-wrap: wrap;
}
.archive-card-meta .dot { opacity: .5; }
.archive-card-meta .read-more {
    margin-left: auto; color: var(--c-primary); font-weight: 600;
    transition: gap .15s;
}
.archive-card:hover .archive-card-meta .read-more { color: var(--c-primary-dark); }

.empty {
    background: var(--c-card); padding: 3rem 2rem; text-align: center;
    border: 1px dashed var(--c-border); border-radius: var(--radius-lg);
    color: var(--c-muted);
}

/* ============ STATIC PAGES ============ */
.static-page {
    background: var(--c-card); border-radius: var(--radius-lg);
    padding: 2rem; max-width: 760px; margin: 2.5rem auto 0;
    border: 1px solid var(--c-border);
}
.static-page .post-content h2 {
    font-size: 1.25rem; margin: 1.5rem 0 .5rem; color: var(--c-primary);
}
.static-page .lead { font-size: 1.05rem; color: var(--c-text-soft); margin: 0 0 1.25rem; }

/* ============ 404 ============ */
.error-page { text-align: center; padding: 4rem 1rem; }
.error-page h1 { font-size: 5rem; margin: 0; color: var(--c-primary); line-height: 1; }

/* ============ FOOTER ============ */
.site-footer {
    background: #11202f; color: #b8c1cf;
    margin-top: 4rem; padding: 3rem 0 1.5rem;
    font-size: .94rem;
}
.footer-inner {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem; padding-bottom: 2rem;
}
.footer-col h4 { color: #fff; margin: 0 0 .85rem; font-size: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .35rem; }
.footer-col a { color: #b8c1cf; transition: color .15s; }
.footer-col a:hover { color: var(--c-accent); text-decoration: none; }
.footer-col p { margin: 0; color: #8d97a6; }
.footer-bottom {
    border-top: 1px solid #233344; padding-top: 1.25rem;
    text-align: center; color: #6b7785; font-size: .85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: 1fr 1fr; }
    .feat-card--big { grid-row: span 1; grid-column: span 2; }
    .feat-card--big .feat-thumb { aspect-ratio: 16/8; }
    .trust-grid, .guides-grid, .more-grid { grid-template-columns: 1fr; gap: 2rem; }
    .trust-img { transform: none; max-width: 600px; margin: 0 auto; }
}

@media (max-width: 720px) {
    .header-inner { flex-direction: column; padding: .85rem .75rem; gap: .5rem; }
    .main-nav { justify-content: center; }
    .main-nav a { padding: .4rem .7rem; font-size: .88rem; }
    .hero-block { min-height: auto; margin-bottom: 2.5rem; }
    .hero-content { padding: 3.5rem 1.25rem 3rem; }
    .hero-trust { gap: 1.5rem; }
    .hero-trust strong { font-size: 1.4rem; }
    .featured-grid { grid-template-columns: 1fr; }
    .feat-card--big { grid-column: span 1; }
    .post-card { grid-template-columns: 1fr; }
    .post-card-thumb { aspect-ratio: 16/9; min-height: 0; }
    .post-single, .static-page { padding: 1.25rem; margin-top: 1.5rem; }
    .featured-posts, .cats-block, .trust-block, .guides-block, .newsletter-block, .more-block { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .benefits { padding-bottom: 2.5rem; }
    .post-content h2 { font-size: 1.25rem; }
    .newsletter-form { flex-direction: column; }
}
