/* Give the central tree clear space; only the dining copy moves aside. */
@media (min-width: 1401px) {
  .pdf-layout .cuisine-page #gastronomy {
    padding-inline: 4cqw;
  }
  .pdf-layout .cuisine-page #gastronomy .reference-gastro-copy {
    max-width: 34cqw;
  }
  .pdf-layout .cuisine-page #gastronomy .reference-gastro-copy p:not(.reference-signature) {
    font-size: clamp(15px, 1.08cqw, 18px);
  }
  .pdf-layout .cuisine-page #gastronomy .reference-gastro-copy p br {
    display: none;
  }
}
/* On narrow screens, let the whole photograph lead and place the copy below. */
@media (max-width: 1400px) {
  .pdf-layout .cuisine-page #gastronomy {
    background-position: center top;
    background-size: 100% auto;
    padding-top: calc(66.6667cqw + 32px);
    min-height: 0;
  }
  .pdf-layout .cuisine-page #gastronomy::before {
    top: 66.6667cqw;
  }
  .pdf-layout .cuisine-page #gastronomy .reference-gastro-copy {
    max-width: none;
  }
}

#seasons .culture-track img[src$="/shiki-hina-display.webp"] {
    object-view-box: inset(7% 12% 12% 12%);
    object-position: 50% 46%;
}

/* Keep the snowy avenue and distant hills prominent in the landscape frame. */
#seasons .culture-track img[src$="/seasons-selection-54.webp"] {
    object-position: 50% 25%;
}

/* Hide the source photo's thin top edge without enlarging its gallery slot. */
#seasons .culture-track a:has(img[src$="/forest-shrine-cropped.webp"]) {
    overflow: hidden;
}
#seasons .culture-track img[src$="/forest-shrine-cropped.webp"] {
    transform: scale(1.025);
    transform-origin: center;
}

/* Photo readability audit: retain the night sky; shade only behind the copy. */
.pdf-layout main:has(#special-rates) #gastronomy::before {
  background: linear-gradient(90deg, rgba(7,13,24,.30), rgba(7,13,24,.18) 42%, transparent 78%);
}
@media (min-width: 1201px) {
  .pdf-layout .cuisine-page #gastronomy::before {
    background: linear-gradient(90deg, rgba(7,13,24,.30), rgba(7,13,24,.18) 34%, transparent 65%);
  }
}
@media (max-width: 700px) {
  html:lang(ja) .pdf-layout main:has(#special-rates) #gastronomy::after {
    background-image: url("images/pdf-winter-stars.webp");
  }
  .pdf-layout main:has(#special-rates) #gastronomy::before {
    background: linear-gradient(90deg, rgba(7,13,24,.28), rgba(7,13,24,.18) 58%, transparent 100%);
  }
}

.pdf-layout .cuisine-page #gastronomy,
.pdf-layout main:has(#special-rates) #gastronomy::after {
  background-image: url("images/pdf-winter-stars.webp");
}
.pdf-layout :is(.reference-banner, .cuisine-entry):has(.page-intro-copy)::after {
  background: linear-gradient(90deg, rgba(20,26,22,.50) 0%, rgba(20,26,22,.26) 45%, rgba(20,26,22,0) 82%);
}
@media(max-width:700px) {
  .pdf-layout :is(.reference-banner, .cuisine-entry):has(.page-intro-copy) > img {filter:none;}
  .pdf-layout :is(.reference-banner, .cuisine-entry):has(.page-intro-copy)::after {
    background: linear-gradient(180deg, transparent 0%, rgba(20,26,22,.12) 26%, rgba(20,26,22,.34) 50%, rgba(20,26,22,.25) 78%, transparent 100%),linear-gradient(90deg, rgba(20,26,22,.34), rgba(20,26,22,.20) 62%, transparent 100%);
  }
}

/* BU's approved Japanese line breaks apply to desktop only. */
@media (min-width: 1024px) {
  html:lang(ja) .pdf-layout .cuisine-page #gastronomy .reference-gastro-copy p br {
    display: initial;
  }
  html:lang(ja) .pdf-layout .cuisine-page #gastronomy .reference-gastro-copy p:not(.reference-signature) {
    margin-bottom: 1.95em;
  }
}
@media (max-width: 1023px) {
  html:lang(ja) .pdf-layout .cuisine-page #gastronomy .reference-gastro-copy p br {
    display: none;
  }
}
