/* Shared sticky navigation on the homepage and subpages: approved soft burgundy glass. */
.fusion-tb-header > .fusion-sticky-container.fusion-sticky-transition:not(.fusion-sticky-spacer) {
    background-color: rgba(69, 32, 38, .96) !important;
    -webkit-backdrop-filter: blur(24px) saturate(85%) !important;
    backdrop-filter: blur(24px) saturate(85%) !important;
}

/* Approved gallery composition, shared by subpage title bars only. */
body:not(.home) .sl-subpage-film {
  min-height: clamp(460px, 34vw, 520px) !important;
  padding-top: 140px !important;
  padding-bottom: 80px !important;
}
body:not(.home) .sl-subpage-film > .fullwidth-video-image {
  inset: 0 !important;
  filter: none !important;
  background-position: center !important;
}
body:not(.home) .sl-subpage-film > .fullwidth-video > video {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center 50% !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
body:not(.home) .sl-subpage-film > .fullwidth-overlay {
  background-image: linear-gradient(180deg, rgba(18,9,13,.68) 0%, rgba(18,9,13,.29) 40%, rgba(18,9,13,.40) 72%, rgba(18,9,13,.58) 100%) !important;
}
body:not(.home) .sl-subpage-film .fusion-title {
  margin: 0 !important;
}
body:not(.home) .sl-subpage-film h1 {
  font-size: clamp(52px, 5vw, 76px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.025em !important;
  text-shadow: 0 2px 22px rgba(0,0,0,.28);
  animation: sl-subpage-title-in .85s ease-out both;
}
@keyframes sl-subpage-title-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
  body:not(.home) .sl-subpage-film {
    min-height: 360px !important;
    padding-top: 130px !important;
    padding-bottom: 65px !important;
  }
  body:not(.home) .sl-subpage-film h1 { font-size: 48px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.home) .sl-subpage-film h1 { animation: none; }
}

/* Article titles need a smaller scale while keeping the same typeface/layout. */
body.single-post:not(.home) .sl-subpage-film h1 {
  font-size: clamp(38px, 4vw, 64px) !important;
}
@media (max-width: 767px) {
  body.single-post:not(.home) .sl-subpage-film h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* Native Avada Text elements: the approved three-level title composition. */
.sl-subpage-film .sl-subpage-kicker,
.sl-subpage-film .sl-subpage-intro {
  text-align: center;
  color: #fffaf2;
}
.sl-subpage-film .sl-subpage-kicker {
  margin: 0 0 20px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .25em;
  opacity: .86;
}
.sl-subpage-film .sl-subpage-intro {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  opacity: .92;
}
.sl-subpage-film .sl-subpage-kicker p,
.sl-subpage-film .sl-subpage-intro p { margin: 0; }
/* Keep the clean poster underneath. Fade the complete MP4 layer, including
   native player chrome, only after the mobile startup period has elapsed. */
:is(.sl-home-film, .sl-subpage-film):has(.fullwidth-video video) > .fullwidth-video-image {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0 !important;
  pointer-events: none;
}
:is(.sl-home-film, .sl-subpage-film) > .fullwidth-video:has(video) {
  opacity: 0 !important;
  transition: opacity .45s ease !important;
  pointer-events: none;
}
:is(.sl-home-film, .sl-subpage-film).sl-video-playing > .fullwidth-video:has(video) {
  opacity: 1 !important;
}
@media (prefers-reduced-motion: reduce) {
  :is(.sl-home-film, .sl-subpage-film) > .fullwidth-video:has(video) { transition: none !important; }
}
/* Decorative background only: never show mobile player chrome over the hero. */
:is(.sl-home-film, .sl-subpage-film) .fullwidth-video video { pointer-events: none; }
:is(.sl-home-film, .sl-subpage-film) video::-webkit-media-controls,
:is(.sl-home-film, .sl-subpage-film) video::-webkit-media-controls-enclosure,
:is(.sl-home-film, .sl-subpage-film) video::-webkit-media-controls-panel,
:is(.sl-home-film, .sl-subpage-film) video::-webkit-media-controls-overlay-play-button,
:is(.sl-home-film, .sl-subpage-film) video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
@media (max-width: 767px) {
  .sl-subpage-film .sl-subpage-kicker { margin-bottom: 16px; font-size: 10px; letter-spacing: .20em; }
  .sl-subpage-film .sl-subpage-intro { margin-top: 18px; font-size: 16px; max-width: 320px; }
}

/* Homepage film: light vignette without the extra accessibility tint. */
.sl-home-film > .fullwidth-overlay {
  background-color: transparent !important;
  background-image: radial-gradient(circle at center center, rgba(22,10,16,.12) 20%, rgba(22,10,16,.28) 100%) !important;
}
/* Preserve legibility on bright frames without darkening the whole film. */
.sl-home-film .fusion-title h1,
.sl-home-film .fusion-text {
  text-shadow: 0 2px 12px rgba(0,0,0,.60);
}

/* Static subpage photos: keep titles readable over the lighter gradient. */
.sl-subpage-film:not(.video-background) .fusion-title h1,
.sl-subpage-film:not(.video-background) .fusion-text {
  text-shadow: 0 2px 12px rgba(0,0,0,.60);
}

/* Gallery header: original photographs, composed without image generation. */
body:is(.page-id-3876,.page-id-8385,.page-id-8386) .sl-subpage-film {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.sl-gallery-real-collage {
  position: absolute;
  inset: 0 -2%;
  z-index: 0;
  display: flex;
  background: #30221d;
  pointer-events: none;
}
.sl-gallery-real-collage > span {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin-left: -20px;
  clip-path: polygon(5% 0,100% 0,95% 100%,0 100%);
}
.sl-gallery-real-collage > span:first-child { margin-left: 0; }
.sl-gallery-real-collage > span:nth-child(3) { flex-grow: 1.12; }
.sl-gallery-real-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.sl-gallery-real-collage > span:nth-child(1) img { object-position: center 64%; }
.sl-gallery-real-collage > span:nth-child(4) img { object-position: center 38%; }
.sl-gallery-real-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(22,12,14,.32),rgba(22,12,14,.09) 32%,rgba(22,12,14,.25)),radial-gradient(ellipse at center,rgba(22,12,14,.28),transparent 65%);
}
body:is(.page-id-3876,.page-id-8385,.page-id-8386) .sl-subpage-film > .fusion-builder-row {
  position: relative;
  z-index: 1;
}
@media(max-width:767px) {
  .sl-gallery-real-collage { inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
  .sl-gallery-real-collage > span { margin: 0; clip-path: none; overflow: hidden; }
  .sl-gallery-real-collage > span:nth-child(1) { grid-column: 1; grid-row: 1; }
  .sl-gallery-real-collage > span:nth-child(2) { grid-column: 2; grid-row: 1; }
  .sl-gallery-real-collage > span:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
  .sl-gallery-real-collage > span:nth-child(4) { grid-column: 1; grid-row: 2; }
  .sl-gallery-real-collage > span:nth-child(5) { grid-column: 2; grid-row: 2; }
}

/* Contact: approved entrance and floral table diptych. */
body:is(.page-id-3838,.page-id-8383,.page-id-8384) .sl-subpage-film {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.sl-contact-real-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  gap: 3px;
  background: #3b2921;
  pointer-events: none;
}
.sl-contact-real-collage > span { flex: 1; min-width: 0; overflow: hidden; }
.sl-contact-real-collage > span:first-child { flex: 1.1; }
.sl-contact-real-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sl-contact-real-collage > span:first-child img { object-position: center 30%; }
.sl-contact-real-collage > span:last-child img { object-position: center 44%; }
.sl-contact-real-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(20,13,8,.12),rgba(20,13,8,.06) 25%,rgba(20,13,8,.08) 75%,rgba(20,13,8,.20)),radial-gradient(ellipse at center,rgba(20,13,8,.38),transparent 65%);
}
body:is(.page-id-3838,.page-id-8383,.page-id-8384) .sl-subpage-film > .fusion-builder-row { position: relative; z-index: 1; }
@media(max-width:650px) {
  .sl-contact-real-collage > span:first-child img { object-position: 58% 30%; }
}


