/* WES — playful cobalt bento */
:root,
.dark {
  --background: #fff8df;
  --foreground: #101b4d;
  --card: #ffffff;
  --card-hover: #fffdf4;
  --muted: #536080;
  --border: #101b4d;
  --primary: #3155d9;
  --primary-light: #5c78e5;
  --primary-dark: #1d3698;
  --primary-50: #edf0ff;
  --primary-100: #dce3ff;
  --accent: #f15a3c;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "DM Sans", system-ui, sans-serif;
}
body { color: var(--foreground); background: var(--background); }
.container { max-width: 1240px; }
.site-header,
.department-rail,
.hero {
  width: 100%;
  max-width: 100%;
}
.header-inner,
.department-rail-inner,
.hero-content {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}
.hero-content { max-width: 1240px; }
.hero-grid,
.hero-left,
.hero-right,
.hero-card,
.hero-card-media {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1024px) and (max-width: 1120px) {
  .header-inner { display: block !important; }
  .masthead-row { width: 100%; justify-content: space-between !important; }
  .desktop-nav { display: none !important; }
  .menu-button { display: inline-flex !important; }
}
.site-header,
.dark .site-header { color: #101b4d; background: #fff8df; border-bottom: 3px solid #101b4d; }
.header-inner { max-width: 1240px; }
.masthead-row { height: 84px; }
.brand-logo,
.footer-brand .brand-logo { width: 218px; height: 66px; }
.desktop-nav { min-height: 84px; }
.desktop-nav a { height: auto; padding: 9px 11px; border: 2px solid transparent; border-radius: 12px; font-size: 12px; font-weight: 800; }
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: #101b4d; background: #c8f05a; border-color: #101b4d; box-shadow: 3px 3px 0 #101b4d; }
.department-rail { color: #fff; background: #3155d9; border: 0; }
.department-label { color: #d9ff6a; }
.department-links a { color: #fff; font-weight: 700; }

.hero { padding: 38px 20px 58px; color: #fff; background: #3155d9; border-bottom: 3px solid #101b4d; }
.hero-content { max-width: 1240px; padding: 0; }
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr); gap: 22px; min-height: 600px; }
.hero-left { grid-column: 1; order: 0; align-self: stretch; }
.hero-right { grid-column: 2; order: 0; padding: 46px; align-self: stretch; justify-content: center; color: #101b4d; background: #c8f05a; border: 3px solid #101b4d; border-radius: 30px; box-shadow: 10px 10px 0 #101b4d; }
.hero-card { position: relative; height: 100%; min-height: 600px; border: 3px solid #101b4d; border-radius: 30px; box-shadow: 10px 10px 0 #101b4d; }
.hero-card-media { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; }
.hero-eyebrow span { color: #9b2818; }
.hero-editorial-title { color: #101b4d; font-size: clamp(43px, 4.9vw, 70px); font-weight: 900; line-height: .96; letter-spacing: -.05em; }
.hero-excerpt { color: #29385e; font-size: 17px; }
.hero-meta { color: #405070; }
.hero-cta { color: #fff; background: #101b4d; border: 2px solid #101b4d; border-radius: 13px; box-shadow: 4px 4px 0 #f15a3c; }
.hero-cta:hover { color: #101b4d; background: #fff; }

.section-pad { padding-top: 86px; padding-bottom: 86px; }
.section-alt,
.dark .section-alt { background: #dfe7ff; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; color: #fff; background: #101b4d; border-radius: 18px; transform: rotate(-.35deg); }
.section-heading .eyebrow { color: #c8f05a; }
.section-heading h2 { color: #fff; font-size: clamp(34px, 4vw, 52px); font-weight: 900; }
.editors-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 24px; }
.editors-main-card,
.article-card-inner,
.simple-card { border: 3px solid #101b4d; border-radius: 24px; background: #fff; box-shadow: 7px 7px 0 #101b4d; }
.editors-main-media { border-radius: 21px 21px 0 0; }
.editors-main-body { background: #fff; }
.editors-main-title { font-weight: 900; }
.editors-side { gap: 14px; }
.mini-card { padding: 13px; border: 3px solid #101b4d; border-radius: 18px; background: #fff; box-shadow: 4px 4px 0 #101b4d; }
.mini-thumb { border-radius: 12px; }
.card-grid { gap: 30px 24px; }
.card-image-wrap,
.simple-card-media { border-radius: 21px 21px 0 0; }
.article-card:nth-child(3n+1) .article-card-inner { background: #fff; }
.article-card:nth-child(3n+2) .article-card-inner { background: #e9f7bb; }
.article-card:nth-child(3n+3) .article-card-inner { background: #ffe2da; }
.article-card:hover .article-card-inner,
.simple-card:hover { border-color: #101b4d; box-shadow: 11px 11px 0 var(--accent); }

.category-banner { color: #fff; background: #3155d9; border-bottom: 3px solid #101b4d; }
.category-editorial-copy h1 { color: #fff; font-weight: 900; }
.category-editorial-copy > p:last-child,
.category-banner .breadcrumbs { color: #e5eaff; }
.category-edition { border-color: #c8f05a; }
.featured-card { border: 3px solid #101b4d; border-radius: 28px; background: #fff; box-shadow: 10px 10px 0 #101b4d; }
.featured-body h2 { font-weight: 900; }

.article-hero { color: #101b4d; background: #c8f05a; border-bottom: 3px solid #101b4d; }
.article-hero-shell { max-width: 1240px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; }
.article-hero-content h1 { color: #101b4d; font-size: clamp(44px, 5.5vw, 74px); font-weight: 900; line-height: .98; }
.article-lead { color: #2c3a5f; }
.article-meta,
.article-hero .breadcrumbs { color: #44516c; }
.article-hero-media { border: 3px solid #101b4d; border-radius: 28px; box-shadow: 10px 10px 0 #101b4d; }
.article-body-wrap { max-width: none; padding: 82px 20px; background: #fffdf5; }
.article-reading { max-width: 790px; margin: 0 auto; color: #17214a; }
.article-opening-rule { color: #a42e1c; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose strong { color: #101b3f; font-weight: 900; }
.prose p,
.prose li { color: #293453; font-size: 18px; line-height: 1.86; }
.prose a { color: #2146bd; }
.prose blockquote,
.editorial-note { color: #1d2a4d; background: #edf1ff; border: 2px solid #3155d9; border-left-width: 7px; }
.disclaimer { color: #35405d; background: #f2f4ff; border: 2px solid #101b4d; border-radius: 18px; }
.site-footer { color: #dce3ff; background: #101b4d; border-top: 10px solid #c8f05a; }
.footer-brand .brand-logo { padding: 6px 12px; border-radius: 12px; background: #fff8df; }
.footer-title { color: #fff; }

@media (max-width: 1023px) {
  .site-header,
  .department-rail,
  .hero,
  .header-inner,
  .department-rail-inner,
  .hero-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .header-inner { padding-right: clamp(16px, 4vw, 24px); padding-left: clamp(16px, 4vw, 24px); }
  .masthead-row { width: 100%; min-width: 0; justify-content: space-between; }
  .desktop-nav { display: none !important; }
  .menu-button { display: inline-flex !important; }
  .hero-grid { width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr) !important; }
  .hero-left,
  .hero-right,
  .hero-card,
  .hero-card-media {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .hero-left,
  .hero-right { grid-column: 1 !important; }
  .hero-editorial-title,
  .hero-excerpt { max-width: 100%; overflow-wrap: anywhere; }
  .department-links { min-width: 0; max-width: 100%; }
  .header-inner { display: block; }
  .masthead-row { height: 74px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-left, .hero-right { grid-column: 1; }
  .hero-card { min-height: 0; }
  .hero-card { aspect-ratio: 16 / 9; }
  .hero-card-media { aspect-ratio: 16 / 9; }
  .hero-right { padding: 40px 28px 46px; }
  .editors-grid { grid-template-columns: 1fr; }
  .article-hero-shell { grid-template-columns: 1fr; }
  .article-hero-media { order: -1; }
}
@media (max-width: 639px) {
  .brand-logo { width: 184px; height: 56px; }
  .department-links { grid-template-columns: 1fr 1fr; }
  .hero { padding: 24px 14px 46px; }
  .hero-right { border-radius: 22px; padding: 34px 20px 40px; box-shadow: 6px 6px 0 #101b4d; }
  .hero-card { border-radius: 22px; box-shadow: 6px 6px 0 #101b4d; }
  .hero-editorial-title { font-size: 39px; }
  .section-heading { display: block; transform: none; }
  .article-hero-content h1 { font-size: 39px; overflow-wrap: anywhere; }
  .article-body-wrap { padding: 50px 18px 64px; }
  .prose p, .prose li { color: #263151; font-size: 16.5px; line-height: 1.82; overflow-wrap: anywhere; }
}
