/* ============================================================
   MMDD – Multi-Mission Dry Dock   |   Site Stylesheet
   Mirrors the Figma Make prototype (MmddDraftHome/index.tsx)
   ============================================================ */

/* ── Google Fonts: Epilogue ── */
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Epilogue:wght@400;500;600;700;800&display=swap");

/*
  Liberator is a commercial typeface.
  Place your licensed font files in /wwwroot/fonts/ and
  uncomment the block below.

@font-face {
    font-family: 'Liberator';
    src: url('/fonts/Liberator-Regular.woff2') format('woff2'),
         url('/fonts/Liberator-Regular.woff')  format('woff');
    font-weight: normal;
    font-style: normal;
}
*/

/* ── Reset / Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #00293e;
  --gold: #f4ac10;
  --blue: #0070b5;
  --light: #c6cad0;
  --bg-alt: rgba(235, 240, 243, 1);
  --white: #ffffff;
  --font-body: "Epilogue", sans-serif;
  --font-display: "Anton", sans-serif;
  --max-w: 1400px;
  --max-w-content: 820px;
  --anchor-header-height: 110.41px;
  --anchor-leading-space: 76px;
}

html {
  scroll-behavior: smooth;
}

/* Compensate anchor jumps for sticky header and section heading spacing. */
section[id] {
  scroll-margin-top: calc(var(--anchor-header-height) - var(--anchor-leading-space));
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
}

a {
  color: var(--blue);
  /* text-decoration: none; */
}

a.gold-text {
  color: var(--gold) !important;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Layout helpers ── */
.mmdd-container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.mmdd-content {
  width: 100%;
  max-width: var(--max-w-content);
  margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.mmdd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mmdd-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 16px;
}

.mmdd-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mmdd-header__logo img {
  max-height: 54px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.mmdd-header__nav menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style-type: none;
}

.mmdd-header__nav menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.13px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
  text-align: center;
  line-height: 1.2;
}

.mmdd-header__nav menu a:hover {
  color: var(--blue);
}

.mmdd-header__nav menu a.active {
  color: var(--blue);
}

/* ── Hamburger Menu (Mobile) ── */
.mmdd-header__hamburger {
  display: none;
  position: relative;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mmdd-header__hamburger:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.mmdd-hamburger__line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mmdd-hamburger__line:nth-child(1) {
  transform: translate(-50%, calc(-50% - 8px));
}

.mmdd-hamburger__line:nth-child(2) {
  transform: translate(-50%, -50%);
}

.mmdd-hamburger__line:nth-child(3) {
  transform: translate(-50%, calc(-50% + 8px));
}

.mmdd-header__hamburger[aria-expanded="true"] .mmdd-hamburger__line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mmdd-header__hamburger[aria-expanded="true"] .mmdd-hamburger__line:nth-child(2) {
  opacity: 0;
}

.mmdd-header__hamburger[aria-expanded="true"] .mmdd-hamburger__line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.mmdd-hero {
  position: relative;
  height: 567px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mmdd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.mmdd-hero__lines {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mmdd-hero__lines span {
  display: block;
  height: 6px;
  background: var(--white);
  width: 100%;
}

.mmdd-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  padding-inline: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 55px;
}

.mmdd-hero__copy {
  max-width: 560px;
  padding: 24px 34px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  background-color: var(--navy);
}

.mmdd-hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 0.96px;
  text-transform: uppercase;
  line-height: 1;
}

.mmdd-hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 80px;
  color: var(--white);
  letter-spacing: -0.8px;
  text-transform: uppercase;
  line-height: 85px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   FACTOID CARDS  (dark container row)
   ============================================================ */
.mmdd-section--factoids {
  width: 100%;
  padding-block: 64px 0;
}

.mmdd-factoids {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 64px;
}

.mmdd-factoid-card {
  flex: 1 0 0;
  background: var(--navy);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.mmdd-factoid-card__icon-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.mmdd-factoid-card__icon-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.3;
  pointer-events: none;
}

.mmdd-factoid-card__number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  width: 100%;
  text-align: center;
}

