:root {
    --refresh-red: #df2f32;
    --refresh-red-dark: #bd2025;
    --refresh-gold: #b3995d;
    --refresh-gold-light: #d8c693;
    --refresh-ink: #19272e;
    --refresh-copy: #40515a;
    --refresh-muted: #71828b;
    --refresh-page: #edf2f4;
    --refresh-paper: #fff;
    --refresh-line: #cfdbdf;
    --refresh-shadow: 0 18px 42px rgba(25, 39, 46, .08);
}

html[data-theme="dark"] {
    --refresh-ink: #eef3f4;
    --refresh-copy: #c7d0d3;
    --refresh-muted: #99a8ae;
    --refresh-page: #0e191e;
    --refresh-paper: #17272e;
    --refresh-line: #33464e;
    --refresh-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

html {
    overflow-x: clip;
}

.sfist-refresh {
    background: var(--refresh-page);
    color: var(--refresh-ink);
    overflow-x: clip;
}

.sfist-refresh ::selection {
    background: var(--refresh-gold-light);
    color: #17242a;
}

.sfist-refresh a:focus-visible,
.sfist-refresh button:focus-visible {
    outline: 3px solid var(--refresh-gold-light);
    outline-offset: 3px;
}

/* Shared masthead */
.refresh-masthead {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 68px;
    background: var(--refresh-red);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .16);
}

.refresh-nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    width: min(100% - 40px, 1420px);
    min-height: 68px;
    margin: 0 auto;
}

.refresh-brand {
    display: flex;
    align-items: center;
    width: 142px;
    color: #fff;
    text-decoration: none;
}

.refresh-brand img {
    display: block;
    width: auto;
    max-width: 132px;
    height: 38px;
    object-fit: contain;
    object-position: left center;
}

.refresh-brand-text {
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.06em;
}

.refresh-primary-nav,
.refresh-nav-actions {
    display: flex;
    align-items: stretch;
}

.refresh-primary-nav {
    justify-content: center;
    gap: clamp(18px, 2.1vw, 34px);
    margin: 0;
    padding: 0 20px;
}

.refresh-mobile-label,
.refresh-mobile-subscribe {
    display: none;
}

.refresh-primary-nav a,
.refresh-subscribe {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.refresh-primary-nav a::after,
.refresh-subscribe::after {
    position: absolute;
    bottom: 14px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--refresh-gold-light);
    content: "";
    transform: translateX(-50%);
    transition: width .18s ease;
}

.refresh-primary-nav a:hover::after,
.refresh-primary-nav a[aria-current="page"]::after,
.refresh-primary-nav a.current::after,
.refresh-subscribe:hover::after {
    width: 16px;
}

.refresh-nav-actions {
    gap: 8px;
    justify-content: flex-end;
}

.refresh-theme-toggle,
.refresh-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    min-width: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.refresh-theme-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.refresh-theme-sun,
html[data-theme="dark"] .refresh-theme-moon {
    display: none;
}

html[data-theme="dark"] .refresh-theme-sun {
    display: block;
}

.refresh-subscribe {
    margin-left: 4px;
    padding: 0 12px;
}

.refresh-menu-toggle,
.refresh-nav-backdrop {
    display: none;
}

.refresh-menu-toggle > span {
    display: grid;
    gap: 5px;
}

.refresh-menu-toggle i {
    display: block;
    width: 23px;
    height: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.refresh-menu-open .refresh-menu-toggle i:first-child {
    transform: translateY(7px) rotate(45deg);
}

.refresh-menu-open .refresh-menu-toggle i:nth-child(2) {
    opacity: 0;
}

.refresh-menu-open .refresh-menu-toggle i:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* Homepage */
.refresh-home-inner {
    width: min(100% - 40px, 1420px);
    margin: 0 auto;
}

.refresh-ad-hook-top {
    width: min(100% - 40px, 1120px);
    min-height: 0;
    margin: 28px auto;
    text-align: center;
}

.refresh-home-utility {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--refresh-line);
    border-bottom: 1px solid var(--refresh-line);
    color: var(--refresh-muted);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.refresh-home-utility strong {
    color: var(--refresh-ink);
}

.refresh-home-lead {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(310px, .95fr);
    gap: 20px;
}

.refresh-lead-card,
.refresh-lead-link,
.refresh-lead-media {
    position: relative;
    display: block;
    height: 100%;
    min-height: 600px;
}

.refresh-lead-card {
    overflow: hidden;
    background: #17272e;
}

.refresh-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.refresh-lead-card:hover .refresh-lead-media img {
    transform: scale(1.025);
}

.refresh-lead-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(6, 13, 17, .28) 48%, rgba(6, 13, 17, .94) 100%);
}

