.sg-location-wrapper {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: stretch;
}

.sg-box-text,
.sg-box-map {
    min-height: clamp(320px, 52vw, 520px);
    min-width: 0;
}

.sg-box-text {
    padding: clamp(18px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 2px;
}

.sg-heading {
    font-size: clamp(1.7rem, 4.8vw, 3.4rem);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.sg-divider {
    width: 84px;
    height: 1px;
    margin: 22px 0 24px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.sg-address {
    margin-bottom: 24px;
    font-size: clamp(0.94rem, 2.2vw, 1.04rem);
    line-height: 1.72;
}

.sg-contact-info p {
    margin-bottom: 12px;
    font-size: clamp(0.9rem, 2vw, 0.96rem);
    color: var(--muted);
}

.sg-contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.sg-contact-info a:hover {
    text-decoration: underline;
}

.office-status-card {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(20, 36, 45, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 233, 0.88));
    box-shadow: 0 16px 34px rgba(20, 36, 45, 0.08);
}

.office-status-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.office-status-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.office-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #7f8b91;
    box-shadow: 0 0 0 6px rgba(127, 139, 145, 0.14);
}

.office-status-card.is-open .office-status-dot {
    background: #257a4a;
    box-shadow: 0 0 0 6px rgba(37, 122, 74, 0.16);
}

.office-status-card.is-closed .office-status-dot {
    background: #9c3f34;
    box-shadow: 0 0 0 6px rgba(156, 63, 52, 0.14);
}

.office-status-card.is-closing-soon .office-status-dot {
    background: #bb7a18;
    box-shadow: 0 0 0 6px rgba(187, 122, 24, 0.16);
}

.office-status-text,
.office-status-detail {
    margin: 0;
}

.office-status-text {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    font-weight: 700;
    color: var(--text);
}

.office-status-detail {
    margin-top: 8px;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--muted);
}

.sg-parking {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(20, 36, 45, 0.1);
}

.sg-p-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(58, 99, 116, 0.3);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}

.sg-parking p {
    font-size: clamp(0.86rem, 1.9vw, 0.92rem);
    line-height: 1.64;
}

.sg-box-map {
    padding: 12px;
    border-radius: 2px;
}

.sg-box-map iframe {
    width: 100%;
    height: 100%;
}

.sg-box-map iframe {
    display: block;
    border: 0;
    filter: none;
}

@media (max-width: 980px) {
    .sg-location-wrapper {
        grid-template-columns: 1fr;
    }

    .sg-box-text,
    .sg-box-map {
        min-height: auto;
    }

    .sg-box-map {
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .sg-box-text {
        padding: 18px 16px;
    }

    .sg-parking {
        gap: 10px;
    }

    .office-status-card {
        padding: 16px;
    }

    .sg-p-icon {
        width: 28px;
        height: 28px;
    }

    .sg-box-map {
        padding: 10px;
        min-height: 300px;
    }
}

@media (max-width: 420px) {
    .sg-location-wrapper {
        gap: 12px;
    }

    .sg-divider {
        width: 56px;
        margin: 16px 0 18px;
    }

    .office-status-main {
        align-items: flex-start;
    }
}
