/* MAIN BANNER*/



/* ==========================================
   1. MAIN BANNER SETTINGS
========================================== */

.fs-tab-banner {

  --fs-tablet-design-width: 660px;
  --fs-tablet-max-width: 1000px;

  --fs-tablet-width: min(
    88vw,
    var(--fs-tablet-design-width),
    var(--fs-tablet-max-width)
  );

  --fs-slideshow-duration: 12s;

  position: relative;

  width: 100%;

  /*background: #f2f2f2;*/

  padding-bottom: 20px;

  font-family: 'Raleway', Arial, sans-serif;

  box-sizing: border-box;

  isolation: isolate;

}

/* Reserve space beneath the banner.
   The tablet has a 1.44:1 aspect ratio,
   so 2.88:1 reserves half its height. */

.fs-tab-banner::after {

  content: "";

  display: block;

  width: var(--fs-tablet-width);

  aspect-ratio: 2.88 / 1;

  margin: 0 auto;

  pointer-events: none;

}


/* ==========================================
   BANNER BACKGROUND OVERLAY
========================================== */

.fs-tab-banner__overlay {

  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  background: var(
    --fs-banner-overlay,
    rgba(0, 70, 140, 0.45)
  );

  z-index: 0;

  pointer-events: none;

}

/* Ensure heading sits above overlay */

.fs-tab-banner__copy {
  position: relative;
  z-index: 2;
}

/* Keep waves above overlay */

.fs-tab-banner__waves {
  z-index: 1;
}

/* Keep iPad above all background elements */

.fs-tab-banner__tablet-position {
  z-index: 5;
}



/* ==========================================
   2. BACKGROUND IMAGE BANNER
========================================== */

.fs-tab-banner__hero {

  position: relative;

  width: 100%;

  height: clamp(400px, 45vw, 560px);

  background-color: white;

  background-image: var(--fs-banner-image);

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  overflow: visible;

}


/* ==========================================
   3. HEADING AND SUBTEXT
========================================== */

.fs-tab-banner__copy {

  position: relative;

  z-index: 2;

  text-align: center;

  padding: 180px 20px 0;

}

.fs-tab-banner .fs-tab-banner__copy h2 {

  margin: 0 !important;

  font-family: 'Raleway', Arial, sans-serif !important;

  font-size: 2.8em !important;

  font-weight: 300 !important;

  line-height: 1.2 !important;

  color: #fff !important;

}

.fs-tab-banner .fs-tab-banner__copy p {

  margin: 15px 0 0 !important;

  font-size: clamp(0.95rem, 1.3vw, 1.1rem);

  font-weight: 500;

  line-height: 1.5;

  color: #fff;

}


/* ==========================================
   4. ANIMATED WAVES
========================================== */

.fs-tab-banner__waves {

  position: absolute;

  bottom: -1px;

  left: 0;

  width: 100%;

  height: clamp(60px, 6vw, 95px);

  overflow: hidden;

  z-index: 1;

  pointer-events: none;

}

.fs-tab-banner__waves-svg {

  display: block;

  position: absolute;

  bottom: 0;

  left: 0;

  width: 100%;

  height: 100%;

}

/* Individual wave animations */

.fs-tab-banner__wave--1 {

  animation: fsTabWaveLeft 12s linear infinite;

}

.fs-tab-banner__wave--2 {

  animation: fsTabWaveRight 10s linear infinite;

}

.fs-tab-banner__wave--3 {

  animation: fsTabWaveLeft 8s linear infinite;

}

.fs-tab-banner__wave--4 {

  animation: fsTabWaveRight 6s linear infinite;

}


/* Wave moving left */

@keyframes fsTabWaveLeft {

  0% {
    transform: translate(85px, 0);
  }

  100% {
    transform: translate(-90px, 0);
  }

}


/* Wave moving right */

@keyframes fsTabWaveRight {

  0% {
    transform: translate(-90px, 0);
  }

  100% {
    transform: translate(85px, 0);
  }

}


/* ==========================================
   5. IPAD POSITIONING

   Centre of tablet is aligned exactly
   to the bottom edge of the banner.
========================================== */

.fs-tab-banner__tablet-position {

  position: absolute;

  left: 50%;

  top: 100%;

  width: var(--fs-tablet-width);

  transform: translate(-50%, -50%);

  z-index: 5;

}


/* ==========================================
   6. MODERN IPAD FRAME
========================================== */

