:root {
  --site-bg: #f3f5f8;
  --site-surface: rgba(255, 255, 255, 0.88);
  --site-surface-strong: #ffffff;
  --site-surface-muted: rgba(247, 249, 252, 0.9);
  --site-border: rgba(15, 23, 42, 0.08);
  --site-border-strong: rgba(15, 23, 42, 0.12);
  --site-text: #111827;
  --site-text-soft: #475569;
  --site-text-muted: #64748b;
  --site-accent: #2563eb;
  --site-accent-soft: rgba(37, 99, 235, 0.1);
  --site-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --site-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] {
  --site-bg: #0b1220;
  --site-surface: rgba(15, 23, 42, 0.78);
  --site-surface-strong: #111827;
  --site-surface-muted: rgba(15, 23, 42, 0.92);
  --site-border: rgba(148, 163, 184, 0.18);
  --site-border-strong: rgba(148, 163, 184, 0.28);
  --site-text: #e5eefb;
  --site-text-soft: #c7d2e4;
  --site-text-muted: #94a3b8;
  --site-accent: #60a5fa;
  --site-accent-soft: rgba(96, 165, 250, 0.14);
  --site-shadow: 0 20px 50px rgba(2, 6, 23, 0.45);
  --site-shadow-soft: 0 10px 24px rgba(2, 6, 23, 0.28);
}

html {
  background: var(--site-bg);
}

body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 24%),
    var(--site-bg);
  color: var(--site-text);
  transition: background-color 200ms ease, color 200ms ease;
}

body,
body p,
body li,
body div,
body span {
  color: var(--site-text);
}

body a,
body .link {
  color: var(--site-accent);
}

body a:hover,
body .link:hover {
  color: var(--site-accent);
}

.consulting-home {
  width: 100%;
  margin: -56px auto 0;
  color: var(--site-text);
}

.consulting-home__eyebrow {
  margin: 0 0 10px;
  color: var(--site-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consulting-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(560px, calc(100vh - 128px));
  overflow: hidden;
  border-bottom: 1px solid var(--site-border);
  background:
    linear-gradient(135deg, #0b1220 0%, #162337 48%, #0f172a 100%);
}

.consulting-hero__banner {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.consulting-hero__banner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.consulting-hero__banner::after {
  background:
    linear-gradient(90deg, rgba(7, 15, 28, 0.94) 0%, rgba(7, 15, 28, 0.72) 48%, rgba(7, 15, 28, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 15, 28, 0.8) 0%, rgba(7, 15, 28, 0.16) 62%);
}

.consulting-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.consulting-hero__image--dark {
  display: none;
}

html[data-theme="dark"] .consulting-hero__image--light {
  display: none;
}

html[data-theme="dark"] .consulting-hero__image--dark {
  display: block;
}

html:not([data-theme="dark"]) .consulting-hero {
  background:
    linear-gradient(135deg, #f8fbff 0%, #edf4fb 52%, #e7eef7 100%);
}

html:not([data-theme="dark"]) .consulting-hero__banner::after {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.78) 48%, rgba(248, 251, 255, 0.26) 100%),
    linear-gradient(0deg, rgba(248, 251, 255, 0.84) 0%, rgba(248, 251, 255, 0.18) 62%);
}

html:not([data-theme="dark"]) .consulting-hero__image {
  opacity: 0.92;
}

html:not([data-theme="dark"]) .consulting-hero__title {
  color: #0f172a;
}

html:not([data-theme="dark"]) .consulting-hero__summary {
  color: #334155;
}

.consulting-hero__content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 58px;
}

.consulting-hero__title {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
  text-wrap: balance;
}

.consulting-hero__summary {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(238, 242, 247, 0.9);
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  line-height: 1.5;
}

.consulting-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.consulting-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--site-border-strong);
  border-radius: 8px;
  background: var(--site-surface-strong);
  color: var(--site-text);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.consulting-button:hover {
  border-color: rgba(37, 99, 235, 0.34);
  color: var(--site-accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.consulting-button--primary {
  border-color: var(--site-accent);
  background: var(--site-accent);
  color: #ffffff;
}

.consulting-button--primary:hover {
  color: #ffffff;
}

.consulting-section {
  padding: 54px 0;
  scroll-margin-top: 150px;
}

.consulting-section--intro {
  padding-top: 48px;
}

.consulting-section--band {
  border-block: 1px solid var(--site-border);
  background: var(--site-surface-muted);
}

.consulting-section__content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.consulting-section__header {
  max-width: 760px;
  margin-bottom: 22px;
}

.consulting-section h2,
.consulting-section h3,
.consulting-section p,
.consulting-section li {
  color: var(--site-text);
}

.consulting-section h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.35vw, 2.3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.consulting-section h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.consulting-section p,
.consulting-section li {
  font-size: 0.93rem;
  line-height: 1.55;
}

.consulting-intro-grid,
.consulting-proof,
.consulting-contact__content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.consulting-intro-grid > p,
.consulting-contact p {
  margin: 0;
  color: var(--site-text-soft);
  font-size: 1rem;
}

.consulting-contact h2 + p {
  margin-top: 14px;
}

.consulting-card-grid {
  display: grid;
  gap: 12px;
}

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

.consulting-card {
  min-height: 152px;
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-surface-strong);
  box-shadow: var(--site-shadow-soft);
}

.consulting-card p {
  margin: 0;
  color: var(--site-text-soft);
}

.consulting-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.consulting-list-grid > div,
.consulting-proof__items {
  padding: 20px;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-surface-strong);
}

