/* ===== 기본 Reset ===== */
body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #222;
    background: #fff;
}

/* ===== 제목 (상단 여행지명) ===== */
.detail-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
}

.marker-bar {
    width: 6px;
    height: 32px;
    background-color: #0077cc;
    border-radius: 3px;
}

.detail-title h1 {
    font-size: 2rem;
    font-weight: 700;
}

/* ===== 캐러셀 전체 래퍼 (중앙 정렬 안정화) ===== */
.carousel-wrapper {
    max-width: 960px;
    margin: 0 auto 40px;
    position: relative;
}

/* ===== 캐러셀 영역 ===== */
.carousel {
    width: 100%;
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* 슬라이드 트랙 */
.carousel .track {
    display: flex;
    transition: transform 0.4s ease;
}

/* 각 슬라이드 */
.carousel .slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 이미지 */
.carousel img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

/* 네비게이션 버튼 (이미지 내부 중앙에 위치) */
.carousel .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 44px;
    text-align: center;
    z-index: 10;
    transition: background 0.2s;
}

.carousel .prev {
    left: 30px;
}

.carousel .next {
    right: 30px;
}

.carousel .nav:hover {
    background: rgba(0, 0, 0, 0.65);
}

/* ===== 소개 및 정보 컨테이너 ===== */
.detail-container {
    max-width: 960px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* 소개 제목 */
.info h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    position: relative;
}

.info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 36px;
    height: 3px;
    background: #ff6b6b;
}

/* 설명 텍스트 */
.destination-description {
    margin: 0 0 40px;
    font-size: 1rem;
}

.destination-description p {
    margin: 0;
    line-height: 1.72;
}

.destination-description p + p {
    margin-top: 0.9em;
}

/* 메타 정보 */
.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.92rem;
}

.meta span {
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 6px;
}

/* ===== 이미지 확대 ===== */
/* 클릭하면 크게 볼 수 있다는 힌트 */
.carousel .slide,
.carousel.no-image {
    position: relative;
}

.carousel .slide img,
.carousel.no-image img {
    cursor: zoom-in;
}

.carousel .slide::after,
.carousel.no-image::after {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    content: "\2922"; /* 대각 확대 화살표 */
}

.carousel .slide:hover::after,
.carousel.no-image:hover::after {
    opacity: 1;
}

/* 확대 모달 */
.image-modal {
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

/* 열렸을 때는 화면 전체를 덮는다 (top layer / 대체 경로 공통) */
.image-modal.is-open {
    position: fixed;
    inset: 0;
    display: flex;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    margin: 0;
    visibility: visible;
    opacity: 1;
}

.image-modal::backdrop {
    background: rgba(0, 0, 0, 0.82);
}

/* <dialog> 미지원 환경에서는 ::backdrop 이 없으므로 직접 어둡게 처리 */
.image-modal.is-fallback.is-open {
    z-index: 2000;
    background: rgba(0, 0, 0, 0.82);
}

.image-modal .image-modal-img {
    display: block;
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;      /* 원본 비율 유지 · 잘림 없음 */
    border-radius: 8px;
    background: #111;
}

/* 좌/우 이동 버튼 */
.image-modal .image-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.18s ease;
}

.image-modal .image-modal-nav:hover,
.image-modal .image-modal-nav:focus-visible {
    background: rgba(0, 0, 0, 0.72);
}

.image-modal .image-modal-nav.prev {
    left: 20px;
}

.image-modal .image-modal-nav.next {
    right: 20px;
}

/* 이미지가 한 장이면 이동 버튼을 감춘다 */
.image-modal.is-single .image-modal-nav {
    display: none;
}

.image-modal .image-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.image-modal .image-modal-close:hover,
.image-modal .image-modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.32);
}

@media (max-width: 600px) {
    .image-modal .image-modal-img {
        max-width: 94vw;
        max-height: 78vh;
    }

    .image-modal .image-modal-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 23px;
    }

    .image-modal .image-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .image-modal .image-modal-nav.prev {
        left: 10px;
    }

    .image-modal .image-modal-nav.next {
        right: 10px;
    }

    .carousel .slide::after,
    .carousel.no-image::after {
        right: 10px;
        bottom: 10px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel .slide::after,
    .carousel.no-image::after,
    .image-modal .image-modal-close {
        transition: none;
    }
}

/* ===== 반응형 대응 ===== */
@media (max-width: 600px) {
    .carousel-wrapper {
        padding: 0 10px;
    }

    .carousel img {
        max-height: 240px;
    }

    .carousel .prev {
        left: 8px;
    }

    .carousel .next {
        right: 8px;
    }

    .detail-title h1 {
        font-size: 2rem;
    }

    .detail-container {
        margin: 32px auto;
    }
}


