/* =========================================================
   Contact Details Section
   ========================================================= */

.contact-details-section {
    margin: 8px 0;
}

.contact-details-info > h2::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f2bb";
    margin-right: 10px;
    color: var(--mp-blue);
}

.contact-section-heading.office-location-heading::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f279";
    margin-right: 10px;
    color: var(--mp-blue);
}

.contact-section-heading {
    margin: 0 0 18px;
    padding-bottom: 8px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid var(--mp-blue);
}

.contact-details-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    
    background: #f4f8fb;
    padding: 20px;
    border-top: 4px solid var(--mp-blue);
    border-bottom: 1px solid #d8e4ec;
}

.contact-details-info {
    flex: 1 1 auto;
    min-width: 0;
}

.contact-company-name {
    margin: 0 0 18px;
    font-size: 2rem;
    font-weight: 700;
    color: #005c99;
}

.contact-company-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-detail-item {
  	margin-left: 14px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
    border-bottom: 1px solid #e2e5e8;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-detail-item strong {
    display: inline-block;
    min-width: 95px;
    margin-right: 0.35rem;
}

.contact-detail-icon {
    color: #178A8A;
    margin-right: 0.5rem;
    font-size:1.1em;
    width: 1.2em;
    text-align: center;
}

/* =========================================================
   ADDRESS DISPLAY OPTION 1
   Always stacked on desktop + tablet + mobile
   ========================================================= */


.contact-address-street,
.contact-address-city-state {
    display: block;
    margin-left: 1.55em;
    white-space: nowrap;
}

.contact-address-street {
    margin-top: 2px;
}

.contact-address-separator {
    display: none;
}



/* =========================================================
   ADDRESS DISPLAY OPTION 2
   Inline normally, stacked only on narrow mobile screens
   ========================================================= */

/*
.contact-address-street,
.contact-address-city-state {
    white-space: nowrap;
}

@media (max-width: 400px) {

    .contact-address-street,
    .contact-address-city-state {
        display: block;
        margin-left: 1.55em;
        white-space: nowrap;
    }

    .contact-address-street {
        margin-top: 2px;
    }

    .contact-address-separator {
        display: none;
    }
}
*/


/* =========================================================
   Contact Map
   ========================================================= */

.contact-details-map {
    flex: 0 0 450px;
    max-width: 450px;
    min-width: 0;
}

.contact-details-map img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.contact-map-directions {
    margin: 1rem 0 0;
}

.contact-map-directions a {
    font-weight: 600;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 992px) {

    .contact-details-wrapper {
        display: block;
    }

    .contact-details-info {
        width: 100%;
    }

    .contact-details-map {
        width: 100%;
        max-width: 450px;
        margin: 36px 0 0;
    }
}


/* =========================================================
   Mobile
   ========================================================= */

/*@media (max-width: 768px) {

    .contact-details-map--desktop {
        display: none;
    }
}*/

@media (max-width: 600px) {
    .contact-detail-item {
        margin-left: 0;
    }
}



@media (max-width: 400px) {

    .contact-detail-item > a,
    .contact-detail-item > span[itemprop="openingHours"] {
        display: block;
        margin-left: 1.55em;
        margin-top: 0.2rem;
    }

 .contact-address-street,
    .contact-address-city-state {
        display: block;
        margin-left: 1.55em;
    }

    .contact-address-street {
        margin-top: 0.2rem;
    }

    .contact-address-separator {
        display: none;
    }
}

/* Disclaimer spacing */
.mpr-contact-form #edit-processed-text {
    margin-top: -1rem;
    margin-bottom: -1rem;
}