/* ════════════════════════════════════════════════════════════════
   HealthDir Blog — Metro Layout CSS
   Loaded only on blog/post pages
════════════════════════════════════════════════════════════════ */

/* ── Category pill bar ──────────────────────────────────────── */
.hdb-wrap { background: var(--hd-bg); min-height: 60vh; }

.hdb-cat-bar {
    background: var(--hd-white);
    border-bottom: 1px solid var(--hd-border);
    position: sticky; top: 72px; z-index: 90;
    overflow-x: auto; scrollbar-width: none;
}
.hdb-cat-bar::-webkit-scrollbar { display: none; }
.hdb-cat-bar__inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    display: flex; gap: 6px; align-items: center;
    height: 52px;
}
.hdb-cat-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 600; white-space: nowrap;
    color: var(--hd-text-muted); text-decoration: none;
    border: 1.5px solid transparent;
    transition: all .15s;
    flex-shrink: 0;
}
.hdb-cat-pill:hover { color: var(--cat-color, var(--hd-primary)); border-color: var(--cat-color, var(--hd-primary)); text-decoration: none; background: color-mix(in srgb, var(--cat-color, var(--hd-primary)) 10%, transparent); }
.hdb-cat-pill.active { background: var(--cat-color, var(--hd-primary)); color: #fff; border-color: transparent; }
.hdb-cat-pill__count { opacity: .65; font-size: 11px; }

/* ── Container ──────────────────────────────────────────────── */
.hdb-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ════════════════════════════════════════════════════════════════
   METRO TILE GRID
════════════════════════════════════════════════════════════════ */
.hdb-metro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 3px;
    margin: 3px 0 3px;
    background: #1A2332;       /* gap colour = dark */
    border-radius: 0;
}

/* ── Base tile ──────────────────────────────────────────────── */
.hdb-tile {
    position: relative; overflow: hidden;
    cursor: pointer;
    background: var(--hd-primary-light);
}
.hdb-tile__link {
    position: absolute; inset: 0; z-index: 1;
}
.hdb-tile__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.hdb-tile__bg--pattern {
    background:
        repeating-linear-gradient(
            45deg,
            color-mix(in srgb, var(--pat-color) 8%, transparent) 0px,
            color-mix(in srgb, var(--pat-color) 8%, transparent) 1px,
            transparent 0px,
            transparent 50%
        ),
        linear-gradient(135deg,
            color-mix(in srgb, var(--pat-color) 15%, #fff),
            color-mix(in srgb, var(--pat-color) 5%, #fff)
        );
    background-size: 20px 20px, 100% 100%;
}
.hdb-tile:hover .hdb-tile__bg { transform: scale(1.06); }

.hdb-tile__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.05) 100%);
}
.hdb-tile__overlay--medium {
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.15) 70%, transparent 100%);
}
.hdb-tile__overlay--small {
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 65%);
}

.hdb-tile__body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px; z-index: 2;
}

/* ── Hero tile: 2 cols × 2 rows ─────────────────────────────── */
.hdb-tile--hero {
    grid-column: span 2;
    grid-row: span 2;
}
.hdb-tile__title { font-family: var(--font-heading); color: #fff; margin: 8px 0 10px; letter-spacing: -.3px; }
.hdb-tile__title a { color: inherit; text-decoration: none; }
.hdb-tile__title a:hover { text-decoration: underline; }
.hdb-tile__title--xl { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; line-height: 1.2; }
.hdb-tile__title--md { font-size: clamp(15px, 1.6vw, 20px); font-weight: 700; line-height: 1.3; }
.hdb-tile__title--sm { font-size: clamp(13px, 1.2vw, 16px); font-weight: 700; line-height: 1.35; }

.hdb-tile__excerpt { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hdb-tile__meta { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 12px; flex-wrap: wrap; }
.hdb-tile__meta--sm { font-size: 11px; }

/* ── Medium tile: 1 col × 1 row ─────────────────────────────── */
.hdb-tile--medium { grid-column: span 1; grid-row: span 1; }

/* ── Small tile: 1 col × 1 row, sometimes wide ──────────────── */
.hdb-tile--small  { grid-column: span 1; }
.hdb-tile--wide   { grid-column: span 2; }

/* ── Category label on tiles ─────────────────────────────────── */
.hdb-cat-label {
    display: inline-block;
    background: var(--cat-color, var(--hd-primary));
    color: #fff; font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 3px;
    text-decoration: none; line-height: 1.6;
    transition: opacity .15s;
}
.hdb-cat-label:hover { opacity: .85; text-decoration: none; }
.hdb-cat-label--sm { font-size: 9px; padding: 2px 7px; }

/* ── Avatar ──────────────────────────────────────────────────── */
.hdb-avatar { width: 28px !important; height: 28px !important; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); }
.hdb-sep { color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════════════════════════════
   BOTTOM ROW: Latest + Sidebar
════════════════════════════════════════════════════════════════ */
.hdb-bottom-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 48px 0 64px;
    align-items: start;
}

.hdb-section-title {
    display: flex; align-items: center; gap: 16px;
    font-size: 13px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--hd-text);
    margin-bottom: 24px;
}
.hdb-section-title__line { flex: 1; height: 2px; background: var(--hd-border); }

