/* =========================================================
   ROOT VARIABLES - EXACTLY FROM YOUR ORIGINAL CSS
   ========================================================= */

:root {
    --paper: #ffffff;
    --ground: #f4f5f7;
    --ink: #101319;
    --ink-soft: #3f4552;
    --ink-faint: #7a8291;
    --line: #e3e5ea;
    --line-dark: #101319;
    --blue: #2f46e0;
    --blue-deep: #1f33b8;
    --red: #e0263e;
    --footer-bg: #0b0d12;
    --footer-text: #a6adbb;
    --footer-bg-soft: #14171f;
    --footer-line: #232733;
    --footer-text-dim: #6b7280;
    --footer-heading: #eceef2;
    --blue-bright: #5e74ff;
}

:root {
    color-scheme: light;
}


/* =========================================================
   BASIC
   ========================================================= */

body {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

.header_logos .logo img {
    width: 286px;
}


/* =========================================================
   HEADER
   ========================================================= */

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 18px;
}

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

.masthead__mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue);
    position: relative;
    flex: none;
}

.masthead__mark::after {
    content: "";
    position: absolute;
    inset: 13px 20px;
    background: var(--red);
    border-radius: 4px 4px 7px 7px;
}

.masthead__word {
    display: flex;
    flex-direction: column;
}

.masthead__word-main {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: .01em;
    color: var(--blue);
    font-weight: 800;
}

.masthead__word-sub {
    font-size: .66rem;
    letter-spacing: .4em;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
}

.masthead__search {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--ink-faint);
    font-size: .84rem;
    min-width: 210px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
    border-top: 2px solid var(--line-dark);
    border-bottom: 1px solid var(--line);
}

.nav__list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0 16px;
    overflow-x: auto;
}

.nav__link {
    display: block;
    padding: 12px 14px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: var(--blue);
}

.nav__link--active {
    color: var(--red);
    box-shadow: inset 0 -3px 0 var(--red);
}


/* =========================================================
   HOME PAGE SECTION
   Classes match the new Home Page V2 PHP
   ========================================================= */

.hdn-home {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font: 15px/1.55 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hdn-home * {
    box-sizing: border-box;
}

.hdn-home__shell {
    background: var(--paper);
}

.hdn-link {
    color: inherit;
    text-decoration: none;
}

.hdn-section-pad {
    padding-left: 28px;
    padding-right: 28px;
}


/* ---------- lead grid ---------- */

.hdn-lead {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 32px;
    padding-top: 30px;
    padding-bottom: 34px;
}


/* ---------- featured story ---------- */

.hdn-featured-story__media {
    border-radius: 6px;
    display: block;
    aspect-ratio: 16 / 8.5;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.hdn-featured-story__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hdn-story-tag {
    position: absolute;
    left: 14px;
    bottom: 12px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.hdn-kicker {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 4px;
    display: block;
}

.hdn-featured-story__title {
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
    line-height: 1.16;
    margin: 8px 0 10px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.hdn-featured-story__title .hdn-link:hover {
    color: var(--blue-deep);
}

.hdn-featured-story__excerpt {
    color: var(--ink-soft);
    font-size: .98rem;
    max-width: 62ch;
    margin: 0 0 10px;
}

.hdn-featured-story__meta {
    font-size: .76rem;
    color: var(--ink-faint);
    margin: 0;
}

.hdn-featured-story__author {
    color: var(--ink-soft);
    font-weight: 600;
}


/* ---------- secondary stories ---------- */

.hdn-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.hdn-secondary-card__media {
    border-radius: 6px;
    display: block;
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.hdn-secondary-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hdn-secondary-card__title {
    margin: 6px 0 6px;
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 700;
}

.hdn-secondary-card__title .hdn-link:hover {
    color: var(--blue-deep);
}

.hdn-secondary-card__excerpt {
    margin: 0;
    color: var(--ink-soft);
    font-size: .86rem;
}


/* ---------- wire ---------- */

.hdn-wire {
    border-left: 1px solid var(--line);
    padding-left: 28px;
}

.hdn-wire__sticky {
    position: sticky;
    top: 20px;
}

.hdn-wire__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hdn-wire__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: hdn-wire-pulse 2s infinite;
}

@keyframes hdn-wire-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

.hdn-wire__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hdn-wire__item {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.hdn-wire__item:last-child {
    border-bottom: none;
}

.hdn-wire__time {
    display: block;
    font-size: .7rem;
    color: var(--ink-faint);
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.hdn-wire__link {
    font-size: .89rem;
    font-weight: 600;
    line-height: 1.35;
}

.hdn-wire__link:hover {
    color: var(--blue-deep);
}

.hdn-wire__more {
    display: inline-block;
    margin-top: 12px;
    color: var(--blue);
    font-size: .8rem;
    font-weight: 700;
}


/* ---------- trackers ---------- */

.hdn-trackers {
    background: var(--ink);
    color: #eceef2;
}

.hdn-trackers__inner {
    padding-top: 26px;
    padding-bottom: 28px;
}

.hdn-trackers__header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.hdn-trackers__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.hdn-trackers__sub {
    font-size: .78rem;
    color: #9aa2b1;
}

.hdn-trackers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hdn-tracker-card {
    background: #1a1e28;
    border: 1px solid #2a3040;
    border-radius: 8px;
    padding: 16px 18px;
    transition: border-color .15s;
}

.hdn-tracker-card:hover {
    border-color: var(--blue);
}

.hdn-tracker-card__label {
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8b9aff;
}

.hdn-tracker-card__title {
    margin: 6px 0 6px;
    font-size: .98rem;
    line-height: 1.3;
    color: #fff;
}

.hdn-tracker-card__excerpt {
    margin: 0;
    font-size: .8rem;
    color: #9aa2b1;
}


/* ---------- beat sections ---------- */

.hdn-beats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 34px;
    padding-bottom: 20px;
}

.hdn-beat__heading {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 4px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--line-dark);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.hdn-beat__more {
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--blue);
    font-weight: 700;
}

.hdn-beat-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.hdn-beat-card:last-child {
    border-bottom: none;
}

.hdn-beat-card__media {
    display: block;
    width: 70px;
    min-width: 100%;
    max-width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;

    background: var(--ground);
}

.hdn-beat-card__image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hdn-beat-card__title {
    margin: 0 0 4px;
    font-size: .93rem;
    line-height: 1.32;
    font-weight: 700;
}

.hdn-beat-card__title .hdn-link:hover {
    color: var(--blue-deep);
}

.hdn-beat-card__time {
    font-size: .72rem;
    color: var(--ink-faint);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-size: .88rem;
}


/* ---------- columns grid ---------- */

.site-footer__cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr;
    gap: 40px;
    padding-bottom: 44px;
}


/* ---------- brand column ---------- */

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.site-footer__mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    position: relative;
    flex: none;
}

.site-footer__mark::after {
    content: "";
    position: absolute;
    inset: 10px 15px;
    background: var(--red);
    border-radius: 3px 3px 5px 5px;
}

.site-footer__word {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-footer__word-main {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--footer-heading);
}

.site-footer__word-sub {
    font-size: .64rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--blue-bright);
    font-weight: 700;
    margin-top: 2px;
}

.site-footer__about {
    margin: 0 0 20px;
    color: var(--footer-text);
    line-height: 1.65;
    max-width: 34ch;
}

.site-footer__social {
    display: flex;
    gap: 10px;
}

.site-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--footer-bg-soft);
    border: 1px solid var(--footer-line);
    color: var(--footer-text);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: .15s;
}

