.naiades-articles-intro { margin-bottom: 2.5rem; }
.naiades-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
a.naiades-article-card {
  text-decoration: none !important;
}

.naiades-article-card {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid rgba(33, 7, 4, .18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .24);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.naiades-article-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .4);
}
.naiades-article-card h2,
.naiades-article-card p { margin: 0; }
.naiades-article-card span {
  color: #086968 !important;
  text-decoration: underline;
}
@media (max-width: 767px) {
  .naiades-article-grid { grid-template-columns: 1fr; }
  .naiades-article-card { min-height: 0; padding: 1.4rem; }
}

/* Keep the source Webflow reCAPTCHA footprint without depending on Google's widget. */
.w-form-formrecaptcha { min-height: 78px; }

.naiades-contact-mail-row {
  justify-content: center;
}

.naiades-contact-mail-row .contact-form-container {
  width: 100%;
  max-width: 44rem;
  display: flex;
  justify-content: center;
}

.naiades-contact-mail-row .home-hero-btn-wrapper {
  margin-top: 0;
}


/* Stable hamburger / close icon */
.nav-right-side-links-wrapper {
  width: auto !important;
  margin-left: auto;
  justify-content: flex-end !important;
  flex: 0 0 auto;
}

.menu-button {
  width: 45px;
  height: 45px;
  color: #210704;
  background-image: linear-gradient(#210704, #210704);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 2px;
  position: relative;
}

.menu-button .menu-lottie {
  opacity: 0;
  pointer-events: none;
}

.menu-button::before,
.menu-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #210704 !important;
  transform-origin: center;
  transition: transform 180ms ease, margin 180ms ease;
}

.menu-button::before {
  transform: translate(-50%, -50%);
  margin-top: -7px;
}

.menu-button::after {
  transform: translate(-50%, -50%);
  margin-top: 7px;
}

.menu-button.w--open {
  color: #210704 !important;
  background-size: 0 2px;
  position: relative !important;
  inset: auto !important;
}

.menu-button.w--open::before {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button.w--open::after {
  margin-top: 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* Articles pagination */
.naiades-pagination {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.naiades-pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.naiades-pagination-page,
.naiades-pagination-nav {
  color: #210704;
  text-decoration: none;
  font-weight: 600;
}

.naiades-pagination-page {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  border: 1px solid #210704;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.naiades-pagination-page.is-current {
  background: #210704;
  color: #fff;
}

.naiades-pagination-nav.is-disabled {
  opacity: 0.35;
}

.naiades-pagination-ellipsis {
  color: #210704;
}

@media (max-width: 767px) {
  .naiades-pagination {
    justify-content: center;
  }

  .naiades-pagination-pages {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }
}


/* Body content links */
.paragraphabout a,
.uui-text-rich-text a {
  color: #fff !important;
  font-weight: inherit;
}


/* Workflow step CTAs */
.workflow-more-link {
  align-self: flex-start;
  margin-top: .5rem;
}

@media (max-width: 991px) {
  .workflow-more-link {
    align-self: center;
  }
}

/* FAQ spacing and accordion motion */
.uui-faq02_list > .uui-faq02_accordion + .uui-faq02_accordion {
  margin-top: 1rem;
}

.uui-faq02_question {
  gap: 1.5rem;
}

.uui-faq02_heading {
  flex: 1 1 auto;
  min-width: 0;
}

.uui-faq02_icon-wrapper {
  flex: 0 0 auto;
}

.uui-faq02_accordion {
  transition: background-color 180ms ease;
}

.uui-faq02_answer {
  height: 0;
  transition: height 220ms ease, padding-bottom 220ms ease;
  will-change: height;
}

.uui-faq02_accordion[data-faq-open="true"] .uui-faq02_answer {
  padding-bottom: 1.5rem;
}

.uui-faq02_answer > .uui-max-width-large-2 {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 180ms ease;
}

.uui-faq02_accordion[data-faq-open="true"] .uui-faq02_answer > .uui-max-width-large-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 45ms;
}

.accordion-icon_vertical-line {
  transition: transform 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .uui-faq02_accordion,
  .uui-faq02_answer,
  .uui-faq02_answer > .uui-max-width-large-2,
  .accordion-icon_vertical-line {
    transition: none;
  }
}


/* Keep open-menu contact links inside short mobile viewports. */
@media (max-width: 767px) and (max-height: 760px) {
  .nav-menu {
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .nav-elements-wrapper {
    height: auto;
    min-height: 100dvh;
    align-items: stretch;
  }

  .nav-links-container {
    min-height: 100dvh;
    height: auto;
    justify-content: flex-start;
    gap: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  }

  .nav-logo-wrapper,
  .nav-links-wrapper,
  .nav-footer-links-wrapper {
    flex: 0 0 auto;
  }

  .nav-links-wrapper {
    gap: 0;
  }

  .nav-link {
    font-size: 44px;
    line-height: 50px;
  }

  .nav-footer-links-wrapper {
    margin-top: auto;
  }
}
