@import url(./common.css);

/* main_intro */
#main_intro {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* //main_intro */


.hero_img_wrap {
    position: relative;
    /* Match section:not(:first-child) horizontal padding in common.css */
    width: calc(100% - 2 * clamp(16px, 12vw, 350px));
    margin-top: var(--header-h, 80px);
    margin-inline: clamp(16px, 12vw, 350px);
    aspect-ratio: 4 / 1;
    overflow: hidden;
    border-radius: 16px;
    box-sizing: border-box;
}

.hero_banner_track {
    position: absolute;
    inset: 0;
}

.hero_img_wrap .hero_bg,
.hero_img_wrap video.hero_bg,
.hero_banner_slide,
.hero_banner_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero_banner_slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hero_banner_slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero_banner_slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero_banner_dots {
    position: absolute;
    left: 50%;
    bottom: clamp(10px, 1.5vw, 18px);
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.hero_banner_dots[hidden] {
    display: none;
}

.hero_banner_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero_banner_dot.active {
    background: #fff;
}

.hero_banner_list_btn {
    position: absolute;
    right: clamp(12px, 2vw, 24px);
    bottom: clamp(10px, 1.5vw, 18px);
    z-index: 4;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.55);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero_banner_list_btn[hidden] {
    display: none;
}

.hero_banner_list_btn:hover {
    background: rgba(18, 18, 18, 0.78);
    text-decoration: none;
    color: #fff;
}

.hero_search_block {
    width: min(94%, 600px);
    margin: clamp(28px, 4vw, 48px) auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(12px, 1.6vw, 16px);
    z-index: 2;
}

.hero_search {
    width: 100%;
    margin: 0;
    pointer-events: auto;
}

.hero_search_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 7px 7px 7px 20px;
    border-radius: 999px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, rgba(240, 160, 101, 0.55), rgba(203, 85, 61, 0.35)) border-box;
    box-shadow:
        0 10px 28px rgba(203, 85, 61, 0.1),
        0 2px 8px rgba(18, 18, 18, 0.04);
    box-sizing: border-box;
    border: 1.5px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero_search_wrap:focus-within {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, var(--bookink2), var(--bookink3)) border-box;
    box-shadow:
        0 12px 32px rgba(203, 85, 61, 0.16),
        0 0 0 4px rgba(240, 160, 101, 0.14);
}

.hero_search_wrap i {
    color: var(--bookink1);
    font-size: 15px;
    flex-shrink: 0;
}

.hero_search_wrap input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: clamp(13px, 1.3vw, 16px);
    line-height: 1.2;
    padding: 0;
    color: var(--black);
}

.hero_search_wrap input::placeholder {
    color: #aaa;
}

.hero_search_wrap button[type="submit"] {
    appearance: none;
    border: 0;
    border-radius: 999px;
    height: 40px;
    padding: 0 20px;
    background: linear-gradient(145deg, var(--bookink2) 0%, var(--bookink3) 100%);
    color: #fff;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(203, 85, 61, 0.28);
    transition: filter 0.2s ease, transform 0.15s ease;
}

.hero_search_wrap button[type="submit"]:hover {
    filter: brightness(1.05);
}

.hero_search_wrap button[type="submit"]:active {
    transform: scale(0.98);
}

.hero_search_suggest {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 8px;
    width: 100%;
    max-width: 100%;
    padding: 0 4px;
    overflow: hidden;
    box-sizing: border-box;
}

.hero_search_suggest_label {
    font-size: clamp(10px, 1vw, 12px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bookink1);
    flex: 0 0 auto;
    white-space: nowrap;
}

