@charset "utf-8";
/* THEME */
.gold-blue {
  --gold: #c8a24a;
  --blue: #1e3a5f;
  --bg: linear-gradient(
    to bottom,
    rgba(255,255,255,0.98),
    rgba(245,248,252,0.95)
  );
}

/* WRAPPER */
.dual-slideshow {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 980px;
  margin: 0 auto;
	  background-blend-mode: multiply;
}

/* FIXED RHYTHMIC HEIGHT */
.slides {
  position: relative;
  height: 460px;
  overflow: hidden;
	  z-index: 1;
}

.slides:empty::before {
  content: " ";
  display: block;
  height: 420px;
}


/* SLIDE */
.dual-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.2rem;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease;
	pointer-events: none;
}

.dual-slide.active {
  opacity: 1;
  z-index: 1;
	  pointer-events: auto;
}

/* IMAGE FRAME */
.figure {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* PORTRAIT MODE */
.dual-slide.portrait img {
  height: 320px;     /* derived from 900px original */
  width: auto;
}

/* LANDSCAPE MODE */
.dual-slide.landscape img {
  width: 100%;
  max-width: 440px;  /* derived from 1600px original */
  height: auto;
}

/* IMAGE */
.figure img {
  object-fit: contain;
  border-radius: 6px;
  transform: scale(1);
  animation: kenburns 7s ease-in-out forwards;
}

/* KEN BURNS (RESTRAINED) */
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

/* CAPTION BLOCK */
.caption-block {
  grid-column: 1 / -1;
  margin-top: 0.8rem;
  text-align: center;
}

.caption-text {
  font-size: 1.2rem;
  color: var(--blue);
  font-style: italic;
}

.caption-ref {
  font-size: 0.95rem;
  margin-top: 0.3rem;
  color: var(--gold);
  white-space: nowrap;
}

/* MOBILE */
@media (max-width: 640px) {
  .slides {
    position: relative;
    height: auto;
    min-height: 720px; /* critical */
  }

  .dual-slide {
    grid-template-columns: 1fr;
    row-gap: 1rem;
	     position: absolute;
    inset: 0;
	  visibility: hidden; 
	  
  }
 .dual-slide.active {
    visibility: visible;
  }

  .dual-slide.portrait img {
    height: 260px;
    max-width: 90%;
	  width: auto;
  }



  .dual-slide.landscape img {
    max-width: 90%;
  }
}
/* SMOOTH CROSS-FADE */
.dual-slide {
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.dual-slide.active {
  opacity: 1;
}

/* keep slide visible during fade-out */
.dual-slide.fading-out {
  opacity: 0;
}


/* BREATHING LIGHT OVERLAY */
.dual-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  transition: opacity 1.8s ease-in-out;
	  z-index: 2;
}

/* activate breathing during transition */
.dual-slideshow.breathing::after {
  opacity: 1;
}
/* Repeating background */

.dual-slideshow {
  position: relative; /* REQUIRED */
  background-color: #f9fbfe; /* fallback */
  background-size: auto;   /* important for small repeating images */
  background-position: top left;
}
/* Background variants */

.dual-slideshow.bg-1 {
	background-repeat: repeat;
  background-image: url("../images/bgFlowerSy/BG33.jpg");
}

.dual-slideshow.bg-2 {
	background-repeat: repeat;
  background-image: url("../images/bgFlowerSy/bg3.gif");
}

.dual-slideshow.bg-3 {
	background-repeat: repeat;
  background-image: url("../images/bgFlowerSy/bg6.gif");
}

.dual-slideshow.bg-4 {
	background-repeat: repeat;
  background-image: url("../images/bgFlowerSy/BG27.jpg");
}







