/* ============================================
   Kinga Kliś — strona wizytówkowa
   Paleta zaczerpnięta z CV:
     --primary       #122323  (głęboka zieleń-czerń)
     --primary-light #1e3737
     --accent        #c9a961  (złoty akcent)
   ============================================ */

:root {
    --primary: #122323;
    --primary-light: #1e3737;
    --primary-soft: #25403f;
    --accent: #c9a961;
    --accent-soft: #d9be84;
    --bg: #ffffff;
    --bg-soft: #f5f3ee;
    --bg-dark: #122323;
    --text: #1a1a1a;
    --text-muted: #5a6470;
    --text-on-dark: #e8e3d3;
    --border: #d8dde3;
    --border-soft: #ebe7dc;
    --shadow-sm: 0 1px 3px rgba(18, 35, 35, 0.06), 0 4px 12px rgba(18, 35, 35, 0.04);
    --shadow-md: 0 8px 24px rgba(18, 35, 35, 0.10);
    --shadow-lg: 0 20px 50px rgba(18, 35, 35, 0.18);
    --radius: 10px;
    --radius-lg: 18px;
    --max-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Calibri", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--accent);
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 0 0 2px var(--accent) inset;
}

.brand-mark-light {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent) inset;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 8px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
    background:
        radial-gradient(1200px 600px at 90% -10%, rgba(201, 169, 97, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(18, 35, 35, 0.08), transparent 65%),
        linear-gradient(180deg, #fbfaf6 0%, #ffffff 100%);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--primary);
    padding: 7px 14px;
    background: rgba(201, 169, 97, 0.18);
    border: 1px solid rgba(201, 169, 97, 0.45);
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    color: var(--primary);
    letter-spacing: 3px;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero h1 .accent-name {
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.hero h1 .accent-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 80px;
    height: 4px;
    background: var(--accent);
}

.hero-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 35, 35, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(18, 35, 35, 0.32);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-ghost:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 10px 24px rgba(201, 169, 97, 0.35);
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: var(--accent);
}

.btn-ghost-light:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-accent:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(201, 169, 97, 0.45);
}

.hero-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 28px 38px;
    border-top: 1px solid var(--border-soft);
    padding-top: 26px;
}

.hero-stats li {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.35;
    max-width: 180px;
}

.hero-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, #faf8f2, #f0ece1);
    box-shadow: var(--shadow-lg);
}

.photo-frame::before {
    content: "";
    position: absolute;
    inset: -12px;
    z-index: -1;
    background: linear-gradient(135deg, var(--accent), transparent 60%);
    border-radius: calc(var(--radius-lg) + 12px);
    opacity: 0.5;
    filter: blur(20px);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ============================================
   Sekcje
   ============================================ */
.section {
    padding: 90px 0;
}

.section-light {
    background: var(--bg-soft);
}

.section-dark {
    background:
        radial-gradient(900px 500px at 90% 0%, rgba(201, 169, 97, 0.14), transparent 65%),
        linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-on-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    position: relative;
    padding: 0 30px;
}

.kicker::before,
.kicker::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 22px;
    height: 1px;
    background: var(--accent);
}

.kicker::before { left: 0; }
.kicker::after { right: 0; }

.kicker-light { color: var(--accent); }

.section h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.section-header-light h2 { color: #fff; }

.section-sub {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.55;
}

.section-header-light .section-sub {
    color: rgba(232, 227, 211, 0.85);
}

/* ============================================
   About
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.7;
}

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

.about-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 30px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent);
}

.about-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
}

.value-list {
    list-style: none;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border-soft);
    font-size: 15.5px;
}

.value-list li:last-child { border-bottom: none; }

.diamond {
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ============================================
   Services
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    padding: 30px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 97, 0.5);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--accent);
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 18px;
    text-align: center;
    line-height: 1.1;
}

.service-card h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
    position: relative;
    padding-left: 36px;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--primary) 80%);
}

.timeline-entry {
    position: relative;
    margin-bottom: 38px;
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px var(--bg-soft);
}

.timeline-dot::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.timeline-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent);
}

.timeline-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.timeline-head h3 {
    font-size: 19px;
    color: var(--primary);
    font-weight: 700;
}

.timeline-date {
    font-size: 14px;
    color: var(--primary);
    background: rgba(201, 169, 97, 0.18);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.timeline-company {
    font-size: 15px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
}

.timeline-list li::before {
    content: "•";
    color: var(--accent);
    font-weight: 700;
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 18px;
    line-height: 1.45;
}

/* ============================================
   Education
   ============================================ */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 60px;
}

