/* indexkimberly.css
   jc.html-based parallax template styles for indexkimberly-jc.html
*/

:root {
  --primary-font: 'Cormorant Garamond', serif;
  --secondary-font: 'Montserrat', sans-serif;
  --script-font: 'Great Vibes', cursive;
  --text-light: #ffffff;
  --text-dark: #111111;
  --transition: 220ms ease;
}

.parisienne-regular {
  font-family: "Parisienne", cursive;
  font-weight: bold;
  font-style: normal;
}

h2 {
  font-family: "Parisienne", cursive;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(1.5625rem, 4vw, 2.4125rem);
  text-shadow: none;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

/* ========== MUSIC PLAYER (top right) ========== */
.music-player-wrap {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.music-player-wrap audio {
  display: none;
}
.music-player-wrap .music-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.music-player-wrap .music-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}
.music-player-wrap .music-btn:active {
  transform: scale(0.98);
}
.music-player-wrap .music-play {
  padding-left: 3px;
}
.music-player-wrap .music-stop {
  font-size: 0.65rem;
}
@media (max-width: 480px) {
  .music-player-wrap {
    top: 0.5rem;
    right: 0.5rem;
    gap: 0.25rem;
  }
  .music-player-wrap .music-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .music-player-wrap .music-stop {
    font-size: 0.55rem;
  }
}

/* ========== JC.HTML PANEL STRUCTURE (parallax) ========== */
.panel {
  min-height: 70vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.panel:last-child {
  margin-bottom: 0;
}

/* ========== SECTION 1: HERO (match indexkimberly.html config) ========== */
#panel-hero.section-hero {
  position: relative;
  width: 100%;
  min-width: 100%;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--text-light);
}

/* Name image overlay at bottom of hero */
.hero-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem 1rem 1.5rem;
  pointer-events: none;
}
.hero-name-overlay img {
  display: block;
  width: 350px;
  max-width: calc(100% - 2rem);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

#panel-hero.section-hero .parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-position: center top;
  background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
}

/* Name image at top of hero / page */
/* Name image above the countdown */
#panel-hero.section-hero .name-image {
  display: block;
  width: auto;
  max-width: calc(100% - 70px);
  height: auto;
  margin: 0 auto 1.5rem;
}

#panel-hero.section-hero .panel-content {
  width: 100%;
  max-width: none;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  align-self: flex-end;
}

#panel-hero.section-hero .simply-countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem 0;
}

#panel-hero.section-hero .simply-section {
  text-align: center;
  min-width: 52px;
}

#panel-hero.section-hero .simply-amount {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-family: var(--primary-font);
  font-weight: bold;
  color: var(--text-light);
  margin: 0;
  padding: 0;
}

#panel-hero.section-hero .simply-word {
  display: block;
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
}

#panel-hero.section-hero .btn-calendar-ics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--secondary-font);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

#panel-hero.section-hero .btn-calendar-ics:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ========== SECTION: Countdown + Calendar (darker blue, white text, centered) ========== */
.section-countdown-blue {
  background-color: #2c7474;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-countdown-blue .panel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  padding: 1.75rem 2rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.section-countdown-blue .simply-countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 1rem 0;
}

.section-countdown-blue .simply-section {
  text-align: center;
  min-width: 88px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid #185853;
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
}

.section-countdown-blue .simply-amount {
  display: block;
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-family: var(--primary-font);
  font-weight: bold;
  color: #fff;
  margin: 0;
  padding: 0;
}

.section-countdown-blue .simply-word {
  display: block;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0;
  padding: 0;
}

.section-countdown-blue .btn-calendar-ics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--secondary-font);
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.section-countdown-blue .btn-calendar-ics:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #011816;
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .section-countdown-blue {
    min-height: 28vh;
  }
  .section-countdown-blue .panel-content {
    padding: 1.25rem 1.5rem;
  }
  .section-countdown-blue .simply-countdown {
    gap: 1.25rem;
  }
  .section-countdown-blue .simply-section {
    min-width: 76px;
  }
  .section-countdown-blue .simply-amount {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }
  .section-countdown-blue .simply-word {
    font-size: clamp(0.8rem, 3vw, 1rem);
  }
  .section-countdown-blue .btn-calendar-ics {
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .section-countdown-blue .panel-content {
    padding: 1rem 1rem;
  }
  .section-countdown-blue .simply-section {
    min-width: 68px;
  }
  .section-countdown-blue .simply-amount {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
  .section-countdown-blue .simply-word {
    font-size: clamp(0.75rem, 3.5vw, 0.9rem);
  }
  .section-countdown-blue .btn-calendar-ics {
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
  }
}

/* Parallax panels: scroll normally (no sticky) */
.panel[data-parallax="true"] {
  position: relative;
  top: auto;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Image-only panel: show full image (no crop), mobile-friendly */
/* Image-only panel: show full image (no crop), mobile-friendly */
#panel-image1 {
  min-height: 70vh;
}
#panel-image1 .parallax-layer {
  background-size: contain;
  -webkit-background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  #panel-image1 {
    min-height: 60vh;
  }
  #panel-image1 .parallax-layer {
    background-size: contain;
    -webkit-background-size: contain;
    background-position: center center;
  }
}
@media (max-width: 480px) {
  #panel-image1 {
    min-height: 50vh;
  }
  #panel-image1 .parallax-layer {
    background-size: contain;
    -webkit-background-size: contain;
    background-position: center center;
  }
}

