.slideshow-container {
    position: relative;
    overflow: hidden;
    margin: 40px 40px 0;
    border-radius: 2px;
}

.mySlides { display: none; }

/* ── Stacked slide layout: visual top, text bottom ── */
.slide-inner {
    display: flex;
    flex-direction: column;
    background: var(--cream);
}

/* ── Top: visual panel ── */
.slide-visual {
    order: -1;
    position: relative;
    background: var(--cream-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 420px;
}

.slide-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%,
        rgba(229, 195, 133, 0.18) 0%,
        transparent 70%);
    pointer-events: none;
}

.slide-visual img {
    height: 72%;
    max-height: 300px;
    width: auto;
    max-width: 220px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 16px 40px rgba(39, 46, 85, 0.15));
    transition: transform 0.6s ease;
}

.mySlides:hover .slide-visual img {
    transform: translateY(-6px);
}

/* ── Bottom: text panel ── */
.slide-text {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 48px 48px 72px;
    background: var(--cream);
    position: relative;
}

.slide-text::after { display: none; }

.slide-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.6rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.slide-text h2 em {
    font-style: italic;
    color: var(--gold-dark);
}

.slide-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 480px;
}

/* ── Slide number ── */
.numbertext {
    position: absolute;
    left: 48px;
    bottom: 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    z-index: 10;
}

/* ── Arrow buttons (centered on the visual panel) ── */
.prev, .next {
    font: inherit;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 210px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 1.5px solid var(--border);
    color: var(--navy);
    font-size: 0.75rem;
    text-decoration: none;
    z-index: 10;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.prev { left: 28px; }
.next { right: 28px; }

.prev:hover, .next:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
    box-shadow: var(--shadow-md);
}

/* ── Dot indicators ── */
.dot-row {
    position: absolute;
    bottom: 32px;
    right: 48px;
    display: flex;
    gap: 8px;
}

/* ── Responsive ── */
@media (max-width: 760px) {
    .slideshow-container {
        margin: 20px 16px 0;
    }

    .slide-visual {
        height: 280px;
    }

    .prev, .next {
        top: 140px;
        width: 38px;
        height: 38px;
    }

    .prev { left: 12px; }
    .next { right: 12px; }

    .slide-text {
        gap: 12px;
        padding: 36px 20px 60px;
    }

    .slide-text h2 {
        font-size: 2.4rem;
    }

    .numbertext {
        left: 20px;
        bottom: 24px;
    }

    .dot-row {
        right: 20px;
        bottom: 24px;
    }
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--navy);
    width: 22px;
    border-radius: 3px;
}

/* ── Fade animation ── */
.fade {
    animation: slideFadeIn 0.7s ease;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}
