/* =========================================================
   1) Base resets (safe with MudBlazor)
========================================================= */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#app {
    min-height: 100%;
}
/* =========================================================
   Landing section reveal on scroll
   - Add class="lp-section" and data-lp-section to section roots
========================================================= */

.lp-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
    will-change: opacity, transform;
}

/* When visible in viewport */
.lp-section--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: slightly staggered children */
.lp-section.lp-section--visible .lp-stagger-1 {
    transition-delay: 120ms;
}

.lp-section.lp-section--visible .lp-stagger-2 {
    transition-delay: 180ms;
}

.lp-section.lp-section--visible .lp-stagger-3 {
    transition-delay: 240ms;
}

/* Hero should be visible immediately on load (no scroll needed) */
.lp-section--hero-initial {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   2) Blazor loading screen (default)
========================================================= */
.loading-progress {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
}

    .loading-progress circle {
        fill: none;
        stroke-width: 6;
        stroke-linecap: round;
        stroke: #1976d2;
        animation: loading-progress 1.4s ease-in-out infinite;
    }

        .loading-progress circle:last-child {
            stroke-dasharray: 80, 200;
            stroke-dashoffset: -50;
        }

.loading-progress-text {
    margin-top: 96px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

@keyframes loading-progress {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -125;
    }
}

/* =========================================================
   3) Blazor error UI
========================================================= */
#blazor-error-ui {
    background: #b00020;
    color: #fff;
    padding: 0.75rem 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10000;
    display: none;
}

    #blazor-error-ui .reload {
        color: #fff;
        font-weight: 600;
        margin-left: 0.5rem;
        text-decoration: underline;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        float: right;
    }