.fs-tab-banner__tablet {

  position: relative;

  width: 100%;

  aspect-ratio: 1.58 / 1;

  box-sizing: border-box;

  /* Slim modern bezel */

  padding: clamp(10px, 1.3vw, 16px);

  background: #0b0c0d;

  border: 1px solid #292929;

  border-radius: clamp(24px, 4vw, 38px);

  overflow: hidden;

  display: grid;

  /* Realistic depth */

  box-shadow:

    0 0 0 1px rgba(0,0,0,0.3),

    0 18px 28px rgba(0,0,0,0.15),

    0 35px 65px rgba(0,0,0,0.22);

  transform-origin: center;

}


/* ==========================================
   7. SUBTLE FRONT CAMERA
========================================== */

.fs-tab-banner__camera {

  position: absolute;

  top: 5px;

  left: 50%;

  transform: translateX(-50%);

  width: 4px;

  height: 4px;

  border-radius: 50%;

  background: #242b32;

  border: 1px solid #080b0e;

  box-shadow:
    0 0 2px rgba(100,160,210,0.3) inset;

  z-index: 4;

  pointer-events: none;

}


/* ==========================================
   8. IPAD DISPLAY
========================================== */

.fs-tab-banner__screen {

  position: relative;

  width: 100%;

  height: 100%;

  min-width: 0;

  min-height: 0;

  overflow: hidden;

  background: #17191c;

  border-radius: clamp(13px, 2.7vw, 24px);

  box-shadow:
    0 0 0 1px rgba(0,0,0,0.85),
    0 1px 3px rgba(255,255,255,0.08) inset;

}


/* ==========================================
   9. SCREEN IMAGES
========================================== */

.fs-tab-banner__slide {

  position: absolute;

  inset: 0;

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  opacity: 0;

}

/* First image stays underneath the others,
   ensuring there is never a blank screen. */

.fs-tab-banner__slide--1 {

  z-index: 1;

  opacity: 1;

}

/* Second image */

.fs-tab-banner__slide--2 {

  z-index: 2;

  animation:
    fsTabSlide2
    var(--fs-slideshow-duration)
    linear infinite;

}

/* Third image */

.fs-tab-banner__slide--3 {

  z-index: 3;

  animation:
    fsTabSlide3
    var(--fs-slideshow-duration)
    linear infinite;

}


/* ==========================================
   10. SMOOTH CROSSFADE
========================================== */

@keyframes fsTabSlide2 {

  0%, 29% {
    opacity: 0;
  }

  34%, 62% {
    opacity: 1;
  }

  67%, 100% {
    opacity: 0;
  }

}

@keyframes fsTabSlide3 {

  0%, 62% {
    opacity: 0;
  }

  67%, 95% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }

}


/* ==========================================
   11. SCROLL ENTRANCE ANIMATIONS
========================================== */

/* Heading starts slightly lower */

.fs-tab-banner.fs-tab-js
.fs-tab-banner__copy {

  opacity: 0;

  transform: translateY(24px);

  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(.2,.8,.2,1);

}

/* iPad starts lower and slightly smaller */

.fs-tab-banner.fs-tab-js
.fs-tab-banner__tablet {

  opacity: 0;

  transform: translateY(55px) scale(0.94);

  transition:
    opacity 1s ease 0.2s,
    transform 1.2s cubic-bezier(.16,1,.3,1) 0.2s;

}


/* Heading becomes visible */

.fs-tab-banner.fs-tab-visible
.fs-tab-banner__copy {

  opacity: 1;

  transform: translateY(0);

}


/* iPad rises into its final position */

.fs-tab-banner.fs-tab-visible
.fs-tab-banner__tablet {

  opacity: 1;

  transform: translateY(0) scale(1);

}


/* Screen slideshow begins when visible */

.fs-tab-banner.fs-tab-js
.fs-tab-banner__slide {

  animation-play-state: paused;

}

.fs-tab-banner.fs-tab-visible
.fs-tab-banner__slide {

  animation-play-state: running;

}


/* ==========================================
   12. TABLET / MOBILE
========================================== */

@media (max-width: 768px) {

  .fs-tab-banner__waves {

    height: 65px;

  }

  .fs-tab-banner__tablet {

    border-width: 2px;

  }

}