.destination-hero {
    max-width: 960px;
    margin: 70px auto 30px;
    padding: 0 20px;
}

.breadcrumb {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 4px;
}

.destination-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.meta-icons {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #555;
}

.meta-icons img {
    width: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

/* 추가정보  */
.detail-info-block ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
    background: #fff;
    padding: 32px 28px 26px 28px;
    border-radius: 18px;
    box-shadow: 0 1px 12px rgba(90,110,140,0.06);
    border: 1.5px solid #e9eaf0;
    margin-bottom: 38px;
}

.detail-info-block li {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: #262a3b;
    font-weight: 400;
    padding: 7px 0;
    border-bottom: 1px solid #f2f3f6;
    line-height: 1.5;
    gap: 10px;
}

.detail-info-block li:last-child {
    border-bottom: none;
}

.detail-info-block .info-label {
    min-width: 92px;
    font-weight: 600;
    color: #3b4a8d;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    margin-right: 8px;
    font-size: 1.08em;
}

.detail-info-block li > span,
.detail-info-block li > a {
    color: #27303c;
    font-weight: 500;
    word-break: break-all;
    line-height: 1.7;
}

.detail-info-block li > a {
    text-decoration: underline dotted;
    color: #3666b3;
    transition: color 0.12s;
}
.detail-info-block li > a:hover { color: #1346a6; }

.detail-info-block h2 {
    margin-bottom: 17px;
    font-size: 1.15rem;
    color: #243249;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-bottom: 2px solid #e3e6ef;
    padding-bottom: 7px;
    background: none;
}
@media (max-width: 600px) {
    .detail-info-block ul { padding: 18px 7px 13px 7px; }
    .detail-info-block li { font-size: 0.97rem; }
    .detail-info-block .info-label { min-width: 77px; font-size: 0.99em; }
}


/*
.detail-info-block ul li,
.attraction-info ul li,
.accommodation-info ul li,
.restaurant-info ul li,
.shop-info ul li,
.activity-info ul li {
    word-break: break-all;       !* 영어, 한글 상관없이 줄바꿈 *!
    white-space: pre-line;       !* \n 등 줄바꿈 문자 인식, 자동 줄바꿈 *!
    max-width: 460px;            !* li 한 줄 최대폭(레이아웃에 맞게 조정) *!
    overflow-wrap: break-word;
    !* 필요시 min-width, width 등 조정 *!
}*/
/* ───── 타입별 상세정보 카드 (2열 정보 그리드) ─────
   관광명소에서 시작한 디자인이며 숙소/맛집·카페/액티비티/상점이 함께 쓴다. */
.type-info-block h2 {
    margin-bottom: 17px;
    padding-bottom: 7px;
    border-bottom: 2px solid #e3e6ef;
    color: #243249;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.type-info-block .info-card {
    margin-bottom: 38px;
    padding: 18px 22px;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    background: #fff;
}

.type-info-block .info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 24px;
    margin: 0;
}

/* 아이콘 + 라벨 + 값을 하나의 컴팩트한 블록으로 (표처럼 보이지 않게 구분선 없음) */
.type-info-block .info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 8px 0;
}

.type-info-block .info-item-icon {
    display: flex;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    align-items: center;
    justify-content: center;
    color: #6b7686;
}

.type-info-block .info-item-icon svg {
    width: 16px;
    height: 16px;
}

.type-info-block .info-item-text {
    min-width: 0;
}

.type-info-block .info-item-label {
    margin: 0;
    color: #6b7686;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.type-info-block .info-item-value {
    margin: 1px 0 0;
    overflow-wrap: break-word;
    color: #27303c;
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.45;
    white-space: pre-line;
}

/* 값이 여러 요소로 구성된 항목(주차/홈페이지)은 소스 들여쓰기가 줄바꿈으로 보이면 안 된다 */
.type-info-block .info-item-value-inline {
    white-space: normal;
}

.type-info-block .info-item-tel {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

/* 긴 URL 대신 가벼운 강조 텍스트 링크 */
.type-info-block .info-item-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #2f6f59;
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
}

.type-info-block .info-item-link:hover,
.type-info-block .info-item-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.type-info-block .info-item-link-arrow {
    font-size: 0.85em;
}

/* 긴 안내문: 일반 정보와 분리된 카드 하단 가로 전체 영역 */
.type-info-block .info-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 10px;
    background: #f8f9fb;
}

