/* Related locations: card layout and buttons matching the NECS site. */
.necs-related-locations {
    padding: 40px 0;
    background: #fff;
    color: #005377;
}
.necs-related-locations__inner {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1225px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid #dde7ec;
    border-radius: 8px;
    background: #f5f8fa;
    box-shadow: 0 8px 24px rgba(0, 83, 119, .07);
}
.necs-related-locations .necs-related-locations__heading {
    margin: 0 0 24px;
    color: #005377;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
}
.necs-related-locations .necs-related-locations__list {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 0 8px 8px 0;
    margin: 0;
    list-style: none;
}
.necs-related-locations .necs-related-locations__list > li {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    list-style: none;
    max-width: 100%;
    min-width: 0;
}
.necs-related-locations .necs-related-locations__list > li::before {
    content: none;
}
.necs-related-locations .necs-related-locations__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    min-height: 52px;
    max-width: 100%;
    padding: 14px 22px;
    border: 0;
    border-radius: 0;
    background: #005377;
    box-shadow: 7px 7px 0 rgba(0, 83, 119, .2);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color .2s ease, box-shadow .2s ease;
}
.necs-related-locations .necs-related-locations__button::after {
    content: '';
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M13 4l8 8-8 8'/%3E%3C/svg%3E");
}
.necs-related-locations .necs-related-locations__button:hover {
    background: #003d58;
    box-shadow: 7px 7px 0 rgba(0, 83, 119, .3);
    color: #fff;
    text-decoration: none;
}
.necs-related-locations .necs-related-locations__button:focus-visible {
    outline: 3px solid #009dcc;
    outline-offset: 4px;
}
@media (max-width: 600px) {
    .necs-related-locations {
        padding: 28px 0;
    }
    .necs-related-locations__inner {
        padding: 24px 18px;
    }
    .necs-related-locations .necs-related-locations__list {
        gap: 20px;
    }
    .necs-related-locations .necs-related-locations__list > li {
        flex: 1 1 180px;
    }
    .necs-related-locations .necs-related-locations__button {
        width: 100%;
        padding: 14px 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .necs-related-locations .necs-related-locations__button {
        transition: none;
    }
}
