/* BLOCK: Contact */

.block-contact .content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8.625rem;
}

.block-contact .form-wrapper {
    flex: 0 0 57%;
    padding: 3.75rem;
    background-color: #F3F4F7;
    border-radius: 4px;
}

.block-contact .main-content {
    flex: 1;
}

.block-contact .text-content > * {
    margin-block: 0 2.5rem;
}

.block-contact .text-content > :where(h1, h2, .h1, .h2) {
    margin-bottom: 3.125rem;
}

.block-contact .text-content > :last-child {
    margin-bottom: 0;
}

.block-contact .text-content p {
    opacity: 0.8
}

.block-contact .social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.125rem;
}

.block-contact .social-links > a {
    color: var(--c-secondary);
    font-size: 1.5rem;
    line-height: 1;
}

.block-contact .featured-location {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.875rem;
}

.block-contact .featured-location :is(.location-address, .location-contact) {
    font-size: var(--font-15);
    opacity: 0.8;
}

.block-contact .featured-location .location-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.block-contact .featured-location .location-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.block-contact .featured-location .location-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--c-tertiary);
}

.block-contact .featured-location .location-contact a {
    color: currentColor;
    text-decoration: none;
}

.block-contact .featured-location .btn:is(.tertiary, .tertiary-alt) span {
    color: var(--c-tertiary);
}

.block-contact .locations-title {
    margin-bottom: 1.875rem;
}

.block-contact .accordion {
    border-color: #DDDEE6;
}

.block-contact .ac-content {
    font-size: var(--font-15);
    opacity: 0.8;
}

.block-contact .ac-content a {
    text-decoration: none;
}

.block-contact .ac-content-inner > * {
    margin-block: 0 1.5rem;
}

.block-contact .ac-trigger {
    position: relative;
    padding-left: 1.25rem;
}

.block-contact .ac-trigger::before,
.block-contact .ac-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.5625rem;
    height: 1px;
    background-color: currentColor;
}

.block-contact .ac-trigger::before {
    transform: translateY( -50% );
}

.block-contact .ac-trigger::after {
    transform: translateY( -50% ) rotate(90deg);
}

.block-contact .ac-state:checked ~ .ac-trigger::after {
    display: none;
}

.block-contact .ac-content-inner > :last-child {
    margin-bottom: 0;
}

.block-contact .locations-wrapper {
    margin-top: 5rem;
}

@media screen and (width <= 1200px) {
    .block-contact .form-wrapper {
        flex-basis: 50%;
    }   
}

@media screen and (width <= 920px) {
    .block-contact .content-wrapper {
        gap: 2.5rem;
    }
    .block-contact .form-wrapper {
        padding-inline: 1.25rem;
    }
}

@media screen and (width <= 620px) {
    .block-contact .content-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 5rem;
    }
    .block-contact .featured-location {
        margin-top: 3.75rem;
        padding-top: 2.5rem;
        border-top: 1px solid #D1D2D7;
    }
    .block-contact .locations-wrapper {
        margin-top: 2.5rem;
    }
    .block-contact .form-wrapper {
        margin-inline: calc(-1 * var(--pad, 0px));
    }
}