@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --red: #e2231a;
    --red-dark: #b91c11;
    --ink: #141414;
    --ink-soft: #4a4a4a;
    --bg: #eef0f2;
    --card: #ffffff;
    --border: #e6e6e6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans Devanagari', 'Inter', 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Utility bar */
.util-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    color: #666;
    font-size: 12px;
}
.util-bar .wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.util-date { letter-spacing: 0.2px; }

/* Top header */
header.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 40;
}
header.site-header .wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.nav-scroll {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.header-nav a {
    color: var(--ink);
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}
.header-nav a:hover { color: var(--red); }
.header-nav a.active { color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 7px; }

/* "और खबरें" mega menu trigger (sits outside .nav-scroll so its panel isn't clipped) */
.nav-more { position: relative; flex-shrink: 0; }
.nav-more-btn {
    color: var(--ink);
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-more-btn:hover { color: var(--red); }
.nav-more-btn .caret { font-size: 10px; position: relative; top: 1px; }
.nav-more-panel {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
    min-width: 190px;
    padding: 6px 0;
    z-index: 55;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-more-panel a {
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.nav-more-panel a:hover { color: var(--red); background: #f7f7f7; }
.nav-more.open .nav-more-panel { display: flex; opacity: 1; transform: translateY(0); }

/* Mega menu ("और खबरें" panel) - editorial multi-column layout instead of a long vertical list */
.nav-more-panel.mega-menu {
    flex-direction: column;
    left: auto;
    right: 0;
    width: min(640px, 86vw);
    padding: 20px 22px 14px;
    border-radius: 10px;
}
.mega-menu-head { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mega-menu-head h2 { font-size: 19px; font-weight: 800; color: var(--ink); white-space: normal; }
.mega-menu-head p { font-size: 12.5px; color: #888; margin-top: 2px; font-weight: 500; }
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 20px;
}
.mega-menu-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    white-space: normal;
    transition: color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}
.mega-menu-item:hover, .mega-menu-item:focus-visible { color: var(--red); background: #fbf4f3; transform: translateX(2px); }
.mega-menu-item.active { color: var(--red); }
.mega-menu-item .mm-count { font-size: 11px; font-weight: 500; color: #999; white-space: nowrap; }
.mega-menu-featured {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.mega-menu-featured a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}
.mega-menu-featured a:hover { color: var(--red); }
.mm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; flex-shrink: 0; }

@media (hover: hover) {
    .nav-more:hover .nav-more-panel { display: flex; opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
    .nav-more-panel.mega-menu { width: min(420px, 88vw); }
    .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
}

header.site-header h1 {
    font-size: 26px;
    letter-spacing: 0.2px;
    font-weight: 800;
}
header.site-header h1 a { color: var(--ink); display: block; }
header.site-header h1 a span { color: var(--red); }
header.site-header h1 img { height: 46px; width: auto; display: block; }

/* Mobile nav toggle (hamburger) - hidden on desktop/tablet, shown at the mobile breakpoint below */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    padding: 6px;
    cursor: pointer;
    order: -1;
    flex-shrink: 0;
}

/* Mobile off-canvas nav: dedicated accordion menu, not a squeezed-down mega menu */
.mobile-nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.mobile-nav-overlay.open { display: block; opacity: 1; }
.mobile-nav-panel {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    z-index: 91;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-nav-panel.open { transform: translateX(0); }
.mnp-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.mnp-brand { font-size: 14.5px; font-weight: 800; letter-spacing: 0.4px; color: var(--ink); }
.mnp-close {
    background: none; border: none; font-size: 15px; color: var(--ink-soft); cursor: pointer;
    padding: 10px; min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
}
.mnp-close:hover { color: var(--red); }
.mnp-body { display: flex; flex-direction: column; padding: 4px 8px; }
.mnp-link {
    padding: 13px 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
}
.mnp-link.active { color: var(--red); }
.mnp-breaking { color: var(--red); font-weight: 700; gap: 8px; }
.mnp-accordion-btn {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    font-family: inherit;
    cursor: pointer;
    min-height: 44px;
}
.mnp-plus { font-size: 19px; color: var(--red); transition: transform 0.2s ease; line-height: 1; }
.mnp-accordion-btn[aria-expanded="true"] .mnp-plus { transform: rotate(45deg); }
.mnp-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: #fafafa;
}
.mnp-accordion-panel.open { max-height: 900px; }
.mnp-accordion-panel .mnp-link { padding-left: 26px; border-bottom: 1px solid #eee; }
.mnp-foot {
    margin-top: auto;
    display: flex; flex-direction: column;
    padding: 6px 8px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.mnp-foot a { padding: 12px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); min-height: 44px; display: flex; align-items: center; }
.mnp-foot a:hover { color: var(--red); }

@media (max-width: 700px) {
    .header-nav { display: none; }
    .mobile-nav-toggle { display: flex; align-items: center; justify-content: center; }
}

/* Masthead banner */
.masthead-banner { width: 100%; overflow: hidden; line-height: 0; }
.masthead-banner img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
    .masthead-banner img { height: 80px; object-fit: cover; object-position: center center; }
}
@media (max-width: 480px) {
    .masthead-banner img { height: 60px; }
}

.social-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: #555;
}
.social-icon:hover { border-color: var(--red); color: var(--red); }
.live-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 7px 14px;
    border-radius: 4px;
}
.live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #fff;
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-search { position: relative; }
.search-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    color: #555;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.search-icon:hover { border-color: var(--red); color: var(--red); }
.search-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
    padding: 10px;
    gap: 8px;
    z-index: 60;
}
.search-panel.open { display: flex; }
.search-panel input {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 13.5px;
    font-family: inherit;
    width: 220px;
}
.search-panel button {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .search-panel input { width: 150px; }
}

/* Category nav */
nav.categories {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 50px;
    z-index: 39;
}
nav.categories .wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
nav.categories .wrap::-webkit-scrollbar { display: none; }
nav.categories a {
    color: var(--ink);
    padding: 11px 14px;
    display: inline-block;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
nav.categories a:hover {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* Breaking news bar */
.ticker-wrap {
    background: var(--ink);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.ticker-label {
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.25;
    padding: 9px 16px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;
}
.ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: scrollTicker 32s linear infinite;
    padding: 9px 0;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-track a {
    font-size: 13.5px;
    margin-right: 55px;
    font-weight: 500;
    color: #eee;
    position: relative;
}
.ticker-track a::after {
    content: "•";
    position: absolute;
    right: -32px;
    color: var(--red);
}
.ticker-track a:hover { color: #fff; }
@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.ticker-arrows { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.ticker-arrow {
    width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ccc;
    background: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    cursor: pointer;
}
.ticker-arrow:hover { border-color: var(--red); color: #fff; }
.ticker-close {
    flex-shrink: 0;
    width: 34px;
    display: flex; align-items: center; justify-content: center;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    border-left: 1px solid rgba(255,255,255,0.15);
    background: none;
}
.ticker-close:hover { color: #fff; }

/* YouTube Shorts row - horizontal scroll, 5 cards visible on desktop, 3 on mobile */
.yt-shorts-wrap {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.yt-shorts-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.yt-shorts-scroll::-webkit-scrollbar { display: none; }
.yt-short-card { flex: 0 0 calc((100% - 4 * 12px) / 5); min-width: 0; }
.yt-short-thumb {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}
.yt-short-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(226, 35, 26, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding-left: 3px;
}
.yt-short-card p {
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 700px) {
    .yt-short-card { flex: 0 0 calc((100% - 2 * 10px) / 3); }
    .yt-shorts-scroll { gap: 10px; }
}

/* Trending topics row */
.trending-topics {
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    max-width: 1240px;
    margin: 0 auto;
}
.trending-topics .tt-label {
    flex-shrink: 0;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0.3px;
}
.trending-topics .tt-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.trending-topics .tt-scroll::-webkit-scrollbar { display: none; }
.trending-topics .tt-scroll a {
    flex-shrink: 0;
    border: 1px solid #d8d8d8;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
}
.trending-topics .tt-scroll a:hover { border-color: var(--red); color: var(--red); }

/* Layout */
.main-wrap {
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 28px;
    align-items: start;
}
.main-wrap > .main-col, .main-wrap > .sidebar-col { min-width: 0; }
@media (max-width: 800px) {
    .main-wrap { grid-template-columns: 1fr; }
}

/* Category badge (colored pill, shown over card images) */
.cat-badge {
    display: inline-block;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 11px;
    border-radius: 3px;
}

/* Hero grid: 1 big overlay card + 2 stacked smaller overlay cards (Foxiz style) */
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 24px; }
.hero-grid > * { min-width: 0; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-side-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.overlay-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--red);
    display: block;
    aspect-ratio: 4/3;
}
/* Matches YouTube's native 16:9 thumbnail ratio - the old 4/3.1 cropped a meaningful chunk off
   both edges of every YouTube-thumbnail-sourced featured image, cutting into any text baked near
   the edges of the source image. */
.hero-grid .overlay-card.main { aspect-ratio: 16/9; }
.hero-side-col .overlay-card { aspect-ratio: 16/9.2; flex: 1; }
.overlay-card img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; inset: 0;
    opacity: 0.88;
}
.overlay-card .overlay-grad {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(153,45,10,0.95) 0%, rgba(153,45,10,0.85) 22%, rgba(153,45,10,0) 48%);
}
.overlay-card .cat-badge { position: absolute; top: 14px; left: 14px; }
.overlay-card .overlay-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.overlay-card h2, .overlay-card h3 { color: #fff; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.overlay-card.main h2 { font-size: 24px; }
.hero-side-col .overlay-card h3 { font-size: 15px; margin-bottom: 4px; }
.overlay-card:hover h2, .overlay-card:hover h3 { color: #ffd4d1; }
.overlay-card .post-excerpt { color: #ddd; font-size: 13.5px; margin-top: 6px; }
.overlay-card .post-meta { color: #ccc; }
.overlay-card .post-meta a:hover { color: #fff; }

/* Section headings: "/ Name /" slash style (Foxiz) */
.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 26px 0 14px;
}
.section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}
.section-heading .slash { color: var(--red); font-weight: 800; }
.section-more { font-size: 13px; font-weight: 700; color: var(--red); }
.section-more:hover { text-decoration: underline; }

/* Ad slot placeholder - swap the inner content for real ad network code/banner when ready */
.ad-slot {
    border: 1px dashed #cfcfcf;
    background: #fafafa;
    border-radius: 6px;
    text-align: center;
    padding: 18px;
    margin: 24px 0;
    color: #999;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.ad-slot span { display: block; margin-top: 4px; font-size: 11px; text-transform: none; font-weight: 500; color: #bbb; }

/* धर्म section - dark band, horizontal scroll of image cards (posts + podcast videos) */
.most-read-band { background: var(--ink); color: #fff; padding: 26px 0 30px; margin: 30px 0; border-radius: 8px; }
.most-read-band .section-heading { color: #fff; }
.most-read-band .mr-wrap { padding: 0 22px; }
.dharm-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.dharm-scroll::-webkit-scrollbar { display: none; }
.dharm-card { flex: 0 0 240px; min-width: 0; }
.dharm-thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #222;
}
.dharm-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.dharm-thumb .cat-badge { position: absolute; top: 10px; left: 10px; }
.dharm-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(226, 35, 26, 0.9); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; padding-left: 3px;
}
.dharm-card p {
    font-size: 13.5px; font-weight: 700; line-height: 1.4; color: #fff;
    margin-top: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dharm-card:hover p { color: #ff9f9a; }
@media (max-width: 700px) { .dharm-card { flex: 0 0 200px; } }

/* Hero-side podcast card - autoplaying muted embed, swapped to the next playlist video on a timer */
.podcast-iframe {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border: 0; pointer-events: none;
}
.post-podcast-badge { position: absolute; top: 14px; left: 14px; background: var(--red); z-index: 2; }

/* Discover Categories tile grid */
.discover-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 700px) { .discover-grid { grid-template-columns: 1fr 1fr; } }
.discover-tile { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: #ddd; }
.discover-tile img { width: 100%; height: 100%; object-fit: cover; }
.discover-tile .dt-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.05) 60%); }
.discover-tile .dt-label { position: absolute; left: 12px; bottom: 10px; color: #fff; }
.discover-tile .dt-label .name { font-weight: 800; font-size: 14px; }
.discover-tile .dt-label .count { font-size: 11.5px; color: #ddd; }

/* Compact horizontal news rows (the core AajTak pattern) */
.news-rows { display: flex; flex-direction: column; }
.news-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.news-row:last-child { border-bottom: none; }
.news-row .thumb {
    flex-shrink: 0;
    width: 96px;
    aspect-ratio: 4/3;
    border-radius: 5px;
    overflow: hidden;
    background: #ddd;
}
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row h3 { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.news-row h3 a:hover { color: var(--red); }
.news-row .post-meta { margin-top: 5px; }

.news-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.news-grid-2col .news-row { grid-column: span 1; }
@media (max-width: 600px) { .news-grid-2col { grid-template-columns: 1fr; } }

.post-meta { color: #8a8a8a; font-size: 12px; font-weight: 500; }
.post-excerpt { color: var(--ink-soft); font-size: 13.5px; }

/* Text-only headline list (AajTak "बड़ी ख़बरें" style) */
.text-list { display: flex; flex-direction: column; }
.text-list a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}
.text-list a:last-child { border-bottom: none; }
.text-list a:hover { color: var(--red); }

/* Highlight box (sidebar "इंडिया टुडे विशेष" style) */
.highlight-box {
    border: 2px solid var(--red);
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 20px;
    background: #fff;
}
.highlight-box .hb-label {
    color: var(--red);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.highlight-box .hb-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
}
.highlight-box .hb-item:last-child { border-bottom: none; padding-bottom: 0; }
.highlight-box .hb-item .thumb { flex-shrink: 0; width: 62px; aspect-ratio: 4/3; border-radius: 5px; overflow: hidden; background: #ddd; }
.highlight-box .hb-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.highlight-box .hb-item a { font-size: 13px; font-weight: 600; line-height: 1.4; }
.highlight-box .hb-item a:hover { color: var(--red); }
.highlight-box .hb-more { display: inline-block; margin-top: 10px; color: var(--red); font-weight: 700; font-size: 12.5px; }
.highlight-box .hb-more:hover { text-decoration: underline; }

/* Editor's Pick (Foxiz-style): full-width feature row (text + image) + 3-item grid below */
.editors-pick-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
    margin-bottom: 22px;
}
.editors-pick-feature > * { min-width: 0; }
@media (max-width: 700px) { .editors-pick-feature { grid-template-columns: 1fr; } }
.editors-pick-feature .ep-text h3 { font-size: 23px; font-weight: 800; line-height: 1.35; margin-bottom: 12px; }
.editors-pick-feature .ep-text h3 a:hover { color: var(--red); }
.editors-pick-feature .ep-text .post-excerpt { margin-bottom: 12px; }
.editors-pick-feature .ep-image {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #ddd;
}
.editors-pick-feature .ep-image img { width: 100%; height: 100%; object-fit: cover; }
.editors-pick-feature .ep-image .cat-badge { position: absolute; left: 14px; bottom: 14px; }

.editors-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .editors-pick-grid { grid-template-columns: 1fr; } }
.editors-pick-grid .ep-item .thumb {
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 10px;
    background: #ddd;
}
.editors-pick-grid .ep-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.editors-pick-grid .ep-item .thumb .cat-badge { position: absolute; left: 10px; bottom: 10px; }
.editors-pick-grid .ep-item h4 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.editors-pick-grid .ep-item h4 a:hover { color: var(--red); }

/* Sidebar "Follow Us" box */
.follow-grid { display: flex; flex-direction: column; gap: 10px; }
.follow-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}
.follow-item:hover { border-color: var(--red); color: var(--red); }
.follow-item .social-icon { flex-shrink: 0; }

/* Featured video section: one big video + side list */
.featured-video-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.featured-video-wrap > * { min-width: 0; }
@media (max-width: 700px) { .featured-video-wrap { grid-template-columns: 1fr; } }
.featured-video { position: relative; border-radius: 8px; overflow: hidden; background: #111; aspect-ratio: 16/9.5; }
.featured-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.featured-video .fv-banner {
    position: absolute; top: 0; left: 0; right: 0;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.35;
    padding: 10px 16px;
}
.featured-video .fv-play {
    position: absolute; bottom: 14px; right: 14px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--red);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; padding-left: 3px;
}
.fv-side-list { display: flex; flex-direction: column; gap: 12px; }
.fv-side-list .news-row { padding: 0; border-bottom: none; }
.fv-side-list .news-row .thumb { width: 84px; }

/* Reel-style horizontal scroll (short videos) */
.reel-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.reel-scroll::-webkit-scrollbar { display: none; }
.reel-card { flex-shrink: 0; width: 108px; }
.reel-card .thumb {
    position: relative;
    width: 108px; aspect-ratio: 3/4;
    border-radius: 8px; overflow: hidden; background: #ddd;
}
.reel-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.reel-card .thumb::after {
    content: "▶";
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(226,35,26,0.92);
    color: #fff; font-size: 11px; padding-left: 2px;
    display: flex; align-items: center; justify-content: center;
}
.reel-card p { font-size: 12px; font-weight: 600; margin-top: 6px; line-height: 1.35; }

/* Sidebar */
.sidebar-box {
    background: var(--card);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.sidebar-box h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--red);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sidebar-box h3::before {
    content: "";
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid var(--red);
}
.trending-item {
    display: flex;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trending-item .thumb {
    flex-shrink: 0;
    width: 68px;
    aspect-ratio: 4/3;
    border-radius: 5px;
    overflow: hidden;
    background: #ddd;
}
.trending-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.trending-item a { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.trending-item a:hover { color: var(--red); }
.trending-views { font-size: 11px; color: #999; margin-top: 4px; }

/* Sidebar YouTube subscribe widget */
.yt-subscribe-box {
    background: var(--card);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ysb-thumb { position: relative; display: block; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.ysb-thumb-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ysb-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.ysb-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(226,35,26,0.92); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; padding-left: 3px;
}
.ysb-body { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ysb-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ysb-title { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.ysb-subs { font-size: 11.5px; color: #888; margin-top: 1px; }
.ysb-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--red); color: #fff; font-weight: 800; font-size: 13.5px;
    padding: 12px; margin: 0 14px 14px; border-radius: 6px;
    transition: background-color 0.15s ease;
}
.ysb-btn:hover { background: var(--red-dark); }

/* Video card badge */
.video-badge { position: relative; overflow: hidden; }
.video-badge::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.45), transparent 55%);
}
.video-badge::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(226,35,26,0.92);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding-left: 3px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    pointer-events: none;
    transition: transform 0.15s ease;
}
.video-card:hover .video-badge::after { transform: translate(-50%, -50%) scale(1.1); }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-card { background: var(--card); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: transform 0.18s ease; }
.video-card:hover { transform: translateY(-3px); }
.video-card .video-badge { aspect-ratio: 16/10; background: #ddd; }
.video-card .video-badge img { width: 100%; height: 100%; object-fit: cover; }
.video-card .card-body { padding: 10px; }
.video-card h4 { font-size: 13px; font-weight: 600; line-height: 1.4; }
.video-card h4 a:hover { color: var(--red); }

/* Single post page */

/* Hero: full-bleed featured image with breadcrumb/badge/title/excerpt overlay (Foxiz-style) */
.post-hero { position: relative; width: 100%; overflow: hidden; background: #111; }
.post-hero-img { width: 100%; height: 460px; object-fit: cover; display: block; opacity: 0.92; }
.post-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.88) 20%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.05) 100%);
    display: flex; align-items: flex-end;
}
.post-hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px 26px; width: 100%; color: #fff; }
.post-breadcrumb { font-size: 12px; color: #ddd; margin-bottom: 10px; }
.post-breadcrumb a { color: #ddd; }
.post-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.post-hero-badge { display: inline-block; margin-bottom: 12px; background: var(--red); }
.post-hero-title { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.post-hero-excerpt { font-size: 15px; color: #eee; max-width: 760px; }
@media (max-width: 700px) {
    .post-hero-img { height: 300px; }
    .post-hero-title { font-size: 21px; }
    .post-hero-excerpt { font-size: 13.5px; }
}

/* Gallery format: hero shows a slideshow of images instead of one featured image */
.post-hero-gallery { position: relative; width: 100%; height: 460px; overflow: hidden; }
.post-hero-gallery .gallery-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 0.4s ease;
}
.post-hero-gallery .gallery-slide.active { opacity: 0.92; }
@media (max-width: 700px) { .post-hero-gallery { height: 300px; } }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,0.45); color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; cursor: pointer; z-index: 3;
}
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-nav:hover { background: rgba(226,35,26,0.85); }
.gallery-dots { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 6px; z-index: 3; }
.gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.gallery-dot.active { background: #fff; }
.gallery-counter {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,0,0.55); color: #fff; font-size: 12px; font-weight: 700;
    padding: 4px 10px; border-radius: 20px; z-index: 3;
}

/* Dark meta bar below the hero: author, "save", share icons, reading time */
.post-meta-bar { background: #191919; color: #fff; }
.post-meta-bar-inner {
    max-width: 1240px; margin: 0 auto; padding: 14px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-meta-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: var(--red); color: #fff; font-weight: 800; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.author-name { font-weight: 700; font-size: 13.5px; }
.post-updated { font-size: 11.5px; color: #aaa; }
.save-btn {
    background: none; border: 1px solid #555; color: #ddd; border-radius: 20px;
    padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; margin-left: 6px; font-family: inherit;
}
.save-btn:hover, .save-btn.saved { border-color: var(--red); color: var(--red); }
.post-meta-actions { display: flex; align-items: center; gap: 8px; }
.meta-share-label { font-size: 12px; color: #aaa; margin-right: 2px; }
.meta-icon-btn {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid #555; color: #ddd; background: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; text-decoration: none;
}
.meta-icon-btn:hover { border-color: var(--red); color: var(--red); }
.reading-time { font-size: 12px; color: #aaa; margin-left: 6px; white-space: nowrap; }
.meta-more { position: relative; }
.meta-more-panel {
    display: none; position: absolute; top: 100%; right: 0; margin-top: 8px;
    background: #fff; border-radius: 6px; box-shadow: 0 10px 26px rgba(0,0,0,0.25);
    min-width: 160px; padding: 6px 0; z-index: 60; flex-direction: column;
}
.meta-more-panel a { display: block; padding: 9px 16px; font-size: 13px; font-weight: 600; color: var(--ink); }
.meta-more-panel a:hover { background: #f5f5f5; color: var(--red); }
.meta-more.open .meta-more-panel { display: flex; }

/* Sticky share column: vertical on the left on desktop, fixed bottom bar on mobile */
.post-sticky-share {
    position: sticky; top: 90px; align-self: start;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    width: 46px;
}
.post-sticky-share-label { font-size: 10px; font-weight: 800; color: var(--ink-soft); letter-spacing: 0.5px; margin-bottom: 2px; }
.post-sticky-share .meta-icon-btn { border-color: #ccc; color: #666; }
@media (max-width: 900px) {
    .post-sticky-share {
        position: fixed; bottom: 0; left: 0; right: 0; top: auto;
        flex-direction: row; justify-content: center; width: 100%;
        background: #fff; border-top: 1px solid var(--border);
        padding: 10px 0; z-index: 70; gap: 16px;
    }
    .post-sticky-share-label { display: none; }
}

.post-full-wrap {
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 46px 2.2fr 1fr;
    gap: 28px;
    align-items: start;
}
.post-full-wrap > * { min-width: 0; }
@media (max-width: 900px) {
    .post-full-wrap { grid-template-columns: 1fr; padding-bottom: 60px; }
}
.post-full { background: var(--card); border-radius: 8px; padding: 26px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.post-full .content { font-size: 17px; color: #222; }
.post-full .content img { max-width: 100%; height: auto; border-radius: 6px; margin: 18px 0; }
.post-full .content p { margin-bottom: 16px; }
.post-full .content h2, .post-full .content h3 {
    font-weight: 800; color: var(--ink); line-height: 1.35;
    margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--red);
}
.post-full .content h2 { font-size: 22px; }
.post-full .content h3 { font-size: 19px; }
.post-full .content ul, .post-full .content ol { margin: 0 0 18px; padding-left: 22px; }
.post-full .content ul { list-style: disc; }
.post-full .content li { margin-bottom: 8px; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 20px; border-radius: 6px; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Videos embedded mid-article via the Edit Post editor's "Embed" (video) toolbar button */
.post-full .content iframe.ql-video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; margin: 20px 0; }

/* Social embeds (Twitter/X, Instagram, Facebook) pasted via the same "Embed" button */
.post-full .content .ql-raw-embed { max-width: 550px; margin: 20px auto; }

/* Table of Contents box */
.toc-box { background: #f8f8f8; border-radius: 8px; padding: 16px 18px; margin-bottom: 22px; }
.toc-toggle {
    width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between;
    font-size: 14.5px; font-weight: 800; cursor: pointer; padding: 0; font-family: inherit; color: var(--ink);
}
.toc-caret { transition: transform 0.15s; font-size: 11px; }
.toc-box.collapsed .toc-caret { transform: rotate(180deg); }
.toc-list { list-style: none; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.toc-box.collapsed .toc-list { display: none; }
@media (max-width: 600px) { .toc-list { grid-template-columns: 1fr; } }
.toc-list li a { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.6; }
.toc-list li a:hover { color: var(--red); }

/* Drop-cap on the article's first paragraph */
.post-dropcap > p:first-of-type::first-letter {
    font-size: 52px; font-weight: 800; float: left; line-height: 0.85; padding: 6px 8px 0 0; color: var(--ink);
}

/* Pull-quote styling for <blockquote> in post content */
.content blockquote {
    text-align: center; font-size: 22px; font-weight: 800; line-height: 1.5; color: var(--ink);
    margin: 30px 0; padding: 0 30px; position: relative;
}
.content blockquote::before {
    content: "\201C"; color: var(--red); font-size: 46px; font-weight: 800;
    display: block; line-height: 1;
}
.content blockquote cite, .content blockquote footer {
    display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 10px; font-style: normal;
}

/* Sidebar "Stay Connected" widget */
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.connect-item {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px;
    font-size: 13px; font-weight: 600; color: var(--ink);
}
.connect-item:hover { border-color: var(--red); color: var(--red); }

/* Sidebar "Latest News" widget items with category label */
.latest-news-item .cat-label { font-size: 11px; font-weight: 700; color: var(--red); margin-bottom: 2px; }

.tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
    display: inline-block;
    background: #f2f2f2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    color: #555;
}
.tags a:hover { background: var(--red); color: #fff; }

.back-link {
    display: inline-block;
    margin-top: 28px;
    font-weight: 600;
    font-size: 14px;
    color: var(--red);
}
.back-link:hover { text-decoration: underline; }

/* Comments section (post page) */
.share-copied-msg {
    font-size: 12.5px;
    font-weight: 600;
    color: #166534;
    background: #e7f9ee;
    padding: 6px 12px;
    border-radius: 20px;
}

.comments-section { margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--border); }
.comments-heading { font-size: 19px; font-weight: 800; margin-bottom: 16px; }
.comment-alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 16px;
}
.comment-alert-success { background: #e7f9ee; color: #14824b; border: 1px solid #b8ecd0; }
.comment-alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f6c6c2; }
.comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.comment-item { padding: 14px 16px; background: #f8f8f8; border-radius: 8px; }
.comment-item-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 10px; }
.comment-author { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.comment-date { font-size: 12px; color: #999; flex-shrink: 0; }
.comment-text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; white-space: pre-wrap; }
.comment-empty { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.comment-form { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.comment-form h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 600px) { .comment-form-row { grid-template-columns: 1fr; } }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-family: inherit;
    resize: vertical;
}
.comment-form textarea { margin-bottom: 14px; }
.comment-form button {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 11px 22px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}
.comment-form button:hover { background: var(--red-dark); }
/* Honeypot field - hidden from real visitors, left for bots to fill in */
.comment-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pagination { text-align: center; margin: 30px 0 10px; grid-column: 1 / -1; }
.pagination a {
    padding: 10px 20px;
    background: var(--ink);
    color: #fff;
    border-radius: 4px;
    margin: 0 5px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.15s;
}
.pagination a:hover { background: var(--red); }

.news-infinite-loading {
    text-align: center;
    padding: 18px 0;
    color: var(--ink-soft);
    font-size: 13.5px;
    font-weight: 600;
}

/* Per-category blocks - heading with a red rule, then one of two layouts below */
.cat-section {
    margin: 28px 0;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
}
.cat-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
}
.cat-section-head h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}
.cat-section-head h3 a:hover { color: var(--red); }
.cat-section-more { font-size: 12.5px; font-weight: 700; color: var(--red); white-space: nowrap; }
.cat-section-more:hover { text-decoration: underline; }

/* Pattern A: list / feature / list, 3 columns */
.cs-pattern-a {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 26px;
    align-items: start;
}
.cs-pattern-a > * { min-width: 0; }
.csa-list { display: flex; flex-direction: column; gap: 16px; }
.csa-item h5 { font-size: 14px; font-weight: 700; line-height: 1.45; }
.csa-item:hover h5 { color: var(--red); }
.csa-meta { font-size: 11.5px; color: #999; margin-top: 4px; }
.csa-excerpt { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin-top: 6px; }
.csa-list-compact .csa-item.csa-item-compact { display: flex; gap: 10px; align-items: flex-start; }
.csa-item-compact .thumb {
    flex-shrink: 0; width: 60px; aspect-ratio: 4/3;
    border-radius: 5px; overflow: hidden; background: #ddd;
}
.csa-item-compact .thumb img { width: 100%; height: 100%; object-fit: cover; }
.csa-item-compact h5 { font-size: 13px; }
.csa-feature { display: block; }
.csa-feature .thumb {
    aspect-ratio: 16/10; border-radius: 6px; overflow: hidden;
    background: #ddd; margin-bottom: 12px;
}
.csa-feature .thumb img { width: 100%; height: 100%; object-fit: cover; }
.csa-feature h4 { font-size: 18px; font-weight: 800; line-height: 1.4; }
.csa-feature:hover h4 { color: var(--red); }
.csa-byline { font-size: 12px; color: #999; margin: 6px 0 8px; }
@media (max-width: 900px) {
    .cs-pattern-a { grid-template-columns: 1fr; }
}

/* Pattern B: 5-card horizontal row */
.csb-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.csb-item .thumb {
    aspect-ratio: 4/3; border-radius: 6px; overflow: hidden;
    background: #ddd; margin-bottom: 8px;
}
.csb-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.csb-item h5 { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.csb-item:hover h5 { color: var(--red); }
.csb-meta { font-size: 11px; color: #999; margin-top: 5px; }
@media (max-width: 900px) {
    .csb-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .csb-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Category page banner */
.category-banner {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    margin-bottom: 20px;
}
.category-banner .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.category-banner h2 {
    font-size: 22px;
    font-weight: 800;
    border-left: 5px solid var(--red);
    padding-left: 12px;
}

/* Search results page */
.search-form-page {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    max-width: 480px;
}
.search-form-page input {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
}
.search-form-page button {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}
.search-empty {
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: var(--ink-soft);
}

/* 404 */
.error-page {
    text-align: center;
    padding: 100px 20px;
    max-width: 500px;
    margin: 0 auto;
}
.error-page .code {
    font-size: 96px;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}
.error-page p { margin: 18px 0 26px; color: var(--ink-soft); font-size: 16px; }
.error-page a {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    padding: 12px 26px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
}
.error-page a:hover { background: var(--red); }

footer {
    text-align: center;
    padding: 34px 20px;
    color: #aaa;
    font-size: 13px;
    background: var(--ink);
    margin-top: 40px;
}
footer .foot-brand { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