/* ── List items (latest) ─────────────────────────────────────── */
.hdb-list-item {
    display: flex; gap: 16px; padding: 16px 0;
    border-bottom: 1px solid var(--hd-border);
    align-items: flex-start;
}
.hdb-list-item:first-child { border-top: 1px solid var(--hd-border); }
.hdb-list-item__thumb {
    width: 90px; height: 68px; flex-shrink: 0;
    border-radius: 6px; overflow: hidden; display: block;
}
.hdb-list-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hdb-list-item__thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px;
    border-radius: 6px;
}
.hdb-list-item__body { flex: 1; min-width: 0; }
.hdb-list-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; }
.hdb-list-cat:hover { text-decoration: underline; }
.hdb-list-item__title { font-size: 15px; font-weight: 700; line-height: 1.3; margin: 4px 0 5px; }
.hdb-list-item__title a { color: var(--hd-text); text-decoration: none; }
.hdb-list-item__title a:hover { color: var(--hd-primary); }
.hdb-list-item__meta { font-size: 12px; color: var(--hd-text-muted); }

/* Card style list (category page) */
.hdb-list-item--card { flex-direction: column; }
.hdb-list-item--card .hdb-list-item__thumb { width: 100%; height: 160px; }

.hdb-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap: 20px;
    margin-top: 32px;
}
.hdb-cat-grid .hdb-list-item--card { border: 1px solid var(--hd-border); border-radius: var(--hd-radius); overflow: hidden; background: var(--hd-white); padding: 0 0 16px; }
.hdb-cat-grid .hdb-list-item--card .hdb-list-item__body { padding: 12px 14px 0; }
.hdb-cat-grid .hdb-list-item--card:first-child { border-top: 1px solid var(--hd-border); }

/* ── Sidebar widgets ──────────────────────────────────────────── */
.hdb-sidebar { display: flex; flex-direction: column; gap: 24px; }
.hdb-widget {
    background: var(--hd-white); border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius); padding: 20px;
}
.hdb-widget__title {
    font-size: 12px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--hd-text-muted);
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--hd-border);
}
.hdb-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.hdb-tag-pill {
    display: inline-flex; align-items: center; gap: 3px;
    background: var(--hd-bg); color: var(--hd-text-muted);
    border: 1px solid var(--hd-border); border-radius: 20px;
    padding: 4px 10px; font-size: 12px; font-weight: 500;
    text-decoration: none; transition: all .15s;
}
.hdb-tag-pill:hover { background: var(--hd-primary-light); color: var(--hd-primary); border-color: var(--hd-primary); text-decoration: none; }
.hdb-tag-pill sup { font-size: 9px; opacity: .6; }

.hdb-cat-list { display: flex; flex-direction: column; gap: 2px; }
.hdb-cat-list__item {}
.hdb-cat-list__link {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 6px; border-radius: 6px;
    font-size: 14px; color: var(--hd-text); text-decoration: none;
    transition: background .12s;
}
.hdb-cat-list__link:hover { background: var(--hd-bg); text-decoration: none; }
.hdb-cat-list__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hdb-cat-list__count { margin-left: auto; font-size: 12px; color: var(--hd-text-muted); background: var(--hd-bg); padding: 1px 7px; border-radius: 10px; }

