/* Core design tokens
 *
 * Keep these semantic: the redesign can evolve the visual language without
 * requiring component-by-component colour and typography changes.
 */
:root {
  --font-family-body: "Focal Web", sans-serif;
  --font-family-heading: "Feature Display Web", serif;

  /* Current live palette (kept until components switch over) */
  --color-brand: #a6361f;
  --color-brand-hover: #db2600;
  --color-text: #1f1b2d;
  --color-surface: #fff;
  --color-surface-cream: #f8f4eb;
  --color-surface-peach: #f9e6d7;
  --color-photo-placeholder: #CFCFCD;
  --color-dark: #414241;
  --color-header-text: var(--color-dark);
  --color-form-line: rgba(65, 66, 65, 0.45);
  --color-form-line-light: rgba(255, 255, 255, 0.7);

  /* Redesign palette — sampled from the designer swatches.
   * Groups: primary (#c1432c), secondary (#537895), accent (#ba9338), ternary (#849261).
   * Each group has a darker, default (middle), and lighter variant.
   */
  --color-primary-dark: #86321a;
  --color-primary: #c1432c;
  --color-primary-light: #eabca2;

  --color-secondary-dark: #3e5366;
  --color-secondary: #537895;
  --color-secondary-light: #ccd6df;

  --color-accent-dark: #7d682f;
  --color-accent: #ba9338;
  --color-accent-light: #eadfc3;

  --color-ternary-dark: #5f6647;
  --color-ternary: #849261;
  --color-ternary-light: #daded0;

  --color-overlay-strong: rgba(0, 0, 0, 0.8);
  --color-decoration: rgba(251, 175, 136, 0.3);

  /* Height of the fixed header, used to offset the page content and anchors. */
  --header-height: 7.75rem;

  --border-radius-none: 0;
  --border-width-xs: 0.5px;
  --transition-fast: 200ms ease;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 400ms ease-in-out;

  --btn-border-width: 1px;
  --btn-padding-y: 0.5625rem;
  --btn-padding-x: 1.125rem;
  --btn-letter-spacing: 0.04em;
  --btn-focus-ring: 0 0 0 0.2rem rgba(193, 67, 44, 0.35);
  --btn-focus-ring-light: 0 0 0 0.2rem rgba(255, 255, 255, 0.45);
  --btn-focus-ring-dark: 0 0 0 0.2rem rgba(65, 66, 65, 0.3);

  --font-size-sm: 0.875rem;
}

