/*
 * Contact email address: keep the long mailto label on one line on phones.
 *
 * Shrink the label only. Keep the envelope at 60px. Align icons and labels by
 * using the same spacing on every contact row. Reclaim width for the nowrap
 * address by disabling .clear pseudo-elements (they become extra flex items)
 * and dropping the leftover float margin on all icons below 360px.
 *
 * New object key (20260816-align): CloudFront caches prior CSS immutably.
 */

#contact .social-text.clear::before,
#contact .social-text.clear::after {
    display: none;
}

@media screen and (max-width: 550px) {
    #contact .contact-email-row {
        flex-wrap: nowrap;
        gap: 8px 12px;
        min-width: 0;
    }

    #contact .contact-email-row .email {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-right: 20px;
    }

    #contact .contact-email-row .email:hover {
        background-position: 0 -60px;
    }

    #contact .social-text h3.contact-email {
        font-size: 12px;
        overflow-wrap: normal;
        word-break: normal;
        white-space: nowrap;
        flex: 1 1 auto;
        min-width: 0;
    }
}

@media screen and (max-width: 360px) {
    #contact .social-text {
        gap: 8px;
    }

    #contact .social-text .email,
    #contact .social-text .phone,
    #contact .social-text .facebook,
    #contact .social-text .yelp,
    #contact .social-text .instagram,
    #contact .social-text .address {
        margin-right: 0;
    }

    #contact .social-text h3.contact-email {
        font-size: 11px;
        letter-spacing: -0.03em;
    }
}