.type-info-block .info-note-label {
    margin-bottom: 6px;
    color: #6b7686;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.type-info-block .info-note-text {
    overflow-wrap: break-word;
    color: #3b4653;
    font-size: 0.92rem;
    line-height: 1.7;
}

@media (max-width: 720px) {
    .type-info-block .info-card {
        padding: 16px 15px;
    }

    .type-info-block .info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .type-info-block .info-note {
        margin-top: 16px;
        padding: 14px 14px;
    }
}

/* 아래 블록은 사용하지 않는 옛 편의시설 카드형 스타일 (기존과 동일하게 주석 처리 유지) */
/* 편의시설 카드형 */
/*
.amenity-row {
    width: 100%;
    margin: 28px 0 20px 0;
}

.amenities-title {
    font-size: 1.02rem;
    font-weight: 600;
    color: #383942;
    margin-bottom: 8px;
    margin-left: 3px;
    letter-spacing: 0.01em;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));  !* 1줄 최대 6~8개, 넘치면 2줄 *!
    gap: 10px 18px;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background: none;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f7f9fd;
    border-radius: 9px;
    padding: 2.5px 12px 2.5px 6px;
    min-width: 0;
    font-size: 0.76rem;
    color: #7a7e91;
    border: 1px solid #f0f1f6;
    white-space: nowrap;
    font-weight: 400;
    box-shadow: none;
    transition: background 0.14s;

}

.amenity-icon {
    width: 30px;
    height: 30px;
    margin-right: 3px;
    filter: grayscale(0.07) brightness(0.97);
    flex-shrink: 0;
}

.amenities-list span {
    font-size: 0.72rem;
    color: #96a0b2;
    font-weight: 400;
    margin-left: 1.5px;
    letter-spacing: -0.01em;
    max-width: 70px;           !* ✅ 글자 최대폭 *!

}

.amenities-list li:hover {
    background: #f2f5fa;
    color: #344566;
}

!* 모바일: 한 줄에 3~4개씩 *!
@media (max-width: 700px) {
    .amenity-row {
        margin: 14px 0 18px 0;
    }
    .amenities-title {
        font-size: 0.93rem;
        margin-bottom: 5px;
        margin-left: 1px;
    }
    .amenities-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px 8px;
    }
    .amenity-icon {
        width: 30px;
        height: 30px;
        margin-right: 2px;
    }
    .amenities-list li {
        font-size: 0.61rem;
        padding: 2px 7px 2px 4px;
    }
    .amenities-list span {
        font-size: 0.61rem;
    }
}
*/

/* === 편의시설 한 줄 아이콘만, 툴팁(hover) === */
.amenity-row {
    margin: 18px 0 28px 0;
}

.amenities-title {
    font-size: 0.97rem;
    font-weight: 500;
    color: #45474f;
    min-width: 52px;
    margin-right: 16px;
    flex-shrink: 0;
    letter-spacing: 0.01em;
    display: inline-block;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;              /* 2줄까지 자동 랩 */
    gap: 12px;                    /* 간격은 gap 하나로만 관리 */
    align-items: center;
    overflow-x: visible;
    padding: 0;
    margin: 0;
    list-style: none;
    width: auto;
}

.amenities-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 원형 배경 */
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 50%;
    border: 1.5px solid #e9eaf0;
    box-shadow: 0 1px 4px rgba(100,120,160,0.08);
    margin: 0;
    transition: background 0.12s, box-shadow 0.12s;
    position: relative;
}

/* 아이콘 자체 */
.amenity-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0;
    display: block;
}
.amenities-list li:hover {
    background: #f1f5fa;
    box-shadow: 0 3px 18px rgba(120,150,200,0.13);
}
.amenities-list li:active .amenity-icon {
    transform: scale(0.95);
}

/* 이름은 숨기기(접근성 위해 screen-reader only 처리) */
.amenities-list span {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    white-space: nowrap;
}


/* 툴팁 */
.amenity-tooltip {
    position: fixed;
    z-index: 9999;
    background: #222;
    color: #fff;
    padding: 5px 13px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 400;
    pointer-events: none;
    box-shadow: 0 2px 14px 0 rgba(40,60,80,0.13);
    display: none;
    transition: opacity 0.1s;
    opacity: 0.93;
}

/* 여행지 추천 — 상세 페이지의 다음 탐색 섹션 */
.similar-destinations {
    margin: 72px 0 56px; /* 아래쪽은 footer 와의 간격 */
    padding: 56px 0 64px;
    border-top: 1px solid #eceef0;
    background: #f8f9fb; /* 본문과 자연스럽게 구분되는 아주 연한 오프화이트 */
}

