/* =============================================================
   EastWest Institute — ewx design system
   Self-hosted Bulma overrides plus site specific components.
   Prefix ewx- is unique to this project.
   ============================================================= */

:root {
  --ewx-navy: #12395c;
  --ewx-navy-deep: #0c2942;
  --ewx-maroon: #630000;
  --ewx-maroon-soft: #7d1a18;
  --ewx-brick: #964946;
  --ewx-steel: #3375af;
  --ewx-steel-deep: #004c93;
  --ewx-teal: #97aaab;
  --ewx-teal-soft: #c3cecd;
  --ewx-canvas: #e8eceb;
  --ewx-paper: #ffffff;
  --ewx-sand: #f5f3ee;
  --ewx-ink: #1f2527;
  --ewx-muted: #5d6a6c;
  --ewx-line: #d6dbda;
  --ewx-line-strong: #b9c2c1;
  --ewx-radius: 2px;
  --ewx-shadow: 0 1px 0 rgba(18, 57, 92, 0.04), 0 14px 34px -26px rgba(18, 57, 92, 0.45);
  --ewx-shell: 1180px;
  --ewx-rail: 260px;
  --ewx-body: Verdana, Geneva, Tahoma, "Segoe UI", sans-serif;
  --ewx-serif: Georgia, "Times New Roman", Times, serif;
  --ewx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --bulma-family-primary: Verdana, Geneva, Tahoma, "Segoe UI", sans-serif;
  --bulma-family-secondary: Georgia, "Times New Roman", Times, serif;
  --bulma-primary-h: 0deg;
  --bulma-primary-s: 100%;
  --bulma-primary-l: 19%;
  --bulma-link-h: 210deg;
  --bulma-link-s: 100%;
  --bulma-link-l: 31%;
  --bulma-radius: 2px;
  --bulma-radius-small: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.ewx-body {
  margin: 0;
  padding: 0;
  background-color: var(--ewx-canvas);
  background-image:
    linear-gradient(180deg, rgba(151, 170, 171, 0.35) 0, rgba(232, 236, 235, 0) 420px),
    radial-gradient(circle at 84% 6%, rgba(151, 170, 171, 0.28), rgba(151, 170, 171, 0) 44%);
  color: var(--ewx-ink);
  font-family: var(--ewx-body);
  font-size: 15px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.ewx-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 22px;
  background: var(--ewx-navy);
  color: #fff;
  font-weight: 700;
}

.ewx-skip:focus {
  left: 16px;
  top: 16px;
}

.ewx-shell {
  width: 100%;
  max-width: var(--ewx-shell);
  margin: 0 auto;
  padding: 0 24px;
}

.ewx-sheet {
  background: var(--ewx-paper);
  border: 1px solid var(--ewx-line);
  box-shadow: var(--ewx-shadow);
}

/* ---------- utility strip ---------- */

.ewx-utility {
  background: var(--ewx-teal);
  color: #12282a;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ewx-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
}

.ewx-utility__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewx-utility__links li {
  display: flex;
  align-items: center;
}

.ewx-utility__links li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 12px;
  background: rgba(18, 40, 42, 0.32);
}

.ewx-utility a {
  color: #12282a;
  font-weight: 700;
  text-decoration: none;
}

