/* =========================================================
   518NEWS PUBLIC DESIGN v3
   Clean regional-news presentation layer
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL REFINEMENT
   --------------------------------------------------------- */

body {
    background: #ffffff;
}

.site-main {
    color: #18262f;
}

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


/* ---------------------------------------------------------
   HOMEPAGE — TOP NEWS PACKAGE
   --------------------------------------------------------- */

.home-top-package {
    padding-top: 34px;
    padding-bottom: 46px;
    background: #fff;
    border-bottom: 1px solid #d9e0e4;
}

.home-top-grid {
    gap: 48px;
}

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

.home-lead .story-label-row {
    margin-bottom: 9px;
}

.home-lead h1 {
    max-width: 900px;
    margin: 7px 0 17px;
    font-size: clamp(46px, 5.4vw, 72px);
    line-height: .985;
    letter-spacing: -2.4px;
}

.home-lead-dek {
    max-width: 800px;
    margin-bottom: 17px;
    color: #52616a;
    font-size: 20px;
    line-height: 1.48;
}

.home-lead .story-time {
    color: #849097;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .25px;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   HOMEPAGE — SECONDARY STORIES
   --------------------------------------------------------- */

.home-secondary-grid {
    margin-top: 4px;
}

.home-secondary-card {
    min-height: 175px;
    padding-top: 27px;
    padding-bottom: 27px;
}

.home-secondary-card h2 {
    margin-top: 7px;
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -.25px;
}

.home-secondary-card p {
    color: #66737b;
    font-size: 13.5px;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   HOMEPAGE — RIGHT RAIL
   --------------------------------------------------------- */

.home-right-rail {
    position: sticky;
    top: 24px;
}

.home-rail-panel {
    padding: 22px;
    border-top-width: 5px;
}

.home-rail-heading {
    font-size: 22px;
}

.home-rail-panel p {
    font-size: 12.5px;
}


/* ---------------------------------------------------------
   HOMEPAGE — SECTION HEADERS
   --------------------------------------------------------- */

.premium-latest,
.regional-news-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.home-section-header {
    gap: 18px;
    margin-bottom: 20px;
}

.home-section-kicker {
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: 1.25px;
}

.home-section-header h2 {
    font-size: 33px;
    letter-spacing: -.5px;
}

.home-section-rule {
    height: 3px;
    margin-bottom: 6px;
}


/* ---------------------------------------------------------
   HOMEPAGE — LATEST NEWS
   --------------------------------------------------------- */

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

.premium-latest-story {
    padding: 25px 0 27px;
}

.premium-latest-meta {
    margin-bottom: 8px;
}

.premium-latest-story h3 {
    margin-bottom: 8px;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -.35px;
}

.premium-latest-story p {
    max-width: 790px;
    font-size: 14.5px;
    line-height: 1.58;
}


/* ---------------------------------------------------------
   HOMEPAGE — REGIONAL COVERAGE
   --------------------------------------------------------- */

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

.regional-grid {
    gap: 30px;
}

.regional-card {
    border-color: #d9e0e4;
    box-shadow: 0 4px 16px rgba(25, 44, 55, .035);
}

.regional-card-header {
    border-top-width: 5px;
    background: #f7f9fa;
}

.regional-card-header h3 {
    font-size: 25px;
}

.regional-story-list article {
    padding: 17px 0;
}

.regional-story-list h4 {
    font-size: 19px;
    line-height: 1.2;
}


/* ---------------------------------------------------------
   ARTICLE PAGE — NEWSROOM CANVAS
   --------------------------------------------------------- */

.article-page {
    padding-top: 36px;
    padding-bottom: 90px;
    background:
        linear-gradient(
            to bottom,
            #f7f8f9 0,
            #f7f8f9 170px,
            #f3f5f6 100%
        );
}

.article-shell {
    width: min(1160px, 100%);
    grid-template-columns:
        minmax(0, 790px)
        300px;
    column-gap: 54px;
    padding: 48px 50px 62px;
    border: 1px solid #dde3e6;
    box-shadow:
        0 12px 38px rgba(19, 37, 47, .07);
}


/* ---------------------------------------------------------
   ARTICLE — BREADCRUMB / LABELS
   --------------------------------------------------------- */

.article-breadcrumb {
    margin-bottom: 22px;
    color: #7b888f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
}

.article-breadcrumb a {
    color: #66757d;
}

.article-breadcrumb a:hover {
    color: var(--accent);
}

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


/* ---------------------------------------------------------
   ARTICLE — HEADLINE PACKAGE
   --------------------------------------------------------- */

.article-page h1 {
    max-width: 780px;
    margin: 7px 0 19px;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(44px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.01;
    letter-spacing: -1.9px;
    text-wrap: balance;
}

.article-dek {
    max-width: 740px;
    margin: 0 0 24px;
    color: #53626a;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 21px;
    line-height: 1.48;
}


/* ---------------------------------------------------------
   ARTICLE — BYLINE / DATE
   --------------------------------------------------------- */

.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 18px;
    padding: 3px 0 1px;
    color: #748188;
    font-size: 10px;
    line-height: 1.4;
}

.article-byline strong {
    color: #233742;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .55px;
}

.article-byline span {
    position: relative;
}

.article-byline span + span::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 3px;
    height: 3px;
    margin-top: -1px;
    border-radius: 50%;
    background: #adb6bb;
}

.article-divider {
    width: 100%;
    height: 1px;
    margin: 25px 0 32px;
    background: #d8dfe3;
}


/* ---------------------------------------------------------
   ARTICLE — BODY
   --------------------------------------------------------- */

.article-body {
    max-width: 715px;
    color: #263238;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 19px;
    line-height: 1.79;
}

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

.article-body a {
    color: #17527a;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--accent);
}

.article-end {
    max-width: 715px;
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid #d9e0e4;
}

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


/* ---------------------------------------------------------
   ARTICLE — AD RAIL
   --------------------------------------------------------- */

.article-ad-rail {
    top: 24px;
}

.article-ad-rail .ad-placeholder {
    box-shadow:
        0 5px 18px rgba(22, 39, 49, .04);
}


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

@media (max-width: 1040px) {

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

    .article-page h1 {
        font-size: clamp(40px, 5.4vw, 58px);
    }
}


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

@media (max-width: 820px) {

    .site-shell {
        width: min(100% - 32px, 1180px);
    }

    .home-top-package {
        padding-top: 24px;
    }

    .home-right-rail {
        position: static;
    }

    .home-lead h1 {
        font-size: clamp(38px, 10vw, 52px);
        line-height: 1.015;
        letter-spacing: -1.35px;
    }

    .home-secondary-card {
        min-height: 0;
    }

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

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

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

    .article-breadcrumb {
        margin-bottom: 19px;
    }

    .article-page h1 {
        margin-bottom: 16px;
        font-size: clamp(36px, 10.7vw, 49px);
        line-height: 1.025;
        letter-spacing: -1.15px;
    }

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

    .article-byline {
        display: block;
        font-size: 10px;
    }

    .article-byline strong,
    .article-byline span {
        display: block;
        margin-bottom: 5px;
    }

    .article-byline span + span::before {
        display: none;
    }

    .article-divider {
        margin: 22px 0 27px;
    }

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

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

    .article-ad-rail {
        margin-top: 42px;
    }
}


/* ---------------------------------------------------------
   VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 390px) {

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

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

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


/* =========================================================
   518NEWS PUBLIC DESIGN v3.1
   Visual polish pass
   ========================================================= */


/* ---------------------------------------------------------
   Stronger lead-story transition
   --------------------------------------------------------- */

.home-lead {
    position: relative;
    margin-bottom: 2px;
}

.home-lead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 92px;
    height: 4px;
    background: var(--accent);
}


