:root {
  --navy: #06153b;
  --blue: #064ea4;
  --cyan: #00b8e5;
  --soft: #eaf6ff;
  --text: #193153;
  --page: #f2f9ff;
  --font: Manrope, 'Trebuchet MS', sans-serif;
  --wrap: min(100rem, calc(100% - 2 * clamp(1rem, 2.6vw, 3rem)));
}

.wrap { width: var(--wrap); margin-inline: auto; }
:where(.header, .footer, [data-v3-dialog]) svg { width: 1.2rem; height: 1.2rem; flex: none; }
.skip { position: fixed; top: .65rem; left: .65rem; z-index: 10; padding: .65rem; background: #fff; opacity: 0; transform: translateY(-200%); }
.skip:focus { opacity: 1; transform: none; }

/* Original lockup, motto and working navigation. */
.header { position: relative; z-index: 4; background: linear-gradient(114deg, #fff, #f4f9fe); box-shadow: 0 1px 0 #fff9; }
.topbar { position: relative; min-height: clamp(4.75rem, 5.9vw, 6.2rem); display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.6rem); }
.brand { flex: none; }
.brand img { width: clamp(11rem, 16.5vw, 17.1rem); height: auto; }
.motto { flex: none; border-left: 1px solid #9fb6d3; padding-left: clamp(.6rem, 1.25vw, 1.2rem); font-size: clamp(.8rem, 1.15vw, 1.13rem); font-weight: 600; line-height: 1.08; }
.motto strong { display: block; color: #006b9d; font-size: 1.34em; font-weight: 800; }
.nav { display: flex; align-items: center; gap: clamp(.7rem, 1.65vw, 1.75rem); margin-left: auto; font-size: clamp(.78rem, 1.02vw, .98rem); font-weight: 700; }
.nav > a, .nav summary { position: relative; display: flex; align-items: center; min-height: 3rem; white-space: nowrap; }
.nav > a:hover, .nav summary:hover { color: #006b9d; }
.nav > a[aria-current='page']::after, .nav .v3-nav-current::after { content: ''; position: absolute; inset: auto -.25rem -.1rem; height: .16rem; border-radius: .2rem; background: linear-gradient(90deg, #0052bb, #00cee8); }
.dropdown [aria-current='page'] { color: #064ea4; background: #e9f5ff; }
details { position: relative; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.nav summary { gap: .32rem; }
.nav summary svg { width: .8rem; height: .8rem; }
.dropdown { position: absolute; top: calc(100% + .35rem); left: 0; z-index: 5; min-width: 12rem; padding: .4rem; border: 1px solid #cfe0ef; border-radius: .8rem; background: #fff; box-shadow: 0 .7rem 2rem #12396d21; }
.dropdown a { display: flex; align-items: center; min-height: 2.6rem; padding: .4rem .65rem; border-radius: .45rem; font-size: .86rem; font-weight: 700; }
.dropdown a:hover { background: #e9f5ff; }
.top-actions { display: flex; flex: none; align-items: center; gap: clamp(.45rem, .95vw, .9rem); }
.search-button, .mobile summary { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: #e9f3fb; }
.search-button:hover, .mobile summary:hover { background: #d8ebfb; }
.mobile { display: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: .6rem; min-height: 2.85rem; padding: .62rem 1rem; border: 1px solid transparent; border-radius: 5rem; font-size: .9rem; line-height: 1.25; font-weight: 800; }
.btn svg { width: 1.13rem; height: 1.13rem; }
.primary { color: #fff; background: linear-gradient(143deg, #0879b8 0%, #064cae 48%, #081b77 100%); box-shadow: 0 .55rem 1.5rem #0658ae1c, inset 0 1px #b1e6ff53; }
.primary:hover { background: #083b8b; }
.secondary { border-color: #8dc9eb; background: #f9fdfff0; color: var(--navy); }
.secondary:hover { background: #e2f5ff; }
.join { white-space: nowrap; }

.footer { background: #082652; color: #f1f8ff; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.15rem; font-size: .83rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.footer a { display: inline-flex; align-items: center; min-height: 2.5rem; }
.footer a:hover { text-decoration: underline; }
@media (max-width: 28rem) {
  .footer-inner > * { width: 100%; }
}

.footer-contact { display: grid; gap: .15rem; }
.footer-contact a { overflow-wrap: anywhere; }

/* Institutional notice shared with the legacy layout. */
.site-popup { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .22s; }
.site-popup.is-visible { visibility: visible; opacity: 1; }
.site-popup__overlay { position: absolute; inset: 0; width: 100%; border: 0; background: #06153bb8; }
.site-popup__dialog { position: relative; width: min(32rem, calc(100% - 2.8rem)); border-radius: 1rem; padding: .5rem; background: #fff; box-shadow: 0 1rem 3rem #0006; }
.site-popup__media img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: .65rem; }
.site-popup__close { position: absolute; top: -.75rem; right: -.75rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #c8dbee; border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; }

.results { margin: .85rem 0 0; padding: 0; list-style: none; }
.results a { display: flex; justify-content: space-between; align-items: center; gap: .3rem; min-height: 2.55rem; padding: .25rem .3rem; border-bottom: 1px solid #d8e6f3; color: #075095; font-size: .89rem; font-weight: 800; }
.results a:hover { background: #e8f5ff; }
#empty { margin-top: .8rem; }

[data-v3-dialog] { width: min(35rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); margin: auto; padding: clamp(1.25rem, 4vw, 2.2rem); border: 1px solid #b5d1e7; border-radius: 1.3rem; background: #f8fcff; color: var(--navy); box-shadow: 0 1rem 4rem #00163857; }
[data-v3-dialog]::backdrop { background: #051a3baa; }
[data-v3-dialog] h2 { margin-right: 2.15rem; margin-bottom: .65rem; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.12; letter-spacing: -.04em; }
[data-v3-dialog] p { color: var(--text); }
.dialog-close { position: absolute; top: .66rem; right: .66rem; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 0; border-radius: 50%; background: #e7f2fd; }

[data-v3-dialog] label { display: block; margin: .6rem 0 .35rem; font-size: .86rem; font-weight: 700; }
[data-v3-dialog] input { width: 100%; min-height: 2.85rem; padding: .55rem .7rem; border: 1px solid #95b2d0; border-radius: .52rem; background: #fff; }

@media (max-width: 80rem) { .motto { display: none; } }

@media (max-width: 62rem) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .mobile { display: block; }
  .mobile .dropdown { left: auto; right: 0; }
}

@media (max-width: 47.5rem) {
  .topbar { min-height: 4.35rem; }
  .brand img { width: clamp(8.8rem, 37vw, 11rem); }
  .top-actions .join { display: none; }
}
