html {
  --primary: #1d3c6b;
  --primary-dark: #0d192b;
  --primary-text: #5a5e63;
  --light-text: #787cad;
  --dark-text: #242424;
  --on-dark-text: white;
  --dark-border: #aca8d4;
  --light-border: #e0e0e0;
  --background: #eef3f7;
  --bright-background: white;
  --soft-highlight: #f5f5f5;
  --link: black;
  --font-size-xxxl: 3rem;
  --font-size-xxl: 2.25rem;
  --font-size-xl: 1.5rem;
  --font-size-lg: 1.2rem;
  --font-size-md: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-xs: 0.75rem;
  --line-height-xxxl: 2.5;
  --line-height-xxl: 2;
  --line-height-xl: 1.75;
  --line-height-lg: 1.5;
  --line-height-md: 1.25;
  --line-height-sm: 1;
  --line-height-xs: 0.875;
  --space-size-xxxl: 5rem;
  --space-size-xxl: 4rem;
  --space-size-xl: 3rem;
  --space-size-lg: 2rem;
  --space-size-md: 1.5rem;
  --space-size-sm: 1rem;
  --space-size-xs: 0.5rem;
  --large-border-radius: 10px;
  --medium-border-radius: 5px;
  --small-border-radius: 3px;
  --text-opacity-muted: 0.75;
}

/* Source: https://piccalil.li/blog/a-more-modern-css-reset/ */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  margin: 0;
  padding: 0;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  margin: 0;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

html, body {
  background-image: var(--background-image);
  /* Add these two lines below: */
  background-repeat: no-repeat; /* Prevents the image from tiling */
  background-attachment: fixed; /* Fixes the image relative to the viewport */
  /* You might also want these for better control: */
  background-size: cover; /* Ensures the image covers the whole area */
  overscroll-behavior: none; /* Disable native overscroll bounce */
}