@media (max-width: 600px) {

  .fs-tab-banner {

    --fs-tablet-width: min(
      90vw,
      var(--fs-tablet-design-width),
      var(--fs-tablet-max-width)
    );

  }

  .fs-tab-banner__hero {

    height: 340px;

  }

  .fs-tab-banner__copy {

    padding-top: 55px;

  }

  .fs-tab-banner__tablet {

    border-radius: 24px;

    padding: 9px;

  }

  .fs-tab-banner__screen {

    border-radius: 15px;

  }

  .fs-tab-banner__waves {

    height: 55px;

  }

}


/* ==========================================
   13. REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  .fs-tab-banner__wave {

    animation: none !important;

  }

  .fs-tab-banner__slide {

    animation: none !important;

  }

  .fs-tab-banner__slide--2,
  .fs-tab-banner__slide--3 {

    opacity: 0 !important;

  }

  .fs-tab-banner__copy,
  .fs-tab-banner__tablet {

    opacity: 1 !important;

    transform: none !important;

    transition: none !important;

  }

}









/* FLOW SHARING DIAGRAM */












/* =============================================
   FROGSPARK — ANIMATED SHARING FLOW
   Primary colour: #0071B9
   ============================================= */

.fs-shareflow,
.fs-shareflow * {
  box-sizing: border-box;
}

.fs-shareflow {
  --fs-blue: #0071b9;
  --fs-navy: #173149;
  --fs-muted: #66788a;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 125px 22px 125px;
  font-family: 'Raleway', Arial, sans-serif;
}

/* INTRODUCTION */

.fs-shareflow__intro {
  max-width: 920px;
  margin: 0 auto 65px;
  text-align: center;
}

.fs-shareflow__intro h2 {
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: var(--fs-navy) !important;
  font-size: clamp(2rem, 3.4vw, 3.2rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.fs-shareflow__intro h2 span {
  color: var(--fs-blue);
}

.fs-shareflow__intro p {
  margin: 0;
  color: #fff !important;
  font-size: 1.6em;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* FOUR-COLUMN LAYOUT */

.fs-shareflow__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  align-items: start;
  gap: 0;
}

/* CONNECTING LINE */

.fs-shareflow__rail {
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  z-index: 0;

  background: linear-gradient(
    90deg,
    rgba(0,113,185,.18),
    rgba(0,113,185,.50),
    rgba(0,113,185,.18)
  );
}

/* Travelling blue pulse */

.fs-shareflow__runner {
  position: absolute;
  top: 50%;
  left: var(--fs-position, 0%);

  width: 14px;
  height: 14px;
  border-radius: 50%;

  background: var(--fs-blue);
  border: 3px solid #fff;

  transform: translate(-50%, -50%);

  box-shadow: 0 0 0 6px rgba(0,113,185,.13);

  transition:
    left 850ms cubic-bezier(.22,1,.36,1);

  animation: fs-share-glow 2.5s ease-in-out infinite;
}

@keyframes fs-share-glow {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(0,113,185,.10);
  }
  50% {
    box-shadow: 0 0 0 11px rgba(0,113,185,.04);
  }
}

/* INDIVIDUAL METHODS */

.fs-shareflow__step {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  min-width: 0;
  padding: 0 14px 20px;

  border: 0;
  background: transparent;

  font: inherit;
  text-align: center;
  color: var(--fs-navy);

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fs-shareflow__step:focus-visible {
  outline: 3px solid var(--fs-blue);
  outline-offset: 5px;
  border-radius: 8px;
}

/* ICON CIRCLES */

.fs-shareflow__symbol {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 80px;
  height: 80px;
  flex: 0 0 80px;

  border-radius: 50%;

  background: #fff;
  border: 2px solid #dce8ef;

  color: var(--fs-blue);

  transition:
    background .5s ease,
    border-color .5s ease,
    color .5s ease,
    transform .5s cubic-bezier(.2,.8,.2,1),
    box-shadow .5s ease;
}

.fs-shareflow__symbol svg {
  width: 32px;
  height: 32px;
  transition: transform .45s ease;
}

/* ACTIVE METHOD */

.fs-shareflow__step.is-active .fs-shareflow__symbol {
  background: var(--fs-blue);
  border-color: var(--fs-blue);
  color: #fff;

  transform: scale(1.12);

  box-shadow:
    0 7px 23px rgba(0,113,185,.22),
    0 0 0 7px rgba(0,113,185,.07);
}

/* Soft expanding ring */

.fs-shareflow__symbol::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--fs-blue);
  opacity: 0;
  pointer-events: none;
}

