/* Hondenhotel Amsterdam — taakgerichte informatiearchitectuur, V134 */

/* De twee nieuwe keuzemenu's gebruiken dezelfde toegankelijke details-basis
   als Diensten, maar zijn bewust smaller en rustiger. */
.dha-information-menu .dha-services-panel {
  width: min(23rem, calc(100vw - 2rem));
  grid-template-columns: 1fr;
}

.dha-information-menu .dha-services-group + .dha-services-group {
  border-left: 0;
  padding-left: .45rem;
}

.dha-information-menu.dha-booking-menu .dha-services-panel {
  right: 0;
  left: auto;
}

/* Met twee extra taakmenu's schakelt de kop iets eerder naar het complete
   mobiele menu. Zo blijven lange vertalingen en tekstvergroting bruikbaar. */
@media (max-width: 1479.98px) {
  html body.dha-airport-page .dha-brand-name {
    display: block !important;
    max-width: 9.5rem !important;
    overflow: hidden;
    color: #fff;
    font-size: clamp(.74rem, 2vw, .86rem);
    font-weight: 800;
    line-height: 1.12;
    white-space: normal;
  }

  body.dha-airport-page .dha-desktop-nav {
    display: none !important;
  }

  body.dha-airport-page .dha-nav-actions {
    margin-left: auto !important;
  }

  body.dha-airport-page .dha-navbar {
    position: relative;
  }

  body.dha-airport-page .dha-mobile-menu {
    position: static;
    display: block !important;
  }

  body.dha-airport-page .dha-nav-actions > .dha-button {
    display: none !important;
  }

  body.dha-airport-page .dha-mobile-menu > div > .dha-search-trigger-mobile,
  body.dha-airport-page .dha-mobile-menu > div > .dha-mobile-language {
    display: none !important;
  }

  body.dha-airport-page .dha-mobile-menu > div {
    box-sizing: border-box;
    right: 0;
    left: auto;
    width: min(39rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 6.4rem - env(safe-area-inset-bottom, 0px));
    padding: 0 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  /* Een duidelijk, aanklikbaar vervolg-signaal blijft bij de onderrand staan
     totdat de bezoeker de echte onderzijde van het menu heeft bereikt. */
  body.dha-airport-page > .dha-menu-scroll-cue {
    position: fixed;
    right: auto;
    bottom: var(--dha-menu-cue-bottom, .75rem);
    left: var(--dha-menu-cue-left, 1rem);
    z-index: 7150;
    box-sizing: border-box;
    display: flex;
    width: var(--dha-menu-cue-width, calc(100vw - 2rem));
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .68rem .9rem;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: .9rem;
    background: rgba(255, 209, 102, .98);
    box-shadow:
      0 -1.15rem 1.6rem rgba(217, 4, 41, .94),
      0 .45rem 1.15rem rgba(63, 0, 14, .3);
    color: #4b0010;
    cursor: pointer;
    font: inherit;
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .01em;
    line-height: 1.25;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
  }

  body.dha-airport-page > .dha-menu-scroll-cue[hidden] {
    display: none !important;
  }

  body.dha-airport-page > .dha-menu-scroll-cue:hover,
  body.dha-airport-page > .dha-menu-scroll-cue:focus-visible {
    background: #ffe09a;
    outline: 3px solid #fff;
    outline-offset: 2px;
  }

  .dha-menu-scroll-cue-arrow {
    flex: 0 0 auto;
    font-size: 1.25em;
    line-height: 1;
  }

  .dha-mobile-service-groups {
    display: grid;
    gap: .2rem;
    padding: .45rem .7rem .7rem;
    background: #d90429;
  }

  .dha-mobile-service-group {
    display: grid;
    gap: .12rem;
    padding: .55rem .25rem .7rem;
  }

  .dha-mobile-service-group + .dha-mobile-service-group {
    border-top: 1px solid rgba(255, 255, 255, .28);
  }

  .dha-mobile-services-heading {
    margin: 0 0 .45rem;
    padding: .25rem .7rem .35rem;
    color: #ffd166;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .085em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  body.dha-airport-page .dha-mobile-menu .dha-mobile-service-group a.dha-service-link {
    display: flex;
    min-height: 2.9rem;
    align-items: center;
    padding: .68rem .72rem;
    border-radius: .68rem;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.28;
    text-decoration: none;
    white-space: normal;
  }

  body.dha-airport-page .dha-mobile-menu .dha-mobile-service-group a.dha-service-link:hover,
  body.dha-airport-page .dha-mobile-menu .dha-mobile-service-group a.dha-service-link:focus-visible,
  body.dha-airport-page .dha-mobile-menu .dha-mobile-service-group a.dha-service-link[aria-current="page"] {
    background: rgba(104, 0, 19, .72);
  }

  .dha-mobile-practical-links {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, .3);
    background: #b80022;
  }

  body.dha-airport-page .dha-mobile-menu .dha-mobile-practical-links > a {
    display: flex;
    min-height: 3.35rem;
    align-items: center;
    padding: .8rem 1.1rem;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
  }

  body.dha-airport-page .dha-mobile-menu .dha-mobile-practical-links > a:hover,
  body.dha-airport-page .dha-mobile-menu .dha-mobile-practical-links > a:focus-visible,
  body.dha-airport-page .dha-mobile-menu .dha-mobile-practical-links > a[aria-current="page"] {
    background: #8f001b;
  }

  body.dha-airport-page .dha-mobile-menu > div > :is(.dhr-mobile-availability, .dha-mobile-availability) {
    display: flex;
    min-height: 3.65rem;
    align-items: center;
    padding: .9rem 1.1rem;
    background: #ffd166;
    color: #4b0010 !important;
    font-weight: 900;
    text-decoration: none;
  }
}

