/* ==========================================================================
   WEBFONT
   ========================================================================== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v19-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v19-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-v18-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-v18-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

/* ==========================================================================
   DESIGN TOKENS (palette, shadow, colori base)
   ========================================================================== */
:root {
  --white: #ffffff;
  --lightgrey: #f0f0f0;
  --darkgrey: #bebebe;
  --text: #333333;
  --darkblue: #1a315d;
  --blue: #225dd7;
  --border: #d8dce5;
  --shadow: 0 12px 28px rgba(26, 49, 93, 0.08);
}

/* ==========================================================================
   RESET + TIPOGRAFIA GLOBALE
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--darkblue); }
a:focus-visible {
  outline: 2px solid #225dd7;
  outline-offset: 2px;
}
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: #0b1733;
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 1rem;
  outline: 3px solid #225dd7;
  outline-offset: 2px;
}

#main-content:focus {
  outline: none;
}

h1, h2, h3, h4 {
  font-family: "Inter", Arial, sans-serif;
  color: var(--darkblue);
}
strong {
  font-family: inherit;
  font-weight: 700;
  color: var(--darkblue);
}

code,
pre code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
}

.code-inline {
  display: inline-block;
  background: #0d1f42;
  border: 1px solid #295398;
  border-radius: 0.35rem;
  padding: 0.1rem 0.38rem;
  color: #f8fbff;
}

.code-inline .code-token--tag {
  color: #bad7ff;
}

.code-inline .code-token--keyword {
  color: #8de6ff;
}

.code-inline .code-token--string {
  color: #aef5b0;
}

.code-inline .code-token--variable {
  color: #ffd98f;
}

.code-inline .code-token--operator {
  color: #fff4a3;
}

.code-block {
  margin: 0.65rem 0 1.1rem;
  background: #0f2348;
  border: 1px solid #214887;
  border-radius: 0.55rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
}

.code-block code {
  color: #f8fbff;
  line-height: 1.5;
}

.code-token--tag {
  color: #9ec5ff;
}

.code-token--keyword {
  color: #7ad7ff;
  font-weight: 700;
}

.code-token--string {
  color: #9de99f;
}

.code-token--variable {
  color: #ffd37f;
}

.code-token--operator {
  color: #f9f39b;
}

h2 {
  font-size: 32px;
  font-weight: 400;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ==========================================================================
   TOP BAR (link esterni rapidi)
   ========================================================================== */
.topbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--darkgrey);
  background: var(--white);
  font-size: 0.8em;
}
.topbar-inner,
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar-inner { justify-content: flex-end; min-height: 62px; }
.header-inner { justify-content: space-between; }
.it-unipi-link {
  color: var(--blue);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
}
.unipi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  line-height: 1;
}
.unipi-link__seal {
  width: 36px;
  height: auto;
}
.unipi-link__text {
  letter-spacing: -0.02em;
}
.unipi-link__arrow {
  width: 16px;
  height: auto;
}
.it-unipi-link:hover,
.unipi-link:hover {
  color: var(--darkblue);
}

/* ==========================================================================
   HEADER + BRAND
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--darkgrey);
}
.header-inner {
  min-height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  color: inherit;
}
.brand-title {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 220ms ease;
}
.brand:hover .brand-title {
  opacity: 0.88;
}
.brand-title__identity {
  color: var(--blue);
  font-weight: 500;
}
.brand-title__divider {
  color: #5f6f8c;
  font-weight: 300;
}
.brand-title__text {
  color: #2f3a4a;
}

/* ==========================================================================
   NAVIGAZIONE PRINCIPALE + MEGA DROPDOWN
   ========================================================================== */