.ewx-utility a:hover,
.ewx-utility a:focus-visible {
  color: var(--ewx-navy-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ewx-utility__note {
  color: #2a4446;
  font-family: var(--ewx-serif);
  font-style: italic;
  letter-spacing: 0.01em;
}

.ewx-search {
  position: relative;
  display: flex;
  align-items: center;
}

.ewx-search input[type="search"] {
  width: 168px;
  height: 26px;
  padding: 2px 28px 2px 9px;
  border: 1px solid rgba(18, 40, 42, 0.35);
  border-radius: var(--ewx-radius);
  background: rgba(255, 255, 255, 0.55);
  color: #12282a;
  font-family: var(--ewx-body);
  font-size: 12px;
}

.ewx-search button {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 24px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #12282a;
  cursor: pointer;
  transform: translateY(-50%);
}

/* ---------- masthead ---------- */

.ewx-masthead {
  background: var(--ewx-paper);
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.ewx-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.ewx-brand__logo {
  display: block;
  width: auto;
  height: 62px;
}

.ewx-brand__text {
  display: none;
  font-family: var(--ewx-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ewx-navy);
  letter-spacing: 0.02em;
}

.ewx-mission {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 20px 8px 24px;
  background-image: linear-gradient(90deg, #ffffff 0%, #fbfaf6 48%, #eef2f1 100%);
  border-left: 1px solid var(--ewx-line);
}

.ewx-mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(18, 57, 92, 0.055) 0,
    rgba(18, 57, 92, 0.055) 1px,
    transparent 1px,
    transparent 7px
  );
}

.ewx-mission__quote {
  position: relative;
  z-index: 1;
}

.ewx-mission__quote {
  max-width: 560px;
  margin: 0;
  font-family: var(--ewx-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ewx-maroon);
  text-align: right;
}

.ewx-mission__link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--ewx-body);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ewx-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--ewx-teal);
}

.ewx-mission__link:hover {
  color: var(--ewx-brick);
  border-color: var(--ewx-brick);
}

/* ---------- primary navigation ---------- */

.ewx-nav {
  position: relative;
  background: var(--ewx-maroon);
  border-top: 4px solid var(--ewx-navy);
  color: #fff;
}

.ewx-nav__bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.ewx-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewx-nav__item {
  position: relative;
}

.ewx-nav__link {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 15px 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--ewx-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ewx-ease), color 180ms var(--ewx-ease);
}

.ewx-nav__link:hover,
.ewx-nav__link:focus-visible,
.ewx-nav__item.is-open > .ewx-nav__link {
  background: var(--ewx-navy);
  color: #fff;
  outline: none;
}

.ewx-nav__link[aria-current="page"],
.ewx-nav__link.is-current {
  box-shadow: inset 0 -4px 0 var(--ewx-teal);
}

.ewx-nav__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms var(--ewx-ease);
}

.ewx-nav__item.is-open .ewx-nav__caret {
  transform: rotate(225deg) translateY(-1px);
}

.ewx-nav__dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 80;
  width: 272px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--ewx-paper);
  border: 1px solid var(--ewx-line-strong);
  border-top: 3px solid var(--ewx-navy);
  box-shadow: 0 22px 40px -26px rgba(12, 41, 66, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms var(--ewx-ease), transform 160ms var(--ewx-ease), visibility 160ms;
}

.ewx-nav__item.is-open > .ewx-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ewx-nav__dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--ewx-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.ewx-nav__dropdown a:hover,
.ewx-nav__dropdown a:focus-visible {
  background: var(--ewx-sand);
  border-left-color: var(--ewx-brick);
  color: var(--ewx-maroon);
  outline: none;
}

.ewx-nav__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--ewx-radius);
  background: transparent;
  color: #fff;
  font-family: var(--ewx-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.ewx-nav__toggle span[aria-hidden] {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

/* ---------- page frame ---------- */

.ewx-frame {
  padding: 30px 0 54px;
}

.ewx-crumbs {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--ewx-muted);
}

.ewx-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewx-crumbs a {
  color: var(--ewx-steel-deep);
  text-decoration: none;
}

.ewx-crumbs a:hover {
  text-decoration: underline;
}

.ewx-crumbs li + li::before {
  content: "/";
  margin-right: 7px;
  color: var(--ewx-line-strong);
}

.ewx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--ewx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ewx-brick);
}

.ewx-eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--ewx-brick);
}

.ewx-title {
  margin: 0 0 14px;
  font-family: var(--ewx-serif);
  font-size: clamp(30px, 4.1vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ewx-navy);
}

.ewx-lead {
  max-width: 72ch;
  margin: 0 0 26px;
  font-family: var(--ewx-serif);
  font-size: 19px;
  line-height: 1.6;
  color: #33403f;
}

