/* ═══════════════════════════════════════════════
   Woolmers Explore Building Widget
   ═══════════════════════════════════════════════ */

.c-explore-building {
}

/* ─── Two-Column Grid ─── */
.c-explore-building .c-explore-building__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .c-explore-building .c-explore-building__grid {
        flex-direction: row;
        gap: 2.5rem;
    }
    .c-explore-building .c-explore-building__body,
    .c-explore-building .c-explore-building__right {
        flex: 1;
        min-width: 0;
    }
}

/* (direction resets no longer needed with flexbox) */

/* ─── Left Body ─── */
.c-explore-building .c-explore-building__body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Kickers Container */
.c-explore-building .c-explore-building__kickers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Kicker */
.c-explore-building .c-explore-building__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #2b2b2bb3;
}

.c-explore-building .c-explore-building__kicker-icon {
    display: inline-flex;
    font-size: 0.875rem;
}
.c-explore-building .c-explore-building__kicker-icon svg {
    width: 0.875rem;
    height: auto;
}

/* Title */
.c-explore-building .c-explore-building__title {
    font-size: 2rem;
    line-height: 1.1;
    margin: 0 0 1rem;
}

@media (min-width: 768px) {
    .c-explore-building .c-explore-building__title {
        font-size: 2.5rem;
    }
}

/* Title Accent */
.c-explore-building .c-explore-building__title-accent {
    display: inline;
    font-style: italic;
    color: #c4a97d;
}

/* Description */
.c-explore-building .c-explore-building__desc {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

/* ─── Thumbnail Grid ─── */
.c-explore-building .c-explore-building__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 1.5rem;
}

.c-explore-building .c-explore-building__thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    border: 0 none;
    border-radius: 0.75rem;
    background: none !important;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.c-explore-building .c-explore-building__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 0;
}

.c-explore-building .c-explore-building__thumb:hover {
}

.c-explore-building .c-explore-building__thumb.is-active {
    transform: scale(1.05);
    opacity: 1;
    box-shadow:
            rgb(232, 220, 200) 0px 0px 0px 2px,
            rgb(185, 149, 106) 0px 0px 0px 4px,
            rgba(0, 0, 0, 0) 0px 0px 0px 0px;
}

.c-explore-building .c-explore-building__thumb:not(.is-active):hover {
    opacity: 0.85;
}

/* ─── CTA Button ─── */
.c-explore-building .c-explore-building__cta {
    margin-top: 0.5rem;
}

.c-explore-building a.c-explore-building__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    background-color: #b9956a;
    color: #faf8f5;
    transition:
            background-color 0.25s,
            color 0.25s;
    cursor: pointer;
}

.c-explore-building .c-explore-building__btn:hover {
    background-color: #a8844f;
}

.c-explore-building .c-explore-building__btn svg {
    transition: transform 0.25s;
}

.c-explore-building .c-explore-building__btn:hover svg {
    transform: translateX(4px);
}

/* ─── Right Column Wrapper ─── */
.c-explore-building .c-explore-building__right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .c-explore-building .c-explore-building__right {
        /*position: sticky;*/
        /*top: 6rem;*/
    }
}

/* ─── Slideshow ─── */
.c-explore-building .c-explore-building__slideshow {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 620 / 465;
}

/* Individual Slide */
.c-explore-building .c-explore-building__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.c-explore-building .c-explore-building__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide Images */
.c-explore-building .c-explore-building__slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 620 / 465;
    transition: opacity 0.7s ease;
}

.c-explore-building .c-explore-building__slide-img--primary {
    opacity: 1;
}

.c-explore-building .c-explore-building__slide-img--alt {
    opacity: 0;
}

.c-explore-building .c-explore-building__slide.is-toggled .c-explore-building__slide-img--primary {
    opacity: 0;
}

.c-explore-building .c-explore-building__slide.is-toggled .c-explore-building__slide-img--alt {
    opacity: 1;
}

/* Overlay Gradient */
.c-explore-building .c-explore-building__slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 36, 22, 0.7) 0%, transparent 60%);
    pointer-events: none;
}

/* Slide Content */
.c-explore-building .c-explore-building__slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: flex-end;
}

/* Slide Title */
.c-explore-building .c-explore-building__slide-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #faf8f5;
    margin: 0 0 0.5rem;
}

/* Slide Description */
.c-explore-building .c-explore-building__slide-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #faf8f5b3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slide Actions */
.c-explore-building .c-explore-building__slide-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Toggle Button (Then vs Now) */
.c-explore-building .c-explore-building__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: #faf8f526;
    color: #faf8f5e6;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition:
            background 0.25s,
            border-color 0.25s;
    position: relative;
    z-index: 3;
}

.c-explore-building .c-explore-building__toggle:hover {
    background: #faf8f540;
    border-color: #faf8f533;
}

.c-explore-building .c-explore-building__toggle svg {
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
    color: #faf8f5cc;
    transition: all ease 0.35s;
}
.c-explore-building .c-explore-building__slide.is-toggled .c-explore-building__toggle svg {
    transform: rotate(-90deg);
}

/* ─── Navigation Bar (outside slideshow) ─── */
.c-explore-building .c-explore-building__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Navigation Arrows */
.c-explore-building .c-explore-building__arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b2b2b33;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    color: #2b2b2b;
    cursor: pointer;
    transition:
            background 0.25s,
            border-color 0.25s;
}

.c-explore-building .c-explore-building__arrow:hover {
    background: #2b2b2b0d;
    border-color: #2b2b2b66;
}

/* Counter */
.c-explore-building .c-explore-building__counter {
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    color: #2b2b2b;
    white-space: nowrap;
    min-width: 2.5rem;
    text-align: center;
}