/* ---------------------------------------------------------
   Tighter Latest News rhythm
   --------------------------------------------------------- */

.premium-latest {
    padding-top: 40px;
    padding-bottom: 42px;
}

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

.premium-latest-story {
    padding: 20px 0 22px;
}

.premium-latest-story:first-child {
    padding-top: 14px;
}

.premium-latest-story h3 {
    margin-bottom: 6px;
}

.premium-latest-story p {
    color: #5c6971;
}


/* ---------------------------------------------------------
   Improve article readability
   --------------------------------------------------------- */

.article-dek {
    color: #44545d;
}

.article-body {
    color: #202b31;
}

.article-body p {
    color: #202b31;
}


/* ---------------------------------------------------------
   Make advertisement rail feel intentional
   --------------------------------------------------------- */

.article-ad-rail,
.home-ad-block {
    padding: 10px;
    background: #fafbfb;
    border: 1px solid #e1e6e8;
}

.article-ad-rail .ad-label,
.home-ad-block .ad-label {
    margin-bottom: 8px;
}

.article-ad-rail .ad-placeholder,
.home-ad-block .ad-placeholder {
    border-color: #d3dadd;
    background:
        linear-gradient(
            145deg,
            #f6f7f8,
            #eceff1
        );
}

.article-ad-rail .ad-placeholder-inner,
.home-ad-block .ad-placeholder-inner {
    border-color: #c7d0d4;
}