/* Newsletter widget */
.hdb-widget--newsletter {
    background: linear-gradient(135deg, var(--hd-primary) 0%, var(--hd-primary-dark) 100%);
    border-color: transparent; text-align: center;
}
.hdb-newsletter__icon { font-size: 36px; margin-bottom: 10px; }
.hdb-widget--newsletter h3 { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.hdb-widget--newsletter p  { color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.hdb-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.hdb-newsletter-input {
    padding: 10px 14px; border-radius: 6px; border: none;
    font-size: 14px; outline: none; width: 100%;
}
.hdb-newsletter-btn {
    background: var(--hd-accent); color: #fff; border: none;
    border-radius: 6px; padding: 10px; font-weight: 700;
    font-size: 14px; cursor: pointer; transition: background .15s;
}
.hdb-newsletter-btn:hover { background: #e05a25; }

/* ── Pagination ───────────────────────────────────────────────── */
.hdb-pagination { padding: 32px 0 48px; }
.hdb-pagination .page-numbers {
    display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.hdb-pagination .page-numbers a,
.hdb-pagination .page-numbers span {
    min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px; border: 1px solid var(--hd-border); background: var(--hd-white);
    color: var(--hd-text); font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all .15s;
}
.hdb-pagination .page-numbers a:hover { background: var(--hd-primary-light); border-color: var(--hd-primary); color: var(--hd-primary); }
.hdb-pagination .page-numbers.current { background: var(--hd-primary); color: #fff; border-color: var(--hd-primary); }
.hdb-pagination .page-numbers.dots { border: none; background: none; }

/* ════════════════════════════════════════════════════════════════
   SINGLE POST
════════════════════════════════════════════════════════════════ */
.hdb-single__hero {
    position: relative; min-height: 520px;
    display: flex; align-items: flex-end;
    background: var(--hd-primary-dark);
    background-image: var(--hero-image);
    background-size: cover; background-position: center;
    overflow: hidden;
}
.hdb-single__hero--no-image {
    background: linear-gradient(135deg, var(--hd-primary) 0%, var(--hd-primary-dark) 100%);
    min-height: 380px;
}
.hdb-single__hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.1) 100%);
}
.hdb-single__hero-body {
    position: relative; z-index: 2;
    max-width: 800px; margin: 0 auto;
    padding: 40px 24px 48px; width: 100%;
}
.hdb-single__cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.hdb-single__title {
    font-size: clamp(24px, 4.5vw, 48px); font-weight: 800; color: #fff;
    line-height: 1.15; letter-spacing: -.5px; margin-bottom: 16px;
}
.hdb-single__deck { font-size: 18px; color: rgba(255,255,255,.8); line-height: 1.6; margin-bottom: 24px; }
.hdb-single__byline {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    color: rgba(255,255,255,.75); font-size: 13px;
}
.hdb-single__avatar { width: 40px !important; height: 40px !important; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); }
.hdb-single__author { font-weight: 700; color: rgba(255,255,255,.9); }
.hdb-single__date   { font-size: 12px; }
.hdb-single__share  { margin-left: auto; display: flex; gap: 8px; }
.hdb-share-btn {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; text-decoration: none;
    background: rgba(255,255,255,.15); color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
    cursor: pointer; transition: all .15s; line-height: 1;
}
.hdb-share-btn:hover { background: rgba(255,255,255,.3); text-decoration: none; color: #fff; }

/* Post body layout */
.hdb-single__layout {
    max-width: 1100px; margin: 0 auto; padding: 48px 24px 64px;
    display: grid; grid-template-columns: 220px 1fr; gap: 56px;
    align-items: start;
}

/* TOC sidebar */
.hdb-single__toc { position: sticky; top: 140px; }
.hdb-toc-inner {
    background: var(--hd-white); border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius); overflow: hidden;
}
.hdb-toc__title {
    padding: 14px 16px; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--hd-text-muted); border-bottom: 1px solid var(--hd-border);
    background: var(--hd-bg);
}
.hdb-toc__nav { padding: 8px 0; }
.hdb-toc__link {
    display: block; padding: 7px 16px;
    font-size: 13px; color: var(--hd-text-muted); text-decoration: none;
    border-left: 3px solid transparent; transition: all .12s;
    line-height: 1.4;
}
.hdb-toc__link--sub { padding-left: 28px; font-size: 12px; }
.hdb-toc__link:hover { color: var(--hd-primary); background: var(--hd-primary-light); text-decoration: none; }
.hdb-toc__link.active { color: var(--hd-primary); border-left-color: var(--hd-primary); font-weight: 600; }
.hdb-toc__progress { height: 3px; background: var(--hd-border); }
.hdb-toc__progress-bar { height: 100%; background: var(--hd-primary); width: 0; transition: width .1s linear; border-radius: 2px; }

