:root {
  --navy: #08111f;
  --ink: #08111f;
  --navy-2: #101828;
  --blue: #316bff;
  --coral: #ff665a;
  --yellow: #ffd363;
  --green: #24b47e;
  --white: #fff;
  --soft: #f5f7fa;
  --soft-2: #eef3f8;
  --muted: #667085;
  --border: #e6eaf0;
  --shadow: 0 18px 60px rgba(8, 17, 31, 0.12);
  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.solid,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  border-bottom: 1px solid rgba(230, 234, 240, 0.9);
  box-shadow: 0 8px 30px rgba(8, 17, 31, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  min-height: 44px;
}

.brand img {
  width: 176px;
  height: auto;
}

.site-header:not(.solid):not(.is-scrolled) .brand img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.18));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 750;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: currentColor;
  background: transparent;
}

.menu-button span:not(.visually-hidden) {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button span:first-child {
  transform: translateY(-5px);
}

.menu-button span:nth-child(2) {
  transform: translateY(5px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  top: 76px;
  right: 16px;
  left: 16px;
  z-index: 90;
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 750;
}

.mobile-panel a:hover,
.mobile-panel a:focus-visible {
  background: var(--soft);
}

.hero {
  position: relative;
  min-height: 760px;
  height: 88vh;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.92) 0%, rgba(8, 17, 31, 0.74) 32%, rgba(8, 17, 31, 0.18) 74%),
    linear-gradient(0deg, rgba(8, 17, 31, 0.55) 0%, rgba(8, 17, 31, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 80px));
  padding-top: 28vh;
  margin-left: 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(52px, 6.4vw, 92px);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.65;
}

.hero-search {
  margin-top: 30px;
  width: min(620px, 100%);
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.hero-search svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: 0 0 auto;
}

.hero-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-tight {
  padding-top: 84px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading.split > div {
  max-width: 780px;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-weight: 800;
}

.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: thin;
}

.tab-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.tab-button svg {
  width: 20px;
  height: 20px;
}

.tab-button[aria-selected="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.tab-panel {
  margin-top: 18px;
}

.category-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 28px;
  align-items: stretch;
}

.category-image {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

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

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

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-tile {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 220ms ease, opacity 220ms ease;
}

.category-tile span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 17, 31, 0), rgba(8, 17, 31, 0.86));
}

.category-tile strong,
.category-tile small {
  display: block;
}

.category-tile strong {
  font-size: 20px;
  line-height: 1.2;
}

.category-tile small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.category-tile:hover img,
.category-tile:focus-visible img {
  transform: scale(1.04);
  opacity: 0.88;
}

.category-copy {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft);
}

.category-copy p {
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.mini-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.mini-card:hover,
.mini-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(8, 17, 31, 0.09);
}

.mini-card img {
  width: 104px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.mini-card strong {
  display: block;
  line-height: 1.24;
}

.mini-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
  align-items: start;
  gap: 28px;
}

.featured-lead,
.featured-lead .article-card,
.article-card.large {
  align-self: start;
  height: auto;
}

.article-card > a {
  display: block;
  height: auto;
  color: inherit;
}

.featured-rail {
  display: grid;
  align-content: start;
  gap: 16px;
}

.featured-rail .article-card > a {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  align-items: stretch;
  height: 176px;
}

.featured-rail .article-card img {
  width: 164px;
  height: 176px;
  min-height: 0;
  aspect-ratio: auto;
}

.featured-rail .article-card-content {
  display: grid;
  align-content: center;
  padding: 16px 18px;
}

.featured-rail .article-card h3 {
  font-size: 20px;
  line-height: 1.18;
}

.featured-rail .article-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.5;
}

.featured-rail .meta-row {
  margin-bottom: 8px;
  font-size: 11px;
}

.article-card {
  position: relative;
  min-width: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(49, 107, 255, 0.35);
  box-shadow: var(--shadow);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 360ms ease;
}

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

.article-card-content {
  padding: 22px;
}

.article-card.large .article-card-content {
  padding: 30px;
}

.article-card.large h3 {
  font-size: 34px;
  line-height: 1.12;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy);
}

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

.stack-grid {
  display: grid;
  align-items: start;
  gap: 20px;
}

.wide-band {
  background: var(--navy);
  color: var(--white);
  margin: 34px 0;
}

.wide-band-inner {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  padding: 96px 0;
}

.wide-band .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.perk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.perk-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, background 160ms ease;
}

.perk-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.perk-card svg {
  width: 28px;
  height: 28px;
  color: var(--yellow);
}

.perk-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

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

.newsletter {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5f7fa, #edf3ff);
  border: 1px solid var(--border);
}

.newsletter h2 {
  max-width: 720px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 52px 0;
  border-top: 1px solid var(--border);
}

.site-footer img {
  width: 180px;
}