.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.site-nav a {
  color: var(--darkblue);
  font-weight: 600;
  font-family: "Inter";
  font-size: 0.9em;
}
.site-nav a:hover {
  color: #225dd7;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown--mega {
  position: static;
}
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--darkblue);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown summary:hover {
  color: #225dd7;
}
.nav-dropdown summary:focus-visible {
  outline: 2px solid #225dd7;
  outline-offset: 2px;
}
.nav-dropdown[open] summary {
  color: #225dd7;
}
.nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.nav-dropdown summary::after {
  content: "\25be";
  font-size: 0.72em;
}
.nav-dropdown-menu {
  display: none;
}
.nav-dropdown-menu--mega {
  display: block;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  background: var(--white);
  border: 1px solid #e2e6ef;
  border-left: 0;
  border-right: 0;
  box-shadow: var(--shadow);
  padding: 2.6rem max(1rem, calc((100vw - 1120px) / 2)) 2rem;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 260ms ease, visibility 0s linear 260ms;
}
.nav-dropdown-menu a {
  display: block;
  font-weight: 400;
  padding: 0.2rem 0;
  white-space: nowrap;
}
.nav-dropdown[open] .nav-dropdown-menu {
  display: block;
}
.nav-dropdown[open] .nav-dropdown-menu--mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-dropdown-mega-grid {
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: 3rem;
  align-items: start;
}
.nav-dropdown-mega-title h3 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  line-height: 1.08;
  color: #1a315d;
}
.nav-dropdown-mega-copy {
  margin: 0.8rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #4f5e79;
  max-width: 30ch;
}
.site-nav .nav-dropdown-mega-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #225dd7;
  text-decoration: none;
}
.site-nav .nav-dropdown-mega-link:hover,
.site-nav .nav-dropdown-mega-link:focus-visible {
  color: #225dd7;
}
.nav-dropdown-mega-items {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}
.nav-dropdown-mega-items a {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #243b67;
  white-space: normal;
}
.nav-dropdown-mega-items a:hover {
  color: #225dd7;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--darkblue);
  background: var(--white);
  color: var(--darkblue);
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  font: inherit;
}

/* ==========================================================================
   HERO + CONTENUTI INTRODUTTIVI
   ========================================================================== */
.hero {
  padding: 5rem 0 4rem;
  background: var(--white);
}
.identity-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.identity-content .intro-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--darkblue);
  opacity: 1;
  transition: opacity 220ms ease;
}
.identity-content .intro-text:hover {
  opacity: 0.88;
}
.identity-content ul {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}
.identity-content li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}
.identity-content li::before {
  content: "●";
  color: var(--blue);
  position: absolute;
  left: 0;
  font-size: 0.8em;
}
.identity-image img {
  width: 100%;
  height: auto;
}
.image-hover-fade {
  opacity: 1;
  transition: opacity 220ms ease;
}
.image-hover-fade:hover {
  opacity: 0.88;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}
.lead {
  font-size: 1.2rem;
  max-width: 60ch;
}
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
/* ==========================================================================
   BOTTONI, BADGE E CARD BASE
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 0;
  font-weight: 700;
}
.btn:focus-visible {
  outline: 3px solid #0b1733;
  outline-offset: 2px;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: #1a53c8;
  color: #fff;
}
.btn-secondary {
  background: var(--white);
  color: var(--darkblue);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--white);
  border-color: var(--border);
  color: #225dd7;
}
.badge-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
.badge-primary {
  background: #225dd7;
  color: #ffffff;
}
.badge-secondary {
  background: #e5eaf5;
  color: #1a315d;
}
.badge-success {
  background: #eef8f0;
  color: #1f4d2f;
}
.badge-warning {
  background: #fff7e6;
  color: #7a5600;
}
.badge-danger {
  background: #fdeeee;
  color: #8f1d1d;
}
.badge-with-count {
  position: relative;
  display: inline-flex;
}
.badge-count {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: #1a315d;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
/* ==========================================================================
   SEZIONI STANDARD + QUICK LINKS (card full width)
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}
.quick-links-section {
  padding: 0;
}
.quick-link-card {
  display: block;
  min-height: 280px;
  padding: 2.2rem 1.5rem;
  background: #ededed;
  border: 1px solid #f6f6f6;
  color: #333333;
  text-decoration: none;
  transition: background-color 320ms ease, color 320ms ease, box-shadow 220ms ease;
}
.quick-link-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--blue);
}
.quick-link-card p {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: inherit;
}
.quick-link-card:hover,
.quick-link-card:focus-visible {
  background: #225dd7;
  color: #ffffff;
}
.quick-link-card:hover h3,
.quick-link-card:focus-visible h3 {
  color: #ffffff;
}
.showcase-block .identity-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ==========================================================================
   ACCESSIBILITÀ: riduzione movimento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .video-hero-bg video {
    display: none;
  }
  .video-hero {
    background: #0b1733;
  }
}

/* ==========================================================================
   LAYOUT MODULARI, FORM E COMPONENTI INFORMATIVI
   ========================================================================== */