/* ---------- page feature ---------- */

.ewx-feature {
  display: grid;
  grid-template-columns: minmax(150px, 184px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin: 0 0 30px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-feature--thumb {
  grid-template-columns: 112px minmax(0, 1fr);
}

.ewx-feature--cover {
  grid-template-columns: 120px minmax(0, 1fr);
}

.ewx-feature__figure {
  margin: 0;
}

.ewx-feature__figure img {
  display: block;
  width: 100%;
  height: auto;
  padding: 4px;
  background: var(--ewx-sand);
  border: 1px solid var(--ewx-line-strong);
}

.ewx-feature--thumb .ewx-feature__figure img {
  width: 112px;
  height: 112px;
  object-fit: cover;
}

.ewx-feature--cover .ewx-feature__figure img {
  width: 120px;
  height: auto;
}

.ewx-feature__figure figcaption {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ewx-muted);
}

.ewx-feature__kicker {
  margin: 0 0 7px;
  font-family: var(--ewx-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ewx-brick);
}

.ewx-feature__title {
  margin: 0 0 8px;
  font-family: var(--ewx-serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--ewx-navy);
}

.ewx-feature__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #46514f;
}

.ewx-facts {
  display: grid;
  gap: 5px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ewx-facts li {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ewx-muted);
}

.ewx-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 2px;
  background: var(--ewx-brick);
}

.ewx-prose {
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.78;
}

.ewx-prose p {
  margin: 0 0 1.05em;
}

.ewx-prose h2,
.ewx-prose h3,
.ewx-prose h4 {
  margin: 1.7em 0 0.55em;
  font-family: var(--ewx-serif);
  font-weight: 400;
  line-height: 1.24;
  color: var(--ewx-navy);
}

.ewx-prose h2 {
  font-size: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-prose h3 {
  font-size: 21px;
}

.ewx-prose h4 {
  font-size: 17px;
  color: var(--ewx-maroon);
}

.ewx-prose a {
  color: var(--ewx-steel-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.ewx-prose a:hover {
  color: var(--ewx-maroon);
}

.ewx-prose ul,
.ewx-prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

.ewx-prose li {
  margin: 0 0 0.45em;
}

.ewx-prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--ewx-brick);
  font-family: var(--ewx-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ewx-maroon);
}

.ewx-prose figure {
  margin: 1.6em 0;
}

.ewx-prose img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--ewx-line);
}

/* ---------- layout with rail ---------- */

.ewx-split {
  display: grid;
  grid-template-columns: var(--ewx-rail) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.ewx-split--reverse {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.ewx-main {
  min-width: 0;
}

.ewx-rail {
  font-size: 13px;
}

.ewx-rail__block + .ewx-rail__block {
  margin-top: 22px;
}

.ewx-rail__heading {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ewx-navy);
  font-family: var(--ewx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ewx-navy);
}

.ewx-rail__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ewx-line);
}

.ewx-rail__list li {
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-rail__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  color: var(--ewx-ink);
  font-size: 13px;
  text-decoration: none;
  transition: color 140ms var(--ewx-ease), padding-left 140ms var(--ewx-ease);
}

.ewx-rail__list a:hover,
.ewx-rail__list a:focus-visible {
  color: var(--ewx-maroon);
  padding-left: 6px;
  outline: none;
}

.ewx-rail__list a[aria-current="page"] {
  color: var(--ewx-maroon);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--ewx-brick);
  padding-left: 10px;
}

.ewx-rail__more {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ewx-steel-deep);
}

.ewx-refs {
  padding: 16px 16px 6px;
  background: var(--ewx-sand);
  border: 1px solid var(--ewx-line);
  border-top: 3px solid var(--ewx-teal);
}

