.idl-wad-panel,
.idl-wad-panel *,
.idl-wad-floating,
.idl-wad-floating * {
  box-sizing: border-box;
}

.idl-wad-panel {
  --idl-wad-navy: #081d2c;
  --idl-wad-cyan: #00b8c8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  width: calc(100% - 8vw);
  max-width: 1200px;
  margin: 2rem auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #f5f8f9;
  color: var(--idl-wad-navy);
  font-family: inherit;
  text-align: left;
  line-height: 1.5;
  border: 1px solid rgba(8, 29, 44, 0.16);
  scroll-margin-top: 100px;
}

#contact .idl-wad-panel {
  width: 100%;
  margin: 2.5rem 0 0;
}

.idl-wad-panel .idl-wad-heading {
  margin: 0 0 1.25rem;
  color: var(--idl-wad-navy);
  font-family: inherit;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.idl-wad-panel .idl-wad-label {
  margin: 1.25rem 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.idl-wad-panel .idl-wad-number {
  display: inline-block;
  color: var(--idl-wad-navy);
  font-size: clamp(1.3rem, 2.7vw, 1.8rem);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.idl-wad-panel .idl-wad-hours {
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.idl-wad-panel .idl-wad-address {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.6;
}

.idl-wad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.idl-wad-panel .idl-wad-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--idl-wad-navy);
  border-radius: 0;
  color: #fff;
  background: var(--idl-wad-navy);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.idl-wad-panel .idl-wad-directions {
  color: var(--idl-wad-navy);
  background: transparent;
}

.idl-wad-panel .idl-wad-button:hover {
  color: var(--idl-wad-navy);
  background: var(--idl-wad-cyan);
}

.idl-wad-map {
  min-width: 0;
}

.idl-wad-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  min-height: 280px;
  border: 0;
  background: #e6edf0;
}

.idl-wad-panel .idl-wad-map-caption {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #3d5665;
}

.idl-wad-floating {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-height: 52px;
  max-width: calc(100vw - 32px);
  padding: 0.85rem 1.1rem;
  color: #fff !important;
  background: #081d2c;
  border: 2px solid #00b8c8;
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(8, 29, 44, 0.22);
  font-family: inherit;
  line-height: 1.3;
  text-decoration: none !important;
}

.idl-wad-floating:hover {
  background: #143449;
}

.idl-wad-floating-title {
  font-size: 1rem;
  font-weight: 700;
}

.idl-wad-floating-hours {
  font-size: 0.72rem;
}

.idl-wad-panel a:focus-visible,
.idl-wad-floating:focus-visible {
  outline: 3px solid #00717c;
  outline-offset: 4px;
}

.idl-wad-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .idl-wad-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .idl-wad-map iframe {
    height: 300px;
  }
}

@media (max-width: 420px) {
  .idl-wad-actions {
    flex-direction: column;
  }

  .idl-wad-panel .idl-wad-button {
    width: 100%;
  }

  .idl-wad-floating {
    padding: 0.65rem 0.85rem;
  }
}

@media print {
  .idl-wad-floating,
  .idl-wad-map {
    display: none;
  }

  .idl-wad-panel {
    grid-template-columns: 1fr;
    break-inside: avoid;
  }
}
