/* Publication fixes for the static export. */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
iframe { max-width: 100%; border: 0; }
.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;
}

.static-contact-card {
  max-width: 680px;
  margin: 20px auto;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.55);
  text-align: center;
}
.main_color .static-contact-card {
  border-color: #d6d6d6;
  background: #fff;
}
.static-contact-card p { margin: 0 0 18px; }
.static-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.static-contact-actions a {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid currentColor;
  text-decoration: none;
}
.static-contact-actions a:hover,
.static-contact-actions a:focus { opacity: .78; }
.static-map-card {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(rgba(17, 48, 28, .48), rgba(17, 48, 28, .48)),
    url("/wp-content/uploads/2023/10/sanrufinodarce-slider-4-1030x687.jpg") center / cover;
  color: #fff;
  text-align: center;
}
#top .static-map-card,
#top .static-map-card strong,
#top .static-map-card a { color: #fff !important; }
.static-map-card__inner {
  max-width: 480px;
  padding: 24px;
  background: rgba(16, 38, 24, .74);
}
.static-map-card strong { display: block; margin-bottom: 8px; font-size: 1.3rem; }
.static-map-card a {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 18px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
}

.page-id-143 #header_main,
.page-id-1225 #header_main,
.page-id-1230 #header_main {
  background: #183c2a !important;
  border-color: transparent !important;
}
.page-id-143 #header_main .avia-menu-text,
.page-id-1225 #header_main .avia-menu-text,
.page-id-1230 #header_main .avia-menu-text { color: #fff !important; }

.static-gallery {
  padding: clamp(42px, 7vw, 90px) 20px;
  background: #f1f3ed;
}
.static-gallery__intro {
  width: min(900px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}
.static-gallery__intro h2 {
  margin: 0 0 10px;
  color: #183c2a;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.static-gallery__cta {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 18px;
  border: 1px solid #183c2a;
  color: #183c2a;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.static-gallery__grid {
  width: min(1240px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.static-gallery__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dfe5dc;
}
.static-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.static-gallery__item:hover img { transform: scale(1.025); }

/* The exported fullscreen slider referenced missing original images. */
.avia-fullscreen-slider .slide-1 {
  background-image: url("/wp-content/uploads/2023/10/DSC03506-HDR-1500x630.webp") !important;
  background-size: cover !important;
}
.avia-fullscreen-slider .slide-2 {
  background-image: url("/wp-content/uploads/2023/10/DSC03530-HDR-1500x630.webp") !important;
  background-size: cover !important;
}
.avia-fullscreen-slider .slide-3 {
  background-image: url("/wp-content/uploads/2023/10/DJI_0123-HDR-1500x630.webp") !important;
  background-size: cover !important;
}
.avia-fullscreen-slider .slide-4 {
  background-image: url("/wp-content/uploads/2023/10/DSC03670-HDR-1500x630.webp") !important;
  background-size: cover !important;
}

.publication-notice {
  width: min(780px, calc(100% - 32px));
  margin: 90px auto;
  text-align: center;
}
.publication-notice h1 { color: #115a21; }
.publication-notice a {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 18px;
  border: 1px solid #115a21;
  color: #115a21;
  text-decoration: none;
}

@media (max-width: 767px) {
  /* Reliable first frame for the three responsive copies of the homepage
     slideshow; the archived animation can otherwise reserve the space before
     its image layer becomes visible. */
  .home .avia-slideshow-2 .slide-1,
  .home .avia-slideshow-3 .slide-1,
  .home .avia-slideshow-4 .slide-1 {
    background: url("/wp-content/uploads/2023/10/DSC03506-HDR-1500x630.webp") center / cover no-repeat !important;
  }
  .home .avia-slideshow-2 .slide-1 img,
  .home .avia-slideshow-3 .slide-1 img,
  .home .avia-slideshow-4 .slide-1 img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* The archived theme can hide the entire navigation wrapper before its
     responsive JavaScript adds state classes. Keep the menu control available
     even when that initialization is delayed or blocked. */
  #top #header .main_menu {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 56px !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 20 !important;
  }
  #top #header #avia-menu {
    display: block !important;
    width: 56px !important;
    height: 100% !important;
    visibility: visible !important;
  }
  #top #header #avia-menu > li:not(.av-burger-menu-main) {
    display: none !important;
  }
  #top #header #avia-menu .av-burger-menu-main {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 48px !important;
    height: 48px !important;
    margin-top: -24px !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #top #header #avia-menu .av-burger-menu-main > a {
    display: flex !important;
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #top #header #avia-menu .av-burger-menu-main > a::before {
    content: "" !important;
    display: block !important;
    width: 28px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background: #183c2a !important;
    box-shadow: 0 -8px #183c2a, 0 8px #183c2a !important;
  }
  #top #header #avia-menu .av-burger-menu-main .av-hamburger {
    position: absolute !important;
    opacity: 0 !important;
  }
  .static-contact-card { padding: 22px 16px; }
  .static-contact-actions { flex-direction: column; }
  .static-contact-actions a { width: 100%; }
  .static-map-card { min-height: 240px; }
  .static-gallery__grid { grid-template-columns: 1fr; }
}
