:root {
    --ink: #18232b;
    --muted: #67747c;
    --line: #dce3e7;
    --soft: #f4f6f7;
    --brand: #173c59;
    --brand-dark: #102b40;
    --accent: #b1252b;
    --paper: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--paper);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

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

.utility-bar {
    background: var(--brand-dark);
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .55px;
}

.utility-inner {
    min-height: 31px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-row {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    line-height: .9;
    letter-spacing: -3px;
}

.brand-518 {
    color: var(--brand);
    font-size: 52px;
    font-weight: 900;
}

.brand-news {
    margin-left: 5px;
    color: var(--accent);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -2px;
}

.brand-tagline {
    color: var(--muted);
    font-family: Georgia, serif;
    font-size: 15px;
    font-style: italic;
}

.main-nav {
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--brand);
}

.nav-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-inner a {
    flex: 0 0 auto;
    padding: 13px 20px 12px 0;
    margin-right: 22px;
    color: #33434d;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .65px;
}

.nav-inner a:hover {
    color: var(--accent);
}

.site-main {
    min-height: 58vh;
}

.homepage-top {
    padding: 46px 0 42px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(320px, .85fr);
    gap: 48px;
    border-bottom: 1px solid var(--line);
}

.lead-story {
    padding-right: 20px;
}

.story-label-row,
.article-label-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.location-label,
.section-label,
.breaking-label,
.developing-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.location-label {
    color: var(--accent);
}

.section-label {
    color: var(--brand);
}

.breaking-label {
    padding: 3px 7px;
    color: #fff;
    background: var(--accent);
}

.developing-label {
    padding: 3px 7px;
    color: #fff;
    background: #8a6415;
}

.lead-story h1 {
    margin: 11px 0 15px;
    max-width: 850px;
    font-family:
        Georgia,
        'Times New Roman',
        serif;
    font-size: clamp(
        38px,
        5vw,
        65px
    );
    line-height: 1.01;
    letter-spacing: -1.8px;
}

.lead-story h1 a,
.secondary-story h2 a,
.latest-item h3 a,
.location-story h2 a {
    text-decoration: none;
}

.lead-story h1 a:hover,
.secondary-story h2 a:hover,
.latest-item h3 a:hover,
.location-story h2 a:hover {
    color: var(--accent);
}

.lead-dek {
    max-width: 800px;
    margin: 0 0 19px;
    color: #4f5d65;
    font-family:
        Georgia,
        serif;
    font-size: 20px;
    line-height: 1.48;
}

