/*
 * Contact email address: keep the long mailto label on one line on phones.
 *
 * Shrink the label only. The circular icon stays 60px like the other rows.
 * Drop the leftover 20px float margin and tighten the row gap so the
 * unbroken address still fits at 320px (232px card inner width).
 *
 * New object key (20260816-icon): CloudFront caches prior CSS immutably.
 */

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

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

    #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 .contact-email-row {
        gap: 6px;
    }

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