.ewx-refs ul {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.ewx-refs li {
  margin: 0 0 8px;
  line-height: 1.45;
}

.ewx-refs a {
  color: var(--ewx-steel-deep);
  font-size: 12.5px;
  text-decoration: none;
  border-bottom: 1px dotted var(--ewx-teal);
}

.ewx-refs a:hover {
  color: var(--ewx-maroon);
  border-color: var(--ewx-brick);
}

.ewx-ext::after {
  content: "\2197";
  margin-left: 3px;
  font-size: 10px;
  color: var(--ewx-brick);
}

/* ---------- buttons ---------- */

.ewx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid var(--ewx-maroon);
  border-radius: var(--ewx-radius);
  background: var(--ewx-maroon);
  color: #fff !important;
  font-family: var(--ewx-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 160ms var(--ewx-ease), border-color 160ms var(--ewx-ease), transform 160ms var(--ewx-ease);
}

.ewx-btn:hover,
.ewx-btn:focus-visible {
  background: var(--ewx-navy);
  border-color: var(--ewx-navy);
  transform: translateY(-1px);
  outline: none;
}

.ewx-btn--ghost {
  background: transparent;
  color: var(--ewx-navy) !important;
  border-color: var(--ewx-navy);
}

.ewx-btn--ghost:hover,
.ewx-btn--ghost:focus-visible {
  background: var(--ewx-navy);
  color: #fff !important;
}

.ewx-btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff !important;
}

.ewx-btn--light:hover,
.ewx-btn--light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--ewx-maroon) !important;
}

.ewx-btn--small {
  min-height: 34px;
  padding: 6px 14px;
  font-size: 11px;
}

/* ---------- home hero ---------- */

.ewx-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ewx-line);
  background:
    linear-gradient(102deg, #ffffff 0%, #fbfaf6 52%, #eef1ee 100%);
}

.ewx-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--ewx-maroon), var(--ewx-navy));
}

.ewx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 54px 0 50px 22px;
}

.ewx-hero__title {
  margin: 0 0 18px;
  font-family: var(--ewx-serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ewx-navy);
}

.ewx-hero__title em {
  font-style: italic;
  color: var(--ewx-maroon);
}

.ewx-hero__lead {
  max-width: 56ch;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #364443;
}

.ewx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ewx-hero__figure {
  position: relative;
  margin: 0;
}

.ewx-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ewx-line-strong);
  filter: saturate(1.02);
}

.ewx-hero__caption {
  margin: 9px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--ewx-brick);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ewx-muted);
}

.ewx-hero__badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  max-width: 190px;
  padding: 12px 14px;
  background: var(--ewx-navy);
  color: #fff;
  font-family: var(--ewx-serif);
  font-size: 14px;
  line-height: 1.35;
  box-shadow: var(--ewx-shadow);
}

.ewx-hero__badge strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--ewx-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ewx-teal-soft);
}

/* ---------- sections ---------- */

.ewx-band {
  padding: 46px 0;
}

.ewx-band--tint {
  background: var(--ewx-sand);
  border-top: 1px solid var(--ewx-line);
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-band--navy {
  background: var(--ewx-navy);
  color: #e9eeed;
}

.ewx-band--navy .ewx-section__title {
  color: #fff;
}

.ewx-band--navy .ewx-section__desc {
  color: #c9d3d2;
}

.ewx-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 13px;
  border-bottom: 4px double var(--ewx-line-strong);
}

.ewx-section__title {
  margin: 0;
  font-family: var(--ewx-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ewx-navy);
}

.ewx-section__desc {
  max-width: 48ch;
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ewx-muted);
}

.ewx-section__more {
  flex: 0 0 auto;
  font-family: var(--ewx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ewx-steel-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--ewx-teal);
  padding-bottom: 2px;
}

.ewx-section__more:hover {
  color: var(--ewx-maroon);
  border-color: var(--ewx-brick);
}

/* ---------- cards ---------- */

.ewx-grid {
  display: grid;
  gap: 20px;
}

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

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

