/* 🌟 글로벌 공통 컬러 변수 */
:root {
    --navy-deep: #ffffff;
    --navy-light: #f3f7ff;
    --gold-bright: #1554d1;
    --gold-dark: #1049be;
    --text-light: #172033;
    --text-muted: #667085;
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f7faff;
    --border-color: #e7eaf0;
    --mint: #1554d1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { -webkit-user-select: none; user-select: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }

/* 페이지마다 세로 스크롤바 유무가 달라도 헤더가 좌우로 움직이지 않게 합니다. */
html { scrollbar-gutter: stable; }

body { 
    font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif; 
    background: #fff; 
    color: var(--text-light); 
    line-height: 1.6; 
}

/* 🧭 상단 헤더 */
header { 
    background: rgba(255, 255, 255, 0.97); 
    border-bottom: 1px solid var(--border-color); 
    padding: 18px max(5vw, 32px); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.logo { 
    text-decoration: none; 
    white-space: nowrap; 
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo > img {
    display: block;
    width: 285px;
    height: 66px;
    object-fit: contain;
    object-position: left center;
}

.brand-lockup { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; }
.brand-wordmark { color: #bf1534; font-family: 'Noto Serif KR', 'Batang', Georgia, serif; font-size: 2.12rem; font-weight: 800; letter-spacing: -2.2px; line-height: 1; white-space: nowrap; }
.brand-flower { display: block; width: 35px; height: 35px; flex: 0 0 35px; object-fit: contain; }

.nav-menu { 
    display: flex; 
    gap: 16px; 
    align-items: center; 
    min-height: 34px;
}

.nav-menu > .dropdown {
    display: flex;
    align-items: center;
    min-height: 34px;
}

.nav-menu a,
.nav-menu .dropdown-btn { 
    text-decoration: none !important; 
    color: var(--text-light) !important; 
    font-weight: 700; 
    font-size: 14.5px; 
    line-height: 20px;
    min-height: 34px;
    /* 글자의 크기·굵기에는 전환을 적용하지 않아 메뉴 선택 시 흔들리지 않게 합니다. */
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap; 
    display: inline-flex;
    align-items: center;
    transform: none !important;
    font-synthesis: none;
    cursor: pointer;
}

.nav-menu a:hover, 
.nav-menu a:focus,
.nav-menu a:active,
.nav-menu a.active { 
    color: var(--gold-bright) !important; 
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    transform: none !important;
}

/* 상단 메뉴의 하위 목록은 기본적으로 숨기고, 선택한 메뉴에서만 표시합니다. */
.dropdown { position: relative; }
.dropdown-btn::after { content: '⌄'; margin-left: 5px; font-size: 0.85em; }
.megamenu-content {
    display: none;
    position: absolute;
    /* 메뉴와 목록 사이를 붙여 마우스를 아래로 옮겨도 닫히지 않습니다. */
    top: 100%;
    left: 0;
    z-index: 1100;
    width: max-content;
    min-width: 270px;
    max-width: min(680px, calc(100vw - 32px));
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(19, 41, 75, 0.12);
}
.dropdown.is-open .megamenu-content { display: block; }
@media (hover: hover) and (min-width: 769px) {
    .dropdown:hover .megamenu-content { display: block; }
}
.megamenu-title { color: var(--gold-bright); font-weight: 700; margin-bottom: 10px; }
.global-region-grid, .global-type-grid, .global-hometie-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 6px;
}
.global-type-grid { grid-template-columns: repeat(4, minmax(88px, 1fr)); }
.megamenu-content .global-region-grid a,
.megamenu-content .global-type-grid a,
.megamenu-content .global-hometie-grid a {
    padding: 7px 9px;
    border-radius: 4px;
    color: var(--text-light) !important;
}
.megamenu-content a:hover { background: #f3f7ff; }

/* PC에서 오른쪽 메뉴도 화면 안에서 열리도록 고정합니다. */
@media (min-width: 769px) {
    .nav-menu > .dropdown:nth-last-child(-n + 2) .megamenu-content {
        left: auto;
        right: 0;
    }
}

.home-quick-menu { min-width: 330px; }
.home-quick-links { display: grid; grid-template-columns: repeat(3, minmax(88px, 1fr)); gap: 8px; }
.home-quick-links a {
    padding: 11px 10px !important;
    text-align: center;
    background: #f5f8ff;
    border: 1px solid #e0e8ff;
    color: var(--gold-dark) !important;
    font-size: 0.9rem;
}

/* 🎪 홈 화면 스타일 */
.hero-carousel { position: relative; height: 440px; overflow: hidden; background: #172033; touch-action: pan-y; cursor: grab; }
.hero-carousel.is-dragging { cursor: grabbing; }
.hero-slide { position: absolute; inset: 0; display: block; visibility: visible; transform: translateX(100%); transition: transform .58s cubic-bezier(.22,.72,.22,1); color: #fff; text-decoration: none; will-change: transform; }
.hero-slide.is-active { transform: translateX(0); z-index: 1; }
.hero-slide.is-previous { transform: translateX(-100%); }
.hero-slide.is-next { transform: translateX(100%); }
.hero-slide img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 27, 49, .82) 0%, rgba(14, 27, 49, .64) 37%, rgba(14, 27, 49, .16) 66%, rgba(14, 27, 49, .05) 100%); }
.hero-overlay { position: absolute; z-index: 1; left: max(8%, calc((100% - 1200px) / 2)); top: 50%; width: min(440px, 42vw); transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.62); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: .84rem; font-weight: 700; }
.hero-overlay h1, .hero-overlay h2 { margin: 0 0 16px; color: #fff; font-size: clamp(2rem, 3.1vw, 3.25rem); font-weight: 800; letter-spacing: -2.2px; line-height: 1.17; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-overlay h1 strong, .hero-overlay h2 strong { color: #78adff; font-weight: 800; }
.hero-rank { font-size: 1.08rem; font-weight: 800; }
.hero-summary { margin-top: 4px; font-size: .95rem; }
.hero-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 24px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.8); color: #fff; font-size: .87rem; font-weight: 700; text-decoration: none; }
.hero-link b { font-size: 1.1rem; }
.hero-dots { position: absolute; z-index: 2; bottom: 24px; left: 50%; display: flex; gap: 9px; transform: translateX(-50%); }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.hero-dots button.is-active { background: #fff; }
.hero-action { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; margin-top: 28px; padding: 14px 25px; border-radius: 999px; background: var(--gold-bright); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 20px rgba(21, 84, 209, 0.22); transition: transform .2s, background .2s; }
.hero-action:hover { background: var(--gold-dark); transform: translateY(-2px); }
.main-container { max-width: 1200px; margin: 72px auto; padding: 42px 20px; background: #fafbfc; }
.home-section-title { color: var(--text-light); font-size: 1.5rem; letter-spacing: -1.2px; margin: 0 0 26px; padding-left: 14px; border-left: 4px solid var(--gold-bright); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 28px 24px; min-height: 190px; text-decoration: none !important; color: var(--text-light) !important; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.25s ease; box-shadow: 0 5px 13px rgba(16, 24, 40, 0.05); }
.category-card:hover { transform: translateY(-4px); background: var(--bg-card-hover); border-color: #bdceff; box-shadow: 0 12px 24px rgba(16, 24, 40, 0.1); }
.card-icon { font-size: 2rem; margin-bottom: 13px; }
.card-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; color: var(--text-light) !important; letter-spacing: -0.7px; }
.card-desc { color: var(--text-muted) !important; font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }
.card-btn { display: inline-flex; align-items: center; gap: 8px; color: #af1836 !important; font-weight: 700; font-size: 0.95rem; }

.home-discovery, .home-choice-guide { margin-top: 68px; padding-top: 42px; border-top: 1px solid var(--border-color); }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.home-section-heading .home-section-title { margin-bottom: 0; }
.home-eyebrow { margin: 0 0 9px; color: var(--gold-bright); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.home-text-link { flex: 0 0 auto; color: #af1836; font-weight: 800; font-size: .9rem; text-decoration: none; }
.home-text-link:hover { text-decoration: underline; }
.home-section-intro { max-width: 780px; margin: 18px 0 23px; color: var(--text-muted); line-height: 1.8; }
.home-region-grid { display: grid; grid-template-columns: minmax(270px, .9fr) minmax(0, 1.6fr); gap: 14px; }
.home-region-feature { display: flex; min-height: 185px; flex-direction: column; justify-content: center; padding: 26px; border-radius: 12px; background: linear-gradient(135deg, #6f0820 0%, #b6193a 57%, #d84a5f 100%); color: #fff; text-decoration: none; box-shadow: 0 13px 30px rgba(114, 18, 43, .23); transition: transform .22s ease, box-shadow .22s ease; }
.home-region-feature:hover { color: #fff; transform: translateY(-5px); box-shadow: 0 18px 34px rgba(114, 18, 43, .32); }
.home-region-kicker { margin-bottom: 12px; color: #ffe6e8; font-size: .78rem; font-weight: 700; }
.home-region-feature strong { margin-bottom: 15px; font-size: 1.34rem; letter-spacing: -1px; }
.home-region-feature span:last-child { color: #fff1f2; font-size: .9rem; line-height: 1.6; }
.home-region-feature b { margin-left: 5px; font-size: 1rem; }
.home-region-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-region-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-region-links a { display: flex; align-items: center; min-height: 40px; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 8px; background: #fff; color: var(--text-light); font-weight: 700; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.home-region-links a::after { content: '→'; margin-left: auto; color: #af1836; }
.home-region-links a:hover { transform: translateY(-3px); border-color: #edc5cd; box-shadow: 0 10px 20px rgba(113, 19, 42, .08); }
.home-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-choice-card { position: relative; display: block; min-height: 220px; padding: 25px; border: 1px solid #ead6da; border-radius: 11px; background: linear-gradient(145deg, #fff 0%, #fff8f8 100%); color: var(--text-light); overflow: hidden; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.home-choice-card::after { content: ''; position: absolute; right: -23px; bottom: -46px; width: 118px; height: 118px; border-radius: 50%; background: #f9e8ea; }
.home-choice-card:hover, .home-choice-card:focus-visible { color: var(--text-light); transform: translateY(-5px); border-color: #d48a9a; box-shadow: 0 14px 28px rgba(113, 19, 42, .12); outline: none; }
.home-choice-number { position: relative; z-index: 1; display: block; margin-bottom: 20px; color: #af1836; font-size: .8rem; font-weight: 900; letter-spacing: .09em; }
.home-choice-card h3 { position: relative; z-index: 1; margin: 0 0 11px; color: var(--text-light); font-size: 1.06rem; letter-spacing: -.6px; }
.home-choice-card p { position: relative; z-index: 1; margin: 0 0 19px; color: var(--text-muted); font-size: .9rem; line-height: 1.72; }
.home-choice-link { position: relative; z-index: 1; color: #af1836; font-size: .88rem; font-weight: 800; }
.home-choice-link b { margin-left: 4px; font-size: 1rem; }
.faq-item p a { color: inherit; font-weight: inherit; text-decoration: none; }
.faq-item p a:hover { color: inherit; text-decoration: none; }
.theme-guide { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; margin-top: 68px; padding-top: 42px; border-top: 1px solid var(--border-color); }
.theme-guide-sidebar { align-self: start; position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; padding: 16px; border: 1px solid var(--border-color); border-radius: 10px; background: #fff; }
.theme-guide-sidebar-title { margin: 0 0 10px; color: var(--text-light); font-weight: 800; }
.theme-guide-nav { display: grid; gap: 3px; }
.theme-guide-nav a { padding: 8px 10px; color: var(--text-muted); text-decoration: none; border-radius: 5px; font-size: .9rem; }
.theme-guide-nav a:hover { color: #af1836; background: #fff4f5; }
.theme-guide-content { min-width: 0; }
.theme-guide-intro { margin: -8px 0 22px; color: var(--text-muted); line-height: 1.75; }
.theme-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.theme-guide-card { padding: 21px; border: 1px solid var(--border-color); border-radius: 10px; background: #fff; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.theme-guide-card:hover, .theme-guide-card:focus-visible { transform: translateY(-6px); border-color: #d48a9a; box-shadow: 0 15px 30px rgba(114, 25, 49, .12); outline: none; }
.theme-guide-card h3 { margin: 0 0 10px; color: var(--text-light); font-size: 1.05rem; }
.theme-guide-card p { margin: 0 0 15px; color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.theme-guide-card a { color: #af1836; font-weight: 700; font-size: .88rem; text-decoration: none; }
.theme-guide-card a:hover { text-decoration: underline; }
.home-faq { max-width: 880px; margin: 68px auto 0; padding-top: 42px; border-top: 1px solid var(--border-color); }
.faq-list { border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); background: #fff; }
.faq-item summary { position: relative; padding: 18px 42px 18px 16px; color: var(--text-light); cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 17px; top: 14px; color: var(--gold-bright); font-size: 1.4rem; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0; padding: 0 16px 18px; color: var(--text-muted); line-height: 1.75; font-size: .92rem; }

/* 📍 지역별/홈타이 본문 탭 */
.tab-container { margin: 25px auto; max-width: 1200px; padding: 0 16px; }
.page-keyword-title { margin: 28px 0 20px; color: var(--text-light); font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -1.4px; line-height: 1.3; }
.tab-line-1 { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; border-bottom: 2px solid var(--border-color); padding-bottom: 12px; }
.tab-line-2 { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; background: #f8faff; padding: 14px; border-radius: 8px; border: 1px solid var(--border-color); min-height: 48px; }
.dong-box { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 25px; background: #fafcff; padding: 14px; border-radius: 8px; min-height: 50px; border: 1px solid var(--border-color); }
.tab-btn-1 { padding: 8px 16px; background: #f4f7ff; color: var(--text-light); cursor: pointer; border-radius: 6px; font-weight: bold; font-size: 0.9rem; border: 1px solid #e0e8ff; }
.tab-btn-1.active { background: var(--gold-dark); color: #fff; border-color: var(--gold-bright); }
.tab-btn-2 { padding: 8px 14px; background: #ffffff; color: var(--text-muted); cursor: pointer; border-radius: 6px; font-size: 0.85rem; border: 1px solid var(--border-color); }
.tab-btn-2.active { background: var(--gold-bright); color: #fff; font-weight: bold; }
.dong-item { padding: 6px 11px; background: #f4f7ff; color: #4e6285; cursor: pointer; border-radius: 5px; font-size: 0.8rem; border: 1px solid #e0e8ff; }
.dong-item:hover { background: #e8efff; color: var(--gold-dark); }
.dong-item.active { background: var(--mint); color: #fff; border-color: var(--mint); font-weight: bold; }
.section-title { font-size: 1.25rem; color: var(--gold-bright); margin: 25px 0 15px 0; border-left: 4px solid var(--gold-bright); padding-left: 10px; font-weight: bold; }
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.article-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 18px; border-radius: 8px; text-decoration: none !important; display: block; }
.article-card:hover { transform: translateY(-4px); border-color: var(--gold-bright); }
.article-thumbnail-frame { position: relative; display: block; overflow: hidden; border-radius: 8px; margin: 0 0 14px; background: var(--navy-light); }
.article-thumbnail { width: 100%; height: 170px; display: block; object-fit: cover; margin: 0; background: var(--navy-light); }
.article-thumbnail-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; width: 58%; padding: 18px 20px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.38); }
.article-thumbnail-copy small { color: #f5d9b5; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.article-thumbnail-copy strong { margin-top: 7px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.25; letter-spacing: -.04em; word-break: keep-all; }
.article-thumbnail-copy em { margin-top: 8px; color: rgba(255,255,255,.88); font-size: .72rem; font-style: normal; line-height: 1.35; word-break: keep-all; }
.generated-post-thumbnail { position: relative; max-width: 900px; margin: 0 auto 34px; overflow: hidden; border-radius: 14px; background: #410916; }
.generated-post-thumbnail img { display: block; width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.generated-post-thumbnail figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; width: 58%; padding: clamp(24px,5vw,58px); color: #fff; text-shadow: 0 3px 12px rgba(0,0,0,.45); }
.generated-post-thumbnail small { color: #f5d9b5; font-size: clamp(.72rem,1.3vw,.92rem); font-weight: 800; letter-spacing: .1em; }
.generated-post-thumbnail strong { margin-top: 12px; font-size: clamp(1.55rem,4vw,3rem); line-height: 1.2; letter-spacing: -.05em; word-break: keep-all; }
.generated-post-thumbnail span { margin-top: 14px; color: rgba(255,255,255,.9); font-size: clamp(.8rem,1.5vw,1rem); line-height: 1.5; word-break: keep-all; }
.article-more-section { margin-top: 30px; }
.article-more-title { color: var(--gold-bright); font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.article-compact-list { border-top: 1px solid var(--border-color); }
.article-compact-item { display: flex; align-items: center; gap: 12px; padding: 13px 8px; border-bottom: 1px solid var(--border-color); color: var(--text-light); text-decoration: none; }
.article-compact-item:hover { background: var(--bg-card-hover); }
.article-compact-item .compact-tag { flex: 0 0 auto; color: var(--gold-dark); font-size: .8rem; }
.article-compact-item .compact-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.article-compact-item .compact-date { margin-left: auto; flex: 0 0 auto; color: var(--text-muted); font-size: .8rem; }
.article-tag { display: inline-block; background: var(--navy-deep); color: var(--gold-bright); padding: 3px 8px; font-size: 0.75rem; font-weight: bold; border-radius: 3px; margin-bottom: 10px; }
.article-subject { font-size: 1rem; color: var(--text-light) !important; font-weight: bold; margin-bottom: 8px; line-height: 1.4; }
.article-desc { font-size: 0.85rem; color: var(--text-muted) !important; line-height: 1.5; }
.article-date { margin-top: 12px; color: var(--text-muted); font-size: .8rem; }
.region-info-preview { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 17px 20px; border: 1px solid #e5c7cd; border-radius: 10px; background: linear-gradient(100deg, #fff7f8 0%, #fff 100%); color: var(--text-light); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.region-info-preview:hover { color: var(--text-light); transform: translateY(-2px); border-color: #af1836; box-shadow: 0 9px 20px rgba(113, 19, 42, .1); }
.region-info-preview > span { color: #af1836; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.region-info-preview strong { font-size: 1.04rem; letter-spacing: -.5px; }
.region-info-preview em { margin-left: auto; color: #af1836; font-size: .9rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.region-info-preview b { margin-left: 5px; font-size: 1rem; }
.region-gu-template { width: 100%; padding: 26px; border: 1px solid #ead6da; border-radius: 12px; background: #fffafb; }
.region-gu-template p { margin: 0 0 8px; color: #af1836; font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.region-gu-template h2 { margin: 0 0 10px; color: var(--text-light); font-size: 1.25rem; letter-spacing: -.8px; }
.region-gu-template span { color: var(--text-muted); font-size: .92rem; line-height: 1.7; }
.blog-page { max-width: 1200px; margin: 25px auto 60px; padding: 0 16px; }
.blog-intro { margin: -4px 0 22px; color: var(--text-muted); }
.blog-status { grid-column: 1 / -1; padding: 38px 0; text-align: center; color: var(--text-muted); }
.blog-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 32px; }
.blog-page-link { min-width: 38px; padding: 9px 12px; border: 1px solid var(--border-color); border-radius: 6px; color: var(--text-light); text-align: center; text-decoration: none; }
.blog-page-link:hover, .blog-page-link.active { background: var(--gold-bright); border-color: var(--gold-bright); color: #fff; }
.blog-page-link.disabled { pointer-events: none; opacity: .4; }
.seo-guide-page { max-width: 980px; margin: 34px auto 70px; padding: 0 16px; }
.seo-breadcrumb { margin-bottom: 20px; color: var(--text-muted); font-size: .88rem; }
.seo-breadcrumb a { color: var(--gold-bright); text-decoration: none; }
.seo-breadcrumb span { margin: 0 5px; }
.seo-guide-article { padding: 34px; border: 1px solid var(--border-color); border-radius: 12px; background: #fff; }
.seo-guide-article h1 { margin: 0 0 22px; color: var(--text-light); font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -1.5px; }
.seo-guide-article h2 { margin: 30px 0 12px; color: var(--text-light); font-size: 1.2rem; }
.seo-guide-article p { color: var(--text-muted); line-height: 1.85; }
footer { text-align: center; padding: 35px 15px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.8rem; margin-top: 50px; }

@media (max-width: 600px) {
  .article-thumbnail { height: 155px; }
  .article-thumbnail-copy { width: 64%; padding: 14px 15px; }
  .generated-post-thumbnail figcaption { width: 68%; padding: 20px; }
  .seo-guide-article { padding: 24px 18px; }
  .region-info-preview { align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; padding: 16px; }
  .region-info-preview strong { flex-basis: calc(100% - 105px); }
  .region-gu-template { padding: 21px 18px; }
}

/* 📱 모바일 네비게이션: 클릭 100% 보장 알약 버튼 */
@media (max-width: 768px) {
  header {
    padding: 12px 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .logo > img { width: 215px; height: 52px; }
  .brand-lockup { min-height: 48px; gap: 8px; }
  .brand-wordmark { font-size: 1.65rem; }
  .brand-flower { width: 29px; height: 29px; flex-basis: 29px; }
  .nav-menu {
    width: 100% !important;
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding-bottom: 4px !important;
    min-height: 39px !important;
  }
  .nav-menu::-webkit-scrollbar { display: none; }
  
  .nav-menu a {
    font-size: 13px !important;
    line-height: 17px !important;
    min-height: 35px !important;
    padding: 8px 14px !important;
    background: #f4f7ff !important;
    color: var(--text-light) !important;
    border-radius: 16px !important;
    border: 1px solid #e0e8ff !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    transform: none !important;
  }
  .nav-menu a.active {
    background: var(--gold-dark) !important;
    color: #fff !important;
    border-color: var(--gold-bright) !important;
    /* 기본 메뉴와 동일한 굵기를 유지해 선택 전후 글자 폭이 바뀌지 않게 합니다. */
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 17px !important;
    transform: none !important;
  }
  .nav-menu > .dropdown { flex-shrink: 0 !important; min-height: 35px !important; }
  .dropdown-btn::after { display: none; }
  .megamenu-content {
    display: none !important;
  }
  .global-region-grid, .global-type-grid, .global-hometie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .home-quick-links { grid-template-columns: 1fr; }
  .hero-carousel { height: 430px; }
  .hero-slide img { object-position: 63% center; }
  .hero-overlay { left: 24px; width: calc(100% - 48px); }
  .hero-overlay h1, .hero-overlay h2 { font-size: clamp(1.82rem, 7.6vw, 2.35rem); letter-spacing: -1.8px; }
  .hero-summary { font-size: .84rem; }
  .category-grid { grid-template-columns: 1fr; }
  .main-container { margin: 42px 14px; padding: 28px 20px; }
  .home-discovery, .home-choice-guide { margin-top: 45px; padding-top: 30px; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .home-region-grid, .home-choice-grid { grid-template-columns: 1fr; }
  .home-region-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-region-feature { min-height: 160px; }
  .theme-guide { grid-template-columns: 1fr; margin-top: 45px; padding-top: 30px; }
  .home-faq { margin-top: 45px; padding-top: 30px; }
  .theme-guide-sidebar { position: static; padding: 0; border: 0; background: transparent; }
  .theme-guide-nav { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .theme-guide-nav a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--border-color); background: #fff; }
  .theme-guide-grid { grid-template-columns: 1fr; }
}