.mmdd-factoid-card__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   CONTENT SECTIONS (Project Background etc.)
   ============================================================ */
.mmdd-section--white {
  background: var(--white);
  padding-block: 64px;
}

.mmdd-section--alt {
  background: var(--bg-alt);
  padding-block: 64px;
}

.mmdd-section--navy {
  background: var(--navy);
  padding-block: 64px;
}

.mmdd-section--footer {
  background: var(--white);
  padding-block: 64px;
}

.mmdd-content-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mmdd-content-stack--wide {
  gap: 32px;
}

/* Headings */
.mmdd-h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 28px;
  color: var(--navy);
  letter-spacing: 0.84px;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 32px;
}

.mmdd-h2--white {
  color: var(--white);
}

.mmdd-h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.33;
}

.mmdd-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.5;
}

.mmdd-body p+p {
  margin-top: 16px;
}

.mmdd-body a {
  color: var(--blue);
}

.mmdd-body--white,
.mmdd-body--white p {
  color: var(--white);
}

.mmdd-label-bold {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.5;
}

/* ── Chevron bullet list ── */
.mmdd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mmdd-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.5;
}

.mmdd-list__bullet {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.mmdd-list__bullet--blue path {
  fill: var(--blue);
}

/* ── Anchor link in list (EIS section) ── */
.mmdd-list a {
  color: var(--blue);
  font-weight: 500;
}

/* ── Images ── */
.mmdd-image-container {
  display: flex;
  gap: 16px;
}

/* ============================================================
   ACCORDION  (FAQ)
   ============================================================ */
.mmdd-accordion {
  border-top: 2px solid var(--light);
  width: 100%;
}

.mmdd-accordion__item {
  border-bottom: 2px solid var(--light);
}

.mmdd-accordion__item.is-open {
  background-color: var(--bg-alt);
}

.mmdd-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 12px 16px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.mmdd-accordion__trigger-text {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.5;
}

.mmdd-accordion__icon {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  background-image: url("/icons/expand.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: background-image 0.2s ease;
  display: block;
}

.mmdd-accordion__item.is-open .mmdd-accordion__icon {
  background-image: url("/icons/collapse.svg");
}

.mmdd-accordion__item.is-open .mmdd-accordion__trigger-text {
  font-weight: 700;
}

.mmdd-accordion__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.5;
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease,
    visibility 0s linear 0s;
  pointer-events: none;
}

.mmdd-accordion__item.is-open .mmdd-accordion__panel {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  padding: 0.5rem 2.5rem 0.5rem 2.5rem;
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease,
    visibility 0s linear 0s;
}

.mmdd-accordion__panel p {
  margin-bottom: 1rem;
}

/* ============================================================
   SIGN-UP FORM  (Umbraco Forms styling overrides)
   ============================================================ */
.mmdd-form-wrap {
  width: 100%;
}

/* Umbraco Forms renders a <form class="umb-form"> */
.mmdd-section--navy .umb-form,
.mmdd-section--navy form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mmdd-section--navy .umb-form .field-validation-error {
  color: var(--gold);
  font-size: 13px;
}

/* Labels */
.mmdd-section--navy .umb-form label,
.mmdd-section--navy form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--light);
  margin-bottom: 4px;
}

.mmdd-section--navy .umb-form label .required,
.mmdd-section--navy form label abbr {
  color: var(--gold);
  text-decoration: none;
}

/* Inputs, textareas, selects */
.mmdd-section--navy .umb-form input[type="text"],
.mmdd-section--navy .umb-form input[type="email"],
.mmdd-section--navy .umb-form input[type="tel"],
.mmdd-section--navy .umb-form select,
.mmdd-section--navy .umb-form textarea,
.mmdd-section--navy form input[type="text"],
.mmdd-section--navy form input[type="email"],
.mmdd-section--navy form input[type="tel"],
.mmdd-section--navy form select,
.mmdd-section--navy form textarea {
  display: block;
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
  outline: none;
  transition: border-color 0.15s ease;
}

