/* === Contact Layout === */

.contact-content {
    display: flex;
    justify-content: flex-start;
    margin: 6rem 0;
}

.contact-wysiwyg {
    max-width: 50%;
    margin-left: 25%;
}

.contact-wysiwyg a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.contact-wysiwyg a:hover {
    color: #8e9090;
    text-decoration: underline;
}

/* === Image + Map Section === */

.contact-layout {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    margin-bottom: 4rem;
}

.contact-layout>div {
    flex: 1;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f7f7f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-layout iframe,
.contact-layout img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

/* === Specific Map Wrapper === */

.contact-map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* === Responsive === */

@media screen and (max-width: 768px) {

    .contact-content,
    .contact-layout {
        flex-direction: column;
    }

    .contact-wysiwyg {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .contact-layout {
        padding: 0 1rem;
    }

    .contact-layout>div {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .contact-layout iframe,
    .contact-layout img {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}