.panel-content {
  position: relative;
  z-index: 2;
  color: #146978;
  text-align: center;
  max-width: 720px;
  padding: 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.panel-content h1 {
  font-family: 'Montez', cursive;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
  font-weight: bold;
}

.panel-content h2 {
  font-family: "Parisienne", cursive;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(1.5625rem, 4vw, 2.4125rem);
  margin: 0 0 0.5rem;
  text-shadow: none;
}

.panel-content p {
  margin: 0 0 1rem;
  line-height: 1.5;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  text-shadow: none;
}

.panel-content .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
  margin-top: 1rem;
}

/* Location panel: text color and icons */
#panel-location .panel-content {
  color: #146978;
  text-shadow: none;
}
#panel-location .panel-content h1,
#panel-location .panel-content h2,
#panel-location .panel-content p {
  color: #146978;
  text-shadow: none;
}
#panel-location .panel-content p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: bold;
}
#panel-location .panel-content .two-col img {
  width: 80px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}
@media (max-width: 768px) {
  #panel-location .panel-content .two-col img {
    width: 80px;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 480px) {
  #panel-location .panel-content .two-col img {
    width: 80px;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }
}


/* See Location button – same color as RSVP submit button (#146978) */
.btn-see-location {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: #146978;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.btn-see-location:hover {
  background: #037a8f;
  color: #fff;
}

/* Itinerary panel: title on top, image left text right, turquoise font; mobile-friendly */
#panel-itinerary .panel-content,
#panel-itinerary .panel-itinerary-wrap,
#panel-itinerary .panel-itinerary-title,
#panel-itinerary .panel-itinerary-text,
#panel-itinerary .panel-itinerary-text p {
  color: #40E0D0;
}
#panel-itinerary .panel-itinerary-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  background: rgba(0, 0, 0, 0.45);
  padding: 2rem 1.5rem;
  border-radius: 12px;
}
#panel-itinerary .panel-itinerary-title {
  text-align: center;
  margin: 0 0 0.25rem 0;
  width: 100%;
}
#panel-itinerary .panel-itinerary-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
#panel-itinerary .panel-itinerary-image {
  max-width: 380px;
}
#panel-itinerary .panel-itinerary-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
#panel-itinerary .panel-itinerary-text p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem 0;
}
#panel-itinerary .panel-itinerary-text p:last-child {
  margin-bottom: 0;
}
#panel-itinerary .panel-itinerary-line-icon {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  #panel-itinerary .panel-itinerary-row {
    gap: 1.5rem;
  }
  #panel-itinerary .panel-itinerary-image {
    max-width: 300px;
  }
  #panel-itinerary .panel-itinerary-line-icon {
    width: 160px;
  }
  #panel-itinerary .panel-itinerary-text p {
    gap: 0.6rem;
    margin-bottom: 0.6rem;
  }
}
@media (max-width: 480px) {
  #panel-itinerary .panel-itinerary-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  #panel-itinerary .panel-itinerary-image {
    max-width: 280px;
    margin: 0 auto;
  }
  #panel-itinerary .panel-itinerary-text {
    text-align: left;
  }
  #panel-itinerary .panel-itinerary-text p {
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  #panel-itinerary .panel-itinerary-line-icon {
    width: 120px;
  }
}

/* Dress Code panel: 2 columns – image left, text right; mobile-friendly */
#panel-dresscode .panel-dresscode-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
#panel-dresscode .panel-dresscode-image {
  max-width: 150px;
}
#panel-dresscode .panel-dresscode-image img {
  width: 150px;
  height: auto;
  display: block;
  object-fit: contain;
}
#panel-dresscode .panel-dresscode-text h2 {
  margin-top: 0;
  font-weight: bold;
}
#panel-dresscode .panel-dresscode-text p {
  font-weight: bold;
}
@media (max-width: 768px) {
  #panel-dresscode .panel-dresscode-wrap {
    gap: 1.5rem;
  }
  #panel-dresscode .panel-dresscode-image {
    max-width: 150px;
  }
  #panel-dresscode .panel-dresscode-image img {
    width: 150px;
  }
}
@media (max-width: 480px) {
  #panel-dresscode .panel-dresscode-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  #panel-dresscode .panel-dresscode-image {
    max-width: 150px;
    margin: 0 auto;
  }
  #panel-dresscode .panel-dresscode-image img {
    width: 150px;
  }
}