.ewx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--ewx-paper);
  border: 1px solid var(--ewx-line);
  border-radius: var(--ewx-radius);
  box-shadow: var(--ewx-shadow);
  transition: transform 200ms var(--ewx-ease), border-color 200ms var(--ewx-ease);
}

.ewx-card::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: var(--ewx-accent, var(--ewx-navy));
}

.ewx-card:hover {
  transform: translateY(-2px);
  border-color: var(--ewx-line-strong);
}

.ewx-card--brick {
  --ewx-accent: var(--ewx-brick);
}

.ewx-card--steel {
  --ewx-accent: var(--ewx-steel);
}

.ewx-card--maroon {
  --ewx-accent: var(--ewx-maroon);
}

.ewx-card__media {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 0 14px;
  object-fit: cover;
  border: 1px solid var(--ewx-line-strong);
  background: var(--ewx-sand);
}

.ewx-card__kicker {
  margin: 0 0 8px;
  font-family: var(--ewx-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ewx-brick);
}

.ewx-card__title {
  margin: 0 0 9px;
  font-family: var(--ewx-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ewx-navy);
}

.ewx-card__title a {
  color: inherit;
  text-decoration: none;
}

.ewx-card__title a:hover {
  color: var(--ewx-maroon);
}

.ewx-card__text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.62;
  color: #46514f;
}

.ewx-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ewx-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ewx-card__foot a {
  color: var(--ewx-steel-deep);
  text-decoration: none;
}

.ewx-card__foot a:hover {
  color: var(--ewx-maroon);
}

/* ---------- program icon ---------- */

.ewx-program__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border: 1px solid var(--ewx-line-strong);
  border-radius: 50%;
  color: var(--ewx-navy);
  background: var(--ewx-sand);
}

.ewx-program__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- stats / ledger ---------- */

.ewx-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--ewx-line);
  background: var(--ewx-paper);
}

.ewx-ledger__item {
  padding: 22px 20px;
  border-right: 1px solid var(--ewx-line);
}

.ewx-ledger__item:last-child {
  border-right: 0;
}

.ewx-ledger__figure {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ewx-serif);
  font-size: 34px;
  line-height: 1;
  color: var(--ewx-maroon);
}

.ewx-ledger__label {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ewx-muted);
}

.ewx-band--navy .ewx-ledger {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.ewx-band--navy .ewx-ledger__item {
  border-color: rgba(255, 255, 255, 0.18);
}

.ewx-band--navy .ewx-ledger__figure {
  color: #fff;
}

.ewx-band--navy .ewx-ledger__label {
  color: #c2cecd;
}

/* ---------- publication rows ---------- */

.ewx-readlist {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ewx-line);
}

.ewx-readlist li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-readlist img {
  width: 74px;
  height: 108px;
  object-fit: cover;
  border: 1px solid var(--ewx-line);
}

.ewx-readlist__title {
  margin: 0 0 5px;
  font-family: var(--ewx-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.28;
}

.ewx-readlist__title a {
  color: var(--ewx-navy);
  text-decoration: none;
}

.ewx-readlist__title a:hover {
  color: var(--ewx-maroon);
}

.ewx-readlist__meta {
  margin: 0;
  font-size: 12px;
  color: var(--ewx-muted);
}

.ewx-readlist__tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border: 1px solid var(--ewx-teal);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ewx-navy);
}

/* ---------- news ---------- */

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

.ewx-news__item {
  display: flex;
  flex-direction: column;
  background: var(--ewx-paper);
  border: 1px solid var(--ewx-line);
  border-radius: var(--ewx-radius);
  overflow: hidden;
  box-shadow: var(--ewx-shadow);
  transition: transform 200ms var(--ewx-ease), border-color 200ms var(--ewx-ease);
}

.ewx-news__item:hover {
  transform: translateY(-2px);
  border-color: var(--ewx-line-strong);
}

.ewx-news__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--ewx-line);
  filter: saturate(0.92) contrast(1.02);
  transition: filter 220ms var(--ewx-ease);
}

.ewx-news__item:hover .ewx-news__thumb {
  filter: saturate(1.05) contrast(1.03);
}

