@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --ink: #161616;
  --muted: #767676;
  --line: #e8e8e8;
  --paper: #fff;
  --red: #c91f2d;
  --red-dark: #a71221;
  --soft: #f7f7f7;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 48px)); 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; }

.topline { height: 34px; background: #f7f7f7; color: #525252; font-size: 11px; }
.topline-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.topline-inner a { color: var(--red); font-weight: 700; }
.topline-location { display: flex; align-items: center; gap: 7px; }
.live-dot, .breaking-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e1323b; box-shadow: 0 0 0 3px #e1323b20; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; gap: 11px; align-items: center; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; background: var(--red); color: white; font-size: 21px; font-weight: 800; letter-spacing: -2px; border-radius: 3px; }
.brand-name { font-size: 22px; line-height: 1.02; font-weight: 800; letter-spacing: -1.1px; }
.brand-name > span { color: var(--red); }
.brand-name small { display: block; margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: 1.5px; color: #747474; }
.search-form { width: min(280px, 34vw); height: 40px; border: 1px solid #dedede; border-radius: 3px; display: flex; }
.search-form:focus-within { border-color: #888; }
.search-form input { width: 100%; min-width: 0; padding: 0 12px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-form button { border: 0; background: transparent; padding: 0 12px; color: #454545; font-size: 25px; cursor: pointer; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 22px; cursor: pointer; }

.breaking-bar { background: var(--red); color: white; }
.breaking-inner { min-height: 42px; display: flex; align-items: center; gap: 18px; }
.breaking-label { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: 1px; font-weight: 800; white-space: nowrap; }
.breaking-pulse { background: #fff; box-shadow: 0 0 0 3px #ffffff30; }
.breaking-inner > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; flex: 1; }
.breaking-tag { font-size: 9px; letter-spacing: .8px; font-weight: 700; opacity: .82; white-space: nowrap; }
.main-nav { border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 51px; display: flex; align-items: stretch; gap: 28px; }
.nav-link, .nav-add { position: relative; display: flex; align-items: center; font-size: 12px; font-weight: 600; color: #444; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--red); }
.nav-link.is-active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--red); }
.nav-add { margin-left: auto; color: var(--red); }

.page-kicker { margin-top: 32px; margin-bottom: 17px; }
.section-kicker { color: #777; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.kicker-line { display: inline-block; width: 22px; height: 2px; margin-right: 8px; vertical-align: middle; background: var(--red); }
.lead-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(275px, .76fr); gap: 34px; border-bottom: 1px solid var(--line); padding-bottom: 38px; }
.featured-story { min-width: 0; }
.featured-image-wrap { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 8.2; background: #ece8e1; }
.featured-image { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.featured-image-wrap:hover .featured-image { transform: scale(1.025); }
.image-label { position: absolute; bottom: 14px; left: 14px; padding: 6px 9px; background: var(--red); color: white; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.featured-copy { padding: 17px 0 0; }
.meta-row { display: flex; align-items: center; gap: 9px; color: #777; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .65px; }
.meta-category { color: var(--red); font-weight: 800; }
.meta-separator { width: 3px; height: 3px; border-radius: 50%; background: #bbb; }
.featured-title { max-width: 730px; margin: 9px 0 9px; font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -.8px; }
.featured-title a:hover, .story-title a:hover, .rail-title a:hover { color: var(--red); }
.featured-summary { margin: 0; max-width: 670px; color: #656565; font-size: 14px; line-height: 1.65; }
.byline { display: flex; align-items: center; gap: 8px; margin-top: 15px; color: #696969; font-size: 11px; }
.byline strong { color: #333; }
.avatar { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: #f1e8e3; color: var(--red); font-size: 10px; font-weight: 800; }
.latest-rail { padding-left: 26px; border-left: 1px solid var(--line); }
.rail-heading { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 12px; border-bottom: 1px solid var(--line); }
.rail-heading h2 { margin: 3px 0 0; font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.red-rule { width: 34px; height: 3px; background: var(--red); align-self: flex-end; margin-bottom: 4px; }
.latest-item { padding: 14px 0 13px; border-bottom: 1px solid var(--line); }
.rail-title { margin: 5px 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.28; }
.rail-time { color: #858585; font-size: 10px; }
.text-link { color: var(--red); font-size: 11px; font-weight: 800; }
.rail-more { display: inline-block; margin-top: 15px; }

.live-section { padding: 38px 0 40px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading h2, .add-intro h2 { margin: 4px 0 0; font-family: var(--serif); font-size: 30px; line-height: 1.2; letter-spacing: -.45px; }
.section-heading .section-kicker .live-dot { margin-right: 7px; vertical-align: 1px; }
.section-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.outline-button { min-height: 37px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d7d7d7; border-radius: 3px; background: white; color: #333; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.outline-button:hover { border-color: var(--red); color: var(--red); }
.feed-status { min-height: 20px; margin: 0 0 10px; color: #777; font-size: 11px; }
.live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.live-card { min-width: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: white; transition: box-shadow .2s, transform .2s; }
.live-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px #0000000c; }
.live-card-image { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; background: #eee; }
.live-card-copy { padding: 13px 14px 15px; }
.live-card-title { margin: 7px 0 10px; font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.live-card-title a:hover { color: var(--red); }
.live-card-excerpt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: 0; color: #6b6b6b; font-size: 12px; line-height: 1.5; }
.source-note { margin: 12px 0 0; color: #8b8b8b; font-size: 10px; }

.stories-section { padding: 39px 0 44px; }
.stories-heading { margin-bottom: 20px; }
.stories-heading h2 { font-size: 31px; }
.search-feedback { margin: -6px 0 12px; color: #777; font-size: 12px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 28px; }
.story-card { min-width: 0; }
.story-image-button { display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: #eee; cursor: pointer; aspect-ratio: 16 / 10; }
.story-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.story-image-button:hover img { transform: scale(1.035); }
.story-copy { padding-top: 12px; }
.story-title { margin: 7px 0 7px; font-family: var(--serif); font-size: 21px; line-height: 1.24; }
.story-summary { margin: 0; color: #707070; font-size: 12px; line-height: 1.6; }
.story-bottom { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; color: #8a8a8a; font-size: 10px; }
.read-link { color: var(--red); font-weight: 800; white-space: nowrap; }
.empty-state { grid-column: 1 / -1; padding: 38px 20px; text-align: center; background: var(--soft); color: #666; border-radius: 4px; }

.add-section { margin: 0 0 54px; padding: 31px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 34px; background: #f7f7f7; border-top: 3px solid var(--red); }
.add-intro h2 { font-size: 28px; }
.add-intro > p { max-width: 315px; margin: 9px 0 16px; color: #686868; font-size: 13px; }
.local-note { max-width: 320px; color: #6f6f6f; font-size: 11px; line-height: 1.5; }
.local-note span { color: var(--red); font-size: 14px; margin-right: 3px; }
.article-form { display: grid; gap: 12px; }
.article-form label { display: grid; gap: 5px; color: #333; font-size: 11px; font-weight: 700; }
.article-form input, .article-form textarea, .article-form select { width: 100%; padding: 10px 11px; border: 1px solid #ddd; border-radius: 3px; outline: none; background: white; color: #222; font-size: 12px; font-weight: 400; resize: vertical; }
.article-form input:focus, .article-form textarea:focus, .article-form select:focus { border-color: #9c9c9c; }
.article-form input[type=file] { padding: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.form-hint { color: #777; font-size: 10px; }
.primary-button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 3px; background: var(--red); color: white; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.primary-button:hover { background: var(--red-dark); }
.form-feedback { margin: -3px 0 0; min-height: 15px; color: #237b43; font-size: 11px; }

.site-footer { background: #181818; color: white; }
.footer-top { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-mark { width: 37px; height: 37px; font-size: 18px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-brand .brand-name small { color: #aaa; font-size: 7px; }
.footer-top > p { color: #b7b7b7; font-size: 12px; }
.back-top { color: #e7e7e7; font-size: 11px; font-weight: 700; }
.footer-bottom { min-height: 42px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff20; color: #aaa; font-size: 10px; }

.story-dialog { width: min(680px, calc(100% - 28px)); max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: 5px; box-shadow: 0 18px 70px #0005; }
.story-dialog::backdrop { background: #1119; }
.dialog-close { position: sticky; top: 10px; float: right; z-index: 2; width: 34px; height: 34px; margin: 10px 10px -44px 0; border: 0; border-radius: 50%; background: #fff; font-size: 23px; cursor: pointer; box-shadow: 0 1px 8px #0002; }
.dialog-image { width: 100%; max-height: 350px; object-fit: cover; }
.dialog-copy { padding: 25px 30px 32px; }
.dialog-copy h2 { margin: 9px 0; font-family: var(--serif); font-size: 34px; line-height: 1.16; }
.dialog-summary { color: #6d6d6d; font-size: 14px; }
.dialog-body { white-space: pre-wrap; font-size: 14px; line-height: 1.8; }
.dialog-source { display: inline-block; margin-top: 8px; color: var(--red); font-size: 12px; font-weight: 800; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 5; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 4px; background: #202020; color: white; font-size: 12px; transition: all .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .wrap { width: min(100% - 36px, 700px); }
  .lead-layout { grid-template-columns: minmax(0, 1.35fr) minmax(235px, .8fr); gap: 22px; }
  .latest-rail { padding-left: 18px; }
  .nav-inner { gap: 20px; overflow-x: auto; }
  .nav-add { padding-left: 10px; }
  .add-section { grid-template-columns: 1fr; gap: 22px; padding: 25px; }
  .add-intro > p, .local-note { max-width: 650px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 30px); }
  .topline-inner { font-size: 10px; }
  .topline-inner > a { display: none; }
  .site-header { min-height: 76px; gap: 12px; }
  .brand-mark { width: 37px; height: 37px; font-size: 18px; }
  .brand-name { font-size: 19px; }
  .brand-name small { font-size: 7px; letter-spacing: 1.2px; }
  .search-form { width: 40px; height: 38px; margin-left: auto; border-color: transparent; }
  .search-form input { position: absolute; top: 110px; left: 15px; width: calc(100% - 30px); height: 0; padding: 0; opacity: 0; pointer-events: none; border: 1px solid transparent; background: #fff; z-index: 4; }
  .search-form.is-open input { height: 40px; padding: 0 12px; opacity: 1; pointer-events: auto; border-color: #ddd; box-shadow: 0 3px 12px #0001; }
  .search-form button { width: 38px; padding: 0; }
  .menu-toggle { display: block; }
  .breaking-inner { min-height: 39px; gap: 10px; }
  .breaking-label { font-size: 9px; }
  .breaking-tag { display: none; }
  .breaking-inner > a { font-size: 10px; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-inner { min-height: unset; padding-block: 8px; flex-wrap: wrap; gap: 0; overflow: visible; }
  .nav-link, .nav-add { min-height: 36px; padding: 0 11px; }
  .nav-link.is-active::after { left: 11px; right: 11px; }
  .nav-add { margin-left: 0; }
  .page-kicker { margin-top: 22px; font-size: 9px; }
  .lead-layout { grid-template-columns: 1fr; gap: 24px; padding-bottom: 26px; }
  .featured-image-wrap { aspect-ratio: 16 / 10; }
  .featured-title { font-size: 31px; }
  .featured-summary { font-size: 13px; }
  .latest-rail { padding-left: 0; border-left: 0; }
  .rail-heading { padding-top: 0; }
  .latest-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .latest-item { padding: 12px 0; }
  .rail-title { font-size: 15px; }
  .live-section { padding: 28px 0; }
  .section-heading h2, .stories-heading h2 { font-size: 26px; }
  .section-subtitle { font-size: 12px; }
  .live-grid { grid-template-columns: 1fr; gap: 12px; }
  .live-card { display: grid; grid-template-columns: 112px 1fr; }
  .live-card-image { height: 100%; min-height: 126px; aspect-ratio: auto; }
  .live-card-copy { padding: 10px 11px; }
  .live-card-title { font-size: 16px; margin: 5px 0; }
  .live-card-excerpt { -webkit-line-clamp: 2; font-size: 11px; }
  .stories-section { padding: 29px 0 35px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 13px; }
  .story-title { font-size: 17px; }
  .story-summary { display: none; }
  .story-bottom { margin-top: 8px; font-size: 9px; }
  .desktop-add { display: none; }
  .add-section { margin-bottom: 36px; padding: 21px 16px; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .primary-button { width: 100%; }
  .footer-top { min-height: 112px; flex-wrap: wrap; padding-block: 16px; }
  .footer-top > p { order: 3; width: 100%; margin: -8px 0 0; }
  .footer-bottom { gap: 12px; font-size: 9px; }
  .footer-bottom span:last-child { text-align: right; }
  .dialog-copy { padding: 21px 19px 25px; }
  .dialog-copy h2 { font-size: 28px; }
}