.article-ad-rail .ad-placeholder-brand,
.home-ad-block .ad-placeholder-brand {
    color: var(--brand);
}


/* ---------------------------------------------------------
   Mobile polish
   --------------------------------------------------------- */

@media (max-width: 820px) {

    .premium-latest-story {
        padding: 18px 0 20px;
    }

    .article-ad-rail {
        padding: 10px;
    }

    .home-ad-block {
        padding: 10px;
    }
}


/* =========================================================
   518NEWS PUBLIC DESIGN v3.2
   Featured story media
   ========================================================= */

.home-lead-media {
    max-width: 900px;
    margin: 25px 0 18px;
}

.home-lead-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    background: #edf0f2;
}

.home-lead-media figcaption,
.article-featured-media figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 7px;
    color: #78858c;
    font-size: 10px;
    line-height: 1.4;
}

.home-lead-media figcaption span:last-child,
.media-credit {
    flex-shrink: 0;
    color: #67747b;
    font-weight: 700;
}

.article-featured-media {
    max-width: 760px;
    margin: 0 0 31px;
}

.article-featured-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    background: #edf0f2;
}

@media (max-width: 820px) {

    .home-lead-media {
        margin-top: 21px;
        margin-bottom: 16px;
    }

    .home-lead-media img,
    .article-featured-media img {
        max-height: none;
    }

    .article-featured-media {
        width: calc(100% + 40px);
        max-width: none;
        margin:
            0
            -20px
            27px;
    }

    .article-featured-media figcaption {
        padding: 0 20px;
    }

    .home-lead-media figcaption,
    .article-featured-media figcaption {
        display: block;
    }

    .home-lead-media figcaption span,
    .article-featured-media figcaption span {
        display: block;
        margin-top: 3px;
    }
}


/* =========================================================
   FEATURED MEDIA
   ========================================================= */

/* ---------------------------------------------------------
   HOMEPAGE LEAD IMAGE
   --------------------------------------------------------- */

.home-lead-media {
    width: 100%;
    margin: 24px 0 0;
}

.home-lead-media a {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #eef1f2;
}

.home-lead-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition:
        transform .22s ease,
        opacity .22s ease;
}

.home-lead-media a:hover img {
    transform: scale(1.012);
    opacity: .97;
}


/* ---------------------------------------------------------
   ARTICLE FEATURED IMAGE
   --------------------------------------------------------- */

.article-featured-media {
    width: 100%;
    max-width: 715px;
    margin: 0 0 32px;
}

.article-featured-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    object-position: center;
    background: #f3f5f6;
}


/* ---------------------------------------------------------
   CAPTION / CREDIT
   --------------------------------------------------------- */

.home-lead-media figcaption,
.article-featured-media figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 8px;
    color: #77838a;
    font-size: 10px;
    line-height: 1.45;
}

.home-lead-media figcaption span,
.article-featured-media figcaption span {
    display: inline;
}

.home-lead-media figcaption span:last-child,
.article-featured-media figcaption span:last-child {
    color: #8d979c;
    font-weight: 700;
}


/* ---------------------------------------------------------
   ARTICLE BODY READABILITY
   --------------------------------------------------------- */

.article-body {
    color: #202a30;
}

.article-dek,
.home-lead-dek {
    color: #475860;
}


/* ---------------------------------------------------------
   LATEST NEWS — TIGHTER RHYTHM
   --------------------------------------------------------- */

.premium-latest-story {
    padding-top: 20px;
    padding-bottom: 21px;
}


/* ---------------------------------------------------------
   MOBILE FEATURED MEDIA
   --------------------------------------------------------- */

@media (max-width: 820px) {

    .home-lead-media {
        margin-top: 20px;
    }

    .home-lead-media img {
        aspect-ratio: 16 / 9;
    }

    .article-featured-media {
        max-width: 100%;
        margin-bottom: 27px;
    }

    .article-featured-media img {
        max-height: none;
    }

    .home-lead-media figcaption,
    .article-featured-media figcaption {
        font-size: 9.5px;
    }
}

/* ---------------------------------------------------------
   HOMEPAGE — SECONDARY STORY THUMBNAILS
   --------------------------------------------------------- */

.home-secondary-media {
    display: block;
    margin-bottom: 17px;
    overflow: hidden;
    border-radius: 2px;
    background: #eef1f3;
}

