:root {
    /* SML NEWS UG — Turquoise Blue brand theme */
    --sml-blue: #00B4C5;
    --sml-blue-light: #5FE0EB;
    --sml-blue-dark: #008894;
    --sml-red: #E4002B;
    --sml-red-dark: #B8001F;
    --sml-black: #000000;
    --sml-teal: #06D6A0;
    --sml-purple: #7B61FF;
    --sml-orange: #F58220;

    --primary: var(--sml-blue);
    --primary-dark: var(--sml-blue-dark);
    --accent: var(--sml-red);
    --dark-bg: var(--sml-black);

    /* Glassmorphism tokens */
    --glass-bg: rgba(255, 255, 255, 0.58);
    --glass-bg-strong: rgba(255, 255, 255, 0.78);
    --glass-bg-dark: rgba(15, 23, 42, 0.72);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-border-soft: rgba(255, 255, 255, 0.28);
    --glass-shadow: 0 8px 32px rgba(6, 78, 122, 0.14);
    --glass-shadow-lg: 0 16px 48px rgba(6, 78, 122, 0.18);
    --glass-blur: blur(18px);
    --glass-radius: 16px;

    --headline-accent: var(--sml-red);
    --headline-accent-dark: var(--sml-red-dark);

    /* Bootstrap overrides */
    --bs-primary: #00B4C5;
    --bs-primary-rgb: 0, 180, 197;
    --bs-danger: #E4002B;
    --bs-danger-rgb: 228, 0, 43;
    --bs-link-color: #00B4C5;
    --bs-link-hover-color: #008894;
    --site-font-scale: 1.125;
}

html {
    font-size: calc(100% * var(--site-font-scale));
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    color: #333333;
    min-height: 100vh;
    position: relative;
    background: #eef6fc;
    line-height: 1.6;
}

body::before {
    content: none;
}

/* Glass utility */
.glass-panel,
.glass-card {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--glass-radius);
    overflow: hidden;
}

.glass-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--sml-blue), var(--sml-teal), var(--sml-purple), var(--sml-red));
}

.glass-panel--soft {
    background: var(--glass-bg);
}

/* ── Top utility bar ── */
.top-bar {
    background: var(--sml-blue);
    color: #ffffff;
    font-size: 0.78rem;
    border-bottom: none;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
    padding: 0.4rem 0;
}

.top-bar__clock {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    color: #333333;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.2;
}

.top-bar__clock-time {
    font-size: 0.82rem;
    white-space: nowrap;
}

.top-bar__clock-date {
    font-size: 0.72rem;
    color: #666666;
    white-space: nowrap;
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.top-bar__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.top-bar__divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar__social-link,
.top-bar__utility {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    transition: color 0.2s, opacity 0.2s;
    text-decoration: none;
}

.top-bar__social-link:hover,
.top-bar__utility:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* ── Main header ── */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.site-header__main {
    padding: 0.85rem 0;
    background: #ffffff;
    border-bottom: none;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 176px;
    width: auto;
    display: block;
}

.site-logo__tagline {
    color: var(--sml-blue);
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.72rem;
    line-height: 1.2;
    padding-left: 0.15rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 420px;
}

.header-search__icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.85rem;
    pointer-events: none;
}

.header-search__input {
    width: 100%;
    height: 42px;
    padding: 0 1rem 0 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.header-search__input:focus {
    outline: none;
    border-color: var(--sml-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 132, 209, 0.12);
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.header-icon-btn:hover {
    border-color: var(--sml-blue);
    color: var(--sml-blue);
    background: #eff8ff;
}

.header-icon-btn--primary {
    background: var(--sml-blue);
    border-color: var(--sml-blue);
    color: #fff;
}

.header-icon-btn--primary:hover {
    background: var(--sml-blue-dark);
    border-color: var(--sml-blue-dark);
    color: #fff;
}

/* ── Navigation strip ── */
.site-header__nav-panel {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #e0e0e0;
    background: #ffffff;
    box-shadow: none;
}

.site-nav--inline {
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.site-nav--inline .site-nav__list {
    justify-content: center;
    padding: 0;
}

.site-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #333333 !important;
    text-decoration: none !important;
    border-radius: 0;
    white-space: nowrap;
    transition: color 0.2s;
    position: relative;
}

.site-nav__link:hover {
    color: var(--sml-blue) !important;
    background: transparent;
}

.site-nav__link.is-active {
    color: var(--sml-blue) !important;
    background: transparent;
    font-weight: 700;
    box-shadow: none;
}

.site-nav__link.is-active::after {
    content: '';
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0;
    height: 2px;
    background: var(--cat-accent, var(--sml-blue));
    border-radius: 0;
}

.site-nav__badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.12rem 0.35rem;
    border-radius: 2px;
    line-height: 1.2;
    vertical-align: middle;
}

.site-nav__badge--0 {
    background: var(--sml-red);
    color: #ffffff;
}

.site-nav__badge--1 {
    background: var(--sml-blue);
    color: #ffffff;
}

.site-nav__badge--2 {
    background: var(--sml-orange);
    color: #ffffff;
}

.site-nav__mobile-extra {
    padding: 0.75rem 0 0.25rem;
}

@media (min-width: 992px) {
    .site-header__nav-panel.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .site-nav__list {
        justify-content: space-between;
        gap: 0;
    }

    .site-nav__item {
        flex: 1 1 auto;
        text-align: center;
    }

    .site-nav__link {
        padding: 0.5rem 0.35rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 991.98px) {
    .site-header__row {
        flex-wrap: wrap;
    }

    .site-header__actions {
        width: 100%;
        order: 2;
    }

    .header-search {
        max-width: none;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0;
    }

    .site-nav__link {
        padding: 0.65rem 0.5rem;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
    }

    .site-nav__link.is-active::after {
        display: none;
    }

    .site-nav__link.is-active {
        background: rgba(10, 132, 209, 0.08);
        border-left: 3px solid var(--sml-blue);
        padding-left: calc(0.5rem - 3px);
    }
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .site-header__nav-panel {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    box-shadow: none;
}

[data-theme="dark"] .site-header__nav-panel {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .top-bar {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 90, 158, 0.6));
}

[data-theme="dark"] .header-search__input {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
    color: #eee;
}

[data-theme="dark"] .header-icon-btn {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ccc;
}

[data-theme="dark"] .site-nav__link {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .site-header__nav-panel {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .sidebar-widget__header {
    background: #1e3a5f !important;
    border-bottom-color: #00B4C5 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .sidebar-widget__heading {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .sidebar-widget__sub {
    color: #93c5fd !important;
    -webkit-text-fill-color: #93c5fd !important;
}

[data-theme="dark"] .sidebar-widget__nav {
    color: #f1f5f9 !important;
    -webkit-text-fill-color: #f1f5f9 !important;
}

[data-theme="dark"] .sidebar-widget__title i {
    color: #93c5fd !important;
}

[data-theme="dark"] .site-nav__link:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .headlines-bar,
[data-theme="dark"] .home-panel {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(255, 255, 255, 0.1);
}

.site-tagline {
    color: var(--sml-red);
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .85rem;
}

/* Section headings */
.section-heading {
    border-bottom: none !important;
    position: relative;
    padding-bottom: 0.5rem !important;
}

/* Section headings — professional */
.section-heading h2,
.section-heading .h5,
.section-heading .h2 {
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    background: none;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--sml-blue), var(--sml-teal));
    width: 48px;
    height: 3px;
    border-radius: 2px;
}
.text-sml-blue { color: var(--sml-blue) !important; }
.text-sml-red { color: var(--sml-red) !important; }
.border-sml-blue { border-color: var(--sml-blue) !important; }

/* Breaking news ticker — red accent from logo */
.news-ticker { background: var(--sml-red) !important; }

/* Sidebar widgets */
.bg-sml-blue {
    background: linear-gradient(135deg, var(--sml-blue), var(--sml-purple)) !important;
    color: #fff !important;
    border: none !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--sml-blue), var(--sml-purple));
    border: none;
    box-shadow: 0 4px 14px rgba(10, 132, 209, 0.3);
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--sml-blue-dark), #6a4fd8);
    border: none;
    box-shadow: 0 6px 18px rgba(10, 132, 209, 0.4);
}
.btn-outline-primary {
    color: var(--sml-blue);
    border-color: var(--sml-blue);
}
.btn-outline-primary:hover {
    background-color: var(--sml-blue);
    border-color: var(--sml-blue);
}

