/* Contact page only. Keep the original DIL theme elsewhere. */
.m2c-contact-page {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: 2.5rem;
    align-items: start;
}
.m2c-contact-details { padding-top: .25rem; }
.m2c-contact-details address {
    font-size: 1.125rem;
    line-height: 1.7;
    font-style: normal;
}
.m2c-contact-details strong {
    display: inline-block;
    max-width: 28ch;
    margin-bottom: .7rem;
    font-weight: 500;
    font-family: Apercu, sans-serif;
    font-size: 1.35rem;
    line-height: 1.3;
}
.m2c-contact-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #292929;
    color: #fff;
    border: 1px solid #292929;
    border-top: 3px solid var(--wp--preset--color--dil-mint);
    border-radius: 0;
}
.m2c-contact-card .m2c-contact-card-label {
    margin: 0 0 .4rem;
    color: #d2d2d2;
    font-size: .875rem;
    line-height: 1.5;
}
.m2c-contact-card h2 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: 1.625rem;
    line-height: 1.2;
}
.m2c-contact-links { display: grid; gap: .4rem; }
.m2c-contact-links a {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 44px;
    font-size: 1rem;
    line-height: 1.5;
}
.m2c-contact-links a span { min-width: 0; }
.m2c-contact-links img { display: block; flex: 0 0 20px; width: 20px; height: 20px; }
.m2c-contact-page a { color: #007665; text-underline-offset: .2em; overflow-wrap: anywhere; }
.m2c-contact-card a { color: #87dfcf; }
.m2c-contact-card img { filter: brightness(0) invert(1); }
#m2c-contact-map {
    width: 100%;
    height: 440px;
    background: #e6e9e6;
    z-index: 0;
    font-family: Inter, sans-serif;
}
.m2c-contact-page .leaflet-control-attribution { font-size: .75rem; line-height: 1.5; }
.m2c-contact-page .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: #292929; }
.m2c-contact-page .leaflet-popup-content { font-size: .875rem; line-height: 1.5; }
@media (max-width: 782px) {
    .m2c-contact-page { grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem; }
    #m2c-contact-map { height: 340px; }
}
