/* Shared contact details for the public website and redesign preview. */
.website-footer-contact {
    min-width: 0;
}

.website-footer-contact h2 {
    margin: 0 0 1rem;
    color: var(--dark);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: normal;
}

.website-footer-contact-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 0;
}

.website-footer-contact-details > div {
    min-width: 0;
}

.website-footer-contact-details dt {
    margin-bottom: .125rem;
    color: var(--gray-700);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.website-footer-contact-details dd,
.website-footer-contact-details address {
    margin: 0;
    color: var(--gray-700);
    font-size: .875rem;
    font-style: normal;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.website-footer-contact-details a {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--gray-300);
    text-underline-offset: 4px;
}

.footer-address-line {
    display: block;
}

.website-footer-contact-details a:hover {
    color: var(--red-dark);
    text-decoration-color: currentColor;
}

.website-footer-contact-details a:focus-visible {
    outline: 2px solid var(--red-dark);
    outline-offset: 5px;
    border-radius: 2px;
}

/* Match the redesign's compact navigation typography. */
.site-footer .website-footer-contact h2 {
    font-size: .78rem;
    margin-bottom: 20px;
}

.site-footer .website-footer-contact-details a {
    padding: 0;
    font-size: inherit;
}

@media (max-width: 1100px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .website-footer-contact {
        grid-column: 1 / -1;
    }
}
