@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap");

:root {
    --surface: #fdf8f8;
    --surface-lowest: #ffffff;
    --surface-low: #f7f3f2;
    --surface-bright: #fdf8f8;
    --surface-container: #f1edec;
    --surface-container-high: #ebe7e6;
    --text-primary: #111111;
    --text-secondary: #3f3f3f;
    --text-muted: #6f6f6f;
    --outline: #747878;
    --outline-variant: #c4c7c7;
    --market-up: #00873e;
    --market-down: #c53030;
    --font-editorial: "Roboto Serif", Georgia, "Times New Roman", serif;
    --font-interface: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    --font-newspaper-serif: "Newsreader", Georgia, "Times New Roman", serif;
    --font-newspaper-sans: "Libre Franklin", "Source Sans 3", "Segoe UI", Arial, sans-serif;
    --container-max: 1280px;
    --gutter: 20px;
    --desktop-margin: 40px;
    --mobile-margin: 16px;
    --radius-sm: 4px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--surface-lowest);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--surface-lowest);
    color: var(--text-primary);
    font-family: var(--font-interface);
}

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

button,
input {
    font: inherit;
}

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

.shell {
    width: min(calc(100% - (var(--desktop-margin) * 2)), var(--container-max));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #000000;
    border-bottom: 1px solid rgba(196, 199, 199, 0.85);
}

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

.brand-text {
    font-family: var(--font-editorial);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.search-toggle:hover,
.login-link:hover {
    opacity: 0.8;
}

.nav-link-active {
    border-bottom-color: #ffffff;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.search-toggle-label {
    font-size: 14px;
    font-weight: 600;
}

.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    background: var(--surface-lowest);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.page-content {
    padding-top: 16px;
    padding-bottom: 48px;
}

.search-hero {
    margin-bottom: 24px;
}

.search-field-wrap {
    position: relative;
    width: min(100%, 768px);
    margin: 0 auto;
}

.search-field {
    width: 100%;
    min-height: 54px;
    padding: 0 118px 0 24px;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-pill);
    background: var(--surface-lowest);
    color: var(--text-primary);
    font-size: 16px;
}

.search-field::placeholder {
    color: var(--outline);
}

.search-field:focus {
    outline: 0;
    border-color: var(--text-primary);
}

.search-actions {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-shortcut {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--outline-variant);
    padding: 2px 6px;
    background: var(--surface-low);
    border-radius: var(--radius-sm);
    color: var(--outline);
    font-size: 10px;
    font-weight: 600;
}

.search-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-pill);
    background: #000000;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ticker-rule,
.section-divider {
    border-top: 1px solid var(--outline-variant);
}

.ticker-rule {
    opacity: 0.45;
}

.ticker-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
    padding: 16px 0 24px;
    overflow-x: auto;
}

.ticker-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    background: var(--surface-low);
    border-radius: var(--radius-pill);
    min-width: 190px;
}

