/* Contact section repair — child theme 1.3.5 */
.contact .mes-blocks {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    width: 100%;
    margin-top: 28px;
}
.contact .mes-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.contact .mes-block a {
    display: inline-flex;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin: 0;
}
.contact .mes-block img {
    display: block;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    object-fit: contain;
}
.contact .mes-text {
    min-width: 0;
    margin: 0;
}
.contact .mes-text > p {
    margin: 8px 0 0;
    max-width: 720px;
    line-height: 1.35;
}
.contact .arbor-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 720px;
    margin: 0;
    cursor: pointer;
    line-height: 1.35;
}
.contact .arbor-contact-consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.contact .arbor-contact-consent__box {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}
.contact .arbor-contact-consent input:checked + .arbor-contact-consent__box {
    background: #ffcf4a;
    border-color: #ffcf4a;
}
.contact .arbor-contact-consent input:checked + .arbor-contact-consent__box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #1d4f7d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.contact .arbor-contact-consent input:focus-visible + .arbor-contact-consent__box {
    outline: 3px solid rgba(255, 207, 74, .45);
    outline-offset: 2px;
}
.contact .arbor-contact-consent__label,
.contact .mes-text > p,
.contact .mes-text > p a {
    color: #fff !important;
}
.contact .mes-text > p a { text-decoration: underline; }
.contact .wpcf7-submit:disabled {
    opacity: .58;
    cursor: not-allowed;
}
.contact .arbor-contact-consent.is-error .arbor-contact-consent__box {
    outline: 2px solid #ffcf4a;
    outline-offset: 2px;
}
@media (max-width: 767px) {
    .contact .mes-blocks {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 22px;
    }
    .contact .mes-block { justify-content: flex-start; }
    .contact .arbor-contact-consent,
    .contact .mes-text > p { max-width: 100%; }
}
