.tm-location-page { background: #fff; }
.tm-company-page__inner.tm-location-layout {
    display: block;
    padding-bottom: clamp(64px, 7vw, 104px);
}
.tm-location-main-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(5, 150, 105, .08), transparent 32%),
        #FFFFFF;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .05);
}
.tm-location-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}
.tm-location-section-head { margin: 0; }
.tm-location-section-head p {
    margin: 0 0 10px;
    color: #059669;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
}
.tm-location-section-head h2 {
    margin: 0;
    color: #0F172A;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.055em;
}
.tm-location-section-head span {
    display: block;
    margin-top: 16px;
    color: #64748B;
    font-size: 17px;
    line-height: 1.7;
    word-break: keep-all;
}
.tm-location-head-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.tm-location-head-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.tm-location-head-actions a:first-child {
    border-color: #0F172A;
    background: #0F172A;
    color: #FFFFFF;
}
.tm-location-head-actions a:hover {
    transform: translateY(-1px);
    border-color: #059669;
}
.tm-location-map-frame {
    overflow: hidden;
    border: 1px solid #DCE4EE;
    border-radius: 22px;
    background: #F8FAFC;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.tm-location-kakao-map {
    position: relative;
    min-height: 500px;
}
.tm-location-kakao-map .root_daum_roughmap {
    width: 100% !important;
    height: 500px !important;
}
.tm-location-kakao-map .root_daum_roughmap .wrap_map {
    width: 100% !important;
    height: 500px !important;
}
.tm-location-kakao-map .root_daum_roughmap .wrap_controllers,
.tm-location-kakao-map .root_daum_roughmap .wrap_btn_zoom { z-index: 3; }
.tm-location-main-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    align-items: stretch;
    margin-top: 24px;
}
.tm-location-detail-panel,
.tm-location-map-links {
    min-width: 0;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: rgba(248, 250, 252, .72);
}
.tm-location-detail-panel { padding: 6px 26px; }
.tm-location-info-list { margin: 0; }
.tm-location-info-list > div {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 17px 0;
    border-bottom: 1px solid #E2E8F0;
}
.tm-location-info-list > div:last-child { border-bottom: 0; }
.tm-location-info-list dt {
    margin: 0;
    color: #0F172A;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.015em;
}
.tm-location-info-list dd {
    margin: 0;
    color: #334155;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.8;
    word-break: keep-all;
}
.tm-location-info-list a { color: inherit; text-decoration: none; }
.tm-location-info-list a:hover { color: #059669; }
.tm-location-map-links {
    padding: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(5, 150, 105, .11), transparent 34%),
        #F8FAFC;
}
.tm-location-map-links h3 {
    margin: 0;
    color: #0F172A;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.035em;
}
.tm-location-map-links p {
    margin: 10px 0 20px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.65;
    word-break: keep-all;
}
.tm-location-map-actions { display: grid; gap: 10px; }
.tm-location-map-actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid #D1D5DB;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.tm-location-map-actions a:first-child {
    border-color: #0F172A;
    background: #0F172A;
    color: #FFFFFF;
}
.tm-location-map-actions a:hover {
    transform: translateY(-2px);
    border-color: #059669;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}
@media (max-width: 1180px) {
    .tm-location-card-head,
    .tm-location-main-info { grid-template-columns: 1fr; }
    .tm-location-head-actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
    .tm-location-main-card { padding: 18px; border-radius: 18px; }
    .tm-location-map-frame,
    .tm-location-detail-panel,
    .tm-location-map-links { border-radius: 14px; }
    .tm-location-kakao-map,
    .tm-location-kakao-map .root_daum_roughmap,
    .tm-location-kakao-map .root_daum_roughmap .wrap_map {
        min-height: 360px;
        height: 360px !important;
    }
    .tm-location-main-info { gap: 16px; margin-top: 16px; }
    .tm-location-detail-panel { padding: 4px 18px; }
    .tm-location-info-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 0;
    }
    .tm-location-section-head span { font-size: 15px; margin-top: 12px; }
    .tm-location-head-actions a { width: 100%; }
}