/* Post body prose */
.hdb-post-body {
    font-size: 17px; line-height: 1.8; color: var(--hd-text);
    max-width: 680px;
}
.hdb-post-body h2 {
    font-size: clamp(20px,2.5vw,26px); font-weight: 800; margin: 40px 0 16px;
    color: var(--hd-text); letter-spacing: -.3px; line-height: 1.25;
}
.hdb-post-body h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.hdb-post-body h4 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
.hdb-post-body p  { margin-bottom: 20px; }
.hdb-post-body a  { color: var(--hd-primary); text-decoration: underline; text-underline-offset: 3px; }
.hdb-post-body ul, .hdb-post-body ol { margin: 0 0 20px 24px; }
.hdb-post-body ul li { list-style: disc; margin-bottom: 8px; }
.hdb-post-body ol li { list-style: decimal; margin-bottom: 8px; }
.hdb-post-body blockquote {
    border-left: 4px solid var(--hd-primary);
    background: var(--hd-primary-light);
    padding: 16px 20px; margin: 24px 0;
    border-radius: 0 var(--hd-radius-sm) var(--hd-radius-sm) 0;
    font-style: italic; color: var(--hd-primary-dark);
}
.hdb-post-body blockquote p { margin: 0; }
.hdb-post-body img {
    border-radius: var(--hd-radius); margin: 24px 0; max-width: 100%;
    box-shadow: var(--hd-shadow);
}
.hdb-post-body pre {
    background: #1A2332; color: #E8F5F5;
    padding: 20px; border-radius: var(--hd-radius); overflow-x: auto;
    font-size: 14px; line-height: 1.7; margin: 24px 0;
}
.hdb-post-body code {
    background: var(--hd-primary-light); color: var(--hd-primary-dark);
    padding: 2px 6px; border-radius: 4px; font-size: .9em;
}
.hdb-post-body pre code { background: none; color: inherit; padding: 0; }
.hdb-post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.hdb-post-body th { background: var(--hd-primary); color: #fff; padding: 10px 14px; text-align: left; font-size: 13px; }
.hdb-post-body td { padding: 10px 14px; border-bottom: 1px solid var(--hd-border); }
.hdb-post-body tr:nth-child(even) td { background: var(--hd-bg); }
.hdb-post-body figure { margin: 24px 0; }
.hdb-post-body figcaption { font-size: 13px; color: var(--hd-text-muted); text-align: center; margin-top: 8px; font-style: italic; }

/* Tags & author */
.hdb-single__tags {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 20px 0; border-top: 1px solid var(--hd-border); margin-top: 32px;
}
.hdb-single__tags-label { font-size: 13px; font-weight: 700; color: var(--hd-text-muted); }

.hdb-author-card {
    display: flex; gap: 20px; padding: 24px;
    background: var(--hd-white); border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius); margin: 32px 0; align-items: flex-start;
}
.hdb-author-card__avatar { width: 72px !important; height: 72px !important; border-radius: 50%; flex-shrink: 0; }
.hdb-author-card__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--hd-text-muted); }
.hdb-author-card__name  { font-size: 18px; font-weight: 800; margin: 4px 0 8px; }
.hdb-author-card__bio   { font-size: 14px; color: var(--hd-text-muted); line-height: 1.6; margin: 0; }