.ewx-news__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 18px 16px;
}

.ewx-news__date {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ewx-brick);
}

.ewx-news__title {
  margin: 0 0 9px;
  font-family: var(--ewx-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.ewx-news__title a {
  color: var(--ewx-navy);
  text-decoration: none;
}

.ewx-news__title a:hover {
  color: var(--ewx-maroon);
}

.ewx-news__text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #46514f;
}

.ewx-news__more {
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ewx-news__more a {
  color: var(--ewx-steel-deep);
  text-decoration: none;
}

/* ---------- quotes ---------- */

.ewx-quote {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 10px;
  text-align: center;
}

.ewx-quote blockquote {
  margin: 0 0 16px;
  font-family: var(--ewx-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-style: italic;
  line-height: 1.4;
  color: #fff;
}

.ewx-quote figcaption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ewx-teal-soft);
}

/* ---------- listing ---------- */

.ewx-listing {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ewx-navy);
}

.ewx-listing li {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-listing__date {
  font-family: var(--ewx-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ewx-brick);
}

.ewx-listing__place {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ewx-muted);
}

.ewx-listing__title {
  margin: 0 0 6px;
  font-family: var(--ewx-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.28;
}

.ewx-listing__title a {
  color: var(--ewx-navy);
  text-decoration: none;
}

.ewx-listing__title a:hover {
  color: var(--ewx-maroon);
}

.ewx-listing__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: #46514f;
}

/* ---------- people ---------- */

.ewx-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewx-people li {
  padding: 12px 0;
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-people strong {
  display: block;
  font-family: var(--ewx-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ewx-navy);
}

.ewx-people span {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ewx-muted);
}

.ewx-group {
  margin: 0 0 30px;
}

.ewx-group__title {
  margin: 0 0 12px;
  padding: 7px 12px;
  background: var(--ewx-navy);
  color: #fff;
  font-family: var(--ewx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- detail article ---------- */

.ewx-article__head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 4px double var(--ewx-line-strong);
}

.ewx-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--ewx-muted);
}

.ewx-article__meta strong {
  color: var(--ewx-brick);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ewx-article__thumb {
  float: right;
  max-width: 210px;
  margin: 0 0 18px 24px;
  border: 1px solid var(--ewx-line);
}

/* ---------- contact ---------- */

.ewx-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 30px;
}

.ewx-contact {
  padding: 20px;
  background: var(--ewx-sand);
  border: 1px solid var(--ewx-line);
  border-left: 3px solid var(--ewx-navy);
}

.ewx-contact h2 {
  margin: 0 0 8px;
  font-family: var(--ewx-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ewx-navy);
}

.ewx-contact p {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.55;
}

.ewx-contact a {
  color: var(--ewx-steel-deep);
}

.ewx-form {
  max-width: 640px;
  padding: 24px;
  background: var(--ewx-paper);
  border: 1px solid var(--ewx-line);
  border-top: 3px solid var(--ewx-maroon);
}

.ewx-form .field:not(:last-child) {
  margin-bottom: 16px;
}

.ewx-form label.label {
  margin-bottom: 6px;
  font-family: var(--ewx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ewx-navy);
}

.ewx-form .input,
.ewx-form .textarea,
.ewx-form .select select {
  border: 1px solid var(--ewx-line-strong);
  border-radius: var(--ewx-radius);
  box-shadow: none;
  font-family: var(--ewx-body);
  font-size: 14px;
  color: var(--ewx-ink);
}

.ewx-form .input:focus,
.ewx-form .textarea:focus,
.ewx-form .select select:focus {
  border-color: var(--ewx-steel);
  box-shadow: 0 0 0 2px rgba(51, 117, 175, 0.18);
}

.ewx-form .help {
  font-size: 11.5px;
  color: var(--ewx-muted);
}

.ewx-form__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ewx-muted);
}

