/* =========================================================
   NEWS PAGE
   Prefix: nwp-
========================================================= */

:root {
    --nwp-background: #0f1115;
    --nwp-card: #181b20;
    --nwp-card-hover: #1e2228;
    --nwp-border: #292d34;

    --nwp-text: #f5f5f5;
    --nwp-muted: #969ca6;
    --nwp-subtle: #737a84;
    --nwp-title: #e6e8eb;

    --nwp-gold: #d4af37;
    --nwp-gold-light: #f2c94c;

    --nwp-soft-border: rgba(255, 255, 255, 0.06);
    --nwp-ai-item-bg: rgba(15, 17, 21, 0.35);

    --nwp-ai-footer: #696f78;
    --nwp-ai-footer-strong: #818791;

    --nwp-news-meta: #747b85;
    --nwp-news-dot: #4e545d;
    --nwp-news-time: #757c86;

    --nwp-empty-title: #d2d5d9;
    --nwp-empty-text: #767d87;
}


/* =========================================================
   LIGHT THEME
========================================================= */

html[data-theme="light"] {
    --nwp-background: #fafafa;
    --nwp-card: #ffffff;
    --nwp-card-hover: #f6f7f8;
    --nwp-border: #e0e3e7;

    --nwp-text: #181a1f;
    --nwp-muted: #6d737c;
    --nwp-subtle: #8a9099;
    --nwp-title: #34383f;

    --nwp-gold: #d4af37;
    --nwp-gold-light: #f2c94c;

    --nwp-soft-border: rgba(24, 26, 31, 0.08);
    --nwp-ai-item-bg: rgba(24, 26, 31, 0.035);

    --nwp-ai-footer: #8a9099;
    --nwp-ai-footer-strong: #6d737c;

    --nwp-news-meta: #7d848e;
    --nwp-news-dot: #b3b8bf;
    --nwp-news-time: #7d848e;

    --nwp-empty-title: #4f555d;
    --nwp-empty-text: #7b828c;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 transparent;
}

/* Chrome, Edge, Safari */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        #f2c94c 0%,
        #d4af37 50%,
        #b88914 100%
    );
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #f6d96a 0%,
        #d4af37 50%,
        #a97d10 100%
    );
}

::selection {
    background: #FAF5E7;
    color: #111317;
}

::-moz-selection {
    background: #FAF5E7;
    color: #111317;
}

html,
body {
    margin: 0;
    padding: 0;
}

.nwp-main,
.nwp-main * {
    box-sizing: border-box;
}

.nwp-main {
    min-height: 70vh;

    padding: 30px 0 75px;

    background: var(--nwp-background);
    color: var(--nwp-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.nwp-main a {
    color: inherit;
    text-decoration: none;
}

.nwp-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.nwp-breadcrumb {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 38px;

    color: var(--nwp-subtle);

    font-size: 10px;
}

.nwp-breadcrumb a {
    color: var(--nwp-muted);

    transition: 0.2s;
}

.nwp-breadcrumb a:hover {
    color: var(--nwp-gold);
}


/* =========================================================
   PAGE HEADING
========================================================= */

.nwp-page-heading {
    margin-bottom: 28px;
}

.nwp-eyebrow {
    display: block;

    margin-bottom: 6px;

    color: var(--nwp-gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.nwp-page-heading h1 {
    margin: 0;

    font-size: 34px;

    letter-spacing: -1.2px;
}

.nwp-page-heading p {
    max-width: 650px;

    margin: 8px 0 0;

    color: var(--nwp-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   AI HERO
========================================================= */

.nwp-ai-hero {
    position: relative;

    display: grid;

    grid-template-columns: 52px minmax(0, 1fr);

    gap: 20px;

    overflow: hidden;

    margin-bottom: 48px;

    padding: 30px;

    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 5% 0%,
            rgba(212, 175, 55, 0.13),
            transparent 34%
        ),
        var(--nwp-card);
}

.nwp-ai-hero::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    right: -100px;
    top: -130px;

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.07);

    filter: blur(18px);
}

.nwp-ai-icon {
    width: 48px;
    height: 48px;

    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 11px;

    background: rgba(212, 175, 55, 0.10);

    color: var(--nwp-gold);

    font-size: 23px;
}

.nwp-ai-content {
    position: relative;
    z-index: 1;

    min-width: 0;
}

.nwp-ai-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;
}

.nwp-ai-heading h2 {
    margin: 0;

    font-size: 23px;

    letter-spacing: -0.7px;
}

.nwp-ai-badge {
    flex-shrink: 0;

    padding: 5px 8px;

    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 6px;

    background: rgba(212, 175, 55, 0.07);

    color: var(--nwp-gold);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.7px;
}

.nwp-ai-summary-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.nwp-ai-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px;
    border: 1px solid var(--nwp-soft-border);
    border-radius: 9px;
    background: var(--nwp-ai-item-bg);
}

.nwp-ai-summary-marker {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.10);
    color: var(--nwp-gold);
    font-size: 9px;
}