.refresh-lead-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: clamp(30px, 5vw, 64px);
    color: #fff;
}

.refresh-kicker {
    display: block;
    margin-bottom: 13px;
    color: var(--refresh-gold-light);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.refresh-lead-copy h1 {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(36px, 4.1vw, 64px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.01;
}

.refresh-lead-copy p {
    max-width: 930px;
    margin: 20px 0 0;
    color: #e1e7e9;
    font-family: Georgia, serif;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.45;
}

.refresh-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    margin-top: 20px;
    color: #d4dcdf;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
}

.refresh-story-meta > * + *::before {
    margin-right: 20px;
    color: var(--refresh-gold-light);
    content: "•";
}

.refresh-home-now {
    position: relative;
    padding: 28px;
    border-top: 4px solid var(--refresh-gold);
    background: var(--refresh-paper);
    box-shadow: var(--refresh-shadow);
}

.refresh-home-now::before {
    position: absolute;
    top: -4px;
    left: 0;
    width: 34%;
    height: 4px;
    background: var(--refresh-red);
    content: "";
}

.refresh-home-now-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--refresh-line);
}

.refresh-home-now-header h2,
.refresh-home-now-header span {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.refresh-home-now-header span {
    color: var(--refresh-red);
}

.refresh-home-now-header i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--refresh-red);
    box-shadow: 0 0 0 5px rgba(223, 47, 50, .1);
}

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

.refresh-now-card:last-child {
    border-bottom: 0;
}

.refresh-now-card > a {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    color: var(--refresh-ink);
    text-decoration: none;
}

.refresh-now-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: -5px 5px 0 var(--refresh-gold);
    transition: transform .2s ease;
}

.refresh-now-card:hover img {
    transform: translateY(-2px);
}

.refresh-now-card h3 {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(15px, 1.25vw, 20px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
}

.refresh-now-card time {
    display: block;
    margin-top: 10px;
    color: var(--refresh-muted);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.refresh-latest {
    margin-top: 56px;
}

.refresh-section-heading {
    position: relative;
    margin-bottom: 22px;
    padding: 0 0 17px;
    border-bottom: 1px solid var(--refresh-line);
}

.refresh-section-heading::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 114px;
    height: 3px;
    background: linear-gradient(90deg, var(--refresh-red) 0 48%, var(--refresh-gold) 48% 100%);
    content: "";
}

.refresh-section-heading h1,
.refresh-section-heading h2 {
    margin: 0;
    color: var(--refresh-ink);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sfist-refresh .refresh-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
}

.sfist-refresh .refresh-story-grid .post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--refresh-line);
    border-radius: 0;
    background: var(--refresh-paper);
    box-shadow: none;
}

.sfist-refresh .refresh-story-grid .post-card-image-link {
    display: block;
    flex: none;
    margin: 0;
    overflow: hidden;
}

.sfist-refresh .refresh-story-grid .post-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .3s ease;
}

.sfist-refresh .refresh-story-grid .post-card:hover .post-card-image {
    transform: scale(1.025);
}

.sfist-refresh .refresh-story-grid .post-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.sfist-refresh .refresh-story-grid .post-card-content-link {
    color: var(--refresh-ink);
    text-decoration: none;
}