.home-secondary-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.home-secondary-card:has(.home-secondary-media) {
    padding-top: 22px;
}

@media (max-width: 820px) {

    .home-secondary-media {
        margin-bottom: 15px;
    }

    .home-secondary-card:has(.home-secondary-media) {
        padding-top: 24px;
    }
}


/* ---------------------------------------------------------
   HOMEPAGE — SECONDARY IMAGE WIDTH / OVERFLOW FIX
   --------------------------------------------------------- */

.home-secondary-grid,
.home-secondary-card {
    min-width: 0;
    max-width: 100%;
}

.home-secondary-card {
    overflow: hidden;
}

.home-secondary-media {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.home-secondary-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

@media (max-width: 820px) {

    .home-secondary-grid {
        width: 100%;
        max-width: 100%;
    }

    .home-secondary-card {
        width: 100%;
        max-width: 100%;
    }
}


/* ---------------------------------------------------------
   HOMEPAGE — MOBILE SECONDARY GRID RESET
   Safari intrinsic-image overflow protection
   --------------------------------------------------------- */

@media (max-width: 820px) {

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

    .home-secondary-grid {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .home-secondary-card,
    .home-secondary-card:nth-child(odd),
    .home-secondary-card:nth-child(even) {
        display: block;
        width: auto;
        min-width: 0;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    .home-secondary-media {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .home-secondary-media img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        height: auto !important;
    }
}


/* ---------------------------------------------------------
   HOMEPAGE — LATEST NEWS IMAGES
   --------------------------------------------------------- */

.premium-latest-story {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.premium-latest-story:not(:has(.premium-latest-media)) {
    display: block;
}

.premium-latest-media {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 2px;
    background: #eef1f3;
}

.premium-latest-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.premium-latest-content {
    min-width: 0;
}

@media (max-width: 820px) {

    .premium-latest-story,
    .premium-latest-story:not(:has(.premium-latest-media)) {
        display: block;
    }

    .premium-latest-media {
        margin-bottom: 16px;
    }
}



/*
 * =========================================================
 * PUBLIC CONTACT / CORRECTIONS FORMS
 * =========================================================
 */

.static-page-content {
    max-width: 760px;
    margin: 26px auto 0;
    text-align: left;
}

.static-page-content h2 {
    margin: 34px 0 8px;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.2;
}

.static-page-content p {
    max-width: none;
    margin: 0 0 17px;
    line-height: 1.7;
}

.public-form-wrap {
    width: min(760px, 100%);
    margin: 38px auto 0;
    text-align: left;
}

.public-form-alert {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.public-form-alert.success {
    border-color: #8bb79a;
    background: #f0f8f2;
    color: #245734;
}

.public-form-alert.error {
    border-color: #cf9e9e;
    background: #fff3f3;
    color: #802d2d;
}

.public-submission-form {
    padding: 28px;
    border: 1px solid var(--line);
    background: #fff;
}

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

.form-field {
    margin-bottom: 20px;
}

.form-field-full {
    width: 100%;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c9d0d4;
    border-radius: 3px;
    background: #fff;
    color: #182229;
    font: inherit;
}

.form-field input,
.form-field select {
    min-height: 46px;
    padding: 10px 12px;
}

.form-field textarea {
    min-height: 190px;
    padding: 12px;
    resize: vertical;
    line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid rgba(177, 35, 43, .18);
    outline-offset: 1px;
    border-color: var(--accent);
}

.form-help {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 5px;
}

.form-actions button {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 11px 20px;
    border: 0;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.form-actions button:hover {
    filter: brightness(.92);
}

.form-privacy-note {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {

    .public-submission-form {
        padding: 20px 16px;
    }

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

    .form-actions {
        display: block;
    }

    .form-actions button {
        width: 100%;
    }

    .form-privacy-note {
        margin-top: 12px;
    }

}


/* Creative Commons credits beneath homepage thumbnails. */
.home-thumbnail-attribution {
    margin: -10px 0 15px;
    color: #67747b;
    font-size: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.home-thumbnail-attribution a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-thumbnail-attribution a:hover {
    color: #263f50;
}

.premium-latest-image-group {
    min-width: 0;
    width: 100%;
}

.premium-latest-image-group .home-thumbnail-attribution {
    margin: 5px 0 0;
}

@media (max-width: 820px) {
    .premium-latest-image-group {
        margin-bottom: 16px;
    }

    .premium-latest-image-group .premium-latest-media {
        margin-bottom: 0;
    }
}