.fs-shareflow__step.is-active .fs-shareflow__symbol::after {
  animation: fs-share-ring 2.6s ease-out infinite;
}

@keyframes fs-share-ring {
  0% {
    transform: scale(.92);
    opacity: .45;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* HOVER */

@media (hover: hover) {
  .fs-shareflow__step:hover .fs-shareflow__symbol {
    border-color: var(--fs-blue);
    transform: translateY(-5px) scale(1.06);
  }

  .fs-shareflow__step.is-active:hover .fs-shareflow__symbol {
    transform: translateY(-5px) scale(1.12);
  }
}

/* SMALL CATEGORY LABEL */

.fs-shareflow__tag {
  display: block;

  margin-top: 29px;

  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;

  color: #8997a4;

  transition: color .4s ease;
}

.fs-shareflow__step.is-active .fs-shareflow__tag {
  color: var(--fs-blue);
}

/* METHOD TITLE */

.fs-shareflow__name {
  display: block;
  margin-top: 9px;

  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;

  color: var(--fs-navy);
}

/* DESCRIPTION */

.fs-shareflow__copy {
  display: block;

  max-width: 225px;
  margin-top: 12px;

  font-size: .9em;
  font-weight: 400;
  line-height: 1.7;

  color: var(--fs-muted);
}

/* SMALL ACTIVE UNDERLINE */

.fs-shareflow__step::after {
  content: "";
  display: block;

  width: 0;
  height: 3px;
  margin-top: 23px;

  border-radius: 10px;
  background: var(--fs-blue);

  transition: width .5s cubic-bezier(.2,.8,.2,1);
}

.fs-shareflow__step.is-active::after {
  width: 44px;
}

/* SCROLL REVEAL
   Applied only when JavaScript is running. */

.fs-shareflow--js .fs-shareflow__step {
  opacity: 0;
  transform: translateY(32px);

  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22,1,.36,1);

  transition-delay: var(--fs-delay, 0s);
}

.fs-shareflow--js.is-visible .fs-shareflow__step {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 850px) {

  .fs-shareflow__intro {
    margin-bottom: 45px;
  }

  .fs-shareflow__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 35px;
  }

  .fs-shareflow__rail {
    display: none;
  }

  .fs-shareflow__step {
    padding: 0 15px 12px;
  }

}

/* MOBILE */

@media (max-width: 520px) {

  .fs-shareflow {
    padding: 40px 20px;
  }

  .fs-shareflow__intro {
    text-align: left;
    margin-bottom: 30px;
  }

  .fs-shareflow__intro h2 {
    font-size: 2rem !important;
  }

  .fs-shareflow__intro p {
    font-size: .97rem;
  }

  .fs-shareflow__steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .fs-shareflow__step {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;

    padding: 22px 0;
    text-align: left;

    border-bottom: 1px solid #e8eef2;
  }

  .fs-shareflow__step:last-child {
    border-bottom: none;
  }

  .fs-shareflow__symbol {
    grid-column: 1;
    grid-row: 1 / span 3;

    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .fs-shareflow__symbol svg {
    width: 28px;
    height: 28px;
  }

  .fs-shareflow__tag {
    grid-column: 2;
    margin-top: 1px;
  }

  .fs-shareflow__name {
    grid-column: 2;
    margin-top: 5px;
    font-size: 1.15rem;
  }

  .fs-shareflow__copy {
    grid-column: 2;
    margin-top: 6px;
    max-width: none;
    font-size: .9rem;
  }

  .fs-shareflow__step::after {
    display: none;
  }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .fs-shareflow *,
  .fs-shareflow *::before,
  .fs-shareflow *::after {
    animation: none !important;
    transition: none !important;
  }

  .fs-shareflow--js .fs-shareflow__step {
    opacity: 1;
    transform: none;
  }

}


/* ==========================================
   FROGSPARK SHARING FLOW — DARK BACKGROUND
   Designed for background #10162b
   ========================================== */

.fs-shareflow {
  --fs-blue: #0071b9;
  --fs-navy: #f7f9ff;
  --fs-muted: #bec9df;

  background: transparent;
  color: #f7f9ff;
}

/* Main heading */

.fs-shareflow__intro h2 {
  color: #ffffff !important;
}

/* Keep FrogSpark blue heading highlight */

.fs-shareflow__intro h2 span {
  color: #0071b9 !important;
}

/* Introductory paragraph */

.fs-shareflow__intro p {
  color: #c1cce0;
}

/* Inactive icon circles */

.fs-shareflow__symbol {
  background: #eaf3fa;
  border-color: #d4e4f0;
  color: #0071b9;
}

/* Active icon circle */

.fs-shareflow__step.is-active .fs-shareflow__symbol {
  background: #0071b9;
  border-color: #0071b9;
  color: #ffffff;

  box-shadow:
    0 8px 28px rgba(0,113,185,.35),
    0 0 0 8px rgba(0,113,185,.12);
}

/* Connecting line */

.fs-shareflow__rail {
  background: linear-gradient(
    90deg,
    rgba(183,207,239,.23),
    rgba(183,207,239,.55),
    rgba(183,207,239,.23)
  );
}

/* Travelling blue pulse */

.fs-shareflow__runner {
  background: #0071b9;
  border-color: #10162b;
}

/* Category labels */

.fs-shareflow__tag {
  color: #b4c1d8;
}

/* Active category label */

.fs-shareflow__step.is-active .fs-shareflow__tag {
  color: #0071b9;
}

/* Main method titles */

.fs-shareflow__name {
  color: #ffffff;
}

/* Descriptions */

.fs-shareflow__copy {
  color: #bec9df;
}

/* Hover effects */

@media (hover: hover) {

  .fs-shareflow__step:hover .fs-shareflow__symbol {
    border-color: #0071b9;
  }

}

/* Active underline */

.fs-shareflow__step.is-active::after {
  background: #0071b9;
}

/* Mobile separators */

@media (max-width: 520px) {

  .fs-shareflow__step {
    border-bottom-color: rgba(255,255,255,.16);
  }

}











/* 5 Stage Gallery */










/* ==========================================
   GALLERY BASE
========================================== */

.fs-icon-gallery {
  --fs-blue: #0071b9;
  --fs-dark: #0a4c76;

  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  font-family: inherit;
}

/* Hide radio inputs visually */
.fs-icon-gallery > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
  overflow: hidden;
}