.sfist-refresh .refresh-story-grid .post-card-title {
    margin: 8px 0 0;
    color: var(--refresh-ink);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(18px, 1.55vw, 24px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.14;
}

.sfist-refresh .refresh-story-grid .post-card-tags {
    color: var(--refresh-red-dark);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sfist-refresh .refresh-story-grid .post-card-excerpt {
    margin-top: 14px;
    color: var(--refresh-copy);
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.45;
}

.sfist-refresh .refresh-story-grid .post-card-excerpt p {
    margin: 0;
}

.sfist-refresh .refresh-story-grid .post-card-meta {
    margin-top: auto;
    padding-top: 18px;
    border: 0;
}

.sfist-refresh .refresh-story-grid .author-list {
    display: none;
}

.sfist-refresh .refresh-story-grid .reading-time {
    color: var(--refresh-muted);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
}

.refresh-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 48px 0 0;
    color: var(--refresh-muted);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.refresh-page-link {
    min-height: 48px;
    padding: 16px 22px;
    border: 1px solid var(--refresh-ink);
    color: var(--refresh-ink);
    text-decoration: none;
}

.refresh-page-link:hover {
    border-color: var(--refresh-red);
    color: var(--refresh-red-dark);
}

/* Ghost editor bookmark cards */
.sfist-refresh .kg-bookmark-card {
    width: 100%;
    margin: 2.4em 0;
}

.sfist-refresh .kg-bookmark-container {
    display: flex;
    min-height: 148px;
    overflow: hidden;
    border: 1px solid var(--refresh-line);
    background: var(--refresh-paper);
    color: var(--refresh-ink);
    text-decoration: none;
}

.sfist-refresh .kg-bookmark-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 22px;
}

.sfist-refresh .kg-bookmark-title {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.sfist-refresh .kg-bookmark-description {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    color: var(--refresh-copy);
    font-size: 14px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sfist-refresh .kg-bookmark-metadata {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: 14px;
    color: var(--refresh-muted);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
}

.sfist-refresh .kg-bookmark-icon {
    width: 20px;
    height: 20px;
}

.sfist-refresh .kg-bookmark-author,
.sfist-refresh .kg-bookmark-publisher {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sfist-refresh .kg-bookmark-thumbnail {
    flex: 0 0 34%;
}

.sfist-refresh .kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistent four-column footer */
.sfist-refresh .site-footer {
    position: relative;
    z-index: 1;
    margin: 72px 0 0;
    padding: 58px max(24px, calc((100vw - 1360px) / 2));
    border: 0;
    background: #1c2b32;
    color: #c8d1d4;
}

.sfist-refresh .site-footer-content {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr .9fr;
    gap: clamp(36px, 6vw, 90px);
    align-items: start;
    width: 100%;
    max-width: none;
    padding: 0;
}

.sfist-refresh .site-footer-wordmark img {
    display: block;
    width: auto;
    max-width: 126px;
    height: 42px;
    margin-bottom: 18px;
    object-fit: contain;
    object-position: left center;
}

.sfist-refresh .site-footer-brand p {
    max-width: 275px;
    margin: 0;
    color: #c8d1d4;
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.55;
}

.sfist-refresh .site-footer-group h2 {
    margin: 0 0 17px;
    color: var(--refresh-gold-light);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.sfist-refresh .site-footer a {
    color: #c8d1d4;
    font-size: 15px;
    text-decoration: none;
}

.sfist-refresh .site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--refresh-gold);
    text-underline-offset: 4px;
}

.sfist-refresh .site-footer-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.sfist-refresh .site-footer-legal {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin-top: 42px;
    padding: 22px 0 0;
    border-top: 1px solid #405159;
    color: #91a0a6;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .refresh-nav-shell {
        width: min(100% - 28px, 1420px);
    }

    .refresh-menu-toggle {
        display: inline-grid;
    }

    .refresh-primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1002;
        display: block;
        width: min(88vw, 380px);
        height: 100dvh;
        padding: 88px 28px 36px;
        overflow-y: auto;
        background: #17272e;
        box-shadow: -22px 0 60px rgba(0, 0, 0, .28);
        transform: translateX(105%);
        transition: transform .24s ease;
    }

    .refresh-menu-open .refresh-primary-nav {
        transform: translateX(0);
    }

    .refresh-mobile-label {
        display: block;
        margin-bottom: 14px;
        color: var(--refresh-gold-light);
        font-family: "Montserrat", Arial, sans-serif;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .13em;
        text-transform: uppercase;
    }

    .refresh-primary-nav a {
        display: flex;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
    }

    .refresh-primary-nav > a {
        min-height: 56px;
        font-size: 14px;
    }

    .refresh-primary-nav a::after {
        top: 50%;
        right: 0;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
    }

    .refresh-primary-nav a:hover::after,
    .refresh-primary-nav a[aria-current="page"]::after,
    .refresh-primary-nav a.current::after {
        width: 20px;
    }

    .refresh-mobile-subscribe {
        display: flex;
        color: var(--refresh-gold-light) !important;
    }

    .refresh-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1001;
        border: 0;
        background: rgba(4, 12, 16, .58);
        opacity: 0;
    }

    .refresh-menu-open .refresh-nav-backdrop {
        display: block;
        opacity: 1;
    }

    .sfist-refresh .site-footer-content {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .sfist-refresh .site-footer-group:last-child {
        grid-column: 2 / -1;
    }

    .refresh-home-lead {
        grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr);
    }

    .refresh-lead-card,
    .refresh-lead-link,
    .refresh-lead-media {
        min-height: 530px;
    }

    .refresh-lead-copy p {
        display: none;
    }

    .refresh-home-now {
        padding: 22px;
    }

    .refresh-now-card > a {
        gap: 14px;
    }
}

