.company-office {
    background: var(--soft);
}

.office-layout {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(0, 2.35fr);
    gap: clamp(26px, 4vw, 64px);
    align-items: start;
}

.office-info h2 {
    max-width: 340px;
    margin-bottom: 25px;
}

.office-details {
    display: grid;
    gap: 16px;
    margin: 0 0 24px;
}

.office-detail {
    position: relative;
    padding-left: 32px;
}

.office-detail dt {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 11px;
}

.office-detail dt .ph {
    position: absolute;
    top: 4px;
    left: 0;
    color: var(--wine);
    font-size: 19px;
}

.office-detail dd {
    margin: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.office-detail a:hover {
    color: var(--wine);
    text-decoration: underline;
}

.office-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.office-socials .round {
    color: var(--wine);
    font-size: 11px;
    font-weight: 700;
}

.office-socials .round:hover {
    border-color: var(--wine);
}

.office-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.office-map-heading h3 {
    margin: 0;
    font: 400 clamp(23px, 2vw, 30px)/1.2 var(--serif);
}

.office-map-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.office-map-canvas {
    height: clamp(340px, 29vw, 495px);
    background: var(--paper);
    font-family: var(--ui);
}

.office-map-status {
    position: absolute;
    z-index: 1001;
    bottom: 28px;
    left: 12px;
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--muted);
    font-size: 12px;
    pointer-events: none;
}

.office-map-pin {
    display: grid;
    place-items: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--wine);
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 2px 12px #25242238;
}

.office-map-canvas .leaflet-popup-content-wrapper {
    border-radius: 9px;
}

.office-map-canvas .leaflet-popup-content {
    margin: 13px 28px 13px 14px;
    color: var(--ink);
    font-weight: 700;
}

.office-map-canvas .leaflet-control-zoom a {
    width: 34px;
    height: 34px;
    line-height: 34px;
    color: var(--wine);
}

@media (max-width: 820px) {
    .office-layout {
        grid-template-columns: 1fr;
    }

    .office-map-canvas {
        height: clamp(290px, 56vw, 390px);
    }

    .office-map-heading .text-link {
        font-size: 11px;
    }
}
