/* =========================================================
   ELAINE DING PROPERTY
   PAGE 03 — SECTION 06
   PROPERTY LOCATION
========================================================= */

.ed-property-location,
.ed-property-location * {
    box-sizing: border-box;
}

.ed-property-location {
    --ed-bg: #f7f4ef;
    --ed-white: #ffffff;
    --ed-dark: #1c1c1c;
    --ed-text: #625e58;
    --ed-muted: #948c82;
    --ed-line: #ddd6cc;
    --ed-accent: #957d62;

    width: 100%;

    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #faf8f5 0%,
            var(--ed-bg) 100%
        );

    color: var(--ed-dark);

    font-family: "Manrope", sans-serif;
}


/* =========================================================
   CONTAINER
========================================================= */

.ed-property-location__container {
    width: min(1580px, calc(100% - 90px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, .8fr)
        minmax(560px, 1.2fr);

    gap: 85px;

    align-items: center;
}


/* =========================================================
   CONTENT
========================================================= */

.ed-property-location__content {
    max-width: 720px;
}

.ed-property-location__eyebrow {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;

    color: #81796f;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.ed-property-location__eyebrow span {
    color: var(--ed-dark);
}

.ed-property-location__eyebrow i {
    width: 45px;
    height: 1px;

    background: #aaa095;
}

.ed-property-location__content h2 {
    margin: 0;

    font-family: "DM Serif Display", serif;

    font-size: clamp(55px, 4.8vw, 84px);

    line-height: .96;

    font-weight: 400;

    letter-spacing: -.045em;
}

.ed-property-location__content h2 em {
    display: block;

    color: var(--ed-accent);

    font-weight: 400;
}

.ed-property-location__lead {
    max-width: 620px;

    margin: 30px 0 0;

    color: var(--ed-text);

    font-size: 14px;

    line-height: 1.85;
}


/* =========================================================
   DETAILS
========================================================= */

.ed-property-location__details {
    margin-top: 43px;

    border-top: 1px solid var(--ed-line);
}

.ed-property-location__details > div {
    min-height: 66px;

    display: grid;

    grid-template-columns: 120px 1fr;

    align-items: center;

    gap: 20px;

    border-bottom: 1px solid var(--ed-line);
}

.ed-property-location__details span {
    color: var(--ed-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .11em;

    text-transform: uppercase;
}

.ed-property-location__details strong {
    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   NOTE
========================================================= */

.ed-property-location__note {
    margin-top: 33px;

    padding: 22px 24px;

    background: #ffffff;

    border: 1px solid var(--ed-line);
}

.ed-property-location__note span {
    display: block;

    margin-bottom: 7px;

    color: var(--ed-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.ed-property-location__note p {
    margin: 0;

    color: var(--ed-text);

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   MAP
========================================================= */

.ed-property-location__map-wrap {
    position: relative;

    padding-bottom: 60px;
}

.ed-property-location__map {
    width: 100%;

    height: 620px;

    overflow: hidden;

    background: #ddd;

    border: 1px solid var(--ed-line);
}

.ed-property-location__map iframe {
    display: block;
}


/* =========================================================
   MAP CARD
========================================================= */

.ed-property-location__map-card {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 0;

    padding: 24px 27px;

    background: rgba(255,255,255,.97);

    border: 1px solid var(--ed-line);

    box-shadow:
        0 22px 55px rgba(55,48,40,.10);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ed-property-location__map-card > span {
    display: block;

    margin-bottom: 7px;

    color: var(--ed-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .13em;

    text-transform: uppercase;
}

.ed-property-location__map-card > strong {
    display: block;

    font-family: "DM Serif Display", serif;

    font-size: 28px;

    line-height: 1.1;

    font-weight: 400;
}

.ed-property-location__map-card > p {
    margin: 7px 0 0;

    color: var(--ed-text);

    font-size: 10px;
}

.ed-property-location__map-card a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 18px;

    padding-bottom: 4px;

    color: var(--ed-dark);

    border-bottom: 1px solid #aaa095;

    text-decoration: none;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .06em;

    text-transform: uppercase;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .ed-property-location__container {
        width: min(100% - 50px, 1100px);

        grid-template-columns: .9fr 1.1fr;

        gap: 55px;
    }

    .ed-property-location__map {
        height: 560px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 820px) {

    .ed-property-location {
        padding: 80px 0;
    }

    .ed-property-location__container {
        width: calc(100% - 36px);

        display: block;
    }

    .ed-property-location__map-wrap {
        margin-top: 55px;
    }

    .ed-property-location__map {
        height: 500px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .ed-property-location__content h2 {
        font-size: clamp(48px, 14vw, 64px);
    }

    .ed-property-location__details > div {
        grid-template-columns: 1fr;

        gap: 6px;

        padding: 15px 0;
    }

    .ed-property-location__map-wrap {
        padding-bottom: 0;
    }

    .ed-property-location__map {
        height: 420px;
    }

    .ed-property-location__map-card {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        margin-top: 12px;
    }

}