/* Frajdoo – Prosty Slider. All selectors are scoped to this component. */
.frs-slider {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  color: #000;
  font-family: inherit;
  text-align: initial;
}
.frs-slider, .frs-slider *, .frs-slider *::before, .frs-slider *::after { box-sizing: border-box; }
.frs-slider [hidden] { display: none !important; }
.frs-slider .frs-slider__viewport { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
/* All active slides occupy the same grid cell, so the tallest defines the track. */
.frs-slider .frs-slider__viewport > .frs-slider__slide[hidden] { display: grid !important; visibility: hidden !important; pointer-events: none !important; }
.frs-slider .frs-slider__viewport > .frs-slider__slide[hidden] * { visibility: hidden !important; pointer-events: none !important; }
.frs-slider.frs-slider--ready:not([data-swipe="0"]) .frs-slider__viewport { touch-action: pan-y pinch-zoom; }
.frs-slider .frs-slider__slide {
  position: relative;
  display: grid;
  min-height: var(--frs-height, 680px);
  width: 100%;
  grid-area: 1 / 1;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background-color: #fff;
}
.frs-slider .frs-slider__body {
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
.frs-slider a.frs-slider__link,
.frs-slider a.frs-slider__link:hover,
.frs-slider a.frs-slider__link:visited,
.frs-slider a.frs-slider__link:focus { color: inherit; text-decoration: none; cursor: pointer; }
.frs-slider a.frs-slider__link:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 7px #111; }
.frs-slider .frs-slider__background, .frs-slider .frs-slider__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.frs-slider .frs-slider__background-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}
.frs-slider .frs-slider__overlay { background: #000; opacity: var(--frs-overlay, 0); }
/* Separate darkening for phones. The variable is always resolved in PHP,
   including existing slides with a legacy single overlay setting. */
@media (max-width: 767px) {
  .frs-slider .frs-slider__overlay { opacity: var(--frs-overlay-mobile, var(--frs-overlay, 0)); }
}
.frs-slider .frs-slider__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  width: min(calc(100% - 120px), var(--frs-content-width, 1288px));
  min-width: 0;
  margin: 0 auto;
  padding: 48px 0 62px;
  z-index: 1;
}
.frs-slider .frs-slider__content { min-width: 0; text-align: left; overflow-wrap: anywhere; }
.frs-slider .frs-slider__heading {
  margin: 0;
  padding: 0;
  color: var(--frs-title, #000);
  font-family: "KG Second Chances Solid", sans-serif;
  font-size: clamp(34px, 3.5vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: none;
}
.frs-slider .frs-slider__description {
  margin: 12px 0 0;
  padding: 0;
  color: var(--frs-description, #000);
  font-family: inherit;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}
.frs-slider .frs-slider__description:first-child { margin-top: 0; }
.frs-slider .frs-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  margin: 24px 0 0;
  padding: 14px 30px;
  border: 0;
  border-radius: 10px;
  background: var(--frs-button-bg, #f16075);
  color: var(--frs-button-text, #fff);
  font-family: inherit;
  font-size: clamp(16px, 1.3vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  transition: filter .18s ease;
}
.frs-slider .frs-slider__button:first-child { margin-top: 0; }
.frs-slider .frs-slider__button:visited, .frs-slider .frs-slider__button:hover, .frs-slider .frs-slider__button:focus { color: var(--frs-button-text, #fff); text-decoration: none; background: var(--frs-button-bg, #f16075); }
.frs-slider .frs-slider__link:hover .frs-slider__button, .frs-slider .frs-slider__link:focus-visible .frs-slider__button { filter: brightness(.91); }
.frs-slider .frs-slider__graphic { display: grid; justify-items: center; min-width: 0; }
.frs-slider .frs-slider__graphic-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 560px);
  max-height: max(220px, calc(var(--frs-height, 680px) - 110px));
  margin: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.frs-slider .frs-slider__slide--text .frs-slider__inner,
.frs-slider .frs-slider__slide--graphic .frs-slider__inner,
.frs-slider .frs-slider__slide--background .frs-slider__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.frs-slider .frs-slider__slide--text .frs-slider__content { text-align: center; max-width: 900px; }
.frs-slider .frs-slider__slide--graphic .frs-slider__graphic-image { max-width: min(100%, 720px); }
.frs-slider .frs-slider__control {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--frs-arrow-text, #fff);
  cursor: pointer;
  box-shadow: none;
  appearance: none;
}
.frs-slider .frs-slider__control::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--frs-arrow-bg, #ff913d);
  z-index: -1;
}
.frs-slider .frs-slider__control:hover, .frs-slider .frs-slider__control:focus { background: transparent; color: var(--frs-arrow-text, #fff); }
.frs-slider .frs-slider__control:hover::before { filter: brightness(.86); }
.frs-slider .frs-slider__arrow { top: 50%; transform: translateY(-50%); }
.frs-slider .frs-slider__arrow--previous { left: 8px; }
.frs-slider .frs-slider__arrow--next { right: 8px; }
.frs-slider .frs-slider__rotation { right: 8px; bottom: 6px; }
.frs-slider .frs-slider__rotation .frs-slider__play { display: none; }
.frs-slider .frs-slider__rotation[data-paused="1"] .frs-slider__play { display: block; }
.frs-slider .frs-slider__rotation[data-paused="1"] .frs-slider__pause { display: none; }
.frs-slider .frs-slider__dots {
  position: absolute;
  z-index: 2;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  max-width: calc(100% - 120px);
  width: max-content;
  margin: 0;
  padding: 0;
}
.frs-slider .frs-slider__dots::-webkit-scrollbar { display: none; }
.frs-slider .frs-slider__dot {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 28px;
  min-width: 24px;
  min-height: 28px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
}
.frs-slider .frs-slider__dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--frs-dot-inactive, #fff);
  box-shadow: 0 0 0 1px rgba(0,0,0,.55);
  transition: background-color .15s ease;
}
.frs-slider .frs-slider__dot[aria-current="true"]::before { background: var(--frs-dot-active, #f16075); }
.frs-slider .frs-slider__dot:hover, .frs-slider .frs-slider__dot:focus { background: transparent; }
.frs-slider :is(.frs-slider__button, .frs-slider__control, .frs-slider__dot, .frs-slider__viewport):focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px #111; }
.frs-slider .frs-slider__dot:focus-visible { outline: 2px solid #111; outline-offset: -3px; box-shadow: inset 0 0 0 5px #fff; }
.frs-slider .frs-slider__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* The outgoing slide stays in the same grid cell until the transition ends.
   Only the active slide can receive pointer and keyboard interaction. */
.frs-slider .frs-slider__slide--active { z-index: 2; }
.frs-slider .frs-slider__slide--exit { z-index: 1; pointer-events: none !important; }
.frs-slider [aria-disabled="true"].frs-slider__arrow { opacity: .45; cursor: default; }
.frs-slider { --frs-offset: 100%; --frs-opposite: -100%; }
.frs-slider[data-direction="backward"] { --frs-offset: -100%; --frs-opposite: 100%; }
.frs-slider .frs-slider__slide--enter { animation: frs-simple-slider-fade var(--frs-duration, 400ms) var(--frs-easing, ease) both; }
.frs-slider[data-effect="horizontal"] .frs-slider__slide--enter { animation-name: frs-simple-slider-in-x; }
.frs-slider[data-effect="horizontal"] .frs-slider__slide--exit { animation: frs-simple-slider-out-x var(--frs-duration, 400ms) var(--frs-easing, ease) both; }
.frs-slider[data-effect="vertical"] .frs-slider__slide--enter { animation-name: frs-simple-slider-in-y; }
.frs-slider[data-effect="vertical"] .frs-slider__slide--exit { animation: frs-simple-slider-out-y var(--frs-duration, 400ms) var(--frs-easing, ease) both; }
.frs-slider[data-effect="crossfade"] .frs-slider__slide--exit { animation: frs-simple-slider-fade-out var(--frs-duration, 400ms) var(--frs-easing, ease) both; }
.frs-slider[data-effect="zoom"] .frs-slider__slide--enter { animation-name: frs-simple-slider-zoom; }
.frs-slider[data-effect="none"] .frs-slider__slide--enter { animation: none; }
@keyframes frs-simple-slider-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes frs-simple-slider-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes frs-simple-slider-in-x { from { transform: translateX(var(--frs-offset)); } to { transform: translateX(0); } }
@keyframes frs-simple-slider-out-x { from { transform: translateX(0); } to { transform: translateX(var(--frs-opposite)); } }
@keyframes frs-simple-slider-in-y { from { transform: translateY(var(--frs-offset)); } to { transform: translateY(0); } }
@keyframes frs-simple-slider-out-y { from { transform: translateY(0); } to { transform: translateY(var(--frs-opposite)); } }
@keyframes frs-simple-slider-zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
/* Mobile: all media remains visible and the content can grow vertically. */
@media (max-width: 767px) {
  .frs-slider .frs-slider__slide { min-height: var(--frs-mobile-height, 440px); }
  .frs-slider .frs-slider__inner { width: calc(100% - 48px); grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 42px 0 72px; justify-items: center; }
  .frs-slider .frs-slider__content { text-align: center; }
  .frs-slider .frs-slider__heading { font-size: clamp(28px, 7vw, 44px); }
  .frs-slider .frs-slider__description { font-size: 16px; }
  .frs-slider .frs-slider__button { font-size: 17px; padding: 13px 25px; margin-top: 18px; }
  .frs-slider .frs-slider__graphic-image { max-height: 360px; max-width: min(100%, 430px); }
  .frs-slider .frs-slider__slide--graphic .frs-slider__graphic-image { max-width: min(100%, 500px); }
  .frs-slider .frs-slider__arrow { top: auto; bottom: 5px; transform: none; }
  .frs-slider .frs-slider__arrow--previous { left: 2px; }
  .frs-slider .frs-slider__arrow--next { right: 2px; }
  .frs-slider .frs-slider__rotation { top: 2px; right: 2px; bottom: auto; }
  .frs-slider .frs-slider__dots { max-width: calc(100% - 100px); }
}
/* Accessibility is the default: only the explicit admin opt-in overrides
   the visitor's reduced-motion preference for slider transitions. */
@media (prefers-reduced-motion: reduce) {
  .frs-slider:not([data-motion-policy="always"]) .frs-slider__slide--enter,
  .frs-slider:not([data-motion-policy="always"]) .frs-slider__slide--exit { animation: none; }
  .frs-slider:not([data-motion-policy="always"]) .frs-slider__button,
  .frs-slider:not([data-motion-policy="always"]) .frs-slider__dot::before { transition: none; }
}

/* Optional height limits. The inner area scrolls rather than hiding long copy.
   Padding on the slide reserves space for the controls outside the scroller. */
.frs-slider .frs-slider__inner[tabindex]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
  box-shadow: inset 0 0 0 4px #111;
}
@media (min-width: 768px) {
  .frs-slider.frs-slider--max-desktop {
    --frs-limit: var(--frs-max-height);
    --frs-top-space: clamp(10px, calc(var(--frs-limit) * .07), 48px);
    --frs-bottom-space: var(--frs-top-space);
  }
  .frs-slider.frs-slider--max-desktop.frs-slider--navigation {
    --frs-bottom-space: max(50px, var(--frs-top-space));
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__slide {
    max-height: var(--frs-limit);
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__body {
    padding-block: var(--frs-top-space) var(--frs-bottom-space);
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__inner {
    --frs-available: calc(var(--frs-limit) - var(--frs-top-space) - var(--frs-bottom-space));
    max-height: var(--frs-available);
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    align-content: safe center;
    padding: 4px;
    gap: clamp(16px, calc(var(--frs-limit) * .07), 72px);
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__graphic-image {
    max-height: min(max(0px, calc(var(--frs-available) - 8px)), max(220px, calc(var(--frs-height) - 110px)));
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__heading {
    font-size: clamp(24px, min(3.5vw, calc(var(--frs-limit) * .115)), 64px);
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__description {
    font-size: clamp(16px, min(1.2vw, calc(var(--frs-limit) * .065)), 20px);
    margin-top: clamp(6px, calc(var(--frs-limit) * .02), 12px);
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__button {
    min-height: 44px;
    font-size: clamp(16px, min(1.3vw, calc(var(--frs-limit) * .065)), 24px);
    margin-top: clamp(10px, calc(var(--frs-limit) * .035), 24px);
    padding: clamp(8px, calc(var(--frs-limit) * .023), 14px) 24px;
  }
}
@media (max-width: 767px) {
  .frs-slider.frs-slider--max-mobile {
    --frs-limit: var(--frs-max-mobile-height);
    --frs-top-space: clamp(8px, calc(var(--frs-limit) * .04), 26px);
    --frs-bottom-space: var(--frs-top-space);
  }
  .frs-slider.frs-slider--max-mobile.frs-slider--rotation { --frs-top-space: 48px; }
  .frs-slider.frs-slider--max-mobile.frs-slider--bottom-navigation { --frs-bottom-space: 50px; }
  .frs-slider.frs-slider--max-mobile .frs-slider__slide {
    max-height: var(--frs-limit);
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__body {
    padding-block: var(--frs-top-space) var(--frs-bottom-space);
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__inner {
    --frs-available: calc(var(--frs-limit) - var(--frs-top-space) - var(--frs-bottom-space));
    max-height: var(--frs-available);
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    align-content: safe center;
    padding: 4px;
    gap: clamp(8px, calc(var(--frs-limit) * .035), 24px);
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__graphic-image {
    max-height: min(360px, max(0px, calc(var(--frs-available) - 8px)));
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__slide--split .frs-slider__graphic-image {
    max-height: min(360px, calc(var(--frs-available) * .40));
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__heading {
    font-size: clamp(22px, min(7vw, calc(var(--frs-limit) * .085)), 44px);
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__description {
    font-size: 16px;
    line-height: 1.4;
    margin-top: clamp(6px, calc(var(--frs-limit) * .025), 12px);
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__button {
    min-height: 44px;
    font-size: 16px;
    padding: 8px 20px;
    margin-top: clamp(8px, calc(var(--frs-limit) * .03), 18px);
  }
}
.frs-slider .frs-slider__description:first-child,
.frs-slider .frs-slider__button:first-child { margin-top: 0; }


/* v1.0.6: precise image sizing. Defaults reproduce the previous layout.
   These limits apply to the actual image, not to its uploaded pixel dimensions. */
@media (min-width: 768px) {
  .frs-slider .frs-slider__slide--split .frs-slider__inner {
    grid-template-columns: minmax(0, var(--frs-text-fr, 1.1fr)) minmax(0, var(--frs-image-fr, .9fr));
  }
}
.frs-slider .frs-slider__graphic-image {
  max-width: min(100%, var(--frs-graphic-width, 560px));
  max-height: var(--frs-graphic-height, 570px);
  object-fit: contain;
}
.frs-slider .frs-slider__slide--graphic .frs-slider__graphic-image {
  max-width: min(100%, var(--frs-graphic-only-width, 720px));
}
@media (max-width: 767px) {
  .frs-slider .frs-slider__graphic-image {
    max-width: min(100%, var(--frs-graphic-mobile-width, 430px));
    max-height: var(--frs-graphic-mobile-height, 360px);
  }
  .frs-slider .frs-slider__slide--graphic .frs-slider__graphic-image {
    max-width: min(100%, var(--frs-graphic-mobile-only-width, 500px));
  }
}
/* A defined maximum height always wins over uploaded graphic dimensions. */
@media (min-width: 768px) {
  .frs-slider.frs-slider--max-desktop .frs-slider__graphic-image {
    max-height: min(var(--frs-graphic-height, 570px), max(0px, calc(var(--frs-available) - 8px)));
  }
}
@media (max-width: 767px) {
  .frs-slider.frs-slider--max-mobile .frs-slider__graphic-image {
    max-height: min(var(--frs-graphic-mobile-height, 360px), max(0px, calc(var(--frs-available) - 8px)));
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__slide--split .frs-slider__graphic-image {
    max-height: min(var(--frs-graphic-mobile-height, 360px), max(0px, calc(var(--frs-available) * .40)));
  }
}
/* Mobile landscape-banners use a dedicated composition. Never squeeze desktop
   text into ~130px, and never crop a picture with text or product artwork. */
.frs-slider .frs-slider__mobile-banner { display: none; }
@media (max-width: 767px) {
  .frs-slider.frs-slider--compact-mobile .frs-slider__slide {
    min-height: 0;
    max-height: none;
    aspect-ratio: var(--frs-mobile-ratio, 3) / 1;
  }
  .frs-slider.frs-slider--compact-mobile .frs-slider__body {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }
  .frs-slider.frs-slider--compact-mobile .frs-slider__inner,
  .frs-slider.frs-slider--compact-mobile .frs-slider__background,
  .frs-slider.frs-slider--compact-mobile .frs-slider__overlay { display: none !important; }
  .frs-slider.frs-slider--compact-mobile .frs-slider__mobile-banner {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .frs-slider.frs-slider--compact-mobile .frs-slider__mobile-banner img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .frs-slider.frs-slider--compact-mobile .frs-slider__arrow {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .frs-slider.frs-slider--compact-mobile .frs-slider__rotation { top: 0; right: 0; }
  .frs-slider.frs-slider--compact-mobile .frs-slider__dots { bottom: 0; }
}

/* v1.0.8 – optional mobile-only background. The original desktop image is the fallback. */
.frs-slider .frs-slider__background-picture { display: block; width: 100%; height: 100%; }
.frs-slider .frs-slider__background-picture > .frs-slider__background-image { height: 100%; width: 100%; }

/* Explicit mobile overrides are absent by default: the old look remains unchanged. */
@media (max-width: 767px) {
  .frs-slider .frs-slider__heading { font-size: var(--frs-mobile-title-size, clamp(28px, 7vw, 44px)); }
  .frs-slider.frs-slider--max-mobile .frs-slider__heading { font-size: var(--frs-mobile-title-size, clamp(22px, min(7vw, calc(var(--frs-limit) * .085)), 44px)); }
  .frs-slider .frs-slider__button {
    font-size: var(--frs-mobile-button-font-size, 17px);
    width: var(--frs-mobile-button-width, auto);
    min-height: var(--frs-mobile-button-height, 48px);
    max-width: 100%;
    padding-block: var(--frs-mobile-button-pad-y, 13px);
  }
  .frs-slider.frs-slider--max-mobile .frs-slider__button {
    font-size: var(--frs-mobile-button-font-size, 16px);
    min-height: var(--frs-mobile-button-height, 44px);
    padding-block: var(--frs-mobile-button-pad-y, 8px);
  }
  /* The compact layout only reduces whitespace; no text is cropped or hidden. */
  .frs-slider.frs-slider--tight-mobile .frs-slider__inner { gap: 12px; padding-top: 24px; padding-bottom: 58px; }
  .frs-slider.frs-slider--tight-mobile .frs-slider__description { margin-top: 8px; line-height: 1.4; }
  .frs-slider.frs-slider--tight-mobile .frs-slider__button { margin-top: 12px; }
  .frs-slider.frs-slider--tight-mobile .frs-slider__graphic-image { max-height: min(var(--frs-graphic-mobile-height, 360px), 280px); }
  .frs-slider.frs-slider--tight-mobile.frs-slider--max-mobile .frs-slider__inner {
    padding: 4px; gap: 10px;
  }
  .frs-slider.frs-slider--tight-mobile.frs-slider--max-mobile .frs-slider__graphic-image {
    max-height: min(var(--frs-graphic-mobile-height, 360px), 280px, max(0px, calc(var(--frs-available) - 8px)));
  }
  .frs-slider.frs-slider--tight-mobile.frs-slider--max-mobile .frs-slider__slide--split .frs-slider__graphic-image {
    max-height: min(var(--frs-graphic-mobile-height, 360px), 280px, max(0px, calc(var(--frs-available) * .40)));
  }
}


/* v1.0.9: desktop/tablet-specific overrides; unset custom properties preserve
   the old typography, spacing and button size even when a max height is used. */
@media (min-width: 768px) {
  .frs-slider .frs-slider__heading {
    font-size: var(--frs-desktop-title-size, clamp(34px, 2.5vw, 64px));
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__heading {
    font-size: var(--frs-desktop-title-size, clamp(34px, 2.5vw, 64px));
  }
  .frs-slider .frs-slider__button {
    font-size: var(--frs-desktop-button-font-size, clamp(16px, 1.3vw, 24px));
    width: var(--frs-desktop-button-width, auto);
    min-height: var(--frs-desktop-button-height, 48px);
    max-width: 100%;
    padding-block: var(--frs-desktop-button-pad-y, 14px);
  }
  .frs-slider.frs-slider--max-desktop .frs-slider__button {
    font-size: var(--frs-desktop-button-font-size, clamp(16px, min(1.3vw, calc(var(--frs-limit) * .065)), 24px));
    min-height: var(--frs-desktop-button-height, 44px);
    padding-block: var(--frs-desktop-button-pad-y, clamp(8px, calc(var(--frs-limit) * .023), 14px));
  }
}

/* v1.0.10 – descriptions can be disabled globally or individually only on phones.
   The desktop/tablet markup remains unchanged. Hidden descriptions do not reserve space. */
@media (max-width: 767px) {
  .frs-slider .frs-slider__slide--hide-mobile-description .frs-slider__description {
    display: none !important;
  }
  /* If the hidden description was the only text, remove the empty content block. */
  .frs-slider .frs-slider__slide--mobile-empty-text .frs-slider__content {
    display: none !important;
  }
  .frs-slider .frs-slider__slide--mobile-button-first .frs-slider__button {
    margin-top: 0;
  }
  /* Artwork becomes the only content in a description-only + graphic slide. */
  .frs-slider .frs-slider__slide--mobile-empty-text .frs-slider__graphic-image {
    max-width: min(100%, var(--frs-graphic-mobile-only-width, 500px));
  }
}

/* v1.0.11 — predictable, fixed-size canvas.
   IMPORTANT: both the viewport and each overlaying slide have a *definite* height.
   Image dimensions, a new font or lazy-loaded images cannot enlarge that canvas.
   Oversized copy remains reachable in its own scroll region. */
.frs-slider.frs-slider--fixed-height .frs-slider__viewport {
  height: var(--frs-height, 680px);
  min-height: 0;
  max-height: none;
  grid-template-rows: minmax(0, 1fr);
}
.frs-slider.frs-slider--fixed-height .frs-slider__viewport > .frs-slider__slide,
.frs-slider.frs-slider--fixed-height.frs-slider--max-desktop .frs-slider__viewport > .frs-slider__slide {
  height: 100%;
  min-height: 0;
  max-height: none;
  grid-template-rows: minmax(0, 1fr);
}
.frs-slider.frs-slider--fixed-height .frs-slider__body,
.frs-slider.frs-slider--fixed-height.frs-slider--max-desktop .frs-slider__body,
.frs-slider.frs-slider--fixed-height.frs-slider--max-mobile .frs-slider__body {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}
.frs-slider.frs-slider--fixed-height .frs-slider__inner,
.frs-slider.frs-slider--fixed-height.frs-slider--max-desktop .frs-slider__inner,
.frs-slider.frs-slider--fixed-height.frs-slider--max-mobile .frs-slider__inner {
  width: min(calc(100% - 80px), var(--frs-content-width, 1288px), 1366px);
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  padding: 18px 0 43px;
  gap: clamp(12px, 1.8vw, 28px);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  align-content: stretch;
}
.frs-slider.frs-slider--fixed-height .frs-slider__content {
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  align-self: center;
}
.frs-slider.frs-slider--fixed-height .frs-slider__content:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.frs-slider.frs-slider--fixed-height .frs-slider__graphic {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  align-self: stretch;
}
.frs-slider.frs-slider--fixed-height .frs-slider__graphic-image,
.frs-slider.frs-slider--fixed-height.frs-slider--max-desktop .frs-slider__graphic-image,
.frs-slider.frs-slider--fixed-height.frs-slider--max-mobile .frs-slider__graphic-image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: min(100%, var(--frs-graphic-width, 560px));
  max-height: min(100%, var(--frs-graphic-height, 570px));
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  flex: 0 1 auto;
}
.frs-slider.frs-slider--fixed-height .frs-slider__slide--graphic .frs-slider__graphic-image {
  max-width: min(100%, var(--frs-graphic-only-width, 720px));
}
.frs-slider.frs-slider--fixed-height .frs-slider__slide--text .frs-slider__inner,
.frs-slider.frs-slider--fixed-height .frs-slider__slide--graphic .frs-slider__inner,
.frs-slider.frs-slider--fixed-height .frs-slider__slide--background .frs-slider__inner {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--split .frs-slider__inner {
    grid-template-columns: minmax(0, var(--frs-text-fr, 1.1fr)) minmax(0, var(--frs-image-fr, .9fr));
  }
}
@media (max-width: 767px) {
  .frs-slider.frs-slider--fixed-height .frs-slider__viewport {
    height: var(--frs-mobile-height, 440px);
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__inner,
  .frs-slider.frs-slider--fixed-height.frs-slider--max-mobile .frs-slider__inner,
  .frs-slider.frs-slider--fixed-height.frs-slider--tight-mobile .frs-slider__inner,
  .frs-slider.frs-slider--fixed-height.frs-slider--tight-mobile.frs-slider--max-mobile .frs-slider__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% - 44px);
    height: 100%;
    min-height: 0;
    max-height: 100%;
    padding: 46px 0 45px;
    gap: 14px;
    overflow: hidden;
  }
  .frs-slider.frs-slider--fixed-height.frs-slider--tight-mobile .frs-slider__inner,
  .frs-slider.frs-slider--fixed-height.frs-slider--tight-mobile.frs-slider--max-mobile .frs-slider__inner {
    padding-top: 40px;
    padding-bottom: 43px;
    gap: 11px;
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__content {
    flex: 0 1 auto;
    width: 100%;
    max-height: 58%;
    text-align: center;
    min-height: 0;
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--text .frs-slider__content {
    max-height: 100%;
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__graphic {
    display: flex;
    flex: 0 1 auto;
    width: 100%;
    height: min(60%, var(--frs-graphic-mobile-height, 360px));
    min-height: 0;
    max-height: 100%;
    align-self: center;
    overflow: hidden;
    justify-content: center;
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__graphic-image,
  .frs-slider.frs-slider--fixed-height.frs-slider--max-mobile .frs-slider__graphic-image,
  .frs-slider.frs-slider--fixed-height.frs-slider--tight-mobile .frs-slider__graphic-image,
  .frs-slider.frs-slider--fixed-height.frs-slider--max-mobile .frs-slider__slide--split .frs-slider__graphic-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: min(100%, var(--frs-graphic-mobile-width, 430px));
    object-fit: contain;
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--graphic .frs-slider__graphic-image,
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--mobile-empty-text .frs-slider__graphic-image {
    max-width: min(100%, var(--frs-graphic-mobile-only-width, 500px));
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--hide-mobile-graphic .frs-slider__graphic {
    display: none !important;
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--hide-mobile-graphic .frs-slider__content,
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--mobile-empty-text .frs-slider__graphic {
    max-height: 100%;
  }
  /* Image-only horizontal banners are deliberately a different, aspect-ratio
     layout and do not inherit the fixed classic-slide height. */
  .frs-slider.frs-slider--fixed-height.frs-slider--compact-mobile .frs-slider__viewport {
    height: auto;
    aspect-ratio: var(--frs-mobile-ratio, 3) / 1;
  }
  .frs-slider.frs-slider--fixed-height.frs-slider--compact-mobile .frs-slider__slide {
    height: 100%;
    aspect-ratio: auto;
  }
  .frs-slider.frs-slider--fixed-height.frs-slider--compact-mobile .frs-slider__mobile-banner {
    height: 100%;
  }
}

/* Prioritize readable headings/buttons over the illustration on short phones.
   The image shrinks to the remaining space; long text alone may scroll. */
@media (max-width: 767px) {
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--split .frs-slider__content,
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--split.frs-slider__slide--hide-mobile-graphic .frs-slider__content {
    flex: 0 0 auto;
    max-height: 72%;
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--split .frs-slider__graphic {
    flex: 1 1 auto;
    height: min(60%, var(--frs-graphic-mobile-height, 360px));
  }
  .frs-slider.frs-slider--fixed-height .frs-slider__slide--split.frs-slider__slide--hide-mobile-graphic .frs-slider__content {
    max-height: 100%;
  }
}