/* Pagination */
.page-link {
    color: var(--sml-blue);
    background: #ffffff;
    border-color: #e2e8f0;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    padding: 0.4rem 0.85rem;
}

.page-link:hover {
    color: var(--sml-red);
    border-color: var(--sml-blue);
    background: #f0f8ff;
}

.page-item.active .page-link {
    background: var(--sml-blue);
    border-color: var(--sml-blue);
    box-shadow: inset 0 -2px 0 var(--sml-red);
}

/* Article & category pages */
.article-single,
.page-banner {
    background: var(--glass-bg-strong) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
}

/* Article share buttons */
.article-share {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.article-share--compact {
    gap: 0.5rem;
}

.article-share__label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.article-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 38px;
    min-width: 38px;
    padding: 0.45rem 0.85rem;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.article-share__btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    filter: brightness(1.05);
}

.article-share__btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.article-share__btn--x {
    background: #000000;
}

.article-share__btn--x:hover {
    background: #000000;
}

.article-share__btn--facebook {
    background: #1877F2;
}

.article-share__btn--facebook:hover {
    background: #1877F2;
}

.article-share__btn--whatsapp {
    background: #25D366;
}

.article-share__btn--whatsapp:hover {
    background: #25D366;
}

.article-share__btn--copy {
    background: #5B6875;
}

.article-share__btn--copy:hover {
    background: #5B6875;
}

.article-share__btn--copy.is-copied {
    background: #059669;
}

.article-share__btn--email {
    background: #737373;
}

.article-share__btn--email:hover {
    background: #737373;
}

.article-share--compact .article-share__btn {
    width: 40px;
    padding: 0;
}

.article-share__feedback {
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
    min-height: 1.2em;
}

.article-share__feedback:empty {
    display: none;
}

@media (max-width: 575.98px) {
    .article-share--full .article-share__btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .article-share--full .article-share__btn {
        width: 42px;
        padding: 0;
    }
}

.article-author-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(0, 180, 197, 0.22);
    border-left: 4px solid var(--sml-blue);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 180, 197, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.article-author-card__photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 72, 140, 0.15);
}

.article-author-card__initials {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--sml-blue) 0%, var(--sml-blue-dark) 100%);
    box-shadow: 0 4px 14px rgba(0, 72, 140, 0.15);
}

.article-author-card__body {
    min-width: 0;
    flex: 1;
}

.article-author-card__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sml-blue-dark);
    margin-bottom: 0.2rem;
}

