/* ==========================================================================
   CARHUB NEWS — PREMIUM SINGLE POST
   ========================================================================== */

body.carhub-news-post-body {
    --ch-blue: #1769ff;
    --ch-ink: #0c1424;
    --ch-muted: #68758a;
    --ch-line: #e3e9f2;
    background: #f4f7fb;
    color: var(--ch-ink);
}

.carhub-news-post-page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 44px 0 64px;
}

.ch-post-progress {
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--ch-blue);
    transition: width .08s linear;
}

.ch-post-article {
    overflow: hidden;
    border: 1px solid var(--ch-line);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(16, 24, 40, .08);
}

.ch-post-hero {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(42px, 7vw, 82px) clamp(24px, 7vw, 82px) 42px;
    text-align: center;
}

.ch-post-hero__eyebrow,
.ch-post-section-heading > span,
.ch-post-rail__label,
.ch-post-author-card span,
.ch-post-tags > span {
    color: var(--ch-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ch-post-hero__eyebrow {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.ch-post-hero__eyebrow a {
    color: var(--ch-blue);
    text-decoration: none;
}

.ch-post-hero h1 {
    max-width: 900px;
    margin: 18px auto 18px;
    font-size: clamp(38px, 6vw, 74px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 500;
}

.ch-post-hero__dek {
    max-width: 720px;
    margin: 0 auto;
    color: var(--ch-muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.65;
}

.ch-post-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.ch-post-author { display: flex; align-items: center; gap: 11px; text-align: left; }
.ch-post-author img, .ch-post-author > span { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.ch-post-author > span { display: grid; place-items: center; background: #eaf2ff; color: var(--ch-blue); font-weight: 800; }
.ch-post-author strong, .ch-post-author small { display: block; }
.ch-post-author strong { font-size: 13px; }
.ch-post-author small { margin-top: 3px; color: var(--ch-muted); font-size: 11px; }
.ch-post-reading-meta { display: flex; align-items: center; gap: 10px; color: var(--ch-muted); font-size: 11px; }
.ch-post-reading-meta i { width: 3px; height: 3px; border-radius: 50%; background: #b5c0cf; }

.ch-post-cover { margin: 0; padding: 0 34px 34px; }
.ch-post-cover img { display: block; width: 100%; max-height: 680px; object-fit: cover; border-radius: 24px; }

.ch-post-layout {
    display: grid;
    grid-template-columns: 86px minmax(0, 760px);
    justify-content: center;
    gap: 24px;
    padding: 14px 34px 64px;
}

.ch-post-rail__sticky { position: sticky; top: 90px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ch-post-rail__label { margin-bottom: 3px; color: #8a96a8; font-size: 8px; }
.ch-post-rail a, .ch-post-rail button {
    width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ch-line); border-radius: 50%; background: #fff; color: var(--ch-ink); text-decoration: none; font-size: 12px; cursor: pointer;
}
.ch-post-rail a:hover, .ch-post-rail button:hover { border-color: #b9d0ff; color: var(--ch-blue); background: #f5f9ff; }

.ch-post-main { min-width: 0; }
.ch-post-toc { margin: 0 0 36px; padding: 18px 20px; border: 1px solid #dbe7f7; border-radius: 18px; background: #f7faff; }
.ch-post-toc summary { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; list-style: none; cursor: pointer; }
.ch-post-toc summary::-webkit-details-marker { display: none; }
.ch-post-toc summary span { color: var(--ch-blue); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.ch-post-toc summary b { font-size: 13px; font-weight: 600; }
.ch-post-toc summary i { font-style: normal; color: var(--ch-blue); }
.ch-post-toc[open] summary i { transform: rotate(45deg); }
.ch-post-toc nav { display: grid; gap: 9px; margin-top: 16px; padding-top: 15px; border-top: 1px solid #e2eaf6; }
.ch-post-toc nav a { color: #445268; font-size: 12px; line-height: 1.45; text-decoration: none; }
.ch-post-toc nav a:hover { color: var(--ch-blue); }
.ch-post-toc nav a.level-3 { padding-left: 18px; color: #718097; }

.ch-post-content { color: #182338; font-size: 18px; line-height: 1.85; }
.ch-post-content > *:first-child { margin-top: 0; }
.ch-post-content p { margin: 0 0 1.35em; }
.ch-post-content h2 { margin: 2.3em 0 .65em; font-size: clamp(25px, 4vw, 36px); line-height: 1.12; letter-spacing: -.035em; font-weight: 550; scroll-margin-top: 95px; }
.ch-post-content h3 { margin: 2em 0 .6em; font-size: clamp(20px, 3vw, 26px); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; scroll-margin-top: 95px; }
.ch-post-content ul, .ch-post-content ol { margin: 0 0 1.45em; padding-left: 1.3em; }
.ch-post-content li { margin: .35em 0; padding-left: .2em; }
.ch-post-content blockquote { margin: 2em 0; padding: 22px 24px; border-left: 3px solid var(--ch-blue); border-radius: 0 16px 16px 0; background: #f4f8ff; color: #23324b; font-size: 20px; line-height: 1.65; }
.ch-post-content img { display: block; max-width: 100%; height: auto; margin: 2em auto; border-radius: 18px; }
.ch-post-content figure { margin: 2.2em 0; }
.ch-post-content figcaption { margin-top: 8px; color: #7a8799; font-size: 11px; line-height: 1.5; text-align: center; }
.ch-post-content a { color: var(--ch-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ch-post-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 2em 0; font-size: 14px; }
.ch-post-content th, .ch-post-content td { padding: 11px 13px; border: 1px solid #e0e6ef; text-align: left; }
.ch-post-content th { background: #f5f8fc; font-weight: 700; }

.ch-post-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--ch-line); }
.ch-post-tags a { padding: 7px 11px; border: 1px solid var(--ch-line); border-radius: 999px; color: #59677d; background: #fff; font-size: 11px; text-decoration: none; }
.ch-post-tags a:hover { border-color: #b8d0ff; color: var(--ch-blue); }

.ch-post-author-card { display: flex; gap: 18px; margin-top: 46px; padding: 24px; border: 1px solid var(--ch-line); border-radius: 22px; background: #f8fafc; }
.ch-post-author-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.ch-post-author-card h2 { margin: 5px 0 6px; font-size: 18px; letter-spacing: -.02em; }
.ch-post-author-card p { margin: 0; color: var(--ch-muted); font-size: 13px; line-height: 1.6; }

.ch-post-nextprev { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.ch-post-nextprev a { min-height: 120px; padding: 22px; border: 1px solid var(--ch-line); border-radius: 22px; background: #fff; color: var(--ch-ink); text-decoration: none; box-shadow: 0 10px 30px rgba(16,24,40,.04); }
.ch-post-nextprev a:hover { border-color: #bfd3f7; transform: translateY(-2px); }
.ch-post-nextprev a.is-next { text-align: right; }
.ch-post-nextprev span { display: block; color: var(--ch-blue); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.ch-post-nextprev strong { display: block; margin-top: 9px; font-size: 15px; line-height: 1.4; font-weight: 600; }

.ch-post-related, .ch-post-comments { margin-top: 42px; padding: 34px; border: 1px solid var(--ch-line); border-radius: 28px; background: #fff; box-shadow: 0 16px 42px rgba(16,24,40,.05); }
.ch-post-section-heading { margin-bottom: 22px; }
.ch-post-section-heading h2 { margin: 7px 0 5px; font-size: clamp(25px, 4vw, 34px); letter-spacing: -.035em; font-weight: 500; }
.ch-post-section-heading p { margin: 0; color: var(--ch-muted); font-size: 13px; }
.ch-post-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ch-post-related-card { overflow: hidden; border: 1px solid var(--ch-line); border-radius: 18px; background: #fff; }
.ch-post-related-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef4fb; }
.ch-post-related-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.ch-post-related-card:hover .ch-post-related-card__media img { transform: scale(1.035); }
.ch-post-related-card__media span { display: grid; height: 100%; place-items: center; color: var(--ch-blue); font-weight: 800; letter-spacing: .12em; }
.ch-post-related-card__body { padding: 15px; }
.ch-post-related-card__body > span { color: var(--ch-blue); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.ch-post-related-card h3 { margin: 7px 0; font-size: 15px; line-height: 1.35; }
.ch-post-related-card h3 a { color: var(--ch-ink); text-decoration: none; }
.ch-post-related-card time { color: #8793a5; font-size: 10px; }

.ch-post-comments__box { max-width: 780px; }
.ch-post-comment-list { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.ch-post-comment { display: flex; gap: 12px; padding: 17px; border: 1px solid var(--ch-line); border-radius: 16px; }
.ch-post-comment__avatar img { width: 42px; height: 42px; border-radius: 50%; }
.ch-post-comment__meta { display: flex; gap: 10px; align-items: baseline; }
.ch-post-comment__meta strong { font-size: 12px; }
.ch-post-comment__meta time { color: #8995a6; font-size: 10px; }
.ch-post-comment__text { margin-top: 6px; color: #536176; font-size: 13px; line-height: 1.6; }
.ch-post-comment__text p { margin: 0; }
.ch-post-comments .comment-reply-title { margin: 30px 0 12px; font-size: 18px; font-weight: 600; }
.ch-post-comments form p { margin: 0 0 14px; }
.ch-post-comments label { display: block; margin-bottom: 6px; color: #59677b; font-size: 11px; font-weight: 600; }
.ch-post-comments input[type=text], .ch-post-comments input[type=email], .ch-post-comments input[type=url], .ch-post-comments textarea { width: 100%; box-sizing: border-box; border: 1px solid #d8e0eb; border-radius: 12px; padding: 12px 13px; background: #fff; color: var(--ch-ink); font: inherit; font-size: 13px; outline: none; }
.ch-post-comments textarea { min-height: 150px; resize: vertical; }
.ch-post-comments input:focus, .ch-post-comments textarea:focus { border-color: #9fc0ff; box-shadow: 0 0 0 4px #edf4ff; }
.ch-post-comment-note { color: #7b8799; font-size: 11px; line-height: 1.5; }
.ch-post-comment-submit { border: 0; border-radius: 999px; padding: 12px 20px; background: #0c1424; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.ch-post-comment-submit:hover { background: var(--ch-blue); }

.ch-post-footer { display: flex; justify-content: space-between; gap: 18px; padding: 22px 6px; color: #7b8799; font-size: 12px; }
.ch-post-footer a { color: var(--ch-blue); text-decoration: none; font-weight: 700; }

.carhub-news-post-empty { padding: 80px 30px; border: 1px solid var(--ch-line); border-radius: 28px; background: #fff; text-align: center; }
.carhub-news-post-empty span { color: var(--ch-blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.carhub-news-post-empty h1 { font-size: 44px; font-weight: 500; }
.carhub-news-post-empty a { color: var(--ch-blue); text-decoration: none; font-weight: 700; }

@media (max-width: 900px) {
    .carhub-news-post-page { width: min(100% - 24px, 780px); padding-top: 24px; }
    .ch-post-layout { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
    .ch-post-rail { display: none; }
    .ch-post-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .carhub-news-post-page { width: calc(100% - 16px); padding: 14px 0 34px; }
    .ch-post-article { border-radius: 24px; }
    .ch-post-hero { padding: 34px 20px 28px; }
    .ch-post-hero h1 { font-size: 38px; }
    .ch-post-byline { align-items: flex-start; flex-direction: column; gap: 13px; }
    .ch-post-cover { padding: 0 12px 12px; }
    .ch-post-cover img { border-radius: 17px; }
    .ch-post-layout { padding: 14px 18px 42px; }
    .ch-post-content { font-size: 16px; line-height: 1.78; }
    .ch-post-related, .ch-post-comments { padding: 22px 18px; border-radius: 22px; }
    .ch-post-related-grid { grid-template-columns: 1fr; }
    .ch-post-nextprev { grid-template-columns: 1fr; }
    .ch-post-nextprev a.is-next { text-align: left; }
    .ch-post-footer { flex-direction: column; }
}

@media print {
    .carhub-news-post-body .carhub-global-header, .ch-post-progress, .ch-post-rail, .ch-post-nextprev, .ch-post-related, .ch-post-comments, .ch-post-footer { display: none !important; }
    .carhub-news-post-page { width: 100%; padding: 0; }
    .ch-post-article { border: 0; box-shadow: none; }
    .ch-post-content { font-size: 12pt; }
}




/* SINGLE POST — use the exact shared Homepage header and navigation contract. */
body.carhub-news-post-body.carhub-home-body .carhub-global-header a,
body.carhub-news-post-body.carhub-home-body .carhub-global-header a:hover,
body.carhub-news-post-body.carhub-home-body .carhub-global-header a:focus,
body.carhub-news-post-body.carhub-home-body .carhub-global-header a:visited,
body.carhub-news-post-body.carhub-home-body .carhub-global-header button {
    text-decoration: none !important;
}

.ch-post-hero h1 {
    font-size: clamp(34px, 5vw, 62px);
}
.ch-post-reading-meta {
    color: #3f4d63;
    font-size: 12px;
    font-weight: 600;
}
.ch-post-reading-meta i {
    background: #7d8ba0;
}

.ch-post-toc {
    background: #fff;
    box-shadow: 0 12px 30px rgba(16,24,40,.05);
}
.ch-post-toc nav {
    counter-reset: toc-item;
}
.ch-post-toc nav a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #edf1f6;
}
.ch-post-toc nav a::before {
    counter-increment: toc-item;
    content: counter(toc-item);
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #0c1424;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.ch-post-toc nav a:last-child { border-bottom: 0; }
.ch-post-content h2,
.ch-post-content h3 { scroll-margin-top: 82px; }

.ch-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-top: 18px;
}
.ch-post-categories a {
    padding: 6px 10px;
    border: 1px solid #dbe7f7;
    border-radius: 999px;
    color: var(--ch-blue);
    background: #f7faff;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}


/* Next-post card uses the next article's real featured image. */
.ch-post-nextprev a.is-next {
    overflow: hidden;
    padding: 0;
}
.ch-post-nextprev__media {
    display: block !important;
    width: 100%;
    height: 150px;
    margin: 0 0 18px !important;
    overflow: hidden;
    border-radius: 21px 21px 0 0;
}
.ch-post-nextprev__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ch-post-nextprev a.is-next > span:not(.ch-post-nextprev__media),
.ch-post-nextprev a.is-next > strong {
    display: block;
    margin-left: 22px;
    margin-right: 22px;
}
.ch-post-nextprev a.is-next > strong {
    margin-bottom: 22px;
}
@media (max-width: 600px) {
    .ch-post-nextprev__media {
        height: 150px;
        border-radius: 21px 21px 0 0;
    }
}


/* Category discovery card below Keep Reading. */
.ch-post-category-card {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid var(--ch-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16,24,40,.05);
}

.ch-post-category-card .ch-post-section-heading {
    margin-bottom: 20px;
}

.ch-post-category-card__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ch-post-category-card__item {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--ch-line);
    border-radius: 18px;
    background: #f8fbff;
    color: var(--ch-ink);
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ch-post-category-card__item strong {
    font-size: 14px;
    line-height: 1.35;
}

.ch-post-category-card__item span {
    flex: 0 0 auto;
    color: var(--ch-blue);
    font-size: 18px;
    font-weight: 800;
}

.ch-post-category-card__item:hover {
    transform: translateY(-2px);
    border-color: #b9d0ff;
    box-shadow: 0 12px 26px rgba(16,24,40,.07);
}

@media (max-width: 760px) {
    .ch-post-category-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ch-post-category-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .ch-post-category-card__grid {
        grid-template-columns: 1fr;
    }

    .ch-post-category-card__item {
        min-height: 70px;
    }
}


/* The shared Homepage header owns all geometry. Only remove theme underlines. */
body.carhub-news-post-body.carhub-home-body .carhub-global-header a,
body.carhub-news-post-body.carhub-home-body .carhub-global-header a:hover,
body.carhub-news-post-body.carhub-home-body .carhub-global-header a:focus,
body.carhub-news-post-body.carhub-home-body .carhub-global-header a:visited {
    text-decoration: none !important;
}

/* Keep Reading and Popular Read are horizontal scroll feeds. */
.ch-post-related-grid.ch-post-horizontal-row,
.ch-post-related-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.ch-post-related-grid .ch-post-related-card {
    flex: 0 0 min(280px, 72vw);
    scroll-snap-align: start;
}

.ch-post-popular {
    margin-top: 42px;
}

/* Number the TOC links so every heading is easy to scan. */
.ch-post-toc nav {
    counter-reset: toc-item;
}

.ch-post-toc nav a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.ch-post-toc nav a::before {
    counter-increment: toc-item;
    content: counter(toc-item);
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: #101828;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.ch-post-toc nav a.level-3,
.ch-post-toc nav a.level-4,
.ch-post-toc nav a.level-5,
.ch-post-toc nav a.level-6 {
    padding-left: 0 !important;
}

.ch-post-toc nav a.level-4,
.ch-post-toc nav a.level-5,
.ch-post-toc nav a.level-6 {
    color: #667085;
}

.ch-post-content h4,
.ch-post-content h5,
.ch-post-content h6 {
    scroll-margin-top: 95px;
}

@media (max-width: 560px) {
    .ch-post-related-grid .ch-post-related-card {
        flex-basis: min(280px, 76vw);
    }
}


/* ==========================================================================
   SHARED HOMEPAGE HEADER — FINAL ROUTE OVERRIDE
   News routes must use the exact Homepage header geometry.
   ========================================================================== */
body.carhub-home-body .carhub-global-header {
    height: calc(
        var(--carhub-home-adminbar-height, 0px)
        + var(--carhub-home-header-height, 64px)
    ) !important;
    min-height: calc(
        var(--carhub-home-adminbar-height, 0px)
        + var(--carhub-home-header-height, 64px)
    ) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.carhub-home-body .carhub-home-header {
    position: fixed !important;
    top: var(--carhub-home-adminbar-height, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: var(--carhub-home-header-height, 64px) !important;
    min-height: var(--carhub-home-header-height, 64px) !important;
    max-height: var(--carhub-home-header-height, 64px) !important;
    margin: 0 !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.carhub-home-body .carhub-home-drawer__nav {
    margin: 0 !important;
    padding: 10px 16px 30px !important;
    box-sizing: border-box !important;
}

body.carhub-home-body .carhub-home-drawer__nav > a,
body.carhub-home-body .carhub-home-drawer__nav > details > summary {
    margin: 0 !important;
    padding: 14px 4px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    line-height: 1.25 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

body.carhub-home-body .carhub-home-drawer__nav > details {
    margin: 0 !important;
    padding: 0 !important;
}

body.carhub-home-body .carhub-home-drawer__nav > details + details {
    margin-top: 0 !important;
}

body.carhub-home-body .carhub-home-drawer__nav > details > summary {
    margin: 0 !important;
}

@media (max-width: 640px) {
    :root {
        --carhub-home-header-height: 62px;
    }

    body.carhub-home-body .carhub-global-header {
        height: calc(
            var(--carhub-home-adminbar-height, 0px)
            + 62px
        ) !important;
        min-height: calc(
            var(--carhub-home-adminbar-height, 0px)
            + 62px
        ) !important;
    }

    body.carhub-home-body .carhub-home-header {
        height: 62px !important;
        min-height: 62px !important;
        max-height: 62px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* Compact Explore All Categories tiles shared with the News hub. */
.ch-post-category-card__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    scrollbar-width: thin;
}

.ch-post-category-card__item {
    flex: 0 0 min(150px, 52vw);
    min-height: 66px;
    height: 66px;
    padding: 12px 14px;
    border-radius: 16px;
}

.ch-post-category-card__item strong {
    font-size: 13px;
    line-height: 1.25;
}


/* FINAL: Explore All Categories uses the same compact 3-column grid as News and Category pages. */
.ch-post-category-card__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
}

.ch-post-category-card__item {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 66px !important;
    height: 66px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
}

.ch-post-category-card__item strong {
    min-width: 0;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

@media (max-width: 480px) {
    .ch-post-category-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .ch-post-category-card__item {
        min-height: 62px !important;
        height: 62px !important;
        padding: 10px !important;
        border-radius: 14px !important;
    }

    .ch-post-category-card__item strong {
        font-size: 11px !important;
    }

    .ch-post-category-card__item span {
        font-size: 14px !important;
    }
}

/* Explore All Categories: improve category label readability. */
.ch-post-category-card__item strong {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}
