#festival-montier {
  width: min(60rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid #c8d6c7;
  border-radius: 1.25rem;
  background: #f8f5e9;
  color: #15382c;
  box-shadow: 0 1.5rem 5rem #101b15a0;
  overscroll-behavior: contain;
}
#festival-montier::backdrop { background: #101f18ba; }
.festival-montier-layout { display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); }
.festival-montier-logo {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 1.5rem;
  background: #fff;
}
.festival-montier-logo img { width: 100%; height: auto; max-width: 21rem; }
.festival-montier-content { position: relative; padding: clamp(1.25rem, 4vw, 2.75rem); padding-top: 3.7rem; }
.festival-montier-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #456653;
  border-radius: 50%;
  background: #f8f5e9;
  color: #15382c;
  font: 1.65rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.festival-montier-date { margin: 0 0 .75rem; font-weight: 700; color: #315740; }
#festival-montier h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4.7vw, 3.55rem); line-height: 1.04; letter-spacing: -.035em; }
.festival-montier-content p { line-height: 1.55; }
.festival-montier-follow { margin: 1.1rem 0 .65rem; font-weight: 700; }
.festival-montier-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.festival-montier-social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border-radius: .45rem;
  padding: .5rem .9rem;
  background: #204936;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.festival-montier-social a:hover { background: #32654a; }
.festival-montier-programme { display: inline-block; margin-top: 1.15rem; color: #204936; text-decoration: underline; text-underline-offset: .2em; }
#festival-montier :focus-visible { outline: 3px solid #9f421b; outline-offset: 3px; }
html:has(#festival-montier[open]) { overflow: hidden; }

@media (max-width: 640px) {
  .festival-montier-layout { grid-template-columns: 1fr; }
  .festival-montier-logo { min-height: 0; padding: .75rem 1.5rem; }
  .festival-montier-logo img { width: min(100%, 16rem); }
  .festival-montier-content { padding-top: 2.9rem; }
  .festival-montier-close { top: .35rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduced"]) #festival-montier[open] { animation: festival-montier-open .42s ease-out both; }
  html:not([data-motion="reduced"]) #festival-montier[open] img { animation: festival-montier-photo 1.8s ease-out both; }
}
@keyframes festival-montier-open {
  from { opacity: 0; transform: translateY(.65rem) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes festival-montier-photo {
  from { transform: scale(1.075); }
  to { transform: scale(1); }
}