.article-author-card__name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.article-author-card__bio {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

.page-banner {
    border-radius: var(--glass-radius) !important;
}

.container > .row.g-4 {
    margin-top: 0.5rem;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--sml-blue-dark) 0%, var(--sml-blue) 55%, var(--sml-blue-light) 100%) !important;
    border-top: 4px solid var(--sml-red);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    backdrop-filter: none;
}
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer .text-secondary,
.site-footer a.text-secondary { color: rgba(255, 255, 255, 0.82) !important; }
.site-footer a.text-secondary:hover { color: #fff !important; }
.site-footer hr { border-color: rgba(255, 255, 255, 0.28) !important; }
.site-footer .form-control {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}
.site-footer .form-control::placeholder { color: rgba(255, 255, 255, 0.65); }
.site-footer .btn-primary {
    background: var(--sml-red);
    border: none;
    box-shadow: 0 4px 12px rgba(228, 0, 43, 0.35);
}
.site-footer .btn-primary:hover {
    background: var(--sml-red-dark);
    border: none;
}
.newsletter-form__message { color: rgba(255, 255, 255, 0.95); }
.newsletter-form__message.is-error { color: #fecaca; }
.newsletter-form__message.is-success { color: #bbf7d0; }
.newsletter-form.is-loading .btn-primary { opacity: 0.75; pointer-events: none; }

/* Dark mode */
[data-theme="dark"] {
    background: #0f172a;
    color: #e0e0e0;
}

[data-theme="dark"]::before {
    background:
        radial-gradient(ellipse 70% 55% at 8% 15%, rgba(10, 132, 209, 0.2), transparent 55%),
        radial-gradient(ellipse 65% 50% at 92% 8%, rgba(228, 0, 43, 0.15), transparent 50%),
        radial-gradient(ellipse 55% 45% at 85% 88%, rgba(6, 214, 160, 0.12), transparent 50%),
        linear-gradient(145deg, #0f172a 0%, #1e1b4b 50%, #1a0a14 100%);
}

[data-theme="dark"] .glass-panel,
[data-theme="dark"] .glass-card,
[data-theme="dark"] .card {
    background: rgba(30, 41, 59, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e0e0;
}

[data-theme="dark"] .text-dark { color: #f0f0f0 !important; }

.ticker-track { animation: ticker 40s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sml-blue), var(--sml-teal), var(--sml-purple), var(--sml-red));
    width: 0;
    z-index: 9999;
    transition: width .1s;
    box-shadow: 0 0 12px rgba(10, 132, 209, 0.5);
}
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sml-blue), var(--sml-red));
    backdrop-filter: blur(8px);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(10, 132, 209, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }

.live-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    z-index: 1000;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: var(--glass-shadow-lg);
}
.live-search-results a {
    display: block; padding: 8px 12px; text-decoration: none;
    color: #333; font-size: .875rem; border-bottom: 1px solid #eee;
}
.live-search-results a:hover { background: #eff8ff; color: var(--sml-blue); }

.swiper-button-next, .swiper-button-prev { color: #fff; }
.post-card-grid .post-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(10, 132, 209, 0.15) !important;
    background: #ffffff !important;
    border-radius: 6px;
    border-top: 3px solid var(--sml-blue) !important;
    box-shadow: 0 1px 4px rgba(10, 132, 209, 0.06);
    transition: box-shadow 0.22s, transform 0.22s;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
}

.post-card::before {
    content: none;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.post-card__image {
    width: 100%;
    height: 200px;
    display: block;
    transition: transform 0.35s ease;
}

.post-card:hover .post-card__image {
    transform: scale(1.03);
}

.post-card__image-link {
    display: block;
    overflow: hidden;
    background: #e2e8f0;
}

.post-card .card-body {
    padding: 1.1rem 1.15rem 1.15rem;
}

.post-card__category {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cat-color, var(--sml-blue));
    background: color-mix(in srgb, var(--cat-color, var(--sml-blue)) 12%, transparent);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.post-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 0.5rem;
    font-family: 'Merriweather', Georgia, serif;
}

.post-card__title a {
    color: #0f172a;
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--sml-red);
}

.post-card__excerpt {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.post-card__meta i {
    margin-right: 0.25rem;
    color: #cbd5e1;
}

.post-card.glass-card::before {
    display: none;
}

.post-card-grid .col {
    display: flex;
}

.ad-spot img { display: block; }
.ad-spot--header_banner, .ad-spot--home_top, .ad-spot--home_middle, .ad-spot--footer { text-align: center; }
.ad-spot--sidebar { max-width: 100%; }

/* Sidebar — sticky on desktop, scrolls with page on mobile */
.site-main .row {
    align-items: flex-start;
}

.site-main .row > .col-lg-4,
.sidebar-column {
    align-self: flex-start;
    min-width: 0;
}

@media (min-width: 992px) {
    .sidebar-column {
        position: sticky;
        top: 1rem;
        z-index: 2;
    }
}

.sidebar {
    width: 100%;
}

@media (max-width: 991.98px) {
    .sidebar-column {
        position: static;
    }
}

/* Prevent glass styles from bleeding into sidebar */
.sidebar .glass-card,
.sidebar .glass-panel {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.sidebar .glass-card::before {
    display: none !important;
}

.sidebar .sidebar-widget,
.sidebar-widget {
    background: #ffffff !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 60, 120, 0.14);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.sidebar .sidebar-widget__header,
.sidebar-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: #d4f5f8 !important;
    background-image: none !important;
    border-bottom: 3px solid #00B4C5 !important;
    color: #008894 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.sidebar-widget__header--simple {
    justify-content: flex-start;
}

.sidebar .sidebar-widget__nav,
.sidebar-widget__nav {
    color: #008894 !important;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    flex-shrink: 0;
    -webkit-text-fill-color: #008894 !important;
}

.sidebar .sidebar-widget__nav:hover,
.sidebar-widget__nav:hover {
    background: rgba(10, 132, 209, 0.15);
    color: #00B4C5 !important;
    -webkit-text-fill-color: #00B4C5 !important;
}

.sidebar .sidebar-widget__title,
.sidebar-widget__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    color: #008894 !important;
}

.sidebar .sidebar-widget__title i,
.sidebar-widget__title i {
    font-size: 1.2rem;
    color: #00B4C5 !important;
    flex-shrink: 0;
}

.sidebar-widget__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.25;
}

.sidebar .sidebar-widget__heading,
.sidebar-widget__heading {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #008894 !important;
    -webkit-text-fill-color: #008894 !important;
    letter-spacing: 0.02em;
}

.sidebar .sidebar-widget__sub,
.sidebar-widget__sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00B4C5 !important;
    -webkit-text-fill-color: #00B4C5 !important;
    margin-top: 0.1rem;
}

.sidebar .sidebar-widget__body,
.sidebar-widget__body {
    padding: 0.65rem;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.sidebar-widget__footer-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #008894 !important;
    text-decoration: none !important;
}

.sidebar-widget__footer-link:hover {
    color: #00B4C5 !important;
    text-decoration: underline !important;
}

.sidebar-widget__list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.sidebar-widget__list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-widget__list-item:last-child {
    border-bottom: none;
}

.sidebar-widget__rank {
    flex-shrink: 0;
    width: 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #00B4C5;
    line-height: 1.35;
}

.sidebar-widget__link {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0f172a !important;
    text-decoration: none !important;
}

.sidebar-widget__link:hover {
    color: #00B4C5 !important;
}

[data-theme="dark"] .sidebar-widget {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .sidebar-widget__body,
[data-theme="dark"] .sidebar-widget__list {
    background: #1e293b;
}

[data-theme="dark"] .sidebar-widget__list-item {
    border-color: #334155;
}

[data-theme="dark"] .sidebar-widget__link {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .sidebar-widget__link:hover {
    color: #93c5fd !important;
}

[data-theme="dark"] .archive-calendar__dow {
    color: #94a3b8 !important;
}

/* Archive calendar widget (legacy class hooks) */
.archive-calendar.glass-card::before {
    display: none;
}

.archive-calendar__dow {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.archive-calendar-table th,
.archive-calendar-table td {
    width: 14.28%;
}

.archive-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: .8rem;
    line-height: 1;
}

.archive-day--active {
    background: linear-gradient(135deg, rgba(0, 180, 197, 0.2), rgba(123, 97, 255, 0.15));
    color: var(--sml-blue);
    font-weight: 600;
    text-decoration: none;
}

.archive-day--active:hover {
    background: linear-gradient(135deg, var(--sml-blue), var(--sml-purple));
    color: #fff;
}

.archive-day--selected {
    background: linear-gradient(135deg, var(--sml-blue), var(--sml-purple));
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 180, 197, 0.35);
}

.archive-day--today {
    box-shadow: inset 0 0 0 2px var(--sml-red);
}

.archive-day--muted {
    color: #64748b;
    font-weight: 600;
}

.archive-day--empty {
    display: inline-block;
    width: 2rem;
    height: 2rem;
}

/* Article media */
.article-video {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
}

.article-video--embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.article-video--embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-video--file video {
    display: block;
    width: 100%;
    max-height: 480px;
    background: #000;
}

.article-inline-media {
    margin: 1.5rem 0;
}

.article-inline-media figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
}