.edu-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 24px;
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--primary);
    transition: transform 0.2s, box-shadow 0.2s;
}

.edu-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.edu-cert {
    border-top-color: var(--accent);
    background: linear-gradient(180deg, #fbf8ef, #ffffff);
}

.edu-date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
}

.edu-card h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.edu-place {
    font-size: 14.5px;
    color: var(--text);
    margin-bottom: 4px;
}

.edu-meta {
    font-size: 13.5px;
    color: var(--text-muted);
    font-style: italic;
}

.skills-section {
    text-align: center;
    margin-top: 20px;
}

.skills-title {
    font-size: 16px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 24px 0 16px;
    font-weight: 700;
}

.skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 8px;
}

.pill {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pill:hover {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.25);
    border-radius: var(--radius);
    padding: 30px 26px;
    text-align: center;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

a.contact-card:hover {
    transform: translateY(-3px);
    background: rgba(201, 169, 97, 0.10);
    border-color: var(--accent);
}

.contact-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.18);
    color: var(--accent);
    font-size: 22px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 16.5px;
    color: #fff;
    line-height: 1.45;
    font-weight: 500;
    word-break: break-word;
}

.contact-sub {
    display: block;
    font-size: 12.5px;
    color: rgba(232, 227, 211, 0.6);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.contact-cta {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #0c1818;
    color: var(--text-on-dark);
    padding: 36px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-name {
    font-size: 17px;
    color: #fff;
    font-weight: 600;
}

.footer-role {
    font-size: 13.5px;
    color: rgba(232, 227, 211, 0.65);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14.5px;
}

.footer-contact a {
    color: var(--accent);
    transition: color 0.15s;
}

.footer-contact a:hover { color: var(--accent-soft); }

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.footer-links a {
    color: rgba(232, 227, 211, 0.75);
    border-bottom: 1px dashed rgba(201, 169, 97, 0.4);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}

.footer-links a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.dot-sep { color: rgba(232, 227, 211, 0.35); }

.footer-copy {
    font-size: 13px;
    color: rgba(232, 227, 211, 0.55);
}

/* ============================================
   Responsywność
   ============================================ */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-photo {
        order: -1;
    }
    .photo-frame {
        max-width: 280px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .hero { padding: 50px 0 70px; }
    .section { padding: 70px 0; }
}

@media (max-width: 720px) {
    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid var(--border-soft);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .nav-links.open {
        max-height: 400px;
    }
    .nav-links a {
        padding: 14px 24px;
        border-bottom: 1px solid var(--border-soft);
        width: 100%;
    }
    .nav-links a::after { display: none; }
    .nav-toggle { display: flex; }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .timeline-head {
        gap: 6px;
    }
    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero h1 { letter-spacing: 1.5px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .timeline { padding-left: 30px; }
    .timeline-dot { left: -30px; }
}

/* ============================================
   Blog — preview na stronie głównej
   ============================================ */
.section-blog {
    background: linear-gradient(180deg, #fbfaf6 0%, #ffffff 100%);
}

.post-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.post-preview {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.post-preview:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 97, 0.5);
}

.post-preview a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 26px 22px;
}

.post-preview .post-date-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.post-preview h3 {
    font-size: 19px;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 700;
}

.post-preview p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.post-preview .post-card-read {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.blog-cta-wrap {
    text-align: center;
}

/* ============================================
   Blog index (blog.html)
   ============================================ */
.blog-hero {
    padding: 70px 0 30px;
    text-align: center;
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(201, 169, 97, 0.14), transparent 60%),
        linear-gradient(180deg, #fbfaf6 0%, #ffffff 100%);
}

.blog-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 14px 0 18px;
}

.blog-hero-lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 880px;
    margin: 0 auto;
}

.post-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 97, 0.55);
}

.post-card-link {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 24px;
    padding: 26px 28px;
    align-items: start;
}