/* ==========================================
   MAIN IMAGE STAGE
========================================== */

.fs-gallery-stage {
  display: grid;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f7fa;
  box-shadow: 0 12px 35px rgba(0,0,0,.09);
}

/* All panels occupy same position */
.fs-gallery-panel {
  grid-area: 1 / 1;
  min-width: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(10px) scale(.985);

  transition:
    opacity .55s ease,
    transform .55s ease,
    visibility 0s linear .55s;
}

/* Main image button */
.fs-gallery-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f4f7fa;
  cursor: zoom-in;
  overflow: hidden;
}

.fs-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s ease;
}

.fs-gallery-image:hover img {
  transform: scale(1.025);
}

/* ==========================================
   IMAGE ZOOM INDICATOR
========================================== */

.fs-gallery-zoom {
  position: absolute;
  bottom: 18px;
  right: 18px;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 10px 15px;

  border-radius: 30px;
  background: rgba(10,35,55,.82);
  color: #fff;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;

  opacity: 0;
  transform: translateY(8px);

  transition:
    opacity .3s ease,
    transform .3s ease;
}

.fs-gallery-zoom svg {
  width: 16px;
  height: 16px;
}

.fs-gallery-image:hover .fs-gallery-zoom,
.fs-gallery-image:focus-visible .fs-gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   FIVE ICON NAVIGATION
========================================== */