.article-gallery .article-inline-media {
    margin: 0;
}

/* Homepage hero — glass panels */
.site-main {
    background: transparent;
}

/* Headlines ticker bar */
.headlines-bar {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.headlines-bar__inner {
    display: flex;
    align-items: stretch;
    min-height: 72px;
}

.headlines-bar__label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--sml-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 1.15rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.headlines-bar__viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.headlines-bar__track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: headlines-scroll 50s linear infinite;
}

.headlines-bar__track.is-paused {
    animation-play-state: paused;
}

@keyframes headlines-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.headlines-bar__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-right: 1px solid #eeeeee;
    min-width: 280px;
    max-width: 340px;
    color: inherit;
}

.headlines-bar__thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #e8e8e8;
}

.headlines-bar__content {
    min-width: 0;
}

.headlines-bar__item:hover .headlines-bar__title {
    color: var(--sml-blue);
}

.headlines-bar__meta {
    font-size: 0.7rem;
    color: #999999;
    text-transform: capitalize;
}

.headlines-bar__meta i {
    margin-right: 0.35rem;
}

.headlines-bar__title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headlines-bar__pause {
    flex-shrink: 0;
    width: 44px;
    border: none;
    border-left: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.headlines-bar__pause:hover {
    background: #e8f4fd;
    color: var(--sml-blue);
}

/* Home hero grid — aligned three columns */
.home-hero-grid {
    --hero-panel-header-h: 58px;
    --hero-panel-body-h: clamp(480px, 34vw, 580px);
}

.home-hero-grid .home-panel__title {
    font-size: 1.05rem;
}

.home-hero-grid__row {
    align-items: stretch;
}

.home-hero-grid__row > [class*="col-"] {
    display: flex;
    align-self: stretch;
}

.home-hero-grid .home-panel {
    height: calc(var(--hero-panel-header-h) + var(--hero-panel-body-h));
}

/* Home panels */
.home-panel {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.home-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 1rem;
    min-height: var(--hero-panel-header-h, 52px);
    height: var(--hero-panel-header-h, 52px);
    flex-shrink: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.home-panel--featured {
    border-color: #e8e8e8;
}

.home-panel--featured .home-panel__body {
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: none;
}

.home-hero-grid .home-panel--featured {
    height: calc(var(--hero-panel-header-h) + var(--hero-panel-body-h));
}

.home-hero-grid .home-panel--featured .home-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: none;
}

.home-panel__title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: #333333;
    text-transform: none;
    letter-spacing: 0;
    -webkit-text-fill-color: #333333;
    background: none;
    white-space: nowrap;
    font-family: 'Merriweather', Georgia, serif;
}

.home-panel__header-spacer {
    width: 58px;
    flex-shrink: 0;
}

.home-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    height: var(--hero-panel-body-h, auto);
    max-height: var(--hero-panel-body-h, none);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.home-hero-grid .home-panel:not(.home-panel--featured) .home-panel__body {
    flex: 0 0 var(--hero-panel-body-h);
    min-height: var(--hero-panel-body-h);
    max-height: var(--hero-panel-body-h);
}

.home-panel--featured .home-panel__body {
    padding: 0;
}

.featured-hero-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-panel__controls {
    display: flex;
    flex-direction: row;
    gap: 4px;
    flex-shrink: 0;
}

.home-panel__arrow {
    width: 28px;
    height: 24px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 0.65rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    border-radius: 4px;
}

.home-panel__arrow:hover {
    background: #eff8ff;
    color: var(--sml-blue);
    border-color: #bfdbfe;
}

/* Latest news column */
.latest-news-list {
    max-height: none;
    overflow-y: auto;
    scrollbar-width: thin;
}

.latest-news-list::-webkit-scrollbar {
    width: 4px;
}

.latest-news-list::-webkit-scrollbar-thumb {
    background: rgba(10, 132, 209, 0.25);
    border-radius: 4px;
}

.latest-news-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid #eeeeee;
    transition: background 0.15s;
}

.latest-news-item:hover {
    background: #f9f9f9;
}

.latest-news-item:last-child {
    border-bottom: none;
}

.latest-news-item__thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #e8e8e8;
}

.latest-news-item__content {
    min-width: 0;
    flex: 1;
}

.latest-news-item__title {
    color: #333333;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.25rem;
    font-family: 'Merriweather', Georgia, serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-item:hover .latest-news-item__title {
    color: var(--sml-blue);
}

.latest-news-item__meta {
    font-size: 0.7rem;
    color: #999999;
}

.latest-news-item__meta i {
    margin-right: 0.25rem;
}

/* Featured hero slider */
.featured-hero {
    height: 100%;
    min-height: 0;
    background: #0f172a;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.featured-hero.swiper {
    width: 100%;
}

.home-hero-grid .featured-hero-wrap,
.home-hero-grid .featured-hero,
.home-hero-grid .featured-hero .swiper-wrapper,
.home-hero-grid .featured-hero .swiper-slide {
    height: 100%;
}

.featured-hero__slide {
    position: relative;
    height: 100%;
    min-height: 0;
}

.featured-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.88));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem 3.25rem;
    color: #fff;
}

.featured-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.featured-hero__badge {
    background: var(--sml-blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 3px;
}

.featured-hero__title {
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.65rem;
    font-family: 'Merriweather', Georgia, serif;
}

.featured-hero__excerpt {
    font-size: 0.98rem;
    opacity: 0.92;
    margin-bottom: 0.85rem;
    max-width: 92%;
    line-height: 1.55;
}

.featured-hero__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.featured-hero__cta:hover {
    background: var(--sml-blue);
    border-color: var(--sml-blue);
    color: #fff;
}

.featured-hero__links {
    display: none;
}

.featured-hero__pagination {
    position: absolute !important;
    bottom: 14px !important;
    right: 14px !important;
    left: auto !important;
    width: auto !important;
    display: flex;
    gap: 4px;
}

.featured-hero__dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.45) !important;
    opacity: 1 !important;
    margin: 0 !important;
}

