/* =========================================================
   ONLINE PATI NEWS — EDITORIAL DESIGN SYSTEM
========================================================= */

:root {
    --brand: #1a56ae;
    --brand-dark: #134287;
    --brand-soft: #eef4fc;

    --red: #1a56ae;
    --red-dark: #134287;
    --red-soft: #eef4fc;
    --urgent-red: #c1121f;

    --black: #111111;
    --dark: #181818;
    --text: #242424;
    --muted: #6b7280;

    --gold: #c99a24;

    --border: #e5e7eb;
    --border-dark: #d1d5db;

    --bg: #ffffff;
    --bg-soft: #f7f7f7;

    --green: #15803d;
    --blue: #1a56ae;

    --container: 1240px;

    --font-ui: "Inter", sans-serif;
    --font-nepali: "Noto Sans Devanagari", sans-serif;
    --font-serif: "Noto Serif Devanagari", serif;
}

/* =========================================================
   STATIC PAGE CONTENT CARD & TYPOGRAPHY
========================================================= */
.static-page-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    max-width: 980px;
    margin: 0 auto 60px;
}

.static-page-card h2 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 32px 0 16px;
    padding-left: 12px;
    border-left: 4px solid var(--blue, #1a56ae);
    line-height: 1.35;
}

.static-page-card h2:first-child {
    margin-top: 0;
}

.static-page-card > p,
.static-page-card > section > p,
.static-page-card .static-body-p {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 20px;
}

/* Feature Values Grid Styling */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 28px 0 36px;
}

.about-value-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 22px;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-value-card:hover {
    border-color: #1a56ae;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(26, 86, 174, 0.08);
    transform: translateY(-2px);
}

.about-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #eef4fc;
    color: #1a56ae;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.about-value-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px !important;
    line-height: 1.3;
}

.about-value-card p {
    font-family: var(--font-body);
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: #64748b !important;
    margin: 0 !important;
    padding: 0 6px !important;
}

/* Minimalist Leadership Cards */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    max-width: 680px;
}

.leadership-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.leadership-card:hover {
    border-color: #1a56ae;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.leadership-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leadership-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.leadership-info {
    flex: 1;
    min-width: 0;
}

.leadership-info h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px !important;
    line-height: 1.25;
}

.leadership-info .leadership-role {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #1a56ae;
    margin: 0 0 6px !important;
    line-height: 1.2;
}

.leadership-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 13px;
    margin-top: 4px;
}

.leadership-socials a {
    color: #94a3b8;
    transition: color 0.15s ease;
}

.leadership-socials a:hover {
    color: #1a56ae;
}

@media (max-width: 768px) {
    .about-values-grid,
    .leadership-grid,
    .contact-grid-top {
        grid-template-columns: 1fr;
    }
    .static-page-card {
        padding: 26px 20px;
    }
}

/* Contact Page Scoped Styling */
.contact-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.contact-quick-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-quick-card:hover {
    border-color: #1a56ae;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(26, 86, 174, 0.06);
}

.contact-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eef4fc;
    color: #1a56ae;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.contact-quick-icon.icon-emerald {
    background: #ecfdf5;
    color: #059669;
}

.contact-quick-card h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px !important;
}

.contact-quick-card p {
    font-family: var(--font-body);
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* FAQ Component Scoped Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0 36px;
}

.faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.faq-card.active,
.faq-card:hover {
    border-color: #1a56ae;
    box-shadow: 0 6px 20px rgba(26, 86, 174, 0.07);
}

.faq-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    box-sizing: border-box;
}

.faq-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.faq-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef4fc;
    color: #1a56ae;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.faq-card.active .faq-num {
    background: #1a56ae;
    color: #ffffff;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 17.5px;
    font-weight: 700;
    color: #111827;
    margin: 0 !important;
    line-height: 1.35;
}

.faq-chevron {
    color: #94a3b8;
    font-size: 18px;
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
}

.faq-card.active .faq-chevron {
    transform: rotate(180deg);
    color: #1a56ae;
}

.faq-body {
    padding: 0 24px 22px 76px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.faq-body p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
}

@media (max-width: 768px) {
    .faq-header {
        padding: 16px 18px;
    }
    .faq-body {
        padding: 0 18px 18px 18px;
    }
    .faq-title {
        font-size: 15.5px;
    }
}

/* =========================================================
   RESET & BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-nepali);
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

/* =========================================================
   TOP BAR
========================================================= */
.topbar {
    height: 36px;
    background: #f8f8f8;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--muted);
}

.topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-slogan {
    font-weight: 700;
    color: var(--blue, #1a56ae);
    font-family: var(--font-nepali);
    display: flex;
    align-items: center;
    gap: 5px;
}

.topbar i {
    color: var(--blue, #1a56ae);
}

.top-social {
    display: flex;
    gap: 12px;
}

.top-social a:hover {
    color: var(--red);
}

/* =========================================================
   MAIN HEADER (STICKY AT TOP)
========================================================= */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-main {
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: white;
    place-items: center;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
}

.menu-button:hover {
    border-color: var(--blue, #1a56ae);
    color: var(--blue, #1a56ae);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.2s ease;
    margin: 0 auto;
    text-align: center;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
    flex-shrink: 0;
}

.brand-name {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name strong {
    display: block;
    font-family: var(--font-ui), "Noto Sans Devanagari", sans-serif;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -0.8px;
    line-height: 1.1;
    color: #111111;
}

.brand-name strong span.brand-accent {
    color: var(--blue, #1a56ae);
}

.brand-name span.brand-tagline {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--blue, #1a56ae);
    font-family: var(--font-nepali);
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.header-search {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-search:hover {
    border-color: var(--blue, #1a56ae);
    color: var(--blue, #1a56ae);
}

/* =========================================================
   NAVIGATION
========================================================= */
.main-nav {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid var(--border);
    background: white;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.nav-inner {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
    margin: 0 auto;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    height: 48px;
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 600;
    color: #222222;
    border-right: 1px solid #f1f1f1;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-list li:first-child a {
    color: var(--blue, #1a56ae);
    font-weight: 700;
}

.nav-list a:hover {
    background: var(--blue-soft, #eef4fc);
    color: var(--blue, #1a56ae);
}

.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 210px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--blue, #1a56ae);
    border-radius: 0 0 12px 12px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 200;
}

.nav-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-dropdown-menu li a {
    height: 38px;
    padding: 0 18px;
    border-right: none;
    border-bottom: 1px solid #f8fafc;
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.nav-dropdown-menu li:last-child a {
    border-bottom: none;
}

.nav-dropdown-menu li a:hover {
    background: #eef4fc;
    color: #1a56ae;
    font-weight: 600;
    padding-left: 22px;
}

/* =========================================================
   SEARCH PANEL
========================================================= */
.search-panel {
    display: none;
    position: absolute;
    z-index: 100;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.search-panel.active {
    display: block;
}

.search-inner {
    padding: 25px 0;
}

.search-form {
    display: flex;
    max-width: 760px;
    margin: auto;
}

.search-form input {
    flex: 1;
    height: 52px;
    border: 1px solid var(--border);
    border-right: none;
    padding: 0 18px;
    outline: none;
    font-size: 16px;
}

.search-form input:focus {
    border-color: var(--red);
}

.search-form button {
    width: 58px;
    border: none;
    background: var(--red);
    color: white;
    font-size: 20px;
}

/* =========================================================
   BREAKING NEWS (MARQUEE & BRAND COLOR #1a56ae)
========================================================= */
.breaking,
.breaking-bar {
    background: #1a56ae;
    color: #ffffff;
    border-bottom: 2px solid #134287;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 86, 174, 0.2);
    height: 44px;
}

.breaking-inner {
    height: 44px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.breaking-label {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #134287;
    color: #ffffff;
    padding: 0 20px;
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 1px;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.7; }
}

.breaking-marquee-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 10px;
}

.breaking-marquee-track {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    animation: marqueeScroll 28s linear infinite;
}

.breaking-marquee-track:hover {
    animation-play-state: paused;
}

.breaking-marquee-item {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 14px;
    height: 100%;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breaking-marquee-item:hover {
    color: #ffd166;
    text-decoration: underline;
}

.breaking-separator {
    display: inline-flex;
    align-items: center;
    color: #ffd166;
    font-size: 12px;
    opacity: 0.95;
    margin: 0 4px;
    line-height: 1;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================================
   ADVERTISEMENT
========================================================= */
.ad-section {
    padding: 22px 0;
}

.ad-label {
    display: block;
    text-align: center;
    color: #9ca3af;
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.ad-box {
    background: #f7f7f7;
    border: 1px dashed #d7d7d7;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-family: var(--font-ui);
    font-size: 11px;
}

.ad-970 {
    max-width: 970px;
    margin: auto;
}

.ad-250 {
    min-height: 250px;
}

/* =========================================================
   HERO SECTION (VERTICAL STACK OF LEAD STORIES)
========================================================= */
.hero {
    padding: 28px 0 42px;
}

.hero-stack {
    display: flex;
    flex-direction: column;
    gap: 46px;
}

.hero-main {
    position: relative;
    display: block;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.hero-main:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-main-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.4s ease;
}

.hero-main:hover .hero-main-image {
    transform: scale(1.015);
}

.hero-main-content {
    padding-top: 24px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-no-thumb .hero-main-content {
    padding-top: 10px;
    max-width: 1000px;
}

.category-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--blue, #1a56ae);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.category-label::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--blue, #1a56ae);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.6px;
    max-width: 1050px;
    color: #111111;
}

.hero-main:hover .hero-title {
    color: var(--blue, #1a56ae);
}

.hero-excerpt {
    max-width: 850px;
    color: var(--muted);
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.6;
}

.hero-main .meta {
    justify-content: center;
    font-size: 13.5px;
    margin-top: 16px;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.9rem;
    }
}

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 11px;
}

.meta i {
    color: var(--red);
}

/* =========================================================
   SECTION HEADER
========================================================= */
.section {
    padding: 35px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom: 2px solid var(--black);
    margin-bottom: 20px;
}

.section-title {
    position: relative;
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 800;
    padding-bottom: 9px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 55px;
    height: 3px;
    background: var(--red);
}

.section-link {
    font-family: var(--font-ui);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    padding-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-link:hover {
    text-decoration: underline;
}

/* =========================================================
   LATEST + MOST READ
========================================================= */
.newsroom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) 330px;
    gap: 35px;
}

.latest-list {
    border-top: 1px solid var(--border);
}

.latest-item {
    display: grid;
    grid-template-columns: 75px 1fr 125px;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.latest-time {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
}

.latest-category {
    font-family: var(--font-ui);
    font-size: 9px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
}

.latest-title {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

.latest-item:hover .latest-title {
    color: var(--red);
}

.latest-thumb {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
}

/* MOST READ */
.most-read {
    border-top: 3px solid var(--black);
}

.most-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.most-number {
    font-family: var(--font-ui);
    font-size: 25px;
    font-weight: 800;
    color: #d1d5db;
}

.most-item h3 {
    font-size: 15px;
    line-height: 1.5;
}

.most-item:hover h3 {
    color: var(--red);
}

/* =========================================================
   TRENDING
========================================================= */
.trending-section {
    background: #f7f7f7;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trending-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.trending-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.trending-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.trending-card:hover img {
    transform: scale(1.04);
}

.trending-number {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    background: var(--red);
    color: white;
    display: grid;
    place-items: center;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 800;
}

.trending-card h3 {
    padding: 13px 14px 17px;
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.45;
}

.trending-card:hover h3 {
    color: var(--red);
}

/* =========================================================
   CATEGORY LEAD
========================================================= */
.category-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 30px;
}

.category-main-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

.category-main h3 {
    font-family: var(--font-serif);
    font-size: 27px;
    line-height: 1.35;
    margin-top: 12px;
}

.category-main:hover h3 {
    color: var(--red);
}

.category-list {
    border-top: 1px solid var(--border);
}

.category-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.category-item img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
}

.category-item h4 {
    font-size: 16px;
    line-height: 1.45;
}

.category-item:hover h4 {
    color: var(--red);
}

/* =========================================================
   TWO COLUMN CATEGORY
========================================================= */
.two-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.category-block {
    min-width: 0;
}

.category-block .section-header {
    margin-bottom: 16px;
}

.category-block .section-title {
    font-size: 22px;
}

.small-lead-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

.small-lead-title {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.4;
    margin-top: 10px;
}

.small-lead:hover .small-lead-title {
    color: var(--red);
}

.mini-list {
    margin-top: 14px;
    border-top: 1px solid var(--border);
}

.mini-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
}

.mini-list a::before {
    content: "—";
    color: var(--red);
    margin-right: 8px;
}

.mini-list a:hover {
    color: var(--red);
}

/* =========================================================
   PROVINCE
========================================================= */
.province-section {
    background: #f8f8f8;
}

.province-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    margin-bottom: 22px;
    scrollbar-width: none;
}

.province-tabs::-webkit-scrollbar {
    display: none;
}

.province-btn {
    border: 1px solid var(--border);
    background: white;
    padding: 8px 17px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}

.province-btn.active,
.province-btn:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.province-pane {
    display: none;
}

.province-pane.active {
    display: block;
}

.province-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
}

.province-main img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

.province-main h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.4;
    margin-top: 9px;
}

.province-small {
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.province-small img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.province-small h4 {
    padding: 11px 13px 15px;
    font-size: 16px;
    line-height: 1.45;
}

.province-small:hover h4,
.province-main:hover h3 {
    color: var(--red);
}

/* =========================================================
   MARKET
========================================================= */
.market-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 170px repeat(4, 1fr);
    align-items: center;
    background: white;
}

.market-label {
    padding: 17px 18px;
    background: var(--black);
    color: white;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.market-item {
    padding: 13px 17px;
    border-right: 1px solid var(--border);
    font-family: var(--font-ui);
}

.market-item:last-child {
    border-right: none;
}

.market-item span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 3px;
}

.market-value {
    font-weight: 800;
    font-size: 14px;
}

.up {
    color: var(--green);
}

.down {
    color: #dc2626;
}

/* =========================================================
   SPECIAL REPORT (BRAND COLOR #1a56ae)
========================================================= */
.special-report {
    background: linear-gradient(135deg, #134287 0%, #1a56ae 100%);
    color: white;
    margin: 40px 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 86, 174, 0.18);
}

.special-grid {
    min-height: 430px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
}

.special-image {
    position: relative;
    overflow: hidden;
}

.special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.special-report:hover .special-image img {
    transform: scale(1.03);
}

.special-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 55px;
}

.special-label {
    color: #ffd166;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.special-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.35;
    font-weight: 800;
    color: #ffffff;
}

.special-content p {
    color: rgba(255, 255, 255, 0.88);
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
}

.special-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    background: #ffffff;
    color: #1a56ae;
    padding: 11px 24px;
    border-radius: 4px;
    width: max-content;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.special-button:hover {
    background: #ffd166;
    color: #111111;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .special-grid {
        grid-template-columns: 1fr;
    }
    .special-image img {
        aspect-ratio: 16 / 9;
        height: auto;
    }
    .special-content {
        padding: 35px 25px;
    }
}

.special-button:hover {
    color: #ffb8bc;
}

/* =========================================================
   OPINION
========================================================= */
.opinion-section {
    background: #fafafa;
}

.opinion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.opinion-card {
    background: white;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.quote {
    font-family: Georgia, serif;
    font-size: 50px;
    line-height: .7;
    color: var(--red);
}

.opinion-author {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
}

.opinion-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.45;
    margin-top: 8px;
}

.opinion-card:hover h3 {
    color: var(--red);
}

/* =========================================================
   MULTIMEDIA (PHOTO / VIDEO SECTION — BRAND THEME)
========================================================= */
.multimedia {
    background: linear-gradient(145deg, #0b2247 0%, #10376d 50%, #1a56ae 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.multimedia::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 209, 102, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.multimedia .section-header {
    border-color: rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 1;
}

.multimedia .section-title {
    color: #ffffff;
    font-family: var(--font-serif);
}

.multimedia .section-title::before {
    background: #ffd166;
}

.multimedia .section-link {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.multimedia .section-link:hover {
    background: #ffffff;
    color: var(--blue, #1a56ae);
    border-color: #ffffff;
}

.multimedia-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.video-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    display: block;
}

.video-main img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.video-main:hover img {
    transform: scale(1.025);
}

.video-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 60px 25px 22px;
    background: linear-gradient(transparent, rgba(11, 34, 71, 0.95));
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(26, 86, 174, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-size: 30px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.video-main:hover .play-button {
    background: #134287;
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(255, 209, 102, 0.4);
    color: #ffd166;
}

.video-overlay h3 {
    font-family: var(--font-serif);
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
}

.video-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease;
}

.video-card:hover {
    transform: translateY(-2px);
}

.video-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    width: 100%;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-card h4 {
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 600;
    margin-top: 8px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.video-card:hover h4 {
    color: #ffd166;
}

/* =========================================================
   HEALTH / TECHNOLOGY
========================================================= */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

/* =========================================================
   NEWSLETTER
========================================================= */
.newsletter {
    background: var(--red);
    color: white;
    margin-top: 45px;
}

.newsletter-inner {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter h2 {
    font-family: var(--font-serif);
    font-size: 29px;
}

.newsletter p {
    margin-top: 5px;
    color: #ffd9dc;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    min-width: 430px;
}

.newsletter-form input {
    height: 48px;
    flex: 1;
    border: none;
    padding: 0 16px;
    outline: none;
    font-size: 15px;
}

.newsletter-form button {
    border: none;
    background: var(--black);
    color: white;
    padding: 0 20px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: #111;
    color: #ddd;
    padding-top: 85px;
    padding-bottom: 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 55px;
}

.footer-brand {
    padding-right: 35px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0;
    flex-shrink: 0;
}

.footer-brand h3 {
    color: white;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.2;
}

.footer-brand p {
    margin-top: 14px;
    color: #aaa;
    font-size: 14.5px;
    line-height: 1.9;
}

.footer-title {
    color: white;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
    letter-spacing: 0.5px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin: 12px 0;
}

.footer li a {
    color: #bbb;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.footer li a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    border-radius: 4px;
    display: grid;
    place-items: center;
    color: #ccc;
    font-size: 17px;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
    transform: translateY(-2px);
}

.footer-middle {
    margin-top: 60px;
    padding: 32px 0;
    border-top: 1px solid #282828;
    border-bottom: 1px solid #282828;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    font-size: 14px;
    color: #aaa;
    line-height: 1.7;
}

.footer-middle strong {
    color: #eee;
}

.footer-bottom {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #888;
    font-family: var(--font-ui);
    font-size: 12px;
    padding-top: 15px;
}

/* =========================================================
   BACK TO TOP
========================================================= */
.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 43px;
    height: 43px;
    background: var(--red);
    color: white;
    border: none;
    display: none;
    place-items: center;
    z-index: 80;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-top.show {
    display: grid;
}

/* =========================================================
   MOBILE MENU (MOBILE / TABLET ONLY)
========================================================= */
.mobile-menu {
    display: none !important;
    position: fixed;
    inset: 0;
    background: white;
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-head {
    height: 70px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.mobile-menu-head strong {
    font-size: 20px;
}

.mobile-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: white;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.mobile-nav {
    list-style: none;
    padding: 15px 20px;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav a {
    display: block;
    padding: 14px 4px;
    font-weight: 700;
}

.mobile-nav a:hover {
    color: var(--blue, #1a56ae);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {
    .header-left {
        display: flex;
        align-items: center;
    }

    .menu-button {
        display: grid;
    }

    .mobile-menu {
        display: block !important;
    }

    .main-nav {
        display: none;
    }

    .header-main {
        display: grid;
        grid-template-columns: 44px 1fr auto;
        gap: 12px;
        min-height: 75px;
    }

    .brand-name strong {
        font-size: 22px;
    }

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

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

    .market-strip {
        grid-template-columns: 130px repeat(2, 1fr);
    }

    .market-item:nth-child(n+4) {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .topbar {
        height: 32px;
    }

    .topbar-right {
        display: none;
    }

    .header-main {
        min-height: 75px;
        grid-template-columns: 45px 1fr 45px;
        gap: 8px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand-name strong {
        font-size: 18px;
    }

    .brand-name span {
        display: none;
    }

    .language {
        display: none;
    }

    .header-search {
        width: 42px;
    }

    .main-nav {
        display: none;
    }

    .breaking-inner {
        grid-template-columns: 105px 1fr;
    }

    .breaking-label {
        padding: 0 10px;
        font-size: 12px;
    }

    .breaking-controls {
        display: none;
    }

    .breaking-content {
        padding: 0 12px;
    }

    .breaking-content a {
        font-size: 12px;
    }

    .ad-section {
        padding: 14px 0;
    }

    .hero {
        padding-top: 17px;
    }

    .hero-main-image {
        aspect-ratio: 16 / 9;
    }

    .hero-main-content {
        text-align: left;
        align-items: flex-start;
    }

    .category-label, 
    .hero-main .meta {
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 27px;
    }

    .hero-excerpt {
        font-size: 15px;
    }

    .section {
        padding: 25px 0;
    }

    .section-title {
        font-size: 21px;
    }

    .newsroom-grid {
        gap: 25px;
    }

    .latest-item {
        grid-template-columns: 58px 1fr;
        gap: 10px;
    }

    .latest-thumb {
        display: none;
    }

    .latest-title {
        font-size: 15px;
    }

    .trending-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .trending-card h3 {
        font-size: 14px;
        padding: 9px;
    }

    .trending-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .category-lead {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-main h3 {
        font-size: 21px;
    }

    .category-item {
        grid-template-columns: 100px 1fr;
        gap: 11px;
    }

    .category-item h4 {
        font-size: 14px;
    }

    .two-category,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .province-main {
        grid-column: 1 / -1;
    }

    .market-strip {
        grid-template-columns: 1fr 1fr;
    }

    .market-label {
        grid-column: 1 / -1;
    }

    .market-item:nth-child(n+4) {
        display: block;
    }

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

    .special-image {
        min-height: 240px;
    }

    .special-content {
        padding: 30px 22px;
    }

    .special-content h2 {
        font-size: 27px;
    }

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

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

    .video-list {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-inner {
        padding: 30px 0;
        display: block;
    }

    .newsletter-form {
        min-width: 0;
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .footer-middle {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-bottom {
        display: block;
        padding: 18px 0;
    }

    .footer-bottom p + p {
        margin-top: 7px;
    }
}

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

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

    .province-main {
        grid-column: auto;
    }

    .video-list {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        display: block;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        height: 46px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

/* =========================================================
   CATEGORY PAGE EDITORIAL SYSTEM
========================================================= */
.category-page-container,
.post-detail-container,
.static-page-container {
    padding: 24px 0 60px;
}

/* Breadcrumb */
.category-breadcrumb-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 0;
    margin-bottom: 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 13.5px;
    color: var(--muted);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: var(--blue, #1a56ae);
}

.breadcrumb-item.active {
    color: var(--blue, #1a56ae);
    font-weight: 700;
}

.breadcrumb-separator {
    color: #94a3b8;
    font-size: 11px;
    display: flex;
    align-items: center;
}

.category-post-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #eef4fc;
    color: var(--blue, #1a56ae);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-ui);
}

/* Masthead */
.category-masthead {
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.category-masthead-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.category-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-accent-bar {
    width: 5px;
    height: 38px;
    background: var(--blue, #1a56ae);
    border-radius: 3px;
}

.category-main-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    margin: 0;
}

.category-sort-controls {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
}

.sort-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-ui);
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sort-tab.active {
    background: #ffffff;
    color: var(--blue, #1a56ae);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sort-tab:hover:not(.active) {
    color: #111111;
}

.category-description {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 820px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.category-subnav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-ui);
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-pill:hover {
    border-color: var(--blue, #1a56ae);
    color: var(--blue, #1a56ae);
    background: #eef4fc;
}

.cat-pill.active {
    background: var(--blue, #1a56ae);
    color: #ffffff;
    border-color: var(--blue, #1a56ae);
    font-weight: 700;
}

/* Category Hero Grid */
.category-hero-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 28px;
    margin-bottom: 42px;
}

.cat-hero-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cat-hero-card:hover {
    border-color: rgba(26, 86, 174, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.cat-hero-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.cat-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cat-hero-card:hover .cat-hero-img {
    transform: scale(1.025);
}

.cat-hero-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--blue, #1a56ae);
    color: white;
    padding: 4px 11px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-hero-body {
    padding: 24px;
}

.cat-hero-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.cat-hero-card:hover .cat-hero-title {
    color: var(--blue, #1a56ae);
}

.cat-hero-excerpt {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.cat-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: #64748b;
    font-family: var(--font-ui);
}

.cat-secondary-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cat-secondary-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    transition: all 0.2s ease;
}

.cat-secondary-card a {
    display: flex;
    gap: 14px;
    align-items: center;
}

.cat-secondary-card:hover {
    border-color: rgba(26, 86, 174, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.cat-sec-thumb {
    width: 110px;
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.cat-sec-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-secondary-card:hover .cat-sec-thumb img {
    transform: scale(1.04);
}

.cat-sec-title {
    font-family: var(--font-serif);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.cat-secondary-card:hover .cat-sec-title {
    color: var(--blue, #1a56ae);
}

.cat-meta-sm {
    font-size: 12px;
    color: #64748b;
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Category Main Layout */
.category-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.category-river-col {
    min-width: 0;
}

.river-heading {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue, #1a56ae);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.river-heading span {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.cat-river-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cat-river-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    transition: all 0.2s ease;
}

.cat-river-card a {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cat-river-card:hover {
    border-color: rgba(26, 86, 174, 0.4);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.cat-river-thumb {
    width: 170px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.cat-river-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-river-card:hover .cat-river-thumb img {
    transform: scale(1.03);
}

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

.cat-river-title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.cat-river-card:hover .cat-river-title {
    color: var(--blue, #1a56ae);
}

.cat-river-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-river-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    font-family: var(--font-ui);
}

/* Sidebar */
.category-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 80px;
}

.cat-sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.cat-widget-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-widget-head i {
    color: var(--blue, #1a56ae);
}

.cat-trending-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cat-trending-item:last-child {
    border-bottom: none;
}

.cat-trending-item:hover {
    background: #f8fafc;
}

.cat-rank-badge {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #eef4fc;
    color: var(--blue, #1a56ae);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--font-ui);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.cat-trending-item:hover .cat-rank-badge {
    background: var(--blue, #1a56ae);
    color: #ffffff;
}

.cat-trending-text {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.cat-trending-item:hover .cat-trending-text {
    color: var(--blue, #1a56ae);
}

.cat-pills-cloud {
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cat-pills-cloud a {
    display: inline-flex;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-ui);
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-pills-cloud a:hover {
    border-color: var(--blue, #1a56ae);
    color: var(--blue, #1a56ae);
    background: #eef4fc;
}

.cat-pills-cloud a.active {
    background: var(--blue, #1a56ae);
    color: #ffffff;
    border-color: var(--blue, #1a56ae);
}

.cat-ad-box {
    padding: 16px;
    text-align: center;
}

.cat-ad-label {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.cat-ad-slot {
    min-height: 250px;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12px;
    background: #f8fafc;
}

.cat-empty-state {
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.cat-empty-state h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cat-empty-state p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.thumb-placeholder-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 32px;
}

.thumb-placeholder-box-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .category-hero-grid {
        grid-template-columns: 1fr;
    }
    .category-main-layout {
        grid-template-columns: 1fr;
    }
    .category-sidebar-col {
        position: static;
    }
}

@media (max-width: 640px) {
    .cat-river-card a {
        flex-direction: column;
        align-items: flex-start;
    }
    .cat-river-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .cat-hero-body {
        padding: 16px;
    }
    .cat-hero-title {
        font-size: 20px;
    }
}

/* =========================================================
   SINGLE POST DETAIL EDITORIAL SYSTEM
========================================================= */
.post-detail-container {
    padding: 24px 0 60px;
}

.post-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: stretch;
}

.post-content-col {
    min-width: 0;
}

.post-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    color: #111111;
    margin-bottom: 16px;
}

/* =========================================================
   ARTICLE HEADER PREMIUM
========================================================= */
.article-header-premium {
    margin-bottom: 24px;
}

.category-badge-p {
    display: inline-flex;
    align-items: center;
    background: var(--blue, #1a56ae);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.category-badge-p a {
    color: #ffffff;
    text-decoration: none;
}

.article-title-p {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.article-meta-p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.author-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #64748b;
    flex-shrink: 0;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.post-date {
    font-family: var(--font-ui);
    font-size: 12.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover,
.action-btn.active {
    background: #eef4fc;
    border-color: #1a56ae;
    color: #1a56ae;
}

/* Audio Player Mini */
.audio-player-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eef4fc;
    border: 1px solid #c7dcf7;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    gap: 12px;
}

.audio-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 700;
    color: #1a56ae;
}

.audio-status i.playing {
    animation: waveBounce 0.8s ease-in-out infinite alternate;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-controls button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #c7dcf7;
    background: #ffffff;
    color: #1a56ae;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.audio-controls button.rate-btn {
    width: auto;
    padding: 0 8px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
}

.audio-controls button:hover {
    background: #1a56ae;
    color: #ffffff;
    border-color: #1a56ae;
}

/* Premium Social Share Bar */
.premium-social-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.p-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.p-share-btn.fb { background: #1877f2; }
.p-share-btn.fb:hover { background: #1464cc; }

.p-share-btn.tw { background: #000000; }
.p-share-btn.tw:hover { background: #262626; }

.p-share-btn.wa { background: #25d366; }
.p-share-btn.wa:hover { background: #1eb956; }

.p-share-btn.ms { background: #0084ff; }
.p-share-btn.ms:hover { background: #006ed6; }

.p-share-btn.vb { background: #7360f2; }
.p-share-btn.vb:hover { background: #5c49d6; }

.post-lead-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    background: #f8fafc;
    border-left: 4px solid var(--blue, #1a56ae);
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 22px;
}

.post-meta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 24px;
}

.post-author-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #eef4fc;
    color: var(--blue, #1a56ae);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author-name {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    color: #111111;
}

.post-author-role {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--muted);
}

.post-meta-info {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-ui);
    font-size: 13px;
    color: #64748b;
}

.post-share-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-btn-icon:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.share-fb { background: #1877f2; }
.share-tw { background: #000000; }
.share-wa { background: #25d366; }
.share-tg { background: #229ed9; }

/* Post Audio News Player */
.post-audio-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4fc 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(26, 86, 174, 0.04);
}

.post-audio-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.post-audio-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1a56ae;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(26, 86, 174, 0.25);
}

.post-audio-play-btn:hover {
    background: #134287;
    transform: scale(1.05);
}

.post-audio-play-btn:active {
    transform: scale(0.95);
}

.post-audio-title-wrap {
    min-width: 0;
}

.post-audio-label {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a56ae;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-audio-heading {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-audio-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.post-audio-speed-btn {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.post-audio-speed-btn:hover {
    border-color: #1a56ae;
    color: #1a56ae;
}

/* Sound Wave Equalizer */
.audio-sound-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    padding: 0 4px;
}

.audio-sound-bar {
    width: 3px;
    background: #1a56ae;
    border-radius: 2px;
    height: 4px;
    transition: height 0.2s ease;
}

.audio-sound-wave.playing .audio-sound-bar:nth-child(1) {
    animation: waveBounce 0.8s ease-in-out infinite alternate;
}
.audio-sound-wave.playing .audio-sound-bar:nth-child(2) {
    animation: waveBounce 1.1s ease-in-out infinite alternate 0.2s;
}
.audio-sound-wave.playing .audio-sound-bar:nth-child(3) {
    animation: waveBounce 0.7s ease-in-out infinite alternate 0.4s;
}
.audio-sound-wave.playing .audio-sound-bar:nth-child(4) {
    animation: waveBounce 0.9s ease-in-out infinite alternate 0.1s;
}

@keyframes waveBounce {
    0% { height: 4px; }
    100% { height: 16px; }
}

.post-featured-media {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f8fafc;
}

.post-featured-media img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    display: block;
}

.post-caption {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    padding: 8px 12px;
    background: #fafafa;
    border-top: 1px solid #f1f5f9;
}

.post-article-body {
    font-family: 'Noto Sans Devanagari', 'Mukta', sans-serif;
    font-size: 18.5px;
    line-height: 1.9;
    color: #1e293b;
    margin-bottom: 32px;
}

.post-article-body p {
    margin-bottom: 20px;
}

.post-article-body h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 32px 0 14px;
}

.post-article-body h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin: 24px 0 10px;
}

.post-article-body blockquote {
    border-left: 4px solid var(--blue, #1a56ae);
    background: #f8fafc;
    padding: 16px 22px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    margin: 24px 0;
    color: #334155;
}

.post-article-body img {
    border-radius: 6px;
    margin: 24px auto;
    display: block;
    max-width: 100%;
    border: 1px solid var(--border);
}

/* =========================================================
   POST TAGS & BOTTOM SHARE SECTION
========================================================= */
.post-tags-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 24px;
}

.post-tags-title {
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
}

.post-tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #eef4fc;
    color: var(--blue, #1a56ae);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-ui);
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tag-badge:hover {
    background: var(--blue, #1a56ae);
    border-color: var(--blue, #1a56ae);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(26, 86, 174, 0.2);
}

.post-share-footer-premium {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.post-share-footer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
}

.post-share-footer-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.p-share-btn.copy {
    background: #475569;
    border: none;
    cursor: pointer;
}
.p-share-btn.copy:hover {
    background: #334155;
}


.post-share-footer-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.post-author-bio-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.post-prev-next-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.post-nav-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.post-nav-box:hover {
    border-color: var(--blue, #1a56ae);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.post-nav-label {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.post-nav-title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.post-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}

.post-related-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.post-related-card:hover {
    border-color: rgba(26, 86, 174, 0.4);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.post-related-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.post-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-related-card:hover .post-related-thumb img {
    transform: scale(1.03);
}

.post-related-body {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-related-title {
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.post-related-card:hover .post-related-title {
    color: var(--blue, #1a56ae);
}

/* =========================================================
   STICKY SIDEBAR & RICH CONTENT COMPONENTS
========================================================= */
.post-sidebar-col {
    position: relative;
    width: 100%;
    height: 100%;
    align-self: stretch;
    min-width: 0;
    padding-top: 14px;
}

.sidebar-sticky-wrap {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 76px !important;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    will-change: transform;
    z-index: 10;
}

.sidebar-tabs-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sidebar-tab-nav {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 6px;
    gap: 6px;
}

.sidebar-tab-btn {
    flex: 1;
    padding: 8px 12px;
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sidebar-tab-btn.active {
    background: #ffffff;
    color: var(--blue, #1a56ae);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sidebar-post-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-post-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-post-row:last-child {
    border-bottom: none;
}

.sidebar-post-row:hover .sidebar-post-title {
    color: var(--blue, #1a56ae);
}

.sidebar-rank-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-post-row:nth-child(1) .sidebar-rank-badge {
    background: #fef2f2;
    color: #dc2626;
}
.sidebar-post-row:nth-child(2) .sidebar-rank-badge {
    background: #fff7ed;
    color: #ea580c;
}
.sidebar-post-row:nth-child(3) .sidebar-rank-badge {
    background: #fefce8;
    color: #ca8a04;
}

.sidebar-post-thumb {
    width: 68px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.sidebar-post-row:hover .sidebar-post-thumb img {
    transform: scale(1.05);
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    transition: color 0.15s ease;
}

.sidebar-post-time {
    font-family: var(--font-ui);
    font-size: 11.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Category Grid Card */
.sidebar-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 16px;
}

.sidebar-cat-pill-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    transition: all 0.18s ease;
}

.sidebar-cat-pill-link:hover {
    background: var(--blue, #1a56ae);
    border-color: var(--blue, #1a56ae);
    color: #ffffff;
}

.sidebar-cat-pill-link:hover i {
    color: #ffffff;
}

@media (max-width: 991px) {
    .post-detail-layout {
        grid-template-columns: 1fr;
    }
    .post-sidebar-col {
        position: static;
        top: auto;
        padding-top: 0;
    }
    .post-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .post-prev-next-grid {
        grid-template-columns: 1fr;
    }
    .post-related-grid {
        grid-template-columns: 1fr;
    }
    .post-meta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   PAGINATION SYSTEM
========================================================= */
.editorial-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding: 10px 0;
}

.page-num-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.page-num-btn:hover {
    border-color: var(--blue, #1a56ae);
    color: var(--blue, #1a56ae);
    background: #eef4fc;
}

.page-num-btn.active {
    background: var(--blue, #1a56ae);
    color: #ffffff;
    border-color: var(--blue, #1a56ae);
    box-shadow: 0 4px 10px rgba(26, 86, 174, 0.25);
}

.page-nav-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.page-nav-btn:hover:not(.disabled) {
    border-color: var(--blue, #1a56ae);
    color: var(--blue, #1a56ae);
    background: #eef4fc;
}

.page-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f8fafc;
}

/* =========================================================
   SINGLE UNIFIED SIDEBAR CONTAINER
========================================================= */
.sidebar-unified-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sidebar-section-block {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-section-block:last-child {
    border-bottom: none;
}

.sidebar-block-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-block-title i {
    color: var(--blue, #1a56ae);
}

.sidebar-trending-list {
    display: flex;
    flex-direction: column;
}

.sidebar-trending-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-trending-row:last-child {
    border-bottom: none;
}

.sidebar-rank-num {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #eef4fc;
    color: var(--blue, #1a56ae);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--font-ui);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.sidebar-trending-row:hover .sidebar-rank-num {
    background: var(--blue, #1a56ae);
    color: #ffffff;
}

.sidebar-trending-headline {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-trending-row:hover .sidebar-trending-headline {
    color: var(--blue, #1a56ae);
}

.sidebar-categories-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sidebar-pill {
    display: inline-flex;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-ui);
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-pill:hover {
    border-color: var(--blue, #1a56ae);
    color: var(--blue, #1a56ae);
    background: #eef4fc;
}

.sidebar-pill.active {
    background: var(--blue, #1a56ae);
    color: #ffffff;
    border-color: var(--blue, #1a56ae);
}

.sidebar-newsletter-block {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.sidebar-newsletter-title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--blue, #1a56ae);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-newsletter-desc {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.sidebar-newsletter-form {
    display: flex;
    gap: 8px;
}

.sidebar-newsletter-input {
    flex: 1;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
    background: #ffffff;
}

.sidebar-newsletter-input:focus {
    border-color: var(--blue, #1a56ae);
}

.sidebar-newsletter-btn {
    height: 38px;
    padding: 0 16px;
    background: var(--blue, #1a56ae);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-ui);
    cursor: pointer;
    transition: background 0.2s ease;
}

.sidebar-newsletter-btn:hover {
    background: #134287;
}

/* =========================================================
   MOBILE HARDENING (added for all pages & categories)
   ========================================================= */

/* Never allow the page to scroll sideways on any device.
   Wide/marquee strips live inside overflow:hidden wrappers. */
html,
body {
    overflow-x: hidden;
}

/* Keep every image/video/embed inside content columns within the viewport. */
.post-article-body img,
.post-article-body video,
.static-page-container img,
.static-page-container video,
.static-page-card img,
.static-page-card video,
.advertisement img,
.advertisement video {
    max-width: 100%;
    height: auto;
}

.post-article-body iframe,
.static-page-container iframe,
.static-page-card iframe {
    max-width: 100%;
}

/* Tables (editorial content, rate lists, specs) scroll inside their box
   instead of widening the page on phones. */
.post-article-body table,
.static-page-card table,
.static-page-container table,
.advertisement table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Ads & flexible slots should never be wider than the screen. */
.ad-container img,
.ad-unit img,
.ad-slot img,
.adsbygoogle img,
.post-content-ad img,
.sidebar-ad-card img,
.top-ad img {
    max-width: 100%;
    height: auto;
}

/* Long unbroken words/URLs in editorial copy wrap instead of overflowing. */
.post-article-body,
.static-page-card {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Smooth horizontal swipe for tab strips on touch devices. */
.province-tabs,
.cat-pill-row,
.sidebar-pills {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    /* Reduce bulky padding inside content cards/boxes on phones. */
    .static-page-card {
        padding: 16px;
    }

    /* Tighten the search/static hero boxes. */
    .static-page-container > [style*="border-radius: 14px"],
    .static-page-container .category-hero-box {
        padding: 28px 18px !important;
    }

    .static-page-container h1 {
        font-size: 24px !important;
    }

    /* Give rows of pills/buttons enough room to wrap. */
    .category-sort-controls,
    .cat-pill-row,
    .sidebar-pills {
        flex-wrap: wrap;
    }
}

/* =========================================================
   HERO LEAD STORIES ON PHONES
   Hide the category eyebrow and the excerpt/summary, and
   keep the hero content centered (no left-aligned block).
   ========================================================= */
@media (max-width: 760px) {
    .hero-main-content {
        text-align: center;
        align-items: center;
    }

    .hero-main-content .category-label {
        display: none;
    }

    .hero-main-content .hero-excerpt {
        display: none;
    }

    .hero-main-content .meta {
        justify-content: center;
    }
}

/* =========================================================
   TOPBAR — center the left cluster on phones
   ========================================================= */
@media (max-width: 760px) {
    .topbar-inner {
        justify-content: center;
    }

    .topbar-left {
        justify-content: center;
    }
}

/* =========================================================
   MOBILE MENU HEAD — reuse the header brand (logo + name)
   ========================================================= */
.mobile-menu-head {
    gap: 12px;
}

.mobile-menu-head .brand {
    gap: 10px;
    margin: 0;
    justify-content: flex-start;
    text-align: left;
    transform: none;
}

.mobile-menu-head .brand:hover {
    transform: none;
}

.mobile-menu-head .brand img {
    width: 44px;
    height: 44px;
    filter: none;
}

.mobile-menu-head .brand-name strong {
    font-size: 22px;
    letter-spacing: -0.4px;
    line-height: 1.15;
}

/* Show the full "Online Pati News" wordmark in the off-canvas menu head
   (the global mobile rule hides the .brand-name span). */
.mobile-menu-head .brand-name span {
    display: inline;
}

.mobile-menu-head .brand-name strong {
    white-space: nowrap;
}

/* Also show the full "Online Pati News" wordmark in the top header on mobile. */
.main-header .brand-name span {
    display: inline;
}

.main-header .brand-name strong {
    white-space: nowrap;
}

/* =========================================================
   Hide breadcrumbs on small screens (keeps count badges)
   ========================================================= */
@media (max-width: 600px) {
    .category-breadcrumb-wrap .breadcrumb-nav {
        display: none;
    }

    .category-breadcrumb-wrap {
        justify-content: center;
    }
}

/* Category page — compact "last updated" line under the title */
.category-updated {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-family: var(--font-ui);
    font-size: 12.5px;
    color: var(--muted);
}

.category-updated i {
    color: var(--red);
}

/* Hide the whole article breadcrumb bar (incl. its time chip) on phones */
@media (max-width: 600px) {
    .post-detail-container > .category-breadcrumb-wrap {
        display: none;
    }
}

/* Hide the category badge chips above the article title on phones */
@media (max-width: 600px) {
    .article-cat-badges {
        display: none !important;
    }
}

/* Share buttons: icons only on phones (hide text labels) */
@media (max-width: 600px) {
    .premium-social-share .p-share-btn {
        font-size: 0;
        gap: 0;
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .premium-social-share .p-share-btn i {
        font-size: 17px;
    }
}

/* =========================================================
   ARTICLE META — compact tool cluster (actions + social)
   ========================================================= */
.article-meta-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.article-meta-p .premium-social-share {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta-p .premium-social-share .p-share-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
}

.article-meta-p .premium-social-share .p-share-btn i {
    font-size: 14px;
}

/* =========================================================
   BOTTOM SHARE BLOCK — icon-only round pills
   ========================================================= */
.post-share-footer-pills .p-share-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
}

.post-share-footer-pills .p-share-btn i {
    font-size: 16px;
}

.post-share-footer-pills .p-share-btn span {
    display: none;
}
