/* =============================================================
   DESTAWED FEATURED WEDDINGS — frontend styles (v2.1)
============================================================= */

.dwf-archive-wrap,
.dwf-archive-wrap *,
.dwf-archive-wrap *::before,
.dwf-archive-wrap *::after,
.dwf-single,
.dwf-single *,
.dwf-single *::before,
.dwf-single *::after { box-sizing: border-box; }

.dwf-archive-wrap,
.dwf-single {
    --dwf-dark:        #1a1a1a;
    --dwf-brown-deep:  #413225;
    --dwf-olive:       #7E8460;
    --dwf-muted:       #756050;
    --dwf-cream:       #E9E0CF;
    --dwf-sand:        #BFB198;
    --dwf-offwhite:    #F7F7F3;
    --dwf-white:       #FFFFFF;

    --dwf-font-sans:   'Poppins', system-ui, -apple-system, sans-serif;
    --dwf-font-serif:  'Libre Baskerville', Georgia, serif;
}

/* Force outside theme/page containers so the hero can be full-bleed */
.dwf-archive-wrap,
.dwf-single {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    background: var(--dwf-white);
    font-family: var(--dwf-font-sans);
    color: var(--dwf-dark);
}
body.single-dw_featured_wedding .site-main,
body.single-dw_featured_wedding .content-area,
body.single-dw_featured_wedding .entry-content,
body.single-dw_featured_wedding .elementor,
body.single-dw_featured_wedding .elementor-section,
body.single-dw_featured_wedding .elementor-container {
    width: 100% !important;
    max-width: none !important;
}


/* ===============================================================
   ARCHIVE HERO — FULL VIEWPORT, content + filter anchored at bottom
================================================================= */
.dwf-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* No overflow:hidden — the dropdown list needs to escape downward.
       The .dwf-hero-bg child has its own overflow:hidden to clip the image. */
    background-color: var(--dwf-dark);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 80px 24px 130px;
}

.dwf-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.dwf-hero-bg img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}
.dwf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.40) 50%,
        rgba(26, 26, 26, 0.82) 100%);
}

/* Inner wrapper that stacks hero content + filter, anchored to bottom */
.dwf-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.dwf-hero-content {
    text-align: center;
    color: var(--dwf-white);
    width: 100%;
}
.dwf-hero-eyebrow {
    display: inline-block;
    font-family: var(--dwf-font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--dwf-cream);
    margin-bottom: 20px;
}
.dwf-hero-rule {
    display: block;
    width: 44px;
    height: 1px;
    background-color: rgba(233, 224, 207, 0.5);
    margin: 0 auto 24px;
}
.dwf-hero-title {
    font-family: var(--dwf-font-serif);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.005em;
    color: var(--dwf-white) !important;
    margin: 0 0 18px;
    text-transform: none;
}
.dwf-hero-sub {
    font-family: var(--dwf-font-sans);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto;
    max-width: 480px;
}


