@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&family=Source+Sans+3:wght@400;600;700;800&display=swap");

:root {
  --bg: #f6f6f7;
  --surface: #ffffff;
  --ink: #131313;
  --muted: #5f5f62;
  --line: #dddddf;
  --dark: #09090a;
  --accent: #d92516;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
}

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

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

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.header-ad {
  background: var(--dark);
  border-bottom: 1px solid #232325;
  padding: 14px 0 20px;
}

.ad-label {
  margin: 0 0 10px;
  color: #e4e4e6;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.ad-banner {
  display: block;
}

.ad-banner-inner {
  min-height: 150px;
  padding: 22px 24px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1530213786676-41ad9f7736f6?auto=format&fit=crop&w=1900&q=80") center/cover no-repeat;
}

.ad-kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ad-banner h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.02;
  max-width: 760px;
}

.ad-banner p {
  margin: 8px 0 0;
  font-size: clamp(14px, 1.6vw, 20px);
}

.main-header {
  background: #fbfbfc;
  border-bottom: 1px solid var(--line);
}

.top-nav {
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  border: 0;
  background: transparent;
  font-size: 24px;
  color: #29292c;
  cursor: pointer;
  padding: 0;
}

.brand {
  justify-self: center;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(50px, 6vw, 78px);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.text-link {
  color: #24252a;
}

.member-button {
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.section-nav-wrap {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.menu a {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.menu a:hover,
.menu a.is-active {
  color: var(--accent);
}

.alert-link {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.home-main {
  background: #fff;
  padding: 24px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.hero-feature {
  border: 1px solid var(--line);
  background: #fff;
}

.hero-feature img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-feature-body {
  padding: 14px 16px 16px;
}

.meta {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 12px;
  color: #666;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-feature h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.05;
  text-wrap: balance;
}

.hero-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-side-list {
  display: grid;
  gap: 16px;
}

.story-card {
  border: 1px solid var(--line);
  background: #fff;
  padding-bottom: 12px;
}

.story-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 10px;
}

.story-card h3 {
  margin: 0 12px 6px;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 0.97;
}

.story-card p {
  margin: 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.story-card.compact {
  padding: 12px;
}

.story-card.compact h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.03;
}

.story-card.compact .meta {
  margin-bottom: 6px;
}

.latest-column {
  border-top: 4px solid #25252a;
  padding-top: 8px;
}

.latest-column h2 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: clamp(30px, 2.8vw, 46px);
  line-height: 0.95;
}

.latest-item {
  display: block;
  background: #f1f2f4;
  border: 1px solid #e5e6ea;
  padding: 10px;
  margin-bottom: 8px;
}

.latest-item time {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #61636a;
  margin-bottom: 4px;
  font-weight: 700;
}

.latest-item span {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1;
  font-weight: 700;
}

.latest-more {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.quote-strip {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 16px;
}

.quote-strip blockquote {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
}

.quote-strip p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #656770;
  text-transform: uppercase;
  font-weight: 700;
}

.section-block {
  margin-top: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 0.98;
}

.section-head a {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 14px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  overflow: hidden;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.04;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.news-tile img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-tile > div {
  padding: 11px 12px 12px;
}

.pill {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  background: #eceef2;
  border-radius: 999px;
  padding: 3px 8px;
}

.site-footer-lite {
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  background: #fafafa;
  color: #73757d;
  font-size: 12px;
}

/* Inner page compatibility */
.page-title {
  padding: 24px 0 10px;
}

.page-title h1 {
  margin: 0 0 6px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 42px;
  line-height: 0.96;
}

.page-title p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 12px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.grid.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 12px;
}

.button {
  display: inline-block;
  border: 1px solid #1f2127;
  background: #1f2127;
  color: #fff;
  padding: 7px 11px;
  font-size: 13px;
}

.button.secondary {
  background: #fff;
  color: #1f2127;
}

.chart-frame {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.bar-fill {
  height: 8px;
  background: #2b3240;
  border-radius: 999px;
}

@media (max-width: 1180px) {
  .container {
    width: min(1100px, 94%);
  }

  .brand {
    font-size: clamp(44px, 5.8vw, 64px);
  }

  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .latest-column {
    grid-column: 1 / -1;
  }

  .latest-item span {
    font-size: 19px;
  }

  .story-card h3 {
    font-size: 30px;
  }
}

@media (max-width: 860px) {
  .top-nav {
    min-height: 84px;
    grid-template-columns: 34px 1fr;
    row-gap: 8px;
  }

  .brand {
    justify-self: start;
  }

  .top-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 8px;
    font-size: 11px;
  }

  .member-button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .section-nav-wrap {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .menu {
    justify-content: flex-start;
    gap: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 34px;
  }

  .hero-feature h1 {
    font-size: 30px;
  }

  .story-card h3,
  .latest-column h2 {
    font-size: 28px;
  }

  .latest-column {
    order: 2;
  }

  .hero-side-list {
    order: 3;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, 95%);
  }

  .ad-banner-inner {
    min-height: 110px;
    padding: 14px;
  }

  .ad-banner h2 {
    font-size: 20px;
  }

  .ad-banner p {
    font-size: 13px;
  }

  .top-nav {
    min-height: 72px;
    grid-template-columns: 28px 1fr;
  }

  .brand {
    font-size: 28px;
  }

  .menu {
    gap: 10px;
  }

  .menu a,
  .alert-link {
    font-size: 11px;
  }

  .hero-feature h1 {
    font-size: 24px;
  }

  .hero-feature p {
    font-size: 15px;
  }

  .story-card h3 {
    font-size: 23px;
  }

  .latest-column h2 {
    font-size: 24px;
  }

  .latest-item span {
    font-size: 16px;
  }

  .quote-strip blockquote {
    font-size: 20px;
  }

  .card h3 {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .top-actions {
    justify-content: space-between;
  }

  .icon-btn {
    font-size: 18px;
  }

  .member-button {
    padding: 6px 8px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .page-title h1 {
    font-size: 30px;
  }

  .section h2 {
    font-size: 24px;
  }
}