.ewx-alert {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid var(--ewx-teal);
  border-left: 3px solid var(--ewx-steel);
  background: #eef4f8;
  font-size: 13px;
  color: var(--ewx-navy-deep);
}

.ewx-alert.is-visible {
  display: block;
}

/* ---------- callout ---------- */

.ewx-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 30px 32px;
  background: var(--ewx-maroon);
  color: #fff;
}

.ewx-callout h2 {
  margin: 0 0 6px;
  font-family: var(--ewx-serif);
  font-size: 27px;
  font-weight: 400;
}

.ewx-callout p {
  margin: 0;
  color: #f0dede;
  font-size: 14px;
}

/* ---------- sidebar promo ---------- */

.ewx-promo {
  padding: 18px;
  background: var(--ewx-navy);
  color: #fff;
  border-top: 3px solid var(--ewx-teal);
}

.ewx-promo h2 {
  margin: 0 0 8px;
  font-family: var(--ewx-serif);
  font-size: 20px;
  font-weight: 400;
}

.ewx-promo p {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #cdd7d6;
}

/* ---------- footer ---------- */

.ewx-footer {
  background: var(--ewx-navy-deep);
  color: #c9d3d2;
  font-size: 13px;
}

.ewx-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 42px 0 34px;
}

.ewx-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ewx-footer__brand img {
  width: 132px;
  height: auto;
  padding: 7px 8px;
  background: #fff;
}

.ewx-footer__brand span {
  font-family: var(--ewx-serif);
  font-size: 17px;
  color: #fff;
}

.ewx-footer p {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.65;
}

.ewx-footer address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.7;
  color: #aebbb9;
}

.ewx-footer__col h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--ewx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ewx-teal-soft);
}

.ewx-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewx-footer__col li {
  margin: 0 0 7px;
}

.ewx-footer__col a {
  color: #dfe6e5;
  text-decoration: none;
}

.ewx-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ewx-footer__base {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ewx-footer__base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 11.5px;
  color: #a9b6b4;
}

.ewx-footer__base a {
  color: #dbe3e2;
  text-decoration: none;
}

.ewx-footer__base a:hover {
  text-decoration: underline;
}

.ewx-footer__base ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- search results ---------- */

.ewx-search__results {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ewx-navy);
}

.ewx-search__item {
  padding: 18px 0;
  border-bottom: 1px solid var(--ewx-line);
}

.ewx-search__section {
  display: block;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ewx-brick);
}

.ewx-search__title {
  display: block;
  font-family: var(--ewx-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ewx-navy);
  text-decoration: none;
}

.ewx-search__title:hover {
  color: var(--ewx-maroon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ewx-search__desc {
  max-width: 78ch;
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #46514f;
}

/* ---------- sitemap ---------- */

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

.ewx-sitemap__group h2 {
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--ewx-navy);
  font-family: var(--ewx-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ewx-navy);
}

.ewx-sitemap__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewx-sitemap__group li {
  margin: 0 0 6px;
  font-size: 13px;
}

.ewx-sitemap__group a {
  color: var(--ewx-steel-deep);
  text-decoration: none;
}

.ewx-sitemap__group a:hover {
  color: var(--ewx-maroon);
  text-decoration: underline;
}

.ewx-sitemap__group ul ul {
  margin: 6px 0 10px 14px;
  padding-left: 12px;
  border-left: 1px solid var(--ewx-line);
}

/* ---------- reveal ---------- */

.ewx-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ewx-ease), transform 520ms var(--ewx-ease);
}

.ewx-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- focus ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ewx-steel);
  outline-offset: 2px;
}

/* ---------- 404 ---------- */

.ewx-notfound {
  max-width: 640px;
  margin: 40px auto 20px;
  text-align: center;
}