p {
  line-height: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

pre code {
  display: block;
  padding: 0.5rem;
  text-wrap: wrap;
}

ul, ol {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

code {
  vertical-align: bottom;
}

body {
  position: relative;
}

a {
  color: var(--link);
  text-underline-offset: 0.2ex;
  transition: text-decoration-thickness 200ms ease;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

.dark {
  background: var(--primary);
}
.dark, .dark a {
  color: var(--on-dark-text);
}

main > section {
  margin-top: 6em;
  margin-bottom: 6em;
}

html {
  font-family: "Sarabun", sans-serif;
  -webkit-font-smoothing: antialiased;
}

p, li {
  color: var(--primary-text);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  line-height: 1.5rem;
}
h1 + p, h1 + ul, h1 + ol, h1 + blockquote, h1 + table, h2 + p, h2 + ul, h2 + ol, h2 + blockquote, h2 + table, h3 + p, h3 + ul, h3 + ol, h3 + blockquote, h3 + table, h4 + p, h4 + ul, h4 + ol, h4 + blockquote, h4 + table, h5 + p, h5 + ul, h5 + ol, h5 + blockquote, h5 + table, h6 + p, h6 + ul, h6 + ol, h6 + blockquote, h6 + table {
  margin-top: 0.5rem;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: var(--primary);
  text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  text-decoration: underline;
}

h1, .u-step-1 {
  font-size: var(--font-size-xxxl);
  line-height: var(--line-height-xl);
  margin-bottom: var(--space-size-xl);
}

h2, .u-step-2 {
  font-size: var(--font-size-xxl);
  line-height: var(--line-height-lg);
  margin-bottom: var(--space-size-sm);
}

h3, .u-step-3 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-md);
}

h4, .u-step-4 {
  font-size: var(--font-size-lg);
}

h5, .u-step-5 {
  font-size: var(--font-size-md);
}

h6, .u-step-6 {
  font-size: var(--font-size-sm);
}

.dropdown > button.focus-rotate svg {
  transition: transform 250ms ease;
}
.dropdown:focus-within:not(.dropdown-js) > .dropdown-menu, .dropdown.dropdown-js.is-active > .dropdown-menu {
  visibility: visible;
  max-height: none;
}
.dropdown:focus-within:not(.dropdown-js) > button.focus-rotate svg, .dropdown.dropdown-js.is-active > button.focus-rotate svg {
  transform: rotate(90deg);
}

.dropdown-menu {
  visibility: hidden;
  max-height: 0;
}

.wrapper {
  margin-inline: auto;
  padding-inline: 1rem;
  max-width: 80rem;
  margin-top: 0;
}

.wrapper-header {
  margin-inline: auto;
  padding-inline: 3rem; /* Increased padding-inline */
  /* max-width: 90rem; -- Removed for full width */
  width: 100%; /* Ensure it spans full width */
  margin-top: 0;
}

.v-center {
  display: flex;
  flex-direction: column; /* Stack children vertically */
  justify-content: center; /* Center stack vertically */
}

.center-text {
  text-align: center;
}

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

.tight-container {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  /* Styles for dark-background hero text */
}
.tight-container.dark-hero-text {
  color: var(--on-dark-text);
  text-align: center;
  max-width: 900px;
}
.tight-container.dark-hero-text h2 {
  font-size: var(--font-size-xxl);
  line-height: var(--line-height-lg);
  margin-bottom: var(--space-size-md);
  color: var(--on-dark-text);
}
.tight-container.dark-hero-text p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
  margin-bottom: var(--space-size-lg);
  color: var(--on-dark-text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.tight-container.dark-hero-text .button {
  color: var(--on-dark-text);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6em 1.4em;
  border: 2px solid transparent;
  font-size: var(--font-size-md);
  background: var(--primary);
}
.tight-container.dark-hero-text .button:hover {
  background: var(--logo-blue);
}

.white-box-section {
  padding-top: var(--space-size-lg);
  padding-bottom: var(--space-size-lg);
  margin-top: var(--space-size-lg);
}
.white-box-section .wrapper {
  background: var(--bright-background); /* Reverted to white box */
  padding: var(--space-size-lg);
  border-radius: var(--small-border-radius);
}
.white-box-section .wrapper .cards {
  column-gap: 2rem;
}
.white-box-section .wrapper .card {
  text-align: left;
  background: transparent;
  padding: 1.5rem;
  border: 1px solid var(--light-border); /* Subtle border for definition */
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  border-radius: var(--small-border-radius);
}
.white-box-section .wrapper .card .media {
  grid-column: 1;
  grid-row: 1;
  height: 1.5rem;
  width: 1.5rem;
  margin: 0;
}
.white-box-section .wrapper .card .media svg {
  stroke: var(--logo-teal);
}
.white-box-section .wrapper .card .text {
  display: contents;
}
.white-box-section .wrapper .card .text h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.1rem;
}
.white-box-section .wrapper .card .text p {
  grid-column: 1/span 2;
  grid-row: 2;
  margin-top: 1rem;
  color: var(--primary-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Styles for components */
.icon {
  width: 1.4rem;
  height: 1.4rem;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-block;
  padding: 0;
  border-radius: 20em;
  transition: background 100ms ease-out;
}
.icon svg {
  transition: opacity 300ms ease-out;
  padding: 0.3rem;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}
.icon:hover {
  background: rgba(0, 0, 0, 0.2);
}
.icon:hover svg {
  opacity: 1;
}

.dark .icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.highlight-video {
  object-fit: cover;
  object-position: center;
  height: 500px;
  width: 100%;
}

.card {
  background: var(--bright-background);
  position: relative;
  border-radius: var(--small-border-radius);
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.card .media {
  width: 100%;
  height: 280px;
  overflow: hidden;
  /* Target both direct img and those inside picture tags */
}
.card .media picture, .card .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card .media img {
  transition: transform 250ms ease;
}
.card:hover .media img {
  transform: scale(1.1);
}
.card .text {
  padding: 1rem;
}
.card .text h3 {
  margin-top: 0;
}
.card .text h3 a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  column-gap: 1rem;
  row-gap: 1rem;
}

footer.main {
  padding-bottom: 0;
}
footer.main a {
  text-decoration: none;
  opacity: 0.8;
}
footer.main a:hover {
  opacity: 1;
  text-decoration: underline;
}
footer.main .footer-top-band {
  background-color: var(--bright-background);
  padding: var(--footer-top-pad, 1.5rem) 0;
  color: var(--primary);
}
footer.main .footer-top-band .wrapper {
  padding-inline: var(--footer-top-wrapper-inline, 1rem);
}
footer.main .footer-top-band h4 {
  margin-top: 0; /* Remove default top margin to fix uneven spacing */
  margin-bottom: 0.5rem;
  color: var(--primary);
}
footer.main .footer-top-band h4 a {
  color: var(--primary);
  opacity: 1;
}
footer.main .footer-top-band a {
  color: var(--primary);
}
footer.main .footer-top-band nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: var(--footer-top-gap, 3rem);
  row-gap: var(--footer-top-row-gap, 1.5rem);
  margin: 0; /* Ensure no margin shift */
  padding-inline: var(--footer-top-nav-inline, 0);
  width: 100%;
}
footer.main .footer-top-band nav a {
  display: block;
}
footer.main .footer-top-band nav section {
  min-width: 0;
  width: max-content;
  flex: 0 1 max-content;
  display: flex;
  flex-direction: column;
  gap: var(--footer-top-col-gap, 0.25rem);
  text-align: left;
  align-items: flex-start;
}
footer.main .footer-bottom-band {
  background-color: var(--primary);
  padding: 1rem 0;
  color: var(--on-dark-text);
}
footer.main .footer-bottom-band .bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center; /* Perfectly center the stack */
  font-size: 0.95rem;
  margin: 0 auto;
}
footer.main .footer-bottom-band .bottom h5 {
  margin: 0;
  font-weight: normal;
}
footer.main .footer-bottom-band .bottom .footer-info-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  width: 100%;
}
footer.main .footer-bottom-band .bottom nav {
  display: flex;
  column-gap: 1rem;
  align-items: center;
}
footer.main .footer-bottom-band .bottom .socials {
  display: flex;
  justify-content: center;
  column-gap: 0.5rem;
}
footer.main .footer-bottom-band .bottom .socials .icon {
  width: 2rem;
  height: 2rem;
}
footer.main .footer-bottom-band .bottom .socials .icon svg {
  stroke: var(--on-dark-text);
}