.hero_search_chips {
    display: flex;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

.hero_search_chip {
    appearance: none;
    border: 1px solid rgba(232, 126, 71, 0.28);
    border-radius: 999px;
    background: rgba(255, 248, 243, 0.95);
    color: #6a3d2a;
    font-size: clamp(11px, 1.05vw, 13px);
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 7px 14px;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.hero_search_chip:hover {
    background: linear-gradient(145deg, rgba(240, 160, 101, 0.18), rgba(203, 85, 61, 0.12));
    border-color: var(--bookink1);
    color: var(--bookink3);
}

.hero_search_chip:active {
    transform: scale(0.97);
}

.hero_search_chip[hidden] {
    display: none !important;
}

@media (max-width: 680px) {
    .hero_search_chip {
        padding: 6px 11px;
        font-size: 11px;
    }
}

/* ============================================
   CLINICS
============================================ */
#partner {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 40px);
    /* Override common section:not(:first-child) top padding (up to 170px). */
    padding-top: clamp(36px, 4.5vw, 64px);
    padding-bottom: clamp(20px, 3vw, 40px);
}

#partner .hospital_list_wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 30px);
}

#partner .hospital_info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#partner .hospital_card_link {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 22px);
    text-decoration: none;
    color: inherit;
}

#partner .hospital_card_img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8e8e8;
    border-radius: 4px;
}

#partner .hospital_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

#partner .hospital_info:hover .hospital_card_img img {
    transform: scale(1.03);
}

#partner .hospital_card_meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: clamp(8px, 1vw, 12px);
}

#partner .hospital_card_copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

#partner .hospital_logo,
#partner .hospital_logo_empty {
    width: clamp(28px, 3vw, 36px);
    height: clamp(28px, 3vw, 36px);
    border-radius: 4px;
    object-fit: cover;
    background: #e8e8e8;
    display: block;
    margin-top: 2px;
}

#partner .hospital_name {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: clamp(10px, 1vw, 13px);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--bookink1);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#partner .hospital_rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 600;
    color: #555;
}

#partner .hospital_rating .fa-star {
    color: var(--bookink1);
    font-size: 0.9em;
}

#partner .hospital_rating_source {
    font-size: 0.65em;
    font-weight: 500;
    letter-spacing: 0;
    color: #777;
    white-space: nowrap;
}

#partner .hospital_rating_empty {
    display: none;
}

@media (max-width: 640px) {
    #partner .hospital_list_wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    #partner .hospital_card_img {
        border-radius: 10px;
    }

    #partner .hospital_name {
        font-size: 9px;
        letter-spacing: 0.04em;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3;
    }

    #partner .hospital_rating {
        font-size: 10px;
    }
}

/* ============================================
   HOT ISSUES / TRAVEL
============================================ */
#korea_hot_issues,
#travel,
#travel_services {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.4vw, 32px);
}

/* 태그 ↔ 기사 간격: 공통 gap보다 타이트하게 + 빈 업데이트 줄 접기 */
#korea_hot_issues {
    gap: clamp(10px, 1.2vw, 16px);
}

#korea_hot_issues #hot_issues_updated:empty {
    display: none;
}

/* Clinics 바로 아래 — common section top padding(최대 170px) 축소 */
#travel {
    padding-top: clamp(36px, 4.5vw, 64px);
}

/* Travel Services launchpad */
#travel_services {
    gap: clamp(18px, 2.2vw, 28px);
    padding-top: clamp(36px, 4.5vw, 64px);
    padding-bottom: clamp(8px, 1.5vw, 20px);
}

.travel_services_head {
    width: 100%;
}

#travel_services h2 {
    margin: 0;
}

.travel_services_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(8px, 1.1vw, 12px);
    width: 100%;
    margin-inline: 0;
    padding: clamp(10px, 1.4vw, 16px);
    border: none;
    border-radius: 20px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 248, 246, 0.88) 55%, rgba(255, 244, 236, 0.55) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 36px rgba(26, 39, 68, 0.05);
}

.travel_services_grid:has(> .travel_status:only-child) {
    display: block;
    text-align: center;
    padding: clamp(20px, 3vw, 32px);
}