/* =========================================================
   4) Small helpers (use anywhere)
========================================================= */
.lp-muted {
    opacity: 0.75;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.cursor-pointer {
    cursor: pointer;
}




    /* =========================================================
   5) Layout: AppBar logo (use in MainLayout.razor)
   - Apply Class="lp-appbar" to MudAppBar
   - Apply Class="lp-logo" to MudImage
========================================================= */
    .lp-appbar .mud-appbar-content {
        min-height: 64px; /* professional navbar height */
        align-items: center; /* vertical centering */
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .lp-logo {
        height: 44px; /* best practice size */
        width: auto;
        display: block;
        object-fit: contain;
    }

        /* Optional subtle hover */
        .lp-logo.cursor-pointer:hover {
            opacity: 0.9;
            transition: opacity 0.2s ease;
        }

    /* =========================================================
   6) Landing Page HERO v3 (lp3-*) - use only if your hero uses lp3 classes
========================================================= */
    .lp3-hero {
        position: relative;
        padding: 96px 0 64px;
        overflow: hidden;
        /* Background image */
        background-image: linear-gradient( to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.35), rgba(0,0,0,0.25) ), url("/images/hero-bg.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

        /* Subtle glow layer (optional but recommended) */
        .lp3-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient( closest-side, rgba(255,255,255,0.08), transparent 70% );
            pointer-events: none;
        }

    /* Ensure content stays above background layers */
    .lp3-wrap {
        position: relative;
        z-index: 1;
    }

    /* Mobile spacing adjustment */
    @media (max-width: 960px) {
        .lp3-hero {
            padding: 72px 0 48px;
            background-position: center top;
        }
    }

    .lp3-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255,255,255,.70);
        border: 1px solid rgba(0,0,0,.06);
        backdrop-filter: blur(10px);
        font-weight: 600;
        background: rgba(255,255,255,0.85);
    }

    .lp3-title {
        margin-top: 18px;
        font-weight: 850;
        letter-spacing: -0.5px;
        line-height: 1.05;
        color: #ffffff;
    }

    .lp3-subtitle {
        margin-top: 14px;
        max-width: 56ch;
        color: #ffffff;
    }

    .lp3-cta {
        margin-top: 24px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        align-items: center;
    }

    .lp3-chips {
        margin-top: 22px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .lp3-chip {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(255,255,255,.65);
        border: 1px solid rgba(0,0,0,.06);
        backdrop-filter: blur(10px);
        font-weight: 600;
        background: rgba(255,255,255,0.85);
    }

    /* Right card (glass) */
    .lp3-card {
        border-radius: 22px;
        padding: 18px;
        background: rgba(255,255,255,.72);
        border: 1px solid rgba(0,0,0,.07);
        backdrop-filter: blur(14px);
    }

    .lp3-cardHeader {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 6px 14px;
    }

    .lp3-cardBody {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 6px;
    }

    .lp3-row {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 12px;
        border-radius: 16px;
        background: rgba(255,255,255,.55);
        border: 1px solid rgba(0,0,0,.05);
    }

    .lp3-rowIcon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,.05);
    }

    .lp3-rowText {
        flex: 1;
    }

    .lp3-cardFooter {
        margin-top: 14px;
        padding: 10px 6px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    @media (max-width: 960px) {
        .lp3-hero {
            padding: 72px 0 48px;
        }
    }

    /* =========================================================
   ABOUT (lp4-*) - modern + tidy
========================================================= */
    .lp4-about {
        padding: 72px 0;
    }

    .lp4-title {
        font-weight: 850;
        letter-spacing: -0.3px;
    }

    .lp4-lead {
        margin-top: 10px;
        opacity: 0.9;
        max-width: 62ch;
    }

    .lp4-sub {
        margin-top: 10px;
        opacity: 0.75;
        max-width: 64ch;
    }

    /* Stats row */
    .lp4-stats {
        margin-top: 18px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .lp4-stat {
        border-radius: 16px;
        padding: 14px 14px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(10px);
    }

    .lp4-statValue {
        font-weight: 850;
        line-height: 1.1;
    }

    .lp4-statLabel {
        opacity: 0.7;
    }

    /* Card */
    .lp4-card {
        border-radius: 22px;
        padding: 20px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
    }

    .lp4-cardTitle {
        font-weight: 850;
    }

    .lp4-cardSub {
        margin-top: 4px;
        opacity: 0.75;
    }

    .lp4-pillars {
        margin-top: 14px;
        display: grid;
        gap: 12px;
    }

    .lp4-pillar {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 14px;
        border-radius: 16px;
        border: 1px solid rgba(0,0,0,0.06);
        background: rgba(255,255,255,0.55);
    }

    .lp4-pillarIcon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.05);
    }

    .lp4-pillarTitle {
        font-weight: 850;
    }

    .lp4-pillarDesc {
        opacity: 0.75;
    }

    /* Responsive */
    @media (max-width: 960px) {
        .lp4-about {
            padding: 56px 0;
        }

        .lp4-stats {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    /* =========================================================
   Dark mode tweaks for lp4 (matches your lp3 dark fixes)
========================================================= */
    .mud-theme-dark .lp4-stat,
    .mud-theme-dark .lp4-card {
        background: rgba(15, 23, 42, 0.72);
        border: 1px solid rgba(255,255,255,0.10);
    }

    .mud-theme-dark .lp4-pillar {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
    }

    .mud-theme-dark .lp4-pillarIcon {
        background: rgba(255,255,255,0.08);
    }

    .mud-theme-dark .lp4-lead {
        opacity: 0.92;
    }

    .mud-theme-dark .lp4-sub,
    .mud-theme-dark .lp4-statLabel,
    .mud-theme-dark .lp4-pillarDesc,
    .mud-theme-dark .lp4-cardSub {
        opacity: 0.80;
    }

    /* =========================================================
   MEMBERSHIP (lp5-*) - modern + clean cards
========================================================= */
    .lp5-membership {
        padding: 72px 0;
    }

    /* Header row */
    .lp5-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
    }

    .lp5-title {
        font-weight: 850;
        letter-spacing: -0.3px;
    }

    .lp5-subtitle {
        margin-top: 6px;
        opacity: 0.75;
        max-width: 64ch;
    }

    /* Tier card */
    .lp5-tier {
        border-radius: 22px;
        padding: 18px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .lp5-tierTop {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .lp5-tierName {
        font-weight: 850;
    }

    .lp5-tierTag {
        opacity: 0.72;
        margin-top: 4px;
    }

    /* Small badge on right */
    .lp5-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.60);
        font-weight: 600;
        opacity: 0.9;
    }

    /* Benefits list */
    .lp5-benefits {
        list-style: none;
        padding: 0;
        margin: 6px 0 0;
        display: grid;
        gap: 10px;
    }

        .lp5-benefits li {
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

            .lp5-benefits li .mud-icon-root {
                margin-top: 2px;
                opacity: 0.85;
            }

    /* Bottom area */
    .lp5-tierBottom {
        margin-top: auto;
        padding-top: 14px;
    }

    .lp5-note {
        margin-top: 10px;
        opacity: 0.70;
    }

    /* Responsive */
    @media (max-width: 960px) {
        .lp5-membership {
            padding: 56px 0;
        }
    }

    /* =========================================================
   Dark Mode for lp5 (matches lp3/lp4 style)
========================================================= */
    .mud-theme-dark .lp5-tier {
        background: rgba(15, 23, 42, 0.72);
        border: 1px solid rgba(255,255,255,0.10);
    }

    .mud-theme-dark .lp5-badge {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.10);
        color: rgba(255,255,255,0.92);
    }

    .mud-theme-dark .lp5-subtitle,
    .mud-theme-dark .lp5-tierTag,
    .mud-theme-dark .lp5-note {
        opacity: 0.80;
    }

    /* =========================================================
   NEWS (lp6-*) - modern featured + list
========================================================= */
    .lp6-news {
        padding: 72px 0;
    }

    .lp6-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
    }

    .lp6-title {
        font-weight: 850;
        letter-spacing: -0.3px;
    }

    .lp6-subtitle {
        margin-top: 6px;
        opacity: 0.75;
        max-width: 64ch;
    }

    /* Featured card */
    .lp6-featured {
        border-radius: 22px;
        overflow: hidden;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.78);
        backdrop-filter: blur(14px);
        cursor: pointer;
    }

    /* Media header (use real images later) */
    .lp6-featuredMedia {
        position: relative;
        height: 220px;
        background: linear-gradient(135deg, rgba(0,0,0,0.10), rgba(0,0,0,0.02));
    }

    .lp6-mediaOverlay {
        position: absolute;
        inset: 0;
        background: radial-gradient(closest-side, rgba(255,255,255,0.12), transparent 70%);
    }

    .lp6-mediaHint {
        position: absolute;
        left: 16px;
        bottom: 14px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(255,255,255,0.75);
        border: 1px solid rgba(0,0,0,0.08);
        font-weight: 600;
        opacity: 0.95;
    }

    .lp6-featuredBody {
        padding: 18px;
    }

    .lp6-overline {
        opacity: 0.75;
    }

    .lp6-featuredTitle {
        margin-top: 8px;
        font-weight: 850;
        letter-spacing: -0.2px;
        line-height: 1.2;
    }

    .lp6-featuredSummary {
        margin-top: 10px;
        opacity: 0.78;
    }

    .lp6-featuredFooter {
        margin-top: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* List */
    .lp6-list {
        display: grid;
        gap: 12px;
    }

    .lp6-item {
        border-radius: 18px;
        padding: 14px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
        cursor: pointer;
        transition: transform 0.12s ease, border-color 0.12s ease;
    }

        .lp6-item:hover {
            transform: translateY(-2px);
            border-color: rgba(0,0,0,0.14);
        }

    .lp6-date {
        opacity: 0.70;
    }

    .lp6-itemTitle {
        margin-top: 6px;
        font-weight: 850;
        line-height: 1.2;
    }

    .lp6-itemSummary {
        margin-top: 6px;
        opacity: 0.75;
    }

    .lp6-itemFooter {
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        opacity: 0.85;
    }

    /* Loading & empty */
    .lp6-skeleton,
    .lp6-empty {
        border-radius: 22px;
        padding: 18px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
    }

    /* Responsive */
    @media (max-width: 960px) {
        .lp6-news {
            padding: 56px 0;
        }

        .lp6-featuredMedia {
            height: 190px;
        }
    }

    /* =========================================================
   Dark mode for lp6 (matches lp3/lp4/lp5)
========================================================= */
    .mud-theme-dark .lp6-featured,
    .mud-theme-dark .lp6-item,
    .mud-theme-dark .lp6-skeleton,
    .mud-theme-dark .lp6-empty {
        background: rgba(15, 23, 42, 0.72);
        border: 1px solid rgba(255,255,255,0.10);
    }

        .mud-theme-dark .lp6-item:hover {
            border-color: rgba(255,255,255,0.16);
        }

    .mud-theme-dark .lp6-mediaHint {
        background: rgba(15, 23, 42, 0.70);
        border: 1px solid rgba(255,255,255,0.10);
        color: rgba(255,255,255,0.92);
    }

    .mud-theme-dark .lp6-subtitle,
    .mud-theme-dark .lp6-overline,
    .mud-theme-dark .lp6-date,
    .mud-theme-dark .lp6-featuredSummary,
    .mud-theme-dark .lp6-itemSummary {
        opacity: 0.82;
    }

    /* =========================================================
   EVENTS (lp7-*) - modern timeline cards
========================================================= */
    .lp7-events {
        padding: 72px 0;
    }

    /* Header row */
    .lp7-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
    }

    .lp7-title {
        font-weight: 850;
        letter-spacing: -0.3px;
    }

    .lp7-subtitle {
        margin-top: 6px;
        opacity: 0.75;
        max-width: 64ch;
    }

    /* Timeline container */
    .lp7-timeline {
        display: grid;
        gap: 14px;
    }

    /* Each event card */
    .lp7-event {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 14px;
        border-radius: 22px;
        padding: 16px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
    }

    /* Left rail */
    .lp7-rail {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lp7-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(0,0,0,0.22);
        border: 2px solid rgba(255,255,255,0.75);
        box-shadow: 0 0 0 6px rgba(0,0,0,0.05);
        margin-top: 6px;
    }

    .lp7-line {
        width: 2px;
        flex: 1;
        margin-top: 10px;
        border-radius: 999px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.02));
    }

    /* Body */
    .lp7-body {
        padding-right: 4px;
    }

    .lp7-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .lp7-eventTitle {
        font-weight: 850;
        line-height: 1.2;
    }

    .lp7-meta {
        margin-top: 6px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        opacity: 0.80;
    }

    .lp7-metaItem {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.92rem;
    }

    .lp7-summary {
        margin-top: 10px;
        opacity: 0.78;
        max-width: 80ch;
    }

    /* Footer */
    .lp7-footer {
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .lp7-tags {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .lp7-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.60);
        font-weight: 600;
        opacity: 0.9;
    }

    @media (max-width: 960px) {
        .lp7-events {
            padding: 56px 0;
        }

        .lp7-event {
            grid-template-columns: 28px 1fr;
            padding: 14px;
        }
    }

    /* =========================================================
   Dark mode (consistent with lp3/lp4/lp5/lp6)
========================================================= */
    .mud-theme-dark .lp7-event {
        background: rgba(15, 23, 42, 0.72);
        border: 1px solid rgba(255,255,255,0.10);
    }

    .mud-theme-dark .lp7-dot {
        background: rgba(255,255,255,0.35);
        border: 2px solid rgba(15, 23, 42, 0.95);
        box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
    }

    .mud-theme-dark .lp7-line {
        background: linear-gradient(to bottom, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
    }

    .mud-theme-dark .lp7-tag {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.10);
        color: rgba(255,255,255,0.92);
    }

    .mud-theme-dark .lp7-subtitle,
    .mud-theme-dark .lp7-meta,
    .mud-theme-dark .lp7-summary {
        opacity: 0.82;
    }

    /* =========================================================
   CONTACT (lp8) – minimal, modern, futuristic
========================================================= */
    .lp8-contact {
        padding: 72px 0;
    }

    .lp8-title {
        font-weight: 850;
        letter-spacing: -0.3px;
    }

    .lp8-subtitle {
        margin-top: 6px;
        opacity: 0.75;
    }

    /* Info card */
    .lp8-info {
        border-radius: 20px;
        padding: 16px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
        display: grid;
        gap: 14px;
    }

    .lp8-infoRow {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .lp8-link {
        color: inherit;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    /* Actions */
    .lp8-actions {
        border-radius: 24px;
        padding: 12px;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
        display: grid;
        gap: 10px;
    }

    .lp8-action {
        display: grid;
        grid-template-columns: 32px 1fr 20px;
        gap: 14px;
        align-items: center;
        padding: 14px 16px;
        border-radius: 16px;
        border: 1px solid rgba(0,0,0,0.06);
        background: rgba(255,255,255,0.55);
        color: inherit;
        text-decoration: none;
        transition: transform .12s ease, border-color .12s ease;
    }

        .lp8-action:hover {
            transform: translateY(-1px);
            border-color: rgba(0,0,0,0.14);
        }

    .lp8-actionTitle {
        font-weight: 700;
    }

    .lp8-actionDesc {
        font-size: 0.85rem;
        opacity: 0.7;
    }

    /* WhatsApp highlight (soft futuristic) */
    .lp8-action--wa {
        border: 1px solid rgba(16,185,129,0.30);
        background: linear-gradient( 135deg, rgba(16,185,129,0.12), rgba(255,255,255,0.55) );
    }

    .lp8-waIcon {
        width: 22px;
        height: 22px;
    }

    /* Footer */
    .lp8-footerText {
        opacity: 0.6;
    }

    /* Dark mode */
    .mud-theme-dark .lp8-info,
    .mud-theme-dark .lp8-actions {
        background: rgba(15,23,42,0.72);
        border: 1px solid rgba(255,255,255,0.10);
    }

    .mud-theme-dark .lp8-action {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
    }

    .mud-theme-dark .lp8-action--wa {
        background: linear-gradient( 135deg, rgba(16,185,129,0.12), rgba(255,255,255,0.06) );
    }

/* Corporate News Detail styling */

.news-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6px 0 24px;
}

.news-shell {
    padding: 14px 0;
}

.news-topbar {
    padding: 10px 10px;
    margin-bottom: 10px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.06);
}

