html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.idt-header-logo {
  width: 115px !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain;
}

header > div:first-child {
  height: 64px !important;
  min-height: 64px !important;
}

@media (max-width: 1023px) {
  :root {
    --spacing-margin: 1.5rem;
    --spacing-space-xl: 2rem;
  }

  .max-w-7xl {
    width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --spacing-margin: 1rem;
    --spacing-space-lg: 1rem;
    --spacing-space-xl: 1.5rem;
  }

  body {
    font-size: 15px;
  }

  header > div:first-child {
    height: 4rem;
    min-height: 4rem;
    padding: 0 1rem;
  }

  header > div:first-child > div:first-child img {
    width: 7rem !important;
    height: 2rem;
    object-fit: contain;
  }

  header .idt-header-logo {
    width: 100px !important;
    max-width: 100px !important;
    height: auto !important;
  }

  #mobile-nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #c6c6cd;
    border-radius: 0.375rem;
  }

  #mobile-nav-toggle .material-symbols-outlined {
    font-size: 1.5rem;
  }

  #mobile-drawer {
    background: #131b2e;
    border-color: #3b485d;
    color: #ffffff;
    padding: 0.75rem 1rem 1rem;
  }

  #mobile-drawer > div:first-child {
    border-color: #3b485d;
  }

  #mobile-drawer > div:first-child span:last-child {
    color: #dae2fd;
  }

  #mobile-drawer > div:last-child a {
    min-height: 3rem;
    color: #dae2fd;
    padding: 0.75rem 0.875rem;
    border-bottom: 1px solid rgb(59 72 93 / 65%);
  }

  #mobile-drawer > div:last-child a:hover,
  #mobile-drawer > div:last-child a:focus-visible {
    color: #ffffff;
    background: #1d2940;
  }

  #mobile-drawer > div:last-child a:first-child {
    color: #ffffff;
    border-left: 4px solid #d95f2a;
    background: #1d2940;
  }

  #mobile-drawer button {
    color: #dae2fd;
    border-color: #3b485d;
  }

  .text-display-hero-mobile {
    font-size: clamp(2rem, 9vw, 2.5rem);
    line-height: 1.15;
  }

  .text-headline-lg,
  .text-headline-lg-mobile {
    line-height: 1.2;
  }

  .text-body-lg {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  footer .max-w-7xl {
    padding-inline: 1rem;
  }

  footer .grid {
    row-gap: 0.25rem;
  }
}