.split-with-image {
  display: flex;
  flex-wrap: wrap;
  background: var(--bright-background);
  border-radius: var(--small-border-radius);
}
.split-with-image .col {
  flex-basis: 315px;
  flex-grow: 1;
}
.split-with-image .col.img-cover:first-child img {
  border-top-left-radius: var(--small-border-radius);
  border-bottom-left-radius: var(--small-border-radius);
}
.split-with-image .col.img-cover:last-child img {
  border-top-right-radius: var(--small-border-radius);
  border-bottom-right-radius: var(--small-border-radius);
}
.split-with-image .content {
  padding: 2rem;
}
.split-with-image .img-cover picture {
  height: 100%;
}
.split-with-image .img-cover img {
  object-fit: cover;
  object-position: center;
  min-height: 400px;
  height: 100%;
  width: 100%;
  aspect-ratio: 1/1;
}
.split-with-image.reverse .img-cover {
  order: 2;
}

.c-contact {
  background: var(--contact-bg, var(--bright-background));
  color: var(--contact-text, var(--dark-text));
  padding: var(--space-size-xxl) 0;
  margin-top: var(--contact-margin-top);
  margin-bottom: var(--contact-margin-bottom);
}
.c-contact__grid {
  display: grid;
  gap: var(--contact-gap, var(--space-size-xl));
  grid-template-columns: var(--contact-columns-mobile, 1fr);
}
.c-contact__heading {
  margin-bottom: var(--space-size-lg);
}
.c-contact__heading h2 {
  margin-top: 0;
  color: var(--contact-accent, var(--logo-blue));
}
.c-contact__info h2 {
  margin-top: 0;
}
.c-contact__details {
  margin-top: var(--space-size-md);
  display: grid;
  row-gap: var(--space-size-sm);
}
.c-contact__detail {
  display: grid;
  row-gap: 0.25rem;
}
.c-contact__label {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: var(--contact-label-letter-spacing, normal);
  color: var(--contact-accent, var(--logo-blue));
}
.c-contact__map iframe {
  width: 100%;
  height: var(--contact-map-height);
  border: 0;
  border-radius: var(--medium-border-radius);
}
.c-contact__form {
  background: var(--contact-card-bg, var(--bright-background));
  color: var(--dark-text);
  padding: var(--space-size-lg);
  border-radius: var(--medium-border-radius);
  box-shadow: var(--contact-card-shadow, none);
}
.c-contact__form h3 {
  margin-top: 0;
  color: var(--contact-accent, var(--logo-blue));
}
.c-contact__form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
}
.c-contact__form input, .c-contact__form textarea {
  width: 100%;
  padding: var(--contact-input-padding, var(--space-size-sm));
  margin-bottom: var(--space-size-sm);
  border: 1px solid var(--light-border);
  border-radius: var(--small-border-radius);
  font-family: inherit;
}
.c-contact__form select {
  width: 100%;
  padding: var(--contact-input-padding, var(--space-size-sm));
  margin-bottom: var(--space-size-sm);
  border: 1px solid var(--light-border);
  border-radius: var(--small-border-radius);
  font-family: inherit;
  background: var(--bright-background);
}
.c-contact__row {
  display: grid;
  gap: var(--space-size-sm);
  grid-template-columns: var(--contact-row-columns, 1fr);
}
.c-contact__field {
  display: block;
}
@media screen and (min-width: 760px) {
  .c-contact__row {
    grid-template-columns: 1fr 1fr;
  }
}
.c-contact__field-note, .c-contact__submit-note {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-sm);
  color: var(--primary-text);
  margin-top: -0.25rem;
  margin-bottom: var(--space-size-sm);
}
.c-contact__submit-note {
  margin-top: var(--space-size-xs);
  margin-bottom: 0;
}
.c-contact__form textarea {
  min-height: var(--contact-textarea-min-height);
  resize: vertical;
}
.c-contact__form .button {
  width: 100%;
  justify-content: center;
  background: var(--contact-accent, var(--logo-blue));
  color: var(--on-dark-text);
}
@media screen and (min-width: 760px) {
  .c-contact__grid {
    grid-template-columns: var(--contact-columns-desktop, 1fr);
    align-items: start;
  }
}