.travel_service_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 0;
    padding: clamp(10px, 1.2vw, 14px) 6px;
    text-decoration: none;
    color: var(--black);
    border: none;
    border-radius: 14px;
    background: transparent;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.travel_service_item:hover,
.travel_service_item:focus-visible {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(26, 39, 68, 0.08);
    transform: translateY(-2px);
    outline: none;
}

.travel_service_icon {
    --icon-accent: #6eb6e8;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    background: var(--icon-accent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 8px 16px color-mix(in srgb, var(--icon-accent) 32%, transparent);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease;
}

.travel_service_item:hover .travel_service_icon,
.travel_service_item:focus-visible .travel_service_icon {
    transform: scale(1.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 10px 20px color-mix(in srgb, var(--icon-accent) 40%, transparent);
}

.travel_service_label {
    max-width: 100%;
    font-size: clamp(11px, 0.95vw, 12.5px);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    line-height: 1.3;
    color: rgba(18, 18, 18, 0.72);
    transition: color 0.22s ease;
}

.travel_service_item:hover .travel_service_label,
.travel_service_item:focus-visible .travel_service_label {
    color: var(--bookink1);
}

@media (max-width: 820px) {
    .travel_services_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .travel_services_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        border-radius: 16px;
    }

    .travel_service_item {
        padding: 12px 4px;
        gap: 8px;
        border-radius: 12px;
    }

    .travel_service_icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .travel_service_item,
    .travel_service_icon,
    .travel_service_label {
        transition: none;
    }

    .travel_service_item:hover,
    .travel_service_item:focus-visible {
        transform: none;
    }

    .travel_service_item:hover .travel_service_icon,
    .travel_service_item:focus-visible .travel_service_icon {
        transform: none;
    }
}

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

.hot_issue_filter_btn {
    border: 1px solid rgba(18, 18, 18, 0.12);
    background: #fff;
    color: rgba(18, 18, 18, 0.72);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: clamp(12px, 1.05vw, 14px);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hot_issue_filter_btn:hover {
    border-color: rgba(232, 126, 71, 0.45);
    color: var(--bookink1);
}

.hot_issue_filter_btn.is-active {
    background: linear-gradient(160deg, var(--bookink2) 0%, var(--bookink3) 100%);
    border-color: transparent;
    color: #fff;
}

.hot_issues_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(14px, 1.8vw, 22px);
}

.hot_issues_grid.has_carousel {
    display: block;
}

.hot_issues_grid:has(> .travel_status:only-child) {
    display: block;
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 12px;
}

