/* Editable direct-contact block on the free GEO diagnosis page. */
.geo-brand-contact-methods {
    container: geo-contact / inline-size;
    display: grid;
    gap: 18px;
    margin: 0 0 26px;
    padding: 22px;
    border: 1px solid #d6e5ec;
    border-radius: 18px;
    background: linear-gradient(135deg, #f1faf7 0%, #f5f9fc 100%);
}
.geo-brand-contact-heading .diagnosis-kicker {
    margin: 0 0 8px;
}
.geo-brand-contact-heading h3 {
    margin: 0;
    color: #173f5b;
    font-size: 20px;
    line-height: 1.4;
}
.geo-brand-contact-heading > p:not(.diagnosis-kicker) {
    margin: 7px 0 0;
    color: #66839a;
    font-size: 13px;
    line-height: 1.7;
}
.geo-brand-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 12px;
}
.geo-brand-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 112px;
    padding: 15px;
    border: 1px solid #dce8ee;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
}
.geo-brand-contact-card-wechat {
    align-items: center;
}
.geo-brand-contact-qr-wrap {
    display: grid;
    flex: 0 0 116px;
    width: 116px;
    height: 116px;
    place-items: center;
    padding: 7px;
    border: 1px solid #e5edf1;
    border-radius: 10px;
    background: #fff;
}
.geo-brand-contact-qr {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.geo-brand-contact-copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}
.geo-brand-contact-copy strong {
    color: #174360;
    font-size: 15px;
    font-weight: 700;
}
.geo-brand-contact-copy > span {
    color: #6a8498;
    font-size: 12px;
    line-height: 1.6;
}
.geo-brand-contact-copy .geo-brand-contact-detail {
    color: #0b887c;
    overflow-wrap: anywhere;
    font-weight: 600;
}
.geo-brand-contact-icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #e9f6f2;
    color: #079b83;
    font-size: 25px;
}
.geo-brand-contact-phone-link {
    width: fit-content;
    color: #087f76;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.geo-brand-contact-phone-link:hover,
.geo-brand-contact-phone-link:focus-visible {
    color: #075e59;
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 640px) {
    .geo-brand-contact-methods {
        gap: 14px;
        margin-bottom: 20px;
        padding: 17px;
        border-radius: 15px;
    }
    .geo-brand-contact-heading h3 {
        font-size: 18px;
    }
    .geo-brand-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .geo-brand-contact-card {
        padding: 13px;
    }
    .geo-brand-contact-qr-wrap {
        flex-basis: 108px;
        width: 108px;
        height: 108px;
    }
}
@media (max-width: 380px) {
    .geo-brand-contact-card {
        gap: 11px;
        padding: 11px;
    }
    .geo-brand-contact-qr-wrap {
        flex-basis: 92px;
        width: 92px;
        height: 92px;
    }
}


/* Adapt the contact component to its available column width, not only the viewport. */
@container geo-contact (max-width: 640px) {
    .geo-brand-contact-methods {
        gap: 14px;
        margin-bottom: 20px;
        padding: 17px;
        border-radius: 15px;
    }
    .geo-brand-contact-heading h3 {
        font-size: 18px;
    }
    .geo-brand-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .geo-brand-contact-card {
        padding: 13px;
    }
    .geo-brand-contact-qr-wrap {
        flex-basis: 108px;
        width: 108px;
        height: 108px;
    }
}

@container geo-contact (max-width: 380px) {
    .geo-brand-contact-card {
        gap: 11px;
        padding: 11px;
    }
    .geo-brand-contact-qr-wrap {
        flex-basis: 92px;
        width: 92px;
        height: 92px;
    }
}


/* Sprint 3.1 readability: contact information should be as clear as the form. */
.geo-brand-contact-heading h3{
    font-size:22px;
}
.geo-brand-contact-heading>p:not(.diagnosis-kicker){
    font-size:14px;
    line-height:1.8;
}
.geo-brand-contact-copy strong{
    font-size:16px;
    line-height:1.5;
}
.geo-brand-contact-copy>span{
    font-size:14px;
    line-height:1.75;
}
.geo-brand-contact-phone-link{
    font-size:20px;
}
@media(max-width:640px){
    .geo-brand-contact-heading h3{
        font-size:20px;
    }
    .geo-brand-contact-copy>span{
        font-size:13px;
    }
    .geo-brand-contact-phone-link{
        font-size:18px;
    }
}