.site-footer p {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
  font-size: 14px;
  font-weight: 750;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-hero {
  padding: 156px 0 64px;
  background: var(--soft);
}

.page-hero-inner {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.filter-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.archive-grid {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.archive-grid .empty-state {
  grid-column: 1 / -1;
}

.empty-state {
  max-width: 760px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft);
}

.empty-state h2 {
  margin: 0;
  font-size: 28px;
}

.empty-state p {
  color: var(--muted);
}

.pagination {
  width: min(1240px, calc(100% - 80px));
  margin: -48px auto 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.pagination .current {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.article-hero {
  padding: 140px 0 54px;
}

.article-hero-inner {
  width: min(1060px, calc(100% - 80px));
  margin: 0 auto;
}

.article-hero h1 {
  color: var(--navy);
}

.article-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.article-image {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.article-shell {
  width: min(1060px, calc(100% - 80px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.info-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
}

.info-box div {
  padding: 18px;
  background: var(--soft);
}

.info-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-box strong {
  display: block;
  margin-top: 6px;
  line-height: 1.3;
}

.article-body {
  max-width: 760px;
  margin: 56px auto 0;
}

.article-body h2 {
  margin-top: 56px;
  font-size: 34px;
}

.article-body p {
  margin: 18px 0 0;
  color: #263244;
}

.article-body ul {
  margin: 22px 0 0;
  padding: 22px 24px 22px 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft);
  color: #263244;
}

.article-body li {
  margin: 8px 0;
}

.article-body a {
  color: var(--blue);
  font-weight: 800;
}

.source-list,
.related-link-list {
  list-style: none;
  padding: 0;
  background: transparent;
  border: 0;
}

.source-list li,
.related-link-list li {
  margin: 10px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.source-list a,
.related-link-list a {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 14px 16px;
  color: var(--ink);
}

.source-list a::after,
.related-link-list a::after {
  margin-left: auto;
  color: var(--blue);
  content: "Open";
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-link-list li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
}

.related-link-list a {
  min-height: 0;
  padding: 0;
}

.related-link-list a::after {
  content: "";
}

.related-link-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-list section {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft);
}

.faq-list h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.faq-list p {
  margin-top: 10px;
}

.guide-note {
  margin-top: 32px;
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--border);
}

.guide-note strong {
  display: block;
  margin-bottom: 8px;
}

.related-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.content-page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 156px 0 96px;
}

.content-page p {
  color: #263244;
}

.content-page ul {
  padding-left: 24px;
  color: #263244;
}

.content-page li {
  margin: 8px 0;
}

.content-page a {
  color: var(--blue);
  font-weight: 800;
}

.sitemap-section {
  margin-top: 48px;
}

.sitemap-section h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.sitemap-section ul {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.sitemap-section li {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.sitemap-section span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-header {
    padding: 0 24px;
  }

  .hero {
    min-height: 620px;
    height: 72vh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 17, 31, 0.82) 0%, rgba(8, 17, 31, 0.58) 46%, rgba(8, 17, 31, 0.72) 100%),
      linear-gradient(90deg, rgba(8, 17, 31, 0.65), rgba(8, 17, 31, 0.05));
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding-top: 150px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-search {
    height: 56px;
  }

  .button {
    min-height: 46px;
  }

  .section,
  .wide-band-inner,
  .newsletter,
  .site-footer,
  .page-hero-inner,
  .archive-grid,
  .article-hero-inner,
  .article-image,
  .article-shell {
    width: calc(100% - 40px);
  }

  .section {
    padding: 64px 0;
  }

  .category-showcase,
  .featured-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .featured-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-rail .article-card > a {
    grid-template-columns: 1fr;
    height: auto;
  }

  .featured-rail .article-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

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

  .category-image {
    min-height: 320px;
  }

  .perk-grid,
  .article-row,
  .archive-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter,
  .site-footer,
  .section-heading.split {
    align-items: start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .brand,
  .brand img {
    width: 150px;
  }

  .mobile-panel {
    top: 70px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 130px;
  }

  .hero-actions {
    display: grid;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  h2 {
    font-size: 30px;
  }

  h3,
  .article-card.large h3 {
    font-size: 24px;
  }

  .category-copy {
    padding: 24px;
  }

  .mini-card {
    grid-template-columns: 88px 1fr;
  }

  .mini-card img {
    width: 88px;
  }

  .perk-grid,
  .article-row,
  .archive-grid,
  .related-grid,
  .info-box,
  .category-grid,
  .featured-rail {
    grid-template-columns: 1fr;
  }

  .category-tile,
  .category-tile img {
    min-height: 230px;
  }

  .wide-band-inner {
    padding: 64px 0;
  }

  .newsletter {
    padding: 28px;
    margin-bottom: 64px;
  }

  .page-hero {
    padding-top: 124px;
  }

  .article-hero {
    padding-top: 124px;
  }

  .article-hero p {
    font-size: 17px;
  }

  .article-body {
    margin-top: 40px;
  }
}

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