/* ============================================================
   Chi-Town Focus News — site.css
   ============================================================ */

:root {
    --navy: #082f4d;
    --orange: #ef6c23;
    --ink: #151515;
    --muted: #6b7280;
    --line: #d8dee7;
    --soft: #f3f5f7;
    --max: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #e8ebef;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
    background: var(--navy);
    color: #c5cdd8;
    font-size: 0.75rem;
    padding: 0 max(1rem, calc((100vw - var(--max)) / 2 + 1rem));
}

.topbar-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    max-width: var(--max);
    padding: 0.35rem 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-icon {
    margin-right: 0.1rem;
    opacity: 0.75;
    vertical-align: middle;
}

.topbar-sep {
    color: #4a6070;
    margin: 0 0.2rem;
}

.topbar-right {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.topbar-right a {
    color: #c5cdd8;
    display: flex;
}

.topbar-right a:hover {
    color: #fff;
}

.topbar-search {
    display: flex;
}

/* ── Site header / masthead ─────────────────────────────────── */
.site-header {
    background: #fff;
    border-bottom: 3px solid var(--navy);
}

.masthead {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr auto;
    margin: 0 auto;
    max-width: var(--max);
    padding: 0.8rem 2.8rem 0.6rem;
    position: relative;
}

.brand {
    align-items: center;
    color: var(--orange);
    display: flex;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-family: Arial, sans-serif;
    font-weight: 900;
    gap: 0.85rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.brand strong {
    color: var(--navy);
}

.brand em {
    color: var(--orange);
    font-style: normal;
}

.focus-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: visible;
}



.brand-mark {
    align-items: center;
    background: #fff;
    border: 3px solid #2d80bd;
    border-radius: 50%;
    color: var(--orange);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 900;
    height: 2.1rem;
    justify-content: center;
    width: 2.1rem;
}

.brand-tagline {
    color: #28313d;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.masthead-ad-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.masthead-date {
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

/* ── Nav bar ─────────────────────────────────────────────────── */
.nav-pager {
    align-items: stretch;
    background: var(--navy);
    display: flex;
    position: relative;
    width: 100%;
}

.nav-bar {
    background: var(--navy);
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    -ms-overflow-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2.8rem;
    scrollbar-width: none;
    white-space: nowrap;
}

.nav-bar::-webkit-scrollbar {
    display: none;
}

.nav-bar a {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #d0d8e4;
    display: inline-block;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.7rem 0.9rem;
    text-transform: uppercase;
    transition: color 0.15s, background 0.15s;
}

.nav-bar a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-bar a.nav-home,
.nav-bar a.active {
    background: var(--orange);
    color: #fff;
}

.nav-more {
    align-self: center;
    color: #8a9bac;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.7rem 1rem;
    text-transform: uppercase;
}

.nav-page-btn {
    align-items: center;
    background: #061f33;
    border: 0;
    bottom: 0;
    color: #fff;
    cursor: pointer;
    display: none;
    flex: 0 0 2.4rem;
    font-size: 1.25rem;
    font-weight: 700;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 0;
    width: 2.4rem;
    z-index: 2;
}

.nav-page-btn[data-nav-dir="-1"] {
    left: 0;
}

.nav-page-btn[data-nav-dir="1"] {
    right: 0;
}

.nav-pager.is-paged .nav-page-btn {
    display: flex;
}

.nav-page-btn:disabled {
    cursor: default;
    opacity: 0.4;
}

.nav-search {
    align-items: center;
    color: #d0d8e4;
    display: flex;
    flex: 0 0 auto;
    padding: 0 0.85rem;
}

.nav-search:hover {
    color: #fff;
}

/* ── Page wrapper ───────────────────────────────────────────── */
.page-wrap {
    margin: 0 auto;
    max-width: var(--max);
    padding: 0.75rem 1rem 1.5rem;
}

/* ── Ad bar below nav ───────────────────────────────────────── */
.in-feed-ad-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 1rem;
}

.ad-label {
    color: #9aa3ad;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.masthead-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Ad slot generic ────────────────────────────────────────── */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-slot a {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-leaderboard {
    width: 728px;
    max-width: 100%;
    height: 90px;
}

.ad-square {
    width: 300px;
    max-width: 100%;
    height: 250px;
}

.ad-in-feed {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

/* ── Home layout ────────────────────────────────────────────── */
.home-wrap {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 300px;
}

.home-main {
    min-width: 0;
}

.home-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

/* ── Hero news grid ─────────────────────────────────────────── */
.news-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
    margin-bottom: 1rem;
}

.story-card {
    background: #1d2630;
    overflow: hidden;
    position: relative;
}

.story-card>a {
    display: block;
    height: 100%;
    position: relative;
}

.lead-story {
    min-height: 420px;
}

.compact {
    min-height: 198px;
}

.story-card img,
.story-video,
.story-placeholder {
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.story-video {
    background: #111;
    display: block;
}

.story-placeholder {
    background: linear-gradient(rgba(8, 47, 77, 0.18), rgba(8, 47, 77, 0.42)),
        linear-gradient(135deg, #b9c7d3, #f5f0e8 45%, #8bb1c7);
}

.story-overlay {
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.85));
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 3.5rem 0.85rem 0.85rem;
    position: absolute;
}

.cat-badge {
    background: var(--orange);
    color: #fff;
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    padding: 0.15em 0.55em;
    text-transform: uppercase;
}

.lead-story h1 {
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.1;
    margin: 0 0 0.35rem;
}

.lead-story .story-dek {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0 0 0.6rem;
}

.read-more-btn {
    background: var(--orange);
    color: #fff;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.3em 0.75em;
    text-transform: uppercase;
}

.compact h2 {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.15;
    margin: 0;
}

.story-meta {
    align-items: center;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.72rem;
    gap: 0.4rem;
    margin: 0.3rem 0 0;
}

.story-meta svg {
    flex-shrink: 0;
}

.feature-stack {
    display: grid;
    gap: 0.5rem;
}

/* ── Section header ─────────────────────────────────────────── */
.section-header {
    align-items: center;
    border-bottom: 2px solid var(--navy);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding-bottom: 0.35rem;
}

.section-title {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}



/* ── Latest news list ───────────────────────────────────────── */
.home-section {
    margin-bottom: 1.25rem;
}

.latest-list {
    display: grid;
    gap: 0;
}

.latest-item {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    padding: 0.65rem 0;
    align-items: start;
}

.latest-thumb {
    display: block;
    flex-shrink: 0;
    height: 65px;
    overflow: hidden;
    width: 90px;
}

.latest-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.mini-placeholder {
    background: linear-gradient(135deg, #d9e3ea, #b4c7d4);
    height: 100%;
    width: 100%;
}

.latest-body {
    min-width: 0;
}

.cat-label {
    color: var(--orange);
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.latest-body h3 {
    font-size: 0.88rem;
    line-height: 1.25;
    margin: 0 0 0.2rem;
}

.latest-body h3 a:hover {
    color: var(--orange);
}

.latest-body p {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.latest-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.7rem;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

/* ── Featured categories grid ───────────────────────────────── */
.cat-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(3, 1fr);
}

.cat-box {
    border-radius: 4px;
    color: #fff;
    display: grid;
    font-size: 0.8rem;
    gap: 0.15rem;
    padding: 0.8rem 0.75rem;
    text-align: center;
}

.cat-box:hover {
    filter: brightness(1.08);
}

.cat-icon {
    font-size: 1.35rem;
}

.cat-box strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.2;
}

.cat-count {
    font-size: 0.68rem;
    opacity: 0.85;
}



/* ── Sidebar panels ─────────────────────────────────────────── */
.panel {
    background: #fff;
    border: 1px solid var(--line);
}

.panel-head {
    align-items: center;
    border-bottom: 3px solid var(--navy);
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
}

.panel-head h2 {
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.panel-body {
    padding: 0 0.75rem;
}

/* Most popular */
.popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-item {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1.5rem 68px 1fr;
    align-items: center;
    padding: 0.55rem 0;
}

.popular-rank {
    color: var(--orange);
    font-size: 0.95rem;
    font-weight: 900;
    text-align: center;
}

.popular-thumb {
    display: block;
    height: 50px;
    overflow: hidden;
    width: 68px;
}

.popular-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.popular-video,
.popular-placeholder {
    background: #d0dbe6;
    display: block;
    height: 50px;
    object-fit: cover;
    width: 68px;
}

.popular-body a {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.popular-body a:hover {
    color: var(--orange);
}

.popular-body .latest-meta {
    font-size: 0.68rem;
}

/* Sidebar ad */
.sidebar-ad-wrap {
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem;
}

/* Calendar / Events */
.event-item {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0.2rem;
    padding: 0.55rem 0;
}

.event-item time {
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.event-item strong {
    color: var(--ink);
    font-size: 0.82rem;
}

.event-item span {
    color: var(--muted);
    font-size: 0.75rem;
}

/* ── Category listing page ──────────────────────────────────── */
.listing-page,
.article-page,
.dashboard-page,
.login-page {
    background: #fff;
    margin: 1rem auto;
    max-width: 880px;
    padding: 2rem;
}

.listing-page h1,
.article-page h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    line-height: 1.08;
    margin: 0.2rem 0 0.75rem;
}

.listing-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.mini-story {
    background: #fff;
    border-top: 4px solid var(--navy);
    min-width: 0;
}

.mini-story a {
    display: block;
    padding: 0.55rem;
}

.mini-story img,
.mini-video,
.mini-placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #d9e3ea, #b4c7d4);
    display: block;
    object-fit: cover;
    width: 100%;
}

.mini-story .cat-label {
    color: var(--navy);
}

.mini-story h3 {
    font-size: 0.95rem;
    line-height: 1.15;
    margin: 0.35rem 0;
    overflow-wrap: anywhere;
}

.mini-story p {
    color: #30343a;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
}

.listing-card h3 {
    display: -webkit-box;
    font-size: 1rem;
    line-height: 1.18;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.listing-card p {
    display: -webkit-box;
    font-size: 0.85rem;
    line-height: 1.38;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* category listing with sidebar */
.content-with-follow {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 300px;
    margin: 1rem auto;
    max-width: var(--max);
    padding: 0 1rem 1.5rem;
}

.content-with-follow .listing-page,
.content-with-follow .article-page {
    margin: 0;
    max-width: none;
}

/* ── Article detail ─────────────────────────────────────────── */
.section-label {
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.article-meta {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.article-hero {
    background: #111;
    display: block;
    max-height: 520px;
    object-fit: cover;
    width: 100%;
}

.article-video-wrap {
    background: #111;
    margin: 1rem 0;
}

.article-video {
    background: #111;
    display: block;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    width: 100%;
}

.video-actions {
    margin: -0.4rem 0 1rem;
}

.video-link,
.video-link-inline {
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dek {
    color: #344255;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.article-body {
    font-family: Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.78;
}

.draft-notice {
    background: #fff3cd;
    border-left: 4px solid #f0ad4e;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
}

/* ── Share / Follow bar ─────────────────────────────────────── */
.share-bar {
    margin-top: 1.25rem;
}

.share-label {
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 800;
    margin: 0 0 0.45rem;
    text-transform: uppercase;
}

.share-actions,
.follow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.share-btn {
    align-items: center;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 2rem;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 2rem;
}

.share-icon {
    display: block;
    fill: currentColor;
    height: 1.15rem;
    width: 1.15rem;
}

.sr-only {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.instagram {
    background: #e4405f;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.gmail {
    background: #ea4335;
}

.follow-us .follow-actions {
    flex-direction: row;
}

/* ── Follow Us sidebar panel ────────────────────────────────── */
.follow-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.follow-icon {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.follow-icon.fb {
    background: #1877f2;
}

.follow-icon.tw {
    background: #000;
}

.follow-icon.ig {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.follow-icon.yt {
    background: #ff0000;
}

.follow-icon:hover {
    opacity: 0.88;
}

/* ── Dashboard ──────────────────────────────────────────────── */
.dashboard-page {
    max-width: 1060px;
}

.dashboard-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.dashboard-head h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0.25rem 0 0;
}

.dashboard-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.dashboard-actions form {
    margin: 0;
}

.button {
    background: var(--orange);
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    justify-content: center;
    padding: 0.65rem 1rem;
    text-transform: uppercase;
}

.button.secondary {
    background: var(--navy);
}

.button.danger {
    background: #b42318;
}

a.danger {
    color: #b42318;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    white-space: nowrap;
}

.messages,
.suggestion-box,
.form-errors {
    background: #f1f7fb;
    border-left: 4px solid var(--orange);
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.suggestion-box {
    display: grid;
    gap: 0.3rem;
}

.table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.dashboard-table th,
.dashboard-table td {
    border-bottom: 1px solid var(--line);
    padding: 0.8rem;
    text-align: left;
    vertical-align: top;
}

.dashboard-table th {
    color: #344255;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.dashboard-table td span {
    color: var(--muted);
    display: block;
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.article-form {
    display: grid;
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.4rem;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    border: 1px solid #aab4c0;
    font: inherit;
    padding: 0.7rem;
    width: 100%;
}

.form-field input[type='checkbox'] {
    justify-self: start;
    width: auto;
}

.form-field small {
    color: var(--muted);
    font-weight: 400;
}

.field-error {
    color: #b42318;
    font-size: 0.85rem;
}

.login-page {
    max-width: 460px;
}

.login-box {
    display: grid;
    gap: 1rem;
}

/* Ad management */
.ad-preview {
    background: #f7f9fb;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin-top: 0.5rem;
}

.ad-preview img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}

.follow-icon.whatsapp {
    color: #25D366;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--navy);
    color: #c5cdd8;
    margin-top: 2rem;
}

.footer-inner {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--max);
    padding: 1.25rem 1rem 0.75rem;
}

.footer-brand .brand {
    color: var(--orange);
    font-size: 1.35rem;
}

.footer-brand p {
    color: #7a8fa3;
    font-size: 0.75rem;
    margin: 0.25rem 0 0;
}

.footer-brand-link {
    display: inline-flex;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    align-self: center;
}

.footer-nav a {
    color: #c5cdd8;
    font-size: 0.78rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-follow strong {
    color: #fff;
    display: block;
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.footer-copy {
    border-top: 1px solid #1a3d58;
    color: #5a7085;
    font-size: 0.72rem;
    padding: 0.6rem 1rem;
    text-align: center;
}

/* ── Misc helpers ───────────────────────────────────────────── */
.muted {
    color: var(--muted);
    font-size: 0.88rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {

    .home-wrap,
    .content-with-follow {
        grid-template-columns: minmax(0, 1fr) 260px;
    }

    .masthead {
        grid-template-columns: auto 1fr;
    }

    .masthead-date {
        display: none;
    }
}

@media (max-width: 860px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .feature-stack {
        grid-template-columns: 1fr 1fr;
    }

    .compact {
        min-height: 160px;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .latest-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .latest-thumb {
        width: 72px;
        height: 52px;
    }

    .latest-item .read-more-btn {
        display: none !important;
    }
}

@media (max-width: 720px) {

    .home-wrap,
    .content-with-follow {
        grid-template-columns: 1fr;
    }

    .home-sidebar {
        display: none;
    }

    .masthead {
        grid-template-columns: 1fr;
    }

    .masthead-ad-area {
        display: none;
    }

    .brand {
        justify-content: center;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        gap: 0.35rem;
    }

    .feature-stack {
        grid-template-columns: 1fr;
    }

    .page-wrap {
        padding: 0.5rem 0.5rem 1rem;
    }
}

/* ── Category page listing ──────────────────────────────────────────────── */
.cat-page-title {
    color: #1c3d70;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.cat-page-divider {
    width: 44px;
    height: 3px;
    background: #f2662c;
    margin-bottom: 1rem;
    border-radius: 2px;
}

.category-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.listing-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    border-top: 1px solid #eaeaea;
    padding-top: 1.75rem;
}

.cat-listing-card {
    display: flex !important;
    flex-direction: row;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #eaeaea;
    align-items: flex-start;
}

.cat-listing-thumb {
    display: block !important;
    flex-shrink: 0;
    width: 250px;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cat-listing-thumb img,
.cat-listing-thumb .cat-listing-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    transition: transform 0.25s ease;
}

.cat-listing-thumb:hover img,
.cat-listing-thumb:hover .cat-listing-img {
    transform: scale(1.03);
}

.cat-listing-thumb .listing-video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

.cat-listing-thumb .mini-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: linear-gradient(135deg, #d9e3ea, #b4c7d4);
}

.cat-listing-body {
    flex: 1;
    min-width: 0;
}

.cat-listing-headline {
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}

.cat-listing-headline a {
    color: #1c3d70;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-listing-headline a:hover {
    color: #f2662c;
}

.cat-listing-summary {
    margin: 0 0 0.75rem 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.55;
}

.cat-listing-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.825rem;
    color: #777;
    align-items: center;
}

.cat-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.cat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 860px) {
    .cat-listing-thumb {
        width: 180px;
    }

    .cat-listing-headline {
        font-size: 1.15rem;
    }
}

@media (max-width: 640px) {
    .cat-listing-card {
        flex-direction: column !important;
        gap: 0.85rem;
        align-items: stretch;
    }

    .cat-listing-thumb {
        width: 100% !important;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        height: auto !important;
    }

    .cat-page-title {
        font-size: 1.75rem;
    }

    .cat-listing-headline {
        font-size: 1.15rem;
    }
}