.mmdd-section--navy .umb-form input:focus,
.mmdd-section--navy .umb-form select:focus,
.mmdd-section--navy .umb-form textarea:focus,
.mmdd-section--navy form input:focus,
.mmdd-section--navy form select:focus,
.mmdd-section--navy form textarea:focus {
  border-color: var(--white);
}

.mmdd-section--navy .umb-form textarea,
.mmdd-section--navy form textarea {
  height: 142px;
  resize: vertical;
}

.mmdd-section--navy .umb-form select,
.mmdd-section--navy form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10.1231 9.99995L6.28974 6.16662L7.83328 4.62307L13.2102 9.99995L7.83328 15.3768L6.28974 13.8333L10.1231 9.99995Z' fill='%23ffffff' transform='rotate(90 10 10)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 36px;
}

.mmdd-section--navy .umb-form option,
.mmdd-section--navy form option {
  background: var(--navy);
  color: var(--white);
}

/* Form placeholders */
.mmdd-section--navy :placeholder {
  color: var(--light);
}

.mmdd-section--navy :-ms-input-placeholder {
  color: var(--light);
}

/* Form field groups */
.mmdd-section--navy .umbraco-forms-field,
.mmdd-section--navy .umb-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.umbraco-forms-hidden {
  display: none;
}

/* Submit / Clear buttons */
.mmdd-section--navy .umb-form .btn,
.mmdd-section--navy .umb-form button[type="submit"],
.mmdd-section--navy form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 16px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  background: var(--blue);
  transition: opacity 0.15s ease;
}

.mmdd-section--navy .umb-form .btn:hover,
.mmdd-section--navy form button[type="submit"]:hover {
  opacity: 0.85;
}

.mmdd-section--navy .umb-form .btn-secondary {
  background: transparent;
  border: 1px solid var(--white);
}

/* Form actions row */
.mmdd-form-actions {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  margin-top: 8px;
}

.mmdd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 16px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  background: var(--blue);
  text-decoration: none;
}

.mmdd-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--white);
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  text-decoration: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.mmdd-footer {
  background: var(--white);
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mmdd-footer__double-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mmdd-footer__double-lines span {
  display: block;
  height: 8px;
  background: var(--navy);
  width: 100%;
}

.mmdd-footer__social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mmdd-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--light);
  color: var(--navy);
  transition: background 0.15s ease;
}

.mmdd-footer__social a:hover {
  background: var(--navy);
  color: var(--white);
}

.mmdd-footer__social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mmdd-footer__copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--navy);
  text-align: center;
}

/* ============================================================
   RESPONSIVE  (basic)
   ============================================================ */
@media (max-width: 1369px) {
  .mmdd-header__hamburger {
    display: flex;
  }

  .mmdd-header__nav {
    position: fixed;
    top: 102px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease;
    z-index: 99;
  }

  .mmdd-header__hamburger[aria-expanded="true"]+.mmdd-header__nav {
    max-height: 500px;
  }

  .mmdd-header__nav menu {
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
  }

  .mmdd-header__nav menu li {
    border-bottom: 1px solid var(--light);
    /* width: 310px; */
  }

  .mmdd-header__nav menu li:last-child {
    border-bottom: none;
  }

  .mmdd-header__nav menu a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    width: 310px;
  }
}

@media (max-width: 1024px) {
  .mmdd-container {
    padding-inline: 24px;
  }

  .mmdd-hero__headline {
    font-size: 64px;
    line-height: 56px;
  }

  .mmdd-factoids {
    flex-wrap: wrap;
  }

  .mmdd-factoid-card {
    flex: 1 1 32%;
  }

  .mmdd-form-wrap {
    padding-inline: 24px;
  }
}