.hot_issues_carousel {
    --hot-cols: 4;
    --hot-gap: clamp(14px, 1.8vw, 22px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(10px, 1.4vw, 16px);
    align-items: stretch;
}

.hot_issues_nav {
    width: 40px;
    height: 40px;
    margin-top: auto;
    margin-bottom: auto;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 50%;
    background: #fff;
    color: var(--black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.hot_issues_nav[hidden] {
    display: none !important;
}

.hot_issues_nav i {
    pointer-events: none;
}

.hot_issues_nav:hover:not(:disabled),
.hot_issues_nav:focus-visible:not(:disabled) {
    border-color: rgba(232, 126, 71, 0.45);
    color: var(--bookink1);
}

.hot_issues_nav:disabled {
    opacity: 0.35;
    color: rgba(18, 18, 18, 0.45);
    cursor: default;
    pointer-events: none;
}

.hot_issues_viewport {
    /* Vertical pad only: room for hover lift/shadow without overlapping nav arrows. */
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 20px;
    margin: -8px 0 -20px;
    touch-action: pan-y;
    cursor: grab;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hot_issues_viewport::-webkit-scrollbar {
    display: none;
}

.hot_issues_viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.hot_issues_track {
    display: flex;
    align-items: stretch;
    gap: var(--hot-gap);
    width: max-content;
    min-width: 100%;
}

.hot_issues_track .hot_issue_card {
    flex: 0 0 var(--hot-card-width, 240px);
    width: var(--hot-card-width, 240px);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.hot_issue_card {
    min-width: 0;
}

.hot_issue_link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hot_issue_link:hover,
.hot_issue_link:focus-visible {
    border-color: rgba(232, 126, 71, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(203, 85, 61, 0.1);
}

.hot_issue_media {
    position: relative;
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(160deg, rgba(255, 241, 230, 0.95), rgba(255, 248, 241, 0.9)),
        #fff1e6;
    overflow: hidden;
}

.hot_issue_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hot_issue_media_empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(203, 85, 61, 0.45);
    font-size: clamp(22px, 2.4vw, 28px);
}

.hot_issue_body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(12px, 1.4vw, 16px);
    min-width: 0;
    flex: 1;
}

.hot_issue_title {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
    line-height: 1.45;
    min-height: calc(1.45em * 3);
    color: var(--black);
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot_issue_link:hover .hot_issue_title,
.hot_issue_link:focus-visible .hot_issue_title {
    color: var(--bookink1);
}

.hot_issue_summary {
    margin: 0;
    font-size: clamp(12px, 1vw, 13px);
    font-weight: 300;
    line-height: 1.55;
    min-height: calc(1.55em * 2);
    color: rgba(18, 18, 18, 0.58);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot_issue_meta {
    margin: auto 0 0;
    padding-top: 4px;
    font-size: clamp(11px, 0.95vw, 12px);
    font-weight: 400;
    color: rgba(18, 18, 18, 0.45);
    line-height: 1.4;
}

.travel_status {
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 300;
    color: rgba(18, 18, 18, 0.55);
    line-height: 1.7;
}

/* ============================================
   SEOUL SUBWAY MAP
============================================ */
.metro_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.metro_toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(232, 126, 71, 0.22);
    border-radius: 12px;
    background: #fff8f1;
}

.metro_toolbar button {
    min-width: 38px;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 8px;
    background: #fff;
    color: var(--black);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.metro_toolbar button:hover,
.metro_toolbar button:focus-visible {
    border-color: var(--bookink2);
    color: var(--bookink2);
}

.metro_viewport {
    width: 100%;
    height: clamp(360px, 58vw, 680px);
    overflow: auto;
    border: 1px solid rgba(232, 126, 71, 0.22);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(203, 85, 61, 0.08);
    cursor: grab;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
}

.metro_viewport.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.metro_viewport img {
    display: block;
    width: 158%;
    max-width: none;
    height: auto;
    user-select: none;
}

.metro_attribution {
    font-size: 12px;
    font-weight: 300;
    color: rgba(18, 18, 18, 0.5);
}

/* ============================================
   TRAVEL MAP (homepage 약도)
============================================ */
.travel_map_wrap {
    width: 100%;
}

.travel_map {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    line-height: 0;
    background: #f6f1e8;
    border: 1px solid rgba(18, 18, 18, 0.06);
}

.travel_map_img {
    display: block;
    width: 100%;
    height: auto;
}

.travel_map_areas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.travel_map_area_link {
    cursor: pointer;
    outline: none;
}

.travel_map_area {
    fill: transparent;
    stroke: none;
    stroke-width: 0;
    shape-rendering: geometricPrecision;
    transition: fill 0.14s ease;
    pointer-events: all;
}

.travel_map_area_link:hover .travel_map_area,
.travel_map_area_link:focus-visible .travel_map_area {
    /* deepen the same apricot region already painted on the map */
    fill: rgba(232, 150, 108, 0.38);
}

.travel_map_area_link:focus-visible {
    outline: 2px solid rgba(196, 98, 48, 0.55);
    outline-offset: 2px;
}

/* Cover hover tint on baked-in map photos; no border/shadow frame. */
.travel_map_photo {
    position: absolute;
    z-index: 3;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.travel_map_photo img {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.travel_map_pins {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
    z-index: 4;
}

.travel_map_pin {
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -100%);
    pointer-events: auto;
}

.travel_map_pin_link {
    position: relative;
    display: block;
    width: 24px;
    height: 28px;
    color: inherit;
    text-decoration: none;
    filter: drop-shadow(0 6px 12px rgba(18, 18, 18, 0.18));
    transition: transform 0.2s ease;
}

.travel_map_pin_link:hover,
.travel_map_pin_link:focus-visible {
    transform: translateY(-4px);
    outline: none;
}

.travel_map_pin_marker {
    position: absolute;
    left: 50%;
    bottom: 4.5px;
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(145deg, var(--bookink2) 0%, var(--bookink3) 100%);
    border: 2px solid #fff;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: center;
}

.travel_map_pin_marker::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
}

#travel .more_btn {
    align-self: flex-end;
}

@media (max-width: 560px) {
    .travel_map_pin_link {
        width: 20px;
        height: 24px;
    }

    .travel_map_pin_marker {
        width: 18px;
        height: 18px;
        bottom: 3.5px;
    }

    .travel_map_pin_marker::after {
        inset: 4px;
    }
}

/* ============================================
   Updated timestamp (hot issues)
============================================ */
.rates_updated {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 300;
    color: rgba(18, 18, 18, 0.5);
    min-height: 1.2em;
}

/* ============================================
   More Button (공통)
============================================ */
.more_btn {
    display: inline-block;
    align-self: flex-end;
    padding: clamp(10px, 1.2vw, 13px) clamp(22px, 3vw, 36px);
    border: 1.5px solid var(--bookink2);
    border-radius: 50px;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bookink2);
    transition: background 0.2s ease, color 0.2s ease;
}

.more_btn:hover {
    background: var(--bookink2);
    color: #fff;
}

/* ============================================
   Popup Box
============================================ */

.popup_box {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border-radius: 10px;
    width: 360px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.popup_box.hidden {
    display: none;
}

.popup_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.popup_header h3 {
    margin: 0;
    font-size: 18px;
}

.popup_close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

.popup_close:hover {
    color: #333;
}

.popup_body {
    padding: 20px;
}

.popup_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.popup_footer label {
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

/* 모바일: 팝업 중앙 겹치기 */
@media (max-width: 767px) {
    .popup_box {
        width: calc(100vw - 32px);
        max-width: 360px;
        left: 50% !important;
        transform: translateX(-50%);
        top: var(--header-h, 80px) !important;
    }

    #popup1 {
        z-index: 10001;
    }

    #popup2 {
        z-index: 10000;
    }
}

/* ============================================
   Responsive
==================================s========== */
@media (max-width: 900px) {
    #partner .hospital_list_wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero_img_wrap {
        width: calc(100% - 2 * clamp(12px, 5vw, 48px));
        margin-inline: clamp(12px, 5vw, 48px);
    }
}

@media (max-width: 480px) {
    .hero_img_wrap {
        width: calc(100% - 24px);
        margin-inline: 12px;
    }
}

@media (max-width: 680px) {
    .metro_heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hot_issues_nav {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .metro_toolbar {
        padding: 12px;
    }

    .metro_viewport {
        height: min(72vh, 560px);
    }

    #partner .hospital_list_wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero_img_wrap {
        aspect-ratio: 4 / 1;
    }
}

/* ============================================
   ABOUT BGG (server-rendered brand intro)
============================================ */
#about_bgg {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vw, 24px);
}

#about_bgg h2 {
    margin: 0;
}

.about_bgg_text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 760px;
}

.about_bgg_text p {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.7;
    color: #4a4a4a;
}

.about_bgg_links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about_bgg_links a {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid rgba(232, 126, 71, 0.28);
    border-radius: 999px;
    background: rgba(255, 248, 243, 0.95);
    color: #6a3d2a;
    font-size: clamp(12px, 1.05vw, 14px);
    font-weight: 500;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.about_bgg_links a:hover,
.about_bgg_links a:focus-visible {
    border-color: rgba(232, 126, 71, 0.6);
    background: #fff;
}
