/* ── Wedding Story Detail Page ────────────────────────────────────────────── */

/* 1. Hero */
.wsd-hero { position: relative; height: 479px; overflow: visible; }
.wsd-hero-bg-wrap {
    position: absolute; top: 0; left: 0; right: 0; height: 455px; overflow: hidden;
}
.wsd-hero-bg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Centred hero inner — hero card is positioned relative to this */
.wsd-hero-inner { max-width: 1440px; margin: 0 auto; position: relative; height: 100%; }

/* Shared section content wrapper */
.wsd-section-wrap { max-width: 1440px; margin: 0 auto;   }

.wsd-hero-card {
    position: absolute;
    right: 2rem;
    bottom: 0;
    width: 37.2%;
    max-width: 476px;
    min-height: 235px;
    background: #fff;
    border: 1px solid rgba(2,34,90,.18);
    padding: 34px 34px 20px;
    z-index: 2;
    overflow: hidden;
}
.wsd-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(https://cdn0.archipelagointernational.com/v1/imgs/Homepage/3919b97d80f0c1feb2d4bbb8fa8a6a9a454cbd2c.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    margin-bottom: 64px;
    margin-right: 64px;
}
.wsd-hero-card > * { position: relative; z-index: 1; }

.wsd-card-eyebrow {
    font-family: 'Barlow', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--wd-sgray);
    text-align: right; margin-bottom: 4px;
}
.wsd-card-name {
    font-family: 'Gilda Display', 'Barlow', serif;
    font-size: 28px; font-weight: 400;
    color: var(--color-primary);
    text-align: right; margin: 0 0 6px;
    line-height: 1.2;
}
.wsd-card-date {
    font-family: 'Barlow', sans-serif;
    font-size: 13px; color: var(--wd-sgray);
    text-align: right; margin: 0 0 16px;
}
.wsd-card-divider {
    border: none; border-top: 1px solid var(--wd-gray);
    margin: 0 0 12px;
}
.wsd-card-style-row {
    display: flex; align-items: center; gap: 12px;
}
.wsd-style-label {
    font-family: 'Barlow', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--wd-sgray); flex-shrink: 0;
}
.wsd-style-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wsd-style-tag {
    font-family: 'Barlow', sans-serif;
    font-size: 12px; color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 2px 10px; white-space: nowrap;
}

/* 2. What They Say */
.wsd-testimony-section {
    padding: 60px 0 48px;
    background: #fff;
}
.wsd-section-title {
    font-family: 'Barlow', sans-serif;
    font-size: 14px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: var(--color-primary);
    text-align: center; margin-bottom: 20px;
}
.wsd-testimony-text {
    font-size: 14px; color: var(--wd-text);
    text-align: center; max-width: 760px; margin: 0 auto;
    line-height: 1.8;
}
.wsd-testimony-text p { margin: 0; }

/* 3. Gallery */
.wsd-gallery-section { background: #fff; padding-bottom: 0; }
.wsd-gallery-container { max-width: 1440px; margin: 0 auto; }

.wsd-gallery-row { display: flex; gap: 16px; padding-left: 2rem; padding-right: 2rem;}
.wsd-gallery-row + .wsd-gallery-row { margin-top: 16px; }
.wsd-gallery-img-wrap { flex: 1; overflow: hidden; cursor: pointer; }
.wsd-gallery-row-1 .wsd-gallery-img-wrap { height: 238px; }
.wsd-gallery-row-2 .wsd-gallery-img-wrap { height: 362px; }
.wsd-gallery-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}
.wsd-gallery-img-wrap:hover img { transform: scale(1.05); }