@media (max-width: 768px) {

  /* .mmdd-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  } */
  /* .mmdd-header__nav {
    gap: 0;
    max-height: 0 !important;
  }

  .mmdd-header__hamburger[aria-expanded="true"] + .mmdd-header__nav {
    max-height: 500px !important;
  }

  .mmdd-header__nav a {
    font-size: 11px;
    padding: 8px 6px;
  } */
  .mmdd-hero {
    height: auto;
    min-height: 420px;
    padding-block: 80px 60px;
  }

  .mmdd-hero__headline {
    font-size: 48px;
    line-height: 44px;
    letter-spacing: -1px;
  }

  .mmdd-hero__eyebrow {
    font-size: 18px;
  }

  .mmdd-hero__lines {
    bottom: 32px;
  }

  .mmdd-factoid-card {
    flex: 1 1 100%;
  }

  .mmdd-content {
    padding-inline: 16px;
  }

  .mmdd-form-wrap {
    padding-inline: 0;
  }
}

/* @media (min-width: 1024px) {
  .mmdd-header__nav menu a {
    padding: 12px;
    font-size: 13px;
    gap: 1rem;
  }
}

@media (min-width: 950px) {
  .mmdd-header__nav menu {
    gap: 0.65rem;
  }
}

@media (min-width: 900px) {
  .mmdd-header__inner {
    padding: 24px;
  }
  .mmdd-header__nav menu {
    gap: 0;
  }
  .mmdd-header__nav menu a {
    gap: 0;
    font-size: 11px;
  }
}

@media (min-width: 900px) and (max-width: 1130px) {
  .mmdd-header__inner {
    align-items: flex-start;
  }

  .mmdd-header__nav menu {
    align-items: flex-start;
  }

  .mmdd-header__nav menu li {
    max-width: 130px;
    align-self: flex-start;
  }
} */

.mmdd-body ul:not(.mmdd-list) {
  list-style: none;
  padding-left: 1.25rem;
  margin-top: 1.25rem;
}

.mmdd-body ul:not(.mmdd-list) {
  list-style: none;
  padding-left: 1.25rem;
  margin-top: 1.25rem;
}

.mmdd-body ul:not(.mmdd-list)>li {
  position: relative;
  display: block;
  margin-bottom: 10px;
  padding-left: 20px;
  font-weight: 500;
}

.mmdd-body ul:not(.mmdd-list)>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.mmdd-body ul:not(.mmdd-list) ul {
  list-style: none;
  margin-top: 8px;
  padding-left: 1.25rem;
}

.mmdd-body ul:not(.mmdd-list) ul>li {
  position: relative;
  display: block;
  padding-left: 18px;
  margin-bottom: 6px;
  font-weight: 400;
}

.mmdd-body ul:not(.mmdd-list) ul>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.mmdd-body ul:not(.mmdd-list) li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex: 0 0 8px;
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: 1.25rem;
  z-index: 200;
  background-color: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* ============================================================
   NEW FOOTER
   ============================================================ */
.mmdd-footer-new {
  background: var(--white);
  font-family: var(--font-body);
  margin-top: 32px;
}

.mmdd-footer-new__top-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-bottom: 32px;
}

.mmdd-footer-new__top-lines span {
  display: block;
  height: 6px;
  background: var(--navy);
  width: 100%;
}

.mmdd-footer-new__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 48px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.mmdd-footer-new__heading {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  line-height: 150%
}

.mmdd-footer-new__link {
  font-size: 13px;
  color: var(--blue);
}

.mmdd-footer-new__link:hover {
  text-decoration: underline;
}

.mmdd-footer-new__separator {
  font-size: 13px;
  color: var(--navy);
}

.mmdd-footer-new__social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.mmdd-footer-new__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: opacity .15s ease;
}

.mmdd-footer-new__social-link:hover {
  opacity: 0.8;
}

.mmdd-footer-new__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mmdd-footer-new__links li::before {
  content: "· ";
  color: var(--navy);
}

.mmdd-footer-new__links a,
.mmdd-footer-new__links button {
  font-size: 13px;
  color: var(--blue);
  text-decoration: underline;
}

.mmdd-footer-new__links a:hover {
  text-decoration: underline;
}

.mmdd-footer-new__col--logos {
  text-align: center;
}

.mmdd-footer-new__logos {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.mmdd-footer-new__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .mmdd-footer-new__inner {
    grid-template-columns: 1fr 1fr;
    padding-inline: 24px;
  }
}

