@charset "utf-8";

/* 1. Global Page Layout & Wrapper */
.mw_loc_wide_page {
    color: #1e293b;
    padding-bottom: 90px;
}

.mw_loc_container {
    width: 100%;
    margin: 0 auto;
}

/* 2. Headline Header */
.mw_loc_header {
    text-align: center;
    margin-bottom: 60px;
}

.mw_loc_title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.45;
    color: #111827;
    margin-bottom: 20px;
    word-break: keep-all;
}

.mw_loc_title span {
    color: var(--point-color, #da251c);
}

.mw_loc_subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    word-break: keep-all;
}

/* 3. Map Card & Embed */
.mw_loc_map_card {
    background: #ffffff;
    border-radius: 8px;
    border:1px solid #e6e6e6;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
    margin-bottom: 48px;
}

.mw_loc_map_iframe_wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    background: #f1f5f9;
}

.mw_loc_map_iframe_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 4. Contact Grid */
.mw_loc_contact_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mw_loc_contact_card {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border:1px solid #e6e6e6;
}

.mw_loc_contact_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.mw_loc_card_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(218, 37, 28, 0.05);
    color: var(--point-color, #da251c);
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.mw_loc_contact_card:hover .mw_loc_card_icon {
    background: var(--point-color, #da251c);
    color: #ffffff;
}

.mw_loc_card_title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.mw_loc_card_text {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
	font-weight:600;
    word-break: keep-all;
}

.mw_loc_card_text a {
    color: #4b5563;
    font-weight: 600;
    transition: color 0.2s ease;
}

.mw_loc_card_text a:hover {
    color: var(--point-color, #da251c);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mw_loc_contact_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mw_loc_map_iframe_wrapper {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .mw_loc_title {
        font-size: 1.6rem;
        line-height: 1.35;
    }
    
    .mw_loc_subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Branch cards, contact layout and copy notification */
.mw_loc_branches_page {
    --mw-loc-ink: #24282e;
    --mw-loc-muted: #757b84;
    --mw-loc-line: #e7e9ec;
}
.mw_loc_branches_page .mw_loc_branch_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.mw_loc_branches_page .mw_loc_branch {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mw-loc-line);
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(24, 34, 47, .045);
}
.mw_loc_branches_page .mw_loc_branch_info {
    padding: 24px 32px;
}
.mw_loc_branches_page .mw_loc_branch_heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}
.mw_loc_branches_page .mw_loc_branch_heading .mw_loc_card_icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 14px;
    font-size: 28px;
}
.mw_loc_branches_page .mw_loc_branch_name {
    margin: 0;
    color: var(--mw-loc-ink);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.04em;
}
.mw_loc_branches_page .mw_loc_branch_en {
    margin: 5px 0 0;
    color: var(--mw-loc-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .16em;
}
.mw_loc_branches_page .mw_loc_branch_map {
    flex: 0 0 360px;
    height: 360px;
    overflow: hidden;
    background: #f3f5f6;
    border-top: 1px solid var(--mw-loc-line);
    border-bottom: 1px solid var(--mw-loc-line);
}
.mw_loc_branches_page .root_daum_roughmap {
    width: 100% !important;
    padding: 0;
    border: 0;
    border-radius: 0;
}
.mw_loc_branches_page .root_daum_roughmap .wrap_map {
    width: 100% !important;
    height: 360px !important;
}
.mw_loc_branches_page .root_daum_roughmap .cont,
.mw_loc_branches_page .root_daum_roughmap .wrap_controllers,
.mw_loc_branches_page .root_daum_roughmap .border1,
.mw_loc_branches_page .root_daum_roughmap .border2,
.mw_loc_branches_page .root_daum_roughmap .border3,
.mw_loc_branches_page .root_daum_roughmap .border4 { display: none; }
.mw_loc_branches_page .mw_loc_branch_actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 30px;
}
.mw_loc_branches_page .mw_loc_map_link,
.mw_loc_branches_page .mw_loc_copy_address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    margin: 0;
    padding: 2px 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}
.mw_loc_branches_page .mw_loc_map_link { color: var(--mw-loc-ink); font-weight: 600; }
.mw_loc_branches_page .mw_loc_copy_address { color: #686f78; }
.mw_loc_branches_page .mw_loc_copy_address[hidden] { display: none; }
.mw_loc_branches_page .mw_loc_branch_actions .las { font-size: 19px; }
.mw_loc_branches_page .mw_loc_map_link:hover,
.mw_loc_branches_page .mw_loc_copy_address:hover {
    text-decoration: none;
    opacity: .72;
}
.mw_loc_branches_page a:focus-visible,
.mw_loc_branches_page button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
    border-radius: 3px;
}
.mw_loc_branches_page .mw_loc_contact_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}
.mw_loc_branches_page .mw_loc_contact_card { min-width: 0; }
.mw_loc_branches_page .mw_loc_contact_card .mw_loc_card_text { overflow-wrap: anywhere; }
#mw_loc_copy_toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100% - 40px);
    margin: 0;
    padding: 17px 24px;
    border-radius: 12px;
    background: rgba(36, 40, 46, .95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: anywhere;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px));
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
#mw_loc_copy_toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}
#mw_loc_copy_toast .las { flex-shrink: 0; font-size: 23px; }
.mw_loc_clipboard_input {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
    #mw_loc_copy_toast { transition: none; }
}
@media (max-width: 1024px) {
    .mw_loc_branches_page .mw_loc_branch_grid { gap: 20px; }
    .mw_loc_branches_page .mw_loc_branch_info { padding: 22px 24px; }
    .mw_loc_branches_page .mw_loc_branch_actions { padding: 17px 24px; }
    .mw_loc_branches_page .mw_loc_contact_grid { gap: 20px; }
}
@media (max-width: 767px) {
    .mw_loc_branches_page .mw_loc_branch_grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .mw_loc_branches_page .mw_loc_branch { border-radius: 16px; }
    .mw_loc_branches_page .mw_loc_branch_name { font-size: 23px; }
    .mw_loc_branches_page .mw_loc_contact_grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
}
@media (max-width: 374px) {
    .mw_loc_branches_page .mw_loc_branch_info { padding: 23px 20px; }
    .mw_loc_branches_page .mw_loc_branch_actions { gap: 10px; padding: 16px 20px; }
    .mw_loc_branches_page .mw_loc_map_link,
    .mw_loc_branches_page .mw_loc_copy_address { font-size: 13px; }
}