/* Gift Suggestions panel: title, then image, then text; mobile-friendly */
#panel-gifts .panel-gifts-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
#panel-gifts .panel-gifts-wrap h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: bold;
}
#panel-gifts .panel-gifts-image {
  max-width: 180px;
  margin: 0 auto 1rem;
}
#panel-gifts .panel-gifts-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  #panel-gifts .panel-gifts-image {
    max-width: 150px;
  }
}
@media (max-width: 480px) {
  #panel-gifts .panel-gifts-image {
    max-width: 140px;
  }
}

/* Parents panel: font 2px larger, mobile-friendly */
#panel-parents .panel-parents-fade {
  background: rgba(255, 255, 255, 0.55);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-top: 1.5rem;
}
#panel-parents .panel-parents-divider {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 1rem auto;
}
#panel-parents .panel-parents-fade h2 {
  font-weight: bold;
}
#panel-parents .panel-content h2 {
  font-size: 2.1875rem;
}
#panel-parents .panel-content p {
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  #panel-parents .panel-parents-fade {
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
  }
  #panel-parents .panel-content h2 {
    font-size: clamp(1.5625rem, 4.5vw, 2.1875rem);
  }
  #panel-parents .panel-content p {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
  }
}
@media (max-width: 480px) {
  #panel-parents .panel-content h2 {
    font-size: clamp(1.4375rem, 5vw, 1.9375rem);
  }
  #panel-parents .panel-content p {
    font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  }
}

@media (max-width: 600px) {
  .panel-content .two-col {
    grid-template-columns: 1fr;
  }
}

/* Hero countdown (simple) */
.hero-countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.hero-countdown .simply-section {
  text-align: center;
  min-width: 50px;
}

.hero-countdown .simply-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
}

.hero-countdown .simply-word {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  #panel-hero.section-hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
  }

  #panel-hero.section-hero .parallax-layer {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  #panel-hero.section-hero .simply-countdown {
    gap: 0.6rem;
    margin-bottom: 0;
  }

  #panel-hero.section-hero .simply-amount {
    font-size: clamp(1.75rem, 6vw, 2.1rem);
  }

  #panel-hero.section-hero .simply-word {
    font-size: clamp(0.65rem, 2.2vw, 0.78rem);
    letter-spacing: 0.04em;
  }

  #panel-hero.section-hero .btn-calendar-ics {
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  #panel-hero.section-hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    height: 100dvh;
  }

  #panel-hero.section-hero .parallax-layer {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  #panel-hero.section-hero .simply-section {
    min-width: 46px;
  }

  #panel-hero.section-hero .simply-amount {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  #panel-hero.section-hero .simply-word {
    font-size: clamp(0.7rem, 3vw, 0.85rem);
    letter-spacing: 0.04em;
  }

  #panel-hero.section-hero .btn-calendar-ics {
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
  }
}

/* ========== Gallery (match indexkimberly.html / stylekimberly.css) ========== */
#fh5co-gallery .panel-content {
  max-width: 1200px;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}
#fh5co-gallery .panel-content h2 {
  font-weight: bold;
}
#fh5co-gallery-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 100%;
}

#fh5co-gallery-list li {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
}

/* Match stylekimberly 768px */
@media (max-width: 768px) {
  #fh5co-gallery-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  #fh5co-gallery-list li {
    border-radius: 8px;
  }
}

/* Match stylekimberly 480px */
@media (max-width: 480px) {
  #fh5co-gallery-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1.25rem;
  }

  #fh5co-gallery-list li {
    border-radius: 6px;
  }
}

/* Gallery lightbox popup */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.gallery-lightbox-counter {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: fixed;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  border: 2px solid #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border-color: #fff;
}
.gallery-lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
}
.gallery-lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
}
.gallery-lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
}
@media (max-width: 480px) {
  .gallery-lightbox-close,
  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .gallery-lightbox-prev { left: 0.5rem; }
  .gallery-lightbox-next { right: 0.5rem; }
  .gallery-lightbox-close { top: 0.5rem; right: 0.5rem; }
}

/* RSVP panel: fade background behind form for readability */
#fh5co-started .panel-content {
  position: relative;
  z-index: 2;
  background: #2c7474;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
#fh5co-started .panel-content h2,
#fh5co-started .panel-content p {
  color: #fff;
}
#fh5co-started .rsvp-form {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
#fh5co-started .rsvp-form input,
#fh5co-started .rsvp-form select,
#fh5co-started .rsvp-form textarea {
  padding: 0.6rem;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
}
#fh5co-started .rsvp-form input::placeholder,
#fh5co-started .rsvp-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.85);
}
#fh5co-started .rsvp-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
#fh5co-started .rsvp-form select option {
  background: #2c7474;
  color: #fff;
}
#fh5co-started .rsvp-form textarea {
  resize: vertical;
  min-height: 80px;
}
#fh5co-started .rsvp-form button {
  padding: 0.7rem 1.5rem;
  background: #146978;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}
#fh5co-started .rsvp-form button:hover {
  background: #037a8f;
}
@media (max-width: 480px) {
  #fh5co-started .panel-content {
    padding: 1.5rem 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* Footer panel: fixed height 20rem */
#fh5co-footer.panel {
  min-height: 10rem;
}

