/* Keep the original desktop canvas and proportions. */
.site-frame, .page-layout { width: 100%; max-width: 1000px; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 2px solid #24638c; outline-offset: 2px; }
.hero-slider { width: 100%; }
.slide { position: relative; }
.slide img { display: block; width: 100%; aspect-ratio: 940 / 423; object-fit: cover; }
.slide-caption {
  position: absolute; inset: auto 0 0; background: rgb(0 0 0 / 65%);
  color: white; text-align: center; padding: 9px 12px; line-height: 1.4;
}
.slide-dots { display: flex; justify-content: center; gap: 3px; margin: 4px 0 0; }
.slide-dots button {
  width: 29px; height: 29px; border: 0; padding: 0;
  background: transparent; display: grid; place-items: center; cursor: pointer;
}
.slide-dots button::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  background: #d3d3d3; border: 1px solid #777;
}
.slide-dots [aria-pressed=true]::before { background: #4b8cb9; }
.gallery-thumbs { white-space: nowrap; }
.gallery-thumbs button {
  padding: 0; border: 0; background: none; margin-right: 5px; cursor: pointer;
  vertical-align: top; opacity: .65;
}
.gallery-thumbs button:last-child { margin-right: 0; }
.gallery-thumbs button[aria-pressed=true] { opacity: 1; }
.location-mobile-label { display: none; }

@media (max-width: 999px) {
  .page-layout table[width="940"], .page-layout td[width="940"] { width: 100%; }
  .page-layout .page-gutter { width: clamp(12px, 3vw, 30px); }
  .site-header .header-row > td, .site-header table[width="710"] { width: auto; }
  .header-contact td[width="480"] { display: none; }
  .site-header td:has(> .site-menu) { padding-right: 0 !important; }
  .site-menu .menu-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 16px; }
  .site-menu .menu-row > td:empty { display: none; }
  .home-columns > td[width="260"] { width: 29%; }
  .home-columns > td[width="60"] { width: 4%; }
  .directions-columns > td { width: 65%; }
  .directions-columns > td:last-child { width: 35%; }
  .contact-columns > td[width="450"] { width: 48%; }
  .contact-columns > .stack-spacer { width: 4%; }
  .location-details > td, .location-photos > td, .location-desktop-labels > td { width: 48%; }
  .location-details > td:empty, .location-photos > td:empty, .location-desktop-labels > td:empty { width: 4%; }
  .location-details table[width="420"], .location-details td[width="420"] { width: 100%; }
  .about-columns > td:empty { width: 5%; }
  .about-columns > td:not(:empty) { width: 47.5%; }
  .gallery-thumbs { white-space: normal; }
  .gallery-thumbs button { width: min(18%, 80px); }
  .parts-columns > td:not(.stack-spacer) { padding-inline: 12px !important; }
  .footer-inner { width: min(100% - 24px, 1000px); }
  td { overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  .page-layout .page-gutter { width: 14px; }
  .site-header .header-row, .site-header .header-row > td { display: block; width: 100%; }
  .site-header .header-row { position: relative; }
  .site-header .header-row > td:last-child > table { width: 100%; }
  .site-header .header-row td[height="65"] { height: auto; padding: 0 !important; }
  .header-contact { position: absolute; right: 0; top: 8px; }
  .header-contact td[width="230"], .header-contact table[width="230"] { width: auto; }
  .header-contact .TopMenu02_2, .header-contact .TopMenu02_1 { width: auto; white-space: nowrap; }
  .header-contact td[width="10"] { width: 5px; }
  .site-menu .menu-row { justify-content: flex-start; column-gap: 14px; }
  .site-menu .menu-row a { display: inline-flex; align-items: center; min-height: 42px; font-size: 16px; }
  .stack-row { display: block; }
  .stack-row > td:not(.stack-spacer) {
    display: block; box-sizing: border-box; width: 100%; text-align: left;
  }
  .stack-row > .stack-spacer { display: none; }
  .stack-row > td + td:not(.stack-spacer) { margin-top: 14px; }
  .home-columns { padding: 0 14px 14px; }
  .page-index .page-content { height: auto; }
  .slide-caption { position: static; min-height: 4.4em; background: #383838; }
  .location-desktop-labels { display: none; }
  .location-mobile-label { display: block; margin-bottom: 4px; }
  .location-details > td, .parts-columns > td:not(.stack-spacer) { padding-inline: 0 !important; }
  .about-columns > td:first-child { margin-bottom: 10px; }
  .footer-row { padding: 12px 0; }
  .footer-row > td + td:not(.stack-spacer) { margin-top: 8px; }
}
@media (max-width: 360px) {
  .header-contact { position: static; }
}
img.img0, img.img1 { box-sizing: border-box; }
@media (max-width: 999px) {
  .page-layout { width: calc(100% - 2 * clamp(12px, 3vw, 30px)); margin-inline: auto; }
  .page-layout .page-gutter { display: none; }
  .page-layout .page-content { width: 100%; }
}
@media (max-width: 700px) {
  .page-layout { width: calc(100% - 28px); }
  .stack-row > .stack-spacer + td:not(.stack-spacer) { margin-top: 14px; }
  .contact-columns > td[width="450"] { width: 100%; }
  .contact-columns td[width="30%"] { width: 85px; }
  .contact-columns td[width="70%"] { width: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .slide:not([hidden]) { animation: banner-fade .35s ease-out; }
  @keyframes banner-fade { from { opacity: .6; } to { opacity: 1; } }
}
@media (max-width: 999px) {
  .page-index td[background*="bg_main_middle_boxes"] { background-image: none; }
}
@media (max-width: 700px) {
  .home-columns { padding: 0; }
  .home-columns > td:not(.stack-spacer) {
    padding: 15px; background: white; border: 1px solid #dedede; border-radius: 8px;
  }
  .home-columns > td > table > tbody > tr:first-child > td[height="28"] { height: 0; }
}