@media (max-width: 850px) {
    .refresh-home-inner {
        width: min(100% - 28px, 1420px);
    }

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

    .refresh-home-now-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .refresh-now-card {
        border: 0;
    }

    .refresh-now-card > a {
        display: block;
    }

    .refresh-now-card img {
        margin-bottom: 17px;
    }

    .sfist-refresh .refresh-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .refresh-masthead,
    .refresh-nav-shell {
        min-height: 64px;
    }

    .refresh-nav-shell {
        width: calc(100% - 24px);
    }

    .refresh-brand {
        width: 126px;
    }

    .refresh-brand img {
        max-width: 119px;
        height: 34px;
    }

    .refresh-subscribe {
        display: none;
    }

    .refresh-theme-toggle,
    .refresh-menu-toggle {
        width: 42px;
        min-width: 42px;
    }

    .sfist-refresh .site-footer {
        margin-top: 48px;
        padding: 42px 24px;
    }

    .sfist-refresh .site-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
    }

    .sfist-refresh .site-footer-brand,
    .sfist-refresh .site-footer-group:last-child {
        grid-column: 1 / -1;
    }

    .sfist-refresh .site-footer-group:last-child {
        flex-flow: row wrap;
    }

    .refresh-ad-hook-top {
        width: calc(100% - 32px);
        margin: 24px auto;
    }

    .refresh-home-utility {
        font-size: 9px;
    }

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

    .refresh-lead-card,
    .refresh-lead-link,
    .refresh-lead-media {
        min-height: 510px;
    }

    .refresh-lead-copy {
        padding: 26px;
    }

    .refresh-lead-copy h1 {
        font-size: clamp(31px, 9vw, 44px);
    }

    .refresh-home-now-list {
        display: block;
    }

    .refresh-now-card {
        padding: 20px 0;
        border-bottom: 1px solid var(--refresh-line);
    }

    .refresh-now-card > a {
        display: grid;
        grid-template-columns: 124px minmax(0, 1fr);
    }

    .refresh-now-card img {
        margin: 0;
    }

    .sfist-refresh .refresh-story-grid {
        grid-template-columns: 1fr;
    }

    .refresh-pagination {
        flex-wrap: wrap;
    }

    .sfist-refresh .kg-bookmark-thumbnail {
        flex-basis: 30%;
    }
}

@media (max-width: 430px) {
    .sfist-refresh .site-footer-content {
        grid-template-columns: 1fr;
    }

    .sfist-refresh .site-footer-brand,
    .sfist-refresh .site-footer-group:last-child {
        grid-column: auto;
    }

    .sfist-refresh .site-footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sfist-refresh *,
    .sfist-refresh *::before,
    .sfist-refresh *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