@media (max-width: 600px) {
  .mmdd-footer-new__inner {
    grid-template-columns: 1fr;
  }
}

.mmdd-signup-form {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.mmdd-signup-form form,
.mmdd-signup-form .umbraco-forms-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  width: 100%;
}

.mmdd-signup-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.mmdd-signup-form .umbraco-forms-page,
.mmdd-signup-form .umbraco-forms-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.mmdd-signup-form .umbraco-forms-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  width: 100%;
}

.mmdd-signup-form label {
  color: #C6CAD0;
  font-family: "Epilogue", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
}

.mmdd-signup-form input,
.mmdd-signup-form textarea,
.mmdd-signup-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;

  border-radius: 4px;
  border: 1px solid #F4AC10;
  background: #00293E;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.10);

  color: #C6CAD0;
  font-family: "Epilogue", sans-serif;
  font-size: 14px;
  line-height: 150%;
}

.mmdd-signup-form textarea {
  min-height: 130px;
  resize: vertical;
}

.mmdd-signup-form input:focus,
.mmdd-signup-form textarea:focus,
.mmdd-signup-form select:focus {
  outline: none;
  border-color: #F4AC10;
  box-shadow: 0 0 0 2px rgba(244, 172, 16, 0.25);
}

.mmdd-signup-form input::placeholder,
.mmdd-signup-form textarea::placeholder {
  color: rgba(198, 202, 208, 0.7);
}

.mmdd-signup-form .umbraco-forms-navigation,
.mmdd-signup-form .umbraco-forms-submitmessage {
  display: flex;
  gap: 24px;
  align-items: center;
}

.mmdd-signup-form input[type="submit"],
.mmdd-signup-form button[type="submit"] {
  width: auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 4px;
  background: #007BC3;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
}

.mmdd-signup-form input[type="submit"]:hover,
.mmdd-signup-form button[type="submit"]:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .mmdd-signup-form {
    max-width: 100%;
  }

  .mmdd-signup-form form,
  .mmdd-signup-form .umbraco-forms-form,
  .mmdd-signup-form .umbraco-forms-page,
  .mmdd-signup-form .umbraco-forms-container {
    gap: 24px;
  }
}

.mmdd-signup-form .mmdd-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;

}

.mmdd-signup-form .mmdd-form-actions input[type="submit"],
.mmdd-signup-form .mmdd-form-actions button[type="submit"] {
  width: auto;
  order: 1;
}

.mmdd-signup-form .mmdd-form-clear {
  order: 2;
  width: auto;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #C6CAD0;
  box-shadow: none;
  font-family: "Epilogue", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.mmdd-signup-form .mmdd-form-clear:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.mmdd-signup-form .umbraco-forms-navigation.row-fluid {
  width: 100%;
}

.mmdd-signup-form .umbraco-forms-navigation .col-md-12 {
  width: 100%;
}

.mmdd-signup-form .mmdd-form-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.mmdd-footer-new__button-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.mmdd-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.mmdd-modal.is-open {
  display: block;
}

.mmdd-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.mmdd-modal__content {
  position: relative;
  max-width: 800px;
  width: calc(100% - 40px);
  max-height: 80vh;
  overflow-y: auto;
  margin: 5vh auto;
  background: #ffffff;
  color: #00293E;
  border-radius: 8px;
  padding: 32px;
  font-family: var(--font-body);
}

.mmdd-modal__content h2 {
  margin-bottom: 24px;
  color: #00293E;
}

.mmdd-modal__body h3 {
  margin: 24px 0 12px;
  color: #00293E;
}

.mmdd-modal__body p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.mmdd-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: none;
  color: #00293E;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

/* Ordered lists inside rich text */
.mmdd-body ol {
  list-style: none;
  counter-reset: mmdd-counter;
  padding-left: 0;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.mmdd-body ol>li {
  counter-increment: mmdd-counter;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;

  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy);
}

.mmdd-body ol>li::before {
  content: counter(mmdd-counter) ".";
  position: absolute;
  left: 0;
  top: 0;

  min-width: 28px;
  text-align: right;

  color: var(--gold);
  font-weight: 700;
}

/* Nested ordered lists */
.mmdd-body ol ol {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 0;
}

.mmdd-body ol ol>li {
  padding-left: 38px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 400;
}

.mmdd-body ol ol>li::before {
  min-width: 24px;
}

/* Lists that appear immediately after headings */
.mmdd-body h3+ol,
.mmdd-body h4+ol,
.mmdd-body p+ol {
  margin-top: 12px;
}

/* Umbraco Forms success / submit message */
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-submitmessage {
  display: block;
  width: 100%;

  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;

  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 4px;

  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.10);
}