/* ===============================================================
   FILTER BAR — max 660px, less rounded, translucent over hero
================================================================= */
.dwf-filter-bar {
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
}
.dwf-filter-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    background-color: rgba(247, 247, 243, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 4px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

/* The sticky bar variant uses an opaque dark background instead */
.dwf-filter-bar--sticky .dwf-filter-row {
    background-color: rgba(26, 26, 26, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    max-width: 980px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* DROPDOWN — custom, NOT a native select */
.dwf-dropdown {
    flex: 1;
    position: relative;
    min-width: 0;
}
.dwf-dropdown-trigger {
    width: 100% !important;
    height: 52px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0 20px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    cursor: pointer;
    font-family: var(--dwf-font-sans) !important;
    text-align: left !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: none !important;
    color: var(--dwf-dark) !important;
}
.dwf-dropdown-trigger:hover,
.dwf-dropdown.is-open .dwf-dropdown-trigger {
    background-color: rgba(126, 132, 96, 0.08) !important;
}
/* Sticky bar uses dark bg, so dropdown text needs to be light */
.dwf-filter-bar--sticky .dwf-dropdown-trigger {
    color: var(--dwf-white) !important;
}
.dwf-filter-bar--sticky .dwf-dropdown-trigger:hover,
.dwf-filter-bar--sticky .dwf-dropdown.is-open .dwf-dropdown-trigger {
    background-color: rgba(255, 255, 255, 0.08) !important;
}
.dwf-filter-bar--sticky .dwf-dropdown-label {
    color: rgba(255, 255, 255, 0.6);
}
.dwf-filter-bar--sticky .dwf-dropdown-value {
    color: var(--dwf-white);
}
.dwf-filter-bar--sticky .dwf-dropdown-caret {
    color: rgba(255, 255, 255, 0.6);
}

.dwf-dropdown-label {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dwf-olive);
}
.dwf-dropdown-value {
    flex: 1;
    min-width: 0;
    font-family: var(--dwf-font-serif);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--dwf-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dwf-dropdown-caret {
    flex-shrink: 0;
    width: 10px;
    height: 7px;
    color: var(--dwf-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dwf-dropdown.is-open .dwf-dropdown-caret {
    transform: rotate(180deg);
}

/* Vertical divider between filters */
.dwf-dropdown + .dwf-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background-color: rgba(126, 132, 96, 0.2);
    pointer-events: none;
}
.dwf-filter-bar--sticky .dwf-dropdown + .dwf-dropdown::before {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Dropdown list panel */
.dwf-dropdown-list {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    right: 0;
    background-color: var(--dwf-white);
    border: 1px solid rgba(126, 132, 96, 0.18);
    border-radius: 6px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 500;
    box-shadow: 0 -18px 40px rgba(26, 26, 26, 0.16);
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
/* On the hero bar (which sits low), drop opens DOWNward */
.dwf-filter-bar--hero .dwf-dropdown-list {
    bottom: auto;
    top: calc(100% + 10px);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(26, 26, 26, 0.16);
}
.dwf-dropdown.is-open .dwf-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dwf-dropdown-item {
    padding: 11px 22px;
    font-family: var(--dwf-font-sans);
    font-size: 13px;
    color: var(--dwf-dark);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    list-style: none;
}
.dwf-dropdown-item:hover {
    background-color: var(--dwf-offwhite);
}
.dwf-dropdown-item.is-selected {
    color: var(--dwf-olive);
    font-weight: 500;
    background-color: rgba(126, 132, 96, 0.05);
}

.dwf-clear-btn {
    flex-shrink: 0;
    height: 52px !important;
    padding: 0 22px !important;
    background-color: transparent !important;
    color: var(--dwf-muted) !important;
    border: 0 !important;
    border-radius: 4px !important;
    font-family: var(--dwf-font-sans) !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
    box-shadow: none !important;
}
.dwf-clear-btn:hover {
    color: var(--dwf-dark) !important;
    background-color: rgba(26, 26, 26, 0.05) !important;
}
.dwf-filter-bar--sticky .dwf-clear-btn {
    color: rgba(255, 255, 255, 0.55) !important;
}
.dwf-filter-bar--sticky .dwf-clear-btn:hover {
    color: var(--dwf-white) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}


/* ===============================================================
   SCROLL INDICATOR (hero bottom)
================================================================= */
.dwf-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.82) !important;
    transition: color 0.3s ease;
}
.dwf-scroll-indicator:hover { color: var(--dwf-white) !important; }
.dwf-scroll-label {
    font-family: var(--dwf-font-sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}
.dwf-scroll-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: dwfScrollBounce 2.4s ease-in-out infinite;
}
.dwf-scroll-icon svg { width: 16px; height: 16px; }

@keyframes dwfScrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(6px); opacity: 0.5; }
}


/* ===============================================================
   RESULT BAR — italic removed from meta
================================================================= */
.dwf-result-bar {
    width: 100%;
    max-width: 1300px;
    margin: 60px auto 24px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--dwf-font-sans);
}
.dwf-result-count {
    font-size: 13px;
    color: var(--dwf-dark);
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}
.dwf-result-num {
    font-family: var(--dwf-font-serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: var(--dwf-dark);
}
.dwf-result-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dwf-muted);
}
.dwf-result-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(26, 26, 26, 0.04) 0%,
        rgba(26, 26, 26, 0.22) 50%,
        rgba(26, 26, 26, 0.04) 100%);
}
.dwf-result-meta {
    font-size: 11.5px;
    color: var(--dwf-muted);
    /* italic removed per client */
    font-style: normal;
}


/* ===============================================================
   ARCHIVE GRID + CARDS
================================================================= */
.dwf-archive {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 100px;
    padding: 0 20px;
}
.dwf-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dwf-card-wrap {
    min-width: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dwf-card-wrap.is-batch-hidden,
.dwf-card-wrap.is-filter-hidden {
    display: none;
}
.dwf-card-wrap.is-entering {
    opacity: 0;
    transform: translateY(16px);
}

.dwf-card {
    position: relative;
    display: block !important;
    width: 100% !important;
    height: clamp(260px, 24vw, 360px) !important;
    overflow: hidden;
    background-color: var(--dwf-dark);
    text-decoration: none !important;
    color: var(--dwf-white) !important;
    isolation: isolate;
    border-radius: 4px;
}
.dwf-card-image-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.dwf-card img,
.dwf-card picture,
.dwf-card picture img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}
.dwf-card img {
    transform: scale(1.02);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.5s ease;
}

.dwf-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.12) 50%,
        rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
    transition: background 0.4s ease;
}
.dwf-card:hover .dwf-card-overlay {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.32) 50%,
        rgba(0, 0, 0, 0.85) 100%);
}
.dwf-card:hover img {
    transform: scale(1.07);
}
.dwf-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 26px;
    text-align: left;
    pointer-events: none;
}
.dwf-card-title {
    display: block;
    color: var(--dwf-white) !important;
    font-family: var(--dwf-font-serif);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.005em;
}
.dwf-card-destination {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: var(--dwf-font-sans);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 400;
}


/* ===============================================================
   SKELETON LOADER
================================================================= */
.dwf-skeletons {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.dwf-skeletons.is-active { display: grid; }

.dwf-skeleton-card {
    width: 100%;
    height: clamp(260px, 24vw, 360px);
    border-radius: 4px;
    background-color: var(--dwf-offwhite);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.dwf-skeleton-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(126, 132, 96, 0.06) 0%,
        rgba(126, 132, 96, 0.14) 50%,
        rgba(126, 132, 96, 0.06) 100%);
    background-size: 200% 100%;
    animation: dwfShimmer 1.4s ease-in-out infinite;
}
.dwf-skeleton-lines {
    position: relative;
    z-index: 1;
    padding: 22px 26px;
}
.dwf-skeleton-line {
    height: 14px;
    width: 65%;
    border-radius: 2px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.6) 100%);
    background-size: 200% 100%;
    animation: dwfShimmer 1.4s ease-in-out infinite;
    margin-bottom: 8px;
}
.dwf-skeleton-line-sm { width: 40%; height: 8px; }