.featured-hero__dot.swiper-pagination-bullet-active {
    background: var(--sml-blue) !important;
    box-shadow: 0 0 8px rgba(10, 132, 209, 0.5);
}

.featured-hero .swiper-button-next,
.featured-hero .swiper-button-prev {
    display: none;
}

/* Popular news column */
.popular-news-list {
    height: 100%;
}

.popular-news-featured {
    display: block;
    position: relative;
    flex: 0 0 42%;
    min-height: 0;
    overflow: hidden;
}

.popular-news-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-news-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.75));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.85rem 0.9rem;
}

.popular-news-featured__badge {
    background: var(--sml-blue);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.popular-news-featured__title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0.4rem 0 0;
    font-family: 'Merriweather', Georgia, serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-news-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 0;
    min-height: 0;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e8ecf0;
    color: inherit;
}

.popular-news-item:last-child {
    border-bottom: none;
}

.popular-news-item:hover .popular-news-item__title {
    color: var(--sml-blue);
}

.popular-news-item__title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.4rem;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-news-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.3;
}

.popular-news-item__meta i {
    margin-right: 0.25rem;
    color: #94a3b8;
}

@media (max-width: 991.98px) {
    .home-hero-grid {
        --hero-panel-body-h: 380px;
    }

    .home-hero-grid .home-panel {
        height: auto;
    }

    .headlines-bar__inner {
        flex-wrap: wrap;
    }

    .headlines-bar__label {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
    }

    .headlines-bar__pause {
        width: 100%;
        height: 36px;
    }

    .home-hero-grid .home-panel__body {
        flex: 1 1 auto;
        min-height: var(--hero-panel-body-h);
        max-height: none;
        height: auto;
    }

    .home-hero-grid .featured-hero__slide {
        min-height: var(--hero-panel-body-h);
        height: var(--hero-panel-body-h);
    }

    .home-hero-grid .featured-hero {
        min-height: var(--hero-panel-body-h);
        height: var(--hero-panel-body-h);
    }

    .latest-news-item {
        flex: none;
        height: 120px;
        min-height: 120px;
    }

    .popular-news-featured {
        flex: none;
        height: 190px;
    }

    .popular-news-item {
        flex: none;
    }

    .latest-news-list {
        max-height: none;
    }
}

/* ── Homepage professional components ── */
.page-home .site-main {
    padding-top: 1.5rem;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.category-strip__link {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: #555555;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.category-strip__link:hover {
    color: #ffffff;
    background: var(--cat-color, var(--sml-blue));
    border-color: var(--cat-color, var(--sml-blue));
    transform: none;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.65rem;
    margin-bottom: 1.15rem;
    border-bottom: 2px solid #e8e8e8;
    border-left: none;
    padding-left: 0;
    background: none;
    border-radius: 0;
}

.section-header__icon {
    color: var(--sml-red);
    font-size: 0.95rem;
    margin-right: 0.35rem;
}

.section-header__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0;
    font-family: 'Merriweather', Georgia, serif;
    position: relative;
    padding-bottom: 0.15rem;
}

.section-header__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.7rem;
    width: 48px;
    height: 3px;
    background: var(--section-accent, var(--sml-blue));
}

/* Sidebar — keep readable on homepage */
.page-home .sidebar-widget {
    border-color: #e8e8e8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.home-hero-grid .featured-hero {
    box-shadow: none;
}


.section-header__link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sml-blue);
    text-decoration: none;
    white-space: nowrap;
}

.section-header__link:hover {
    color: var(--sml-blue-dark);
    text-decoration: underline;
}

.home-section {
    scroll-margin-top: 1rem;
}

.featured-hero__time {
    font-size: 0.82rem;
    opacity: 0.9;
}

/* Theme promo banner (Digital Newspaper style) */
.theme-promo {
    display: flex;
    align-items: stretch;
    min-height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.theme-promo__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sml-blue);
    padding: 0.75rem 1.5rem;
    flex-shrink: 0;
}

.theme-promo__logo {
    max-height: 184px;
    width: auto;
    max-width: 748px;
    object-fit: contain;
    border-radius: 4px;
}

.theme-promo__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    background: linear-gradient(135deg, var(--sml-blue-dark) 0%, #004D55 100%);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-left: 4px solid var(--sml-red);
}

.theme-promo__headline {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Merriweather', Georgia, serif;
}

.theme-promo__sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 575.98px) {
    .top-bar__clock {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        padding: 0.3rem 0.65rem;
    }

    .top-bar__clock-date {
        font-size: 0.65rem;
    }

    .theme-promo {
        flex-direction: column;
    }

    .theme-promo__brand {
        padding: 0.65rem 1rem;
    }
}

/* ══════════════════════════════════════════
   Mulengera News layout (mulengeranews.com)
   ══════════════════════════════════════════ */
body.page-mulengera,
.page-mulengera .site-main {
    background: #f5faff;
}

.page-mulengera .site-main {
    padding-top: 1.25rem;
}

.site-header--mulengera {
    background: #ffffff;
    border-bottom: none;
    box-shadow: 0 2px 12px rgba(10, 132, 209, 0.08);
}

.site-header--mulengera .site-header__main {
    display: none;
}

.site-header__brand {
    padding: 1rem 0 0.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
    border-bottom: 3px solid var(--sml-blue);
}

.site-header__brand-inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 0.5rem;
}

.site-logo--center {
    justify-self: center;
    align-items: center;
}

.site-logo--center img {
    max-height: 190px;
    width: auto;
}

.site-header__menu-toggle,
.site-header__search-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--sml-blue-dark);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
}

.site-header__menu-toggle:hover,
.site-header__search-toggle:hover {
    background: rgba(10, 132, 209, 0.12);
    color: var(--sml-blue);
}

.site-header__search-wrap {
    position: relative;
    justify-self: end;
}

.site-header__search-form {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, 85vw);
    z-index: 1050;
    background: #ffffff;
    border: 2px solid rgba(10, 132, 209, 0.2);
    box-shadow: 0 8px 24px rgba(10, 132, 209, 0.15);
    padding: 0.5rem;
    border-radius: 4px;
}

.site-header__search-form.is-open {
    display: block;
}