.recovery-form {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.7rem;
}
.recovery-form label {
  font-weight: 700;
  color: var(--blue);
}
.recovery-form input[type="text"],
.recovery-form input[type="email"] {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--border);
  font: inherit;
  background: var(--white);
}
.recovery-form textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--border);
  font: inherit;
  background: var(--white);
  resize: vertical;
}
.recovery-form input:focus,
.recovery-form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid #225dd7;
  outline-offset: 2px;
}
.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.3rem;
}
.checkbox-row input {
  width: 1rem;
  height: 1rem;
}
.recovery-form .btn {
  margin-top: 0.5rem;
  justify-self: start;
  border-radius: 0;
  border: 0;
}
.assist-accordion {
  margin-top: 1.4rem;
}
.assist-accordion-item {
  border-bottom: 1px solid #4a4a4a;
}
.assist-accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--darkblue);
  font-family: inherit;
  font-size: 1em;
  font-weight: 700;
  padding: 1.35rem 0;
}
.assist-accordion-item summary:hover {
  color: #225dd7;
}
.assist-accordion-item[open] summary {
  color: #225dd7;
}
.assist-accordion-item summary::-webkit-details-marker {
  display: none;
}
.assist-accordion-item summary::after {
  content: "+";
  color: var(--darkblue);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1;
}
.assist-accordion-item summary:hover::after {
  color: #225dd7;
}
.assist-accordion-item[open] summary::after {
  content: "\2212";
  color: #225dd7;
}
.assist-accordion-content {
  padding: 0.1rem 0 1.5rem;
  max-width: 72ch;
}

/* ==========================================================================
   PAGINE SPECIFICHE (notification / faq)
   ========================================================================== */
.faq-page {
  max-width: 980px;
}
.faq-page h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin: 0 0 1rem;
}
.faq-page > p {
  max-width: 72ch;
  margin: 0 0 2rem;
}
.faq-topic-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
}
.faq-topic-link {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  background: var(--white);
  color: var(--darkblue);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.faq-topic-link:hover {
  color: var(--blue);
}
.faq-section + .faq-section {
  margin-top: 2.5rem;
}
.faq-section h2 {
  margin: 0 0 1rem;
}
.faq-section .assist-accordion {
  margin-top: 0;
}
.faq-section .assist-accordion-item:first-child {
  border-top: 1px solid #4a4a4a;
}
.faq-section .assist-accordion-content p:first-child {
  margin-top: 0;
}
.faq-section .assist-accordion-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   ALERT E MICRO-COMPONENTI
   ========================================================================== */
.alert {
  padding: 1.15rem 1.25rem;
  border: 1px solid transparent;
  border-left-width: 4px;
  line-height: 1.45;
}
.alert + .alert {
  margin-top: 1.25rem;
}
.alert-success {
  background: #eef8f0;
  border-color: #71b883;
  color: #1f4d2f;
}
.alert-warning {
  background: #fff7e6;
  border-color: #d9a514;
  color: #7a5600;
}
.alert-danger {
  background: #fdeeee;
  border-color: #cf3d3d;
  color: #8f1d1d;
}
/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.5rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li + li { margin-top: 0.5rem; }
.footer-legal {
  margin-top: 1.6rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-legal p {
  margin: 0;
  text-align: left;
  font-size: 0.9rem;
  color: #5f6f8c;
}
.footer-privacy-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--darkblue);
  text-decoration: none;
}
.footer-privacy-link:hover,
.footer-privacy-link:focus-visible {
  color: #225dd7;
}