.post-card-date {
    background: var(--primary);
    color: var(--accent);
    border-radius: 8px;
    padding: 14px 8px;
    text-align: center;
    line-height: 1.1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card-day {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.post-card-month {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 2px;
    color: var(--accent);
    font-weight: 600;
}

.post-card-year {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    letter-spacing: 1px;
}

.post-card-body {
    min-width: 0;
}

.post-card-tags,
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.post-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(201, 169, 97, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
}

.post-card-body h3 {
    font-size: 21px;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 700;
}

.post-card-body p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.post-card-read {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Pojedynczy post
   ============================================ */
.container-narrow {
    max-width: 760px;
}

.post-header {
    padding-top: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 40px;
    max-width: 760px;
}

.post-back {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    padding: 6px 0;
    transition: color 0.15s;
}

.post-back:hover { color: var(--accent); }

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.post-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 18px;
}

.post-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    padding-bottom: 40px;
}

.post-body .lead {
    font-size: 19.5px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 32px;
    padding-left: 18px;
    border-left: 3px solid var(--accent);
    font-weight: 500;
}

.post-body h2 {
    font-size: 26px;
    color: var(--primary);
    margin-top: 44px;
    margin-bottom: 16px;
    line-height: 1.25;
    font-weight: 700;
    position: relative;
    padding-left: 18px;
}

.post-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.post-body h3 {
    font-size: 20px;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 700;
}

.post-body p {
    margin-bottom: 16px;
}

.post-body ul,
.post-body ol {
    margin: 4px 0 20px;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.post-body strong { color: var(--primary); font-weight: 700; }

.post-body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    transition: color 0.15s;
}

.post-body a:hover { color: var(--accent); }

.post-body code {
    background: rgba(18, 35, 35, 0.06);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

.post-body blockquote {
    margin: 24px 0;
    padding: 18px 26px;
    background: #fbfaf6;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    color: var(--text);
    font-style: italic;
}

.post-body blockquote p:last-child { margin-bottom: 0; }

.post-body .info-box,
.post-body .warning-box,
.post-body .key-takeaway {
    margin: 28px 0;
    padding: 22px 26px;
    border-radius: var(--radius);
    border-left: 4px solid;
}

.post-body .info-box {
    background: #f4f1e8;
    border-left-color: var(--accent);
}

.post-body .warning-box {
    background: #fdf2eb;
    border-left-color: #c66c3a;
}

.post-body .warning-box strong { color: #8a4318; }

.post-body .key-takeaway {
    background: var(--primary);
    color: var(--text-on-dark);
    border-left-color: var(--accent);
    margin-top: 40px;
}

.post-body .key-takeaway h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.post-body .key-takeaway ul {
    padding-left: 22px;
    margin-bottom: 0;
}

.post-body .key-takeaway li {
    color: var(--text-on-dark);
}

.post-body .key-takeaway strong { color: var(--accent); }

.post-body ul.checklist {
    list-style: none;
    padding-left: 0;
}

.post-body ul.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.post-body ul.checklist li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
}

.post-body table.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 15px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.post-body table.article-table th,
.post-body table.article-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: top;
}

.post-body table.article-table th {
    background: var(--primary);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 1px;
}

.post-body table.article-table tr:last-child td {
    border-bottom: none;
}

.post-body table.article-table tr:nth-child(even) td {
    background: #fbfaf6;
}

.post-body .source-list {
    margin: 36px 0 8px;
    padding: 22px 24px;
    background: #f5f3ee;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.post-body .source-list h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin: 0 0 12px;
}

.post-body .source-list ul {
    margin: 0;
    padding-left: 20px;
}

.post-body .source-list li {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.post-body .source-list a {
    color: var(--primary);
    word-break: break-word;
}

/* Post footer / CTA */
.post-footer {
    border-top: 1px solid var(--border-soft);
    padding-top: 40px;
    padding-bottom: 60px;
}

.post-cta {
    background: #fbfaf6;
    border-radius: var(--radius-lg);
    padding: 32px 32px;
    text-align: center;
    border: 1px solid var(--border-soft);
    margin-bottom: 30px;
}

.post-cta h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.post-cta p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 22px;
    font-size: 16px;
    line-height: 1.55;
}

.post-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 20px;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    transition: border-color 0.15s, transform 0.15s;
    min-width: 0;
}

.post-nav-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 700;
}

.post-nav-title {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 720px) {
    .post-card-link {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .post-card-date {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        padding: 10px 14px;
        align-items: baseline;
    }
    .post-card-day { font-size: 22px; }
    .post-card-month, .post-card-year { margin-top: 0; }

    .post-body { font-size: 16.5px; }
    .post-body h2 { font-size: 22px; padding-left: 14px; }
    .post-body h3 { font-size: 18px; }
    .post-body .lead { font-size: 17.5px; }
    .post-body table.article-table { font-size: 14px; }
    .post-nav { grid-template-columns: 1fr; }
}

/* ============================================
   A11y — focus
   ============================================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