.consulting-list-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.consulting-proof__items {
  display: grid;
  gap: 10px;
}

.consulting-proof__items p {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--site-border);
  color: var(--site-text-soft);
}

.consulting-proof__items p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.consulting-contact {
  padding-bottom: 68px;
}

.consulting-contact__content {
  align-items: center;
  padding: 26px;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-surface-strong);
  box-shadow: var(--site-shadow-soft);
}

.consulting-contact__content .consulting-button {
  justify-self: end;
  max-width: 100%;
  overflow-wrap: anywhere;
}

html[data-theme="dark"] .consulting-button:not(.consulting-button--primary),
html[data-theme="dark"] .consulting-card,
html[data-theme="dark"] .consulting-list-grid > div,
html[data-theme="dark"] .consulting-proof__items,
html[data-theme="dark"] .consulting-contact__content {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.9)),
    var(--site-surface-strong);
}

@media only screen and (max-width: 1068px) {
  .consulting-card-grid--three,
  .consulting-list-grid,
  .consulting-intro-grid,
  .consulting-proof,
  .consulting-contact__content {
    grid-template-columns: 1fr;
  }

  .consulting-contact__content .consulting-button {
    justify-self: start;
  }
}

@media only screen and (max-width: 734px) {
  .consulting-home {
    margin-top: -42px;
  }

  .consulting-hero {
    min-height: 500px;
  }

  .consulting-hero__content,
  .consulting-section__content {
    width: min(100% - 28px, 680px);
  }

  .consulting-hero__content {
    padding: 64px 0 38px;
  }

  .consulting-hero__title {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .consulting-hero__summary {
    font-size: 0.96rem;
  }

  .consulting-button {
    width: 100%;
  }

  .consulting-section {
    padding: 38px 0;
    scroll-margin-top: 160px;
  }

  .consulting-card,
  .consulting-list-grid > div,
  .consulting-proof__items,
  .consulting-contact__content {
    padding: 18px;
  }
}

header {
  top: 10px;
  padding-bottom: 76px;
  background: rgba(243, 245, 248, 0.54);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

html[data-theme="dark"] header {
  background: rgba(11, 18, 32, 0.35);
}

.site-brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  padding: 0 18px;
  width: min(1240px, 100%);
}

.site-brand__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--site-border-strong);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    var(--site-surface);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: var(--site-text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-brand__link::before {
  content: "SM";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #0f172a, #1e3a8a 58%, #2563eb),
    var(--site-accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow:
    0 8px 18px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.site-brand__link:hover {
  color: var(--site-accent);
  text-decoration: none;
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.site-brand__quote,
.site-brand__quote:link,
.site-brand__quote:visited,
.site-brand__quote:hover,
.site-brand__quote:active,
.site-brand__quote:focus-visible,
.footer-quote-bar__text,
.footer-quote-bar__text:link,
.footer-quote-bar__text:visited,
.footer-quote-bar__text:hover,
.footer-quote-bar__text:active,
.footer-quote-bar__text:focus-visible {
  display: block;
  color: var(--site-text-muted);
  text-decoration: none;
}

.site-brand__quote,
.site-brand__quote:link,
.site-brand__quote:visited,
.site-brand__quote:hover,
.site-brand__quote:active,
.site-brand__quote:focus-visible {
  width: min(860px, calc(100% - 48px));
  max-width: none;
  margin: 7px auto 0;
  padding: 0;
  border-top: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  font-style: normal;
  font-weight: 650;
  text-align: center;
  text-wrap: balance;
}

html[data-theme="dark"] .site-brand__link {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.9)),
    var(--site-surface);
  box-shadow:
    0 16px 36px rgba(2, 6, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .site-brand__link:hover {
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .about-panel {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.9)),
    var(--site-surface);
  box-shadow: var(--site-shadow);
}

html[data-theme="dark"] .about-panel__section {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.7)),
    var(--site-surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(2, 6, 23, 0.28);
}

html[data-theme="dark"] .about-panel__contact-card {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.7)),
    var(--site-surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(2, 6, 23, 0.28);
}

.nav {
  max-width: 1240px;
  min-width: auto;
  margin: 0 auto;
  padding: 0 18px;
  height: auto;
  background: transparent;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav::after {
  inset: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

html[data-theme="dark"] .nav::after {
  background: rgba(15, 23, 42, 0.82);
}

.nav-content-wrapper {
  max-width: 1180px;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 56px;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
}

.nav-item-wrapper {
  margin: 0;
  padding: 0;
  border-radius: 999px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-item-wrapper:hover {
  background: var(--site-accent-soft);
  transform: translateY(-1px);
}

.nav-item-content {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--site-text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.nav-item-button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-item-content--icon,
.theme-toggle--icon {
  justify-content: center;
  width: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-item-content--articles {
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-item-wrapper a:hover,
.nav-item-content:hover {
  color: var(--site-accent);
  text-decoration: none !important;
}

.nav-shell-wrapper {
  position: relative;
}

.about-panel-shell {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 60px 0 0;
  box-sizing: border-box;
}

.nav.about-panel-open .nav-item-wrapper:not(:has([data-about-toggle])),
.nav.about-panel-open .theme-toggle {
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.about-panel {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 32px;
  border: 1px solid var(--site-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    var(--site-surface);
  box-shadow: var(--site-shadow-soft);
}

.about-panel__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.about-panel__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 6px 0 18px;
  border-left: 3px solid var(--site-accent);
  text-align: left;
}

.about-panel__eyebrow {
  margin: 0;
  color: var(--site-text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-panel__title {
  margin: 0;
  color: var(--site-text);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-panel__summary {
  margin: 0;
  max-width: 38ch;
  color: var(--site-text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.about-panel__contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  background: var(--site-surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 18px rgba(15, 23, 42, 0.04);
}

.about-panel__contact-label {
  color: var(--site-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-panel__email {
  margin: 0;
  min-width: 0;
}

.about-panel__email a,
.about-panel__section a {
  color: var(--site-text-muted);
  text-decoration: none;
}

.about-panel__email a {
  display: inline-block;
  max-width: 100%;
  color: var(--site-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.about-panel__email a:hover,
.about-panel__section a:hover {
  color: var(--site-accent);
  text-decoration: none;
}

.about-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.about-panel__section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 16px;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: var(--site-surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 18px rgba(15, 23, 42, 0.04);
  text-align: left;
}

.about-panel__section-title {
  margin: 0;
  color: var(--site-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-panel__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 2px;
}

.about-panel__section a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 0.94rem;
  line-height: 1.35;
}

.about-panel__section a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--site-accent);
  opacity: 0.7;
}

.theme-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--site-border-strong);
  border-radius: 999px;
  background: var(--site-surface-strong);
  color: var(--site-text-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  color: var(--site-accent);
  border-color: var(--site-border-strong);
  transform: translateY(-1px);
}

.theme-toggle__icon--moon {
  display: none;
}

.theme-toggle__icon {
  font-size: 1rem;
  line-height: 1;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
  display: inline;
}

.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;
}

.section-head,
.result__title,
.hero-headline,
.item__headline,
.tile__headline,
.category-header__title,
.footer-main .item .logo,
.footer-main .foot-nav-items .item-title {
  color: var(--site-text);
}

/* Article/featured description subhead — smaller, italic, muted */
.article-subhead .component-content,
.featured-subhead .component-content,
.featured-header .featured-subhead {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--site-text-soft);
  letter-spacing: 0.01em;
}

.everydayfeed,
.more-from-newsroom {
  background: transparent;
}

.everydayfeed .view-archive-wrapper {
  margin-top: 36px;
  text-align: center;
}

.more-from-newsroom .section-tiles {
  margin-right: 0;
  margin-left: 0;
  gap: 20px;
  justify-content: center;
}

.more-from-newsroom .tile-item {
  width: 320px;
  margin-right: 0;
  margin-left: 0;
  flex-grow: 0;
}

.more-from-newsroom .section-tiles::before,
.more-from-newsroom .section-tiles::after {
  content: none;
}

@media only screen and (max-width: 1068px) {
  .more-from-newsroom .section-tiles {
    gap: 24px;
  }

  .more-from-newsroom .tile-item {
    width: 100%;
  }
}

.tile {
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(var(--site-surface-strong), var(--site-surface-strong)),
    linear-gradient(135deg, #8b5cf6 0%, #ec4899 28%, #f59e0b 52%, #22c55e 76%, #3b82f6 100%);
  box-shadow:
    var(--site-shadow-soft),
    0 0 0 1px rgba(236, 72, 153, 0.08),
    0 16px 32px rgba(139, 92, 246, 0.12);
}

.results .result__item {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
  padding: 30px 22px;
  border: 2px solid transparent;
  border-top-color: transparent;
  border-radius: 24px;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(var(--site-surface-strong), var(--site-surface-strong)),
    linear-gradient(135deg, #8b5cf6 0%, #ec4899 28%, #f59e0b 52%, #22c55e 76%, #3b82f6 100%);
  box-shadow:
    0 10px 24px rgba(139, 92, 246, 0.08),
    0 0 0 1px rgba(59, 130, 246, 0.06);
}

.tile--draft {
  border-width: 3px;
  background-image:
    linear-gradient(var(--site-surface-strong), var(--site-surface-strong)),
    linear-gradient(135deg, #f59e0b 0%, #fb923c 32%, #f97316 62%, #ea580c 100%);
}

.tile--draft {
  box-shadow:
    var(--site-shadow-soft),
    0 0 0 1px rgba(249, 115, 22, 0.12),
    0 16px 32px rgba(234, 88, 12, 0.16);
}

.results .result__item.result__item--draft {
  border-width: 3px;
  background-image:
    linear-gradient(var(--site-surface-strong), var(--site-surface-strong)),
    linear-gradient(135deg, #f59e0b 0%, #fb923c 32%, #f97316 62%, #ea580c 100%);
  box-shadow:
    var(--site-shadow-soft),
    0 0 0 1px rgba(249, 115, 22, 0.12),
    0 16px 32px rgba(234, 88, 12, 0.16);
}

.tile__category,
.tile__timestamp,
.item__category,
.item__date,
.tile__summary,
.item__summary,
.category-eyebrow__category,
.category-eyebrow__date,
.footer-main .item div,
.footer-main .item a,
.footer-main .copyright,
.result__summary {
  color: var(--site-text-muted);
}

.item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.item__meta .item__date {
  margin: 0;
}

.item__meta .item__tags {
  margin: 0 0 0 auto;
}

.tile__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile__meta .tile__tags {
  margin: 0 0 0 auto;
}

/* Tag pills — archive list and tiles */
.item__tags,
.tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.item__tag,
.tile__tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: var(--site-surface-muted);
  color: var(--site-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: none;
  line-height: 1.6;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.item__tag:hover {
  color: var(--site-accent);
  border-color: var(--site-accent);
  background: var(--site-accent-soft);
}

.tile__description {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tile__summary,
.item__summary {
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--site-text-soft);
  font-size: 0.94rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.tile.tile-hero .tile__summary {
  -webkit-line-clamp: 6;
  line-clamp: 6;
  max-height: calc(1.45em * 6);
}

.tile.tile-2up .tile__summary,
.tile.tile-3up .tile__summary,
.tile.tile-list .tile__summary,
.item__summary {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: calc(1.45em * 2);
}

.item__summary {
  margin-top: 8px;
}

.everydayfeed .tile__media {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.everydayfeed .tile__media .image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.everydayfeed .tile.tile-hero .tile__media--compact {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #fff;
}

.everydayfeed .tile.tile-hero .tile__media--compact .image {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}

@media only screen and (max-width: 734px) {
  .everydayfeed .tile.tile-hero .tile__media--compact .image {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
}

.results .result__item .viewport-picture {
  display: block;
  width: 220px;
  height: 132px;
  flex: 0 0 220px;
  overflow: hidden;
  border-radius: 16px;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid var(--site-border);
  background: var(--site-surface-muted);
}

.results .result__item .viewport-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.results .result__item .item__content {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 0;
}

.results__content,
.section-content {
  width: min(1120px, calc(100% - 40px));
}

.category-header {
  width: min(1120px, calc(100% - 40px));
  margin: 20px auto 0;
}

.year-filter {
  width: min(1120px, calc(100% - 40px));
  margin: 12px auto 0;
}

.year-filter__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-soft);
}

.year-filter__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 14px;
  background: transparent;
  color: var(--site-text-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.year-filter__btn:hover {
  background: var(--site-accent-soft);
  color: var(--site-accent);
}

.year-filter__btn--active {
  background: var(--site-accent-soft);
  border-color: var(--site-accent);
  color: var(--site-accent);
}



.category-header__inner {
  padding: 24px 28px;
  border: 1px solid var(--site-border);
  border-radius: 24px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-soft);
  text-align: center;
}

.category-header__title {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.result:last-of-type {
  border-bottom-color: var(--site-border);
}

.page-article .article {
  padding-bottom: 32px;
}

.featured-header,
.article-copyright {
  width: min(960px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.featured-header {
  margin-top: 8px;
  padding: 36px 40px;
  border: 1px solid var(--site-border);
  border-radius: 28px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-soft);
}

.article-hero .component-content {
  width: 100%;
}

.article-hero__media {
  width: min(100%, 760px);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--site-border);
  background: var(--site-surface-muted);
  box-shadow: var(--site-shadow-soft);
  aspect-ratio: 21 / 9;
  max-height: 340px;
}

.article-hero__media--compact {
  width: min(100%, 620px);
  aspect-ratio: 16 / 10;
  max-height: 360px;
}

.article-hero__backdrop {
  position: absolute;
  inset: -12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(24px) saturate(1.05);
  opacity: 0.72;
  transform: scale(1.08);
}

.article-hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18));
}

.article-hero__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.article-hero__media--compact .article-hero__image {
  object-position: center;
}

.pagebody .component-content.component,
.pagebody .component-content.pagebody.component,
.pagebody hr,
.pagebody blockquote,
.pagebody pre,
.pagebody ul,
.pagebody ol {
  width: min(840px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.pagebody hr {
  border: 0;
  border-top: 1px solid var(--site-border);
  margin-top: 28px;
  margin-bottom: 28px;
}

.pagebody > img,
.pagebody > p > img {
  display: block;
  width: min(100%, 640px);
  max-width: calc(100% - 40px);
  height: auto;
  margin: 24px auto;
}

.pagebody .article-inline-image {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(840px, calc(100% - 40px));
  height: 240px;
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  background: var(--site-surface-muted);
  box-shadow: var(--site-shadow-soft);
}

.pagebody .article-inline-image::before {
  content: "";
  position: absolute;
  inset: -12px;
  background-image: var(--inline-image-src);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(24px) saturate(1.05);
  opacity: 0.72;
  transform: scale(1.08);
}

.pagebody .article-inline-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18));
}

.pagebody .article-inline-image > img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: calc(100% - 24px);
  height: calc(100% - 24px);
  max-height: calc(100% - 24px);
  margin: 0;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.15s ease;
}

.pagebody .article-inline-image > img:hover {
  opacity: 0.85;
}

.pagebody .article-inline-image > p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.15em;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
  border-radius: 0 0 20px 20px;
  box-sizing: border-box;
}

/* Lightbox overlay */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#lightbox-overlay.lightbox--open {
  display: flex;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.7);
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.pagebody .media-quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  width: min(840px, calc(100% - 40px));
  height: 240px;
  margin: 24px auto;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  background: var(--site-surface-muted);
  box-shadow: var(--site-shadow-soft);
}

.pagebody .media-quote__backdrop {
  position: absolute;
  inset: -12px;
  background-image: var(--inline-image-src);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(24px) saturate(1.05);
  opacity: 0.72;
  transform: scale(1.08);
}

.pagebody .media-quote__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.08), rgba(0,0,0,0.28));
}

.pagebody .media-quote__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 12px;
  gap: 12px;
  box-sizing: border-box;
}

.pagebody .media-quote__image {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pagebody .media-quote__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 24px 28px;
  margin: 0;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
  box-shadow: var(--site-shadow-soft);
  box-sizing: border-box;
  color: #fff;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.pagebody .media-quote__text .component-content {
  width: auto;
  margin: 0;
  color: inherit;
}

.pagebody .media-quote--reverse .media-quote__inner {
  flex-direction: row-reverse;
}

.pagebody .component-content.component,
.pagebody .component-content.pagebody.component {
  color: var(--site-text-soft);
}

/* Body copy links — visible as coloured underlines */
.pagebody .component-content a:link,
.pagebody .component-content a:visited {
  color: var(--site-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pagebody .component-content a:hover {
  opacity: 0.8;
}

.pagebody pre {
  padding: 20px 22px;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: var(--site-surface-muted);
  box-shadow: var(--site-shadow-soft);
  overflow-x: auto;
}

.pagebody blockquote {
  position: relative;
  padding: 28px 28px 24px 34px;
  border: 1px solid var(--site-border);
  border-left: 4px solid var(--site-accent);
  border-radius: 20px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-soft);
}

.pagebody blockquote p {
  margin: 0;
  color: var(--site-text);
  font-size: 1.04rem;
  line-height: 1.7;
}

.pagebody blockquote p + p {
  margin-top: 0.9em;
}

.pagebody blockquote p:last-child:not(:first-child) {
  color: var(--site-text-muted);
  font-size: 0.94rem;
  font-style: normal;
}

.pagebody blockquote p:last-child:not(:first-child)::before {
  content: "— ";
}

.pagebody blockquote > :first-child {
  margin-top: 0;
}

.pagebody blockquote > :last-child {
  margin-bottom: 0;
}

.article-copyright {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-soft);
}

.footer-box {
  box-sizing: border-box;
  margin: 40px auto 24px;
  width: min(1240px, 100%);
  padding: 0 18px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-main .foot-nav {
  padding: 14px 22px 6px;
}

.footer-main .foot-nav-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  justify-content: center;
  gap: 12px 24px;
  align-items: start;
}

.footer-main .foot-nav-items .item {
  min-width: 0;
  text-align: center;
}

.footer-main .item-title {
  margin: 0 0 2px;
  color: var(--site-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-main .item-links a {
  color: var(--site-text-muted);
}

.footer-main .item-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-main .item-links a {
  display: inline-flex;
  width: auto;
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-main .item-links a:hover {
  color: var(--site-accent);
  transform: translateX(1px);
  text-decoration: none;
}

.footer-quote-bar {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: calc(100% + 36px);
  margin: 0 -18px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--site-border-strong);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    var(--site-surface);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.footer-quote-bar::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 9px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.18) 20%, rgba(37, 99, 235, 0.45) 50%, rgba(37, 99, 235, 0.18) 80%, transparent 100%);
}

.footer-quote-bar__text,
.footer-quote-bar__text:link,
.footer-quote-bar__text:visited,
.footer-quote-bar__text:hover,
.footer-quote-bar__text:active,
.footer-quote-bar__text:focus-visible {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  font-style: italic;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: normal;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .theme-dark {
  color-scheme: dark;
}

html[data-theme="dark"] .nav::after,
html[data-theme="dark"] .featured-header,
html[data-theme="dark"] .article-copyright,
html[data-theme="dark"] .footer-box,
html[data-theme="dark"] .tile,
html[data-theme="dark"] .pagebody blockquote,
html[data-theme="dark"] .pagebody pre {
  box-shadow: var(--site-shadow);
}

html[data-theme="dark"] .footer-box {
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .footer-quote-bar {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.9)),
    var(--site-surface);
  box-shadow:
    0 16px 36px rgba(2, 6, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .article-hero__backdrop::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.34));
}

html[data-theme="dark"] .pagebody .article-inline-image::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.34));
}

html[data-theme="dark"] .results .result__item {
  box-shadow:
    0 14px 32px rgba(2, 6, 23, 0.35),
    0 0 0 1px rgba(96, 165, 250, 0.12);
}

html[data-theme="dark"] .tile--draft {
  box-shadow:
    var(--site-shadow),
    0 0 0 1px rgba(251, 146, 60, 0.16),
    0 18px 36px rgba(15, 23, 42, 0.45);
}

html[data-theme="dark"] .results .result__item.result__item--draft {
  box-shadow:
    var(--site-shadow),
    0 0 0 1px rgba(251, 146, 60, 0.16),
    0 18px 36px rgba(15, 23, 42, 0.45);
}

@media only screen and (max-width: 1068px) {
  header {
    padding-bottom: 72px;
  }

  .nav-content {
    min-height: 56px;
  }

  .results .result__item {
    gap: 24px;
  }

  .results .result__item .viewport-picture {
    width: 180px;
    height: 108px;
    flex-basis: 180px;
  }

  .featured-header {
    padding: 30px 28px;
  }

  .article-hero__media {
    width: min(100%, 680px);
    margin-top: 24px;
    max-height: 300px;
  }

  .article-hero__media--compact {
    width: min(100%, 560px);
  }

  .footer-main .foot-nav-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-header {
    margin-top: 18px;
  }
}

@media only screen and (max-width: 734px) {
  header {
    top: 0;
    padding-bottom: 86px;
  }

  .site-brand {
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .footer-box {
    width: min(1240px, 100%);
    padding: 0 10px;
    margin-top: 28px;
  }

  .site-brand__link {
    min-height: 44px;
    padding: 0 16px;
    font-size: 1rem;
    border-radius: 999px;
  }

  .site-brand__link::before {
    width: 30px;
    height: 30px;
    font-size: 0.62rem;
  }

  .footer-quote-bar {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 18px;
  }

  .site-brand__quote {
    width: min(100%, 32rem);
    max-width: none;
    margin: 7px auto 0;
    font-size: 0.74rem;
    text-align: center;
  }

  .about-panel-shell {
    padding: 6px 0 0;
  }

  .about-panel {
    padding: 20px 18px;
    border-radius: 20px;
  }

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

  .about-panel__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .about-panel__intro {
    padding: 0 0 0 14px;
  }

  .about-panel__section {
    padding: 16px 14px;
  }

  .nav {
    padding: 0 10px;
  }

  .nav::after {
    inset: 0 10px;
    border-radius: 16px;
  }

  .nav-content {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 50px;
    padding: 8px 0 10px;
  }

  .nav-menu {
    width: 100%;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .nav-item-content,
  .theme-toggle {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .theme-toggle {
    font-size: 0.84rem;
  }

  .featured-header {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .article-hero__media {
    width: 100%;
    margin-top: 20px;
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  .pagebody .article-inline-image {
    min-height: 180px;
    border-radius: 18px;
  }

  .pagebody .article-inline-image > img {
    width: auto;
    max-width: calc(100% - 18px);
    height: calc(100% - 18px);
    max-height: calc(100% - 18px);
  }

  .article-hero__media--compact {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 260px;
  }

  .category-header {
    width: min(1120px, calc(100% - 20px));
    margin-top: 14px;
  }

  .category-header__inner {
    padding: 20px;
    border-radius: 20px;
  }

  .category-header__title {
    font-size: 1.5rem;
  }

  .footer-quote-bar {
    padding: 0 18px;
  }

  .footer-main .foot-nav {
    padding: 14px 18px 6px;
  }

  .footer-main .foot-nav-items {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-main .bottom {
    padding: 10px 18px 14px;
  }

  .results .result__item {
    gap: 16px;
  }

  .results .result__item .viewport-picture {
    width: 120px;
    height: 72px;
    flex-basis: 120px;
  }
}

/* Footnotes section box */
.pagebody .footnotes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(840px, calc(100% - 40px));
  margin: 24px auto 0;
  padding: 16px 28px 18px;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: var(--site-surface-muted);
  box-shadow: var(--site-shadow-soft);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--site-text-soft);
}

/* "Notes" heading injected before the list */
.pagebody .footnotes > div::before {
  content: "Notes";
  display: block;
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-text-soft);
  margin-bottom: 8px;
}

.pagebody .footnotes::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 30% 50%, var(--site-accent, #6366f1) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 20%, var(--site-secondary, #8b5cf6) 0%, transparent 60%);
  filter: blur(32px) saturate(1.2);
  opacity: 0.18;
  z-index: 0;
}

.pagebody .footnotes > * {
  position: relative;
  z-index: 1;
}

.pagebody .footnotes hr {
  display: none;
}

/* Reset ALL component-content width/margin overrides inside footnotes */
.pagebody .footnotes .component-content {
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.pagebody .footnotes ol {
  list-style: none;
  counter-reset: fn-counter;
  margin: 0;
  padding: 0;
}

.pagebody .footnotes li {
  counter-increment: fn-counter;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: 0.78rem;
  margin-bottom: 0.5em;
}

.pagebody .footnotes li::before {
  content: counter(fn-counter) ".";
  flex-shrink: 0;
  color: var(--site-text-soft);
}

.pagebody .footnotes p {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0;
  flex: 1;
  color: inherit;
  font-size: inherit;
}

.pagebody .footnotes a {
  color: var(--site-accent);
}

.pagebody sup a.footnote-ref {
  font-size: 0.72em;
  font-weight: 700;
  text-decoration: none;
  color: var(--site-accent);
  padding: 0 1px;
}

