@charset "UTF-8";
/*
 * Estrel Tower — Momente & Impressionen (Gallery)
 * Pixel-perfect Figma implementation (1920 design frame).
 *
 * Layout (full-bleed carousel):
 *   Section        2581 × 800  extends beyond viewport on both sides
 *   Title          584 × 175   centered, top 0
 *     "Momente" Söhne 400 94/105 + "& Impressionen" Alpina 250i 94/105 #FEF5EC
 *   Images at top 230:
 *     3 images ~855 × 570 each, gap 8, radius 5
 *     Center image fully visible, side images peek
 *   Label pills on images: Söhne 300 12/8 #14172D on #FEF5EC, radius 20
 *   Arrow buttons: 70 × 30, radius 41.5
 *     Left: filled #FED3CD
 *     Right: filled #FED3CD @ 60% opacity
 *
 * Scaling: --u = 100cqw / 1920 (full-bleed).
 */

.estrel-gallery {
    container-type: inline-size;
    width: 100%;
    max-width: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: transparent;
    overflow: hidden;
}

.estrel-gallery__inner {
    --u: calc(100cqw / 1920);
    position: relative;
    height: calc(800 * var(--u));
}


/* ============================
   TITLE — centered
   ============================ */

.estrel-gallery__header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.estrel-gallery__heading {
    margin: 0;
    color: #FEF5EC;
    font-size: calc(94 * var(--u));
    line-height: calc(105 * var(--u));
    letter-spacing: 0;
    white-space: nowrap;
}

.estrel-gallery__heading-line1,
.estrel-gallery__heading-line2 {
    display: block;
}

.estrel-gallery__heading-line1 {
    font-family: var(--font-soehne);
    font-weight: 400;
    font-style: normal;
}

.estrel-gallery__heading-line2 {
    font-family: var(--font-alpina);
    font-weight: 250;
    font-style: italic;
}

/* Legacy class support */
.estrel-gallery .estrel-section-title {
    margin: 0;
}

.estrel-gallery .estrel-section-title__main,
.estrel-gallery .estrel-section-title__sub {
    display: inline;
    font-size: calc(94 * var(--u));
    line-height: calc(105 * var(--u));
    color: #FEF5EC;
}

.estrel-gallery .estrel-section-title__sub {
    font-family: var(--font-alpina);
    font-weight: 250;
    font-style: italic;
}


/* ============================
   CAROUSEL — Swiper
   ============================ */

.estrel-gallery__carousel {
    position: absolute;
    top: calc(230 * var(--u));
    left: 0;
    width: 100%;
    height: calc(570 * var(--u));
}

.estrel-gallery__carousel .swiper {
    overflow: visible;
    height: 100%;
}

.estrel-gallery__carousel .swiper-slide {
    width: calc(855 * var(--u)) !important;
    height: calc(570 * var(--u));
    flex-shrink: 0;
    margin-right: calc(8 * var(--u));
}

.estrel-gallery__slide {
    position: relative;
    overflow: hidden;
    border-radius: calc(3 * var(--u));
    height: 100%;
}

.estrel-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.estrel-gallery__slide:hover .estrel-gallery__image {
    transform: scale(1.03);
}


/* ============================
   LABEL PILLS on images
   ============================ */

.estrel-gallery__label {
    position: absolute;
    bottom: calc(37 * var(--u));
    left: calc(31 * var(--u));
    display: inline-flex;
    align-items: center;
    height: calc(19 * var(--u));
    padding: 0 calc(18 * var(--u));
    font-family: var(--font-soehne);
    font-weight: 300;
    font-size: calc(12 * var(--u));
    line-height: calc(8 * var(--u));
    letter-spacing: 0;
    color: #14172D;
    background: #FEF5EC;
    border-radius: calc(20 * var(--u));
    white-space: nowrap;
    text-transform: none;
    border: none;
}


/* ============================
   NAV ARROWS
   ============================ */

.estrel-gallery__prev,
.estrel-gallery__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: calc(70 * var(--u));
    height: calc(30 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FED3CD;
    border: none;
    border-radius: calc(41.5 * var(--u));
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s;
}

.estrel-gallery__prev {
    left: calc(69 * var(--u));
}

.estrel-gallery__next {
    right: calc(82 * var(--u));
    opacity: 0.6;
}

.estrel-gallery__prev:hover,
.estrel-gallery__next:hover {
    opacity: 1;
}

.estrel-gallery__prev svg,
.estrel-gallery__next svg {
    width: calc(25 * var(--u));
    height: calc(8 * var(--u));
    display: block;
}

.estrel-gallery__prev svg { color: #14172D; }
.estrel-gallery__next svg { color: #14172D; }


/* ============================
   SUNRISE THEME
   ============================ */

body.sunrise .estrel-gallery__heading,
body.sunrise .estrel-gallery .estrel-section-title__main,
body.sunrise .estrel-gallery .estrel-section-title__sub {
    color: #14172D;
}


/* ============================
   MOBILE (<768)
   ============================ */

@media (max-width: 767px) {
    .estrel-gallery__inner {
        height: auto;
        padding: 40px 0;
    }

    .estrel-gallery__header {
        position: relative;
        left: auto;
        transform: none;
        padding: 0 20px;
        margin-bottom: 1.5rem;
    }

    .estrel-gallery__heading,
    .estrel-gallery .estrel-section-title__main,
    .estrel-gallery .estrel-section-title__sub {
        font-size: clamp(2rem, 9vw, 3.5rem);
        line-height: 1.1;
    }

    .estrel-gallery__carousel {
        position: relative;
        top: auto;
        height: 300px;
    }

    .estrel-gallery__carousel .swiper-slide {
        width: 80vw !important;
        height: 300px;
    }

    .estrel-gallery__prev,
    .estrel-gallery__next {
        width: 60px;
        height: 40px;
        border-radius: 20px;
    }

    .estrel-gallery__prev { left: 12px; }
    .estrel-gallery__next { right: 12px; }
}
