/* Target slideshow captions */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.blocks-gallery-item figcaption,
.wp-block-image figcaption {
    /* Font size adjustments */
    font-size: 14px !important;  /* Adjust size as needed */
    line-height: 1.4;
    
    /* Color customization - replace with your theme colors */
    color: #321F12
      !important;  /* Text color */
    background-color: rgba(223,214,164, 0.7) !important;  /* Semi-transparent background */
    
    /* Additional styling */
    padding: 8px 12px !important;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Hover effect for captions (optional) */
.wp-block-jetpack-slideshow:hover .wp-block-jetpack-slideshow_caption {
    background-color: rgba(223,214,164, 0.9) !important;
    transition: background-color 0.3s ease;


.wp-block-post-title a,
.wp-block-post-title {
  font-family: 'EB Garamond', 'Apple Garamond', Garamond, Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: #A15D66;
	
	/* ===== HERO CONTAINER ===== */

.hero {
  height: 5000px; /* extra height so wave never clips */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3eed7;
  overflow: hidden;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

/* ===== MARQUEE STRUCTURE ===== */

.wave-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 65s linear infinite; /* slow sculptural drift */
}

/* ===== TYPOGRAPHY ===== */

.wave-text {
  display: inline-flex;
  font-size: 34px;
  letter-spacing: 0.5px;
  color: #808249;
  padding-right: 220px; /* spacing between duplicate lines */
  font-family: "Apple Garamond", "Garamond", serif;
  font-weight: 400;
  text-transform: lowercase;
}

/* ===== TRUE SINE WAVE ===== */

.wave-text span {
  display: inline-block;
  animation: sine 6s linear infinite;
  animation-delay: calc(var(--i) * 0.15s);
}

/* Sculptural amplitude */
@keyframes sine {
  0%   { transform: translateY(0px); }
  25%  { transform: translateY(-20px); }
  50%  { transform: translateY(0px); }
  75%  { transform: translateY(20px); }
  100% { transform: translateY(0px); }
}

/* Horizontal scroll */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause interaction (very gallery-coded) */
.marquee-track:hover {
  animation-play-state: paused;
}