/* 4. CTA */
.wsd-cta-section {
    background: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.wsd-cta-floral {
    position: absolute;
    opacity: .1;
    pointer-events: none;
}
.wsd-cta-floral.left  { left: -20px; bottom: -20px; width: 320px; }
.wsd-cta-floral.right { right: -20px; bottom: -20px; width: 320px; transform: scaleX(-1); }
.wsd-cta-card {
    border: 1px solid rgba(2,34,90,.2);
    margin: 48px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.wsd-cta-ornament {
    width: 80px; height: 1px; background: var(--color-primary);
    display: inline-block; vertical-align: middle; margin: 0 12px;
}
.wsd-cta-sub {
    font-family: 'Gilda Display', 'Barlow', serif;
    font-size: 15px; color: var(--wd-sgray); font-style: italic;
    margin: 16px 0 8px;
}
.wsd-cta-title {
    font-family: 'Barlow', sans-serif;
    font-size: 22px; font-weight: 600; color: var(--color-primary);
    margin: 0 0 28px; line-height: 1.4;
}
.wsd-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--color-primary); color: #fff;
    padding: 11px 20px; font-size: 13px; font-weight: 600;
    letter-spacing: .6px; text-decoration: none;
    border: 1px solid transparent; transition: background .2s, color .2s;
}
.wsd-btn-primary:hover {
    background: var(--wd-surface); color: var(--color-primary);
    border-color: var(--color-primary);
}
.wsd-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--color-primary); color: var(--color-primary);
    padding: 11px 20px; font-size: 13px; font-weight: 600;
    letter-spacing: .6px; text-decoration: none; background: transparent;
}
.wsd-btn-outline:hover { background: var(--wd-surface); }
.wsd-btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* 5. Other Stories */
.wsd-more-section { padding: 56px 0 48px; background: #fff; }
.wsd-section-divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 32px; }
.wsd-divider-line { height: 1px; width: 120px; background: var(--color-primary); }
.wsd-section-heading { font-family: 'Barlow', sans-serif; font-size: 26px; font-weight: 400; color: var(--color-primary); margin: 0; }

.wsd-story-img-wrap { position: relative; height: 245px; overflow: hidden; }
.wsd-story-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.wsd-story-img-wrap:hover img { transform: scale(1.07); }
.wsd-story-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1rem 1.2rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.01) 32.81%, rgba(0,0,0,0.75) 100%);
}
.wsd-story-name {
    color: #fff; font-family: 'Barlow', sans-serif;
    font-size: 15px; font-weight: 500; letter-spacing: .5px;
    display: flex; align-items: center; gap: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .wsd-hero-card { right: 24px; width: 48%; }
    .wsd-gallery-container { padding: 0 24px; }
    .wsd-section-wrap { padding: 0 24px; }
    .wsd-cta-section { padding: 60px 0 48px; }
}
@media (max-width: 768px) {
    .wsd-hero { height: auto; }
    .wsd-hero-bg-wrap { position: relative; height: 280px; }
    .wsd-hero-card {
        position: relative; right: auto; bottom: auto;
        width: 100%; max-width: 100%;
        border-top: 0; margin-top: -1px;
    }
    .wsd-gallery-container { padding: 0 16px; }
    .wsd-gallery-row { flex-direction: column; }
    .wsd-gallery-row-1 .wsd-gallery-img-wrap,
    .wsd-gallery-row-2 .wsd-gallery-img-wrap { height: 200px; }
    .wsd-card-name { font-size: 22px; }
    .wsd-section-wrap { padding: 0 16px; }
    .wsd-cta-section { padding: 40px 0; }
    .wsd-cta-floral { display: none; }
    .wsd-cta-title { font-size: 18px; }
}

/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.wsd-lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.9); align-items: center; justify-content: center;
}
.wsd-lightbox.open { display: flex; }
.wsd-lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.wsd-lightbox-close { position: absolute; top: 20px; right: 24px; font-size: 36px; color: #fff; cursor: pointer; line-height: 1; z-index: 1; }
.wsd-lb-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; color: #fff;
    font-size: 28px; padding: 12px 16px; cursor: pointer; line-height: 1;
}
.wsd-lb-prev { left: 16px; }
.wsd-lb-next { right: 16px; }
