/* ===== Course Hero ===== */
.course-hero .page-hero-bg { background-image: url('../img/광저우 중따 원단시장2.jpg'); }

/* ===== Route Overview ===== */
.route-overview {
    padding: 140px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.route-overview .eyebrow { margin-bottom: 32px; }
.route-overview h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 80px;
}
.route-overview h2 em {
    font-style: italic;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.route-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.route-line::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.route-point { text-align: center; position: relative; }
.route-point .dot {
    width: 16px;
    height: 16px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--bg);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--easing);
}
.route-point .dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--gold);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s var(--easing);
}
.route-point:hover .dot { transform: scale(1.3); }
.route-point:hover .dot::after { transform: scale(1); }
.route-point .day {
    font-family: 'Paperlogy', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}
.route-point .city {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}
.route-point .desc {
    font-size: 13px;
    color: var(--text-mute);
}

/* ===== Location Detail ===== */
.locations {
    padding: 160px 0;
    background: var(--bg);
}
.locations-head { margin-bottom: 80px; }
.locations-head h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.15;
}
.locations-head h2 em {
    font-style: italic;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.locations-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}
.location-nav {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 1px solid var(--border);
}
.location-nav button {
    text-align: left;
    padding: 18px 24px;
    font-size: 15px;
    color: var(--text-mute);
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: all 0.3s var(--easing);
    position: relative;
}
.location-nav button:hover { color: var(--text); }
.location-nav button.active {
    color: var(--gold);
    border-left-color: var(--gold);
    font-weight: 500;
}
.location-nav button .num {
    font-family: 'Paperlogy', serif;
    font-style: italic;
    color: var(--text-dim);
    margin-right: 12px;
    font-size: 13px;
}
.location-nav button.active .num { color: var(--gold); }

.location-panels { display: flex; flex-direction: column; gap: 80px; }
.location-panel {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color 0.4s var(--easing);
}
.location-panel:hover { border-color: var(--border-strong); }
.location-img {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
}
.location-body { padding: 48px; }
.location-body .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.location-body .meta .day { color: var(--gold); }
.location-body .meta .divider { width: 24px; height: 1px; background: var(--border-strong); }
.location-body .meta .cat { color: var(--text-mute); }
.location-body h3 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.location-body .lead {
    color: var(--text-mute);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 720px;
}
.location-keys {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.location-keys .key {
    background: var(--bg);
    padding: 20px 24px;
    border-radius: 2px;
    border: 1px solid var(--border);
}
.location-keys .key .label {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.location-keys .key .value { font-size: 15px; }

.why-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.why-label::before {
    content: '';
    width: 18px; height: 1px;
    background: var(--gold);
}
.location-highlights { display: flex; flex-direction: column; gap: 14px; }
.location-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text);
    font-size: 15px;
    padding-left: 16px;
    position: relative;
}
.location-highlights li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* ===== Course CTA ===== */
.course-cta {
    padding: 160px 0;
    text-align: center;
    background: var(--bg-elev);
    border-top: 1px solid var(--border);
}
.course-cta h2 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}
.course-cta h2 em {
    font-style: italic;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.course-cta p {
    color: var(--text-mute);
    max-width: 520px;
    margin: 0 auto 40px;
}
.course-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
    .route-line { grid-template-columns: repeat(5, minmax(0, 1fr)); overflow-x: auto; padding: 0 10px; }
    .locations-layout { grid-template-columns: 1fr; gap: 40px; }
    .location-nav {
        position: relative;
        top: 0;
        flex-direction: row;
        overflow-x: auto;
        border-left: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 0;
    }
    .location-nav button {
        border-left: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        padding: 16px 20px;
    }
    .location-nav button.active { border-bottom-color: var(--gold); border-left-color: transparent; }
}
@media (max-width: 768px) {
    .route-overview, .locations, .course-cta { padding: 80px 0; }
    .route-line { grid-template-columns: repeat(5, 80px); }
    .route-line::before { display: none; }
    .route-point .city { font-size: 16px; }
    .location-body { padding: 32px 24px; }
    .location-keys { grid-template-columns: 1fr; }
}