@keyframes dwfShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* ===============================================================
   NO MATCHES + EMPTY
================================================================= */
.dwf-no-matches,
.dwf-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--dwf-muted);
    font-family: var(--dwf-font-sans);
    font-size: 14px;
}
.dwf-no-matches p,
.dwf-empty p {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--dwf-dark);
}
.dwf-clear-btn-inline {
    font-family: var(--dwf-font-sans) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.26em !important;
    text-transform: uppercase !important;
    color: var(--dwf-olive) !important;
    background: transparent !important;
    border: 1px solid rgba(126, 132, 96, 0.4) !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: none !important;
}
.dwf-clear-btn-inline:hover {
    background-color: var(--dwf-olive) !important;
    color: var(--dwf-white) !important;
}


/* ===============================================================
   LOAD MORE BUTTON
================================================================= */
.dwf-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.dwf-load-more-wrap[hidden] { display: none; }
.dwf-load-more {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    padding: 15px 36px !important;
    font-family: var(--dwf-font-sans) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
    color: var(--dwf-dark) !important;
    background: transparent !important;
    border: 1px solid rgba(26, 26, 26, 0.85) !important;
    border-radius: 0 !important;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.55s ease, border-color 0.55s ease;
    box-shadow: none !important;
}
.dwf-load-more-fill {
    position: absolute;
    inset: 0;
    background: var(--dwf-dark);
    transform: translateX(-101%);
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 0;
}
.dwf-load-more-text,
.dwf-load-more-arrow { position: relative; z-index: 1; }
.dwf-load-more-arrow {
    width: 13px; height: 13px;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.dwf-load-more:hover { color: var(--dwf-white) !important; border-color: var(--dwf-dark) !important; }
.dwf-load-more:hover .dwf-load-more-fill { transform: translateX(0); }
.dwf-load-more:hover .dwf-load-more-arrow { transform: translateY(3px); }
.dwf-load-more:disabled, .dwf-load-more.is-loading { pointer-events: none; opacity: 0.6; }


/* ===============================================================
   STICKY BOTTOM BAR — slides up after hero scrolls past
================================================================= */
.dwf-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.dwf-sticky.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

/* Desktop sticky: full filter bar */
.dwf-sticky-desktop {
    background-color: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile sticky: count + filter button */
.dwf-sticky-mobile {
    display: none;
    background-color: var(--dwf-dark);
    padding: 16px 20px;
    /* iOS safe-area + Android nav-bar padding */
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.dwf-sticky-count {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.dwf-sticky-count-num {
    font-family: var(--dwf-font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--dwf-white);
}
.dwf-sticky-count-label {
    font-family: var(--dwf-font-sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}
.dwf-sticky-filter-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 22px !important;
    background-color: var(--dwf-white) !important;
    color: var(--dwf-dark) !important;
    border: 0 !important;
    border-radius: 50px !important;
    font-family: var(--dwf-font-sans) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    box-shadow: none !important;
}
.dwf-sticky-filter-btn svg { width: 16px; height: 16px; }
.dwf-sticky-active-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: var(--dwf-olive);
    color: var(--dwf-white);
    font-size: 11px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}
.dwf-sticky-active-count[hidden] { display: none; }


/* ===============================================================
   BOTTOM SHEET (mobile) — LIST style (not chips)
================================================================= */
.dwf-sheet {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}
.dwf-sheet.is-open { pointer-events: auto; visibility: visible; }

.dwf-sheet-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
}
.dwf-sheet.is-open .dwf-sheet-backdrop {
    background-color: rgba(0, 0, 0, 0.55);
}

.dwf-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dwf-white);
    border-radius: 22px 22px 0 0;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    /* iOS home indicator + Android nav-bar safety */
    padding-bottom: 100px;
}
.dwf-sheet.is-open .dwf-sheet-panel { transform: translateY(0); }

.dwf-sheet-handle {
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(26, 26, 26, 0.18);
    margin: 12px auto 0;
    flex-shrink: 0;
}

.dwf-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.dwf-sheet-title {
    font-family: var(--dwf-font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--dwf-dark);
    margin: 0;
}
.dwf-sheet-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: var(--dwf-offwhite) !important;
    border: 0 !important;
    color: var(--dwf-dark) !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: none !important;
}
.dwf-sheet-close svg { width: 14px; height: 14px; }

