/* =============================================================
   BLOG — blog_style.css (nový design 2026)
   ============================================================= */


/* ─── UTILITY ────────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/* ═══════════════════════════════════════════════════════════════
   BLOG INDEX (blog.php)
   ═══════════════════════════════════════════════════════════════ */

.blog-main {
    padding-bottom: 40px;
}

/* Page header */
.blog-page-header {
    padding:       40px 20px 32px;
    border-bottom: 1px solid var(--border);
}
.blog-page-header h1 {
    font-family: var(--font-serif);
    font-size:   clamp(2rem, 6vw, 2.75rem);
    font-weight: 800;
    color:       var(--text);
    margin:      0;
    line-height: 1.1;
}
.blog-page-lead {
    font-size:   14px;
    color:       var(--dim);
    line-height: 1.7;
    margin:      10px 0 0 0;
    max-width:   560px;
}

/* Tag filter (top) */
.blog-filter {
    border-bottom: 1px solid var(--border);
}
.blog-filter ul {
    display:    flex;
    flex-wrap:  wrap;
    gap:        0;
    margin:     0;
    padding:    0;
    overflow-x: auto;
}
.blog-filter li {
    border-right: 1px solid var(--border);
    flex-shrink:  0;
}
.tag {
    display:        block;
    padding:        12px 18px;
    font-family:    var(--font-mono);
    font-size:      10px;
    font-weight:    500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color:          var(--dim);
    background:     transparent;
    border:         none;
    cursor:         pointer;
    white-space:    nowrap;
    transition:     background .2s, color .2s;
}
.tag:hover  { background: var(--bg-card); color: var(--text); }
.tag.active { background: var(--bg-card); color: var(--accent); }
.tag--all   { font-weight: 700; }

/* Content layout */
.blog-content {
    display: grid;
    grid-template-columns: 1fr;
}

/* ─── FEATURED ČLÁNEK ─────────────────────────────────────── */
.blog-card--featured {
    display:               grid;
    grid-template-columns: 1fr;
    border-bottom:         1px solid var(--border);
    cursor:                pointer;
    color:                 inherit;
    text-decoration:       none;
    transition:            background .25s;
}
.blog-card--featured.hidden { display: none; }
.blog-card--featured:hover .featured-body { background: var(--bg-card); }
.blog-card--featured:hover .featured-img-zoom { transform: scale(1.04); }
.blog-card--featured:hover h2 { color: var(--accent); }

.featured-img {
    width:               100%;
    height:              240px;
    background-size:     cover;
    background-position: center;
    background-color:    var(--bg-card);
    border-bottom:       1px solid var(--border);
    overflow:            hidden;
}
.featured-body {
    padding:    28px 20px;
    transition: background .25s;
}
.featured-body h2 {
    font-family: var(--font-serif);
    font-size:   clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 700;
    color:       var(--text);
    line-height: 1.2;
    margin:      14px 0 14px;
    text-wrap:   pretty;
    transition:  color .25s;
}
.featured-perex {
    font-size:   14px;
    color:       var(--dim);
    line-height: 1.75;
    margin:      0;
}
.featured-meta {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    margin-top:      18px;
    font-family:     var(--font-mono);
    font-size:       11px;
    color:           var(--dim);
    letter-spacing:  1px;
}
.featured-cta {
    color:          var(--green-lt);
    letter-spacing: 1.5px;
}

/* ─── GRID ČLÁNKŮ ──────────────────────────────────────────── */
.blog-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   0;
    padding:               0;
    margin:                0;
}

.blog-card {
    display:         block;
    color:           inherit;
    text-decoration: none;
    border-bottom:   1px solid var(--border);
    transition:      background .25s;
    cursor:          pointer;
}
.blog-card:last-child { border-bottom: none; }
.blog-card.hidden     { display: none; }