.similar-destinations .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.similar-destinations-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.similar-destinations-title {
    margin: 0;
    min-width: 0;
    color: #1e2939;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.similar-destinations-more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    color: #5b6676;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s ease;
}

.similar-destinations-more:hover,
.similar-destinations-more:focus-visible {
    color: #1e2939;
}

.similar-destinations-more-arrow {
    transition: transform .18s ease;
}

.similar-destinations-more:hover .similar-destinations-more-arrow {
    transform: translateX(2px);
}

/* 데스크톱 4열 */
.similar-destination-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.similar-destination-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.similar-destination-card:hover {
    border-color: #e0e4ea;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.07);
    transform: translateY(-2px);
}

/* 이미지가 카드의 주인공이 되도록 */
.similar-destination-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef1f5;
}

.similar-destination-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.similar-destination-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.similar-destination-card:hover .similar-destination-thumbnail {
    transform: scale(1.03);
}

.similar-destination-body {
    display: block;
    padding: 12px 14px 14px;
    color: inherit;
    text-decoration: none;
}

.similar-destination-name {
    margin: 0;
    overflow: hidden;
    color: #1e2939;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-destination-region {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    margin: 5px 0 0;
    color: #8c94a3;
    font-size: 0.82rem;
    line-height: 1.45;
}

.similar-destination-region span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-destination-region-icon {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    object-fit: contain;
    opacity: .6;
}

.similar-destination-card a {
    text-decoration: none !important;
    color: inherit;
}

/* 북마크: 이미지 우상단 오버레이 (상태 토글은 bookmark.js 기존 로직 그대로) */
.similar-destination-card .similar-destination-bookmark {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(30, 41, 59, 0.16);
    transition: background-color .18s ease;
}

.similar-destination-card .similar-destination-bookmark:hover,
.similar-destination-card .similar-destination-bookmark:focus-visible {
    background: #fff;
}

.similar-destination-card .similar-destination-bookmark img {
    width: 19px;
    height: 19px;
}

@media (max-width: 1024px) {
    .similar-destinations {
        padding: 44px 0 52px;
    }

    .similar-destination-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 22px;
    }
}

@media (max-width: 600px) {
    .similar-destinations {
        margin: 52px 0 40px;
        padding: 36px 0 44px;
    }

    .similar-destinations-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

    .similar-destinations-title {
        font-size: 1.1rem;
    }

    .similar-destinations-more {
        font-size: 0.84rem;
    }

    .similar-destination-list {
        gap: 18px 14px;
    }

    .similar-destination-body {
        padding: 10px 12px 12px;
    }

    .similar-destination-name {
        font-size: 0.94rem;
    }

    .similar-destination-region {
        font-size: 0.78rem;
    }

    .similar-destination-card .similar-destination-bookmark {
        top: 6px;
        right: 6px;
        width: 30px;
        height: 30px;
    }

    .similar-destination-card .similar-destination-bookmark img {
        width: 17px;
        height: 17px;
    }
}


.bookmark-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.14s;
}

.bookmark-icon img {
    width: 32px;
    height: 32px;
    display: block;
    background: none;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}

.bookmark-icon:hover img,
.bookmark-icon:focus img {
    transform: scale(1.11);
}

.bookmark-floating {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.region-path-link {
    color: #222;
    text-decoration: none;    /* 밑줄 제거 */
    cursor: pointer;
    font-weight: 600;         /* 살짝 또렷하게 (옵션) */
    transition: color 0.15s;
}
.region-path-link:hover {
    color: #005cc8;           /* 마우스 올릴 때만 색 바꾸고 싶으면 */
    text-decoration: underline; /* (옵션) 호버시에만 밑줄 */
}

/* 해외 지도(Maps Embed API): 기존 #map 과 같은 크기/여백 */
.map-embed {
    display: block;
    width: 100%;
    height: 350px;
    margin-top: 20px;
    border: 0;
}

/* 지도 아래 작은 외부 링크 */
.map-external-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    color: #5b6676;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s ease;
}

.map-external-link:hover,
.map-external-link:focus-visible {
    color: #1e2939;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.map-external-link-arrow {
    font-size: 0.85em;
}

/* 키/좌표가 없어 지도를 만들 수 없을 때 */
.map-unavailable {
    margin-top: 20px;
    padding: 22px 18px;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    background: #f8f9fb;
    color: #6b7686;
    font-size: 0.93rem;
    text-align: center;
}

@media (max-width: 600px) {
    .map-embed {
        height: 260px;
    }
}