.fs-gallery-icons {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
  width: fit-content;
  max-width: 100%;

  margin: 24px auto 0;
  padding: 10px;

  background: #fff;
  border: 1px solid #e9edf1;
  border-radius: 100px;

  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

.fs-gallery-icons label {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: transparent;
  color: #536575;

  cursor: pointer;

  transition:
    background .35s ease,
    color .35s ease,
    transform .35s ease;
}

/* SVG Icons */
.fs-gallery-icons label svg {
  width: 25px;
  height: 25px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Number Icons */
.fs-gallery-number {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
  margin-top: 2px;
}

/* Hover */
.fs-gallery-icons label:hover {
  background: #eaf5fc;
  color: var(--fs-blue);
  transform: translateY(-2px);
}

/* Hidden accessible labels */
.fs-gallery-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================
   ACTIVE IMAGE SELECTION
========================================== */

.fs-icon-gallery > input:nth-of-type(1):checked
  ~ .fs-gallery-stage .fs-gallery-panel:nth-child(1),

.fs-icon-gallery > input:nth-of-type(2):checked
  ~ .fs-gallery-stage .fs-gallery-panel:nth-child(2),

.fs-icon-gallery > input:nth-of-type(3):checked
  ~ .fs-gallery-stage .fs-gallery-panel:nth-child(3),

.fs-icon-gallery > input:nth-of-type(4):checked
  ~ .fs-gallery-stage .fs-gallery-panel:nth-child(4),

.fs-icon-gallery > input:nth-of-type(5):checked
  ~ .fs-gallery-stage .fs-gallery-panel:nth-child(5) {

  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: none;
  z-index: 1;

  transition:
    opacity .55s ease,
    transform .55s ease,
    visibility 0s;
}

/* ==========================================
   ACTIVE ICON SELECTION
========================================== */

.fs-icon-gallery > input:nth-of-type(1):checked
  ~ .fs-gallery-icons label:nth-child(1),

.fs-icon-gallery > input:nth-of-type(2):checked
  ~ .fs-gallery-icons label:nth-child(2),

.fs-icon-gallery > input:nth-of-type(3):checked
  ~ .fs-gallery-icons label:nth-child(3),

.fs-icon-gallery > input:nth-of-type(4):checked
  ~ .fs-gallery-icons label:nth-child(4),

.fs-icon-gallery > input:nth-of-type(5):checked
  ~ .fs-gallery-icons label:nth-child(5) {

  background: var(--fs-blue);
  color: #fff;
  transform: none;
}

/* Keyboard focus */
.fs-icon-gallery > input:nth-of-type(1):focus-visible
  ~ .fs-gallery-icons label:nth-child(1),

.fs-icon-gallery > input:nth-of-type(2):focus-visible
  ~ .fs-gallery-icons label:nth-child(2),

.fs-icon-gallery > input:nth-of-type(3):focus-visible
  ~ .fs-gallery-icons label:nth-child(3),

.fs-icon-gallery > input:nth-of-type(4):focus-visible
  ~ .fs-gallery-icons label:nth-child(4),

.fs-icon-gallery > input:nth-of-type(5):focus-visible
  ~ .fs-gallery-icons label:nth-child(5) {

  outline: 3px solid #70bce8;
  outline-offset: 3px;
}

/* ==========================================
   IMAGE MODALS
========================================== */

.fs-gallery-modal {
  position: fixed;
  inset: 0;

  width: min(1120px, 94vw);
  max-width: 94vw;
  max-height: 92dvh;

  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;

  background: #fff;
  color: #243747;

  box-shadow: 0 24px 80px rgba(0,0,0,.25);

  overflow: auto;
  scrollbar-width: none;
  font-family: inherit;
}

.fs-gallery-modal::-webkit-scrollbar {
  display: none;
}

/* Darkened background */
.fs-gallery-modal::backdrop {
  background: rgba(4,18,30,.86);
  backdrop-filter: blur(6px);
}

/* Modal entrance */
.fs-gallery-modal:popover-open {
  animation: fs-modal-enter .3s ease both;
}

@keyframes fs-modal-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Larger image */
.fs-gallery-modal figure {
  margin: 0;
  padding: 18px;
  background: #f5f7fa;
  text-align: center;
}

.fs-gallery-modal figure img {
  display: block;
  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 65dvh;

  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Modal title and description */
.fs-gallery-modal-content {
  padding: 26px 34px 32px;
}

.fs-gallery-modal-content h3 {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.3;

  color: #0a4c76;
  margin: 0 0 12px;
}

.fs-gallery-modal-content p {
  font-size: 1em;
  line-height: 1.7;

  color: #516170;
  margin: 0;
}

/* Modal close button */
.fs-gallery-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin: 16px 16px -58px 0;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #0071b9;
  color: #fff;

  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
  box-shadow: 0 3px 15px rgba(0,0,0,.18);

  transition:
    background .25s ease,
    transform .25s ease;
}

.fs-gallery-modal-close:hover {
  background: #0a4c76;
  transform: rotate(90deg);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 600px) {

  .fs-gallery-stage {
    border-radius: 14px;
  }

  .fs-gallery-icons {
    gap: 3px;
    padding: 6px;
    margin-top: 18px;
  }

  .fs-gallery-icons label {
    width: clamp(42px, 11vw, 50px);
    height: clamp(42px, 11vw, 50px);
  }

  .fs-gallery-icons label svg {
    width: 21px;
    height: 21px;
  }

  .fs-gallery-number {
    font-size: 25px;
  }

  .fs-gallery-zoom {
    opacity: 1;
    transform: none;

    bottom: 10px;
    right: 10px;

    padding: 7px 10px;
    font-size: 10px;
  }

  .fs-gallery-modal {
    width: 96vw;
    max-width: 96vw;
    border-radius: 14px;
  }

  .fs-gallery-modal figure {
    padding: 8px;
  }

  .fs-gallery-modal-content {
    padding: 22px;
  }

  .fs-gallery-modal-content h3 {
    font-size: 1.3em;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .fs-icon-gallery *,
  .fs-gallery-modal {
    animation: none !important;
    transition: none !important;
  }

}











/*6 IMAGE GALLERY */











/* ===================================
   FROGSPARK 6 IMAGE GALLERY
   HTML / CSS ONLY - NO ANCHOR LINKS
=================================== */

.fs6gallery__intro p {
  margin: 0;
  color: #fff !important;
  font-size: 1.5em;
  line-height: 1.7;
  margin-bottom: 100px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.fs6gallery {
  --blue: #0071b9;
  --navy: #10162b;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.fs6gallery *,
.fs6gallery *::before,
.fs6gallery *::after {
  box-sizing: border-box;
}

/* HIDDEN RADIO CONTROLS */
.fs6gallery .fs6state {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

/* THUMBNAIL GRID */
.fs6grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px;
}

.fs6thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  border-radius: 12px;
  cursor: zoom-in;
  background: #15213b;
  box-shadow: 0px 0px 30px rgb(0,0,0,0.4);
}

.fs6thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.fs6thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,18,37,.35);
  opacity: 0;
  transition: opacity .3s ease;
}

/* EXPAND ICON */
.fs6zoom {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  opacity: 0;
  transform: translate(-50%,-40%) scale(.85);
  transition: opacity .3s, transform .3s;
}

.fs6zoom svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs6thumb:hover img {
  transform: scale(1.07);
}

.fs6thumb:hover::after {
  opacity: 1;
}

.fs6thumb:hover .fs6zoom {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}

/* ===================================
   LIGHTBOX
=================================== */

.fs6lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease,
              visibility .25s;
}

/* OPEN WHEN ANY IMAGE IS SELECTED */
#fs6-close:not(:checked) ~ .fs6lightbox {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* DARK BACKDROP */
.fs6backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,25,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}

