/* Ensure headings sit midway between sections */
main section h2 {
  margin-top: 0;
  /* reduce space under titles by one third */
  margin-bottom: 2.33rem !important;
}

.brand-logo {
  height: 1em;
  width: auto;
}

.logo {
  height: 6em;
  width: auto;
}

/* Shrink top padding by 25% for consistent spacing */
main section {
  padding-top: 3rem !important;
}

main section.py-8 {
  padding-top: 1.5rem !important;
}

main section.py-20 {
  padding-top: 3.75rem !important;
}

.no-transition { transition: none !important; }

#banner-slider {
  aspect-ratio: 1024 / 460;
}

#banner-slider #banner-track,
#banner-slider img {
  height: 100%;
}

details.faq-item {
  overflow: hidden;
}

details.faq-item > summary {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.5rem;
  list-style: none;
  cursor: pointer;
  border-radius: inherit;
}

details.faq-item > summary::marker,
details.faq-item > summary::-webkit-details-marker {
  display: none;
}

details.faq-item[open] > summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

details.faq-item > summary ~ * {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

details.faq-item > summary ~ *:last-child {
  padding-bottom: 1.5rem;
}

.history-card {
  box-shadow: 0 35px 60px -20px rgba(17, 24, 39, 0.35);
}

.upcoming-card {
  box-shadow: 0 35px 60px -20px rgba(17, 24, 39, 0.35);
}

.history-card-text {
  font-size: 1.0625rem;
  line-height: 1.75rem;
}

.history-card-text > * + * {
  margin-top: 1rem;
}

[data-history-hidden] {
  overflow: hidden;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

[data-history-hidden][data-history-state="expanded"] {
  height: auto;
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .language-button[data-active="true"]:hover {
    color: #3D5A73;
  }
}

@media (hover: none) {
  .language-button:hover {
    color: inherit !important;
  }
}
