/* Keep the published brand theme and adapt its controls for static pages. */
*, *::before, *::after { box-sizing: border-box; }
img, iframe { max-width: 100%; }
iframe[src*="youtube-nocookie.com"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
#content, #sidebar_second, .region, .field__item { min-width: 0; }
main table { max-width: 100%; }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: absolute; z-index: 20; background: white; color: #152c40; padding: .5rem 1rem; }
:focus-visible { outline: 3px solid #006ab5; outline-offset: 3px; }
/* Each dropdown heading is a link to its landing page with a caret beside it, as on the original site.
   On desktop the theme's own hover rule opens the dropdown; the caret opens it for keyboard and touch. */
#navbar-main button.dropdown-toggle { background: transparent; border: 0; color: inherit; cursor: pointer; min-width: 2rem; min-height: 2.5rem; }
#navbar-main.navbar-dark button.dropdown-toggle { color: white; }
#navbar-main .dropdown.show > .dropdown-menu { display: block; }
#navbar-main .dropdown-menu .dropdown-item { padding: 0; }
#navbar-main .dropdown-item > a { display: block; padding: 10px 25px; }
.inquiry-form { width: 100%; max-width: 36rem; margin: 1rem 0 2rem; }
.inquiry-form .form-group { margin: 0 0 1rem; }
.inquiry-form .form-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); column-gap: 1rem; }
.inquiry-form label { display: block; font-weight: 600; }
.inquiry-form .form-control { width: 100%; min-height: 2.75rem; font-size: 1rem; }
.inquiry-form textarea.form-control { min-height: 6rem; resize: vertical; }
form[data-inquiry] [aria-invalid="true"] { border-color: #b00020; box-shadow: 0 0 0 1px #b00020; }
.inquiry-form .form-text { display: block; margin-top: .25rem; }
form[data-inquiry] .field-error { margin: .35rem 0 0; color: #b00020; font-weight: 600; font-size: .9rem; }
.inquiry-note, .inquiry-consent { font-size: .9rem; }
.inquiry-consent { margin: .75rem 0 0; }
.inquiry-form .btn { min-height: 2.75rem; }
.inquiry-status { margin: .6rem 0 0; }
.inquiry-status:empty { display: none; }
.missing-page { padding-top: 3rem; padding-bottom: 4rem; }
@media (max-width: 991.98px) {
  #navbar-main:not([data-menu-ready]) .navbar-toggler { display: none; }
  #navbar-main:not([data-menu-ready]) .navbar-collapse,
  #navbar-main:not([data-menu-ready]) .dropdown-menu { display: block; }
  #navbar-main:not([data-menu-ready]) .dropdown-toggle { display: none; }
  /* Phones have no hover: only the caret opens a submenu. */
  #navbar-main[data-menu-ready] .dropdown > .dropdown-menu { display: none; }
  #navbar-main[data-menu-ready] .dropdown.show > .dropdown-menu { display: block; }
  #navbar-main .dropdown-menu { clear: both; }
  #navbar-main .nav-item::after { display: block; content: ""; clear: both; }
}
@media (max-width: 575.98px) {
  #main-wrapper { overflow-wrap: break-word; }
  main table { display: block; width: max-content; overflow-x: auto; }
  .region-featured-bottom-first .block { max-width: 100%; min-width: 0; }
  .region-featured-bottom-first .btn-primary { max-width: 100%; white-space: normal; padding-inline: 1rem; }
  #main-wrapper .btn-primary { max-width: 100%; white-space: normal; }
}