.news-hero {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    margin-bottom: 14px;
    position: relative;
}

.news-heroCover {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.news-coverImg {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.news-coverOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.55));
}

.news-heroInner {
    padding: 18px 18px 16px 18px;
    position: relative;
}

.news-title {
    line-height: 1.12;
    font-weight: 900;
    margin-bottom: 10px;
}

.news-summary {
    opacity: .82;
    line-height: 1.45;
    margin-bottom: 12px;
    max-width: 860px;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    opacity: .9;
}

.news-chip {
    border-radius: 999px;
}

.news-metaText {
    opacity: .78;
}

.news-metaDot {
    opacity: .55;
}

.news-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .95em;
}

.news-body {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    padding: 18px;
}

.news-content {
    max-width: 860px;
}

.news-article {
    white-space: pre-wrap;
    line-height: 1.85;
    font-size: 1.02rem;
}
    .news-article p {
        text-align: justify; /* justify text */
        text-indent: 2em; /* "1 tab" indent (adjust) */
        margin: 0 0 1rem 0; /* spacing between paragraphs */
        line-height: 1.85;
    }


.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 960px) {
    .news-detail {
        padding: 0 6px 18px;
    }

    .news-heroCover, .news-coverImg {
        height: 220px;
    }

    .news-title {
        font-size: 1.8rem;
    }
}