.button {
  background: var(--primary);
  color: var(--on-dark-text);
  text-decoration: none;
  border: 0;
  border-radius: var(--small-border-radius);
  padding: var(--space-size-sm) var(--space-size-sm);
  cursor: pointer;
  transition: background 200ms ease-out;
  font-size: var(--font-size-md);
  font-weight: bold;
  display: inline-block;
}
.button:hover {
  background: var(--primary-dark);
}
.button.push-top {
  margin-top: var(--space-size-sm);
}

.button-secondary {
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid var(--primary);
  border-radius: var(--small-border-radius);
  padding: var(--space-size-sm) var(--space-size-sm);
  cursor: pointer;
  transition: background 200ms ease-out;
  font-size: var(--font-size-md);
  font-weight: bold;
  display: inline-block;
}
.button-secondary:hover {
  background: var(--soft-highlight);
  text-decoration: none;
}

.stats {
  container-type: inline-size;
  container-name: stats-container;
}
.stats dl {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--primary);
  color: var(--on-dark-text);
  border: 1px solid #333;
  width: 100%;
  padding: var(--space-size-sm) var(--space-size-lg);
  border-radius: var(--large-border-radius);
  margin-top: 4rem;
}
.stats dl .stat {
  display: flex;
  flex-direction: column-reverse;
  flex-grow: 1;
  padding: var(--space-size-lg) 0;
}
.stats dl dt {
  text-align: center;
}
.stats dl dd {
  margin-left: 0;
  font-size: var(--font-size-xxxl);
  text-align: center;
  line-height: var(--line-height-sm);
}

