/**
 * Our Offices section (Page Section).
 * Breakpoints: tablet 768px, desktop 1024px.
 */

.offices-section {
    position: relative;
    background: #0d0d0d;
    color: #fff;
    overflow: hidden;
}

.offices-section__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: var(--offices-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.offices-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.75);
    pointer-events: none;
}

.offices-section__container {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .offices-section__container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .offices-section__container {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.offices-section__title {
    font-family: "times-new-roman", "Times New Roman", Times, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin: 0 0 2.5rem;
    color: #fff;
}

.offices-section__grid {
    display: grid;
    gap: 2.5rem 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .offices-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .offices-section__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 2.5rem;
    }
}

.offices-section__column {
    max-width: 20rem;
}

.offices-section__office-name {
    font-family: "times-new-roman", "Times New Roman", Times, serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin: 0 0 1.25rem;
    color: #fff;
}

.offices-section__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.5rem;
}

.offices-section__address,
.offices-section__contact {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 1.25rem;
}

.offices-section__contact:last-child {
    margin-bottom: 0;
}

.offices-section__contact-row {
    display: flex;
    gap: 0.5rem;
}

.offices-section__contact-row + .offices-section__contact-row {
    margin-top: 0.25rem;
}

.offices-section__contact-prefix {
    flex-shrink: 0;
    width: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.offices-section__contact a {
    color: #fff;
    text-decoration: none;
}

.offices-section__contact a:hover {
    text-decoration: underline;
}