.story-time {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.secondary-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.secondary-story {
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.secondary-story:last-child {
    margin-bottom: 0;
}

.secondary-story h2 {
    margin: 6px 0 8px;
    font-family: Georgia, serif;
    font-size: 22px;
    line-height: 1.14;
}

.secondary-story p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.latest-section {
    padding: 36px 0 60px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 9px;
}

.section-heading h2 {
    margin: 0;
    color: var(--brand);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .9px;
}

.section-rule {
    height: 2px;
    flex: 1;
    background: var(--brand);
}

.latest-list {
    max-width: 850px;
}

.latest-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.latest-meta {
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.latest-meta span {
    padding: 0 5px;
    color: #aab2b7;
}

.latest-item h3 {
    margin: 0 0 7px;
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 1.16;
}

.latest-item p {
    margin: 0;
    max-width: 750px;
    color: var(--muted);
    font-size: 14px;
}

.article-page {
    padding: 44px 20px 75px;
}

.article-shell {
    width: min(
        790px,
        100%
    );
    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    gap: 7px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.article-breadcrumb a {
    color: var(--brand);
    text-decoration: none;
}

.article-page h1 {
    margin: 10px 0 16px;
    font-family:
        Georgia,
        'Times New Roman',
        serif;
    font-size: clamp(
        38px,
        6vw,
        60px
    );
    line-height: 1.04;
    letter-spacing: -1.3px;
}

.article-dek {
    margin: 0 0 23px;
    color: #55636b;
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.47;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    color: var(--muted);
    font-size: 11px;
}

.article-byline strong {
    color: var(--ink);
}

.article-divider {
    height: 1px;
    margin: 22px 0 28px;
    background: var(--line);
}

.article-body {
    font-family:
        Georgia,
        'Times New Roman',
        serif;
    font-size: 19px;
    line-height: 1.72;
}

.article-body p {
    margin: 0 0 24px;
}

.article-end {
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.article-end span {
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.location-header {
    padding: 46px 0 26px;
    border-bottom: 3px solid var(--brand);
}

.section-kicker {
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.location-header h1,
.section-placeholder h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(
        40px,
        6vw,
        60px
    );
    line-height: 1.05;
}

.location-header p,
.section-placeholder p {
    max-width: 650px;
    margin: 9px 0 0;
    color: var(--muted);
}

.location-story-list {
    max-width: 870px;
    padding: 12px 0 60px;
}

.location-story {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.location-story h2 {
    margin: 5px 0 9px;
    font-family: Georgia, serif;
    font-size: 29px;
    line-height: 1.15;
}

.location-story p {
    margin: 0 0 9px;
    color: var(--muted);
}

.launch-state,
.section-placeholder,
.empty-state {
    width: min(
        850px,
        100%
    );
    margin: 0 auto;
    padding: 100px 0;
    text-align: center;
}

.launch-kicker,
.empty-code {
    margin-bottom: 9px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.launch-state h1,
.empty-state h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(
        37px,
        6vw,
        58px
    );
    line-height: 1.06;
}

.launch-state p,
.empty-state p {
    max-width: 620px;
    margin: 17px auto 0;
    color: var(--muted);
    font-size: 16px;
}

.launch-status {
    display: inline-block;
    margin-top: 26px;
    padding: 9px 13px;
    border: 1px solid #d6dde1;
    border-radius: 4px;
    background: var(--soft);
    color: #536169;
    font-size: 11px;
    font-weight: 700;
}

.primary-link-button {
    display: inline-block;
    margin-top: 25px;
    padding: 11px 18px;
    border-radius: 4px;
    color: #fff;
    background: var(--brand);
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
}

.empty-location {
    padding: 50px 0 70px;
    color: var(--muted);
}

.site-footer {
    margin-top: 40px;
    color: #d9e1e6;
    background: var(--brand-dark);
}

.footer-grid {
    min-height: 180px;
    padding-top: 38px;
    padding-bottom: 38px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
}

.footer-brand {
    margin-bottom: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.footer-grid p {
    max-width: 470px;
    margin: 0;
    color: #aebbc4;
    font-size: 12px;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-bottom {
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #8396a2;
    font-size: 10px;
}

@media (max-width: 900px) {
    .homepage-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .secondary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .secondary-story {
        margin: 0;
    }
}

@media (max-width: 650px) {
    .site-shell {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .utility-inner {
        min-height: 27px;
        font-size: 8px;
    }

    .utility-inner span:last-child {
        display: none;
    }

    .brand-row {
        min-height: 81px;
    }

    .brand-518 {
        font-size: 42px;
    }

    .brand-news {
        font-size: 31px;
    }

    .brand-tagline {
        display: none;
    }

    .nav-inner a {
        padding-top: 11px;
        padding-bottom: 10px;
        margin-right: 18px;
        font-size: 10px;
    }

    .homepage-top {
        padding-top: 31px;
    }

    .lead-story {
        padding-right: 0;
    }

    .lead-story h1 {
        font-size: 41px;
    }

    .lead-dek {
        font-size: 18px;
    }

    .secondary-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .article-page {
        padding:
            32px
            14px
            60px;
    }

    .article-page h1 {
        font-size: 39px;
    }

    .article-dek {
        font-size: 18px;
    }

    .article-body {
        font-size: 18px;
        line-height: 1.7;
    }

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

/* ========================================================
   PRIVATE ARTICLE PREVIEW v1.0
   ======================================================== */

.preview-warning {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 16px;
    background: #9a6d10;
    color: #fff;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
}

.preview-warning strong {
    margin-right: 8px;
    letter-spacing: .7px;
}


/* ========================================================
   518NEWS PUBLIC DESIGN v1.1
   ======================================================== */

:root {
    --ink: #172027;
    --muted: #66747d;
    --line: #dfe4e7;
    --soft: #f5f6f6;

    --brand: #18364b;
    --brand-dark: #102433;
    --brand-deep: #0b1b26;

    --gold: #e4b62e;
    --gold-bright: #f0c436;
    --cream: #f4efe1;

    --accent: #a72e32;
    --paper: #ffffff;
}

/* ---------- HEADER ---------- */

.site-header {
    background: #fff;
}

.utility-bar {
    background: var(--brand-deep);
    color: rgba(255,255,255,.72);
}

.utility-inner {
    min-height: 30px;
}

.utility-name {
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.utility-date {
    font-size: 10px;
}

.brand-area {
    background:
        linear-gradient(
            135deg,
            #102433 0%,
            #17364c 100%
        );
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-row {
    min-height: 118px;
}

.brand {
    display: block;
    line-height: normal;
    letter-spacing: normal;
}

.brand-logo {
    display: block;
    width: min(440px, 58vw);
    height: auto;
    max-height: 88px;
    object-fit: contain;
    object-position: left center;
}

.brand-tagline {
    color: rgba(244,239,225,.74);
    font-family: Georgia, serif;
    font-size: 16px;
    font-style: italic;
    text-align: right;
}

.brand-tagline span {
    color: var(--gold);
}

.main-nav {
    border-top: 0;
    border-bottom: 3px solid var(--gold);
    background: #fff;
    box-shadow:
        0 3px 10px rgba(16,36,51,.06);
}

.nav-inner a {
    position: relative;
    padding: 14px 0 12px;
    margin-right: 29px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .72px;
}

.nav-inner a:hover {
    color: #8b6710;
}

.nav-inner a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -3px;
    height: 3px;
    background: var(--gold);
    transition: right .16s ease;
}

.nav-inner a:hover::after {
    right: 0;
}


/* ---------- HOMEPAGE ---------- */

.homepage-top {
    padding-top: 50px;
}

.lead-story h1,
.article-page h1,
.location-header h1,
.section-placeholder h1 {
    color: #17222a;
    font-weight: 700;
}

.lead-story h1 {
    letter-spacing: -2px;
}

.location-label {
    color: #966f11;
}

.section-label {
    color: var(--brand);
}

.section-heading h2 {
    color: var(--brand);
}

.section-rule {
    background: var(--gold);
}


/* ---------- ARTICLE PAGE ---------- */

.article-page {
    padding-top: 51px;
    background:
        linear-gradient(
            to bottom,
            #fbfbfa 0,
            #ffffff 220px
        );
}

.article-shell {
    width: min(
        820px,
        100%
    );
}

.article-breadcrumb {
    margin-bottom: 26px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7e8;
    color: #7c878d;
}

.article-breadcrumb a {
    color: #355971;
    font-weight: 800;
}

.article-label-row {
    margin-bottom: 12px;
}

.article-page h1 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: clamp(
        42px,
        5vw,
        62px
    );
    line-height: 1.035;
    letter-spacing: -1.8px;
}

.article-dek {
    max-width: 760px;
    margin-bottom: 27px;
    color: #58666e;
    font-size: 21px;
    line-height: 1.5;
}

.article-byline {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.article-byline strong {
    color: var(--brand);
    font-size: 12px;
}

.article-divider {
    display: none;
}

.article-body {
    padding-top: 31px;
    color: #20272b;
    font-size: 19px;
    line-height: 1.78;
}

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

.article-body p:first-child::first-letter {
    float: left;
    margin:
        .08em
        .10em
        0
        0;
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 3.25em;
    font-weight: 700;
    line-height: .78;
}

.article-end {
    margin-top: 48px;
    padding-top: 18px;
    border-top: 3px solid var(--gold);
}

.article-end span {
    color: var(--brand);
    letter-spacing: 1.5px;
}


/* ---------- LOCATION PAGES ---------- */

.location-header {
    border-bottom-color: var(--gold);
}

.section-kicker {
    color: #9c7415;
}


/* ---------- PREVIEW ---------- */

.preview-warning {
    background: #8f6812;
    border-bottom: 1px solid #dcb545;
}


/* ---------- FOOTER ---------- */

.site-footer {
    background:
        linear-gradient(
            135deg,
            #0c1d29,
            #122f43
        );
    border-top: 4px solid var(--gold);
}

.footer-brand {
    color: var(--gold);
}

.footer-links a:hover {
    color: var(--gold);
}


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

@media (max-width: 900px) {

    .brand-row {
        min-height: 105px;
    }

    .brand-logo {
        width: min(400px, 62vw);
    }

    .article-shell {
        width: min(
            760px,
            100%
        );
    }
}


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

@media (max-width: 650px) {

    body {
        overflow-x: hidden;
    }

    .site-shell {
        width: calc(100% - 28px);
    }

    .utility-bar {
        display: none;
    }

    .brand-row {
        min-height: 84px;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .brand {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .brand-logo {
        width: min(
            360px,
            94%
        );
        max-height: 68px;
        object-position: center;
    }

    .brand-tagline {
        display: none;
    }

    .main-nav {
        border-bottom-width: 3px;
    }

    .nav-inner {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .nav-inner a {
        padding:
            11px
            0
            10px;
        margin-right: 24px;
        font-size: 10px;
        scroll-snap-align: start;
    }

    .homepage-top {
        padding-top: 27px;
        padding-bottom: 30px;
    }

    .lead-story h1 {
        margin-top: 8px;
        font-size: 38px;
        line-height: 1.05;
        letter-spacing: -1.2px;
    }

    .lead-dek {
        font-size: 17px;
        line-height: 1.48;
    }

    .secondary-story h2 {
        font-size: 22px;
    }

    .latest-item h3 {
        font-size: 23px;
    }

    .article-page {
        padding:
            26px
            18px
            60px;
    }

    .article-breadcrumb {
        margin-bottom: 20px;
        font-size: 10px;
    }

    .article-page h1 {
        margin-bottom: 15px;
        font-size: 36px;
        line-height: 1.065;
        letter-spacing: -1px;
    }

    .article-dek {
        margin-bottom: 21px;
        font-size: 18px;
        line-height: 1.48;
    }

    .article-byline {
        display: grid;
        gap: 4px;
        padding: 12px 0;
    }

    .article-body {
        padding-top: 24px;
        font-size: 18px;
        line-height: 1.72;
    }

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

    .article-body p:first-child::first-letter {
        font-size: 2.9em;
    }

    .preview-warning {
        position: relative;
        padding:
            7px
            12px;
        font-size: 9px;
    }

    .location-header {
        padding-top: 31px;
    }

    .location-header h1 {
        font-size: 40px;
    }

    .location-story h2 {
        font-size: 25px;
    }

    .footer-grid {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


/* ========================================================
   VERY SMALL PHONES
   ======================================================== */

@media (max-width: 390px) {

    .brand-row {
        min-height: 76px;
    }

    .brand-logo {
        max-height: 59px;
    }

    .article-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article-page h1 {
        font-size: 33px;
    }

    .article-body {
        font-size: 17px;
    }

    .lead-story h1 {
        font-size: 35px;
    }
}

/* ========================================================
   MOBILE / LONG-TEXT OVERFLOW PROTECTION
   ======================================================== */

/*
 * Never allow article content to make the entire
 * document wider than the device viewport.
 */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/*
 * URLs, email addresses and other long strings must
 * be allowed to break on small screens.
 */
.article-body,
.article-body p,
.article-body a,
.article-dek,
.article-page h1,
.lead-story h1,
.lead-dek,
.latest-item,
.secondary-story,
.location-story {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

/*
 * Explicit protection for links. Government/news source
 * URLs can be extremely long and otherwise force overflow.
 */
.article-body a,
.article-body p a {
    word-break: break-word;
}

/*
 * Images/media should never exceed their container.
 */
.article-body img,
.article-body video,
.article-body iframe,
.article-body table {
    max-width: 100%;
}

/*
 * Tables may scroll internally rather than widening
 * the complete page.
 */
.article-body table {
    display: block;
    overflow-x: auto;
}

/*
 * Keep the horizontal news navigation contained
 * within its own scrolling area.
 */
.main-nav,
.nav-inner {
    max-width: 100%;
}

.nav-inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ========================================================
   ARTICLE EXTERNAL LINKS
   ======================================================== */

.article-external-link {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-external-link:hover {
    color: var(--accent);
}

/* ========================================================
   FULL 518 REGIONAL NAVIGATION
   ======================================================== */

.main-nav {
    position: relative;
    z-index: 50;
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: visible;
}

.nav-link,
.local-news-menu > summary {
    min-height: 46px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 22px 0 0;
    margin-right: 22px;
    color: #33434d;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .65px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.local-news-menu > summary::-webkit-details-marker {
    display: none;
}

.local-news-menu > summary::marker {
    display: none;
    content: "";
}

.nav-link:hover,
.local-news-menu > summary:hover,
.local-news-menu[open] > summary {
    color: var(--accent);
}

.nav-chevron {
    margin-left: 6px;
    font-size: 9px;
    transition: transform .18s ease;
}

.local-news-menu[open] .nav-chevron {
    transform: rotate(180deg);
}

.local-news-menu {
    position: relative;
}

.local-news-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    left: -18px;
    width: min(620px, calc(100vw - 40px));
    padding: 18px;
    border: 1px solid #d9e1e5;
    border-top: 3px solid var(--brand);
    background: #fff;
    box-shadow:
        0 13px 32px rgba(17, 38, 52, .16);
}

.local-news-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.local-news-heading strong {
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 18px;
}

.local-news-heading span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.county-nav-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 3px 18px;
}

.county-nav-grid a {
    display: block;
    padding: 8px 7px;
    border-radius: 4px;
    color: #314550;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.county-nav-grid a:hover {
    color: var(--accent);
    background: #f3f6f8;
}

.county-nav-empty {
    padding: 12px;
    color: var(--muted);
    font-size: 12px;
}

/*
 * Override the original nav rule because the new menu
 * uses its own link sizing.
 */
.nav-inner > .nav-link {
    padding-top: 0;
    padding-bottom: 0;
}

/* ========================================================
   MOBILE REGIONAL NAVIGATION
   ======================================================== */

@media (max-width: 650px) {

    .main-nav {
        border-bottom-width: 3px;
    }

    .nav-inner {
        width: 100%;
        padding: 0 15px;
        overflow: visible;
    }

    .nav-link,
    .local-news-menu > summary {
        min-height: 44px;
        padding-right: 0;
        margin-right: 27px;
        font-size: 10px;
        letter-spacing: .55px;
    }

    .nav-inner > .nav-link:last-child {
        margin-right: 0;
    }

    .local-news-dropdown {
        position: fixed;
        top: auto;
        left: 14px;
        right: 14px;
        width: auto;
        max-height: 62vh;
        overflow-y: auto;
        padding: 14px;
        border-radius: 0 0 8px 8px;
        -webkit-overflow-scrolling: touch;
    }

    .local-news-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .county-nav-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 2px 10px;
    }

    .county-nav-grid a {
        padding: 10px 7px;
        font-size: 12px;
    }
}

@media (max-width: 390px) {

    .nav-link,
    .local-news-menu > summary {
        margin-right: 20px;
    }

    .county-nav-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   PREMIUM ARTICLE LAYOUT v1.0
   ======================================================== */

/*
 * Give article pages a subtle newsroom canvas instead
 * of one long column floating on pure white.
 */
.article-page {
    padding: 48px 20px 85px;
    background: #f6f7f7;
}

/*
 * Main article canvas:
 *
 *   760-ish px editorial column
 *   300 px advertising rail
 */
.article-shell {
    width: min(1140px, 100%);
    display: grid;
    grid-template-columns:
        minmax(0, 780px)
        300px;
    column-gap: 54px;
    align-items: start;
    margin: 0 auto;
    padding: 42px 46px 55px;
    background: #fff;
    border: 1px solid #e3e7e9;
    box-shadow:
        0 8px 30px rgba(22, 39, 49, .055);
}

/*
 * Existing article elements remain in the editorial
 * column. The advertisement occupies the right rail.
 */
.article-shell > :not(.article-ad-rail) {
    grid-column: 1;
}

.article-breadcrumb {
    margin-bottom: 25px;
    color: #7a858b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.article-label-row {
    margin-bottom: 11px;
}

.article-page h1 {
    max-width: 760px;
    margin:
        8px
        0
        18px;
    font-size:
        clamp(
            42px,
            5.25vw,
            64px
        );
    line-height: 1.015;
    letter-spacing: -1.7px;
}

.article-dek {
    max-width: 735px;
    margin-bottom: 25px;
    color: #52616a;
    font-size: 21px;
    line-height: 1.46;
}

.article-byline {
    padding-top: 2px;
    font-size: 11px;
}

.article-byline strong {
    color: #253742;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.article-divider {
    margin:
        25px
        0
        31px;
    background: #d8dfe3;
}

.article-body {
    max-width: 720px;
    color: #252e34;
    font-size: 19px;
    line-height: 1.76;
}

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

/* --------------------------------------------------------
   ADVERTISING RAIL
   -------------------------------------------------------- */

.article-ad-rail {
    grid-column: 2;
    grid-row: 1 / span 20;
    width: 300px;
    align-self: start;
    position: sticky;
    top: 28px;
    padding-top: 2px;
}

.ad-label {
    margin-bottom: 6px;
    color: #929ba0;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            #f2f4f5,
            #e9edef
        );
    border: 1px solid #d9dfe2;
}

.ad-placeholder-300x250 {
    width: 300px;
    height: 250px;
}

.ad-placeholder-inner {
    width: calc(100% - 26px);
    height: calc(100% - 26px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: 1px dashed #bdc7cc;
    color: #7a858b;
    text-align: center;
}

.ad-placeholder-brand {
    margin-bottom: 8px;
    color: #173c59;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .8px;
}

.ad-placeholder-inner strong {
    color: #5d6a71;
    font-size: 13px;
}

.ad-placeholder-inner > span:last-child {
    font-size: 10px;
    letter-spacing: .5px;
}

/*
 * The preview banner stays visually separate from the
 * story itself.
 */
.preview-warning {
    border-bottom:
        1px solid
        rgba(255,255,255,.25);
}

/* --------------------------------------------------------
   TABLET
   -------------------------------------------------------- */

@media (max-width: 1040px) {

    .article-shell {
        grid-template-columns:
            minmax(0, 1fr)
            250px;
        column-gap: 32px;
        padding:
            36px
            32px
            48px;
    }

    .article-ad-rail {
        width: 250px;
    }

    .ad-placeholder-300x250 {
        width: 250px;
        height: 250px;
    }
}

/* --------------------------------------------------------
   MOBILE
   -------------------------------------------------------- */

@media (max-width: 820px) {

    .article-page {
        padding:
            20px
            0
            55px;
        background: #fff;
    }

    .article-shell {
        width: 100%;
        display: block;
        padding:
            24px
            20px
            42px;
        border: 0;
        box-shadow: none;
    }

    .article-page h1 {
        margin-top: 7px;
        font-size:
            clamp(
                36px,
                10.5vw,
                48px
            );
        line-height: 1.035;
        letter-spacing: -1.15px;
    }

    .article-dek {
        font-size: 18px;
        line-height: 1.48;
    }

    .article-body {
        max-width: 100%;
        font-size: 18px;
        line-height: 1.72;
    }

    /*
     * Advertising moves beneath the editorial copy on
     * smaller screens instead of squeezing the story.
     */
    .article-ad-rail {
        position: static;
        width: 300px;
        max-width: 100%;
        margin:
            38px
            auto
            0;
        padding-top: 22px;
        border-top: 1px solid var(--line);
    }

    .ad-placeholder-300x250 {
        width: min(300px, 100%);
        height: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 390px) {

    .article-shell {
        padding-left: 17px;
        padding-right: 17px;
    }

    .article-page h1 {
        font-size: 36px;
    }
}

/* ========================================================
   518NEWS PREMIUM HOMEPAGE v2.0
   ======================================================== */

.homepage {
    background: #fff;
}

.home-top-package {
    padding: 42px 0 44px;
    border-bottom: 1px solid #dce3e7;
    background:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #ffffff 70%,
            #fafbfb 100%
        );
}

.home-top-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        300px;
    gap: 52px;
    align-items: start;
}

.home-main-column {
    min-width: 0;
}

.home-lead {
    padding-bottom: 34px;
    border-bottom: 3px solid var(--brand);
}

.home-lead h1 {
    max-width: 860px;
    margin: 10px 0 15px;
    font-family:
        Georgia,
        'Times New Roman',
        serif;
    font-size:
        clamp(
            44px,
            5.5vw,
            70px
        );
    line-height: .99;
    letter-spacing: -2px;
}

.home-lead h1 a {
    text-decoration: none;
}

.home-lead h1 a:hover {
    color: var(--accent);
}

.home-lead-dek {
    max-width: 790px;
    margin: 0 0 18px;
    color: #52616a;
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.5;
}

.home-secondary-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.home-secondary-card {
    padding: 24px 24px 24px 0;
    border-bottom: 1px solid var(--line);
}

.home-secondary-card:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.home-secondary-card:nth-child(even) {
    padding-left: 24px;
    padding-right: 0;
}

.home-secondary-card:nth-last-child(-n+2) {
    border-bottom: 0;
}

.home-secondary-card h2 {
    margin: 6px 0 8px;
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1.14;
}

.home-secondary-card h2 a {
    text-decoration: none;
}

.home-secondary-card h2 a:hover {
    color: var(--accent);
}

.home-secondary-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.home-right-rail {
    width: 300px;
}

.home-ad-block {
    margin-bottom: 28px;
}

.home-rail-panel {
    padding: 20px;
    border-top: 4px solid var(--brand);
    background: #f4f6f7;
}

.home-rail-heading {
    margin-bottom: 7px;
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 700;
}

.home-rail-panel p {
    margin: 0;
    color: #5c6971;
    font-size: 12px;
    line-height: 1.55;
}

.home-county-list {
    margin-top: 13px;
}

.home-county-list summary {
    color: var(--accent);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.home-county-list div {
    padding-top: 10px;
    color: #68747b;
    font-size: 11px;
    line-height: 1.7;
}

.premium-latest,
.regional-news-section {
    padding: 46px 0;
}

.premium-latest {
    border-bottom: 1px solid var(--line);
}

.home-section-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 17px;
}

.home-section-kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.home-section-header h2 {
    margin: 0;
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 30px;
    line-height: 1;
}

.home-section-rule {
    height: 2px;
    flex: 1;
    margin-bottom: 5px;
    background: var(--brand);
}

.premium-latest-list {
    width: min(860px, 100%);
}

.premium-latest-story {
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
}

.premium-latest-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 6px;
    color: #7c888f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.premium-latest-meta span:first-child {
    color: var(--accent);
}

.premium-latest-story h3 {
    margin: 0 0 7px;
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1.12;
}

.premium-latest-story h3 a {
    text-decoration: none;
}

.premium-latest-story h3 a:hover {
    color: var(--accent);
}

.premium-latest-story p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.regional-news-section {
    padding-bottom: 72px;
}

.regional-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.regional-card {
    min-width: 0;
    padding: 0 22px 22px;
    border: 1px solid #dfe5e8;
    background: #fff;
}

.regional-card-header {
    margin:
        0
        -22px
        18px;
    padding:
        18px
        22px
        17px;
    border-top: 4px solid var(--brand);
    border-bottom: 1px solid var(--line);
    background: #f8f9f9;
}

.regional-card-header h3 {
    margin: 0;
    color: var(--brand);
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.1;
}

.regional-card-header p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.regional-story-list article {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.regional-story-list article:last-child {
    border-bottom: 0;
}

.regional-story-location {
    margin-bottom: 3px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.regional-story-list h4 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.18;
}

.regional-story-list h4 a {
    text-decoration: none;
}

.regional-story-list h4 a:hover {
    color: var(--accent);
}

.regional-empty {
    padding: 18px 0;
    color: #8a959b;
    font-size: 12px;
    font-style: italic;
}

.premium-launch {
    max-width: 900px;
}

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

@media (max-width: 1000px) {

    .home-top-grid {
        grid-template-columns:
            minmax(0, 1fr)
            250px;
        gap: 32px;
    }

    .home-right-rail {
        width: 250px;
    }

    .home-right-rail .ad-placeholder-300x250 {
        width: 250px;
    }
}

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

@media (max-width: 800px) {

    .home-top-package {
        padding: 28px 0 36px;
    }

    .home-top-grid {
        display: block;
    }

    .home-lead h1 {
        font-size:
            clamp(
                39px,
                10vw,
                53px
            );
        line-height: 1.02;
        letter-spacing: -1.3px;
    }

    .home-lead-dek {
        font-size: 18px;
    }

    .home-secondary-grid {
        grid-template-columns: 1fr;
    }

    .home-secondary-card,
    .home-secondary-card:nth-child(even),
    .home-secondary-card:nth-child(odd) {
        padding: 21px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .home-secondary-card:last-child {
        border-bottom: 0;
    }

    .home-right-rail {
        width: 100%;
        margin-top: 35px;
        padding-top: 28px;
        border-top: 1px solid var(--line);
    }

    .home-ad-block {
        width: min(300px, 100%);
        margin:
            0
            auto
            28px;
    }

    .home-right-rail .ad-placeholder-300x250 {
        width: min(300px, 100%);
        margin: 0 auto;
    }

    .regional-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .premium-latest,
    .regional-news-section {
        padding: 36px 0;
    }

    .home-section-header h2 {
        font-size: 27px;
    }

    .premium-latest-story h3 {
        font-size: 24px;
    }
}

/* ========================================================
   PRIVATE HOMEPAGE PREVIEW
   ======================================================== */

.homepage-preview-warning {
    position: sticky;
    top: 0;
    z-index: 2000;
}

.preview-status-label {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 3px;
    background: #9a6d10;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}