.dwf-sheet-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 22px 12px;
    flex: 1;
}
.dwf-sheet-section {
    padding: 20px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.dwf-sheet-section:last-child { border-bottom: 0; }
.dwf-sheet-section-title {
    font-family: var(--dwf-font-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--dwf-olive);
    margin: 0 0 8px;
}

/* LIST rows (replaced chips) */
.dwf-sheet-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dwf-sheet-list-item {
    padding: 14px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-family: var(--dwf-font-sans);
    font-size: 14px;
    color: var(--dwf-dark);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
    transition: color 0.2s ease;
}
.dwf-sheet-list-item:last-child { border-bottom: 0; }
.dwf-sheet-list-item:hover { color: var(--dwf-olive); }
.dwf-sheet-list-item.is-selected {
    color: var(--dwf-olive);
    font-weight: 500;
}
.dwf-sheet-list-item span { flex: 1; min-width: 0; }
.dwf-sheet-list-check {
    width: 16px;
    height: 16px;
    color: var(--dwf-olive);
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}
.dwf-sheet-list-item.is-selected .dwf-sheet-list-check { opacity: 1; }

.dwf-sheet-footer {
    display: flex;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid rgba(26, 26, 26, 0.06);
    flex-shrink: 0;
}
.dwf-sheet-clear {
    flex-shrink: 0;
    font-family: var(--dwf-font-sans) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase !important;
    color: var(--dwf-muted) !important;
    background: transparent !important;
    border: 1px solid rgba(26, 26, 26, 0.2) !important;
    border-radius: 50px !important;
    padding: 14px 22px !important;
    cursor: pointer;
    box-shadow: none !important;
}
.dwf-sheet-apply {
    flex: 1;
    font-family: var(--dwf-font-sans) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase !important;
    color: var(--dwf-white) !important;
    background: var(--dwf-dark) !important;
    border: 0 !important;
    border-radius: 50px !important;
    padding: 14px 22px !important;
    cursor: pointer;
    box-shadow: none !important;
}


/* ===============================================================
   SINGLE PAGE — HERO (full viewport, content at bottom)
================================================================= */
.dwf-single-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* No overflow:hidden — keeps hero anchored without trapping descendants */
    background-color: var(--dwf-dark);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 100px 24px 130px;
}
.dwf-single-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.dwf-single-hero-bg img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}
.dwf-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.20) 40%,
        rgba(26, 26, 26, 0.85) 100%);
}

.dwf-single-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
}
.dwf-single-hero-content {
    text-align: center;
    color: var(--dwf-white);
}
.dwf-single-hero-eyebrow {
    display: inline-block;
    font-family: var(--dwf-font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--dwf-cream);
    margin-bottom: 18px;
}
.dwf-single-hero-rule {
    display: block;
    width: 44px;
    height: 1px;
    background-color: rgba(233, 224, 207, 0.5);
    margin: 0 auto 24px;
}
.dwf-single-hero-title {
    font-family: var(--dwf-font-serif);
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.005em;
    color: var(--dwf-white) !important;
    margin: 0;
    text-transform: none;
}
.dwf-single-hero-destination {
    margin: 22px 0 0;
    font-family: var(--dwf-font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}


/* ===============================================================
   SINGLE PAGE — FACTS (redesigned 3-info-box)
================================================================= */
.dwf-facts {
    width: 100%;
    max-width: 1300px;
    margin: 80px auto 50px;   /* ↓ bottom gap reduced to 50px */
    padding: 0 20px;
}
.dwf-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.dwf-fact {
    padding: 32px 32px 28px;
    background-color: var(--dwf-offwhite);
    border: 1px solid rgba(126, 132, 96, 0.16);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.dwf-fact:hover {
    background-color: var(--dwf-cream);
    border-color: rgba(126, 132, 96, 0.28);
}

/* TOP ROW: 01 — RESORT */
.dwf-fact-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.dwf-fact-number {
    font-family: var(--dwf-font-serif);
    font-size: 13px;
    font-weight: 400;
    color: var(--dwf-muted);
    letter-spacing: 0.06em;
}
.dwf-fact-marker {
    width: 22px;
    height: 1px;
    background-color: rgba(126, 132, 96, 0.5);
}
.dwf-fact-label {
    font-family: var(--dwf-font-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--dwf-olive);
}

/* MIDDLE: big serif value (fills the vertical space) */
.dwf-fact-value {
    font-family: var(--dwf-font-serif);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 400;
    line-height: 1.22;
    color: var(--dwf-dark);
    letter-spacing: 0.005em;
    flex: 1;
}

/* BOTTOM ROW: icon + butter gradient line */
.dwf-fact-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    color: var(--dwf-olive);
}
.dwf-fact-icon { flex-shrink: 0; display: inline-flex; }
.dwf-fact-icon svg { width: 22px; height: 22px; display: block; }
.dwf-fact-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(126, 132, 96, 0.35) 0%,
        rgba(126, 132, 96, 0.04) 100%);
}


/* ===============================================================
   SINGLE PAGE — VIDEO (tighter spacing per client)
================================================================= */
.dwf-video-wrap {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 50px;        /* ↓ tight 50px gap */
    padding: 0 20px;
    background: transparent;
}
.dwf-video-wrap iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 4px;
}


/* ===============================================================
   SINGLE PAGE — GALLERY
================================================================= */
.dwf-gallery {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 100px;
    padding: 0 20px;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.dwf-gallery-item {
    position: relative;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: zoom-in;
    overflow: hidden;
    box-shadow: none !important;
    border-radius: 4px !important;
    aspect-ratio: 1 / 1;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}
.dwf-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.45s ease;
}
.dwf-gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.85);
}
.dwf-gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--dwf-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.dwf-gallery-zoom svg { width: 18px; height: 18px; }
.dwf-gallery-item:hover .dwf-gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* ===============================================================
   MORE FEATURED WEDDINGS