.ewx-notfound__code {
  display: block;
  margin: 0 0 8px;
  font-family: var(--ewx-serif);
  font-size: 78px;
  line-height: 1;
  color: var(--ewx-brick);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .ewx-hero__grid {
    gap: 30px;
  }

  .ewx-split,
  .ewx-split--reverse {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
}

@media (max-width: 960px) {
  .ewx-nav__toggle {
    display: inline-flex;
  }

  .ewx-nav__bar {
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 6px 0;
  }

  .ewx-nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 6px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .ewx-nav.is-open .ewx-nav__list {
    display: flex;
  }

  .ewx-nav__item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .ewx-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 13px 4px;
  }

  .ewx-nav__dropdown {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--ewx-teal);
    background: rgba(0, 0, 0, 0.18);
    padding: 4px 0;
  }

  .ewx-nav__item.is-open > .ewx-nav__dropdown {
    display: block;
  }

  .ewx-nav__dropdown a {
    color: #fff;
    padding-left: 22px;
  }

  .ewx-nav__dropdown a:hover,
  .ewx-nav__dropdown a:focus-visible {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
  }

  .ewx-hero__grid {
    grid-template-columns: 1fr;
    padding: 40px 0 40px 20px;
  }

  .ewx-hero__figure {
    max-width: 520px;
  }

  .ewx-hero__badge {
    left: auto;
    right: 14px;
  }

  .ewx-split,
  .ewx-split--reverse {
    grid-template-columns: 1fr;
  }

  .ewx-rail {
    order: 2;
  }

  .ewx-grid--3,
  .ewx-news,
  .ewx-sitemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ewx-ledger__item:nth-child(2) {
    border-right: 0;
  }

  .ewx-ledger__item:nth-child(1),
  .ewx-ledger__item:nth-child(2) {
    border-bottom: 1px solid var(--ewx-line);
  }

  .ewx-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}

@media (max-width: 860px) {
  .ewx-utility__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .ewx-utility__note {
    display: none;
  }

  .ewx-search input[type="search"] {
    width: 200px;
  }
}

@media (max-width: 720px) {
  .ewx-mission {
    display: none;
  }

  .ewx-masthead__inner {
    justify-content: center;
  }

  .ewx-utility__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .ewx-utility__note {
    display: none;
  }

  .ewx-search input[type="search"] {
    width: 150px;
  }

  .ewx-title {
    font-size: 30px;
  }

  .ewx-lead {
    font-size: 17px;
  }

  .ewx-grid--3,
  .ewx-grid--2,
  .ewx-news,
  .ewx-people,
  .ewx-contact-grid,
  .ewx-sitemap {
    grid-template-columns: 1fr;
  }

  .ewx-feature,
  .ewx-feature--thumb,
  .ewx-feature--cover {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ewx-feature__figure img,
  .ewx-feature--thumb .ewx-feature__figure img,
  .ewx-feature--cover .ewx-feature__figure img {
    width: 112px;
    height: 112px;
    object-fit: cover;
  }

  .ewx-feature--cover .ewx-feature__figure img {
    height: auto;
    object-fit: contain;
  }

  .ewx-ledger {
    grid-template-columns: 1fr;
  }

  .ewx-ledger__item {
    border-right: 0;
    border-bottom: 1px solid var(--ewx-line);
  }

  .ewx-ledger__item:last-child {
    border-bottom: 0;
  }

  .ewx-listing li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ewx-listing__place {
    display: inline;
    margin-left: 8px;
  }

  .ewx-readlist li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .ewx-readlist img {
    width: 58px;
    height: 86px;
  }

  .ewx-readlist li > .ewx-readlist__more {
    grid-column: 2;
  }

  .ewx-callout {
    grid-template-columns: 1fr;
  }

  .ewx-article__thumb {
    float: none;
    max-width: 100%;
    margin: 0 0 18px;
  }

  .ewx-footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ewx-footer__base-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ewx-shell {
    padding: 0 16px;
  }

  .ewx-brand__logo {
    height: 48px;
  }

  .ewx-hero__grid {
    padding-left: 16px;
  }

  .ewx-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ewx-btn {
    width: 100%;
  }

  .ewx-hero__actions .ewx-btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ewx-reveal {
    opacity: 1;
    transform: none;
  }
}
