/* =====================================================
   ZKR REAL ESTATE — MARRAKECH TEASER
===================================================== */

.zkr-marrakech-teaser {
    position: relative;

    width: 100%;

    min-height: 90vh;
    min-height: 90dvh;

    overflow: hidden;

    background: #8c8175;

    color: #f4f2ed;
}


/* =====================================================
   BACKGROUND
===================================================== */

.zkr-marrakech-teaser__background {
    position: absolute;
    inset: 0;
}


.zkr-marrakech-teaser__background img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transform: scale(1.02);
}


/* OVERLAY */

.zkr-marrakech-teaser__overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.16),
            rgba(0,0,0,.08) 38%,
            rgba(0,0,0,.58)
        );
}


/* =====================================================
   CONTAINER
===================================================== */

.zkr-marrakech-teaser__container {
    position: relative;

    z-index: 2;

    width: min(1280px, calc(100% - 64px));

    min-height: 90vh;
    min-height: 90dvh;

    margin: 0 auto;

    padding:
        45px 0
        40px;

    display: flex;

    flex-direction: column;
    justify-content: space-between;
}


/* =====================================================
   TOP
===================================================== */

.zkr-marrakech-teaser__top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;
}


.zkr-marrakech-teaser__country {
    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =====================================================
   CONTENT
===================================================== */

.zkr-marrakech-teaser__content {
    max-width: 830px;
}


.zkr-marrakech-teaser__eyebrow {
    display: block;

    margin-bottom: 18px;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 9px;

    letter-spacing: 2.3px;
}


.zkr-marrakech-teaser__content h2 {
    margin: 0;

    font-family:
        Didot,
        "Bodoni MT",
        Georgia,
        serif;

    font-size:
        clamp(90px, 11vw, 165px);

    line-height: .8;

    letter-spacing: -7px;

    font-weight: 400;
}


.zkr-marrakech-teaser__content p {
    max-width: 500px;

    margin:
        35px 0 0;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.6;

    color:
        rgba(255,255,255,.82);
}


/* =====================================================
   ACTIONS
===================================================== */

.zkr-marrakech-teaser__actions {
    margin-top: 30px;

    display: flex;

    align-items: center;

    gap: 12px;
}


.zkr-marrakech-teaser__badge,
.zkr-marrakech-teaser__cta {
    min-height: 50px;

    padding:
        0 20px;

    display: inline-flex;

    align-items: center;

    border-radius: 999px;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 9px;

    letter-spacing: 1px;
}


.zkr-marrakech-teaser__badge {
    background: #f4f2ed;

    color: #0a0a0a;
}


.zkr-marrakech-teaser__cta {
    gap: 35px;

    border:
        1px solid rgba(255,255,255,.55);

    color: #fff;

    text-decoration: none;

    transition:
        background 180ms ease,
        color 180ms ease;
}


.zkr-marrakech-teaser__cta:hover {
    background: #f4f2ed;

    color: #0a0a0a;
}


/* =====================================================
   BOTTOM
===================================================== */

.zkr-marrakech-teaser__bottom {
    display: flex;

    align-items: center;

    gap: 14px;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 8px;

    letter-spacing: 1.5px;
}


.zkr-marrakech-teaser__line {
    width: 45px;
    height: 1px;

    background:
        rgba(255,255,255,.55);
}


/* =====================================================
   TABLET
===================================================== */

@media (min-width: 768px) and (max-width: 1180px) {

    .zkr-marrakech-teaser,
    .zkr-marrakech-teaser__container {
        min-height: 82dvh;
    }


    .zkr-marrakech-teaser__container {
        width:
            calc(100% - 48px);
    }


    .zkr-marrakech-teaser__content h2 {
        font-size:
            clamp(80px, 12vw, 120px);

        letter-spacing: -5px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .zkr-marrakech-teaser,
    .zkr-marrakech-teaser__container {
        min-height: 85dvh;
    }


    .zkr-marrakech-teaser__container {
        width:
            calc(100% - 40px);

        padding:
            30px 0;
    }


    .zkr-marrakech-teaser__content h2 {
        font-size:
            clamp(72px, 22vw, 95px);

        line-height: .88;

        letter-spacing: -4px;
    }


    .zkr-marrakech-teaser__content p {
        max-width: 330px;

        margin-top: 25px;

        font-size: 16px;
    }


    .zkr-marrakech-teaser__actions {
        align-items: stretch;

        flex-direction: column;

        max-width: 270px;
    }


    .zkr-marrakech-teaser__badge,
    .zkr-marrakech-teaser__cta {
        min-height: 48px;
    }


    .zkr-marrakech-teaser__cta {
        justify-content: space-between;
    }

}