================================================================= */
.dwf-more {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 100px;
    padding: 0 20px;
    clear: both;
}
.dwf-more-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}
.dwf-more-divider {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(26, 26, 26, 0.04) 0%,
        rgba(26, 26, 26, 0.22) 30%,
        rgba(26, 26, 26, 0.22) 70%,
        rgba(26, 26, 26, 0.04) 100%);
}
.dwf-more-title {
    font-family: var(--dwf-font-serif);
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--dwf-dark);
    margin: 0;
    text-transform: none;
    flex-shrink: 0;
    text-align: center;
}
.dwf-more-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.dwf-more-grid > * { min-width: 0; }


/* ===============================================================
   LIGHTBOX — GSAP-friendly, animated close
================================================================= */
.dwf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
}
.dwf-lightbox.is-open { pointer-events: auto; visibility: visible; }

.dwf-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 26, 26, 0.94);
    opacity: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dwf-lightbox-stage {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    max-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.92);
}
.dwf-lightbox-img {
    max-width: 92vw !important;
    max-height: 84vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.dwf-lightbox-close {
    position: fixed;
    top: 26px;
    right: 28px;
    z-index: 3;
    width: 52px !important;
    height: 52px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    box-shadow: none !important;
    color: var(--dwf-white) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
}
.dwf-lightbox-close-circle {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: border-color 0.4s ease,
                background-color 0.4s ease,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.dwf-lightbox-close-icon {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dwf-lightbox-close:hover .dwf-lightbox-close-circle {
    background-color: var(--dwf-white);
    border-color: var(--dwf-white);
    transform: scale(1.08);
}
.dwf-lightbox-close:hover .dwf-lightbox-close-icon {
    transform: rotate(90deg);
    color: var(--dwf-dark);
}

.dwf-lightbox-counter {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-family: var(--dwf-font-serif);
    font-size: 14px;
    color: var(--dwf-white);
    letter-spacing: 0.08em;
    opacity: 0;
}
.dwf-lightbox-counter-current { color: var(--dwf-white); }
.dwf-lightbox-counter-sep { margin: 0 10px; opacity: 0.45; }
.dwf-lightbox-counter-total { opacity: 0.55; }

.dwf-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    color: var(--dwf-white) !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.dwf-lightbox-nav:hover {
    background-color: var(--dwf-white) !important;
    border-color: var(--dwf-white) !important;
    color: var(--dwf-dark) !important;
}
.dwf-lightbox-nav svg { width: 16px; height: 16px; }
.dwf-lightbox-prev { left: 30px; }
.dwf-lightbox-next { right: 30px; }


/* ===============================================================
   SCROLL REVEAL — fade up on enter viewport (matches home/about)
================================================================= */
.dwf-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--dwf-reveal-delay, 0s);
    will-change: opacity, transform;
}
.dwf-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero content reveals — keep them subtle since hero is the first paint.
   These trigger almost immediately on page load via the same observer. */
.dwf-hero-eyebrow,
.dwf-hero-rule,
.dwf-hero-title,
.dwf-hero-sub,
.dwf-filter-bar--hero,
.dwf-single-hero-eyebrow,
.dwf-single-hero-rule,
.dwf-single-hero-title,
.dwf-single-hero-destination {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}
.dwf-hero.is-loaded .dwf-hero-eyebrow         { transition-delay: 0.10s; }
.dwf-hero.is-loaded .dwf-hero-rule            { transition-delay: 0.20s; }
.dwf-hero.is-loaded .dwf-hero-title           { transition-delay: 0.30s; }
.dwf-hero.is-loaded .dwf-hero-sub             { transition-delay: 0.45s; }
.dwf-hero.is-loaded .dwf-filter-bar--hero     { transition-delay: 0.60s; }
.dwf-hero.is-loaded .dwf-hero-eyebrow,
.dwf-hero.is-loaded .dwf-hero-rule,
.dwf-hero.is-loaded .dwf-hero-title,
.dwf-hero.is-loaded .dwf-hero-sub,
.dwf-hero.is-loaded .dwf-filter-bar--hero {
    opacity: 1;
    transform: translateY(0);
}
.dwf-single-hero.is-loaded .dwf-single-hero-eyebrow     { transition-delay: 0.10s; }
.dwf-single-hero.is-loaded .dwf-single-hero-rule        { transition-delay: 0.22s; }
.dwf-single-hero.is-loaded .dwf-single-hero-title       { transition-delay: 0.34s; }
.dwf-single-hero.is-loaded .dwf-single-hero-destination { transition-delay: 0.50s; }
.dwf-single-hero.is-loaded .dwf-single-hero-eyebrow,
.dwf-single-hero.is-loaded .dwf-single-hero-rule,
.dwf-single-hero.is-loaded .dwf-single-hero-title,
.dwf-single-hero.is-loaded .dwf-single-hero-destination {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside a revealed parent */
.dwf-reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.dwf-reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.00s; }
.dwf-reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.10s; }
.dwf-reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.20s; }
.dwf-reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.30s; }
.dwf-reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.40s; }
.dwf-reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.50s; }
.dwf-reveal-stagger.is-revealed > *:nth-child(n+7) { transition-delay: 0.60s; }
.dwf-reveal-stagger.is-revealed > * {
    opacity: 1;
    transform: translateY(0);
}