.site-footer__social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}


/* ---------- shared column heading ---------- */

.site-footer__heading {
    margin: 0 0 18px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--footer-heading);
}


/* ---------- categories column ---------- */

.site-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__nav-link {
    color: var(--footer-text);
    text-decoration: none;
    transition: color .15s;
}

.site-footer__nav-link:hover {
    color: #fff;
}


/* ---------- latest news column ---------- */

.site-footer__news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__news-link {
    display: block;
    color: var(--footer-heading);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    font-size: .86rem;
    margin-bottom: 5px;
    transition: color .15s;
}

.site-footer__news-link:hover {
    color: var(--blue-bright);
}

.site-footer__news-time {
    display: block;
    color: var(--footer-text-dim);
    font-size: .74rem;
    letter-spacing: .02em;
}


/* ---------- newsletter column ---------- */

.site-footer__nl-desc {
    margin: 0 0 16px;
    color: var(--footer-text);
    line-height: 1.6;
}

.site-footer__nl-form {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.site-footer__nl-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--footer-line);
    background: var(--footer-bg-soft);
    color: #fff;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: .84rem;
}

.site-footer__nl-input::placeholder {
    color: var(--footer-text-dim);
}

.site-footer__nl-input:focus {
    outline: none;
    border-color: var(--blue-bright);
}

.site-footer__nl-button {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: .84rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}

.site-footer__nl-button:hover {
    background: var(--blue-bright);
}

.site-footer__trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__trust-link {
    color: var(--footer-text-dim);
    text-decoration: none;
    font-size: .82rem;
    transition: color .15s;
}

.site-footer__trust-link:hover {
    color: var(--footer-text);
}


/* ---------- bottom bar ---------- */

.site-footer__bottom {
    border-top: 1px solid var(--footer-line);
}

.site-footer__bottom-inner {
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .78rem;
}

.site-footer__copy {
    color: var(--footer-text-dim);
}

.site-footer__legal {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.site-footer__legal-link {
    color: var(--footer-text-dim);
    text-decoration: none;
    transition: color .15s;
}

.site-footer__legal-link:hover {
    color: var(--footer-text);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .hdn-lead {
        grid-template-columns: 1fr;
    }

    .hdn-wire {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--line-dark);
        padding-top: 18px;
    }

    .site-footer__cols {
        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }
}

@media (max-width: 820px) {
    .hdn-trackers__grid {
        grid-template-columns: 1fr;
    }

    .hdn-beats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .hdn-secondary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-footer__cols {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hdn-wire__dot {
        animation: none;
    }
}