@font-face {
  font-family: "Focal Web";
  src: url("../fonts/redesign/Focal-Regular-Web.c60aba0d0a9a.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Focal Web";
  src: url("../fonts/redesign/Focal-RegularItalic-Web.5695a72bfa6d.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Focal Web";
  src: url("../fonts/redesign/Focal-Bold-Web.94389fc64776.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Focal Web";
  src: url("../fonts/redesign/Focal-BoldItalic-Web.a07c80cac427.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Feature Display Web";
  src: url("../fonts/redesign/FeatureDisplay-Regular-Web.8c0442a8b962.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Feature Display Web";
  src: url("../fonts/redesign/FeatureDisplay-RegularItalic-Web.bed4766f2f17.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Feature Display Web";
  src: url("../fonts/redesign/FeatureDisplay-Bold-Web.79ad89f71ce0.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Feature Display Web";
  src: url("../fonts/redesign/FeatureDisplay-BoldItalic-Web.b8f4ca33bff1.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

* {
  font-family: var(--font-family-body) !important;
}

.site-core {
  background-color: var(--color-surface);
}

.site-tv {
  color: var(--color-surface);
}

.site-core,
.site-core *,
.site-tv,
.site-tv * {
  font-family: var(--font-family-body) !important;
}

/* Icon fonts must win over the site-wide family. `.site-core *` is more
 * specific than the theme's `[class^=fi-]` rule, so restore them here.
 */
.site-core [class^="fi-"],
.site-core [class*=" fi-"],
.site-tv [class^="fi-"],
.site-tv [class*=" fi-"] {
  font-family: "finder-icons" !important;
}

.site-core [class^="bi-"],
.site-core [class*=" bi-"],
.site-core .bi,
.site-tv [class^="bi-"],
.site-tv [class*=" bi-"],
.site-tv .bi {
  font-family: "bootstrap-icons" !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

.site-core h2,
.site-core .h2,
.site-core h3,
.site-core .h3,
.site-tv h2,
.site-tv .h2,
.site-tv h3,
.site-tv .h3,
.site-tv h4,
.site-tv .h4 {
  font-family: var(--font-family-heading) !important;
  font-weight: normal;
}

.site-tv h2,
.site-tv .h2,
.site-tv h3,
.site-tv .h3,
.site-tv h4,
.site-tv .h4 {
  color: var(--color-surface);
}

.block-rich_text i {
  font-style: oblique !important;
  font-weight: normal !important;
}

.block-rich_text strong i,
.block-rich_text b i,
.block-rich_text i strong,
.block-rich_text i b {
  font-weight: 900 !important;
}

.radius-0 {
  border-radius: var(--border-radius-none) !important;
}

.card.tns-item,
.card.tns-item .card-img,
.card.tns-item .card-img-top,
.tns-item .card {
  border-radius: var(--border-radius-none);
}

.text-justify {
  text-align: justify !important;
}

.text-primary {
  color: var(--color-brand) !important;
}

.bg-primary {
  background-color: var(--color-brand) !important;
  border-color: var(--color-brand) !important;
}

.btn-primary {
  background-color: var(--color-brand) !important;
  border-color: var(--color-brand) !important;
  border-radius: var(--border-radius-none) !important;
}

.btn-primary:focus, .btn-primary:hover {
  background-color: var(--color-brand-hover) !important;
  border-color: var(--color-brand-hover) !important;
}

.btn-primary.disabled {
  opacity: 1 !important;
}

.btn-primary.disabled:focus, .btn-primary.disabled:hover {
  background-color: var(--color-brand) !important;
  border-color: var(--color-brand) !important;
}

.btn-outline-primary {
  background-color: var(--color-surface) !important;
  border-color: var(--color-brand) !important;
  color: var(--color-brand) !important;
}

.btn-outline-primary.active,
.btn-outline-primary:focus,
.btn-outline-primary:hover {
  background-color: var(--color-brand) !important;
  color: var(--color-surface) !important;
}

/* The icon font only has a filled quotation mark. The light primary color
 * and a smaller size keep it from overpowering the quote.
 */
.site-core .content-quote {
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.site-core .content-quote::before {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-primary-light);
  font-family: "finder-icons" !important;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.site-core .content-quote-text {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-family-heading) !important;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.35;
}

.site-core .content-quote-author {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: var(--color-dark);
  font-family: var(--font-family-body) !important;
  font-size: var(--font-size-sm);
  font-weight: 400;
}

/* The theme sets body to display:flex, which prevents position:sticky from
 * pinning to the viewport. Fixed keeps the header visible on every core page.
 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: var(--color-surface);
}

.site-header .navbar,
.site-header .navbar > .container-fluid,
.site-header .navbar-collapse,
.site-header .navbar-nav {
  align-items: flex-start;
}

.site-header .navbar {
  background-color: var(--color-surface);
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
  transition: padding var(--transition-fast);
}

/* Scrolling compacts the bar so the page content gets more room. */
.site-header.is-scrolled .navbar {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.site-header .navbar-brand img {
  display: block;
  width: auto;
  height: 3rem;
}

.site-header .navbar-brand .logo-mark {
  display: none;
}

.site-header.is-scrolled .navbar-brand .logo-full {
  display: none;
}

.site-header.is-scrolled .navbar-brand .logo-mark {
  display: block;
}

.site-header .navbar-light .navbar-nav .nav-link,
.site-header .navbar-light .navbar-nav .nav-link:hover,
.site-header .navbar-light .navbar-nav .nav-link:focus,
.site-header .navbar-light .navbar-nav .show > .nav-link,
.site-header .navbar-tool-icon-box {
  color: var(--color-header-text);
}

.site-header .navbar-light .navbar-nav .nav-link.is-active,
.site-header .navbar-light .navbar-nav .nav-link.is-active:hover,
.site-header .navbar-light .navbar-nav .nav-link.is-active:focus {
  color: var(--color-secondary);
}

/* The theme colors a parent link whenever the cursor is anywhere in its
 * item, including the submenu. Keep it on the header text, and leave the
 * active page on the secondary color.
 */
.site-header .navbar-light .nav-item:hover > .nav-link:not(.disabled),
.site-header .navbar-light .nav-item:focus-within > .nav-link:not(.disabled) {
  color: var(--color-header-text);
}

.site-header .navbar-light .nav-item:hover > .nav-link.is-active:not(.disabled),
.site-header .navbar-light .nav-item:focus-within > .nav-link.is-active:not(.disabled) {
  color: var(--color-secondary);
}

/* Nested items use a downward arrow, not the Bootstrap caret. */
.site-header .nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: 0.02em;
  content: "\2193";
  border: 0;
  color: var(--color-secondary);
  font-family: var(--font-family-heading);
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1;
}

.site-header .nav-link.is-active .nav-link-label {
  padding-bottom: 0.3rem;
  background-image: linear-gradient(to right, var(--color-secondary) 50%, transparent 50%);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 0.45rem 1px;
}

.site-header [class^="fi-"],
.site-header [class*=" fi-"] {
  color: var(--color-header-text);
}

/* Same height as a menu link (1.3rem label, 1.5 line-height, 0.6875rem padding)
 * so the tools centre on the labels.
 */
.site-header .site-header-tools {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
  min-height: calc(1.3rem * 1.5 + 1.375rem);
  padding: 0 1rem;
}

.site-header .site-header-tool,
.site-header .site-header-tool [class^="fi-"] {
  color: var(--color-secondary);
  line-height: 1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-header .site-header-tool:hover,
.site-header .site-header-tool:focus-visible,
.site-header .site-header-tool:hover [class^="fi-"],
.site-header .site-header-tool:focus-visible [class^="fi-"] {
  color: var(--color-secondary-dark);
}

.site-header .site-header-tool:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.site-header .site-header-language {
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: var(--btn-letter-spacing);
}

@media (min-width: 992px) {
  .site-header .site-header-tools {
    margin-left: 1.5rem;
  }
}

.site-header .site-header-tool .fi-search {
  font-size: 1.25rem;
}

.site-header .nav-subitems-list {
  margin: 0;
  padding: 0 0 0.75rem;
  list-style: none;
}

.site-header .nav-sublink {
  display: block;
  padding: 0.2rem 1rem;
  color: var(--color-header-text);
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
  text-align: left !important;
}

.site-header .nav-sublink a {
  font-weight: 700 !important;
}

.site-header .nav-sublink:hover,
.site-header .nav-sublink:focus {
  color: var(--color-header-text);
}

@media (min-width: 992px) {
  .site-header .navbar-nav {
    column-gap: 1.5rem;
  }

  .site-header .nav-subitems {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
  }

  .site-header .has-subnav:hover > .nav-subitems,
  .site-header .has-subnav:focus-within > .nav-subitems,
  .site-header .has-subnav.is-open > .nav-subitems {
    max-height: 16rem;
  }
}

/* Below lg the menu items are separated by dashed rules instead of boxes.
 * The rule uses the Discover arrow colour. Stretching the items makes each
 * rule span the menu width, not just the label.
 */
@media (max-width: 991.98px) {
  .site-header .navbar-nav {
    width: 100%;
  }

  .site-header .navbar-nav .nav-item {
    align-self: stretch;
    margin-bottom: 0;
    padding: 0.25rem 1rem;
    border: 0;
    border-radius: 0;
  }

  .site-header .navbar-nav .nav-item + .nav-item {
    border-top: 0.5px dashed var(--color-secondary-light);
  }
}

/* Restore the former navbar mb-4 spacing plus the reserved header height. */
.site-core > .site-header + .site-main {
  padding-top: var(--header-height);
}

/* Pages opening with a full-bleed band sit directly under the header's dashed
 * border. The offset mirrors the unscrolled bar: 2rem padding top and bottom,
 * the tallest row item (logo below lg, menu link from lg), and the border.
 */
.site-core.flush-header > .site-header + .site-main {
  padding-top: calc(4rem + 3rem + var(--btn-border-width));
}

@media (min-width: 992px) {
  .site-core.flush-header > .site-header + .site-main {
    padding-top: calc(4rem + 1.3rem * 1.5 + 1.375rem + var(--btn-border-width));
  }
}

/* Homepage header is fixed so it does not add a second offset above the news image. */
#home-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

/* Core site buttons — filled primary, dashed outline, and white variants.
 * Alamire TV (`.site-tv`) uses the same buttons on its dark page.
 */
.site-core .btn,
.site-tv .btn {
  border-radius: var(--border-radius-none);
  font-weight: 500;
  letter-spacing: var(--btn-letter-spacing);
  text-transform: uppercase;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.site-core .btn:not(.btn-sm):not(.btn-lg):not(.btn-link):not(.btn-icon),
.site-tv .btn:not(.btn-sm):not(.btn-lg):not(.btn-link):not(.btn-icon) {
  padding: var(--btn-padding-y) var(--btn-padding-x);
}

.btn-label {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border: var(--btn-border-width) solid var(--color-primary);
  border-radius: var(--border-radius-none);
  background: none;
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-label:hover,
.btn-label:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-surface);
}

.btn-label:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

/* The legacy unscoped `.btn-*` rules above use `!important` and still style Alamire TV
 * (no `.site-core`); match that here.
 */
.site-core .btn-primary,
.site-tv .btn-primary {
  background-color: var(--color-primary) !important;
  border: var(--btn-border-width) solid var(--color-primary) !important;
  color: var(--color-surface) !important;
}

.site-core .btn-primary:hover,
.site-core .btn-primary:focus,
.site-tv .btn-primary:hover,
.site-tv .btn-primary:focus {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: var(--color-surface) !important;
}

.site-core .btn-primary:disabled,
.site-core .btn-primary.disabled,
.site-tv .btn-primary:disabled,
.site-tv .btn-primary.disabled {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-surface) !important;
  opacity: 0.55;
}

.site-core .btn-outline-primary,
.site-tv .btn-outline-primary {
  background-color: transparent !important;
  border: var(--btn-border-width) dashed var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.site-core .btn-outline-primary:hover,
.site-core .btn-outline-primary:focus,
.site-core .btn-outline-primary.active,
.site-tv .btn-outline-primary:hover,
.site-tv .btn-outline-primary:focus,
.site-tv .btn-outline-primary.active {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  border-style: solid !important;
  color: var(--color-surface) !important;
}

/* Small dashed buttons match a.home-more: weight 500, 0.65rem, same padding. */
.site-core .btn-outline-primary.btn-sm {
  padding: 0.45rem 0.75rem !important;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.site-core .btn-outline-primary.btn-sm:hover,
.site-core .btn-outline-primary.btn-sm:focus,
.site-core .btn-outline-primary.btn-sm:focus-visible {
  border-style: dashed !important;
}

.site-core .btn-outline-primary.btn-sm:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
  box-shadow: none;
}

.site-core .btn-outline-white,
.site-tv .btn-outline-white {
  background-color: transparent !important;
  border: var(--btn-border-width) dashed var(--color-surface) !important;
  color: var(--color-surface) !important;
}

.site-core .btn-outline-white:hover,
.site-core .btn-outline-white:focus,
.site-tv .btn-outline-white:hover,
.site-tv .btn-outline-white:focus {
  background-color: var(--color-surface) !important;
  border-color: var(--color-surface) !important;
  border-style: solid !important;
  color: var(--color-primary) !important;
}

.site-core .btn-primary:focus-visible,
.site-core .btn-outline-primary:focus-visible,
.site-tv .btn-primary:focus-visible,
.site-tv .btn-outline-primary:focus-visible {
  box-shadow: var(--btn-focus-ring);
}

.site-core .btn-outline-white:focus-visible,
.site-tv .btn-outline-white:focus-visible {
  box-shadow: var(--btn-focus-ring-light);
}

/* Footer Subscribe keeps the white outline, but matches a.home-more in size. */
.site-core .footer-newsletter-form .btn-outline-white {
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.site-core .btn-outline-dark {
  background-color: transparent;
  border: var(--btn-border-width) dashed var(--color-dark);
  color: var(--color-dark);
}

.site-core .btn-outline-dark:hover,
.site-core .btn-outline-dark:focus,
.site-core .btn-outline-dark.active {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  border-style: solid;
  color: var(--color-surface);
}

.site-core .btn-outline-dark:focus-visible {
  box-shadow: var(--btn-focus-ring-dark);
}

@media (prefers-reduced-motion: reduce) {
  .site-core .btn,
  .site-tv .btn {
    transition: none;
  }
}

/* Underline-only text input */
.site-core .form-control-line,
.site-tv .form-control-line {
  min-height: 0;
  padding: 0.25rem 0;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-form-line);
  border-radius: var(--border-radius-none);
  box-shadow: none;
  color: var(--color-dark);
  font-size: 0.875rem;
  appearance: none;
}

.site-core .form-control-line::placeholder,
.site-tv .form-control-line::placeholder {
  color: var(--color-dark);
  opacity: 1;
}

.site-core .form-control-line:focus,
.site-tv .form-control-line:focus {
  background-color: transparent;
  border-bottom-color: var(--color-dark);
  box-shadow: 0 1px 0 var(--color-dark);
  color: var(--color-dark);
}

.site-core .form-control-line-light,
.site-core .form-control-line-light:focus,
.site-tv .form-control-line-light,
.site-tv .form-control-line-light:focus {
  color: var(--color-surface);
}

.site-core .form-control-line-light,
.site-tv .form-control-line-light {
  border-bottom-color: var(--color-form-line-light);
}

.site-core .form-control-line-light::placeholder,
.site-tv .form-control-line-light::placeholder {
  color: var(--color-surface);
}

.site-core .form-control-line-light:focus,
.site-tv .form-control-line-light:focus {
  border-bottom-color: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-surface);
}

.newsletter-fullwidth {
  padding: 2.5rem 0;
  background-color: var(--color-secondary-light);
}

.site-core .newsletter-fullwidth-title {
  margin: 0;
  color: var(--color-dark);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

.newsletter-fullwidth-form {
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
}

.newsletter-fullwidth-field {
  flex: 0 1 16rem;
  margin: 0;
}

.newsletter-fullwidth-form .btn {
  flex-shrink: 0;
}

.subscribe-modal .modal-dialog {
  max-width: 36rem;
}

.site-core .subscribe-modal .modal-content,
.site-tv .subscribe-modal .modal-content {
  border: 0;
  border-radius: var(--border-radius-none);
  background-color: var(--color-secondary-dark);
  box-shadow: none;
}

.site-core .subscribe-modal .modal-body,
.site-tv .subscribe-modal .modal-body {
  padding: 1.75rem 1.5rem 1.5rem;
}

.subscribe-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: var(--border-width-xs) dashed var(--color-secondary-light);
}

.site-core .subscribe-modal-title,
.site-tv .subscribe-modal-title {
  margin: 0;
  color: var(--color-surface);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.subscribe-modal-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-surface);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.subscribe-modal-close:hover,
.subscribe-modal-close:focus-visible {
  color: var(--color-surface);
}

.subscribe-modal-close:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 2px;
}

.subscribe-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.subscribe-modal-field {
  display: block;
  margin: 0;
}

.subscribe-modal-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 0.15rem 0 0.15rem;
  padding: 0;
  border: 0;
}

.subscribe-modal-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--color-surface);
  font-size: var(--font-size-sm);
  cursor: pointer;
}

.subscribe-modal-check input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--color-surface);
}

.subscribe-modal-check input:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 2px;
}

.subscribe-modal-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: 0.35rem;
}

.subscribe-modal-submit .subscribe-modal-field {
  width: 100%;
}

.subscribe-modal-submit .btn {
  flex-shrink: 0;
}

.subscribe-modal-message {
  margin: 0.25rem 0 0;
  color: var(--color-surface);
  font-size: var(--font-size-sm);
  text-align: right;
}

.subscribe-modal-message-error {
  color: var(--color-primary-light);
}

@media (min-width: 576px) {
  .site-core .subscribe-modal .modal-body,
  .site-tv .subscribe-modal .modal-body {
    padding: 2.25rem 2rem 2rem;
  }

  .subscribe-modal-submit {
    flex-direction: row;
    align-items: flex-end;
    gap: 2rem;
  }

  .subscribe-modal-submit .subscribe-modal-field {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

/* The homepage header is fixed, so the news band needs the unscrolled header's
 * height (same offsets as .site-core.flush-header) to start right under the dashed border.
 */
.home-news {
  padding-top: calc(4rem + 3rem + var(--btn-border-width));
}

@media (min-width: 992px) {
  .home-news {
    padding-top: calc(4rem + 1.3rem * 1.5 + 1.375rem + var(--btn-border-width));
  }
}

.home-news-visual-link {
  display: none;
  color: inherit;
  text-decoration: none;
}

.home-news-visual-link.is-active,
.home-news-visual:not(:has(.is-active)) .home-news-visual-link:first-child {
  display: block;
}

.home-news-visual-link:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: -2px;
}

.home-news-photo {
  display: block;
  width: 100%;
  height: 30vw;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.home-news-bar {
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.home-news-bar-inner {
  position: relative;
}

.home-news-scroller {
  container-type: inline-size;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.home-news-scroller::-webkit-scrollbar {
  display: none;
}

.home-news-scroller:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: -2px;
}

.home-news-scroller.is-dragging,
.home-news-scroller.is-dragging .home-news-item {
  cursor: grabbing;
}

.home-news-track {
  display: flex;
  width: max-content;
}

.home-news-item {
  display: flex;
  flex: 0 0 100cqi;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100cqi;
  min-height: 0;
  /* Side padding reserves room for the absolutely positioned controls (arrows + More news),
     kept symmetric so the title stays centred. Below 992px the controls move under the title. */
  padding: 1rem 13rem 0.7rem;
  scroll-snap-align: center;
  color: var(--color-dark);
  text-align: center;
  text-decoration: none;
}

.site-core .home-news-title {
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.home-news-date {
  font-size: 0.75rem;
  line-height: 1.3;
}

/* The theme's a:hover colour would otherwise paint the date. Only the title changes. */
.home-news-item:hover,
.home-news-item:focus,
.home-news-item:focus-visible {
  color: var(--color-dark);
}

.home-news-item:hover .home-news-title,
.home-news-item:focus-visible .home-news-title {
  color: var(--color-primary);
}

.home-news-controls {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateY(-50%);
}

.home-news-arrow {
  padding: 0.25rem;
  border: 0;
  background: none;
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.home-news-arrow:hover,
.home-news-arrow:focus-visible {
  color: var(--color-primary-dark);
}

.home-news-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.home-news-arrow:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.home-research {
  padding: 2.75rem 0 3.5rem;
  overflow: hidden;
}

/* Section titles for the homepage impact and research blocks, top left of the container. */
.site-core .home-section-title {
  margin: 0 0 1.5rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}

.home-research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--color-dark);
  text-decoration: none;
}

.media-card:hover,
.media-card:focus {
  color: var(--color-dark);
}

.media-card:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 4px;
}

.media-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.media-card-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.3;
}

.site-core .media-card-title {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-family-heading) !important;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.media-card-label + .media-card-title {
  margin-top: 0.25rem;
}

.media-card:hover .media-card-title,
.media-card:focus-visible .media-card-title {
  color: var(--color-primary);
}

.media-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  color: var(--color-dark);
  font-size: 0.8rem;
}

@media (max-width: 991.98px) {
  .media-card.is-third {
    display: none;
  }
}

.home-research-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

.home-outreach {
  padding: 2.75rem 0 0;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
  color: var(--color-dark);
}

.home-outreach-layout {
  display: grid;
  gap: 2.25rem;
}

.home-outreach-features {
  display: grid;
  gap: 1.75rem 1.5rem;
}

.home-outreach-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.home-outreach-kicker {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.3;
}

.site-core .home-outreach-feature-title,
.site-core .home-outreach-row-title {
  margin: 0.2rem 0 0;
  font-family: var(--font-family-heading) !important;
  font-weight: 400;
  line-height: 1.2;
}

.site-core .home-outreach-feature-title a,
.site-core .home-outreach-row-title a {
  font-family: var(--font-family-heading) !important;
  font-weight: 400;
}

.site-core .home-outreach-feature-title {
  font-size: 1.35rem;
}

.site-core .home-outreach-row-title {
  font-size: 1.15rem;
}

.home-outreach-feature-title a,
.home-outreach-row-title a {
  color: inherit;
  text-decoration: none;
}

.home-outreach-feature-title a:hover,
.home-outreach-row-title a:hover,
.home-outreach-feature-title a:focus-visible,
.home-outreach-row-title a:focus-visible {
  color: var(--color-primary);
}

.home-outreach-summary,
.home-outreach-row-summary {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
}

.home-outreach-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-outreach-row-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-outreach-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin: 0.7rem 0 0;
  font-size: 0.75rem;
}

.home-outreach-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-outreach-meta i {
  flex: 0 0 auto;
  font-size: 0.7rem;
}

.home-outreach-tickets {
  padding: 0.15rem 0.4rem;
  border: var(--btn-border-width) dashed var(--color-primary);
  color: var(--color-primary);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.home-outreach-tickets:hover,
.home-outreach-tickets:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-surface);
}