.site-header__search-input {
    width: 100%;
    border: 1px solid rgba(10, 132, 209, 0.25);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.site-header__search-input:focus {
    outline: none;
    border-color: var(--sml-blue);
    box-shadow: 0 0 0 3px rgba(10, 132, 209, 0.15);
}

.mulengera-nav {
    background: linear-gradient(90deg, var(--sml-blue-dark) 0%, var(--sml-blue) 100%);
    border-bottom: 3px solid var(--sml-red);
}

.mulengera-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mulengera-nav__item {
    position: relative;
}

.mulengera-nav__link,
.mulengera-nav__dropdown-btn {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff !important;
    text-decoration: none !important;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.mulengera-nav__link:hover,
.mulengera-nav__dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.mulengera-nav__link.is-active {
    background: var(--sml-red);
    color: #ffffff !important;
}

.mulengera-nav__dropdown {
    border: none;
    border-radius: 0;
    margin-top: 0;
    background: var(--sml-blue-dark) !important;
    border-top: 2px solid var(--sml-red);
}

.mulengera-nav__dropdown .dropdown-item:hover {
    background: var(--sml-red);
    color: #ffffff;
}

/* Section blocks */
.mn-section {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(10, 132, 209, 0.12);
}

.mn-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.mn-section__head--simple {
    margin-bottom: 0.85rem;
}

.mn-section__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sml-blue-dark);
    text-transform: capitalize;
    font-family: 'Merriweather', Georgia, serif;
    position: relative;
    padding-left: 0.75rem;
    border-left: 4px solid var(--sml-red);
}

.mn-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mn-tabs__link {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sml-blue-dark);
    text-decoration: none;
    border: 1px solid rgba(10, 132, 209, 0.3);
    border-radius: 3px;
    background: #f0f8ff;
}

.mn-tabs__link:hover {
    border-color: var(--sml-red);
    color: var(--sml-red);
    background: #fff5f6;
}

.mn-tabs__link.is-active {
    background: var(--sml-blue);
    border-color: var(--sml-blue);
    color: #ffffff;
}

.mn-cat-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--cat-color, var(--sml-blue));
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.mn-cat-badge--sm {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    margin-bottom: 0.35rem;
}

.mn-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #888888;
    margin-bottom: 0.65rem;
}

.mn-meta--sm {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.mn-meta__author {
    color: var(--sml-blue-dark);
    font-weight: 600;
}

.mn-meta__time i {
    margin-right: 0.25rem;
}

.mn-read-more {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sml-red);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mn-read-more:hover {
    color: var(--sml-blue-dark);
    text-decoration: underline;
}

/* Lead featured */
.mn-lead__image-link {
    display: block;
    margin-bottom: 0.85rem;
    overflow: hidden;
    border-radius: 4px;
}

.mn-lead__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.mn-lead__image-link:hover .mn-lead__image {
    transform: scale(1.02);
}

.mn-lead__title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    font-family: 'Merriweather', Georgia, serif;
}

.mn-lead__title a {
    color: var(--sml-blue-dark);
    text-decoration: none;
}

.mn-lead__title a:hover {
    color: var(--sml-red);
}

.mn-lead__excerpt {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

/* Side headline list */
.mn-side-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 3px solid rgba(10, 132, 209, 0.2);
    padding-left: 1rem;
}

.mn-side-list__item {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(10, 132, 209, 0.1);
    color: inherit;
}

.mn-side-list__item:last-child {
    border-bottom: none;
}

.mn-side-list__title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.3rem;
    color: var(--sml-blue-dark);
    font-family: 'Merriweather', Georgia, serif;
}

.mn-side-list__item:hover .mn-side-list__title {
    color: var(--sml-red);
}

.mn-side-list__time {
    font-size: 0.72rem;
    color: #999999;
}

/* Latest carousel */
.mn-carousel-nav {
    display: flex;
    gap: 0.5rem;
}

.mn-carousel-nav__btn {
    border: 1px solid rgba(10, 132, 209, 0.35);
    background: #ffffff;
    color: var(--sml-blue-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 3px;
    cursor: pointer;
}

.mn-carousel-nav__btn:hover {
    background: var(--sml-blue);
    border-color: var(--sml-blue);
    color: #ffffff;
}

.mn-latest-slide {
    display: block;
    padding: 0.85rem 1rem;
    background: #f0f8ff;
    border-left: 3px solid var(--sml-red);
    height: 100%;
    color: inherit;
}

.mn-latest-slide__title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.35rem;
    color: var(--sml-blue-dark);
    font-family: 'Merriweather', Georgia, serif;
}

.mn-latest-slide:hover .mn-latest-slide__title {
    color: var(--sml-red);
}

.mn-latest-slide__time {
    font-size: 0.72rem;
    color: #999999;
}

/* Story row cards */
.mn-story-card {
    background: #ffffff;
    border: 1px solid rgba(10, 132, 209, 0.15);
    border-top: 3px solid var(--sml-blue);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}

.mn-story-card__image-link {
    display: block;
    overflow: hidden;
}

.mn-story-card__image {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
}

.mn-story-card__body {
    padding: 0.85rem;
}

.mn-story-card__title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0.35rem 0 0.5rem;
    font-family: 'Merriweather', Georgia, serif;
}

.mn-story-card__title a {
    color: var(--sml-blue-dark);
    text-decoration: none;
}

.mn-story-card__title a:hover {
    color: var(--sml-red);
}

.storySwiper-pagination {
    position: relative !important;
    margin-top: 0.75rem;
}

.storySwiper-pagination .swiper-pagination-bullet-active {
    background: var(--sml-blue);
}

/* Headline-only list sections */
.mn-headline-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid rgba(10, 132, 209, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.mn-headline-list__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(10, 132, 209, 0.1);
    color: inherit;
    background: #ffffff;
}

.mn-headline-list__thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    background: #e8e8e8;
}

.mn-headline-list__body {
    min-width: 0;
    flex: 1;
}

.mn-headline-list__item:hover {
    background: #f0f8ff;
}

.mn-headline-list__item:nth-child(odd) {
    border-right: 1px solid rgba(10, 132, 209, 0.1);
}

.mn-headline-list__title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.3rem;
    color: var(--sml-blue-dark);
    font-family: 'Merriweather', Georgia, serif;
}

.mn-headline-list__item:hover .mn-headline-list__title {
    color: var(--sml-red);
}

.mn-headline-list__time {
    font-size: 0.72rem;
    color: #999999;
}

/* Editor's choice — compact 4-up cards */
.mn-editor-choice__grid {
    margin-top: 0;
}