/* VIEWER */
.fs6viewer {
  position: relative;
  z-index: 1;
  width: min(1350px, 94vw);
  height: min(850px, 85dvh);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SLIDES */
.fs6slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.fs6slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

/* SHOW SELECTED IMAGE */
#fs6-1:checked ~ .fs6lightbox .fs6slide-1,
#fs6-2:checked ~ .fs6lightbox .fs6slide-2,
#fs6-3:checked ~ .fs6lightbox .fs6slide-3,
#fs6-4:checked ~ .fs6lightbox .fs6slide-4,
#fs6-5:checked ~ .fs6lightbox .fs6slide-5,
#fs6-6:checked ~ .fs6lightbox .fs6slide-6 {
  display: flex;
}

/* NAVIGATION BUTTONS */
.fs6nav,
.fs6close {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(16,22,43,.85);
  color: #fff;
  cursor: pointer;
  transition: background .25s, transform .25s;
}

.fs6nav svg,
.fs6close svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs6nav:hover,
.fs6close:hover {
  background: #0071b9;
}

/* LEFT / RIGHT */
.fs6prev {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.fs6next {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.fs6prev:hover,
.fs6next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* CLOSE */
.fs6close {
  top: 0;
  right: 0;
}

.fs6close:hover {
  transform: rotate(90deg);
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .fs6grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
  }
}

@media (max-width: 500px) {
  .fs6grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fs6nav,
  .fs6close {
    width: 42px;
    height: 42px;
  }

  .fs6viewer {
    width: 96vw;
    height: 82dvh;
  }

  .fs6slide img {
    max-height: 75dvh;
  }
}

/* TOUCH DEVICES */
@media (hover: none) {
  .fs6zoom {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
    width: 42px;
    height: 42px;
    background: rgba(0,113,185,.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs6gallery *,
  .fs6gallery *::before,
  .fs6gallery *::after {
    transition-duration: 0s;
  }
}