/* In case Umbraco outputs text inside another element later */
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-submitmessage p,
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-submitmessage span {
  color: var(--white) !important;
  font-family: var(--font-body);
  margin: 0;
}

/* Umbraco Forms validation messages */
.mmdd-section--navy .mmdd-signup-form .field-validation-error,
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-field .field-validation-error {
  display: block !important;
  width: fit-content;
  max-width: 100%;

  margin-top: 8px;
  padding: 6px 10px;

  color: var(--navy) !important;
  background: var(--gold);
  border-radius: 4px;

  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;

  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
}

/* Hide empty validation spans before an error exists */
.mmdd-section--navy .mmdd-signup-form .field-validation-valid {
  display: none;
}

/* Highlight invalid inputs */
.mmdd-section--navy .mmdd-signup-form input.input-validation-error,
.mmdd-section--navy .mmdd-signup-form textarea.input-validation-error,
.mmdd-section--navy .mmdd-signup-form select.input-validation-error {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(244, 172, 16, 0.35);
}

/* Validation summary, if Umbraco outputs one */
.mmdd-section--navy .mmdd-signup-form .validation-summary-errors,
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-validation-summary {
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.mmdd-section--navy .mmdd-signup-form .validation-summary-errors ul,
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-validation-summary ul {
  margin: 0;
  padding-left: 18px;
}

.mmdd-section--navy .umbraco-forms-field {
  display: flex;
}

/* Make Umbraco Forms conditional fields actually hide */
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-hidden,
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-field.umbraco-forms-hidden,
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-field[style*="display: none"],
.mmdd-section--navy .mmdd-signup-form .umbraco-forms-field[style*="display:none"] {
  display: none !important;
}

.mmdd-signup-form .umbraco-forms-fieldset>legend {
  display: none;
}

/* Media Releases rich text list should match .mmdd-list */
.mmdd-media-releases .mmdd-body ul {
  list-style: none;
  padding: 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mmdd-media-releases .mmdd-body ul>li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
}

.mmdd-media-releases .mmdd-body ul>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10.1231 9.99995L6.28974 6.16662L7.83328 4.62307L13.2102 9.99995L7.83328 15.3768L6.28974 13.8333L10.1231 9.99995Z' fill='%23f4ac10'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}

#documents .mmdd-body,
#documents .mmdd-body * {
  background-color: transparent !important;
}

 .mmdd-section--navy .mmdd-signup-form fieldset.willattendsiopindustryday > legend.umbraco-forms-legend {
  color: #c6cad0 !important;
  padding: 12px 0;
}

div.umbraco-forms-field-wrapper:has(input[type="checkbox"]) {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;

  input[type="checkbox"] {
    appearance: none;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 0;
    box-shadow: none;
    background-color: #C6CAD0;
    display: inline-block;
    position: relative;
  }

  input[type="checkbox"]:focus {
    background-color: #fff;
    border: 1px solid #f4ac10;
  }

  input[type="checkbox"]:checked {
    accent-color: #f4ac10;
  }

  input[type="checkbox"]:checked::after {
    content: "✔";
    color: #00293E;
    /* checkmark color */
    position: absolute;
    left: 2px;
    top: 2px;
    font-size: 1.2rem;
  }

  .field-validation-error {
    margin-top: 0 !important;
  }

  .checkboxlist.checkboxlist-vertical>div {
    display: flex;
    gap: 1rem;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
}