.mn-editor-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(10, 132, 209, 0.15);
    border-top: 3px solid var(--sml-blue);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.mn-editor-card:hover {
    border-color: rgba(10, 132, 209, 0.3);
    box-shadow: 0 4px 16px rgba(10, 132, 209, 0.12);
}

.mn-editor-card__image-link {
    display: block;
    overflow: hidden;
    background: #e8f4fd;
}

.mn-editor-card__image {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mn-editor-card:hover .mn-editor-card__image {
    transform: scale(1.03);
}

.mn-editor-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.75rem;
    gap: 0.35rem;
}

.mn-editor-card__title {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    font-family: 'Merriweather', Georgia, serif;
}

.mn-editor-card__title a {
    color: var(--sml-blue-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mn-editor-card__title a:hover {
    color: var(--sml-red);
}

.mn-editor-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.7rem;
    color: #888888;
}

.mn-editor-card__author {
    color: var(--sml-blue-dark);
    font-weight: 600;
}

.mn-editor-card__time i {
    margin-right: 0.2rem;
}

@media (min-width: 992px) {
    .mn-editor-card__image {
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .mn-editor-card__image {
        height: 110px;
    }

    .mn-editor-card__title {
        font-size: 0.8rem;
    }
}

.mn-grid-card {
    background: #ffffff;
    border: 1px solid rgba(10, 132, 209, 0.15);
    border-top: 3px solid var(--sml-blue);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}

.mn-grid-card__image-link {
    display: block;
    overflow: hidden;
}

.mn-grid-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.mn-grid-card__body {
    padding: 0.85rem;
}

.mn-grid-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.35rem 0 0.5rem;
    font-family: 'Merriweather', Georgia, serif;
}

.mn-grid-card__title a {
    color: var(--sml-blue-dark);
    text-decoration: none;
}

.mn-grid-card__title a:hover {
    color: var(--sml-red);
}

.mn-grid-card__excerpt {
    font-size: 0.84rem;
    color: #666666;
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

@media (max-width: 991.98px) {
    .mn-side-list {
        border-left: none;
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .mn-headline-list {
        grid-template-columns: 1fr;
    }

    .mn-headline-list__item:nth-child(odd) {
        border-right: none;
    }

    .mn-headline-list__thumb {
        width: 80px;
        height: 60px;
    }

    .mulengera-nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .mulengera-nav__link,
    .mulengera-nav__dropdown-btn {
        text-align: left;
        border-bottom: 1px solid #333333;
    }
}

@media (max-width: 575.98px) {
    .mn-lead__title {
        font-size: 1.3rem;
    }

    .mn-section__title {
        font-size: 1.15rem;
    }
}

/* ══════════════════════════════════════════
   Full-width layout + Digital Newspaper header
   + Gossip News + Editor's Choice stack
   ══════════════════════════════════════════ */
.page-fullwidth .container {
    max-width: 100%;
}

.page-fullwidth .site-main {
    padding-left: 0;
    padding-right: 0;
}

.home-page--fullwidth {
    max-width: 100%;
}

/* Digital Newspaper header */
.dn-header {
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(10, 132, 209, 0.1);
}

.dn-header__main {
    border-bottom: 3px solid var(--sml-blue);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.dn-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    min-height: 244px;
}

.dn-header__logo img {
    max-height: 198px;
    width: auto;
    max-width: 748px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.dn-header__nav {
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.dn-header__nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dn-header__nav-list--mobile {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
}

.dn-header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333333 !important;
    text-decoration: none !important;
    border-radius: 4px;
    position: relative;
}

.dn-header__nav-link:hover {
    color: var(--sml-blue) !important;
    background: rgba(10, 132, 209, 0.08);
}

.dn-header__nav-link.is-active {
    color: var(--sml-blue-dark) !important;
    font-weight: 700;
}

.dn-header__badge {
    position: absolute;
    top: -8px;
    right: 0;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
    color: #fff;
    line-height: 1.2;
}

.dn-header__badge--0 { background: var(--sml-red); }
.dn-header__badge--1 { background: var(--sml-blue); }
.dn-header__badge--2 { background: var(--sml-orange); }

.dn-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.dn-header__search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 200px;
    max-width: 280px;
}

.dn-header__search i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

.dn-header__search input {
    width: 100%;
    height: 40px;
    padding: 0 0.75rem 0 2.25rem;
    border: 1px solid rgba(10, 132, 209, 0.25);
    border-radius: 4px;
    background: #f8fafc;
    font-size: 0.875rem;
    line-height: 1.25;
}

.dn-header__search input:focus {
    outline: none;
    border-color: var(--sml-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 132, 209, 0.12);
}

.dn-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(10, 132, 209, 0.2);
    border-radius: 4px;
    background: #fff;
    color: var(--sml-blue-dark);
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.dn-header__icon-btn i {
    display: block;
    line-height: 1;
}

.dn-header__icon-btn:hover {
    background: rgba(10, 132, 209, 0.1);
    color: var(--sml-blue);
    border-color: rgba(10, 132, 209, 0.35);
}

[data-theme="dark"] .dn-header__search input {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
}

[data-theme="dark"] .dn-header__search input::placeholder {
    color: #94a3b8;
}

[data-theme="dark"] .dn-header__icon-btn {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
}

.dn-header__account-wrap {
    position: relative;
}

.dn-header__account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 40px;
    padding: 0 0.85rem;
    border: 1px solid rgba(10, 132, 209, 0.35);
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
    color: var(--sml-blue-dark);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.dn-header__account:hover,
.dn-header__account:focus-visible {
    background: var(--sml-blue);
    border-color: var(--sml-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(10, 132, 209, 0.25);
}

.dn-header__account--guest i {
    font-size: 0.9rem;
}

.dn-header__account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sml-red);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.dn-header__account-label {
    display: inline;
}

.dn-header__account-caret {
    font-size: 0.62rem;
    opacity: 0.75;
}

.dn-header__account-menu {
    min-width: 220px;
    border: 1px solid rgba(10, 132, 209, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dn-header__account-menu .dropdown-header {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.top-bar__account {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
}

.top-bar__account:hover {
    background: rgba(255, 255, 255, 0.22);
}

.top-bar__account-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

@media (max-width: 575.98px) {
    .dn-header__account-label {
        display: none;
    }

    .dn-header__account {
        width: 40px;
        padding: 0;
    }

    .dn-header__account--guest i {
        margin: 0;
    }

    .top-bar__account-label {
        display: none;
    }
}

.dn-header__mobile-nav {
    border-top: 1px solid #eee;
    background: #fafcff;
}

.dn-header__dropdown {
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Latest news overlay column */
.latest-news-list--overlay .latest-news-item--overlay {
    display: block;
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.latest-news-item__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-news-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.82));
    display: flex;
    align-items: flex-end;
    padding: 0.8rem 0.9rem;
}

.latest-news-item__title {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Gossip News section */
.gossip-section {
    background: #ffffff;
    border: 1px solid rgba(10, 132, 209, 0.12);
    overflow: hidden;
}

.gossip-section__tabbar {
    display: flex;
    align-items: stretch;
    min-height: 42px;
    background: #f3f3f3;
}

.gossip-section__tabbar-label {
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    background: var(--sml-red);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.gossip-section__tabbar-meta {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #666666;
    text-transform: uppercase;
}

.gossip-featured {
    display: block;
    position: relative;
    overflow: hidden;
}

.gossip-featured__image {
    width: 100%;
    height: clamp(220px, 32vw, 420px);
    object-fit: cover;
    display: block;
}

.gossip-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem;
}

.gossip-featured__title {
    color: #ffffff;
    font-size: clamp(1.1rem, 2.5vw, 1.65rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    font-family: 'Merriweather', Georgia, serif;
}

.gossip-featured__time {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.gossip-featured__time i {
    margin-right: 0.35rem;
}

.gossip-list {
    display: flex;
    flex-direction: column;
}

.gossip-list__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #eeeeee;
    color: inherit;
    transition: background 0.15s;
}

.gossip-list__item:hover {
    background: #f5faff;
}

.gossip-list__item:last-child {
    border-bottom: none;
}

.gossip-list__thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    background: #e8e8e8;
}

.gossip-list__body {
    min-width: 0;
    flex: 1;
}

.gossip-list__title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.35rem;
    color: #222222;
    font-family: 'Merriweather', Georgia, serif;
}

.gossip-list__item:hover .gossip-list__title {
    color: var(--sml-blue);
}

.gossip-list__time {
    font-size: 0.72rem;
    color: #999999;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.gossip-list__time i {
    margin-right: 0.3rem;
    color: var(--sml-blue);
}

/* Editor's Choice stack */
.editor-stack {
    background: #ffffff;
    border: 1px solid rgba(10, 132, 209, 0.12);
    padding: 1rem 1.15rem 1.15rem;
}

.editor-stack__heading {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111111;
    font-family: 'Merriweather', Georgia, serif;
}

.editor-stack__rule {
    height: 2px;
    background: #e8e8e8;
    margin-bottom: 0.85rem;
    position: relative;
}

.editor-stack__rule::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 2px;
    background: var(--sml-red);
}

.editor-stack__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.editor-stack__item {
    display: block;
    padding: 0.85rem 1rem;
    background: #f5f5f5;
    border-radius: 4px;
    color: inherit;
    transition: background 0.15s;
}

.editor-stack__item:hover {
    background: #eef6fc;
}

.editor-stack__cat {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--sml-red);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.editor-stack__title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 0.4rem;
    color: #333333;
    font-family: 'Merriweather', Georgia, serif;
}

.editor-stack__item:hover .editor-stack__title {
    color: var(--sml-blue-dark);
}

.editor-stack__time {
    font-size: 0.7rem;
    color: #999999;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.editor-stack__time i {
    margin-right: 0.3rem;
    color: var(--sml-blue);
}

.fixed-section {
    scroll-margin-top: 1rem;
}

.page-fullwidth .headlines-bar {
    border-radius: 0;
    margin-bottom: 1rem;
}

/* Homepage 3-column layout with fixed sidebars */
.home-layout {
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) minmax(280px, 320px);
    gap: 1.25rem;
    align-items: start;
    width: 100%;
}

.home-layout__main {
    min-width: 0;
    width: 100%;
}

.home-sidebar {
    position: sticky;
    top: 12px;
    align-self: start;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.home-sidebar--right {
    display: flex;
    flex-direction: column;
}

.home-sidebar__ad-top {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
}

.home-sidebar--left .sidebar-widget--most-read .sidebar-widget__link {
    font-size: 0.8rem;
    line-height: 1.35;
}

.home-sidebar--left .sidebar-widget--most-read .sidebar-widget__rank {
    font-size: 1rem;
}

.home-sidebar--left .sidebar-widget--most-read .sidebar-widget__list-item {
    padding: 0.65rem 0.75rem;
}

.home-sidebar--left .sidebar-widget,
.home-sidebar--right .sidebar-widget {
    border: 1px solid rgba(10, 132, 209, 0.12);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
}

.sidebar-categories__link {
    display: block;
    padding: 0.55rem 0.85rem;
    margin: 0 0.5rem;
    border-left: 3px solid var(--cat-color, var(--sml-blue));
    font-size: 0.85rem;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sidebar-categories__link:hover {
    background: rgba(10, 132, 209, 0.08);
    color: var(--sml-blue);
}

.sidebar-editors__item {
    display: block;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid #eeeeee;
    background: #fafafa;
    transition: background 0.15s;
}

.sidebar-editors__item:last-child {
    border-bottom: none;
}

.sidebar-editors__item:hover {
    background: #f0f8ff;
}

.sidebar-editors__cat {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--sml-red);
    margin-bottom: 0.25rem;
}

.sidebar-editors__title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    color: #222222;
    font-family: 'Merriweather', Georgia, serif;
    margin-bottom: 0.35rem;
}

.sidebar-editors__item:hover .sidebar-editors__title {
    color: var(--sml-blue);
}

.sidebar-editors__time {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #999999;
}

.sidebar-editors__time i {
    margin-right: 0.3rem;
    color: var(--sml-blue);
}

.gossip-section {
    width: 100%;
    margin-bottom: 1.25rem;
}

.gossip-section__body {
    width: 100%;
}

.gossip-list {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .gossip-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gossip-list__item:nth-child(odd) {
        border-right: 1px solid #eeeeee;
    }
}

@media (max-width: 991.98px) {
    .home-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-sidebar--left {
        display: none;
    }

    .home-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .home-sidebar__ad-top {
        position: static;
    }

    .home-sidebar--right {
        order: 10;
    }
}

@media (max-width: 767.98px) {
    .gossip-list__thumb {
        width: 90px;
        height: 64px;
    }

    .dn-header__main-inner {
        min-height: 204px;
    }

    .dn-header__logo img {
        max-height: 150px;
    }
}
