/* Map Content — classes/widgets/MapContent/map-content.php
   vw on the 1440 canvas like hero.css; px from 1024 down. */

.mapc {
    --mapc-ink: #111827;
    --mapc-body: #4B5563;
    --mapc-gold: #C9A961;
    --mapc-yellow: #E8B64A;
    --mapc-from: -28px;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 5.56vw;
    background: #fff;
}

.mapc *,
.mapc *::before,
.mapc *::after {
    box-sizing: border-box;
}

.mapc__inner {
    display: flex;
    align-items: center;
    gap: 4.17vw;
}

.mapc__media {
    flex: 0 1 44.4vw;
    max-width: 44.4vw;
}

.mapc__content {
    flex: 1 1 auto;
    min-width: 0;
}

.mapc--map-right .mapc__media {
    order: 2;
    --mapc-from: 28px;
}

.mapc--map-right .mapc__content {
    order: 1;
}

.mapc--align-top .mapc__inner {
    align-items: flex-start;
}

.mapc--align-bottom .mapc__inner {
    align-items: flex-end;
}

.mapc__figure {
    margin: 0;
}

.mapc__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.mapc__eyebrow {
    display: flex;
    align-items: center;
    gap: .83vw;
    margin: 0 0 1.4vw;
}

.mapc__eyebrow-dash {
    flex: 0 0 auto;
    width: 1.9vw;
    height: max(2px, .14vw);
    background: var(--mapc-ink);
}

.mapc__eyebrow-text {
    font-size: max(12px, 1.04vw);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mapc-ink);
}

.mapc__title {
    margin: 0 0 1.7vw;
    font-size: max(34px, 4.17vw);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.01em;
    color: var(--mapc-ink);
}

.mapc__text {
    max-width: 48vw;
    margin: 0 0 2.2vw;
    font-size: max(15px, 1.39vw);
    line-height: 1.7;
    color: var(--mapc-body);
}

.mapc__text p {
    margin: 0 0 1em;
}

.mapc__text p:last-child {
    margin-bottom: 0;
}

.mapc__list {
    display: flex;
    flex-direction: column;
    gap: 1.9vw;
    margin: 0 0 2.8vw;
    padding: 0;
    list-style: none;
}

.mapc__f-title {
    margin: 0 0 .55vw;
    font-size: max(18px, 1.88vw);
    font-weight: 600;
    line-height: 1.3;
    color: var(--mapc-ink);
}

.mapc__f-text {
    max-width: 30vw;
    margin: 0 0 .9vw;
    font-size: max(14px, 1.25vw);
    line-height: 1.55;
    color: var(--mapc-body);
}

.mapc__rule {
    display: block;
    width: max(40px, 4.5vw);
    height: max(2px, .14vw);
    background: var(--mapc-gold);
}

.mapc__actions {
    display: flex;
}

.mapc__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7vw;
    padding: 1.25vw 2.36vw;
    border: 0;
    border-radius: .56vw;
    background: var(--mapc-yellow);
    font-size: max(15px, 1.5vw);
    font-weight: 600;
    line-height: 1;
    color: var(--mapc-ink);
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.mapc__btn:hover,
.mapc__btn:focus {
    background: var(--mapc-ink);
    color: #fff;
    transform: translateY(-2px);
}

.mapc__btn svg {
    width: max(14px, 1.1vw);
    height: max(14px, 1.1vw);
    fill: currentColor;
}

.mapc__btn i {
    font-size: max(13px, 1vw);
    line-height: 1;
}

/* Entrance — held at frame one by assets/css/reveal.css */
@media (prefers-reduced-motion: no-preference) {

    .mapc--animated .mapc__eyebrow,
    .mapc--animated .mapc__title,
    .mapc--animated .mapc__text,
    .mapc--animated .mapc__item,
    .mapc--animated .mapc__actions {
        animation: mapc-up .7s cubic-bezier(.22, 1, .36, 1) both;
    }

    .mapc--animated .mapc__eyebrow { animation-delay: .10s; }
    .mapc--animated .mapc__title { animation-delay: .18s; }
    .mapc--animated .mapc__text { animation-delay: .26s; }
    .mapc--animated .mapc__item:nth-child(1) { animation-delay: .34s; }
    .mapc--animated .mapc__item:nth-child(2) { animation-delay: .42s; }
    .mapc--animated .mapc__item:nth-child(3) { animation-delay: .50s; }
    .mapc--animated .mapc__item:nth-child(n+4) { animation-delay: .58s; }
    .mapc--animated .mapc__actions { animation-delay: .66s; }

    .mapc--animated .mapc__media {
        animation: mapc-in .8s cubic-bezier(.22, 1, .36, 1) .06s both;
    }
}

@keyframes mapc-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

@keyframes mapc-in {
    from { opacity: 0; transform: translateX(var(--mapc-from)); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {

    .mapc {
        padding: 56px 32px;
    }

    .mapc__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .mapc--map-right .mapc__media,
    .mapc--map-right .mapc__content {
        order: 0;
    }

    .mapc__media {
        flex: 0 0 auto;
        width: min(520px, 100%);
        max-width: 100%;
        margin-inline: auto;
    }

    .mapc__eyebrow {
        gap: 10px;
        margin-bottom: 14px;
    }

    .mapc__eyebrow-dash {
        width: 24px;
    }

    .mapc__eyebrow-text {
        font-size: 13px;
    }

    .mapc__title {
        margin-bottom: 16px;
        font-size: 40px;
    }

    .mapc__text {
        max-width: none;
        margin-bottom: 24px;
        font-size: 17px;
    }

    .mapc__list {
        gap: 22px;
        margin-bottom: 28px;
    }

    .mapc__f-title {
        margin-bottom: 6px;
        font-size: 24px;
    }

    .mapc__f-text {
        max-width: none;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .mapc__rule {
        width: 44px;
        height: 2px;
    }

    .mapc__btn {
        gap: 8px;
        padding: 16px 28px;
        border-radius: 8px;
        font-size: 17px;
    }

    .mapc__btn svg {
        width: 16px;
        height: 16px;
    }

    .mapc__btn i {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    .mapc {
        padding: 40px 20px;
    }

    .mapc__inner {
        gap: 28px;
    }


    .mapc__actions {
        display: block;
    }

    .mapc__btn {
        width: 100%;
        padding: 15px 22px;
        font-size: 16px;
    }
}
