:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f6f6;
  --line: #e3e3e3;
  --text: #1f1f1f;
  --muted: #727272;
  --brand: #c4170c;
  --brand-dark: #a50e06;
  --headline: #c4170c;
  --max-width: 1280px;
  --radius: 6px;
  --shadow: 0 0 0 rgba(0, 0, 0, 0);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: var(--headline);
  text-decoration: none;
}

a:hover {
  color: #941515;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--max-width), calc(100% - 1.5rem));
  margin-inline: auto;
}

.site-header {
  position: static;
  z-index: 30;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.network-strip {
  background: #ffffff;
  border-bottom: 1px solid #e3e3e3;
}

.network-links {
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  overflow-x: auto;
  white-space: nowrap;
}

.network-links a {
  font-size: 0.86rem;
  font-weight: 700;
  color: #3567b9;
}

.network-links a:nth-child(2) {
  color: #c4170c;
}

.network-links a:nth-child(3) {
  color: #059648;
}

.network-links a:nth-child(4) {
  color: #ff6b00;
}

.network-links a:nth-child(5) {
  color: #c4170c;
}

.network-links a:nth-child(6) {
  color: #6b6b6b;
}

.network-date {
  margin-left: auto;
  font-size: 0.84rem;
  color: #888;
}

.regional-strip {
  background: linear-gradient(180deg, #c81910, #bb1008);
  color: #fff;
}

.regional-inner {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: #fff;
  font-weight: 900;
  font-size: 2.05rem;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
}

.brand:hover {
  color: #fff;
}

.brand-logo {
  display: block;
  width: auto;
  height: 76px;
  max-width: none;
}

.region-mark {
  text-align: center;
  justify-self: center;
}

.regional-spacer {
  width: 116px;
}

.region-mark strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.42rem 0.72rem;
  letter-spacing: 0.03em;
}

.nav-toggle::before {
  content: "\2261";
  font-size: 1.15rem;
  margin-right: 0.35rem;
  vertical-align: -1px;
}

.site-nav {
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-list {
  margin: 0;
  padding: 0.76rem 0 0.7rem;
  list-style: none;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-list a {
  color: #ffb2ab;
  font-size: 1rem;
  font-weight: 800;
  text-transform: lowercase;
}

.nav-list a:hover {
  color: #fff;
}

.search-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.search-strip .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  width: min(460px, 100%);
}

.search-input,
.input,
.textarea,
.select {
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 4px;
  padding: 0.48rem 0.72rem;
  color: var(--text);
  font: inherit;
}

.search-input {
  flex: 1;
  min-width: 120px;
}

.btn {
  border: 0;
  border-radius: 4px;
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  background: linear-gradient(180deg, #d72020, #bb1010);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
}

.btn:hover {
  color: #fff;
  filter: brightness(1.04);
}

.breaking-link {
  color: #a01616;
  font-size: 0.86rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-wrap {
  padding: 1rem 0 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.95rem;
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
  line-height: 1.1;
  font-family: "Merriweather", Georgia, serif;
}

.section-title-main {
  color: #2a2a2a;
  font-size: 0.98rem;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.8rem;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
}

.category-title {
  color: #be1b1b;
}

.meta {
  color: var(--muted);
  font-size: 0.96rem;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.headline-card {
  overflow: hidden;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.headline-card .inner {
  padding: 1rem 0 0.2rem;
}

.headline-media,
.secondary-media {
  position: relative;
  display: block;
}

.headline-media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 12px;
}

.secondary-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.image-kicker {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.7);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.headline-meta {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
}

.headline-title {
  font-family: "Merriweather", Georgia, serif;
  margin: 0.4rem 0 0.55rem;
  line-height: 1.03;
  font-size: clamp(2.2rem, 3.15vw, 3.45rem);
}

.headline-summary {
  font-size: 1rem;
  color: #525252;
  line-height: 1.45;
}

.secondary-stack {
  display: grid;
  gap: 0.8rem;
}

.secondary-item {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.secondary-item .content {
  padding: 0.62rem 0.8rem 0.75rem;
}

.secondary-item h3 {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.16;
  font-family: "Merriweather", Georgia, serif;
}

.news-split {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.82fr);
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.latest-panel,
.most-read-panel {
  padding-top: 0.5rem;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.most-read-panel {
  border-left: 1px solid #e3e3e3;
  padding-left: 1.45rem;
}

.latest-list {
  display: grid;
}

.latest-row {
  display: grid;
  grid-template-columns: 365px 1fr;
  gap: 1rem;
  border-bottom: 1px solid #e7e7e7;
  padding: 1.15rem 0;
}

.latest-row:first-child {
  padding-top: 0.2rem;
}

.latest-row:last-child {
  border-bottom: 0;
  padding-bottom: 0.2rem;
}

.latest-title,
.latest-row h3 {
  margin: 0.22rem 0 0.42rem;
  font-size: 1.18rem;
  line-height: 1.07;
  font-family: "Merriweather", Georgia, serif;
}

.latest-row p:not(.meta) {
  margin: 0;
  color: #5e5e5e;
  font-size: 0.96rem;
  line-height: 1.45;
}

.rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.rank-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.rank-list li:last-child {
  border-bottom: 0;
}

.rank-n {
  display: block;
  color: #b6b6b6;
  font-size: 1rem;
  line-height: 1.2;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
}

.rank-list a {
  font-size: 0.98rem;
  line-height: 1.18;
  font-weight: 800;
  color: #bf1717;
}

.home-ad-top,
.home-ad-inline,
.ad-slot {
  margin: 0 auto 1.2rem;
  max-width: 972px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.ad-slot img {
  width: 100%;
  border-radius: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.8rem;
}

.news-item {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  overflow: hidden;
}

.news-content {
  padding: 0.7rem;
}

.news-content h3,
.news-content h4 {
  margin: 0.3rem 0 0.35rem;
  font-family: "Merriweather", Georgia, serif;
  line-height: 1.2;
}

.category-section {
  margin-top: 1.2rem;
  box-shadow: none;
  border-radius: 0;
}

.category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.page-title {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  font-family: "Merriweather", Georgia, serif;
}

.breadcrumb {
  margin: 0 0 0.55rem;
  color: #7a7a7a;
  font-size: 0.95rem;
}

.category-layout,
.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 0.88fr);
  gap: 0.85rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 0.88fr);
  gap: 0.85rem;
}

.article-main {
  background: #fff;
  border: 1px solid #dfdfdf;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.article-title {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(2rem, 2.6vw, 2.9rem);
  font-family: "Merriweather", Georgia, serif;
}

.article-subtitle {
  color: #454545;
  font-size: 1.25rem;
  margin: 0.6rem 0;
}

.article-content {
  font-size: 1.14rem;
  line-height: 1.85;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content h2,
.article-content h3 {
  margin: 1rem 0;
}

.article-content img {
  border-radius: 10px;
  margin: 1rem 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list a {
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  padding: 0.26rem 0.64rem;
  font-size: 0.88rem;
  color: #7b1818;
  background: #f9f5f5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.7rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.32rem;
}

.flash {
  border-radius: 8px;
  padding: 0.62rem 0.72rem;
  margin-bottom: 1rem;
}

.flash-success {
  background: #ebf8ef;
  color: #1e6a37;
  border: 1px solid #c5e6cf;
}

.flash-error {
  background: #fdeeee;
  color: #a01f1f;
  border: 1px solid #f1c9c9;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 0.85rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form-col-full {
  grid-column: 1 / -1;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.site-footer {
  border-top: 1px solid #cfcfcf;
  background: #f9f9f9;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
}

.footer-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-family: "Merriweather", Georgia, serif;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-copy {
  border-top: 1px solid #dfdfdf;
  padding: 0.8rem 0 1rem;
  color: #666;
  font-size: 0.9rem;
}

.pagination {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.95rem;
}

.pagination a,
.pagination span {
  border: 1px solid #dbdbdb;
  background: #fff;
  padding: 0.42rem 0.66rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.error-404 {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding: 2rem 1.1rem;
}

@media (max-width: 1180px) {
  .nav-list a {
    font-size: 0.92rem;
  }

  .latest-row {
    grid-template-columns: 300px 1fr;
  }

  .latest-title,
  .latest-row h3,
  .rank-list a {
    font-size: 1rem;
  }
}

@media (max-width: 1040px) {
  .news-split,
  .category-layout,
  .search-layout,
  .article-layout,
  .contact-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .latest-row {
    grid-template-columns: 220px 1fr;
  }

  .search-strip .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0;
  }

  .search-form {
    width: 100%;
  }

  .most-read-panel {
    border-left: 0;
    padding-left: 0.95rem;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .regional-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand-cluster {
    gap: 0.7rem;
  }

  .brand {
    justify-self: center;
  }

  .brand-logo {
    height: 56px;
  }

  .network-date {
    display: none;
  }

  .regional-spacer {
    width: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .latest-row {
    grid-template-columns: 1fr;
  }

  .nav-list {
    padding: 0.72rem 0;
    flex-direction: column;
    gap: 0.65rem;
  }

  .nav-list a {
    font-size: 1rem;
  }
}