.news-feed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 0 22px;
}

.news-feedTop {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    margin-bottom: 12px;
}

.news-feedTopRow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.news-muted {
    opacity: .74;
}

.news-kpis {
    display: flex;
    gap: 10px;
}

.news-kpi {
    border: 1px dashed rgba(0,0,0,.16);
    border-radius: 14px;
    padding: 10px 12px;
    min-width: 110px;
    text-align: right;
}

.news-kpiLabel {
    font-size: 12px;
    opacity: .7;
}

.news-kpiValue {
    font-weight: 900;
    margin-top: 2px;
}

.news-filterRow {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.news-feed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 0 22px;
}

.news-feedTop {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    margin-bottom: 12px;
}

.news-topRow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.news-muted {
    opacity: .74;
}

.news-topMeta {
    display: flex;
    gap: 10px;
}

.news-pill {
    border: 1px dashed rgba(0,0,0,.16);
    border-radius: 999px;
    padding: 8px 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.news-pillLabel {
    font-size: 12px;
    opacity: .7;
}

.news-pillValue {
    font-weight: 900;
}

.news-filterRow {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.news-search {
    flex: 1;
    min-width: 260px;
}

.news-panel {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
}

.news-sectionHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.news-featuredItem {
    margin-top: 10px;
}

.news-latestList {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-latestRow {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 10px;
    background: rgba(0,0,0,.015);
}

.news-pagination {
    display: flex;
    justify-content: center;
}

.news-loading {
    display: flex;
    align-items: center;
    padding: 10px 4px;
}

/* Mobile */
@media (max-width: 960px) {
    .news-feed {
        padding: 0 6px 18px;
    }

    .news-topMeta {
        width: 100%;
        justify-content: flex-start;
    }
}








