:root {
  --red: #c91026;
  --red-dark: #980819;
  --red-soft: #fff0f2;
  --navy: #071633;
  --navy-2: #102851;
  --ink: #152238;
  --muted: #667085;
  --line: #e8e9ee;
  --paper: #ffffff;
  --surface: #f7f8fb;
  --green: #169447;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(27, 34, 53, 0.12);
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

.shell {
  width: var(--shell);
  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;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: white;
  color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 22, 51, 0.07);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  color: var(--navy);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.8px;
}

.brand strong span {
  color: var(--red);
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #e9273d, #a90519);
  box-shadow: 0 8px 22px rgba(201, 16, 38, 0.25);
}

.signal {
  position: absolute;
  left: 50%;
  border: 2px solid white;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.signal-1 {
  top: 9px;
  width: 22px;
  height: 22px;
}

.signal-2 {
  top: 14px;
  width: 12px;
  height: 12px;
}

.signal-dot {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  transform: translateX(-50%);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

nav a:not(.nav-cta):hover {
  color: var(--red);
}

.nav-cta {
  padding: 10px 17px;
  color: white;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(122deg, rgba(6, 17, 42, 0.97) 0 54%, rgba(10, 30, 65, 0.94) 100%),
    radial-gradient(circle at 30% 30%, #1c4b85, transparent 45%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  opacity: 0.2;
  background-image: radial-gradient(circle, white 1px, transparent 1.5px);
  background-size: 19px 19px;
  mask-image: linear-gradient(transparent, black);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: -190px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(229, 27, 55, 0.52), rgba(201, 16, 38, 0) 70%);
}

.hero-glow-two {
  bottom: -280px;
  left: 26%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(29, 100, 180, 0.25), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 70px;
  min-height: 620px;
  padding-block: 62px 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: #ffb1ba;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--red);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -4.5px;
}

.hero h1 em {
  color: #ff4156;
  font-style: normal;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 30px;
  color: #c9d2e0;
  font-size: 17px;
}

.hero-search {
  display: flex;
  align-items: center;
  width: min(100%, 620px);
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.hero-search > span {
  padding-inline: 12px 7px;
  color: #b8c5d8;
  font-size: 25px;
  transform: rotate(-18deg);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 10px;
  color: white;
  border: 0;
  outline: none;
  background: transparent;
}

.hero-search input::placeholder {
  color: #aebcd0;
}

.hero-search button {
  padding: 12px 18px;
  color: white;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.hero-search:focus-within {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 31px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats strong {
  font-size: 21px;
}

.hero-stats span {
  color: #9dacc1;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  height: 470px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 430px;
  height: 430px;
}

.orbit-two {
  width: 325px;
  height: 325px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.hero-card-main {
  z-index: 2;
  top: 21px;
  left: 50%;
  width: 310px;
  height: 420px;
  border-radius: 28px;
  transform: translateX(-50%) rotate(2.6deg);
  animation: float 6s ease-in-out infinite;
}

.hero-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(5, 14, 35, 0.92));
}

.hero-card-main > div {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-card-main strong {
  font-size: 18px;
}

.badge {
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-card-small {
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 205px;
  padding: 14px 16px;
  border-radius: 16px;
}

.hero-card-small > span {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border-radius: 12px;
  background: rgba(201, 16, 38, 0.84);
}

.hero-card-small p {
  margin: 0;
  color: #bec8d7;
  font-size: 11px;
  line-height: 1.45;
}

.hero-card-small strong {
  color: white;
  font-size: 12px;
}

.hero-card-top {
  top: 92px;
  left: -35px;
  transform: rotate(-3deg);
}

.hero-card-bottom {
  right: -34px;
  bottom: 63px;
  transform: rotate(3deg);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) rotate(2.6deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(1deg) translateY(-10px); }
}

.topic-strip {
  position: relative;
  z-index: 3;
  margin-top: -23px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 17px 22px;
  border: 1px solid rgba(7, 22, 51, 0.07);
  border-radius: 20px;
  background: white;
  box-shadow: 0 20px 55px rgba(15, 30, 55, 0.12);
}

.topic-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 53px;
}

.topic-grid > div + div {
  border-left: 1px solid var(--line);
}

.topic-grid > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--red);
  border-radius: 12px;
  background: var(--red-soft);
  font-weight: 900;
}

.topic-grid p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.35;
}

.topic-grid strong {
  font-size: 12px;
}

.topic-grid small {
  color: var(--muted);
  font-size: 10px;
}

.articles-section {
  padding-block: 105px 110px;
  scroll-margin-top: 74px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2 {
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -2.4px;
}

.section-heading > div > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.compact-search {
  display: flex;
  align-items: center;
  width: min(290px, 100%);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.compact-search > span[aria-hidden] {
  color: var(--muted);
  font-size: 21px;
  transform: rotate(-18deg);
}

.compact-search input {
  min-width: 0;
  width: 100%;
  padding: 13px 10px;
  border: 0;
  outline: none;
  background: transparent;
}

.compact-search:focus-within {
  border-color: #c8ccd5;
  background: white;
  box-shadow: 0 0 0 4px rgba(201, 16, 38, 0.06);
}

.filter-row {
  display: flex;
  gap: 9px;
  margin-top: 38px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #475467;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: border 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.filter-btn span {
  display: grid;
  min-width: 23px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--surface);
  color: #7a8494;
  font-size: 9px;
}

.filter-btn:hover {
  color: var(--red);
  border-color: #f0bec5;
  transform: translateY(-1px);
}

.filter-btn.active {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.filter-btn.active span {
  color: white;
  background: rgba(255, 255, 255, 0.17);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 57px;
  margin-top: 9px;
}

.results-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.results-bar button {
  padding: 0;
  color: var(--red);
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

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

.article-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 9px 30px rgba(25, 31, 43, 0.055);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: card-in 380ms ease both;
}

.article-card:hover {
  z-index: 2;
  border-color: #dfe1e6;
  box-shadow: 0 23px 55px rgba(23, 30, 45, 0.13);
  transform: translateY(-7px);
}

.article-card.featured {
  grid-column: span 2;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.article-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f1f2f5;
}

.article-card.featured .article-image {
  height: 360px;
}

.article-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(7, 22, 51, 0.13));
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms ease;
}

.article-card:hover .article-image img {
  transform: scale(1.035);
}

.article-card.featured .article-image img {
  object-position: center 20%;
}

.category-tag {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  padding: 6px 10px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(7, 22, 51, 0.78);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 22px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: #8a93a2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.article-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b6bcc7;
}

.article-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.article-card.featured .article-body h3 {
  font-size: 24px;
}

.article-body > p {
  display: -webkit-box;
  min-height: 44px;
  margin: 11px 0 18px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 13px 0 0;
  color: var(--navy);
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.article-open span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.article-card:hover .article-open span {
  color: white;
  background: var(--red);
  transform: translateX(3px);
}

.empty-state {
  padding: 80px 20px;
  text-align: center;
  border: 1px dashed #d9dce3;
  border-radius: 24px;
  background: var(--surface);
}

.empty-state > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 18px;
  background: white;
  color: var(--red);
  font-size: 30px;
  transform: rotate(-18deg);
  box-shadow: 0 9px 30px rgba(0, 0, 0, 0.07);
}

.empty-state h3 {
  margin: 0;
  color: var(--navy);
}

.empty-state p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state button {
  padding: 10px 16px;
  color: white;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  font-weight: 750;
  cursor: pointer;
}

.noscript {
  padding: 20px;
  border-radius: 12px;
  background: #fff4df;
}

.reading-banner {
  padding-block: 75px;
  color: white;
  background:
    radial-gradient(circle at 80% 30%, rgba(243, 45, 69, 0.35), transparent 30%),
    var(--navy);
}

.reading-inner {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 28px;
}

.reading-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: #ff5367;
  font-size: 39px;
}