/* ===============================================================
   RESPONSIVE
================================================================= */
@media (max-width: 991px) {
    .dwf-hero { padding: 70px 20px 110px; }
    .dwf-single-hero { padding: 80px 20px 110px; }

    .dwf-hero-inner { max-width: 100%; }
    .dwf-filter-bar { max-width: 100%; }
    .dwf-filter-row {
        flex-wrap: wrap;
        padding: 8px;
        gap: 4px;
    }
    .dwf-dropdown {
        flex: 1 1 100%;
        border-bottom: 1px solid rgba(126, 132, 96, 0.12);
    }
    .dwf-dropdown:last-of-type { border-bottom: 0; }
    .dwf-dropdown + .dwf-dropdown::before { display: none; }
    .dwf-clear-btn { width: 100%; justify-content: center; }

    .dwf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .dwf-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .dwf-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .dwf-facts-grid { grid-template-columns: 1fr; gap: 12px; }
    .dwf-skeletons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .dwf-result-bar { margin-top: 50px; }
    .dwf-more-divider { max-width: 80px; }

    /* On mobile the sticky bar shows the count+filter button instead */
    .dwf-sticky-desktop { display: none; }
    .dwf-sticky-mobile { display: flex; }

    /* On mobile the hero filter is collapsed — user uses the sticky bar */
    .dwf-filter-bar--hero { display: none; }
    .dwf-hero-inner { gap: 0; }
}

@media (max-width: 600px) {
    .dwf-hero { padding: 60px 16px 100px; min-height: 100vh; }
    .dwf-single-hero { padding: 70px 16px 100px; min-height: 100vh; }

    .dwf-hero-title { font-size: clamp(28px, 8vw, 36px); }
    .dwf-single-hero-title { font-size: clamp(32px, 9vw, 48px); }

    .dwf-archive { margin-bottom: 90px; padding: 0 16px; }
    .dwf-result-bar { padding: 0 18px; }
    .dwf-grid,
    .dwf-more-grid,
    .dwf-gallery { grid-template-columns: 1fr; gap: 14px; }
    .dwf-skeletons { grid-template-columns: 1fr; gap: 14px; }

    .dwf-card { height: 280px !important; }

    .dwf-facts { padding: 0 16px; margin-bottom: 40px; }
    .dwf-fact {
        padding: 28px 24px 24px;
        min-height: 180px;
    }
    .dwf-fact-top { margin-bottom: 20px; }
    .dwf-fact-bottom { margin-top: 18px; }

    .dwf-video-wrap,
    .dwf-gallery,
    .dwf-more { padding: 0 16px; }
    .dwf-video-wrap { margin-bottom: 40px; }

    .dwf-more-divider { max-width: 50px; }
    .dwf-more-header { gap: 14px; margin-bottom: 32px; }

    .dwf-lightbox-prev { left: 14px; }
    .dwf-lightbox-next { right: 14px; }
    .dwf-lightbox-close { top: 18px; right: 18px; width: 44px !important; height: 44px !important; }
    .dwf-lightbox-counter { top: 24px; font-size: 12.5px; }
}