@container stats-container (min-width: 450px) {
  .stats dl {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container stats-container (min-width: 900px) {
  .stats dl {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.full-image-container {
  padding-top: var(--space-size-xs);
  position: relative;
  color: var(--on-dark-text);
  min-height: 600px;
  max-height: 1000px;
}
.full-image-container .full-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.full-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 350px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, black 80%);
  z-index: 1;
}
.full-image-container .wrapper {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
}

.events {
  background: var(--bright-background);
  margin-top: -50px;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--small-border-radius);
  padding: var(--space-size-md) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  row-gap: 2em;
}
.events .event {
  text-align: center;
  border-right: 1px solid var(--light-border);
  padding: 0 var(--space-size-sm);
}
.events .event:last-child {
  border-right: 0;
}
.events .event time {
  font-size: var(--font-size-lg);
  color: var(--primary);
}
.events .event h3 {
  margin-top: var(--space-size-xs);
}
.events .event p {
  color: var(--light-text);
  font-size: var(--font-size-md);
}

nav.main-desktop,
div.main-desktop {
  font-size: 1.2rem;
  display: flex;
  column-gap: 1.5rem;
  align-items: center;
  /* Apply hover effect to span for text-only underline */
  /* Arrow styling */
  /* When a top-level item is a link (not a dropdown button), match the same casing */
  /* Contact: Logo Blue */
  /* Portal: Logo Teal */
}
nav.main-desktop a:not([class^=button]),
nav.main-desktop button,
div.main-desktop a:not([class^=button]),
div.main-desktop button {
  text-decoration: none;
  text-underline-offset: 0.4ex;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--primary); /* Dark text for white bg */
  transition: color 200ms ease;
  letter-spacing: 0.02em;
}
nav.main-desktop a:not([class^=button]):hover,
nav.main-desktop button:hover,
div.main-desktop a:not([class^=button]):hover,
div.main-desktop button:hover {
  color: var(--logo-teal); /* Teal hover */
  text-decoration: none;
}
nav.main-desktop button span,
div.main-desktop button span {
  display: inline-block;
  padding-bottom: 2px;
  transition: border-bottom-color 200ms ease;
}
nav.main-desktop .dropdown > button svg,
div.main-desktop .dropdown > button svg {
  height: 1em;
  vertical-align: middle;
  transition: transform 250ms ease, height 200ms ease;
  stroke: none;
  fill: var(--primary); /* Dark arrow for white bg */
  color: var(--primary);
}
nav.main-desktop button:hover svg,
div.main-desktop button:hover svg {
  transform: scale(1.1);
  fill: var(--logo-teal); /* Teal on hover to match text */
  color: var(--logo-teal);
}
nav.main-desktop a.dropdown-menu-button,
div.main-desktop a.dropdown-menu-button {
  color: var(--primary);
  letter-spacing: 0.02em;
}
nav.main-desktop a.dropdown-menu-button:hover,
div.main-desktop a.dropdown-menu-button:hover {
  color: var(--logo-teal);
}
nav.main-desktop a.button,
div.main-desktop a.button {
  background: transparent;
  color: var(--on-dark-text);
  border: 2px solid var(--logo-blue);
  border-radius: var(--small-border-radius);
  padding: 0.6em 1.4em;
  font-weight: 500;
  font-size: var(--font-size-md);
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: all 200ms ease;
  border-bottom: 2px solid var(--logo-blue);
}
nav.main-desktop a.button:hover,
div.main-desktop a.button:hover {
  background: var(--logo-blue);
  color: var(--on-dark-text);
  text-decoration: none !important;
}
nav.main-desktop a.button-secondary,
div.main-desktop a.button-secondary {
  background: transparent;
  color: var(--on-dark-text);
  border: 2px solid var(--logo-teal);
  border-radius: var(--small-border-radius);
  padding: 0.6em 1.4em;
  font-weight: 600;
  font-size: var(--font-size-md);
  letter-spacing: 0.05em;
  box-shadow: none;
  transition: all 200ms ease;
  border-bottom: 2px solid var(--logo-teal);
  margin-right: 1rem;
}
nav.main-desktop a.button-secondary:hover,
div.main-desktop a.button-secondary:hover {
  background: var(--logo-teal);
  border-color: var(--logo-teal);
  color: var(--on-dark-text);
  text-decoration: none !important;
}
nav.main-desktop .dropdown,
div.main-desktop .dropdown {
  /* Hover and Focus States to Open Menu */
}
nav.main-desktop .dropdown .dropdown-menu,
div.main-desktop .dropdown .dropdown-menu {
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}
nav.main-desktop .dropdown:focus-within:not(.dropdown-js), nav.main-desktop .dropdown.dropdown-js.is-active, nav.main-desktop .dropdown:hover .dropdown-menu,
div.main-desktop .dropdown:focus-within:not(.dropdown-js),
div.main-desktop .dropdown.dropdown-js.is-active,
div.main-desktop .dropdown:hover .dropdown-menu { /* Ensure hover works if JS is missing/different */ }
nav.main-desktop .dropdown:focus-within:not(.dropdown-js) > button, nav.main-desktop .dropdown.dropdown-js.is-active > button, nav.main-desktop .dropdown:hover .dropdown-menu > button,
div.main-desktop .dropdown:focus-within:not(.dropdown-js) > button,
div.main-desktop .dropdown.dropdown-js.is-active > button,
div.main-desktop .dropdown:hover .dropdown-menu > button {
  color: var(--logo-teal);
  text-decoration: none;
}
nav.main-desktop .dropdown:focus-within:not(.dropdown-js) > button span, nav.main-desktop .dropdown.dropdown-js.is-active > button span, nav.main-desktop .dropdown:hover .dropdown-menu > button span,
div.main-desktop .dropdown:focus-within:not(.dropdown-js) > button span,
div.main-desktop .dropdown.dropdown-js.is-active > button span,
div.main-desktop .dropdown:hover .dropdown-menu > button span {
  color: var(--logo-teal);
  text-decoration: none;
}
nav.main-desktop .dropdown:focus-within:not(.dropdown-js) > button svg, nav.main-desktop .dropdown.dropdown-js.is-active > button svg, nav.main-desktop .dropdown:hover .dropdown-menu > button svg,
div.main-desktop .dropdown:focus-within:not(.dropdown-js) > button svg,
div.main-desktop .dropdown.dropdown-js.is-active > button svg,
div.main-desktop .dropdown:hover .dropdown-menu > button svg {
  transform: rotate(90deg) scale(1.1);
  stroke: none;
  fill: var(--logo-teal); /* Teal on active */
  color: var(--logo-teal);
}
nav.main-desktop .dropdown:focus-within:not(.dropdown-js) > .dropdown-menu, nav.main-desktop .dropdown.dropdown-js.is-active > .dropdown-menu, nav.main-desktop .dropdown:hover .dropdown-menu > .dropdown-menu,
div.main-desktop .dropdown:focus-within:not(.dropdown-js) > .dropdown-menu,
div.main-desktop .dropdown.dropdown-js.is-active > .dropdown-menu,
div.main-desktop .dropdown:hover .dropdown-menu > .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  nav.main-desktop .dropdown-menu,
  div.main-desktop .dropdown-menu {
    transition: none;
    transform: none;
  }
}
nav.main-desktop .dropdown-menu,
div.main-desktop .dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
}
nav.main-desktop .dropdown-content,
div.main-desktop .dropdown-content {
  display: flex;
  justify-content: center;
  border-top: 4px solid var(--logo-teal);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: var(--small-border-radius);
  border-bottom-right-radius: var(--small-border-radius);
  padding: 2rem;
  margin-top: 1.5rem;
  background: var(--bright-background);
  column-gap: 4rem;
  flex-wrap: wrap;
}
nav.main-desktop .dropdown-content header,
div.main-desktop .dropdown-content header {
  color: var(--primary); /* Dark Blue headers for contrast */
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--light-border); /* Subtle divider */
  padding-bottom: 0.5rem;
}
nav.main-desktop .dropdown-content header a,
div.main-desktop .dropdown-content header a {
  color: var(--primary); /* Force link color to header color */
  opacity: 1; /* Ensure full visibility */
  text-decoration: none;
}
nav.main-desktop .dropdown-content header a:hover,
div.main-desktop .dropdown-content header a:hover {
  color: var(--primary-dark); /* Subtle darker hover */
  text-decoration: underline;
}
nav.main-desktop .dropdown-content ul,
div.main-desktop .dropdown-content ul {
  list-style: none;
  padding: 0;
}
nav.main-desktop .dropdown-content ul li,
div.main-desktop .dropdown-content ul li {
  margin: var(--space-size-xs) 0;
}
nav.main-desktop .dropdown-content ul a,
div.main-desktop .dropdown-content ul a {
  text-decoration: none;
  color: var(--dark-text);
  opacity: 0.8;
  font-weight: normal;
  border-bottom: 0;
}
nav.main-desktop .dropdown-content ul a:hover,
div.main-desktop .dropdown-content ul a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--dark-text);
  border-bottom: 0;
}

