:root {
    --paper: #fffefb;
    --ink: #090909;
    --muted: #66625e;
    --rule: #d9d5cf;
    --red: #c8102e;
    --red-dark: #a90e27;
    --content-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
	
}

body,
button,
input {
    font: inherit;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--red);
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(200, 16, 46, .3);
    outline-offset: 3px;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 9px 13px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-150%);
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

/* Header */
.site-header {
    position: relative;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid #eeeae4;
} 


.masthead {
    min-height: 70px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(24px, 5vw, 74px);
}

.brand,
.footer-brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    white-space: nowrap;
}

.brand:hover,
.brand:focus-visible,
.footer-brand:hover,
.footer-brand:focus-visible {
    color: var(--ink);
}

.brand {
    /* Longer site names scale down so the menu still fits on one line. */
    font-size: clamp(16px, 1.65vw, 24px);
}

.brand-accent,
.footer-brand span {
    color: var(--red);
}

.primary-nav {
    min-width: 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(17px, 2.1vw, 30px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: block;
    white-space: nowrap;
    padding: 27px 0 24px;
    border-bottom: 3px solid transparent;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .40px;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.subscribe-button {
    padding: 8px 13px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.subscribe-button:hover,
.subscribe-button:focus-visible {
    background: var(--red);
    color: #fff;
}

/* Search */
.live-search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.live-search-box input {
    width: 0;
    min-width: 0;
    height: 34px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
    outline: 0;
    transition: width .2s ease, padding .2s ease, border-color .2s ease;
}

.live-search-box:focus-within input,
.live-search-box input:not(:placeholder-shown) {
    width: 130px;
    padding: 0 7px;
    border-bottom-color: var(--ink);
}

.search-submit {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.search-submit svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.live-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 150;
    width: min(340px, calc(100vw - 40px));
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid var(--rule);
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
}

.live-search-item,
.live-search-empty {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid var(--rule);
    font-size: 13px;
}

.live-search-item:last-child {
    border-bottom: 0;
}

.live-search-item strong,
.live-search-item span {
    display: block;
}

.live-search-item strong {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.2;
}

.live-search-item span {
    margin-top: 5px;
    color: var(--red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

/* Trending ticker: see the end of this file */

/* Homepage */
.page-content {
    padding-block: 32px 58px;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(260px, .95fr);
    gap: 26px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
}

.image-link {
    display: block;
    overflow: hidden;
    background: #ece9e3;
}

.image-link img {
    transition: transform .35s ease;
}

.image-link:hover img,
.image-link:focus-visible img {
    transform: scale(1.018);
}

.lead-image {
    height: clamp(340px, 34vw, 465px);
    object-fit: cover;
}

.category-label {
    margin: 13px 0 6px;
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .95px;
    text-transform: uppercase;
}

.lead-story h1,
.listing-header h1 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;
   /* line-height: .88; */
    letter-spacing: -2.3px;
display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lead-summary {
    display: -webkit-box;
    max-width: 760px;
    margin: 13px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.story-meta {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.latest-panel {
    min-width: 0;
    padding-left: 24px;
    border-left: 1px solid var(--rule);
}

.section-heading {
    margin: 0 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.1;
}

.latest-item {
    padding: 0 0 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--rule);
}

.latest-item .category-label {
    margin-top: 0;
}

.latest-item h3,
.story-card h3,
.compact-story h3,
.opinion-card h3,
.editor-feature h3 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 800;
display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-item h3 {
    font-size: 17px;
    line-height: 1.08;
}

.latest-item time {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 8px;
}

.content-section {
    padding-top: 33px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
}

.story-grid,
.opinion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.story-card {
    min-width: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
}

.story-card img {
    height: 200px;
    object-fit: cover;
}

.story-card h3 {
    font-size: 22px;
    line-height: 1.04;
    letter-spacing: -.45px;
}

.story-card > p:last-child,
.opinion-card > p:last-child {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(310px, 1fr);
    gap: 26px;
}

.editor-feature img {
    height: 385px;
    object-fit: cover;
}

.editor-feature h3 {
    font-size: 34px;
    line-height: 1.05;
}

.compact-story {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--rule);
}

.compact-story img {
    height: 76px;
    object-fit: cover;
}

.compact-story .category-label {
    margin-top: 0;
}

.compact-story h3 {
    font-size: 16px;
    line-height: 1.08;
}

.opinion-card {
    min-height: 180px;
    padding: 22px;
    background: #f0eee9;
}

.opinion-byline {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.opinion-card h3 {
    font-size: 23px;
    line-height: 1.1;
}

.empty-copy {
    margin: 0;
    color: var(--muted);
}

/* Category and search listings */
.listing-section {
    padding-top: 15px;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    padding-bottom: 25px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--ink);
}

.listing-header h1 {
    font-size: clamp(36px, 5vw, 58px);
}

.listing-header > a {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.listing-grid {
    row-gap: 30px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 35px;
    font-size: 12px;
    font-weight: 700;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid var(--rule);
}

.pagination span[aria-disabled='true'] {
    color: #aaa;
}

/* Footer */
.site-footer {
    padding: 38px 0;
    background: var(--ink);
    color: #fff;

} /*
.site-footer {
   position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
} */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 11px;
    color: #fff;
}

.footer-brand:hover,
.footer-brand:focus-visible {
    color: #fff;
}

.site-footer p {
    margin: 4px 0;
    color: #aaa;
    font-size: 11px;
}

.copyright {
    padding-top: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
    max-width: 490px;
}

.footer-links a {
    color: #bbb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

@media (max-width: 1000px) {
    .masthead {
        gap: 24px;
    }

    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 9px;
    }

    .live-search-box:focus-within input,
    .live-search-box input:not(:placeholder-shown) {
        width: 105px;
    }

    .lead-layout {
        grid-template-columns: minmax(0, 1.75fr) minmax(240px, 1fr);
    }
}

@media (max-width: 820px) {
    .masthead {
        min-height: 62px;
        grid-template-columns: 1fr auto auto;
        gap: 10px;
    }

    .primary-nav {
        order: 2;
    }

    .header-actions {
        order: 3;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 20px 18px;
        background: var(--paper);
        border-top: 1px solid var(--rule);
        border-bottom: 1px solid var(--rule);
        box-shadow: 0 14px 25px rgba(0, 0, 0, .09);
    }

    .nav-menu.is-open {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 20px;
    }

    .nav-menu a {
        padding: 13px 0;
        border-bottom: 1px solid var(--rule);
        font-size: 11px;
    }

    .live-search-box input,
    .live-search-box:focus-within input,
    .live-search-box input:not(:placeholder-shown) {
        width: 110px;
        padding: 0 7px;
        border-bottom-color: var(--ink);
    }

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

    .latest-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
        padding: 25px 0 0;
        border-top: 1px solid var(--rule);
        border-left: 0;
    }

    .latest-panel .section-heading {
        grid-column: 1 / -1;
    }

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

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

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: min(calc(100% - 28px), var(--content-width));
    }

    .brand {
        font-size: 16px;
        letter-spacing: -.6px;
    }

    .subscribe-button {
        display: none;
    }

    .live-search-box input,
    .live-search-box:focus-within input,
    .live-search-box input:not(:placeholder-shown) {
        width: 78px;
    }

    .page-content {
        padding-top: 20px;
    }

    .lead-image {
        height: 245px;
    }

    .lead-story h1 {
        font-size: 39px;
        letter-spacing: -1.7px;
	
    }

    .latest-panel,
    .story-grid,
    .opinion-grid {
        grid-template-columns: 1fr;
    }

    .story-card img {
        height: 215px;
    }

    .editor-feature img {
        height: 270px;
    }

    .editor-feature h3 {
        font-size: 28px;
    }

    .listing-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pagination {
        gap: 7px;
    }

    .pagination a,
    .pagination span {
        padding: 7px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .image-link img {
        transition: none;
    }
}

/* =====================================================================
   Trending ticker (design 4a): navy bar, diagonal red label, gold stars
   No external fonts or inline styles, so it works with the strict CSP.
   ===================================================================== */
.news-ticker {
    display: flex;
    align-items: stretch;
    min-height: 46px;
    margin-top: 10px;
    overflow: hidden;
    background: #0b2a4a;
    color: #ffffff;
    border-bottom: 3px solid #d4a72c;
}

.live-badge {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 38px 0 18px;
    background: var(--red);
    color: #ffffff;
    font-family: "Oswald", "Bahnschrift", "Arial Narrow", "Roboto Condensed", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    white-space: nowrap;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.ticker-window {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    margin-left: -12px;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-loop 90s linear infinite;
}

.ticker-track--fast   { animation-duration: 80s; }
.ticker-track--medium { animation-duration: 160s; }
.ticker-track--slow   { animation-duration: 340s; }

.news-ticker:hover .ticker-track,
.news-ticker:focus-within .ticker-track {
    animation-play-state: paused;
}

.ticker-list {
    display: flex;
    align-items: center;
    gap: 44px;
    margin: 0;
    padding: 0 22px;
    list-style: none;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "Times New Roman", serif;
    font-size: 15px;
    font-weight: 700;
}

.ticker-star {
    color: #d4a72c;
    font-size: 14px;
}

.ticker-item a {
    color: #ffffff;
    text-decoration: none;
}

.ticker-item a:hover,
.ticker-item a:focus-visible {
    color: #ffe08a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ticker-item a:focus-visible {
    outline: 2px solid #ffe08a;
    outline-offset: 3px;
}

.ticker-empty {
    margin: 0;
    padding: 0 22px;
    font-family: Georgia, "Noto Serif SC", "Songti SC", "SimSun", serif;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

@keyframes ticker-loop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .news-ticker {
        min-height: 40px;
    }

    .live-badge {
        padding: 0 28px 0 12px;
        font-size: 13px;
        letter-spacing: .08em;
    }

    .ticker-item,
    .ticker-empty {
        font-size: 14px;
    }

    .ticker-list {
        gap: 32px;
    }
}

/* Visitors who turn off motion get a still bar they can swipe/scroll instead. */
@media (prefers-reduced-motion: reduce) {
    .ticker-window {
        overflow-x: auto;
    }

    .ticker-track {
        animation: none;
    }

    .ticker-list[aria-hidden="true"] {
        display: none;
    }
}

/* Very narrow phones: keep the full site name, menu and search on one row. */
@media (max-width: 400px) {
    .brand {
        font-size: 14px;
    }

    .header-actions {
        min-width: 0;
    }

    .live-search-box input,
    .live-search-box:focus-within input,
    .live-search-box input:not(:placeholder-shown) {
        width: 64px;
    }
}

/* Footer: Follow us */
.footer-follow {
    display: grid;
    gap: 12px;
}

.footer-heading {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social__link {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #3a3a3a;
    border-radius: 50%;
    color: #ddd;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.footer-social__link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.site-footer .copyright a {
    color: #ccc;
}

@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-social__link {
        transition: none;
    }
}