.reading-inner h2 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.08;
  letter-spacing: -1.6px;
}

.reading-inner a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  white-space: nowrap;
  border-radius: 13px;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.reading-inner a:hover {
  background: #e11932;
  transform: translateY(-2px);
}

footer {
  color: #8e99aa;
  background: #050f24;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(200px, 560px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 48px;
}

.footer-brand strong {
  color: white;
}

.footer-inner > p {
  margin: 0;
  font-size: 12px;
}

.back-top {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: white;
}

.back-top:hover {
  background: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10px;
}

.reader {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  height: min(900px, calc(100% - 32px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  background: white;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4);
}

.reader::backdrop {
  background: rgba(3, 9, 24, 0.82);
  backdrop-filter: blur(8px);
}

.reader[open] {
  animation: dialog-in 220ms ease;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reader-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.reader-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}

.reader-header > div {
  min-width: 0;
}

.reader-category {
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.reader-header h2 {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  color: #475467;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.icon-button:hover {
  color: white;
  border-color: var(--red);
  background: var(--red);
}

.reader-content {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 300px;
  overflow: hidden;
  background: #eef0f4;
}

.reader-image-wrap {
  display: flex;
  min-width: 0;
  padding: 24px;
  overflow: auto;
  align-items: flex-start;
  justify-content: center;
  scrollbar-color: #c5c9d1 transparent;
}

.reader-image-wrap img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: 11px;
  background: white;
  box-shadow: 0 12px 35px rgba(20, 28, 42, 0.18);
  cursor: zoom-in;
  transition: max-width 180ms ease;
}

.reader-image-wrap.zoomed {
  justify-content: flex-start;
}

.reader-image-wrap.zoomed img {
  width: min(1024px, 160vw);
  max-width: none;
  cursor: zoom-out;
}

.reader-aside {
  z-index: 2;
  padding: 28px;
  overflow-y: auto;
  background: white;
  box-shadow: -10px 0 30px rgba(23, 31, 48, 0.05);
}

.reader-aside > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.reader-note {
  display: flex;
  gap: 10px;
  padding: 13px;
  border-radius: 13px;
  background: #fff8e7;
}

.reader-note p {
  margin: 0;
  color: #715e2e;
  font-size: 10px;
}

.reader-actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.reader-actions a,
.reader-actions button {
  display: block;
  width: 100%;
  padding: 11px 13px;
  text-align: center;
  border: 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.reader-actions a {
  color: white;
  background: var(--red);
}

.reader-actions button {
  color: var(--navy);
  background: #eef1f6;
}

.reader-progress {
  margin-top: 32px;
}

.reader-progress > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.reader-progress > div {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceef2;
}

.reader-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 200ms ease;
}

.reader-footer {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: white;
}

.reader-footer button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.reader-footer button:hover {
  color: white;
  background: var(--navy);
}

:focus-visible {
  outline: 3px solid rgba(201, 16, 38, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
  }

  .hero-card-top { left: -6px; }
  .hero-card-bottom { right: -9px; }
  .article-grid { gap: 18px; }
  .reading-inner { grid-template-columns: 70px 1fr; }
  .reading-inner a { grid-column: 2; width: max-content; }
}

@media (max-width: 820px) {
  :root { --shell: min(680px, calc(100% - 28px)); }
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 64px 83px;
  }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero h1, .hero-lead, .hero-search { margin-inline: auto; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .topic-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { align-items: stretch; flex-direction: column; }
  .compact-search { width: 100%; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-card.featured { grid-column: span 2; }
  .reader-content { grid-template-columns: 1fr; overflow-y: auto; }
  .reader-image-wrap { min-height: 55vh; overflow: visible; }
  .reader-aside { overflow: visible; }
  .reader-footer { position: sticky; bottom: 0; }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 66px; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .nav-cta { padding: 9px 13px; font-size: 11px; }
  .hero-grid { padding-block: 52px 76px; }
  .hero h1 { font-size: 45px; letter-spacing: -3px; }
  .hero-lead { font-size: 14px; }
  .hero-search { flex-wrap: wrap; border-radius: 14px; }
  .hero-search input { width: calc(100% - 43px); flex: auto; }
  .hero-search button { width: 100%; }
  .hero-stats { gap: 13px; }
  .hero-stats div + div { padding-left: 13px; }
  .hero-stats strong { font-size: 17px; }
  .topic-grid { padding: 10px; }
  .topic-grid > div { justify-content: flex-start; padding: 8px 5px; }
  .topic-grid > div > span { width: 33px; height: 33px; flex: 0 0 33px; }
  .topic-grid strong { font-size: 10px; }
  .articles-section { padding-block: 82px; }
  .section-heading h2 { font-size: 35px; letter-spacing: -1.7px; }
  .article-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-card.featured { grid-column: auto; }
  .article-card.featured .article-image, .article-image { height: 300px; }
  .article-card.featured .article-body h3 { font-size: 19px; }
  .reading-banner { padding-block: 55px; }
  .reading-inner { grid-template-columns: 1fr; text-align: center; }
  .reading-icon, .reading-inner a { margin-inline: auto; }
  .reading-inner a { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-bottom { gap: 14px; flex-direction: column; }
  .reader { width: 100%; height: 100%; border-radius: 0; }
  .reader-header { padding: 15px; }
  .reader-header h2 { font-size: 17px; }
  .reader-image-wrap { padding: 14px; }
  .reader-aside { padding: 22px; }
  .reader-footer button { font-size: 0; }
  .reader-footer button span { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Text-only editorial experience */
.editorial-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(390px, 92%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) rotate(1.5deg);
}

.editorial-number {
  display: flex;
  align-items: end;
  gap: 18px;
}

.editorial-number strong {
  color: #ff4156;
  font-size: 105px;
  line-height: 0.78;
  letter-spacing: -9px;
}

.editorial-number span {
  padding-bottom: 5px;
  color: white;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.05;
  text-transform: uppercase;
}

.editorial-card > p {
  max-width: 290px;
  margin: 28px 0;
  color: #c8d2e1;
  font-size: 13px;
}

.editorial-card ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-card li {
  display: grid;
  grid-template-columns: 34px 80px 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.editorial-card li > span {
  color: #ff6d7d;
  font-size: 10px;
  font-weight: 850;
}

.editorial-card li strong {
  font-size: 12px;
}

.editorial-card li small {
  color: #9dacc1;
  font-size: 9px;
}

.article-grid {
  display: block;
}

.month-group + .month-group {
  margin-top: 72px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.month-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
}

.month-heading > div > span {
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.month-heading h3 {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 31px;
  line-height: 1;
  letter-spacing: -1.4px;
}

.month-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.month-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.text-card {
  min-height: 450px;
}

.text-card.featured {
  grid-column: span 2;
}

.article-card-top {
  position: relative;
  display: flex;
  height: 170px;
  align-items: end;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 74, 96, 0.65), transparent 28%),
    linear-gradient(135deg, var(--navy), #143465);
}

.article-card:nth-child(3n + 2) .article-card-top {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #a70b1d, #df2138);
}

.article-card:nth-child(3n) .article-card-top {
  background:
    radial-gradient(circle at 83% 18%, rgba(255, 80, 100, 0.38), transparent 28%),
    linear-gradient(135deg, #102851, #071633);
}

.article-card-top::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -55px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255, 255, 255, 0.04), 0 0 0 54px rgba(255, 255, 255, 0.025);
}

.article-number {
  position: relative;
  z-index: 2;
  font-size: 74px;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -6px;
  opacity: 0.96;
}

.article-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
  backdrop-filter: blur(8px);
}

.article-card-top .category-tag {
  top: 16px;
  left: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.text-card .article-body {
  padding-top: 24px;
}

.text-card.featured .article-body h3 {
  max-width: 560px;
  font-size: 26px;
}

.text-card.featured .article-body > p {
  max-width: 600px;
}

.article-reader-content {
  grid-template-columns: minmax(0, 1fr) 310px;
  background: #f2f3f6;
}

.reader-article-body {
  min-width: 0;
  padding: 55px clamp(30px, 6vw, 78px) 90px;
  overflow-y: auto;
  background: white;
  scroll-behavior: smooth;
}

.reader-article-body > .article-kicker {
  margin: 0 0 11px;
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.reader-article-body > h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.article-lead {
  max-width: 720px;
  margin: 22px 0 55px;
  color: #526075;
  font-size: 18px;
  line-height: 1.7;
}

.reader-article-body section {
  position: relative;
  max-width: 760px;
  padding-top: 18px;
  scroll-margin-top: 20px;
}

.reader-article-body section + section {
  margin-top: 54px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.section-index {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
}

.reader-article-body section h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -1px;
}

.reader-article-body section > p {
  margin: 0 0 17px;
  color: #465469;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.83;
}

.reader-article-body ul {
  display: grid;
  gap: 11px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.reader-article-body li {
  position: relative;
  padding-left: 25px;
  color: #465469;
  font-size: 14px;
  line-height: 1.65;
}

.reader-article-body li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.article-note {
  margin-top: 25px;
  padding: 19px 20px;
  border-left: 4px solid var(--red);
  border-radius: 0 13px 13px 0;
  background: var(--red-soft);
}

.article-note strong {
  color: var(--red-dark);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.article-note p {
  margin: 4px 0 0;
  color: #65323a;
  font-size: 12px;
  line-height: 1.6;
}

.article-table-wrap {
  margin-top: 23px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.reader-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.reader-article-body th,
.reader-article-body td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.reader-article-body th {
  color: var(--navy);
  background: #f4f6f9;
  font-size: 10px;
  text-transform: uppercase;
}

.reader-article-body tr:last-child td {
  border-bottom: 0;
}

.reader-toc {
  display: block;
  margin: 0 0 25px;
  color: inherit;
  font-size: inherit;
}

.reader-toc > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 11px;
}

.reader-toc ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader-toc a {
  display: block;
  padding-left: 12px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.reader-toc a:hover {
  color: var(--red);
  border-color: var(--red);
}

.reader-actions button#print-article {
  color: white;
  background: var(--red);
}

@media (max-width: 820px) {
  .month-articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .article-reader-content {
    display: block;
    overflow-y: auto;
  }

  .reader-article-body {
    overflow: visible;
  }
}

@media (max-width: 560px) {
  .month-group + .month-group {
    margin-top: 52px;
    padding-top: 43px;
  }

  .month-articles {
    grid-template-columns: 1fr;
  }

  .text-card.featured {
    grid-column: auto;
  }

  .text-card {
    min-height: 420px;
  }

  .article-card-top {
    height: 150px;
  }

  .reader-article-body {
    padding: 38px 22px 70px;
  }

  .reader-article-body > h1 {
    font-size: 37px;
    letter-spacing: -2px;
  }

  .article-lead {
    margin-bottom: 38px;
    font-size: 16px;
  }

  .reader-article-body section h3 {
    font-size: 23px;
  }
}

@media print {
  body > *:not(.reader) {
    display: none !important;
  }

  .reader {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .reader-header,
  .reader-aside,
  .reader-footer {
    display: none !important;
  }

  .reader-content {
    display: block;
    overflow: visible;
  }

  .reader-article-body {
    padding: 0;
    overflow: visible;
  }

  .reader-article-body section {
    break-inside: avoid;
  }
}