.home-outreach-row .home-outreach-tickets {
  margin-left: auto;
}

.home-outreach-row {
  padding: 0.9rem 0 1rem;
  border-top: var(--btn-border-width) dashed var(--color-secondary);
}

.home-outreach-row .home-outreach-kicker {
  margin-top: 0;
}

.home-outreach-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-bottom: 0.9rem;
}

@media (min-width: 768px) {
  .home-outreach-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .home-outreach-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.85fr);
    align-items: start;
  }

  .home-outreach-layout:not(:has(.home-outreach-features)),
  .home-outreach-layout:not(:has(.home-outreach-list)) {
    grid-template-columns: minmax(0, 1fr);
  }

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

.home-links {
  padding: 2.75rem 0 3.25rem;
}

.home-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.home-link {
  color: var(--color-dark);
  text-decoration: none;
}

.home-link:hover,
.home-link:focus {
  color: var(--color-dark);
}

.home-link:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 4px;
}

.home-link-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.333;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.site-core .home-link-title {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-family-heading) !important;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.home-link:hover .home-link-title,
.home-link:focus-visible .home-link-title {
  color: var(--color-primary);
}

@media (max-width: 991.98px) {
  .home-news-item {
    min-height: 0;
    padding: 1rem 1.5rem 3.25rem;
  }

  .home-news-controls {
    top: auto;
    right: 0;
    bottom: 0.65rem;
    left: 0;
    justify-content: center;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .home-links-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-core .home-link-title {
    transition: none;
  }

  .home-news-scroller {
    scroll-behavior: auto;
  }
}

.contact-form-fullwidth {
  padding: 2.5rem 0;
  background-color: var(--color-secondary-light);
}

.contact-form-fullwidth .row > * {
  min-width: 0;
}

.site-core .contact-form-fullwidth-title {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  letter-spacing: -0.01em;
}

.contact-form-fullwidth-messages {
  margin-bottom: 1rem;
  color: var(--color-dark);
  font-size: 0.875rem;
}

.contact-form-fullwidth-messages p {
  margin: 0;
}

.contact-form-fullwidth-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-form-fullwidth-label {
  display: block;
  margin: 0;
}

.contact-form-fullwidth-error {
  margin: 0.25rem 0 0;
  color: var(--color-primary);
  font-size: 0.75rem;
}

.contact-form-fullwidth textarea.form-control-line {
  height: 2.125rem;
  resize: none;
  overflow: hidden;
  white-space: nowrap;
  field-sizing: content;
}

.contact-form-fullwidth-field-wide {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.contact-form-fullwidth-field-wide .contact-form-fullwidth-control {
  width: 100%;
}

@media (min-width: 992px) {
  .contact-form-fullwidth-field:not(.contact-form-fullwidth-field-wide) {
    max-width: 16rem;
  }

  .contact-form-fullwidth-field-wide {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .contact-form-fullwidth-field-wide .contact-form-fullwidth-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .contact-form-fullwidth-field-wide .btn {
    flex-shrink: 0;
  }
}

.border-dash-top {
  border-top: var(--btn-border-width) dashed var(--color-primary-light);
}

.contact-locations {
  padding-bottom: 3rem;
  color: var(--color-dark);
}

.contact-map {
  display: block;
  width: 100%;
  height: auto;
}

.contact-location + .contact-location {
  margin-top: 2.25rem;
}

.site-core .contact-location-name {
  margin: 0 0 1.15rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
}

.contact-location-address {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.45;
}

.contact-directions {
  padding: 2.5rem 0;
  color: var(--color-dark);
}

.contact-directions .row > * {
  min-width: 0;
}

.site-core .contact-directions-title {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.contact-directions-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.contact-directions-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-directions-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-dark);
  font-size: var(--font-size-sm);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.contact-directions-tab:hover {
  color: var(--color-primary);
}

.contact-directions-tab:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.contact-directions-arrow::after {
  content: "\2193";
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.contact-directions-tab[aria-expanded="true"] .contact-directions-arrow::after {
  transform: rotate(180deg);
}

.contact-directions-panel:not([hidden]) {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms ease;
}

.contact-directions-panel.is-open {
  grid-template-rows: 1fr;
}

.contact-directions-panel-inner {
  min-height: 0;
  overflow: hidden;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  opacity: 0;
  transition: opacity 450ms ease;
}

.contact-directions-panel.is-open .contact-directions-panel-inner {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .contact-directions-panel:not([hidden]),
  .contact-directions-panel-inner {
    transition: none;
  }
}

.contact-directions-panel-inner p,
.contact-directions-panel-inner ul {
  margin: 0 0 1rem;
}

.contact-directions-panel-inner p:empty {
  display: none;
}

.contact-directions-panel-inner ul {
  padding-left: 1.15rem;
}

.contact-directions-panel-inner li {
  margin-bottom: 0.2rem;
}

.contact-directions-panel-inner b,
.contact-directions-panel-inner strong {
  font-weight: 700;
}

.contact-directions-panel-inner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-directions-panel-inner a:hover {
  color: var(--color-primary);
}

@media (min-width: 992px) {
  .contact-directions-list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
    row-gap: 0.45rem;
  }

  .contact-directions-item {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: start;
  }

  .contact-directions-tab {
    grid-column: 1;
  }

  .contact-directions-panel {
    grid-column: 2;
    grid-row: 1;
  }
}

.contact-people,
.downloads-band {
  padding: 2.75rem 0 3rem;
  background-color: var(--color-ternary-light);
}

.downloads-band {
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.downloads-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 0.85rem 0;
  border-bottom: var(--btn-border-width) dashed var(--color-ternary);
  color: var(--color-dark);
  text-decoration: none;
}

.download-link:hover,
.download-link:focus {
  color: var(--color-dark);
}

.download-link:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.download-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.download-link-title {
  font-size: var(--font-size-sm);
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.download-link-meta {
  font-size: 0.65rem;
  letter-spacing: var(--btn-letter-spacing);
  opacity: 0.7;
}

.download-link-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: var(--btn-border-width) dashed var(--color-dark);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: var(--btn-letter-spacing);
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.download-link-button i {
  font-size: 0.8rem;
}

.download-link:hover .download-link-title,
.download-link:focus-visible .download-link-title {
  color: var(--color-primary);
}

.download-link:hover .download-link-button,
.download-link:focus-visible .download-link-button {
  border-color: var(--color-dark);
  border-style: solid;
  background-color: var(--color-dark);
  color: var(--color-surface);
}

@media (prefers-reduced-motion: reduce) {
  .download-link-title,
  .download-link-button {
    transition: none;
  }
}

.site-core .contact-people-title {
  margin: 0 0 1.25rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.25rem;
  font-weight: 400;
}

.site-core .contact-people-title-next {
  margin-top: 2.75rem;
}

.residencies-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.5rem;
}

.footer {
  background-color: var(--color-secondary-dark);
}

.site-core .footer-column-title {
  font-family: var(--font-family-body) !important;
}

.site-core .footer-newsletter-title {
  margin-bottom: 2rem;
  color: var(--color-surface);
  font-size: 1.25rem;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.footer-newsletter-field {
  width: 100%;
  margin: 0;
}

.search-page-form {
  display: flex;
  justify-content: center;
  padding: 6rem 0;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

.search-form-field {
  flex: 0 1 22rem;
  min-width: 0;
  margin: 0;
}

.site-core .search-form-input {
  font-family: var(--font-family-heading) !important;
  font-size: 1.5rem;
}

.search-form-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-form-submit {
  padding: 0.25rem;
  background: none;
  border: 0;
  color: var(--color-dark);
  font-size: 1.75rem;
  line-height: 1;
}

.search-form-submit:hover {
  color: var(--color-primary);
}

.search-form-submit:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.search-page {
  padding-bottom: 4rem;
  color: var(--color-dark);
}

.error-page {
  padding-bottom: 4rem;
  color: var(--color-dark);
}

.error-page-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 36rem;
  margin: 0 auto;
  padding: 6rem 0;
  text-align: center;
}

.site-core .error-page-title {
  margin: 0;
  font-family: var(--font-family-heading) !important;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.error-page-text {
  margin: 0;
  font-size: var(--font-size-sm);
}

.search-page-form-with-results {
  padding-bottom: 2.5rem;
}

.search-results-head,
.search-results-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  column-gap: 2rem;
  align-items: baseline;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.search-results-head {
  padding-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: bold;
}

.search-results-row {
  padding: 0.7rem 0;
  color: inherit;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  text-decoration: none;
}

.search-results-row:hover,
.search-results-row:focus-visible {
  background-color: var(--color-surface-peach);
  color: inherit;
}

.search-results-row:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.site-core .search-results-title {
  overflow: hidden;
  font-family: var(--font-family-heading) !important;
  font-size: 1.125rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-results-empty {
  margin: 0;
  font-size: var(--font-size-sm);
}

.vacancy-page {
  padding-bottom: 4rem;
  color: var(--color-dark);
}

.vacancy-list {
  border-top: var(--btn-border-width) dashed var(--color-primary-light);
}

.vacancy-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
  color: inherit;
  text-decoration: none;
}

.vacancy-row:hover,
.vacancy-row:focus-visible {
  background-color: var(--color-surface-peach);
  color: inherit;
}

.vacancy-row:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.site-core .vacancy-row-title {
  font-family: var(--font-family-heading) !important;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.3;
}

.vacancy-row-intro,
.vacancy-empty {
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.vacancy-empty {
  margin: 0.85rem 0 0;
}

@media (max-width: 767.98px) {
  .search-results-head {
    display: none;
  }

  .search-results-row {
    grid-template-columns: 1fr;
    row-gap: 0.2rem;
  }

  .site-core .search-results-title {
    white-space: normal;
  }
}

.people-page {
  padding-bottom: 4rem;
}

.site-core .people-page-title {
  margin: 0 0 1.25rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.25rem;
  font-weight: 400;
}

.people-section {
  margin: 0 0 0.1rem;
  transition: margin-bottom 450ms ease;
}

.people-section.is-open {
  margin-bottom: 2rem;
}

.people-section[open] > .people-section-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms ease;
}

.people-section.is-open > .people-section-body {
  grid-template-rows: 1fr;
}

.people-section-body-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 450ms ease;
}

.people-section.is-open .people-section-body-inner {
  opacity: 1;
}

.people-section-summary {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  width: fit-content;
  margin-bottom: 0;
  cursor: pointer;
  list-style: none;
}

.people-section-summary::-webkit-details-marker,
.people-section-summary::marker {
  display: none;
  content: none;
}

.people-section-title {
  color: var(--color-dark);
  font-size: 0.8rem;
}

.people-section-toggle::after {
  content: "\2193";
  display: inline-block;
  color: var(--color-dark);
  font-size: 0.7rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.people-section.is-open > .people-section-summary .people-section-toggle::after {
  transform: rotate(180deg);
}

.people-section-summary:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  padding-top: 0.85rem;
}

@media (min-width: 768px) {
  .people-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .people-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .people-section,
  .people-section[open] > .people-section-body,
  .people-section-body-inner,
  .people-section-toggle::after,
  .people-card-photo,
  .site-core .people-directory-name,
  .people-modal-close {
    transition: none;
  }
}

.people-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.people-card:hover,
.people-card:focus {
  color: inherit;
}

.people-card:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.people-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
  filter: grayscale(1);
  transition: filter var(--transition-fast);
}

.people-card:hover .people-card-photo,
.people-card:focus-visible .people-card-photo {
  filter: none;
}

/* Contact page photos are in colour. */
.contact-people .people-card-photo,
.contact-people .people-card:hover .people-card-photo,
.contact-people .people-card:focus-visible .people-card-photo {
  filter: none;
}

.people-card-photo--empty {
  background-color: var(--color-photo-placeholder);
}

.site-core .people-card-name {
  margin: 0.7rem 0 0.2rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
}

.people-card-title {
  margin: 0;
  color: var(--color-dark);
  font-size: 0.75rem;
  line-height: 1.35;
}

.people-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 2.5rem;
  padding-top: 0.85rem;
}

@media (min-width: 768px) {
  .people-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .people-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.people-directory-person {
  display: block;
  padding: 0.7rem 0 0.75rem;
  border-top: var(--border-width-xs) solid var(--color-form-line);
  color: inherit;
  text-decoration: none;
}

a.people-directory-person:hover,
a.people-directory-person:focus {
  color: inherit;
  text-decoration: none;
}

a.people-directory-person:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.site-core .people-directory-name {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

a.people-directory-person:hover .people-directory-name,
a.people-directory-person:focus-visible .people-directory-name {
  color: var(--color-primary);
}

.people-directory-role {
  margin: 0.15rem 0 0;
  color: var(--color-dark);
  font-size: 0.75rem;
  line-height: 1.35;
}

.people-modal .modal-dialog {
  max-width: 42rem;
}

.site-core .people-modal .modal-content {
  border: 0;
  border-radius: var(--border-radius-none);
  background-color: var(--color-surface);
  box-shadow: none;
}

.site-core .people-modal .modal-body {
  padding: 1.75rem 1.5rem 1.5rem;
  container-type: inline-size;
}

.people-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.people-modal-heading {
  min-width: 0;
}

.site-core .people-modal-name {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.people-modal-role {
  margin: 0.3rem 0 0;
  color: var(--color-dark);
  font-size: 0.75rem;
  line-height: 1.35;
}

.people-modal-role:empty {
  display: none;
}

.people-modal-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-dark);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.people-modal-close:hover,
.people-modal-close:focus-visible {
  color: var(--color-primary);
}

.people-modal-close:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.people-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.people-modal-photo {
  display: block;
  width: 9.5rem;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.people-modal-text {
  color: var(--color-dark);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.people-modal-text p,
.people-modal-text ul,
.people-modal-text ol {
  margin: 0 0 1rem;
}

.people-modal-text p:last-child,
.people-modal-text ul:last-child,
.people-modal-text ol:last-child {
  margin-bottom: 0;
}

.people-modal-text ul,
.people-modal-text ol {
  padding-left: 1.15rem;
}

.people-modal-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.people-modal-text a:hover,
.people-modal-text a:focus-visible {
  color: var(--color-primary);
}

.people-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

@container (min-width: 32rem) {
  .people-modal-layout:has(.people-modal-photo) {
    grid-template-columns: 9.5rem minmax(0, 1fr);
  }
}

.foundation-intro {
  padding-bottom: 3rem;
  color: var(--color-dark);
}

.foundation-intro-section + .foundation-intro-section {
  margin-top: 3rem;
}

.site-core .heading-2 {
  margin: 0 0 1.25rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.3rem;
  font-weight: 400;
}

.site-core .heading-3 {
  margin: 0 0 1.25rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1rem;
  font-weight: 400;
}

.foundation-intro-text {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.foundation-intro-text p {
  margin-bottom: 1.25rem;
}

.foundation-intro-text p:last-child {
  margin-bottom: 0;
}

.site-core .foundation-intro-text p > a:only-child:hover,
.site-core .foundation-intro-text p > a:only-child:focus-visible {
  background-color: var(--color-primary);
  border-style: solid;
  color: var(--color-surface);
}

/* Links in rich text blocks are always bold inline links, never buttons.
 * Subpage templates wrap their blocks in .foundation-intro-text, whose
 * "only link in a paragraph" button style would otherwise match them, so the
 * :only-child selectors repeat here with higher specificity.
 */
.site-core .block-rich_text a,
.site-core .foundation-intro-text .block-rich_text a,
.site-core .foundation-intro-text .block-rich_text p > a:only-child {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: none;
  text-transform: none;
}

.site-core .block-rich_text a:hover,
.site-core .block-rich_text a:focus,
.site-core .block-rich_text a:focus-visible,
.site-core .foundation-intro-text .block-rich_text a:hover,
.site-core .foundation-intro-text .block-rich_text a:focus,
.site-core .foundation-intro-text .block-rich_text a:focus-visible,
.site-core .foundation-intro-text .block-rich_text p > a:only-child:hover,
.site-core .foundation-intro-text .block-rich_text p > a:only-child:focus-visible {
  border: 0;
  background-color: transparent;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}

/* Tablet only: the projects sit in a narrow side column, so stack them.
 * Phones and desktops keep the two-column grid.
 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .project-grid:not(.project-grid-wide) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Full-width project row under a foundation subpage. */
.project-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
  .project-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.foundation-other-projects {
  margin-top: 4rem;
  padding-bottom: 4rem;
}

.instrument-collection + .foundation-other-projects {
  margin-top: 3rem;
}

/* House of Polyphony: instrument collection under the residencies bar. */
.instrument-collection {
  padding-top: 3rem;
  color: var(--color-dark);
}

.instrument-collection-inner {
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.instrument-collection-summary {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 0 1.25rem;
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.instrument-collection-summary::-webkit-details-marker,
.instrument-collection-summary::marker {
  display: none;
  content: none;
}

.instrument-collection-summary:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.site-core .instrument-collection-title {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
}

.instrument-collection-arrow::after {
  content: "\2193";
  display: inline-block;
  color: var(--color-dark);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.instrument-collection-details.is-open > .instrument-collection-summary .instrument-collection-arrow::after {
  transform: rotate(180deg);
}

.instrument-collection-details[open] > .instrument-collection-body {
  display: block;
}

.instrument-collection-body-inner {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 450ms ease, opacity 450ms ease;
}

.instrument-collection-details.is-open .instrument-collection-body-inner {
  height: auto;
  opacity: 1;
}

.instrument-collection-body-content {
  padding-bottom: 3rem;
}

@media (prefers-reduced-motion: reduce) {
  .instrument-collection-body-inner,
  .instrument-collection-arrow::after {
    transition: none;
  }
}

.instrument-collection-text {
  max-width: 44rem;
}

.instrument-collection-intro p:last-child::after {
  content: " \2193";
}

.instrument-collection-subtitle {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.instrument-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .instrument-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .instrument-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.instrument-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.instrument-card-photo--empty {
  background-color: var(--color-photo-placeholder);
}

.site-core .instrument-card-name {
  margin: 0.7rem 0 0.25rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
}

.instrument-card-description {
  margin: 0;
  color: var(--color-dark);
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0.72;
}

.content-carousel {
  --content-carousel-gutter: 1.5rem;
  position: relative;
  padding: 1.75rem 0 2.75rem;
  overflow: hidden;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
  background-color: var(--color-surface-peach);
  color: var(--color-dark);
}

.research-page-extra {
  margin-top: 2.5rem;
}

.research-page-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.research-page-documents {
  margin: 0;
  padding-left: 1.1rem;
}

.news-grid-wrap {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

.site-core .news-grid-title {
  margin: 0 0 1.5rem;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.25rem;
  font-weight: 400;
}

.news-grid-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.content-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}

.content-carousel-contained .content-carousel-header,
.content-carousel-contained .content-carousel-track,
.content-carousel-contained.festival-showcase .content-carousel-scroller {
  padding-right: 0;
  padding-left: 0;
}

.content-carousel-contained .content-carousel-scroller {
  min-width: 0;
  max-width: 100%;
}

.site-core .content-carousel-title {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.25rem;
  font-weight: 400;
}

.content-carousel-controls {
  display: flex;
  gap: 0.75rem;
}

.content-carousel-arrow {
  padding: 0.25rem;
  background: none;
  border: 0;
  color: var(--color-dark);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.content-carousel-arrow:hover,
.content-carousel-arrow:focus-visible {
  color: var(--color-primary);
}

.content-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.content-carousel-arrow:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.content-carousel-scroller {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.content-carousel-scroller::-webkit-scrollbar {
  display: none;
}

.content-carousel-scroller:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: -2px;
}

.content-carousel-scroller.is-dragging,
.content-carousel-scroller.is-dragging .content-carousel-card {
  cursor: grabbing;
}

.content-carousel-track {
  display: flex;
  align-items: flex-start;
  gap: var(--content-carousel-gutter);
  width: max-content;
  padding: 0 1.5rem;
}

.content-carousel-card {
  display: flex;
  flex: 0 0 clamp(16rem, 22vw, 17rem);
  width: clamp(16rem, 22vw, 17rem);
  flex-direction: column;
  color: var(--color-dark);
  text-decoration: none;
}

.content-carousel-card:hover,
.content-carousel-card:focus {
  color: var(--color-dark);
}

.content-carousel-card:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.content-carousel-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.content-carousel-image-placeholder {
  flex: 0 0 auto;
}

.content-carousel-category {
  margin-top: 0.7rem;
  overflow: hidden;
  font-size: 0.65rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-core h3.content-carousel-card-title {
  display: -webkit-box;
  min-height: calc(2 * 1.15em);
  margin: 0.3rem 0 0;
  overflow: hidden;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 400;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.site-core .content-carousel-image + h3.content-carousel-card-title {
  margin-top: 0.7rem;
}

.content-carousel-card:hover .content-carousel-card-title,
.content-carousel-card:focus .content-carousel-card-title {
  color: var(--color-primary);
}

.content-carousel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-top: 0.55rem;
  font-size: 0.65rem;
  line-height: 1.25;
}

.content-carousel-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.content-carousel-meta i {
  flex: 0 0 auto;
  font-size: 0.65rem;
}

.content-carousel-empty {
  margin: 0;
  font-size: var(--font-size-sm);
}

@media (max-width: 575.98px) {
  .content-carousel {
    --content-carousel-gutter: 1rem;
    padding-bottom: 2.25rem;
  }

  .content-carousel-card {
    flex-basis: 12rem;
    width: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-carousel-scroller {
    scroll-behavior: auto;
  }
}

/* Festivals on the Impact page: two large cards, white ground, show-all control. */
.festival-showcase {
  border-bottom: 0;
  background-color: transparent;
  padding: 2.75rem 0 2.25rem;
}

.festival-showcase .content-carousel-track {
  padding-right: 0;
  padding-left: 0;
}

.festival-showcase .content-carousel-scroller {
  container-type: inline-size;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.site-core .festival-showcase .content-carousel-title {
  font-size: 1.75rem;
}

.festival-showcase .content-carousel-controls {
  align-items: center;
  gap: 0.85rem;
}

.festival-showcase .content-carousel-arrow {
  color: var(--color-primary);
  font-size: 1rem;
}

.festival-showcase .content-carousel-arrow:hover,
.festival-showcase .content-carousel-arrow:focus-visible {
  color: var(--color-primary-dark);
}

.festival-showcase .content-carousel-card {
  flex-basis: calc((100cqi - var(--content-carousel-gutter)) / 2);
  width: calc((100cqi - var(--content-carousel-gutter)) / 2);
}

.festival-showcase .content-carousel-image {
  aspect-ratio: 3 / 2;
}

.festival-showcase .content-carousel-category {
  margin-top: 0.85rem;
  font-size: 0.75rem;
}

.site-core .festival-showcase h3.content-carousel-card-title {
  display: block;
  min-height: 0;
  margin-top: 0.35rem;
  font-size: 1.5rem !important;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.festival-showcase-text {
  display: -webkit-box;
  margin: 0.7rem 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  color: var(--color-dark);
  font-size: var(--font-size-sm);
  line-height: 1.45;
}

.festival-showcase .content-carousel-meta {
  margin-top: 0.85rem;
  font-size: 0.8rem;
}

.festival-showcase .content-carousel-meta i {
  font-size: 0.8rem;
}

.festival-showcase.is-expanded .content-carousel-scroller {
  overflow: visible;
  cursor: default;
}

.festival-showcase.is-expanded .content-carousel-track {
  flex-wrap: wrap;
  width: 100%;
}

.festival-showcase.is-expanded .content-carousel-scroller.is-dragging,
.festival-showcase.is-expanded .content-carousel-scroller.is-dragging .content-carousel-card {
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .festival-showcase .content-carousel-header {
    align-items: flex-start;
  }

  .festival-showcase .content-carousel-card {
    flex-basis: 100cqi;
    width: 100cqi;
  }
}

.impact-grid {
  padding: 2.75rem 0 2.25rem;
  color: var(--color-dark);
}

.impact-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.site-core .impact-grid-title {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.impact-grid-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem 1.5rem;
}

.impact-grid-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--color-dark);
  text-decoration: none;
}

.impact-grid-card:hover,
.impact-grid-card:focus {
  color: var(--color-dark);
}

.impact-grid-card:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 4px;
}

.impact-grid-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.site-core h3.impact-grid-card-title {
  margin: 0.35rem 0 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 400;
  line-height: 1.25;
}

.impact-grid-date {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.3;
}

.impact-grid-date i {
  flex: 0 0 auto;
  font-size: 0.8rem;
}

.impact-grid-card:hover h3.impact-grid-card-title,
.impact-grid-card:focus-visible h3.impact-grid-card-title {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .impact-grid-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.research-archive {
  padding-bottom: 4rem;
  color: var(--color-dark);
}

.research-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.site-core .research-archive-title {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.75rem;
  font-weight: 400;
}

.research-archive-filter {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}

.research-archive-filter-label {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  background-color: var(--color-primary);
  color: var(--color-surface);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-archive-select-wrap {
  position: relative;
  display: flex;
}

.research-archive-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.research-archive-filter select {
  min-width: 12rem;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: var(--btn-border-width) dashed var(--color-primary-light);
  border-left: 0;
  border-radius: 0;
  appearance: none;
  background-color: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.research-archive-filter select:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.research-archive-head,
.research-archive-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(9rem, 0.7fr);
  column-gap: 2rem;
  align-items: baseline;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.research-archive-head {
  padding-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: bold;
}

.research-archive-head span:first-child {
  padding-left: 0.75rem;
}

.site-core .research-archive-search {
  align-self: center;
  width: 14rem;
  margin-right: 1rem;
  border-bottom-color: var(--color-primary);
  color: var(--color-dark);
}

.site-core .research-archive-search::placeholder {
  color: var(--color-primary-light);
}

.site-core .research-archive-search:focus {
  border-bottom-color: var(--color-primary);
  box-shadow: 0 1px 0 var(--color-primary);
  color: var(--color-dark);
}

.research-archive-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.research-archive-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.research-archive-sort:hover,
.research-archive-sort:focus-visible,
.research-archive-sort.is-active {
  color: var(--color-primary);
}

.research-archive-sort:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.research-archive-sort-arrow::after {
  content: "\2193";
  display: inline-block;
  color: var(--color-dark);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1;
}

.research-archive-sort-arrow-asc::after {
  transform: rotate(180deg);
}

.research-archive-empty {
  padding: 2rem 0.75rem;
  margin: 0;
  color: var(--color-primary);
}

.research-archive-row {
  padding: 0.7rem 0;
  color: inherit;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  text-decoration: none;
}

.research-archive-row:hover,
.research-archive-row:focus-visible {
  background-color: var(--color-surface-peach);
  color: inherit;
}

.research-archive-row:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.site-core .research-archive-name {
  overflow: hidden;
  padding-left: 0.75rem;
  font-family: var(--font-family-heading) !important;
  font-size: 1.125rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.research-archive-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (max-width: 767.98px) {
  .research-archive-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .research-archive-filter {
    width: 100%;
  }

  .research-archive-select-wrap {
    flex: 1 1 auto;
  }

  .research-archive-filter select {
    width: 100%;
    min-width: 0;
  }

  .research-archive-head {
    display: none;
  }

  .research-archive-head.research-archive-head-sortable {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 0.75rem;
    font-size: 0.7rem;
  }

  .research-archive-filter {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .research-archive-search {
    width: 100%;
    margin-right: 0;
  }

  .research-archive-filter-label {
    flex: 0 0 auto;
  }

  .research-archive-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 0.2rem;
  }

  .research-archive-name {
    grid-column: 1 / -1;
    white-space: normal;
  }
}

.research-categories {
  padding: 1rem 0 3rem;
}

.research-category {
  padding: 2.25rem 0 1.5rem;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.research-category:last-child {
  border-bottom: 0;
}

.research-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.research-category-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.research-category-heading .research-category-title {
  min-width: 0;
}

.research-category-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-secondary);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.research-category-info:hover,
.research-category-info:focus-visible {
  color: var(--color-secondary-dark);
}

.research-category-info:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
  border-radius: 50%;
}

.research-category-info .research-category-info-fill,
.research-category-info:not(.collapsed) .research-category-info-outline {
  display: none;
}

.research-category-info:not(.collapsed) .research-category-info-fill {
  display: inline-block;
}

.site-core .research-category-title {
  margin: 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

.research-category-all,
.home-more {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
  border: var(--btn-border-width) dashed var(--color-primary);
  background: none;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.research-category-all:hover,
.research-category-all:focus-visible,
.home-more:hover,
.home-more:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-surface);
}

.research-category-all:focus-visible,
.home-more:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.research-category-intro {
  max-width: 46rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.research-category-intro.collapsing,
.research-category-intro.show {
  padding-top: 0.85rem;
}

.research-category-intro p:last-child {
  margin-bottom: 0;
}

.research-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 992px) {
  .research-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.project-card:hover,
.project-card:focus {
  color: inherit;
}

.project-card:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.project-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.site-core h3.project-card-title {
  margin: 0.9rem 0 0;
  color: var(--color-dark);
  font-family: var(--font-family-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 400;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.project-card:hover .project-card-title {
  color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
  .site-core .project-card-title {
    transition: none;
  }
}

.foundation-subpage {
  padding-bottom: 4rem;
  color: var(--color-dark);
}

.resource-page {
  padding-bottom: 4rem;
  color: var(--color-dark);
}

.resource-page-content {
  margin-top: 1.75rem;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.resource-page-content > * + * {
  margin-top: 1.5rem;
}

.resource-page-content > .block-subtitle + * {
  margin-top: 0.5rem;
}

.resource-page-content .block-two_column > div {
  display: grid;
  gap: 1.5rem 2rem;
}

.resource-page-content .block-two_column img {
  order: 2;
  float: none !important;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  background-color: var(--color-photo-placeholder);
}

.resource-page-content .block-two_column .opacity-80 {
  order: 1;
  opacity: 1 !important;
}

.resource-page-content .block-two_column p,
.resource-page-content .block-rich_text p {
  line-height: 1.6;
}

.resource-page-content .block-two_column p:last-child,
.resource-page-content .block-rich_text p:last-child {
  margin-bottom: 0;
}

.resource-page-content .block-two_column ul,
.resource-page-content .block-rich_text ul {
  padding-left: 1.15rem;
}

.resource-page-action {
  display: inline-block;
  margin-right: 1rem;
}

.resource-page-content .block-gallery {
  margin-top: 2.5rem;
}

.resource-page-content .gallery {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
}

.resource-page-content .gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.resource-page-content .gallery-item-caption {
  font-size: 0.75rem;
  line-height: 1.35;
}

.resource-page-content .tns-nav {
  display: none;
}

/* Gallery carousel (CarouselBlock): images fill the full width, dots are never
   shown and the arrows are centered on the left/right edge of the carousel. */
.tns-carousel-wrapper.gallery {
  margin-right: 0;
  margin-left: 0;
}

.tns-carousel-wrapper.gallery .tns-nav {
  display: none;
}

.tns-carousel-wrapper.gallery .gallery-item {
  display: block;
}

.tns-carousel-wrapper.gallery .gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* The arrows are centered on the image edge. When at least one arrow is
   enabled the carousel is inset by the arrow radius plus a little breathing
   room, so the buttons stay inside the available width. When everything fits
   (all arrows disabled/hidden) the carousel uses the full width. */
.tns-carousel-wrapper.gallery {
  --gallery-btn-size: 2.75rem;
  --gallery-btn-gap: 0.5rem;
}

.tns-carousel-wrapper.gallery:has([data-controls]:not([disabled])) {
  padding-right: calc(var(--gallery-btn-size) / 2 + var(--gallery-btn-gap));
  padding-left: calc(var(--gallery-btn-size) / 2 + var(--gallery-btn-gap));
}

.tns-carousel-wrapper.gallery [data-controls] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--gallery-btn-size);
  height: var(--gallery-btn-size);
  margin-top: calc(var(--gallery-btn-size) / -2);
  padding: 0;
  font-size: 1.125rem;
  line-height: 1;
}

.tns-carousel-wrapper.gallery [data-controls] > i {
  display: block;
  margin: 0 !important;
  line-height: 1;
}

.tns-carousel-wrapper.gallery [data-controls=prev] {
  left: var(--gallery-btn-gap);
}

.tns-carousel-wrapper.gallery [data-controls=next] {
  right: var(--gallery-btn-gap);
}

@media (max-width: 575.98px) {
  .tns-carousel-wrapper.gallery {
    --gallery-btn-size: 2.25rem;
    --gallery-btn-gap: 0.25rem;
  }

  .tns-carousel-wrapper.gallery [data-controls] {
    font-size: 1rem;
  }
}

/* The site-wide `.site-core *` font rule would otherwise replace the
   LightGallery icon font, making the lightbox buttons invisible. */
.site-core .lg-icon,
.site-core .lg-icon:before,
.site-core .lg-icon:after,
.site-core [class^="lg-"].lg-icon,
.site-tv .lg-icon,
.site-tv .lg-icon:before,
.site-tv .lg-icon:after {
  font-family: "lg" !important;
}

.resource-related {
  padding: 3rem 0 4rem;
  border-top: var(--btn-border-width) dashed var(--color-primary-light);
  color: var(--color-dark);
}

.resource-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
  margin-top: 2rem;
}

.resource-card-kicker {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .resource-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.foundation-subpage-blocks > * + * {
  margin-top: 1.25rem;
}

.foundation-subpage-blocks > .block-subtitle + * {
  margin-top: 0.5rem;
}

.site-core .block-subtitle-heading,
.site-core .block-subtitle h2,
.site-core .block-subtitle h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
  font-family: var(--font-family-body) !important;
  font-size: 1rem;
  font-weight: 700 !important;
  line-height: 1.4;
}

.site-core .block-subtitle:first-child .block-subtitle-heading,
.site-core .block-subtitle:first-child h2,
.site-core .block-subtitle:first-child h3 {
  margin-top: 0;
}

.event-subpage-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin: -0.5rem 0 1.5rem;
  font-size: 0.75rem;
  line-height: 1.25;
}

.event-subpage-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-subpage-meta i {
  flex: 0 0 auto;
  font-size: 0.7rem;
}

.event-subpage-tickets {
  margin-top: 2rem;
}

.event-other-events {
  border-top: var(--btn-border-width) dashed var(--color-primary-light);
}

.event-dates {
  padding-bottom: 3rem;
  color: var(--color-dark);
}

.event-dates-list {
  margin: 0;
  padding: 0;
  border-top: var(--btn-border-width) dashed var(--color-primary-light);
  list-style: none;
}

.event-dates-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  padding: 0.85rem 0;
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
  font-size: var(--font-size-sm);
  line-height: 1.35;
}

.event-dates-row.is-past {
  opacity: 0.55;
}

.event-dates-row.is-past .event-dates-date {
  text-decoration: line-through;
}

.site-core .event-dates-title {
  font-family: var(--font-family-heading) !important;
  font-size: 1.05rem;
}

.event-dates-ensemble {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--font-size-sm);
  opacity: 0.75;
}

.event-dates-location i {
  font-size: 0.7rem;
}

@media (min-width: 768px) {
  .event-dates-row {
    grid-template-columns: 11rem minmax(0, 1.6fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
  }
}

.foundation-intro-text ul {
  margin-bottom: 1.25rem;
  padding-left: 1rem;
}

.foundation-media {
  margin-bottom: 2.5rem;
}

.foundation-media .carousel-item {
  /* Bootstrap overlaps the incoming slide with margin-right: -100%.
     A plain margin: 0 drops that, so both slides stack and the
     carousel jumps down until the transition ends. */
  margin: 0 -100% 0 0;
}

.foundation-media-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

.foundation-media-caption {
  min-height: 1.5rem;
  margin-top: 1rem;
  padding-right: 4.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.foundation-media-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.5rem;
}

.foundation-media-controls button {
  padding: 0.25rem;
  background: none;
  border: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.foundation-media-controls button:hover {
  color: var(--color-primary-dark);
}

.foundation-media-controls button:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

.foundation-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--color-primary-light);
}

.foundation-video + .foundation-video {
  margin-top: 2.5rem;
}

.foundation-video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  cursor: pointer;
}

.foundation-video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foundation-video-play {
  position: relative;
  z-index: 1;
  padding: 0.4rem 0.75rem;
  background-color: var(--color-primary);
  border: var(--btn-border-width) dashed var(--color-primary-light);
  color: var(--color-surface);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--btn-letter-spacing);
  text-transform: uppercase;
  transition: background-color var(--transition-fast);
}

.foundation-video-poster:hover .foundation-video-play {
  background-color: var(--color-primary-dark);
}

.foundation-video-poster:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .foundation-media-controls button,
  .foundation-video-play,
  .video-lightbox-close {
    transition: none;
  }
}

html.video-lightbox-open,
html.video-lightbox-open body {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  background-color: rgba(32, 32, 32, 0.72);
}

.video-lightbox[hidden] {
  display: none !important;
}

.video-lightbox-close {
  position: absolute;
  top: 1.15rem;
  right: 1.75rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-surface);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
}

.video-lightbox-close:hover,
.video-lightbox-close:focus-visible {
  color: var(--color-primary-light);
}

.video-lightbox-close:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 3px;
}

.video-lightbox-stage {
  min-width: 0;
}

.video-lightbox-frame {
  width: min(100%, calc((100dvh - 8rem) * 16 / 9));
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  background-color: #111;
}

.video-lightbox-frame iframe,
.video-lightbox-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer .with-bullet,
.footer-contact {
  font-size: var(--font-size-sm);
}

.footer-address {
  display: block;
}

.footer .with-bullet {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
}

.footer .with-bullet::before {
  content: '•';
  flex-shrink: 0;
  color: var(--color-surface);
}

.footer .with-bullet a:hover,
.footer .with-bullet a:focus-visible,
.footer a.footer-contact:hover,
.footer a.footer-contact:focus-visible {
  font-weight: 700;
}

.footer .btn-icon:hover,
.footer .btn-icon:focus-visible {
  color: var(--color-primary-light) !important;
}

.dropdown-item:hover, .dropdown-item:focus {
  color: var(--color-brand) !important;
}

.icon-box a.card-body {
  text-decoration: none;
}

.icon-box a.card-body:hover, .icon-box a.card-body:focus {
  cursor: pointer;
}

.icon-box:hover .icon-box-media.text-primary, .icon-box.active .icon-box-media.text-primary, .icon-box.show .icon-box-media.text-primary {
  background-color: var(--color-brand) !important;
  color: var(--color-surface) !important;
  }

.content {
  position: relative;
  overflow: hidden;
}

.content .content-overlay {
  background: var(--color-overlay-strong);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.content:hover .content-overlay {
  opacity: 1;
}

.content-details {
  position: absolute;
  text-align: right;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    top var(--transition-normal),
    opacity var(--transition-normal);
}

.content:hover .content-details {
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h3 {
  color: var(--color-surface) !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  opacity: 1;
}

.content-details p {
  color: var(--color-surface);
  font-size: 0.8em;
}

.fade-in-top {
  top: 20%;
}

.site-core a.nav-link,
.site-core a.nav-link .nav-link-label {
  font-family: var(--font-family-heading) !important;
  font-weight: normal !important;
}

.site-core a.nav-sublink {
  font-family: var(--font-family-body) !important;
  font-weight: normal !important;
}

.site-core a.nav-link {
  font-size: 1.3rem !important;
}

video.alamiretv {
  width: 100%;
  height: 70%;
  object-fit: cover;
}

div.alamiretv p {
  margin-bottom: 0px !important;
}

/* Foundation highlights: cream band, year strip, and the moment timeline. */
.highlights {
  padding: 2.5rem 0 2.25rem;
  background-color: var(--color-surface-cream);
  color: var(--color-dark);
}

/* Full-width standard dashed rules above and below the year row. */
.highlights-years-band {
  padding: 0.85rem 0;
  border-top: var(--btn-border-width) dashed var(--color-primary-light);
  border-bottom: var(--btn-border-width) dashed var(--color-primary-light);
}

.highlights-years {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.highlights-years-nav,
.highlights-year {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--color-dark);
  line-height: 1.2;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.highlights-years-nav {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.highlights-years-nav:hover:not(:disabled) {
  color: var(--color-primary-dark);
}

.highlights-year:hover {
  color: var(--color-primary);
}

.highlights-years-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.highlights-years-nav:focus-visible,
.highlights-year:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.highlights-years-scroller {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.highlights-years-scroller.is-dragging,
.highlights-years-scroller.is-dragging .highlights-year {
  cursor: grabbing;
}

.highlights-years-scroller::-webkit-scrollbar {
  display: none;
}

.highlights-years-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
}

.highlights-year {
  flex: 0 0 auto;
  font-size: 1rem;
  white-space: nowrap;
}

.highlights-year.is-active {
  color: var(--color-primary);
  font-weight: 700;
}

.highlights-board {
  --highlights-inset: 0.75rem;
  --highlights-overlap: 5rem;
  display: grid;
  grid-template-rows: auto 4rem auto;
  grid-auto-columns: minmax(14rem, 16.5rem);
  margin-top: 1rem;
  padding-inline-start: var(--highlights-inset);
  /* The last card overflows its column by the overlap, so the end
     padding includes that before the same inset is left visible. */
  padding-inline-end: calc(var(--highlights-inset) + var(--highlights-overlap));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}

@media (min-width: 992px) {
  .highlights-board {
    --highlights-inset: 3rem;
  }
}

.highlights-board.is-dragging {
  cursor: grabbing;
}

.highlights-board::-webkit-scrollbar {
  display: none;
}

.highlights-axis {
  grid-row: 2;
  align-self: center;
  width: calc(100% + 2 * var(--highlights-inset));
  height: 0;
  margin-left: calc(var(--highlights-inset) * -1);
  border-top: var(--btn-border-width) solid var(--color-primary);
}

.highlights-moment {
  position: relative;
  grid-column: var(--moment-column);
  min-width: 0;
  margin-right: calc(var(--highlights-overlap) * -1);
}

.highlights-moment.is-above {
  grid-row: 1;
  align-self: end;
}

.highlights-moment.is-below {
  grid-row: 3;
  align-self: start;
}

.highlights-moment::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 2rem;
  border-left: 1px dashed var(--color-primary);
}

.highlights-moment.is-above::before {
  top: 100%;
}

.highlights-moment.is-below::before {
  bottom: 100%;
}

.highlights-moment-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlights-moment.is-below .highlights-moment-body {
  flex-direction: column-reverse;
}

.highlights-moment-date {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.highlights-moment-text {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.30;
}

.highlights-moment-text p {
  margin: 0;
}

.highlights-moment-text p + p {
  margin-top: 0.45rem;
}

.highlights-moment-text b,
.highlights-moment-text strong {
  font-weight: 700;
}

.highlights-moment-text i,
.highlights-moment-text em {
  font-style: italic;
}

.highlights-moment-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.highlights-moment-more {
  margin-top: 0.55rem;
}

.highlights-media {
  position: relative;
}

.highlights-media-scroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.highlights-media-scroller::-webkit-scrollbar {
  display: none;
}

.highlights-media-scroller img,
.highlights-media-video iframe {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  scroll-snap-align: start;
  background-color: var(--color-photo-placeholder);
}

.highlights-media-video iframe {
  display: block;
  border: 0;
}

.highlights-media-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(32, 32, 32, 0.88);
  color: var(--color-surface);
  font-size: 0.8rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.highlights-media-nav[data-highlights-media-dir="-1"] {
  left: 0;
  transform: translate(-50%, -50%);
}

.highlights-media-nav[data-highlights-media-dir="1"] {
  right: 0;
  transform: translate(50%, -50%);
}

.highlights-media-nav:hover:not(:disabled),
.highlights-media-nav:focus-visible:not(:disabled) {
  background-color: rgba(32, 32, 32, 1);
}

.highlights-media-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.highlights-media-nav:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .highlights-board {
    grid-auto-columns: minmax(13rem, 72vw);
  }
}

.form-control-other {
  display: none;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem 0.75rem;
  background: none;
  border: 0;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}

.partner-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
  transition: filter var(--transition-fast);
}

.partner-logo:hover img,
.partner-logo:focus-visible img {
  filter: none;
}

.partner-logo:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.partner-group-label {
  font-weight: 400;
}

/* Content, project and past partners: smaller than founding and structural */
.partner-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--bs-gutter-x, 1.5rem);
  row-gap: 1rem;
  margin-bottom: 1rem;
}

.partner-grid-compact .partner-logo {
  padding: 0.65rem 0.4rem;
}

@media (min-width: 992px) {
  .partner-grid-compact {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* Foundation: past partners (collapsible section) */
.site-core .past-partners-toggle,
.site-core .past-partners-toggle:hover,
.site-core .past-partners-toggle:focus-visible {
  color: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.past-partners-arrow::after {
  content: "\2193";
  display: inline-block;
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.past-partners-toggle:not(.collapsed) .past-partners-arrow::after {
  transform: rotate(180deg);
}

.donation-title {
  margin: 0 0 1.25rem;
  color: var(--color-dark);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

.site-core .donation-title {
  font-family: var(--font-family-heading) !important;
}

.donation-copy,
.donation-benefits,
.donation-payment {
  font-size: 0.92rem;
  line-height: 1.5;
}

.donation-copy p,
.donation-payment p {
  margin: 0 0 1rem;
}

.donation-benefits-title,
.donation-endowment-intro {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.donation-benefits ul {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
}

.donation-benefits li {
  margin-bottom: 0.35rem;
}

.donation-benefits li:last-child {
  margin-bottom: 0;
}

.donation-endowment-intro {
  margin-top: 0.35rem;
}

.donation-tiers {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.donation-tier {
  padding: 1.35rem 1.25rem 1.15rem;
  border: 1px dashed var(--color-secondary-dark);
  color: var(--color-secondary-dark);
  text-align: center;
  transition: background-color var(--transition-fast);
}

.donation-tier:hover,
.donation-tier:focus-within {
  background-color: var(--color-secondary-light);
}

.donation-tier:focus-visible {
  outline: 2px solid var(--color-secondary-dark);
  outline-offset: 3px;
}

.donation-tier-heading {
  margin: 0;
  color: var(--color-secondary-dark);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.donation-tier-name {
  text-transform: uppercase;
}

.donation-tier-amount {
  margin-left: 0.45rem;
}

.donation-tier-text {
  max-width: 26rem;
  margin: 0.4rem auto 0;
  color: var(--color-secondary-dark);
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .donation-tier {
    transition: none;
  }
}

.donation-payment {
  margin-top: 1.75rem;
}

.donation-payment p:last-child,
.donation-copy p:last-child {
  margin-bottom: 0;
}

.donation-other-copy {
  margin-bottom: 1.5rem;
}

.donation-other-card {
  display: block;
  color: var(--color-dark);
  text-decoration: none;
}

.donation-other-card:hover,
.donation-other-card:focus {
  color: var(--color-dark);
}

.donation-other-card:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 4px;
}

.donation-other-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-photo-placeholder);
}

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

  .content-overlay,
  .content-details,
  .past-partners-arrow::after,
  .partner-logo img,
  .site-header .navbar,
  .site-header .nav-subitems,
  .highlights-years-nav,
  .highlights-year {
    transition: none;
  }
}