/* Italian interiors: full-width real photographs, centered existing copy. */
body:is(.page-id-556,.page-id-8371,.page-id-8372,.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film {
 position:relative; isolation:isolate; background-size:cover,cover !important;
}
body:is(.page-id-556,.page-id-8371,.page-id-8372) .sl-subpage-film {background-position:center,center 43% !important;}
body:is(.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film {background-position:center,center 30% !important;}
body:is(.page-id-556,.page-id-8371,.page-id-8372,.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film::before {
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(180deg,rgba(25,16,9,.38),transparent 27%),radial-gradient(ellipse 43% 54% at 50% 56%,rgba(27,15,8,.40),rgba(27,15,8,.12) 72%,transparent);
}
body:is(.page-id-556,.page-id-8371,.page-id-8372,.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film > .fusion-builder-row {position:relative;z-index:1;}
body:is(.page-id-556,.page-id-8371,.page-id-8372,.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film :is(h1,.sl-subpage-kicker,.sl-subpage-intro) {
 color:#fffaf2 !important;text-shadow:0 1px 12px rgba(20,10,5,.36) !important;opacity:1;
}
@media(max-width:767px) {
 body:is(.page-id-556,.page-id-8371,.page-id-8372) .sl-subpage-film {background-position:center,center 42% !important;}
 body:is(.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film {background-size:cover,cover !important;background-position:center,center 30% !important;}
 body:is(.page-id-556,.page-id-8371,.page-id-8372,.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film::before {background:linear-gradient(180deg,rgba(25,16,9,.36),transparent 29%),radial-gradient(ellipse at 50% 65%,rgba(27,15,8,.38),transparent 85%);}
}

/* Use the photograph's long edge on wider screens without creating a new image. */
@media(min-width:768px){
 body:is(.page-id-556,.page-id-8371,.page-id-8372) .sl-subpage-film::after {
  content:"";position:absolute;left:50%;top:50%;width:max(56.2272727vw,520px);height:max(100vw,924.819px);
  transform:translate(-50%,-50%) rotate(90deg);z-index:-1;pointer-events:none;
  background-image:inherit;background-position:center;background-size:cover;background-repeat:no-repeat;
 }
}


/* Preserve the white navigation over the bright backlit wine display. */
body:is(.page-id-556,.page-id-8371,.page-id-8372) .sl-subpage-film::before {
 background:linear-gradient(180deg,rgba(25,16,9,.62),rgba(25,16,9,.42) 18%,transparent 36%),radial-gradient(ellipse 43% 54% at 50% 56%,rgba(27,15,8,.40),rgba(27,15,8,.12) 72%,transparent);
}
@media(max-width:767px){
 body:is(.page-id-556,.page-id-8371,.page-id-8372) .sl-subpage-film::before {
  background:linear-gradient(180deg,rgba(25,16,9,.60),rgba(25,16,9,.34) 24%,transparent 45%),radial-gradient(ellipse at 50% 65%,rgba(27,15,8,.38),transparent 85%);
 }
}

/* Approved single landscape dish: readable navigation and centered title. */
body:is(.page-id-3834,.page-id-8381,.page-id-8382) .sl-subpage-film::before {
 background:linear-gradient(180deg,rgba(25,16,9,.60),rgba(25,16,9,.28) 18%,transparent 35%),radial-gradient(ellipse 43% 54% at 50% 56%,rgba(27,15,8,.43),rgba(27,15,8,.12) 72%,transparent);
}

/* Prevent root elastic overscroll from exposing the document canvas. */
html {
  overscroll-behavior-y: none;
}

/* Current section: a clear label, without a decorative underline. */
.sl-film-header .sl-header-navigation > .awb-menu .awb-menu__main-li_regular:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_parent) > .awb-menu__main-a_regular,
.sl-film-header .sl-header-navigation > .awb-menu .awb-menu__main-li_regular:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_parent) > .awb-menu__main-a_regular > .menu-text {
  color: #fffaf2 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 3px rgba(20,8,10,.65);
}
.sl-film-header .sl-header-navigation > .awb-menu .awb-menu__main-li_regular:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor, .current_page_item, .current_page_parent) > .awb-menu__main-a_regular > .menu-text {
  font-weight: 400;
}

/* Keep hovered and keyboard-focused desktop links legible over photographs. */
.sl-film-header .sl-header-navigation > .awb-menu:not(.collapse-enabled) .awb-menu__main-li_regular:is(:hover, .hover, :focus-within) > .awb-menu__main-a_regular,
.sl-film-header .sl-header-navigation > .awb-menu:not(.collapse-enabled) .awb-menu__main-li_regular:is(:hover, .hover, :focus-within) > .awb-menu__main-a_regular > .menu-text {
  color: #fffaf2 !important;
  text-shadow: 0 1px 3px rgba(20,8,10,.65);
}