/* ===============================================================
   REDUCED MOTION
================================================================= */
@media (prefers-reduced-motion: reduce) {
    .dwf-card img,
    .dwf-card-overlay,
    .dwf-card:hover img,
    .dwf-gallery-item img,
    .dwf-gallery-item:hover img,
    .dwf-skeleton-image,
    .dwf-skeleton-line,
    .dwf-lightbox-close-circle,
    .dwf-lightbox-close-icon,
    .dwf-dropdown-list,
    .dwf-sheet-panel,
    .dwf-sticky,
    .dwf-scroll-icon {
        transition: none !important;
        animation: none !important;
    }

    /* Skip reveal animations — show everything immediately */
    .dwf-reveal,
    .dwf-reveal-stagger > *,
    .dwf-hero-eyebrow,
    .dwf-hero-rule,
    .dwf-hero-title,
    .dwf-hero-sub,
    .dwf-filter-bar--hero,
    .dwf-single-hero-eyebrow,
    .dwf-single-hero-rule,
    .dwf-single-hero-title,
    .dwf-single-hero-destination {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ===============================================================
   FACTS — COMPACT REDESIGN (v2.1.2)
   Tighter cards, icon moved to a top-right circle, animated SVG
   path on hover (unique per card), bottom line sweeps in.
================================================================= */
.dwf-fact {
    position: relative;
    padding: 24px 28px 26px !important;
    min-height: 0 !important;
    overflow: hidden;
    cursor: default;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.5s ease,
                border-color 0.5s ease,
                box-shadow 0.55s ease !important;
}
@media (min-width: 992px) {
    .dwf-fact { min-height: 150px !important; }
}

/* Top row — leave room for the corner icon */
.dwf-fact-top {
    margin-bottom: 14px !important;
    padding-right: 56px;
}

/* Value sits flush, no flex-grow eating space */
.dwf-fact-value {
    flex: 0 0 auto !important;
    font-size: clamp(20px, 1.8vw, 24px) !important;
    margin: 0 !important;
}

/* The bottom row was icon+line — line stays at the bottom, icon goes to corner */
.dwf-fact-bottom {
    margin-top: 0 !important;
    position: static;
}
.dwf-fact-bottom > .dwf-fact-line { display: none; }   /* old line is hidden */

/* New corner icon — circle, top-right */
.dwf-fact-icon {
    position: absolute !important;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(126, 132, 96, 0.10);
    border: 1px solid rgba(126, 132, 96, 0.20);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    transition: background-color 0.5s ease,
                border-color 0.5s ease,
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.dwf-fact-icon svg {
    width: 18px !important;
    height: 18px !important;
    color: var(--dwf-olive);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.5s ease;
}

/* New bottom line — absolute, sweeps in from left on hover */
.dwf-fact::after {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 20px;
    height: 1px;
    background: linear-gradient(90deg,
        var(--dwf-olive) 0%,
        rgba(126, 132, 96, 0.04) 100%);
    transform: scaleX(0.35);
    transform-origin: left center;
    opacity: 0.55;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.5s ease;
}

/* CARD HOVER */
.dwf-fact:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(26, 26, 26, 0.07);
}
.dwf-fact:hover .dwf-fact-icon {
    background: var(--dwf-olive);
    border-color: var(--dwf-olive);
    transform: scale(1.06);
}
.dwf-fact:hover .dwf-fact-icon svg {
    color: var(--dwf-white);
}
.dwf-fact:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* PER-ICON HOVER MICRO-ANIMATIONS ---------------------------------- */

/* Home — the door pulls closed (scaleY from bottom) */
.dwf-icon-home-door {
    transform-box: fill-box;
    transform-origin: center bottom;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dwf-fact:hover .dwf-icon-home-door {
    transform: scaleY(0.5);
}

/* Pin — inner dot pulses larger */
.dwf-icon-pin-dot {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dwf-fact:hover .dwf-icon-pin-dot {
    transform: scale(1.45);
}
/* Pin shape gives a soft drop-bounce */
.dwf-icon-pin-shape {
    transform-box: fill-box;
    transform-origin: center bottom;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dwf-fact:hover .dwf-icon-pin-shape {
    transform: translateY(-1.5px);
}

/* Group — the back figure fades from 45% → 100% (suggests "a crowd") */
.dwf-icon-group-body2,
.dwf-icon-group-head2 {
    opacity: 0.45;
    transition: opacity 0.5s ease;
}
.dwf-fact:hover .dwf-icon-group-body2,
.dwf-fact:hover .dwf-icon-group-head2 {
    opacity: 1;
}

/* Mobile — tighter inner spacing, icon scales down slightly */
@media (max-width: 991px) {
    .dwf-fact { padding: 22px 24px 24px !important; }
    .dwf-fact-top { padding-right: 50px; }
    .dwf-fact-icon { top: 18px; right: 18px; width: 38px; height: 38px; }
    .dwf-fact-icon svg { width: 16px !important; height: 16px !important; }
    .dwf-fact::after { left: 24px; right: 24px; bottom: 18px; }
}

/* Reduced-motion guard for the new animations */
@media (prefers-reduced-motion: reduce) {
    .dwf-fact, .dwf-fact-icon, .dwf-fact-icon svg, .dwf-fact::after,
    .dwf-icon-home-door, .dwf-icon-pin-dot, .dwf-icon-pin-shape,
    .dwf-icon-group-body2, .dwf-icon-group-head2 {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    .dwf-icon-group-body2, .dwf-icon-group-head2 { opacity: 1 !important; }
    .dwf-fact::after { transform: scaleX(1) !important; opacity: 1 !important; }
}


/* ===============================================================
   FACTS — HORIZONTAL LAYOUT (v2.1.3)
   Icon left (vertically centered), label + value stacked right.
   Removed: "01 —" number/dash, bottom divider line.
================================================================= */

/* Hide the number + marker dash */
.dwf-fact .dwf-fact-number,
.dwf-fact .dwf-fact-marker { display: none !important; }

/* Hide the bottom sweeping divider from the v2.1.2 patch */
.dwf-fact::after { display: none !important; }

/* CSS Grid: column 1 = icon (centered both rows), column 2 = label / value stack */
.dwf-fact {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 22px;
    row-gap: 6px;
    align-items: center;
    padding: 28px 30px !important;
    min-height: 0 !important;
    overflow: hidden;
}
@media (min-width: 992px) {
    .dwf-fact { min-height: 130px !important; }
}

/* Icon wrapper (.dwf-fact-bottom) — left column, spans both rows so it stays vertically centered */
.dwf-fact-bottom {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* The icon circle — static positioning (no longer top-right absolute) */
.dwf-fact-icon {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    background: rgba(126, 132, 96, 0.10);
    border: 1px solid rgba(126, 132, 96, 0.20);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    flex-shrink: 0;
    transition: background-color 0.5s ease,
                border-color 0.5s ease,
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.dwf-fact-icon svg {
    width: 22px !important;
    height: 22px !important;
    color: var(--dwf-olive);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.5s ease;
}

/* Label — right column, top row */
.dwf-fact-top {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Value — right column, bottom row */
.dwf-fact-value {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    line-height: 1.2;
}

/* Mobile — smaller icon, tighter inset */
@media (max-width: 991px) {
    .dwf-fact { padding: 24px !important; column-gap: 18px; }
    .dwf-fact-icon { width: 46px !important; height: 46px !important; }
    .dwf-fact-icon svg { width: 20px !important; height: 20px !important; }
}


/* ===============================================================
   FACTS — DIVIDER BETWEEN CARDS (v2.1.5)
   Vertical butter-gradient hairline between cards on desktop,
   horizontal between cards on mobile. Card borders removed
   so the dividers read cleanly.
================================================================= */
.dwf-fact {
    border: 0 !important;
}

.dwf-fact:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 22%;
    bottom: 22%;
    right: -9px;   /* half of the 18px grid gap */
    width: 1px;
    background: linear-gradient(to bottom,
        rgba(126, 132, 96, 0.04) 0%,
        rgba(126, 132, 96, 0.32) 50%,
        rgba(126, 132, 96, 0.04) 100%);
    pointer-events: none;
}

@media (max-width: 991px) {
    /* Stacked layout — divider sits horizontally below each card */
    .dwf-fact:not(:last-child)::before {
        top: auto;
        bottom: -6px;     /* half of the 12px mobile gap */
        left: 22%;
        right: 22%;
        width: auto;
        height: 1px;
        background: linear-gradient(to right,
            rgba(126, 132, 96, 0.04) 0%,
            rgba(126, 132, 96, 0.32) 50%,
            rgba(126, 132, 96, 0.04) 100%);
    }
}


/* ===============================================================
   FACTS — UNIFIED CARD REDESIGN (v2.1.6)
   One outer card containing 3 internal sections divided by
   vertical hairlines. No hover animations. Smaller value font.
   Adds optional caption beneath value (used for guest count).
================================================================= */

/* ── OUTER = the single card ─────────────────────────────────── */
.dwf-facts-grid {
    background-color: var(--dwf-offwhite) !important;
    border: 1px solid rgba(126, 132, 96, 0.16) !important;
    border-radius: 4px !important;
    padding: 0 !important;
    gap: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* ── EACH FACT = an internal section, transparent ───────────── */
.dwf-fact {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 36px 32px !important;
    min-height: 0 !important;
    transform: none !important;
    transition: none !important;
    position: relative;
    grid-template-rows: auto auto auto !important;
    row-gap: 4px !important;
    overflow: visible !important;
}

/* Icon spans all 3 rows so it stays vertically centered */
.dwf-fact-bottom {
    grid-row: 1 / -1 !important;
    align-self: center;
}

/* ── KILL HOVER ANIMATIONS ──────────────────────────────────── */
.dwf-fact:hover,
.dwf-fact:hover .dwf-fact-icon,
.dwf-fact:hover .dwf-fact-icon svg {
    transform: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
.dwf-fact:hover .dwf-fact-icon {
    background: rgba(126, 132, 96, 0.10) !important;
    border-color: rgba(126, 132, 96, 0.20) !important;
}
.dwf-fact:hover .dwf-fact-icon svg {
    color: var(--dwf-olive) !important;
}
/* Reset all per-icon SVG path animations to static */
.dwf-icon-home-door,
.dwf-icon-pin-dot,
.dwf-icon-pin-shape,
.dwf-icon-group-body2,
.dwf-icon-group-head2,
.dwf-fact:hover .dwf-icon-home-door,
.dwf-fact:hover .dwf-icon-pin-dot,
.dwf-fact:hover .dwf-icon-pin-shape,
.dwf-fact:hover .dwf-icon-group-body2,
.dwf-fact:hover .dwf-icon-group-head2 {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

/* ── VERTICAL DIVIDERS between internal sections ────────────── */
.dwf-fact:not(:last-child)::before {
    content: '';
    position: absolute !important;
    top: 24% !important;
    bottom: 24% !important;
    right: 0 !important;
    left: auto !important;
    width: 1px !important;
    height: auto !important;
    background: linear-gradient(to bottom,
        rgba(126, 132, 96, 0.04) 0%,
        rgba(126, 132, 96, 0.30) 50%,
        rgba(126, 132, 96, 0.04) 100%) !important;
    pointer-events: none;
}

/* ── SMALLER VALUE FONT — fits long resort names on one line ── */
.dwf-fact-value {
    font-size: clamp(15px, 1.3vw, 17px) !important;
    line-height: 1.35 !important;
}

/* ── NEW: caption beneath the value (e.g. "joined the celebration") ── */
.dwf-fact-caption {
    grid-column: 2 !important;
    grid-row: 3 !important;
    display: block;
    margin: 6px 0 0 !important;
    font-family: var(--dwf-font-sans);
    font-size: 11px;
    font-weight: 400;
    color: var(--dwf-muted);
    letter-spacing: 0.02em;
    font-style: italic;
    line-height: 1.4;
}

/* ── MOBILE: stack vertically, horizontal dividers between ──── */
@media (max-width: 991px) {
    .dwf-facts-grid {
        grid-template-columns: 1fr !important;
    }
    .dwf-fact {
        padding: 26px 24px !important;
    }
    .dwf-fact:not(:last-child)::before {
        top: auto !important;
        bottom: 0 !important;
        left: 24px !important;
        right: 24px !important;
        width: auto !important;
        height: 1px !important;
        background: linear-gradient(to right,
            rgba(126, 132, 96, 0.04) 0%,
            rgba(126, 132, 96, 0.30) 50%,
            rgba(126, 132, 96, 0.04) 100%) !important;
    }
}