.hdb-post-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.hdb-post-nav__item {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 20px; border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius); background: var(--hd-white);
    text-decoration: none; transition: all .15s; color: inherit;
}
.hdb-post-nav__item:hover { border-color: var(--hd-primary); background: var(--hd-primary-light); text-decoration: none; color: inherit; }
.hdb-post-nav__item--next { text-align: right; }
.hdb-post-nav__dir   { font-size: 12px; color: var(--hd-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.hdb-post-nav__title { font-size: 14px; font-weight: 700; color: var(--hd-text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hdb-comments { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hd-border); }

/* ── Related posts ────────────────────────────────────────────── */
.hdb-related {
    background: var(--hd-white); border-top: 1px solid var(--hd-border);
    padding: 48px 0 64px;
}
.hdb-related-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.hdb-related-card { display: flex; flex-direction: column; border: 1px solid var(--hd-border); border-radius: var(--hd-radius); overflow: hidden; background: var(--hd-white); text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.hdb-related-card:hover { transform: translateY(-3px); box-shadow: var(--hd-shadow-lg); text-decoration: none; color: inherit; }
.hdb-related-card__thumb { height: 160px; overflow: hidden; }
.hdb-related-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hdb-related-card:hover .hdb-related-card__thumb img { transform: scale(1.05); }
.hdb-related-card__thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hdb-related-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hdb-related-card__body h4 { font-size: 15px; font-weight: 700; color: var(--hd-text); line-height: 1.35; }
.hdb-related-card__body p  { font-size: 13px; color: var(--hd-text-muted); line-height: 1.5; flex: 1; }
.hdb-related-card__meta { font-size: 12px; color: var(--hd-text-muted); margin-top: auto; }

/* ════════════════════════════════════════════════════════════════
   CATEGORY PAGE HERO
════════════════════════════════════════════════════════════════ */
.hdb-cat-hero {
    background: linear-gradient(135deg, var(--cat-color) 0%, color-mix(in srgb, var(--cat-color) 70%, #000) 100%);
    padding: 48px 0;
}
.hdb-cat-hero__inner { max-width: 680px; }
.hdb-cat-hero__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.7); }
.hdb-cat-hero__name  { font-size: clamp(28px,5vw,48px); font-weight: 800; color: #fff; margin: 8px 0 12px; }
.hdb-cat-hero__desc  { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 12px; line-height: 1.6; }
.hdb-cat-hero__count { font-size: 13px; color: rgba(255,255,255,.6); }

.hdb-cat-feature {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
    align-items: center; padding: 32px 0; border-bottom: 1px solid var(--hd-border);
    margin-bottom: 8px;
}
.hdb-cat-feature__thumb { height: 320px; border-radius: var(--hd-radius); overflow: hidden; }
.hdb-cat-feature__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hdb-cat-feature__title { font-size: clamp(20px,3vw,30px); font-weight: 800; color: var(--hd-text); line-height: 1.2; margin: 12px 0 14px; }
.hdb-cat-feature__title a { color: inherit; text-decoration: none; }
.hdb-cat-feature__title a:hover { color: var(--hd-primary); }
.hdb-cat-feature__excerpt { font-size: 15px; color: var(--hd-text-muted); line-height: 1.6; margin-bottom: 16px; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hdb-metro { grid-template-columns: repeat(3,1fr); }
    .hdb-tile--hero { grid-column: span 2; }
    .hdb-bottom-row { grid-template-columns: 1fr; }
    .hdb-sidebar { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); }
    .hdb-single__layout { grid-template-columns: 1fr; }
    .hdb-single__toc { display: none; }
    .hdb-related-grid { grid-template-columns: repeat(2,1fr); }
    .hdb-cat-feature { grid-template-columns: 1fr; }
    .hdb-cat-feature__thumb { height: 220px; }
}
@media (max-width: 768px) {
    .hdb-metro { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; gap: 2px; }
    .hdb-tile--hero { grid-column: span 2; grid-row: span 2; }
    .hdb-tile--wide { grid-column: span 2; }
    .hdb-tile__title--xl { font-size: 18px; }
    .hdb-tile__excerpt { display: none; }
    .hdb-related-grid { grid-template-columns: 1fr; }
    .hdb-post-nav { grid-template-columns: 1fr; }
    .hdb-single__hero { min-height: 380px; }
    .hdb-single__title { font-size: 24px; }
    .hdb-single__share { display: none; }
    .hdb-cat-grid { grid-template-columns: 1fr; }
    .hdb-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hdb-metro { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .hdb-tile--hero { grid-column: 1; grid-row: span 1; }
    .hdb-tile--wide { grid-column: 1; }
    .hdb-tile--medium { display: none; }
    .hdb-single__deck { display: none; }
    .hdb-author-card { flex-direction: column; }
}