.main-mobile > button.mobile-menu-button {
  text-decoration: none;
  text-underline-offset: 0.3ex;
  border: 0;
  background: none;
  cursor: pointer;
  outline: 1px solid rgba(255, 255, 255, 0);
  transition: outline 200ms ease;
  display: flex;
}
.main-mobile > button.mobile-menu-button svg {
  width: 2em;
}
.main-mobile > button.mobile-menu-button:hover {
  outline: 1px solid var(--primary);
}
.main-mobile .mobile-dropdown-content .dropdown-menu-button {
  width: 100%;
  border: 0;
  background: var(--bright-background);
  font-size: var(--font-size-lg);
  font-weight: bold;
  padding: var(--space-size-sm);
  cursor: pointer;
  text-align: left;
  border-top: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-mobile .mobile-dropdown-content .dropdown-menu-button svg {
  width: 1rem;
  margin-right: var(--space-size-sm);
}
.main-mobile .mobile-dropdown-content .dropdown-menu-button:hover {
  background: var(--background);
}
.main-mobile:focus-within:not(.dropdown-js) .mobile-menu, .main-mobile.dropdown-js.is-active .mobile-menu {
  transform: translateX(0);
}
.main-mobile .mobile-menu {
  position: absolute;
  top: 86px;
  right: 0;
  background: var(--bright-background);
  z-index: 200;
  max-width: 400px;
  width: 100%;
  transform: translateX(2000px);
  transition: transform 200ms ease;
}
.main-mobile .mobile-menu .inner-mobile-menu {
  border-top: 1px solid var(--light-border);
  padding: var(--space-size-sm);
  font-size: var(--font-size-lg);
}
.main-mobile .mobile-menu .inner-mobile-menu header {
  font-size: var(--font-size-lg);
  font-weight: bold;
  margin-bottom: 0;
  margin-top: var(--space-size-md);
}
.main-mobile .mobile-menu .inner-mobile-menu ul {
  margin: 0;
}

.logo-bar-bg {
  background-color: var(--bright-background); /* White main bar */
}

header.top {
  background-color: transparent; /* Removed global blue */
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;
}
header.top nav.sub {
  background-color: var(--primary); /* Blue utility bar */
  display: none;
  font-size: var(--font-size-md);
  padding: 0.25rem;
}
@media screen and (min-width: 760px) {
  header.top nav.sub {
    display: block;
  }
}
header.top nav.sub .wrapper {
  display: flex;
  column-gap: 2rem; /* Increased spacing */
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
}
header.top nav.sub a {
  text-decoration: none;
  opacity: 0.8;
  display: flex;
  align-items: center;
  column-gap: 0.5rem; /* Space between icon and text */
}
header.top nav.sub a svg {
  height: 1.1rem;
  width: auto;
  stroke: currentColor;
  fill: none;
}
header.top nav.sub a:hover {
  text-decoration: underline;
  opacity: 1;
}

.logo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: var(--space-size-sm);
  padding-bottom: var(--space-size-sm);
  container-type: inline-size;
  container-name: logo-bar-container;
  /* Default Mobile: Hide desktop parts */
}
.logo-bar nav.main-desktop,
.logo-bar div.main-desktop {
  display: none;
}
.logo-bar nav.main-mobile {
  display: block;
}
.logo-bar h1 {
  margin: 0;
  padding: 0;
  line-height: 1rem;
}
.logo-bar h1 a {
  display: flex;
  align-items: center;
}
.logo-bar h1 img {
  height: 60px; /* Explicit height to prevent collapse */
  max-height: 80px;
  width: auto;
  max-width: 300px;
}
@media screen and (min-width: 760px) {
  .logo-bar {
    /* Desktop Grid Layout: [Logo] [Nav] */
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    /* Logo - Aligned Left */
    /* Nav Links - Aligned Right */
    /* Actions - Gone */
  }
  .logo-bar h1 {
    justify-self: start;
  }
  .logo-bar nav.main-desktop {
    display: flex;
    justify-self: end;
  }
  .logo-bar div.main-desktop.actions {
    display: none;
  }
  .logo-bar nav.main-mobile {
    display: none;
  }
}
@media screen and (min-width: 760px) {
  .logo-bar {
    padding-top: var(--space-size-lg);
    padding-bottom: var(--space-size-lg);
  }
}

.dropdown-menu-button {
  color: var(--primary); /* Dark for white background */
}

/*# sourceMappingURL=style.css.map */