.ticker-label,
.event-meta {
    margin: 0;
    color: var(--outline);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.market-data {
    margin: 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ticker-trend {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.delta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.delta-up {
    color: var(--market-up);
    background: rgba(0, 135, 62, 0.1);
}

.delta-down {
    color: var(--market-down);
    background: rgba(197, 48, 48, 0.1);
}

.broadsheet-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 32px;
}

.editorial-column,
.sidebar-column {
    min-width: 0;
}

.hero-story {
    padding-top: 16px;
}

.hero-media {
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.hero-media img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.section-title {
    margin: 0 0 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--text-muted);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.main-headline {
    margin: 0 0 12px;
    color: var(--text-primary);
    font-family: var(--font-editorial);
    font-size: 40px;
    line-height: 42px;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.secondary-headline {
    margin: 0 0 12px;
    color: var(--text-primary);
    font-family: var(--font-editorial);
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
}

.article-summary {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 22px;
}

.lead-summary {
    margin-bottom: 16px;
}

.story-byline {
    margin: 0;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.read-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.read-article-link:hover {
    text-decoration: underline;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gutter);
    padding-top: 24px;
}

.story-card {
    display: grid;
    gap: 2px;
}

.sidebar-column {
    padding-top: 16px;
    display: grid;
    gap: 16px;
}

.sidebar-card {
    padding: 16px;
    background: var(--surface-bright);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-sm);
}

.event-list,
.quote-list,
.currency-list {
    display: grid;
    gap: 8px;
}

.event-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.event-row-divider {
    border-bottom: 1px solid var(--outline-variant);
}

.event-name,
.quote-symbol {
    margin: 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.event-meta {
    margin-top: 4px;
    letter-spacing: 0;
    text-transform: none;
    font-size: 12px;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.event-badge-high {
    background: var(--market-down);
}

.event-badge-medium {
    background: #5f5e5e;
}

.quote-row,
.currency-row {
    background: var(--surface-low);
    border-radius: var(--radius-sm);
}

.quote-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}

.quote-row .market-data {
    text-align: right;
}

.terminal-button {
    width: 100%;
    margin-top: 16px;
    min-height: 40px;
    border: 0;
    background: #000000;
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.currency-row {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
}

.currency-main,
.currency-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-footer {
    background: #111111;
    color: #ffffff;
}

.home-view {
    background: #f5f0e6;
    color: var(--text-primary);
}

.home-view .page-content {
    padding-top: 14px;
    padding-bottom: 72px;
}

.home-masthead {
    background: #fbf7ef;
}

.home-masthead-brand-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 16px 0 14px;
}

.home-masthead-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-masthead-side {
    min-width: 0;
}

.home-masthead-brand {
    justify-self: center;
}

.home-masthead-status {
    justify-self: end;
}

.home-masthead-kicker,
.home-masthead-date,
.home-masthead-dot {
    color: #6d6254;
    font-family: var(--font-newspaper-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-masthead-date {
    margin: 0;
    letter-spacing: 0.08em;
}

.home-masthead-kicker {
    margin: 0;
}

.home-masthead-dot {
    font-size: 12px;
    letter-spacing: 0;
}

.home-page {
    position: relative;
}

.home-command-row {
    background: #efe7d9;
    border-bottom: 1px solid #d7cdbf;
}

.home-command-row-inner {
    display: grid;
    place-items: center;

}

.home-search-hero {
    width: min(100%, 940px);
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.home-search-field-wrap {
    max-width: none;
}

.home-search-field {
    min-height: 72px;
    padding-left: 28px;
    padding-right: 132px;
    border: 1px solid #cdbfae;
    background: #fffdfa;
    box-shadow: 0 10px 24px rgba(39, 32, 25, 0.08);
    color: #111111;
    font-size: 18px;
}

.home-search-field::placeholder {
    color: #746a5e;
}

.home-search-actions {
    right: 12px;
    gap: 14px;
}

.home-search-button {
    width: 48px;
    height: 48px;
}

.home-intro {
    display: block;
    padding-bottom: 26px;
    border-bottom: 1px solid #d8cdbd;
}

.home-intro-copy {
    max-width: 76ch;
}

.home-intro-label,
.search-hero-label {
    margin: 0 0 12px;
    color: #7a684d;
    font-family: var(--font-newspaper-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-intro-title {
    margin: 0;
    max-width: 14ch;
    color: #111111;
    font-family: var(--font-newspaper-serif);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.home-intro-summary,
.search-hero-note {
    margin: 16px 0 0;
    color: #423a31;
    font-family: var(--font-newspaper-serif);
    font-size: 20px;
    line-height: 1.55;
}

.search-hero {
    margin-bottom: 0;
    padding: 22px 24px 24px;

}

.search-field-wrap {
    width: 100%;
    margin: 0;
}

.search-field {
    min-height: 58px;
    border-color: #d7cdbf;
    border-radius: 999px;
    background: #fffcf7;
    font-family: var(--font-newspaper-sans);
    font-size: 15px;
}

.search-shortcut {
    background: #f5efe5;
}

.search-button {
    background: #111111;
}

.ticker-rule,
.section-divider {
    border-top: 1px solid #d7cdbf;
}

.ticker-rule {
    margin-top: 18px;
    opacity: 1;
}

.ticker-strip {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #d7cdbf;
}

.ticker-pill {
    min-width: 0;
    padding: 18px 16px;
    background: transparent;
    border-right: 1px solid #d7cdbf;
    border-radius: 0;
}

.ticker-pill:last-child {
    border-right: 0;
}

.ticker-label,
.event-meta {
    color: #776c5d;
    font-family: var(--font-newspaper-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.market-data {
    font-family: var(--font-newspaper-sans);
    font-size: 18px;
    font-weight: 700;
}

.delta {
    min-height: 22px;
    font-family: var(--font-newspaper-sans);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.broadsheet-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.95fr);
    align-items: start;
    gap: 36px;
    margin-top: 24px;
}

.editorial-column {
    padding-right: 8px;
    border-right: 1px solid #d7cdbf;
}

.sidebar-column {
    padding-top: 8px;
    padding-left: 8px;
    display: grid;
    align-content: start;
    gap: 18px;
}

.hero-story {
    padding-top: 8px;
}

.hero-media {
    margin: 0 0 20px;
    border: 1px solid #ddd2c3;
    border-radius: 0;
}

.hero-media img {
    max-height: 460px;
}

.section-title {
    display: inline-block;
    margin: 0 0 14px;
    padding: 0 0 6px;
    border-bottom: 1px solid #b7a48b;
    color: #7a684d;
    font-family: var(--font-newspaper-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.main-headline {
    margin: 0 0 14px;
    color: #111111;
    font-family: var(--font-newspaper-serif);
    font-size: clamp(46px, 5vw, 72px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.secondary-headline {
    margin: 0 0 12px;
    color: #111111;
    font-family: var(--font-newspaper-serif);
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.article-summary {
    margin: 0;
    color: #322c24;
    font-family: var(--font-newspaper-serif);
    font-size: 19px;
    line-height: 1.58;
}

.lead-summary {
    max-width: 36em;
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.54;
}

.story-byline {
    margin: 0;
    color: #6b6155;
    font-family: var(--font-newspaper-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.read-article-link {
    margin-top: 16px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 28px;
    border-top: 1px solid #d7cdbf;
}

.story-card {
    display: grid;
    gap: 6px;
    padding: 20px 22px 22px 0;
    border-right: 1px solid #e2d8ca;
}

.story-card:nth-child(even) {
    padding-left: 22px;
    padding-right: 0;
    border-right: 0;
}

.sidebar-card {
    position: relative;
    align-self: start;
    padding: 14px 16px 12px;
    background: linear-gradient(180deg, #fffdfa 0%, #fbf7ef 100%);
    border: 1px solid #ddd2c3;
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
    border-radius: 0;
    overflow: hidden;
}

.sidebar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #111111;
}

.sidebar-card-calendar::before {
    background: #8f7658;
}

.sidebar-card-pulse::before {
    background: #111111;
}

.sidebar-card-currency::before {
    background: #3e6a50;
}

.sidebar-card .section-title {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #d7cdbf;
    color: #171411;
}

.event-list,
.quote-list,
.currency-list {
    display: grid;
    gap: 0;
}

.event-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 11px 0;
}

.event-row-divider {
    border-bottom: 1px solid #e5dbcc;
}

.event-name,
.quote-symbol {
    font-family: var(--font-newspaper-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-meta {
    margin-top: 5px;
    color: #776c5d;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 10px;
}

.event-badge {
    min-height: 20px;
    padding: 0 9px;
    border-radius: 999px;
    font-family: var(--font-newspaper-sans);
    font-size: 9px;
    letter-spacing: 0.16em;
}

.quote-row,
.currency-row {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e7ddcf;
    border-radius: 0;
}

.quote-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.quote-row .market-data,
.currency-row .market-data {
    color: #16120e;
    letter-spacing: -0.01em;
}

.quote-row .market-data {
    font-size: 17px;
}

.currency-row .market-data {
    font-size: 15px;
    font-weight: 600;
}

.currency-header,
.currency-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
}

.currency-header {
    padding: 0 0 8px;
    border-bottom: 1px solid #cfc2af;
    color: #7a684d;
    font-family: var(--font-newspaper-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.currency-header span:nth-child(2),
.currency-header span:nth-child(3),
.currency-row .market-data {
    text-align: right;
}

.currency-row {
    padding: 11px 0;
}

.currency-label {
    color: #16120e;
    font-family: var(--font-newspaper-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.currency-row:last-child,
.quote-row:last-child {
    border-bottom: 0;
}

.home-view .site-footer {
    background: linear-gradient(180deg, #f7f2e8 0%, #efe6d8 100%);
    color: #111111;
    border-top: 2px solid #111111;
}

.home-view .footer-branding {
    opacity: 1;
}

.home-view .footer-copy {
    color: #6c6258;
}

.home-view .footer-inner {
    padding-top: 34px;
    padding-bottom: 36px;
}

.home-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 1fr));
    gap: 28px;
    align-items: start;
}

.home-footer-column {
    padding-left: 18px;
    border-left: 1px solid #d7cdbf;
}

.home-footer-label,
.home-footer-detail {
    margin: 0;
}

.home-footer-label {
    color: #7a684d;
    font-family: var(--font-newspaper-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-footer-detail {
    margin-top: 10px;
    color: #2f2923;
    font-family: var(--font-newspaper-serif);
    font-size: 18px;
    line-height: 1.45;
}

.article-view {
    background: #f5f0e6;
    color: var(--text-primary);
}

.article-view .page-content {
    padding-top: 0;
    padding-bottom: 72px;
}

.article-masthead {
    background: #fbf7ef;
    border-top: 2px solid #111111;
    border-bottom: 1px solid #d7cdbf;
}

.article-masthead-utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
    border-bottom: 1px solid #e5dbcc;
    font-family: var(--font-newspaper-sans);
}

.article-masthead-kicker,
.article-masthead-home,
.article-masthead-tagline,
.article-masthead-link,
.article-meta-label,
.read-article-link {
    font-family: var(--font-newspaper-sans);
}

.article-masthead-kicker,
.article-masthead-home {
    margin: 0;
    color: #6a5f51;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.article-masthead-home {
    color: #111111;
}

.article-masthead-brand-row {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 18px 0 16px;
}

.article-masthead-brand {
    color: #111111;
    font-family: var(--font-newspaper-serif);
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
}

.article-masthead-tagline {
    margin: 0;
    color: #746857;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-masthead-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 44px;
    border-top: 1px solid #e5dbcc;
}

.article-masthead-link {
    color: #332d26;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
}

.article-masthead-link-active {
    border-bottom-color: #111111;
}

.article-page {
    padding: 42px 0 72px;
}

.article-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.95fr);
    align-items: start;
    gap: 36px;
}

.newspaper-article {
    width: min(100%, 860px);
    margin: 0 auto;
    background: #fffdfa;
    border-top: 1px solid #111111;
    border-bottom: 1px solid #111111;
    padding: 34px 44px 44px;
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06);
}

.article-detail-grid .newspaper-article {
    width: 100%;
    margin: 0;
}

.article-view .sidebar-column {
    padding-top: 8px;
    padding-left: 0;
}

.article-header {
    padding-bottom: 30px;
    border-bottom: 1px solid #dbd0c1;
}

.article-hed {
    margin: 0;
    color: #111111;
    font-family: var(--font-newspaper-serif);
    font-size: clamp(42px, 5.2vw, 68px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.article-meta-line {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #dbd0c1;
}

.article-byline-group,
.article-date-group {
    display: grid;
    gap: 5px;
}

.article-meta-label {
    margin: 0;
    color: #7a6d5b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.article-byline,
.article-date {
    margin: 0;
    color: #151515;
    font-size: 14px;
    line-height: 1.35;
}

.article-byline {
    font-weight: 600;
}

.article-date {
    color: #5b534a;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.article-cover {
    margin: 34px 0 0;
    overflow: hidden;
    border: 0;
    padding: 0;
}

.article-cover img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border: 1px solid #ddd4c6;
}

.article-body-wrap {
    margin-top: 36px;
}

.article-content > :is(h1, h2, h3):first-child {
    display: none;
}

.prose {
    margin: 0 auto;
    max-width: 31em;
    color: var(--text-primary);
    font-family: var(--font-newspaper-serif);
    font-size: clamp(21px, 1.85vw, 24px);
    line-height: 1.84;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose table,
.prose h2,
.prose h3,
.prose h4 {
    margin: 0 0 24px;
}

.prose p {
    color: #1d1a17;
    hanging-punctuation: first;
}

.prose > p:first-of-type {
    color: #26211a;
    font-size: clamp(23px, 2.2vw, 27px);
    line-height: 1.68;
}

.prose a {
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.prose h2,
.prose h3,
.prose h4 {
    color: #111111;
    font-family: var(--font-newspaper-sans);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-top: 54px;
}

.prose h2 {
    font-size: clamp(30px, 3.1vw, 38px);
}

.prose h3 {
    font-size: clamp(26px, 2.6vw, 31px);
}

.prose h4 {
    font-size: clamp(22px, 2.2vw, 26px);
}

.prose ul,
.prose ol {
    max-width: 30em;
    padding-left: 22px;
}

.prose li + li {
    margin-top: 12px;
}

.prose blockquote {
    max-width: 25em;
    margin: 40px auto;
    padding: 0 0 0 24px;
    border-left: 2px solid #111111;
    background: transparent;
    color: #26211a;
    font-size: 1.08em;
    line-height: 1.62;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid #d8cdbd;
    background: #ffffff;
}

.prose th,
.prose td {
    padding: 12px 14px;
    border: 1px solid #e3d9ca;
    text-align: left;
    font-family: var(--font-newspaper-sans);
    font-size: 14px;
    line-height: 1.5;
}

.prose th {
    background: #f7f1e7;
    font-weight: 700;
}

.prose img {
    border: 1px solid #ddd4c6;
    border-radius: 0;
}

.article-footer {
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid #dbd0c1;
}

.read-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4c4338;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-view .site-footer {
    background: #f5f0e6;
    color: #111111;
    border-top: 1px solid #d7cdbf;
}

.article-view .footer-branding {
    opacity: 1;
}

.article-view .footer-copy {
    color: #6c6258;
}

.footer-inner {
    padding-top: 48px;
    padding-bottom: 48px;
}

.footer-branding {
    display: grid;
    gap: 8px;
    opacity: 0.88;
}

.footer-brand {
    display: inline-block;
}

.footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 20px;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.icon-trend {
    width: 14px;
    height: 14px;
}

.icon-trend.up {
    color: var(--market-up);
}

.icon-trend.down {
    color: var(--market-down);
}

@media (max-width: 960px) {
    .home-intro {
        grid-template-columns: 1fr;
    }

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

    .editorial-column {
        padding-right: 0;
        border-right: 0;
    }

    .sidebar-column {
        padding-left: 0;
        border-top: 1px solid #d7cdbf;
        padding-top: 24px;
    }

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

    .story-card,
    .story-card:nth-child(even) {
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid #e2d8ca;
    }

    .article-detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .article-view .sidebar-column {
        padding-top: 24px;
        border-top: 1px solid #d7cdbf;
    }

    .home-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-footer-column {
        padding-left: 0;
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid #d7cdbf;
    }
}

@media (max-width: 720px) {
    .home-command-row-inner,
    .home-intro {
        width: min(calc(100% - (var(--mobile-margin) * 2)), var(--container-max));
    }



    .search-toggle-label,
    .search-shortcut {
        display: none;
    }

    .home-masthead-brand-row {
        display: grid;
        justify-items: center;
        gap: 6px;
        text-align: center;
        grid-template-columns: 1fr;
    }

    .home-masthead-side {
        display: none;
    }

    .home-masthead-status {
        justify-self: center;
        gap: 8px;
    }

    .home-masthead-brand {
        order: 1;
    }

    .home-masthead-status {
        order: 2;
    }

    .home-intro-title {
        max-width: none;
        font-size: 40px;
    }

    .home-intro-summary,
    .search-hero-note {
        font-size: 18px;
    }

    .search-hero {
        padding: 18px 18px 20px;
    }

    .search-field {
        padding-right: 60px;
    }

    .home-search-field {
        min-height: 62px;
        padding-left: 22px;
        padding-right: 84px;
        font-size: 16px;
    }

    .ticker-strip {
        display: flex;
        gap: 12px;
        padding-top: 0;
        border-bottom: 0;
    }

    .ticker-pill {
        min-width: 220px;
        border: 1px solid #d7cdbf;
        margin-top: 16px;
    }

    .main-headline {
        font-size: 34px;
        line-height: 1.02;
    }

    .secondary-headline {
        font-size: 22px;
        line-height: 1.08;
    }

    .article-masthead-utility {
        min-height: 34px;
    }

    .article-masthead-brand-row {
        padding: 14px 0 12px;
    }

    .article-masthead-nav {
        justify-content: flex-start;
        overflow-x: auto;
        gap: 18px;
        padding: 0 0 0 2px;
    }

    .article-page {
        padding: 22px 0 44px;
    }

    .newspaper-article {
        width: min(100%, calc(100% - 24px));
        padding: 24px 20px 32px;
    }

    .article-meta-line {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .article-hed {
        line-height: 1.02;
    }

    .article-cover {
        margin-top: 26px;
    }

    .article-body-wrap {
        margin-top: 28px;
    }

    .prose {
        font-size: 20px;
        line-height: 1.72;
    }

    .prose > p:first-of-type {
        font-size: 22px;
        line-height: 1.58;
    }

    .prose h2 {
        font-size: 28px;
    }

    .prose h3 {
        font-size: 24px;
    }
}