/* ==========================================================================
   COVER / VIDEO HERO
   ========================================================================== */
.video-hero {
  position: relative;
  min-height: 72vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  align-items: center;
}
.video-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.video-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-hero-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 36, 0.82) 0%, rgba(8, 16, 36, 0.62) 42%, rgba(8, 16, 36, 0.38) 100%);
  z-index: 1;
}
.video-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 64ch;
  padding: 4.5rem 0;
}
.video-hero-content h1 {
  color: #ffffff;
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}
.video-hero-content p {
  margin: 0 0 1.5rem;
}
.image-cover-hero {
  position: relative;
  min-height: 64vh;
  width: 100%;
  margin-top: 2rem;
  background-color: #1a315d;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: grid;
  align-items: center;
}

@media (min-width: 1200px) {
  .image-cover-hero {
    background-attachment: fixed;
    background-position: center 20%;
  }
}
.image-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.36) 100%);
}
.image-cover-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 62ch;
  padding: 4rem 0;
}
.image-cover-content h2 {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}
.image-cover-content h1 {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}
.image-cover-content p {
  margin: 0 0 1.4rem;
}

/* ==========================================================================
   OVERRIDE STILI WORDPRESS (quando il template è integrato in WP)
   ========================================================================== */
/* WP block styles */
.wp-block-aab-accordion-block {
  box-shadow: none;
}

.wp-block-file a {
  font-size: 18px;
}

a.wp-block-file__button.wp-element-button {
  display: none;
}

/* ==========================================================================
   RESPONSIVE <= 900px
   ========================================================================== */
@media (max-width: 900px) {
  .faq-topic-nav,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .identity-content {
    order: 1;
  }
  .identity-image {
    order: 2;
  }
  .brand-title {
    font-size: 1.5em;
    letter-spacing: -0.01em;
  }
  .topbar-inner {
    min-height: 54px;
  }
  .it-unipi-link {
    font-size: 0.95em;
  }
  .unipi-link {
    gap: 0.35rem;
    font-size: 0.95em;
  }
  .unipi-link__seal {
    width: 30px;
  }
  .unipi-link__arrow {
    width: 14px;
  }
  .video-hero {
    min-height: 60vh;
  }
  .video-hero-content {
    padding: 3.2rem 0;
  }
  .image-cover-hero {
    min-height: 52vh;
    background-attachment: scroll;
  }
  .image-cover-content {
    padding: 3rem 0;
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--darkgrey);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown summary {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 0.35rem 0 0.4rem 0.8rem;
  }
  .nav-dropdown:not([open]) .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown-menu--mega {
    transform: none;
    left: auto;
    top: auto;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0.45rem 0 0.65rem 0.8rem;
  }
  .nav-dropdown-mega-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .nav-dropdown-mega-title h3 {
    font-size: 1.15rem;
  }
  .nav-dropdown-mega-title {
    display: none;
  }
  .nav-dropdown-mega-items {
    gap: 0.45rem;
  }
  .nav-dropdown-mega-items a {
    font-size: 0.95rem;
    font-weight: 500;
  }
  .site-nav.is-open { display: flex; }
  .menu-toggle {
    display: inline-flex;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    overflow: hidden;
    align-items: center;
    justify-content: center;
  }
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: #225dd7;
    transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
  }
  .menu-toggle::before {
    box-shadow: 0 -6px 0 #225dd7, 0 6px 0 #225dd7;
  }
  .menu-toggle::after {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
    box-shadow: none;
  }
  .menu-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg);
  }
  .menu-toggle:focus-visible {
    outline: 2px solid #225dd7;
    outline-offset: 2px;
  }

}
