@import url("/image-parity.css");
@import url("/preview-parity.css");
@import url("/gallery.css");

.accordion-item__dropdown[hidden] {
  display: none;
}

.newsletter-status {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

[data-controller="BackgroundConic"] {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #412936;
}

[data-controller="BackgroundConic"]::before {
  position: absolute;
  inset: -3%;
  content: "";
  background: center / cover no-repeat url("/assets/hero-texture.jpg");
  animation: hero-ripple 20s ease-in-out infinite alternate;
}

[data-controller="BackgroundConic"].is-paused::before {
  animation-play-state: paused;
}

@keyframes hero-ripple {
  from { transform: translate(-0.5%, 0) scale(1); }
  to { transform: translate(1%, -1%) scale(1.06); }
}

@media (max-width: 767px) {
  [data-controller="BackgroundConic"]::before {
    background-image: url("/assets/hero-texture-mobile.jpg");
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-controller="BackgroundConic"]:not(.is-paused)::before {
    animation-duration: 36s;
  }

  .header-menu,
  .header-menu-nav-list,
  .header-menu .header-menu-cta,
  .header-menu-nav-folder,
  .header-burger-btn .burger-inner * {
    transition: none !important;
  }
}

[data-controller="BackgroundConic"] .section-background-canvas {
  display: none;
}

.user-items-list-carousel[data-layout-width="full"] .user-items-list-carousel__gutter {
  padding-inline: var(--pagePadding);
  touch-action: pan-y pinch-zoom;
}

.has-section-divider {
  --divider-height: 6vw;
}

.header-nav-list.yn-programmes {
  display: flex;
  gap: clamp(12px, 2vw, 32px);
  align-items: center;
}

.header-nav-list.yn-programmes a {
  padding-block: 8px;
  color: #fff;
  text-shadow: 0 1px 3px #342132;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.35;
  white-space: nowrap;
}

.yn-menu-programmes {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.yn-menu-programmes a {
  display: inline-block;
  padding: 8px 12px;
  color: inherit;
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.25;
}

.yn-programme-link:hover,
.yn-programme-link:focus-visible,
.yn-programme-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.yn-privacy-footer {
  padding: 1rem;
  background: #fff;
  color: #382635;
  text-align: center;
}

.yn-privacy-footer a, .yn-privacy-note a, .newsletter-form-footnote a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.yn-privacy-note {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.5;
}