/* Hover efekt — pozadí, image zoom, accent na nadpis */
.blog-card:hover { background: var(--bg-card); }
.blog-card:hover h2 { color: var(--accent); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-img {
    display:       block;
    width:         100%;
    overflow:      hidden;
    border-bottom: 1px solid var(--border);
}
.blog-card-img picture,
.blog-card-img img {
    display:    block;
    width:      100%;
    height:     220px;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-tag {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom:  1px solid var(--border);
    padding-bottom: 4px;
    display:        inline-block;
}

.blog-card-body h2 {
    font-family: var(--font-serif);
    font-size:   1.2rem;
    font-weight: 600;
    color:       var(--text);
    margin:      10px 0 8px;
    line-height: 1.25;
    transition:  color .25s;
}
.blog-card-body p {
    font-size:   13px;
    color:       var(--dim);
    line-height: 1.7;
    margin:      0;
}

.blog-card-meta {
    display:         flex !important;
    justify-content: space-between;
    align-items:     baseline;
    margin-top:      14px !important;
    font-family:     var(--font-mono);
    font-size:       10px !important;
    color:           var(--dim) !important;
    letter-spacing:  1px;
}
.blog-card-meta time { color: var(--dim); }
.blog-card-cta       { color: var(--green-lt); letter-spacing: 1.5px; }

/* ─── PLACEHOLDER karta (mock článek bez obsahu) ────────────── */
.blog-card--placeholder { cursor: default; }
.blog-card--placeholder:hover                { background: transparent; }
.blog-card--placeholder:hover h2             { color: var(--text); }
.blog-card--placeholder:hover .featured-body { background: transparent; }

.placeholder-img {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           100%;
    background:      repeating-linear-gradient(45deg, #1a3225 0, #1a3225 9px, #1f3c2c 9px, #1f3c2c 18px);
    overflow:        hidden;
}
.placeholder-img span {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--dim);
    letter-spacing: 1.5px;
    padding:        8px 14px;
}
.blog-card-img.placeholder-img { height: 220px; }

/* Sidebar */
.blog-sidebar {
    border-top: 1px solid var(--border);
}
.sidebar-widget {
    padding:       24px 20px;
    border-bottom: 1px solid var(--border);
}
.sidebar-widget:last-child { border-bottom: none; }

.sidebar-widget-eyebrow {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin:         0 0 16px 0;
}
.sidebar-widget h3 {
    font-family: var(--font-serif);
    font-size:   1.05rem;
    font-weight: 600;
    color:       var(--text);
    margin:      0 0 8px 0;
    line-height: 1.3;
}
.sidebar-widget p {
    font-size:   13px;
    color:       var(--dim);
    line-height: 1.65;
    margin:      0 0 16px 0;
}

.sidebar-cat {
    width:           100%;
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    padding:         10px 0;
    border-bottom:   1px solid var(--border);
    background:      transparent;
    border-top:      none;
    border-left:     none;
    border-right:    none;
    cursor:          pointer;
    text-align:      left;
    font-family:     var(--font-mono);
    font-size:       10px;
    color:           var(--dim);
    letter-spacing:  1.5px;
    text-transform:  uppercase;
    transition:      color .2s;
}
.sidebar-cat:last-child { border-bottom: none; }
.sidebar-cat:hover      { color: var(--text); background: transparent; }
.sidebar-cat.active     { color: var(--accent); background: transparent; }
.sidebar-cat-count      { color: var(--border); font-size: 10px; }

/* Recent articles widget */
.sidebar-recent-item {
    display:         flex;
    gap:             12px;
    padding:         12px 0;
    border-bottom:   1px solid var(--border);
    cursor:          pointer;
    color:           inherit;
    transition:      opacity .2s;
}
.sidebar-recent-item:last-child { border-bottom: none; }
.sidebar-recent-item:hover      { opacity: .8; }

.sidebar-recent-img {
    width:               56px;
    height:              56px;
    flex-shrink:         0;
    background-size:     cover;
    background-position: center;
    background-color:    var(--bg-card);
    border:              1px solid var(--border);
}
.sidebar-recent-info {
    display:        flex;
    flex-direction: column;
    gap:            3px;
    min-width:      0;
}
.sidebar-recent-tag {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--dim);
    letter-spacing: 1.5px;
}
.sidebar-recent-title {
    font-family: var(--font-serif);
    font-size:   13px;
    font-weight: 600;
    color:       var(--text);
    line-height: 1.3;
    margin:      0;
    transition:  color .2s;
}
.sidebar-recent-item:hover .sidebar-recent-title { color: var(--accent); }
.sidebar-recent-date {
    font-family: var(--font-mono);
    font-size:   9px;
    color:       var(--dim);
    margin:      4px 0 0 0 !important;
}

.sidebar-widget--cta {
    background:    var(--bg-card);
    border:        1px solid #2e5a3e;
    border-bottom: 1px solid var(--border);
}
.sidebar-widget--card {
    background: var(--bg-card);
}

.sidebar-cta-btn {
    display:        inline-block;
    padding:        12px 18px;
    background:     var(--green);
    color:          #fff;
    font-family:    var(--font-mono);
    font-size:      10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition:     opacity .2s;
}
.sidebar-cta-btn:hover { opacity: .85; }


/* ═══════════════════════════════════════════════════════════════
   BLOG ČLÁNEK (.blog-detail) — nový design
   ═══════════════════════════════════════════════════════════════ */

.blog-detail {
    padding-bottom: 40px;
}

/* Detail header */
.detail-header {
    padding:       40px 20px 28px;
    border-bottom: 1px solid var(--border);
}
.back-btn {
    display:        inline-flex;
    align-items:    center;
    gap:            6px;
    font-family:    var(--font-mono);
    font-size:      10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color:          var(--dim);
    margin-bottom:  20px;
    transition:     color .2s;
}
.back-btn:hover { color: var(--accent); }

.detail-header h1 {
    font-family: var(--font-serif);
    font-size:   clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 800;
    color:       var(--text);
    line-height: 1.1;
    margin:      14px 0 14px 0;
    text-wrap:   pretty;
}
.detail-meta {
    font-family:    var(--font-mono);
    font-size:      11px;
    color:          var(--dim);
    letter-spacing: 1px;
    margin:         0 0 16px 0;
}
.detail-perex {
    font-size:   15px;
    color:       var(--dim);
    line-height: 1.7;
    margin:      0;
    max-width:   620px;
}

/* Hero image */
.detail-hero-img {
    width:               100%;
    height:              260px;
    background-size:     cover;
    background-position: center;
    background-color:    var(--bg-card);
    border-bottom:       1px solid var(--border);
}

/* Detail body */
.detail-body {
    padding:    32px 20px;
    max-width:  900px;
    margin:     0 auto;
}

.detail-body > * + * { margin-top: 18px; }

.detail-body p {
    font-family: var(--font-sans);
    font-size:   15px;
    color:       #c8c4b6;
    line-height: 1.85;
    margin:      0;
}
.detail-body p strong { color: var(--text); }
.detail-body p em     { color: var(--text); font-style: italic; }

.detail-body h2 {
    font-family:   var(--font-serif);
    font-size:     1.45rem;
    font-weight:   600;
    color:         var(--text);
    line-height:   1.25;
    margin:        36px 0 12px 0;
    padding-top:   20px;
    border-top:    1px solid var(--border);
}
.detail-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.detail-body ul,
.detail-body ol {
    margin:  18px 0 0 0;
    padding: 0;
    list-style: none;
    counter-reset: list-counter;
}
.detail-body ul li,
.detail-body ol li {
    position:      relative;
    padding:       10px 0 10px 28px;
    border-bottom: 1px solid var(--border);
    font-size:     14px;
    color:         #c8c4b6;
    line-height:   1.6;
}
.detail-body ul li:last-child,
.detail-body ol li:last-child { border-bottom: none; }
.detail-body ul li strong,
.detail-body ol li strong { color: var(--text); }
.detail-body ul li em,
.detail-body ol li em { color: var(--dim); font-style: italic; font-size: 13px; }

.detail-body ul li::before {
    content:       '';
    position:      absolute;
    left:          6px;
    top:           18px;
    width:         6px;
    height:        6px;
    border-radius: 50%;
    background:    var(--green-lt);
}

.detail-body ol li {
    counter-increment: list-counter;
    padding-left:      36px;
}
.detail-body ol li::before {
    content:     counter(list-counter);
    position:    absolute;
    left:        0;
    top:         10px;
    font-family: var(--font-serif);
    font-size:   1.15rem;
    font-weight: 700;
    color:       var(--accent);
    line-height: 1.2;
    width:       28px;
    text-align:  left;
}

.detail-body blockquote {
    border-left: 3px solid var(--accent);
    padding:     16px 20px;
    margin:      28px 0;
    background:  var(--bg-card);
    font-family: var(--font-serif);
    font-size:   1.05rem;
    font-style:  italic;
    color:       var(--text);
    line-height: 1.6;
}

/* Inline CTA box */
.cta-inline {
    margin:         32px 0 0 0;
    padding:        24px 24px;
    background:     var(--bg-card);
    border:         1px solid #2e5a3e;
    display:        flex;
    flex-direction: column;
    gap:            10px;
}
.cta-inline-eyebrow {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.cta-inline h3 {
    font-family: var(--font-serif);
    font-size:   1.15rem;
    font-weight: 700;
    color:       var(--text);
    line-height: 1.25;
    margin:      0;
}
.cta-inline p {
    font-size:   14px !important;
    color:       #9aaa94 !important;
    line-height: 1.65 !important;
    margin:      0 !important;
}
.cta-inline a {
    display:        inline-block;
    padding:        12px 24px;
    background:     var(--green);
    color:          #fff;
    text-decoration: none;
    font-family:    var(--font-mono);
    font-size:      10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    align-self:     flex-start;
    margin-top:     6px;
    transition:     opacity .2s;
}
.cta-inline a:hover { opacity: .85; }

/* Průvodce wizard teaser */
.wizard-cta {
    margin:       32px 0 0 0;
    padding:      24px 28px;
    background:   var(--bg-card);
    border:       1px solid var(--border);
    border-left:  3px solid var(--green);
    display:      flex;
    flex-direction: column;
    gap:          10px;
}
.wizard-cta-eyebrow {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--green);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.wizard-cta h3 {
    font-family: var(--font-serif);
    font-size:   1.1rem;
    font-weight: 700;
    color:       var(--text);
    line-height: 1.25;
    margin:      0;
}
.wizard-cta p {
    font-size:   14px !important;
    color:       var(--dim) !important;
    line-height: 1.65 !important;
    margin:      0 !important;
}
.wizard-cta-meta {
    display:      flex;
    flex-wrap:    wrap;
    gap:          6px 16px;
    margin-top:   2px;
}
.wizard-cta-meta span {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--dim);
    letter-spacing: 1px;
}
.wizard-cta a.wizard-cta-btn {
    display:         inline-block;
    padding:         11px 22px;
    background:      transparent;
    color:           var(--green);
    border:          1px solid var(--green);
    text-decoration: none;
    font-family:     var(--font-mono);
    font-size:       10px;
    letter-spacing:  1.5px;
    text-transform:  uppercase;
    align-self:      flex-start;
    margin-top:      6px;
    transition:      background .2s, color .2s;
}
.wizard-cta a.wizard-cta-btn:hover {
    background: var(--green);
    color:      #fff;
}


/* ─── DETAIL GRIDY ──────────────────────────────────────────────── */
.detail-cols {
    display:               grid;
    grid-template-columns: 1fr;
    background:            var(--border);
    border:                1px solid var(--border);
    gap:                   1px;
}

.detail-box {
    background:     var(--bg-card);
    padding:        22px 24px;
    display:        flex;
    flex-direction: column;
}

.detail-box > h2 {
    font-size:   1.1rem;
    border-top:  none !important;
    padding-top: 0 !important;
    margin:      0 0 12px 0 !important;
}

.detail-box ul,
.detail-box ol {
    margin-top: 0;
}

.detail-box p {
    font-size:   14px !important;
    line-height: 1.75 !important;
    margin:      0 !important;
}

.detail-box-label {
    display:        block;
    font-family:    var(--font-mono);
    font-size:      10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color:          var(--accent);
    margin-bottom:  10px;
}

.detail-box-sub {
    display:        block;
    font-family:    var(--font-mono);
    font-size:      10px;
    letter-spacing: 1px;
    color:          var(--dim);
    margin-top:     -6px;
    margin-bottom:  12px;
}

@media (min-width: 700px) {
    .detail-cols           { grid-template-columns: 1fr 1fr; }
    .detail-cols--3        { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .detail-cols--3        { grid-template-columns: 1fr 1fr 1fr; }
}


/* ─── SROVNÁNÍ DŘEVIN (plant-compare) ──────────────────────────── */
.plant-compare { margin-top: 0; }

.plant-compare-toolbar {
    border:        1px solid var(--border);
    border-bottom: none;
}

.plant-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.plant-typ-filter {
    display:     flex;
    align-items: center;
    gap:         8px;
    padding:     9px 14px;
    background:  var(--bg-dark);
}

.plant-typ-filter::before {
    content:        'Typ plotu';
    font-family:    var(--font-mono);
    font-size:      8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color:          var(--dim);
    margin-right:   4px;
    white-space:    nowrap;
}

.plant-typ-btn {
    padding:        5px 12px;
    background:     transparent;
    border:         1px solid var(--border);
    border-radius:  20px;
    font-family:    var(--font-mono);
    font-size:      8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color:          var(--dim);
    cursor:         pointer;
    transition:     color .15s, background .15s, border-color .15s;
    white-space:    nowrap;
}
.plant-typ-btn:hover                     { color: var(--text); border-color: var(--dim); }
.plant-typ-btn.active[data-typ="rezany"] { color: var(--accent);   background: rgba(196,168,50,.10); border-color: rgba(196,168,50,.4); }
.plant-typ-btn.active[data-typ="volny"]  { color: var(--green-lt); background: rgba(78,138,63,.12);  border-color: rgba(78,138,63,.4);  }

.plant-tab {
    flex:           1;
    padding:        11px 10px;
    background:     none;
    border:         none;
    border-right:   1px solid var(--border);
    font-family:    var(--font-mono);
    font-size:      9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color:          var(--dim);
    cursor:         pointer;
    transition:     color .15s, background .15s;
}
.plant-tab:last-child { border-right: none; }
.plant-tab:hover      { color: var(--text); background: var(--bg-card); }
.plant-tab.active     { color: var(--accent); background: var(--bg-card); }

.plant-list {
    border: 1px solid var(--border);
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.plant-list::-webkit-scrollbar        { width: 4px; }
.plant-list::-webkit-scrollbar-track  { background: transparent; }
.plant-list::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 2px; }

.plant-row {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         11px 20px;
    gap:             16px;
    border-bottom:   1px solid var(--border);
}
.plant-row:last-child { border-bottom: none; }

.plant-row--head            { background: var(--bg-card); position: sticky; top: 0; z-index: 1; }
.plant-row--head .plant-col-name,
.plant-row--head .plant-col-data {
    font-family:    var(--font-mono);
    font-size:      9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color:          var(--dim);
}

.plant-col-name {
    display:   flex;
    flex-direction: column;
    gap:       2px;
    flex:      1;
    min-width: 0;
}
.plant-col-name strong {
    font-size:   13px;
    font-weight: 600;
    color:       var(--text);
    font-family: var(--font-sans);
}
.plant-col-name em {
    font-family: var(--font-mono);
    font-size:   10px;
    color:       var(--dim);
    font-style:  normal;
}

.plant-col-data {
    display:      flex;
    align-items:  center;
    gap:          8px;
    font-family:  var(--font-mono);
    font-size:    11px;
    color:        var(--dim);
    text-align:   right;
    white-space:  nowrap;
    flex-shrink:  0;
}
.plant-col-data[hidden] { display: none; }

/* Tečkový ukazatel ceny */
.price-dots { display: inline-flex; gap: 4px; align-items: center; }
.pd {
    display:       inline-block;
    width:         7px;
    height:        7px;
    border-radius: 50%;
    border:        1px solid var(--accent);
    opacity:       .3;
}
.pd.f { background: var(--accent); opacity: 1; }

/* Štítky zimního krytí */
.cov {
    font-family:    var(--font-mono);
    font-size:      9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding:        3px 8px;
    border:         1px solid;
}
.cov--s { color: var(--accent);  border-color: var(--accent); }
.cov--p { color: #8a9e7e;        border-color: #3a4e36; }
.cov--o { color: var(--dim);     border-color: var(--border); }

.plant-compare-note {
    font-size:   11px !important;
    color:       var(--dim) !important;
    line-height: 1.6 !important;
    margin-top:  12px !important;
    font-family: var(--font-mono);
}

@media (max-width: 599px) {
    .plant-tab {
        letter-spacing: 0.5px;
        padding:        10px 6px;
        font-size:      8px;
    }
    .plant-row {
        flex-direction: column;
        align-items:    flex-start;
        gap:            5px;
        padding:        12px 16px;
    }
    .plant-row--head   { display: none; }
    .plant-col-data    { white-space: normal; text-align: left; }
}


/* ═══════════════════════════════════════════════════════════════
   RELATED ARTICLES (blog_related.php)
   ═══════════════════════════════════════════════════════════════ */

.blog-related {
    border-top: 1px solid var(--border);
}
.related-label {
    font-family:    var(--font-mono);
    font-size:      10px;
    font-weight:    500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color:          var(--accent);
    padding:        16px 20px;
    margin:         0;
    border-bottom:  1px solid var(--border);
}
.related-grid {
    display:               grid;
    grid-template-columns: 1fr;
}
.related-card {
    display:         flex;
    flex-direction:  column;
    text-decoration: none;
    color:           inherit;
    border-bottom:   1px solid var(--border);
    overflow:        hidden;
    transition:      background .2s;
}
.related-card:nth-child(n+2) { display: none; }
.related-card:hover { background: var(--bg-card); }
.related-card picture {
    display:       block;
    width:         100%;
    aspect-ratio:  16 / 9;
    overflow:      hidden;
    border-bottom: 1px solid var(--border);
}
.related-card img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform .35s ease;
}
.related-card:hover img { transform: scale(1.04); }

.related-info {
    padding:        14px 18px;
    display:        flex;
    flex-direction: column;
    gap:            6px;
    flex-grow:      1;
}
.related-info .card-tag {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.related-title {
    font-family: var(--font-serif);
    font-size:   1rem;
    font-weight: 600;
    line-height: 1.3;
    color:       var(--text);
}


/* ─── TABLET 700px+ ──────────────────────────────────────────── */
@media (min-width: 700px) {
    /* Featured side-by-side */
    .blog-card--featured     { grid-template-columns: 1fr 1fr; }
    .featured-img            { height: auto; min-height: 320px; border-bottom: none; border-right: 1px solid var(--border); }
    .featured-body           { padding: 36px 32px; }

    /* Grid 2-sloupec */
    .blog-grid               { grid-template-columns: 1fr 1fr; }
    .blog-card               { border-right: 1px solid var(--border); }
    .blog-card:nth-child(2n) { border-right: none; }

    .detail-header   { padding: 56px 40px 36px; }
    .detail-hero-img { height: 360px; }
    .detail-body     { padding: 40px 40px; }

    .related-grid                { grid-template-columns: 1fr 1fr; }
    .related-card:nth-child(n+2) { display: flex; }
    .related-card:first-child    { border-right: 1px solid var(--border); }
}


/* ─── DESKTOP 1024px+ ────────────────────────────────────────── */
@media (min-width: 1024px) {
    .blog-page-header    { padding: 56px 56px 40px; }
    .blog-page-header h1 { font-size: 3rem; }
    .blog-filter ul      { padding: 0 16px; }

    /* Featured */
    .featured-body       { padding: 48px 56px; }
    .featured-body h2    { font-size: 2rem; }

    /* Layout: grid + sidebar */
    .blog-content {
        grid-template-columns: 1fr 320px;
    }
    .blog-grid {
        border-right: 1px solid var(--border);
    }
    .blog-sidebar {
        border-top: none;
    }

    .blog-card-body  { padding: 24px 28px; }
    .blog-card-img picture,
    .blog-card-img img            { height: 200px; }
    .blog-card-img.placeholder-img { height: 200px; }

    .sidebar-widget { padding: 28px 24px; }

    /* Detail */
    .detail-header   { padding: 64px 64px 44px; }
    .detail-header h1 { font-size: 3.25rem; }
    .detail-hero-img { height: 440px; }
    .detail-body     { padding: 48px 64px; }

    .related-label { padding: 18px 56px; }
}