.nwp-ai-summary-item > div {
    min-width: 0;
}

.nwp-ai-summary-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--nwp-title);
    font-size: 13px;
    line-height: 1.4;
}

.nwp-ai-summary-item p {
    margin: 0;
    color: var(--nwp-muted);
    font-size: 13px;
    line-height: 1.65;
}

.nwp-ai-empty {
    margin: 20px 0 0;
    color: var(--nwp-muted);
    font-size: 12px;
}

.nwp-ai-footer {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 19px;
    padding-top: 15px;

    border-top: 1px solid var(--nwp-soft-border);

    color: var(--nwp-ai-footer);

    font-size: 12px;
}

.nwp-ai-footer strong {
    color: var(--nwp-ai-footer-strong);

    font-weight: 600;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.nwp-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 18px;
}

.nwp-section-heading h2 {
    margin: 0;

    font-size: 23px;

    letter-spacing: -0.7px;
}

.nwp-news-count {
    color: var(--nwp-subtle);

    font-size: 10px;
}


/* =========================================================
   NEWS LIST
========================================================= */

.nwp-news-list {
    overflow: hidden;

    border: 1px solid var(--nwp-border);
    border-radius: 14px;

    background: var(--nwp-card);
}

.nwp-news-item {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 19px 22px;

    border-bottom: 1px solid var(--nwp-border);

    transition:
        background 0.18s ease,
        padding-left 0.18s ease;
}

.nwp-news-item:last-child {
    border-bottom: 0;
}

.nwp-news-item:hover {
    padding-left: 26px;

    background: var(--nwp-card-hover);
}

.nwp-news-main {
    min-width: 0;
}

.nwp-news-meta {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 6px;

    color: var(--nwp-news-meta);

    font-size: 9px;
}

.nwp-news-source {
    color: var(--nwp-gold);

    font-weight: 750;
}

.nwp-news-dot {
    color: var(--nwp-news-dot);
}

.nwp-news-meta time {
    color: var(--nwp-news-time);
}

.nwp-news-item h3 {
    margin: 0;

    color: var(--nwp-title);

    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;

    transition: color 0.18s ease;
}

.nwp-news-item:hover h3 {
    color: var(--nwp-gold-light);
}


/* =========================================================
   ARROW
========================================================= */

.nwp-news-arrow {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--nwp-border);
    border-radius: 50%;

    color: var(--nwp-subtle);

    font-size: 13px;

    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.nwp-news-item:hover .nwp-news-arrow {
    transform: translateX(2px);

    border-color: rgba(212, 175, 55, 0.35);

    background: rgba(212, 175, 55, 0.07);

    color: var(--nwp-gold);
}


/* =========================================================
   EMPTY
========================================================= */

.nwp-empty {
    min-height: 220px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;
}

.nwp-empty-icon {
    margin-bottom: 10px;

    color: var(--nwp-gold);

    font-size: 24px;
}

.nwp-empty strong {
    color: var(--nwp-empty-title);

    font-size: 12px;
}

.nwp-empty span {
    margin-top: 5px;

    color: var(--nwp-empty-text);

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .nwp-ai-hero {
        grid-template-columns: 42px minmax(0, 1fr);

        gap: 15px;
    }

    .nwp-ai-icon {
        width: 40px;
        height: 40px;

        font-size: 19px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .nwp-main {
        padding: 24px 0 55px;
    }

    .nwp-container {
        width: calc(100% - 24px);
    }

    .nwp-breadcrumb {
        margin-bottom: 27px;
    }

    .nwp-page-heading h1 {
        font-size: 29px;
    }

    .nwp-page-heading p {
        font-size: 12px;
    }

    .nwp-ai-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 38px;
        padding: 21px 18px;
    }

    .nwp-ai-heading {
        gap: 12px;
    }

    .nwp-ai-heading h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .nwp-ai-summary-list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .nwp-ai-summary-item {
        width: 100%;
        padding: 13px 14px;
    }

    .nwp-ai-summary-item strong {
        font-size: 12px;
    }

    .nwp-ai-summary-item p {
        font-size: 11px;
        line-height: 1.6;
    }

    .nwp-ai-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .nwp-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .nwp-section-heading h2 {
        font-size: 20px;
    }

    .nwp-news-item {
        min-height: 86px;
        padding: 16px 15px;
    }

    .nwp-news-item:hover {
        padding-left: 15px;
    }

    .nwp-news-item h3 {
        font-size: 12px;
    }

    .nwp-news-arrow {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .nwp-news-arrow {
        display: none;
    }

}