/* =========================================================
   ELEA Custom Frontend
   ========================================================= */

:root {
    --elea-peach: #D99A7F;
    --elea-yellow: #E8D85A;
    --elea-cream: #F6EEE5;
    --elea-pink: #F3CFC7;
    --elea-brown: #5B3A2E;
    --elea-warm-cream: #FFF7F2;
}

/* =========================================================
   ELEA Hero
   ========================================================= */

.elea-hero {
    position: relative;
    width: 100%;
    min-height: 760px;
    height: 82vh;
    overflow: hidden;
    background: var(--elea-cream);
}

.elea-hero__media {
    position: absolute;
    inset: 0;
}

.elea-hero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.elea-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(48, 30, 24, 0.52) 0%,
        rgba(48, 30, 24, 0.25) 42%,
        rgba(48, 30, 24, 0.05) 70%,
        rgba(48, 30, 24, 0) 100%
    );
}

.elea-hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 6%;
    color: #fff;
}

.elea-hero__eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.elea-hero__title {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(52px, 6vw, 94px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.elea-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    padding-bottom: 7px;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: opacity 0.25s ease;
}

.elea-hero__cta:hover {
    color: #fff !important;
    opacity: 0.72;
}

@media (max-width: 767px) {
    .elea-hero {
        min-height: 640px;
        height: 78vh;
    }

    .elea-hero__content {
        min-height: 640px;
        justify-content: flex-end;
        padding: 60px 24px;
    }

    .elea-hero__overlay {
        background: linear-gradient(
            0deg,
            rgba(48, 30, 24, 0.58) 0%,
            rgba(48, 30, 24, 0.18) 58%,
            rgba(48, 30, 24, 0.04) 100%
        );
    }

    .elea-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .elea-hero__title {
        max-width: 420px;
        font-size: clamp(44px, 13vw, 64px);
        line-height: 1;
    }

    .elea-hero__cta {
        margin-top: 28px;
        font-size: 11px;
    }
}

/* Prevent theme heading styles from affecting ELEA hero */
.aiz-elea .elea-hero__title {
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    filter: none !important;
}