/* Houd op smalle telefoons voldoende ruimte voor zoeken, taal en Menu.
   Op de allersmalste schermen blijft het beeldmerk als herkenningspunt staan. */
@media (max-width: 520px) {
  html body.dha-airport-page .dha-brand-name {
    /* 5rem knipte bij de Nederlandse merknaam de laatste letter af. */
    max-width: 5.5rem !important;
  }
}

@media (max-width: 340px) {
  html body.dha-airport-page .dha-brand-name {
    display: none !important;
  }

  body.dha-airport-page > .dha-menu-scroll-cue {
    font-size: .76rem;
  }
}

@media (min-width: 1480px) {
  body.dha-airport-page .dha-navbar {
    width: min(calc(100% - 2rem), 1460px) !important;
  }

  body.dha-airport-page .dha-desktop-nav {
    display: flex !important;
    min-width: 0;
    gap: .08rem;
  }

  body.dha-airport-page .dha-mobile-menu {
    display: none !important;
  }

  html body.dha-airport-page .dha-desktop-nav a,
  body.dha-airport-page .dha-services-menu > summary {
    padding-inline: .55rem !important;
    font-size: clamp(.76rem, .75vw, .9rem) !important;
  }
}

/* Contextuele antwoorden op de homepage. */
.dha-context-link {
  margin: 1rem 0 0;
  padding: .9rem 1rem;
  border-left: .28rem solid #d90429;
  border-radius: 0 .7rem .7rem 0;
  background: rgba(255, 250, 248, .9);
  color: #4e4144;
  line-height: 1.5;
}

.dha-context-link a {
  color: #92001b;
  font-weight: 850;
  text-decoration-thickness: .1em;
  text-underline-offset: .2em;
}

/* Drie taakgerichte vervolgstappen aan het einde van iedere dienstpagina. */
.support-related.dha-guidance {
  padding: clamp(3.75rem, 7vw, 6.5rem) 0;
  background: #fffaf8;
}

.dha-guidance .ds-section-intro {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.dha-guidance .support-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dha-guidance .support-related-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border: 1px solid #eadde0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .55rem 1.4rem rgba(47, 14, 22, .08);
  color: #35131b;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.dha-guidance .support-related-card:hover,
.dha-guidance .support-related-card:focus-visible {
  transform: translateY(-.18rem);
  box-shadow: 0 .9rem 1.9rem rgba(47, 14, 22, .13);
}

.dha-guidance .support-related-card:focus-visible {
  outline: 3px solid #d90429;
  outline-offset: 3px;
}

.dha-guidance .support-related-card strong {
  color: #35131b;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.22;
}

.dha-guidance .support-related-card span {
  color: #62585b;
  line-height: 1.55;
}

.dha-guidance .support-related-card em {
  margin-top: auto;
  color: #92001b;
  font-style: normal;
  font-weight: 850;
}

/* De footer is voortaan een inhoudelijke wegwijzer, niet één lange linklijst. */
.dha-footer.dha-information-footer {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem !important;
  background: #4b0010 !important;
  color: #fff !important;
}

.dha-information-footer .dha-footer-intro {
  max-width: 58rem;
  margin-bottom: 2.25rem;
}

.dha-information-footer .dha-footer-intro h2 {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.14;
}

.dha-information-footer .dha-footer-intro p,
.dha-information-footer .dha-footer-brand-block p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}

.dha-information-footer .dha-footer-navigation {
  display: grid;
  grid-template-columns: minmax(13rem, 1.15fr) repeat(3, minmax(10rem, 1fr));
  gap: clamp(1.4rem, 3vw, 2.75rem);
  align-items: start;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.dha-information-footer .dha-footer-brand,
.dha-information-footer .dha-footer-group strong {
  display: block;
  margin: 0 0 .8rem;
  color: #ffd166 !important;
  font-weight: 900;
  text-decoration: none;
}

.dha-information-footer .dha-footer-group {
  display: grid;
  gap: .5rem;
}

.dha-information-footer .dha-footer-group a {
  color: #fff !important;
  line-height: 1.42;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: .18em;
}

.dha-information-footer .dha-footer-group a:hover,
.dha-information-footer .dha-footer-group a:focus-visible {
  color: #ffd166 !important;
  text-decoration-color: #ffd166;
}

.dha-information-footer .dha-footer-group a:focus-visible,
.dha-information-footer .dha-footer-brand:focus-visible,
.dha-information-footer .dha-footer-bottom a:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

.dha-information-footer .dha-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
}

.dha-information-footer .dha-footer-bottom a {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff !important;
  text-decoration: none;
}

@media (max-width: 980px) {
  .dha-information-footer .dha-footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dha-guidance .support-related-grid,
  .dha-information-footer .dha-footer-navigation {
    grid-template-columns: 1fr;
  }

  .dha-information-footer .dha-footer-bottom {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dha-guidance .support-related-card {
    transition: none;
  }
}
