@media (max-width: 1199.98px) {
  .navbar {
    min-height: 68px;
  }

  .mobile-drawer .nav-link {
    border-radius: .55rem;
    padding: .8rem 1rem !important;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 0;
  }

  .hero-media {
    height: auto;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid > *:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .site-header .site-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .35rem .7rem;
    align-items: center;
  }

  .site-header .brand-lockup {
    width: 100%;
    min-width: 0;
    gap: .62rem;
  }

  .site-header .brand-lockup span {
    display: grid;
    gap: .16rem;
    min-width: 0;
  }

  .site-header .brand-lockup strong,
  .site-header .brand-lockup small {
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-size: clamp(.86rem, 3.7vw, 1.08rem);
    font-weight: 800;
    color: #263238;
    line-height: 1.15;
  }

  .site-header .brand-lockup strong {
    color: var(--djk-green);
  }

  .site-header .brand-lockup img {
    width: 64px;
    height: 64px;
  }

  .language-switch {
    gap: .16rem;
    min-height: auto;
    font-size: .7rem;
    line-height: 1;
    animation: mobileLangDrop .45s ease-out both;
  }

  .navbar .order-xl-3 {
    justify-self: end;
    flex-direction: column;
    justify-content: flex-end;
    gap: .18rem !important;
  }

  .site-header .btn-brand {
    padding: .48rem .68rem;
    font-size: .85rem;
  }

  .navbar-toggler {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: .28rem;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-media {
    height: auto;
  }

  .leader-card {
    grid-template-columns: 1fr;
  }

  .directory-tools {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 15px;
  }

  .site-shell {
    padding-left: .9rem;
    padding-right: .9rem;
  }

  .site-header .site-shell {
    padding-left: .65rem;
    padding-right: .65rem;
  }

  .site-header .brand-lockup img {
    width: 60px;
    height: 60px;
  }

  .site-header .brand-lockup {
    gap: .58rem;
  }

  .btn-lg {
    --bs-btn-padding-y: .75rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .media-grid img,
  .media-grid video {
    min-height: 210px;
  }
}

@keyframes mobileLangDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
