:root {
    --primary-color: #0A1628;
    --primary-light: #1A2A4A;
    --accent-green: #22C55E;
    --accent-yellow: #F59E0B;
    --white: #FFFFFF;
    --light-gray: #F3F4F6;
    --dark-gray: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.burger {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Notification Bar */
.notification-bar {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 0.5rem 0;
    overflow: hidden;
}

.notification-content {
    display: flex;
    animation: scroll 18s linear infinite;
}

.notification-item {
    white-space: nowrap;
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-item:last-child {
    border-right: none;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 12px 0;
    font-size: 0.875rem;
}
.breadcrumb-nav .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb-nav a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-nav a:hover {
    color: var(--primary-color);
}
.breadcrumb-nav .breadcrumb-current {
    color: #1e293b;
    font-weight: 600;
}
.breadcrumb-nav .breadcrumb-sep {
    color: #cbd5e1;
    user-select: none;
}

/* Breadcrumb inside Hero (white text) */
.breadcrumb-on-hero {
    padding: 0;
    margin-top: 16px;
    margin-bottom: 0;
}
.breadcrumb-on-hero a,
.breadcrumb-on-hero .breadcrumb-current,
.breadcrumb-on-hero .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.breadcrumb-on-hero a:hover {
    color: #fff;
}
.breadcrumb-on-hero .breadcrumb-current {
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.7)),
                url('../images/Kanas Lake5.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

.hero-inner {
    padding: 6rem 0 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-height: 50vh;
}
/* Comments & About: no search box, shift content up one line */
.hero-inner.no-search-hero {
    padding-bottom: 7rem;
}

.hero-inner h1 {
    font-size: 2.5rem;
}

.hero-inner p {
    font-size: 1rem;
}
.hero-inner .search-box {
    margin-top: 16px;
}
.hero-inner .search-box input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #16A34A;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 4rem;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-text {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6B7280;
    font-size: 0.9rem;
}

.card-price {
    color: var(--accent-green);
    font-weight: 600;
}

/* Features Section */
.features {
    background-color: var(--light-gray);
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Traveler Stories */
.stories {
    background-color: var(--primary-color);
    color: var(--white);
}

.stories .section-title,
.stories .section-subtitle {
    color: var(--white);
}

.story-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.story-content {
    margin-bottom: 1rem;
    font-style: italic;
}

.story-rating {
    margin-bottom: 0.5rem;
    color: var(--accent-yellow);
    font-size: 1rem;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--accent-green) 0%, #16A34A 100%);
    padding: 3rem 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Trust Badges */
.trust-badges {
    background-color: var(--light-gray);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.badge-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.badge-item:hover {
    transform: translateY(-3px);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.badge-text {
    font-weight: 600;
    color: var(--primary-color);
}

/* Home Trust Quick Links */
.home-trust-links {
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 1.4rem 0;
}
.home-trust-links .trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.home-trust-links .trust-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
    border: 1px solid #D1FAE5;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.home-trust-links .trust-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.15);
    border-color: var(--accent-green);
    background: linear-gradient(135deg, #DCFCE7 0%, #F0FDF4 100%);
}
.home-trust-links .trust-link-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #16A34A 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: transform 0.3s ease;
}
.home-trust-links .trust-link:hover .trust-link-icon {
    transform: scale(1.08) rotate(-2deg);
}
.home-trust-links .trust-link-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-trust-links .trust-link-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.home-trust-links .trust-link-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-trust-links .trust-link-desc {
    font-size: 0.82rem;
    color: #6B7280;
    margin-top: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-trust-links .trust-link-arrow {
    margin-left: auto;
    color: var(--accent-green);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.home-trust-links .trust-link:hover .trust-link-arrow {
    opacity: 1;
    transform: translateX(0);
}
.home-trust-links .trust-link-arrow svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 900px) {
    .home-trust-links .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Info Detail Page (Visa/Payment/Support) */
.info-hero {
    position: relative;
    height: 55vh;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 3.5rem;
    overflow: hidden;
}
.info-page--small-hero .info-hero {
    height: 33vh;
    min-height: 280px;
    padding-bottom: 2.4rem;
}
.info-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.7)),
        url('../images/Fenghuang Ancient4.jpg') center/cover no-repeat;
    z-index: 0;
}
.info-hero--visa::before {
    background:
        linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.7)),
        url('../images/Fenghuang Ancient4.jpg') center/cover no-repeat;
}
.info-hero--payment::before {
    background:
        linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.7)),
        url('../images/Guizhou Qiandongnan_Pixabay_1.jpg') center/cover no-repeat;
}
.info-hero--emergency::before {
    background:
        linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.7)),
        url('../images/Dujiangyan & Qingcheng Mountain_Pixabay_1.jpg') center/cover no-repeat;
}
/* Legal pages hero — use Mogao Caves backdrop (Chinese cultural heritage theme) */
.info-hero--legal::before {
    background:
        linear-gradient(rgba(8, 15, 35, 0.78), rgba(8, 15, 35, 0.78)),
        url('../images/mogao-caves.jpg') center/cover no-repeat;
}

/* Rich typography wrapper for legal content (h2/h3/p/ul/ol/table/a from TinyMCE) */
.legal-content {
    color: #1F2937;
    line-height: 1.82;
    font-size: 0.96rem;
}
.legal-content > * + * {
    margin-top: 0.9rem;
}
.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0F172A;
    margin-top: 2.2rem !important;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid #E0E7FF;
    letter-spacing: -0.01em;
}
.legal-content h2:first-child {
    margin-top: 0 !important;
}
.legal-content h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #1E293B;
    margin-top: 1.8rem !important;
}
.legal-content h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1E293B;
    margin-top: 1.4rem !important;
}
.legal-content p {
    color: #374151;
}
.legal-content ul,
.legal-content ol {
    padding-left: 1.6rem;
}
.legal-content ul {
    list-style: disc;
}
.legal-content ol {
    list-style: decimal;
}
.legal-content li {
    margin-top: 0.45rem;
    color: #374151;
}
.legal-content li > ul,
.legal-content li > ol {
    margin-top: 0.45rem;
}
.legal-content strong {
    color: #0F172A;
    font-weight: 700;
}
.legal-content em {
    color: #64748B;
    font-style: italic;
}
.legal-content a {
    color: #4F46E5;
    text-decoration: none;
    border-bottom: 1px solid rgba(79, 70, 229, 0.3);
    transition: color 0.2s, border-color 0.2s;
}
.legal-content a:hover {
    color: #4338CA;
    border-bottom-color: #4338CA;
}
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
    font-size: 0.92rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.legal-content table th {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    color: #3730A3;
    font-weight: 700;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #C7D2FE;
}
.legal-content table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
}
.legal-content table tbody tr:last-child td {
    border-bottom: none;
}
.legal-content table tbody tr:hover {
    background: #F8FAFC;
}

/* Legal sidebar navigation */
.legal-subnav {
    background: var(--white);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.legal-subnav h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #E0E7FF;
}
.legal-subnav h3 svg {
    width: 18px;
    height: 18px;
    color: #4F46E5;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.legal-subnav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0.8rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.legal-subnav a:hover {
    background: #EEF2FF;
    color: #4F46E5;
    transform: translateX(2px);
}
.legal-subnav a.is-active {
    background: linear-gradient(135deg, #4F46E5 0%, #6D28D9 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.legal-subnav a .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #CBD5E1;
    flex-shrink: 0;
    transition: all 0.2s;
}
.legal-subnav a:hover .dot {
    background: #4F46E5;
}
.legal-subnav a.is-active .dot {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}
.legal-last-updated {
    margin-top: 1.8rem;
    padding: 0.85rem 1rem;
    background: #F1F5F9;
    border-left: 3px solid #64748B;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}
.legal-last-updated strong {
    color: #0F172A;
    font-weight: 600;
}
.breadcrumb-on-hero {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}
.breadcrumb-on-hero .container {
    padding: 0 !important;
    max-width: none !important;
    width: max-content !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
}
.breadcrumb-on-hero .container > * {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.breadcrumb-nav.breadcrumb-on-hero a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
}
.breadcrumb-nav.breadcrumb-on-hero .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.55);
    margin: 0 8px;
}
.breadcrumb-nav.breadcrumb-on-hero .breadcrumb-current {
    color: rgba(255, 255, 255, 0.95);
}
.info-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}
.info-hero .info-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: infoFadeInUp 0.7s ease-out;
}
.info-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    animation: infoFadeInUp 0.7s ease-out 0.1s both;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.info-hero .info-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.92;
    line-height: 1.6;
    animation: infoFadeInUp 0.7s ease-out 0.2s both;
}
.info-hero .breadcrumb-on-hero {
    margin-top: 1.4rem !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    animation: infoFadeInUp 0.7s ease-out 0.3s both;
}
.info-hero .breadcrumb-on-hero .container {
    padding: 0 !important;
}
@keyframes infoFadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.info-content {
    padding: 4rem 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.info-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
.info-main .info-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 2.2rem;
    margin-bottom: 1.75rem;
    border: 1px solid var(--light-gray);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.info-main .info-section:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}
.info-main .info-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #D1FAE5;
}
.info-main .info-section-title .section-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-green), #16A34A);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-main .info-section-title .section-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.info-main .info-section p {
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.97rem;
}
.info-main .info-section ul.info-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}
.info-main .info-section ul.info-list li {
    position: relative;
    padding: 9px 0 9px 32px;
    color: #4B5563;
    line-height: 1.6;
    border-bottom: 1px dashed #E5E7EB;
    font-size: 0.95rem;
}
.info-main .info-section ul.info-list li:last-child {
    border-bottom: none;
}
.info-main .info-section ul.info-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #DCFCE7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-main .info-section ul.info-list li::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 19px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--accent-green);
    border-bottom: 2px solid var(--accent-green);
    transform: rotate(-45deg);
}
.emergency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    color: #fff;
    vertical-align: -6px;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.emergency-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.emergency-icon--police   { background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%); }
.emergency-icon--medical  { background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%); }
.emergency-icon--fire     { background: linear-gradient(135deg, #F97316 0%, #C2410C 100%); }
.emergency-icon--traffic  { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); }
.emergency-icon--consular { background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%); }
.info-main .info-highlight {
    background: linear-gradient(135deg, #ECFDF5 0%, #FFFFFF 100%);
    border: 1px solid #A7F3D0;
    border-left: 4px solid var(--accent-green);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-top: 1rem;
}
.info-main .info-highlight-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.info-main .info-highlight p {
    margin: 0;
    color: #065F46;
    font-size: 0.93rem;
    line-height: 1.7;
}
.info-main .info-warn {
    background: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 100%);
    border: 1px solid #FDE68A;
    border-left: 4px solid var(--accent-yellow);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-top: 1rem;
}
.info-main .info-warn-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #B45309;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.info-main .info-warn p {
    margin: 0;
    color: #92400E;
    font-size: 0.93rem;
    line-height: 1.7;
}
.info-main .info-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #E5E7EB;
}
.info-main .info-step:last-child {
    border-bottom: none;
}
.info-main .info-step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), #16A34A);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(34, 197, 94, 0.25);
}
.info-main .info-step-num.info-step-num--badge {
    width: auto;
    min-width: 0;
    height: auto;
    border-radius: 10px;
    padding: 4px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-yellow), #D97706);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}
.info-main .info-step-body h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1rem;
}
.info-main .info-step-body p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #6B7280;
}

/* Sidebar */
.info-sidebar {
    position: sticky;
    top: 110px;
}
.info-sidebar .side-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.info-sidebar .side-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #D1FAE5;
}
.info-sidebar .side-card h3 svg {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.info-sidebar .faq-link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
    border: 1px solid #A7F3D0;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.93rem;
    transition: all 0.25s ease;
}
.info-sidebar .faq-link-btn:hover {
    background: linear-gradient(135deg, var(--accent-green), #16A34A);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.3);
    border-color: transparent;
}
.info-sidebar .faq-link-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    flex-shrink: 0;
}
.info-sidebar .faq-link-btn span {
    flex: 1;
}
.info-sidebar .faq-link-btn .arrow {
    opacity: 0.6;
    transition: transform 0.25s ease;
}
.info-sidebar .faq-link-btn:hover .arrow {
    opacity: 1;
    transform: translateX(3px);
}
.info-sidebar .contact-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E3A5F 100%);
    color: white;
    border-radius: 14px;
    padding: 1.4rem;
}
.info-sidebar .contact-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-sidebar .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}
.info-sidebar .contact-item svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    stroke: var(--accent-green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 1024px) {
    .info-layout {
        grid-template-columns: 1fr;
    }
    .info-sidebar {
        position: static;
    }
}
@media (max-width: 640px) {
    .info-main .info-section {
        padding: 1.4rem 1.2rem;
    }
    .info-content {
        padding: 2.5rem 0;
    }
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: center;
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.btn-outline:hover {
    background-color: var(--accent-green);
    color: var(--white);
}

/* Footer Contact */
.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-green);
    border-radius: 12px 0 0 12px;
}
.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: var(--accent-green);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--accent-green);
}

.faq-question-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    margin-right: 12px;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--accent-green);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.faq-toggle svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-toggle svg {
    transform: rotate(45deg);
}
.faq-question:hover .faq-toggle {
    background: var(--accent-green);
    color: var(--white);
}

.faq-answer {
    max-height: 500px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding-top: 1rem;
    cursor: pointer;
    color: var(--dark-gray);
    line-height: 1.7;
    display: flex;
    gap: 12px;
}

.faq-answer-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    margin-top: 4px;
}

.faq-answer.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
}

/* Comments Section */
.comments-section {
    background-color: var(--light-gray);
}

.comment-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-name {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-date {
    color: #6B7280;
    font-size: 0.9rem;
}

.comment-content {
    color: var(--dark-gray);
}

.comment-reply {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-green);
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 5px;
}

.comment-reply .comment-name {
    color: var(--accent-green);
}

/* Comment Form */
.comment-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.comment-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    font-family: inherit;
}

.form-group select {
    background-color: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23374151'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.2rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary-color);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .notification-content {
        animation-duration: 12s;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* FAQ Category Cards */
.section.faq-section {
    padding: 2.5rem 0 3.5rem;
}
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}
@media (max-width: 640px) {
    /* Mobile: 2 categories per row for a compact layout */
    .faq-categories {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
    }
    .faq-category-card {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    .faq-category-card h3 { font-size: 0.85rem; }
    .faq-category-card svg { width: 16px; height: 16px; }
}
/* FAQ Back to Top button (at bottom of FAQ section) */
.faq-back-top {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}
.faq-back-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #FFFFFF;
    color: #6B7280;
    border: 1px solid #D1D5DB;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.faq-back-top-btn:hover {
    color: #374151;
    background: #F9FAFB;
    border-color: #9CA3AF;
}

.faq-category-card {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-gray);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: faqCardFadeInUp 0.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}
.faq-category-card:nth-child(1) { animation-delay: 0.1s; }
.faq-category-card:nth-child(2) { animation-delay: 0.2s; }
.faq-category-card:nth-child(3) { animation-delay: 0.3s; }
.faq-category-card:nth-child(4) { animation-delay: 0.4s; }
.faq-category-card:nth-child(5) { animation-delay: 0.5s; }
.faq-category-card:nth-child(6) { animation-delay: 0.6s; }
@keyframes faqCardFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq-category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--faq-cat-color, var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.faq-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--faq-cat-color, var(--accent-green));
    color: var(--faq-cat-color, var(--accent-green));
}
.faq-category-card:hover::before {
    transform: scaleX(1);
}
.faq-category-card:hover svg {
    transform: scale(1.1);
}

.faq-category-card.active {
    background: var(--faq-cat-color, var(--accent-green));
    background: linear-gradient(135deg, var(--faq-cat-color, var(--accent-green)), rgba(0,0,0,0.3));
    border-color: var(--faq-cat-color, var(--accent-green));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.faq-category-card.active::before {
    transform: scaleX(1);
}
.faq-category-card.active svg {
    transform: scale(1.1);
}

.faq-category-card h3 {
    font-size: 1rem;
    margin: 0;
}
.faq-category-card svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.faq-content-section {
    display: none;
}

.faq-content-section.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.faq-content-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.faq-content-section > p {
    text-align: center;
    margin-bottom: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ page hero enhancement */
.faq-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 4rem;
    position: relative;
}
.faq-hero .container {
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}
.faq-hero h1 {
    animation: faqFadeInUp 0.8s ease-out;
}
.faq-hero p {
    white-space: nowrap;
    text-align: center;
    width: 100%;
    animation: faqFadeInUp 0.8s ease-out 0.2s both;
}
.faq-hero .search-section {
    margin-top: calc(20px + 1ch);
    animation: faqFadeInUp 0.8s ease-out 0.4s both;
}
.faq-hero .breadcrumb-on-hero {
    animation: faqFadeInUp 0.8s ease-out 0.3s both;
}
@keyframes faqFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-inner .search-box {
    max-width: 500px;
    margin: 0 auto;
}
.hero-inner .search-box input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2), 0 10px 40px rgba(34, 197, 94, 0.15);
    transform: scale(1.02);
}

/* FAQ category color accents */
.faq-content-section.active .faq-item:nth-child(3n+1)::before { background: #22C55E; }
.faq-content-section.active .faq-item:nth-child(3n+2)::before { background: #06B6D4; }
.faq-content-section.active .faq-item:nth-child(3n+3)::before { background: #F59E0B; }

/* ============================================
   Route Detail Page
   ============================================ */
.route-detail-page {
    --rd-primary: #22C55E;
    --rd-primary-light: #DCFCE7;
    --rd-primary-dark: #16A34A;
    --rd-secondary: #06B6D4;
    --rd-accent: #F59E0B;
    --rd-bg-light: #F8FAFC;
    --rd-bg-card: #FFFFFF;
    --rd-text-primary: #1E293B;
    --rd-text-secondary: #64748B;
    --rd-border: #E2E8F0;
    --rd-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --rd-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --rd-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --rd-radius-sm: 8px;
    --rd-radius-md: 8px;
    --rd-radius-lg: 8px;
}

.route-detail { padding: 0; }

.route-hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.route-hero::after {
    display: none;
}
.route-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: -1px;
}
.route-hero .subheading {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.route-hero .price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #FCD34D;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Hero navigation bar - floating at bottom of hero */
.route-hero-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.route-hero-nav.is-sticky {
    position: fixed;
    top: 68px;
    bottom: auto;
    z-index: 99;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
.route-hero-nav.is-sticky.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.route-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* Back button in hero */
.hero-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.hero-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}
.hero-back-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Search box in hero nav */
.hero-search-section {
    flex: 1;
    max-width: 360px;
    margin: 0 16px;
    display: flex;
    justify-content: center;
}
.hero-search-box {
    max-width: 360px;
    width: 100%;
    margin: 0;
    position: relative;
}
.hero-search-box input {
    width: 100%;
    padding: 10px 44px 10px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--rd-text-primary);
}
.hero-search-box input:focus {
    border-color: var(--rd-primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    outline: none;
    background: #fff;
}
.hero-search-box svg {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--rd-text-secondary);
    fill: none;
    stroke-width: 2;
}

/* Prev/Next buttons in hero */
.hero-pn-inline {
    display: flex;
    gap: 10px;
}
.hero-pn-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.hero-pn-btn:hover:not(.hero-pn-disabled) {
    background: var(--rd-primary);
    color: #fff;
    border-color: var(--rd-primary);
    transform: translateY(-2px);
}
.hero-pn-btn.hero-pn-disabled {
    opacity: 0.35;
    cursor: default;
}
.hero-pn-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.route-content { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.route-info-bar {
    background: white;
    color: var(--rd-text-primary);
    padding: 40px 0;
    margin: 0 0 48px 0;
    position: relative;
    z-index: 5;
    border-radius: var(--rd-radius-lg);
    box-shadow: var(--rd-shadow-lg);
    margin-left: 24px;
    margin-right: 24px;
}
.route-info-bar .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.route-info-item {
    text-align: center;
    padding: 16px;
    border-radius: var(--rd-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.route-info-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--rd-shadow-md);
}
.route-info-item .icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: var(--rd-primary-light);
    color: var(--rd-primary);
    transition: all 0.3s ease;
}
.route-info-item:hover .icon { transform: scale(1.1); }
.route-info-item .icon svg {
    width: 28px; height: 28px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.route-info-item .label {
    font-size: 0.85rem;
    color: var(--rd-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.route-info-item .value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--rd-text-primary);
    margin-top: 4px;
}

.route-main-content {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}
.route-right {
    position: relative;
    height: 100%;
}

.route-section {
    background: var(--rd-bg-card);
    padding: 32px;
    border-radius: var(--rd-radius-lg);
    box-shadow: var(--rd-shadow-sm);
    margin-bottom: 24px;
    border: 1px solid var(--rd-border);
    transition: box-shadow 0.3s ease;
}
.route-section:hover { box-shadow: var(--rd-shadow-md); }
.route-section h2 {
    color: var(--rd-text-primary);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}
.route-section h2::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 24px;
    background: linear-gradient(180deg, var(--rd-primary), var(--rd-secondary));
    border-radius: 2px;
}
.route-section h3 {
    color: var(--rd-primary);
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 600;
}
.route-sidebar-title {
    margin-bottom: 0 !important;
    line-height: 1.4;
}
.route-sidebar-title-section {
    padding: 16px 16px;
}
.route-section h4 {
    color: var(--rd-text-primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.route-highlights { list-style: none; padding: 0; }
.route-highlights li {
    padding: 14px 0 14px 36px;
    position: relative;
    border-bottom: 1px solid var(--rd-border);
    font-size: 1.05rem;
    color: var(--rd-text-primary);
    transition: padding-left 0.3s ease;
}
.route-highlights li:last-child { border-bottom: none; }
.route-highlights li:hover { padding-left: 42px; }
.route-highlights li::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    background: var(--rd-primary-light);
    border-radius: 50%;
    border: 2px solid var(--rd-primary);
}
.route-highlights li::after {
    content: "✓";
    position: absolute;
    left: 6px; top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--rd-primary);
    font-weight: bold;
}

.route-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.route-destinations span {
    background: linear-gradient(135deg, var(--rd-primary-light), rgba(6,182,212,0.1));
    color: var(--rd-primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(34,197,94,0.2);
    transition: all 0.3s ease;
}
.route-destinations span:hover {
    background: var(--rd-primary);
    color: white;
    transform: translateY(-2px);
}

/* ----- Route Food Gallery (3 images above Destinations) ----- */
.route-food-gallery {
    margin-bottom: 24px;
}
.food-gallery-grid {
    display: flex;
    gap: 12px;
    width: 100%;
}
.food-gallery-item {
    flex: 1 1 0;
    min-width: 0;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.food-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.food-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.food-gallery-item:hover img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .food-gallery-item {
        height: 100px;
        border-radius: 8px;
    }
    .food-gallery-grid {
        gap: 8px;
    }
}

/* Itinerary */
.itinerary-day {
    background: var(--rd-bg-light);
    padding: 24px;
    border-radius: var(--rd-radius-md);
    margin-bottom: 20px;
    border-left: 4px solid var(--rd-primary);
    transition: all 0.3s ease;
}
.itinerary-day:hover {
    background: white;
    box-shadow: var(--rd-shadow-md);
    border-left-width: 6px;
}
.itinerary-day h4 {
    color: var(--rd-text-primary);
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 700;
}
.itinerary-day p {
    color: var(--rd-text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.itinerary-day p:last-child { margin-bottom: 0; }

.itinerary-content {
    line-height: 1.8;
    color: var(--rd-text-secondary);
}
.itinerary-content strong {
    color: var(--rd-text-primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 12px;
    margin-top: 20px;
}
.itinerary-content strong:first-child { margin-top: 0; }

/* Included / Excluded */
.included-excluded {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.included-box {
    background: linear-gradient(135deg, #ECFDF5, #DCFCE7);
    padding: 24px;
    border-radius: var(--rd-radius-md);
    border: 1px solid #A7F3D0;
}
.excluded-box {
    background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
    padding: 24px;
    border-radius: var(--rd-radius-md);
    border: 1px solid #FECACA;
}
.included-box h4 { color: #047857; margin-bottom: 16px; font-size: 1.1rem; }
.excluded-box h4 { color: #991B1B; margin-bottom: 16px; font-size: 1.1rem; }
.included-box ul, .excluded-box ul { list-style: none; padding: 0; }
.included-box li, .excluded-box li {
    padding: 10px 0;
    position: relative;
    color: var(--rd-text-primary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.included-box li:last-child, .excluded-box li:last-child { border-bottom: none; }

/* Gallery */
.route-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.route-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--rd-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--rd-shadow-sm);
}
.route-gallery img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--rd-shadow-lg);
}

/* Inline images within text sections */
.rd-inline-img {
    width: 100%;
    overflow: hidden;
    border-radius: var(--rd-radius-md);
    box-shadow: var(--rd-shadow-md);
    margin-bottom: 28px;
    margin-top: 8px;
}
.rd-inline-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.5s ease;
}
.rd-inline-img:hover img { transform: scale(1.02); }

@media (max-width: 768px) {
    .rd-inline-img {
        width: 100%;
        margin: 0 0 20px 0;
    }
    .rd-inline-img img { height: 240px; }
}

/* Sidebar */
.route-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.booking-box {
    background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark));
    color: white;
    padding: 32px;
    border-radius: var(--rd-radius-lg);
    text-align: center;
    margin-bottom: 24px;
    box-shadow: var(--rd-shadow-lg);
    position: relative;
    overflow: hidden;
}
.booking-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.booking-box .price {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.booking-box .price-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 24px;
    display: block;
}
.booking-box .btn {
    background: white;
    color: var(--rd-primary);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.booking-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Sidebar Contact Buttons */
.rd-contact-email {
    display: block;
    padding: 12px;
    background: var(--accent-green);
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 600;
    transition: all 0.3s;
}
.rd-contact-email:hover { background: #16A34A; transform: translateY(-2px); }

.rd-contact-call {
    display: block;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.rd-contact-call:hover { background: #1A2A4A; transform: translateY(-2px); }

/* Quick Facts sidebar */
.rd-quick-fact {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}
.rd-quick-fact span:last-child { font-weight: bold; }

/* Related Routes */
.related-routes {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--rd-border);
}
.related-routes h2 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--rd-text-primary);
    font-size: 1.8rem;
    font-weight: 700;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.related-card {
    background: var(--rd-bg-card);
    border-radius: var(--rd-radius-lg);
    overflow: hidden;
    box-shadow: var(--rd-shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--rd-border);
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rd-shadow-lg);
}
.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-card:hover img { transform: scale(1.05); }
.related-card .content { padding: 24px; }
.related-card h3 {
    color: var(--rd-text-primary);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}
.related-card p {
    color: var(--rd-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.related-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--rd-text-secondary);
    font-size: 0.9rem;
}
.related-card .btn {
    background: linear-gradient(135deg, var(--rd-primary), var(--rd-secondary));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}
.related-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34,197,94,0.4);
}

/* Lightbox */
.route-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    animation: rdFadeIn 0.2s ease;
}
@keyframes rdFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.route-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}
.route-lightbox-close {
    position: absolute;
    top: 24px; right: 32px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
}
.route-lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* Route Detail Responsive */
@media (max-width: 1024px) {
    .route-main-content { grid-template-columns: 1fr; }
    .route-sidebar { position: static; }
    .route-hero h1 { font-size: 2.8rem; }
    .route-hero .subheading { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .route-hero h1 { font-size: 2.2rem; }
    .route-hero { height: 55vh; min-height: 360px; }
    .route-hero .subheading { font-size: 1rem; }
    .included-excluded { grid-template-columns: 1fr; }
    .route-info-bar .info-grid { grid-template-columns: repeat(2, 1fr); }
    .route-info-item .value { font-size: 1.3rem; }
    .route-info-item .icon { width: 50px; height: 50px; }
    .route-info-item .icon svg { width: 24px; height: 24px; }
    .route-info-bar { margin-left: 12px; margin-right: 12px; }
    .related-grid { grid-template-columns: 1fr; }
    .route-top-bar { justify-content: flex-start; }
    .hero-search-section { max-width: 200px; }
}

@media (max-width: 480px) {
    .route-hero h1 { font-size: 1.7rem; }
    .route-hero { height: 50vh; min-height: 300px; }
    .route-info-bar .info-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .route-info-item .value { font-size: 1.1rem; }
    .route-content { padding: 0 12px; }
    .route-section { padding: 20px; }
    /* Compact 2-row nav: [back][share] / [prev/next][search] */
    .route-top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }
    .route-top-bar .hero-back-btn { order: 1; flex: 0 0 auto; }
    .route-top-bar .share-buttons { order: 2; margin-left: auto; }
    .route-top-bar .hero-pn-inline { order: 3; flex: 0 0 auto; }
    .route-top-bar .hero-search-section { order: 4; flex: 1 1 120px; max-width: 140px; margin: 0; width: auto; }
    /* When sticky on mobile, hide the "All Routes" back button to save space */
    .route-hero-nav.is-sticky .hero-back-btn { display: none; }
    .route-hero-nav { padding: 8px 0; }
}

/* ============================================
   Spots Page
   ============================================ */
.spots-page {
    --sp-primary: #10B981;
    --sp-primary-light: #D1FAE5;
    --sp-secondary: #06B6D4;
    --sp-accent: #F59E0B;
    --sp-bg-light: #F8FAFC;
    --sp-bg-card: #FFFFFF;
    --sp-text-primary: #1E293B;
    --sp-text-secondary: #64748B;
    --sp-border: #E2E8F0;
    --sp-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --sp-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --sp-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --sp-radius-sm: 8px;
    --sp-radius-md: 8px;
    --sp-radius-lg: 8px;
}

.spots-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(10, 22, 40, 0.6), rgba(10, 22, 40, 0.7)), url('../images/Tianshan Mountains3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.spots-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, #F8FAFC, transparent);
}
.spots-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 700;
}
.spots-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 100%;
    margin: 0 auto;
}
.spots-hero .search-box {
    margin-top: calc(16px + 2ch);
}
.spots-hero .search-box input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.spots-content {
    max-width: 1280px;
    margin: -40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.spots-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-md);
}
.spots-category-filter a {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.spots-category-filter a.sp-filter-active {
    background: linear-gradient(135deg, var(--sp-primary), var(--sp-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.spots-category-filter a.sp-filter-default {
    background: var(--sp-bg-light);
    color: var(--sp-text-secondary);
    border-color: var(--sp-border);
}
.spots-category-filter a.sp-filter-default:hover {
    background: var(--sp-primary-light);
    border-color: var(--sp-primary);
    color: var(--sp-primary);
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.spots-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--sp-text-secondary);
}
.spots-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}
.spots-empty h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--sp-text-primary);
}
.spots-empty a {
    color: var(--sp-primary);
    font-weight: 600;
    text-decoration: none;
}

.spot-card {
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    box-shadow: var(--sp-shadow-sm);
    border: 1px solid var(--sp-border);
    transition: all 0.3s ease;
    cursor: pointer;
}
.spot-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sp-shadow-lg);
}
.spot-card .card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--sp-bg-light);
}
.spot-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.spot-card:hover .card-image img {
    transform: scale(1.08);
}
.spot-card .category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.spot-card .card-content {
    padding: 24px;
}
.spot-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sp-text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.spot-card .card-text {
    color: var(--sp-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spot-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--sp-border);
}
.spot-card .location {
    display: flex;
    align-items: center;
    color: var(--sp-text-secondary);
    font-size: 0.9rem;
}
.spot-card .location svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    stroke: var(--sp-primary);
    fill: none;
}
.spot-card .view-btn {
    color: var(--sp-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.spot-card .view-btn:hover {
    color: var(--sp-secondary);
}
.spot-card .view-btn svg {
    width: 14px;
    height: 14px;
    margin-left: 6px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}
.spot-card:hover .view-btn svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .spots-hero h1 { font-size: 2.2rem; }
    .spots-hero { height: 50vh; }
    .spots-grid { grid-template-columns: 1fr; }
    .spots-category-filter a { padding: 10px 20px; font-size: 0.85rem; }
}


/* ============================================
   Guides Page
   ============================================ */
.guides-page {
    --gd-primary: #10B981;
    --gd-primary-light: #D1FAE5;
    --gd-secondary: #06B6D4;
    --gd-accent: #F59E0B;
    --gd-bg-light: #F8FAFC;
    --gd-bg-card: #FFFFFF;
    --gd-text-primary: #1E293B;
    --gd-text-secondary: #64748B;
    --gd-border: #E2E8F0;
    --gd-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --gd-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --gd-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --gd-radius-sm: 8px;
    --gd-radius-md: 8px;
    --gd-radius-lg: 8px;
}

.guides-hero {
    position: relative;
    height: 55vh;
    min-height: 450px;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(16, 185, 129, 0.15) 50%, rgba(6, 182, 212, 0.15) 100%), url('../images/Fujian Tulou8.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    padding-bottom: calc(3rem + 4ch);
    overflow: hidden;
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(16, 185, 129, 0.2) 50%, rgba(6, 182, 212, 0.2) 100%);
    z-index: 1;
}
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 15s infinite ease-in-out;
    z-index: 0;
}
.hero-bg-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.4);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}
.hero-bg-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.4);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}
.hero-bg-blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.3);
    top: 50%;
    right: 20%;
    animation-delay: 10s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}
.guides-hero .hero-container {
    max-width: 800px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}
.guides-hero h1,
.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
}
.guides-hero p,
.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.guides-hero .search-box {
    margin-top: 16px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.guides-hero .search-box input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.guides-content {
    max-width: 1280px;
    margin: -40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.search-section {
    display: flex;
    justify-content: center;
}
.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}
.search-box input {
    width: 100%;
    padding: 14px 50px 14px 24px;
    border: 2px solid var(--gd-border);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: var(--gd-shadow-sm);
}
.search-box input:focus {
    border-color: var(--gd-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 10px 40px rgba(16, 185, 129, 0.1);
    transform: scale(1.02);
}
.search-box input::placeholder {
    color: var(--gd-text-secondary);
    transition: opacity 0.3s ease;
}
.search-box input:focus::placeholder {
    opacity: 0.6;
}
.search-box svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--gd-text-secondary);
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: all 0.3s ease;
}
.search-box input:focus + svg {
    color: var(--gd-primary);
    transform: translateY(-50%) scale(1.1);
}
.search-glow {
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: var(--gd-primary);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.search-box input:focus ~ .search-glow {
    opacity: 0.2;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding-bottom: 60px;
}

.guides-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gd-text-secondary);
    display: none;
}
.guides-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}
.guides-empty h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--gd-text-primary);
}

.guide-card {
    background: var(--gd-bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--gd-shadow-sm);
    border: 1px solid var(--gd-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: cardFadeInUp 0.6s ease-out forwards;
    position: relative;
}
.guide-card:nth-child(1) { animation-delay: 0.1s; }
.guide-card:nth-child(2) { animation-delay: 0.2s; }
.guide-card:nth-child(3) { animation-delay: 0.3s; }
.guide-card:nth-child(4) { animation-delay: 0.4s; }
.guide-card:nth-child(5) { animation-delay: 0.5s; }
.guide-card:nth-child(6) { animation-delay: 0.6s; }
@keyframes cardFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gd-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.guide-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    border-color: transparent;
}
.guide-card:hover::before {
    opacity: 1;
}
.guide-card:hover .guide-card-header {
    filter: brightness(1.08);
}
.guide-card:hover .guide-card-header svg {
    transform: rotate(5deg) scale(1.1);
}
.guide-card:hover .guide-btn {
    transform: translateX(4px);
    padding-right: 28px;
}

.guide-card-header {
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.guide-card-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    filter: blur(20px);
}
.guide-card-header svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.guide-card-header h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

.guide-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.guide-card-body p {
    color: var(--gd-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.guide-features {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.guide-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gd-border);
    color: var(--gd-text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.guide-features li:last-child {
    border-bottom: none;
}
.guide-features svg {
    width: 16px;
    height: 16px;
    color: var(--gd-primary);
    flex-shrink: 0;
}

.guide-card-footer {
    padding: 0 24px 24px;
}
.guide-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}
.guide-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.guide-btn:hover::after {
    transform: translateX(100%);
}
.guide-btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.guide-card:hover .guide-btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .guides-hero h1 { font-size: 2rem; }
    .guides-hero p { font-size: 1rem; padding: 0 20px; }
    .guides-grid { grid-template-columns: 1fr; gap: 20px; }
    .guide-card-header { padding: 20px; }
    .guide-card-header svg { width: 48px; height: 48px; }
}


/* ============================================
   Panorama Page
   ============================================ */
.panorama-page {
    --pn-primary: #10B981;
    --pn-primary-light: #D1FAE5;
    --pn-secondary: #06B6D4;
    --pn-accent: #F59E0B;
    --pn-bg-light: #F8FAFC;
    --pn-bg-card: #FFFFFF;
    --pn-text-primary: #1E293B;
    --pn-text-secondary: #64748B;
    --pn-border: #E2E8F0;
    --pn-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --pn-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --pn-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --pn-radius-sm: 8px;
    --pn-radius-md: 8px;
    --pn-radius-lg: 8px;
}

.pano-hero {
    min-height: 50vh;
    background: linear-gradient(rgba(10, 22, 40, 0.6), rgba(10, 22, 40, 0.7)), url('../images/Puzhehei3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 20px 1.5rem 20px;
    margin-bottom: 0;
}
.pano-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}
.pano-hero .pano-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}
.pano-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.pano-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
}
.pano-hero .search-box {
    margin-top: 16px;
    margin-bottom: 0;
}
.pano-hero .search-box input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.panorama-content {
    max-width: 1280px;
    margin: -4px auto 0;
    padding: 5px 24px 30px;
}

.pano-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 10px;
}
.pano-filter-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid var(--pn-primary);
    background: white;
    color: var(--pn-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.pano-filter-btn:hover,
.pano-filter-btn.active {
    background: var(--pn-primary);
    color: white;
}

.panorama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pano-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--pn-text-secondary);
    display: none;
}
.pano-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}
.pano-empty h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--pn-text-primary);
}
.pano-empty a {
    color: var(--pn-primary);
    font-weight: 600;
    text-decoration: none;
}

.panorama-card {
    background: var(--pn-bg-card);
    border-radius: var(--pn-radius-lg);
    overflow: hidden;
    box-shadow: var(--pn-shadow-md);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.panorama-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pn-shadow-lg);
}

.pano-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--pn-bg-light);
}
.pano-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.panorama-card:hover .pano-card-image img {
    transform: scale(1.1);
}

.pano-card-type {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pano-card-type svg {
    width: 14px;
    height: 14px;
}

.pano-card-location {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pano-card-location svg {
    width: 14px;
    height: 14px;
}

.pano-card-body {
    padding: 24px;
}
.pano-card-body h3 {
    font-size: 1.3rem;
    color: var(--pn-text-primary);
    margin-bottom: 10px;
}
.pano-card-body p {
    color: var(--pn-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pano-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--pn-primary) 0%, var(--pn-secondary) 100%);
    color: white;
    border-radius: var(--pn-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.pano-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.pano-view-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .pano-hero h1 { font-size: 2rem; }
    .pano-hero p { font-size: 1rem; }
    .panorama-content { padding: 30px 16px; }
    .panorama-grid { grid-template-columns: 1fr; }
}


/* ============================================
   About Page
   ============================================ */
.about-content { line-height: 1.8; color: #333; }
.about-content p { margin-bottom: 1.2rem; }
.about-content img { max-width: 100%; height: auto; display: block; margin: 1rem auto; border-radius: 8px; }
/* 旧规则已过时：颜色/字重由下方 L6368+ 的最终规则和文件末尾的 FINAL RULE 统一控制，
   避免蓝色彩色链接+下划线与新的加粗深色内链风格冲突 */
/* @legacy .about-content a { color: #2980b9; text-decoration: underline; } */
/* @legacy .about-content a:hover { color: #1abc9c; } */
.about-content h1, .about-content h2, .about-content h3 { margin: 1.5rem 0 1rem; color: #2c3e50; }
.about-content ul, .about-content ol { margin: 1rem 0 1rem 2rem; }
.about-content li { margin-bottom: 0.5rem; }

/* Route card clickable */
.route-card-clickable {
    cursor: pointer;
}
.route-card-clickable:hover {
    border: 2px solid var(--accent-green);
}
.route-card-clickable:hover .card-img {
    opacity: 0.9;
}


/* ============================================
   Home Page Enhancements
   ============================================ */

/* Hero Section */
.hero-home {
    position: relative;
    overflow: hidden;
}
.hero-home::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="0.5"/></svg>');
    background-size: 250px;
    opacity: 0.6;
    z-index: 1;
}

/* Hero Slides 轮播 */
.hero-slides {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    animation: heroFade 9s infinite;
}
@keyframes heroFade {
    0% { opacity: 0; }
    5% { opacity: 1; }
    28% { opacity: 1; }
    33% { opacity: 0; }
    100% { opacity: 0; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ADE80;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.hero-home h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-home .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    opacity: 1;
    margin-bottom: 0.5rem;
    color: #86EFAC;
}
.hero-home .hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 1rem;
}
.hero-home .search-box {
    max-width: 450px;
    margin: 0 auto;
}
.hero-home .search-box input {
    width: 100%;
    padding: 14px 50px 14px 24px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.hero-home .search-box input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}
.hero-home .search-box svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--dark-gray);
    fill: none;
    stroke-width: 2;
}
.hero-home .search-section {
    position: relative;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Section Header */
.section-header-center {
    text-align: center;
    margin-bottom: 2rem;
}

/* Card Image Wrapper with Overlay */
.card-img-wrap {
    position: relative;
    overflow: hidden;
}
.card-img-wrap .card-img {
    transition: transform 0.4s ease;
}
.card:hover .card-img-wrap .card-img {
    transform: scale(1.08);
}
.card-img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    pointer-events: none;
}

/* Card Badges */
.card-days-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.9);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.card-location-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.78rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* Spot Card on Home */
.spot-card-home .card-view-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.75rem;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}
.spot-card-home:hover .card-view-link {
    gap: 8px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0A1628 0%, #1A2A4A 50%, #0A1628 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(34,197,94,0.15), transparent 70%);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.1), transparent 70%);
    border-radius: 50%;
}
.cta-inner {
    position: relative;
    z-index: 2;
}
.btn-cta-white {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 8px;
    background: #fff;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}
.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34,197,94,0.5);
    color: #16A34A;
}
.cta-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.cta-trust svg {
    stroke: var(--accent-green);
}

/* Scroll Reveal Animation */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Home page section alternating backgrounds */
.section:nth-of-type(odd) {
    /* keep default white */
}
.section:nth-of-type(even) {
    background-color: var(--light-gray);
}
.section.features {
    background-color: var(--light-gray) !important;
}
.section.stories {
    background-color: var(--primary-color) !important;
}
.section.cta-section {
    background: linear-gradient(135deg, #0A1628 0%, #1A2A4A 50%, #0A1628 100%) !important;
}

@media (max-width: 768px) {
    .hero-home h1 { font-size: 2.2rem; }
    .hero-home .hero-subtitle { font-size: 1.1rem; }
    .hero-home .hero-desc { font-size: 1rem; }
    .cta-trust { gap: 1rem; }
    .scroll-indicator { display: none; }
}

/* === Routes list page (routes.php) — class-based layout === */
.route-card-wide { grid-column: span 2; }
.route-card-inner { display: flex; }
.route-card-thumb { position: relative; width: 40%; flex-shrink: 0; }
.route-card-thumb .card-img { width: 100%; height: 100%; object-fit: cover; }
.route-card-body { flex: 1; }

@media (max-width: 640px) {
    /* Featured Spots: horizontal card layout to visually differentiate from Routes (vertical) */
    .spot-card-home {
        display: flex !important;
        flex-direction: row;
        align-items: stretch;
    }
    .spot-card-home .card-img-wrap {
        width: 50%;
        flex-shrink: 0;
    }
    .spot-card-home .card-img {
        height: 100%;
        min-height: 130px;
        object-fit: cover;
    }
    .spot-card-home .card-content {
        flex: 1;
        padding: 12px 14px;
    }
    .spot-card-home .card-title {
        font-size: 1rem;
    }
    /* Route list: vertical layout on mobile, image fills width on top */
    .route-card-inner { flex-direction: column; }
    .route-card-thumb { width: 100%; }
    .route-card-thumb .card-img { height: 180px; }
}


/* ============================================
   Page-specific CSS Variables (tips, spot-detail, guide-detail, panorama-detail)
   ============================================ */
:root {
    --pg-primary: #10B981;
    --pg-primary-light: #D1FAE5;
    --pg-primary-dark: #059669;
    --pg-secondary: #06B6D4;
    --pg-accent: #F59E0B;
    --pg-bg-light: #F8FAFC;
    --pg-bg-card: #FFFFFF;
    --pg-text-primary: #1E293B;
    --pg-text-secondary: #64748B;
    --pg-border-color: #E2E8F0;
    --pg-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --pg-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --pg-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --pg-radius-sm: 8px;
    --pg-radius-md: 8px;
    --pg-radius-lg: 8px;
}


/* ============================================
   Tips Page
   ============================================ */
.tips-page { padding: 0; }

.tips-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
    background: url('../images/Lin zhi Tibet 2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    padding-bottom: 5rem;
    overflow: hidden;
}
.tips-hero > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.tips-hero h1 { 
    font-size: 2.8rem; 
    margin-bottom: 1rem; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 4px 20px rgba(0,0,0,0.5);
    font-weight: 700;
    animation: tipFadeInUp 0.8s ease-out;
}
.tips-hero p { 
    font-size: 1.1rem; 
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    animation: tipFadeInUp 0.8s ease-out 0.2s both;
}
@keyframes tipFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.tips-hero .breadcrumb-on-hero {
    margin-bottom: -2rem;
    animation: tipFadeInUp 0.8s ease-out 0.3s both;
}
.tips-hero .search-box {
    margin-top: calc(32px + 6mm);
    margin-bottom: -6mm;
    animation: tipFadeInUp 0.8s ease-out 0.4s both;
}
.tips-hero .search-box input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}
.tips-hero .search-box input:focus {
    border-color: var(--pg-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 10px 40px rgba(16, 185, 129, 0.15);
    transform: scale(1.02);
}

.tips-content {
    max-width: 1280px;
    margin: 60px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.tips-category {
    margin-bottom: 48px;
    position: relative;
}
.tips-category-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--pg-border-color);
    position: relative;
}
.tips-category-header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background: var(--category-color, var(--pg-primary));
}
.tips-category-header h2 {
    font-size: 1.5rem;
    color: var(--pg-text-primary);
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-link {
    font-size: 0.85rem;
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    background: var(--category-color, var(--pg-primary));
    transition: all 0.3s ease;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.faq-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tip-card {
    background: var(--pg-bg-card);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--pg-shadow-sm);
    border: 1px solid var(--pg-border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: tipCardFadeInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}
.tip-card:nth-child(1) { animation-delay: 0.1s; }
.tip-card:nth-child(2) { animation-delay: 0.2s; }
.tip-card:nth-child(3) { animation-delay: 0.3s; }
.tip-card:nth-child(4) { animation-delay: 0.4s; }
.tip-card:nth-child(5) { animation-delay: 0.5s; }
.tip-card:nth-child(6) { animation-delay: 0.6s; }
@keyframes tipCardFadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}
.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--category-color, var(--pg-primary)), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tip-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.08);
    border-color: transparent;
}
.tip-card:hover::before {
    opacity: 1;
}
.tip-card .tip-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tip-card:hover .tip-icon {
    transform: rotate(5deg) scale(1.1);
}
.tip-card .tip-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tip-card:hover .tip-icon svg {
    transform: scale(1.15);
}
.tip-card-content {
    flex: 1;
}
.tip-card-content h3 {
    color: var(--pg-text-primary);
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.tip-card:hover .tip-card-content h3 {
    color: var(--category-color, var(--pg-primary));
}
.tip-card-content p {
    color: var(--pg-text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.tips-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--pg-text-secondary);
    display: none;
}
.tips-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}
.tips-empty h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--pg-text-primary);
}
.tips-empty p {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .tips-hero h1 {
        font-size: 2rem;
    }
    .tips-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    .tips-content {
        padding: 0 16px;
    }
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tip-card {
        padding: 18px;
        gap: 14px;
    }
    .tip-card .tip-icon {
        width: 44px;
        height: 44px;
    }
    .tips-category-header {
        flex-wrap: wrap;
    }
    .faq-link {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* ====== Tips: 4-Page 顶部 Tab 切换菜单（吸顶） ====== */
.tips-page-tabs {
    position: sticky;
    top: 72px;
    z-index: 80;
    max-width: 1280px;
    margin: 8px auto 28px;
    padding: 12px 22px 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 22px -10px rgba(15, 23, 42, 0.18);
}
.tips-page-tabs::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.12), transparent);
}
.tips-page-tabs-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}
.tips-page-tabs-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pg-text-secondary, #475569);
    margin-right: 4px;
    flex-shrink: 0;
}
.tips-page-tabs-label span {
    font-weight: 500;
    color: var(--pg-text-tertiary, #94A3B8);
    font-size: 0.78rem;
    margin-left: 2px;
}
.tips-page-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 9px 18px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.95);
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: var(--pg-text-primary, #0F172A);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.1;
    position: relative;
    flex-shrink: 0;
}
.tips-page-tab-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.08);
    color: var(--tab-color, #334155);
    border: 1.5px solid var(--tab-color, #334155);
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}
.tips-page-tab:hover {
    border-color: var(--tab-color, #334155);
    color: var(--tab-color, #334155);
    transform: translateY(-1px);
    background: #fff;
}
.tips-page-tab:hover .tips-page-tab-pill {
    background: var(--tab-color, #334155);
    color: #fff;
}
.tips-page-tab.active {
    background: var(--tab-color, #334155);
    border-color: var(--tab-color, #334155);
    color: #fff;
    box-shadow: 0 8px 24px -10px var(--tab-color, #334155);
    transform: translateY(-1px);
}
.tips-page-tab.active .tips-page-tab-pill {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
@media (max-width: 768px) {
    .tips-page-tabs { top: 64px; padding: 10px 14px 6px; margin: 6px auto 22px; border-radius: 16px; }
    .tips-page-tabs::after { left: 14px; right: 14px; }
    .tips-page-tabs-inner { gap: 8px; }
    .tips-page-tabs-label { width: 100%; margin-right: 0; margin-bottom: 2px; }
    .tips-page-tab { padding: 8px 14px; font-size: 0.82rem; flex: 1 1 calc(50% - 4px); min-width: 0; border-radius: 10px; }
}

/* ====== Tips: 吸顶分类 Pills 导航 ====== */
.tips-cat-pills {
    position: sticky;
    top: 72px; /* 主菜单高度 */
    z-index: 80;
    margin: 0 0 32px 0;
    padding: 10px 4px 14px;
}
.tips-cat-pills::before {
    content: '';
    position: absolute;
    inset: 0 0 4px 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    z-index: -1;
}
.tips-cat-pills-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tips-cat-pills-inner::-webkit-scrollbar { display: none; }
.cat-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px 7px 12px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.03);
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}
.cat-pill:hover {
    border-color: var(--pill-color, var(--pg-primary));
    color: var(--pill-color, var(--pg-primary));
    background: #fff;
    transform: translateY(-1px);
}
.cat-pill-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--pill-color, var(--pg-primary));
    opacity: 0.9;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pill-color, var(--pg-primary)) 14%, transparent);
}
.cat-pill-count {
    font-size: 0.75rem;
    font-weight: 700;
    background: #fff;
    color: var(--pill-color, var(--pg-primary));
    padding: 1px 8px;
    border-radius: 12px;
    border: 1.5px solid color-mix(in srgb, var(--pill-color, var(--pg-primary)) 22%, transparent);
    line-height: 1.2;
}
.cat-pill.active {
    background: var(--pill-color, var(--pg-primary));
    border-color: var(--pill-color, var(--pg-primary));
    color: #fff;
    box-shadow: 0 6px 18px -6px var(--pill-color, var(--pg-primary));
    transform: translateY(-1px);
    padding: 7px 12px 7px 14px;
}
.cat-pill.active .cat-pill-count {
    background: rgba(255,255,255,0.22);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.cat-pill.active .cat-pill-dot {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.22);
}

@media (max-width: 768px) {
    .tips-cat-pills { top: 64px; margin-top: 4px; margin-bottom: 22px; }
    .tips-cat-pills-inner { padding: 0 16px; gap: 8px; }
    .cat-pill { padding: 6px 9px 6px 11px; font-size: 0.82rem; border-radius: 16px; }
    .cat-pill.active { padding: 6px 11px 6px 13px; }
}

/* ====== Tips: 分类 Header Sticky 吸顶 ====== */
.tips-category-header {
    position: sticky;
    top: 140px; /* 主菜单 + pills 高度 */
    z-index: 70;
    background: var(--pg-bg-page, #fff);
    padding-top: 12px;
}
@media (max-width: 768px) {
    .tips-category-header { top: 136px; }
}

/* ====== Tips: 卡片 Foldable 折叠 ====== */
.tip-card {
    /* 已有的 flex / padding 保留 */
    cursor: pointer;
}
.tip-card-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tip-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.tip-card-header h3 {
    /* 继承原 h3 样式 */
    color: var(--pg-text-primary);
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.tip-card:hover .tip-card-header h3 {
    color: var(--category-color, var(--pg-primary));
}
.tip-card-toggle {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pg-text-secondary, #64748b);
    background: rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}
.tip-card:hover .tip-card-toggle {
    background: var(--category-color, var(--pg-primary));
    color: #fff;
}
.tip-card-toggle svg {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.tip-card-body {
    max-height: 4000px;
    overflow: hidden;
    margin-top: 10px;
    opacity: 1;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin-top 0.3s ease;
}
.tip-card-body p {
    color: var(--pg-text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* 折叠状态 */
.tip-card.tip-card--collapsed .tip-card-body {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}
.tip-card.tip-card--collapsed .tip-card-toggle svg {
    transform: rotate(0deg);
}
.tip-card:not(.tip-card--collapsed) .tip-card-toggle svg {
    transform: rotate(180deg);
}
.tip-card.tip-card--collapsed {
    padding-bottom: 18px;
    padding-top: 18px;
}
.tip-card:not(.tip-card--collapsed) {
    /* 展开时原padding不变 */
}
/* 折叠状态下hover仍然抬起 */
.tip-card.tip-card--collapsed:hover {
    transform: translateY(-5px) scale(1.01);
}
/* 折叠时卡片更紧凑 */
.tip-card.tip-card--collapsed .tip-card-header h3 {
    font-size: 0.98rem;
}


/* ============================================
   Spot Detail Page
   ============================================ */
.spot-detail { padding: 0; }
.spot-hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.spot-hero .breadcrumb-on-hero {
    margin-top: 16px;
}
.spot-hero::after {
    display: none;
}
.spot-hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 700;
}
.spot-hero p { 
    font-size: 1.2rem; 
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.spot-breadcrumb { 
    background: var(--pg-bg-light); 
    padding: 16px 0;
    border-bottom: 1px solid var(--pg-border-color);
}
.spot-breadcrumb a { 
    color: var(--pg-primary); 
    text-decoration: none;
    font-weight: 500;
}
.spot-breadcrumb a:hover { text-decoration: underline; }

.spot-content {
    max-width: 1280px;
    margin: 0 auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    margin-top: 10px;
    margin-bottom: 20px;
}

.spot-info-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.spot-section {
    background: var(--pg-bg-card);
    padding: 32px;
    border-radius: var(--pg-radius-lg);
    box-shadow: var(--pg-shadow-sm);
    margin-bottom: 24px;
    border: 1px solid var(--pg-border-color);
    transition: box-shadow 0.3s ease;
}
.spot-section:hover {
    box-shadow: var(--pg-shadow-md);
}
.spot-section h2 {
    color: var(--pg-text-primary);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}
.spot-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--pg-primary), var(--pg-secondary));
    border-radius: 2px;
}

.spot-description {
    line-height: 1.8;
    color: var(--pg-text-secondary);
    font-size: 1.05rem;
}

.spot-highlights {
    list-style: none;
    padding: 0;
}
.spot-highlights li {
    padding: 14px 0;
    padding-left: 36px;
    position: relative;
    border-bottom: 1px solid var(--pg-border-color);
    font-size: 1.05rem;
    color: var(--pg-text-primary);
    transition: padding-left 0.3s ease;
}
.spot-highlights li:last-child { border-bottom: none; }
.spot-highlights li:hover { padding-left: 42px; }
.spot-highlights li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--pg-primary-light);
    border-radius: 50%;
    border: 2px solid var(--pg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.spot-highlights li:after {
    content: "✓";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--pg-primary);
    font-weight: bold;
}

.spot-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}
.spot-sidebar-title-section {
    background: var(--pg-bg-card);
    padding: 16px 16px;
    border-radius: var(--pg-radius-lg);
    box-shadow: var(--pg-shadow-sm);
    border: 1px solid var(--pg-border-color);
    margin-bottom: 20px;
}
.spot-sidebar-title {
    margin: 0;
    line-height: 1.4;
    color: var(--pg-primary);
    font-size: 1.2rem;
    font-weight: 600;
}
.spot-price-disclaimer {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #94A3B8;
    padding: 0 16px 14px;
    margin: 0;
}
.spot-info-card {
    background: var(--pg-bg-card);
    padding: 24px;
    border-radius: var(--pg-radius-lg);
    box-shadow: var(--pg-shadow-sm);
    border: 1px solid var(--pg-border-color);
    margin-bottom: 20px;
}
.spot-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 16px;
    background: var(--pg-bg-light);
    border-radius: var(--pg-radius-md);
    transition: all 0.3s ease;
}
.spot-info-item:hover {
    background: var(--pg-primary-light);
    transform: translateX(4px);
}
.spot-info-item:last-child { margin-bottom: 0; }
.spot-info-icon {
    width: 50px;
    height: 50px;
    background: var(--pg-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pg-primary);
    margin-right: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.spot-info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--pg-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.spot-info-item:hover .spot-info-icon {
    transform: scale(1.1);
}
.spot-info-item:hover .spot-info-icon svg {
    stroke: var(--pg-primary-dark);
}
.spot-info-label {
    font-weight: 600;
    color: var(--pg-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    margin-bottom: 4px;
}
.spot-info-value {
    color: var(--pg-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.spot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.spot-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--pg-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--pg-shadow-sm);
}
.spot-gallery img:hover { 
    transform: translateY(-6px) scale(1.02); 
    box-shadow: var(--pg-shadow-lg);
}

.spot-tips {
    background: linear-gradient(135deg, #FEFCE8, #FEF9C3);
    border-left: 4px solid var(--pg-accent);
    padding: 24px;
    border-radius: 0 var(--pg-radius-md) var(--pg-radius-md) 0;
    margin-top: 20px;
}
.spot-tips h3 {
    color: #92400E;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}
.spot-tips-content {
    line-height: 1.7;
    color: var(--pg-text-secondary);
}

.related-spots {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--pg-border-color);
}
.related-spots h2 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--pg-text-primary);
    font-size: 1.8rem;
    font-weight: 700;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.related-card {
    background: var(--pg-bg-card);
    border-radius: var(--pg-radius-lg);
    overflow: hidden;
    box-shadow: var(--pg-shadow-sm);
    border: 1px solid var(--pg-border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pg-shadow-lg);
}
.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-card:hover img {
    transform: scale(1.05);
}
.related-card .content {
    padding: 24px;
}
.related-card h3 {
    color: var(--pg-text-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}
.related-card p {
    color: var(--pg-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card .spot-btn {
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}
.related-card .spot-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--pg-bg-light);
    color: var(--pg-text-primary);
    text-decoration: none;
    border-radius: var(--pg-radius-md);
    margin-bottom: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--pg-border-color);
}
.back-button:hover {
    background: var(--pg-primary);
    color: white;
    border-color: var(--pg-primary);
}
.back-button svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    stroke: currentColor;
    fill: none;
}

@media (max-width: 768px) {
    .spot-info-grid { grid-template-columns: 1fr; }
    .spot-hero h1 { font-size: 2.2rem; }
    .spot-hero { height: 60vh; }
    .spot-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Spot Prev/Next Navigation */
.spot-hero-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.spot-hero-nav.is-sticky {
    position: fixed;
    top: 68px;
    bottom: auto;
    z-index: 99;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
.spot-hero-nav.is-sticky.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.spot-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}
.spot-top-bar .back-button {
    margin-bottom: 0;
}
.spot-pn-inline {
    display: flex;
    gap: 10px;
}
.pn-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--pg-bg-card);
    color: var(--pg-text-primary);
    text-decoration: none;
    border-radius: var(--pg-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--pg-border-color);
    box-shadow: var(--pg-shadow-sm);
    transition: all 0.3s ease;
}
.pn-btn:hover:not(.pn-disabled) {
    background: var(--pg-primary);
    color: #fff;
    border-color: var(--pg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}
.pn-btn.pn-disabled {
    opacity: 0.4;
    cursor: default;
}
.pn-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 560px) {
    .spot-top-bar {
        justify-content: flex-start;
    }
}
@media (max-width: 480px) {
    .spot-top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }
    .spot-top-bar .hero-back-btn { order: 1; flex: 0 0 auto; }
    .spot-top-bar .share-buttons { order: 2; margin-left: auto; }
    .spot-top-bar .hero-pn-inline { order: 3; flex: 0 0 auto; }
    .spot-top-bar .hero-search-section { order: 4; flex: 1 1 120px; max-width: 140px; margin: 0; width: auto; }
    /* When sticky on mobile, hide the "All Spots" back button to save space */
    .spot-hero-nav.is-sticky .hero-back-btn { display: none; }
    .spot-hero-nav { padding: 8px 0; }
}


/* ============================================
   Guide Detail Page
   ============================================ */
.guide-detail-hero {
    position: relative;
    height: 50vh;
    min-height: 200px;
    background: linear-gradient(135deg, var(--guide-clr-0), var(--guide-clr-1));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    padding-bottom: calc(3rem + 6ch);
}
.guide-detail-hero .breadcrumb-on-hero {
    margin-top: calc(16px + 2ch);
}
.guide-detail-hero h1 {
    font-size: 2.8rem; 
    margin-bottom: 1rem; 
    font-weight: 700;
}
.guide-detail-hero p { 
    font-size: 1.1rem; 
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.guide-content {
    max-width: 1280px;
    margin: -40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.guide-info-card {
    background: var(--pg-bg-card);
    padding: 32px;
    border-radius: var(--pg-radius-lg);
    box-shadow: var(--pg-shadow-md);
    border: 1px solid var(--pg-border-color);
    margin-bottom: 32px;
}

.guide-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--guide-clr-0), var(--guide-clr-1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.guide-icon-large svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
}

.guide-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--pg-text-secondary);
    text-align: ;
    max-width: 80%;
    margin: 0 auto 32px;
}
.guide-description h3 {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.guide-description ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
.guide-description li {
    padding-left: 0;
    margin-left: 0;
}

.guide-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.guide-section-card {
    background: var(--pg-bg-card);
    padding: 24px;
    border-radius: var(--pg-radius-md);
    box-shadow: var(--pg-shadow-sm);
    border: 1px solid var(--pg-border-color);
}
.guide-section-card h3 {
    color: var(--guide-clr-0);
    margin-bottom: 16px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.guide-section-card h3 svg {
    width: 20px;
    height: 20px;
    stroke: var(--guide-clr-0);
    fill: none;
}

.guide-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.guide-features-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--pg-border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pg-text-primary);
}
.guide-features-list li:last-child {
    border-bottom: none;
}
.guide-features-list svg {
    width: 16px;
    height: 16px;
    color: var(--guide-clr-0);
    flex-shrink: 0;
}

.guide-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.guide-tips-list li {
    padding: 12px 0;
    border-left: 3px solid var(--guide-clr-0);
    padding-left: 16px;
    margin-bottom: 12px;
    background: var(--pg-bg-light);
    border-radius: 0 var(--pg-radius-sm) var(--pg-radius-sm) 0;
    color: var(--pg-text-primary);
}
.guide-tips-list li:last-child {
    margin-bottom: 0;
}

.suggested-routes {
    background: var(--pg-bg-card);
    padding: 32px;
    border-radius: var(--pg-radius-lg);
    box-shadow: var(--pg-shadow-sm);
    border: 1px solid var(--pg-border-color);
}
.suggested-routes h2 {
    color: var(--pg-text-primary);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.route-card {
    background: var(--pg-bg-light);
    border-radius: var(--pg-radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}
.route-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pg-shadow-md);
}
.route-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.route-card-image .category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--guide-clr-0);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}
.route-card-content {
    padding: 20px;
}
.route-card-content h3 {
    color: var(--pg-text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.route-card-content p {
    color: var(--pg-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}
.route-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--pg-text-secondary);
}
.route-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.route-card-meta svg {
    width: 14px;
    height: 14px;
}

/* Guide back link */
.guide-detail-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pg-text-secondary);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.3s;
}
.guide-detail-page .back-link:hover {
    color: var(--guide-clr-0);
}
.guide-detail-page .back-link svg {
    width: 16px;
    height: 16px;
}

/* Guide Navigation */
.guide-detail-page .guide-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--pg-bg-card);
    border-radius: var(--pg-radius-lg);
    box-shadow: var(--pg-shadow-sm);
    border: 1px solid var(--pg-border-color);
}
.guide-detail-page .guide-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--pg-border-color);
    color: var(--pg-text-secondary);
    background: var(--pg-bg-card);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.guide-detail-page .guide-nav-btn:hover {
    border-color: var(--guide-clr-0);
    color: var(--guide-clr-0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.guide-detail-page .guide-nav-btn.active {
    background: linear-gradient(135deg, var(--guide-clr-0), var(--guide-clr-1));
    border-color: var(--guide-clr-0);
    color: white;
}
.guide-detail-page .guide-nav-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .guide-detail-hero h1 {
        font-size: 2rem;
    }
    .guide-detail-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    .guide-content {
        padding: 0 16px;
    }
    .routes-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   Panorama Detail Page
   ============================================ */
.panorama-detail-page {
    overflow-x: hidden;
    max-width: 100%;
}
.panorama-detail-page .panorama-hero-section {
    position: relative;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
}
.panorama-detail-page .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.panorama-detail-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}
.panorama-detail-page .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: white;
}
.panorama-detail-page .hero-content .type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--pano-type-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.panorama-detail-page .hero-content .type-badge svg {
    width: 14px;
    height: 14px;
}
.panorama-detail-page .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.panorama-detail-page .hero-content .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1rem;
    opacity: 0.95;
}
.panorama-detail-page .hero-content .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.panorama-detail-page .hero-content .meta-item svg {
    width: 18px;
    height: 18px;
}

/* Panorama back link */
.panorama-detail-page .pano-back-link {
    position: absolute;
    top: 100px;
    left: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.95);
    color: var(--pg-text-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: var(--pg-shadow-md);
    transition: all 0.3s;
}
.panorama-detail-page .pano-back-link:hover {
    background: white;
    transform: translateX(-5px);
}
.panorama-detail-page .pano-back-link svg {
    width: 18px;
    height: 18px;
}

.panorama-detail-page .main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 30px;
}

.panorama-detail-page .panorama-viewer {
    background: var(--pg-bg-card);
    border-radius: var(--pg-radius-lg);
    overflow: hidden;
    box-shadow: var(--pg-shadow-lg);
    margin-bottom: 50px;
}
.panorama-detail-page .viewer-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.panorama-detail-page .viewer-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}
.panorama-detail-page .viewer-header h2 svg {
    width: 24px;
    height: 24px;
    color: var(--pg-primary);
}
.panorama-detail-page .viewer-instructions {
    font-size: 0.9rem;
    opacity: 0.8;
}
.panorama-detail-page .viewer-frame {
    width: 100%;
    height: 500px;
    border: none;
    background: #000;
}
.panorama-detail-page .fallback-view {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E293B 0%, #0f172a 100%);
    color: white;
    text-align: center;
}
.panorama-detail-page .fallback-view svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--pg-primary);
}
.panorama-detail-page .fallback-view h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.panorama-detail-page .fallback-view p {
    opacity: 0.8;
    margin-bottom: 25px;
}
.panorama-detail-page .external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--pg-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--pg-radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}
.panorama-detail-page .external-link:hover {
    background: #059669;
    transform: scale(1.05);
}
.panorama-detail-page .description-section {
    background: var(--pg-bg-card);
    border-radius: var(--pg-radius-lg);
    padding: 40px;
    box-shadow: var(--pg-shadow-md);
    margin-bottom: 50px;
}
.panorama-detail-page .section-title {
    font-size: 1.5rem;
    color: var(--pg-text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panorama-detail-page .section-title svg {
    width: 28px;
    height: 28px;
    color: var(--pg-primary);
}
.panorama-detail-page .description-content {
    color: var(--pg-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}
.panorama-detail-page .related-section {
    margin-top: 50px;
}
.panorama-detail-page .pano-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}
.panorama-detail-page .pano-related-card {
    background: var(--pg-bg-card);
    border-radius: var(--pg-radius-md);
    overflow: hidden;
    box-shadow: var(--pg-shadow-sm);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.panorama-detail-page .pano-related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pg-shadow-md);
}
.panorama-detail-page .pano-related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.panorama-detail-page .pano-related-card .card-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--pano-type-color);
}
.panorama-detail-page .pano-related-card-body {
    padding: 20px;
}
.panorama-detail-page .pano-related-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--pg-text-primary);
}
.panorama-detail-page .pano-related-card-body p {
    font-size: 0.9rem;
    color: var(--pg-text-secondary);
}
.panorama-detail-page footer {
    background: #1E293B;
    color: white;
    padding: 60px 24px 30px;
    margin-top: 60px;
}
.panorama-detail-page .footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.panorama-detail-page .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--pg-primary);
}
.panorama-detail-page .footer-section p {
    color: #94A3B8;
    line-height: 1.7;
}
.panorama-detail-page .footer-links {
    list-style: none;
}
.panorama-detail-page .footer-links li {
    margin-bottom: 10px;
}
.panorama-detail-page .footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}
.panorama-detail-page .footer-links a:hover {
    color: var(--pg-primary);
}
.panorama-detail-page .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #334155;
    color: #64748B;
}
.panorama-detail-page .hide-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.panorama-detail-page .hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .panorama-detail-page .hero-content h1 {
        font-size: 1.8rem;
    }
    .panorama-detail-page .hero-content {
        padding: 24px;
    }
    .panorama-detail-page .main-content {
        padding: 40px 16px;
    }
    .panorama-detail-page .viewer-frame {
        height: 350px;
    }
    .panorama-detail-page .description-section {
        padding: 24px;
    }
    /* Reduce hero height on mobile so the 360 viewer is visible without much scrolling */
    .panorama-detail-page .panorama-hero-section {
        height: 50vh;
        min-height: 320px;
    }
    .panorama-detail-page .pano-back-link {
        top: 80px;
        left: 16px;
    }
}


/* ============================================
   Inline Style Replacements
   ============================================ */
.opacity-muted { opacity: 0.7; }
.hero-search-wrap { max-width: 500px; width: 100%; }
.faq-no-results { color: #6B7280; margin-bottom: 20px; }
.faq-search-hint { color: #6B7280; }

/* ============================================
   Phase 1 Enhancements
   ============================================ */

/* Hero tagline - niche / anti-crowd positioning */
.hero-home .hero-tagline {
    display: inline-block;
    margin: 0 auto 0.75rem;
    padding: 6px 16px;
    font-size: 0.95rem;
    font-style: italic;
    color: #FDE68A;
    background: rgba(253, 224, 71, 0.12);
    border: 1px dashed rgba(253, 224, 71, 0.35);
    border-radius: 999px;
    animation: heroFadeIn 1s ease-out 0.4s backwards;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Trust icons bar (between hero and stats) */
.trust-icons-bar {
    padding: 20px 0;
    background: var(--gd-bg-soft, #F9FAFB);
    border-bottom: 1px solid var(--gd-border, #E5E7EB);
}
.trust-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.trust-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 10px;
    border-radius: 14px;
    color: var(--gd-text-primary, #111827);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}
.trust-icon-item:hover {
    background: var(--gd-bg-card, #fff);
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}
.trust-icon-emoji {
    font-size: 1.75rem;
    line-height: 1;
}
.trust-icon-label {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--gd-text-secondary, #374151);
}

/* Stories: flag badge + source badge */
.story-source-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.story-avatar-wrap {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.story-avatar-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
}
.story-flag {
    position: absolute;
    bottom: -2px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Practical info 5 cards */
.practical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.practical-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    background: var(--gd-bg-card, #fff);
    border-radius: 18px;
    border: 1px solid var(--gd-border, #E5E7EB);
    box-shadow: var(--gd-shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.practical-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--pi-bar, #22C55E);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.practical-card:hover::before { transform: scaleX(1); }
.practical-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
    border-color: var(--pi-bar, #22C55E);
}
.practical-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--pi-bar, #22C55E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}
.practical-card:hover .practical-card-icon {
    transform: scale(1.08) rotate(-2deg);
}
.practical-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.practical-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pi-bar, #22C55E);
    margin: 0 0 10px;
}
.practical-card-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--gd-text-secondary, #4B5563);
    margin: 0 0 16px;
    flex: 1;
}
.practical-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pi-bar, #22C55E);
    transition: gap 0.2s ease;
}
.practical-card:hover .practical-card-link {
    letter-spacing: 0.3px;
}
.practical-card[data-pi-color] { --pi-bar: attr(data-pi-color color); }
.practical-card[data-pi-color="#F59E0B"] { --pi-bar: #F59E0B; }
.practical-card[data-pi-color="#8B5CF6"] { --pi-bar: #8B5CF6; }
.practical-card[data-pi-color="#EC4899"] { --pi-bar: #EC4899; }
.practical-card[data-pi-color="#06B6D4"] { --pi-bar: #06B6D4; }
.practical-card[data-pi-color="#22C55E"] { --pi-bar: #22C55E; }
/* ensure 3-column grid wraps last 2 correctly */
.practical-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Responsive overrides */
@media (max-width: 900px) {
    .trust-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .trust-icons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .trust-icon-label { font-size: 0.75rem; }
    .trust-icon-emoji { font-size: 1.4rem; }
    .hero-home .hero-tagline { font-size: 0.82rem; padding: 5px 12px; }
}

/* ============================================
   Phase 2: Share Buttons + Feedback Widget
   ============================================ */

/* Share buttons bar */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    flex-shrink: 0;
}
.share-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-right: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    transition: all 0.25s ease;
    text-decoration: none;
}
.share-btn:hover {
    transform: translateY(-2px) scale(1.06);
    color: #fff;
}
.share-pin:hover { background: #E60023; box-shadow: 0 6px 14px rgba(230, 0, 35, 0.35); }
.share-fb:hover  { background: #1877F2; box-shadow: 0 6px 14px rgba(24, 119, 242, 0.35); }
.share-tw:hover  { background: #000;    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); }
.share-link:hover{ background: #10B981; box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35); }

/* Toast (copy-link success) */
.share-toast {
    position: fixed;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #111827;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 96px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9988;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    color: #374151;
    border-color: #D1D5DB;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* Floating feedback button */
.feedback-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9990;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fabBob 3.2s ease-in-out infinite;
}
@keyframes fabBob {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-4px); }
}
.feedback-fab:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.45);
}
.feedback-fab svg { width: 26px; height: 26px; }
.feedback-fab .fb-close { display: none; }
.feedback-fab.is-open { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.feedback-fab.is-open .fb-open { display: none; }
.feedback-fab.is-open .fb-close { display: block; }

/* Feedback popup panel */
.feedback-panel {
    position: fixed;
    right: 24px;
    bottom: 96px;
    width: 340px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px -10px rgba(0,0,0,0.25);
    z-index: 9989;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #E5E7EB;
}
.feedback-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.feedback-panel-header {
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
    color: #fff;
    position: relative;
}
.feedback-panel-header h3 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
}
.feedback-panel-header p {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.9;
}
.feedback-panel-body {
    padding: 18px 20px 20px;
}
.fb-form-row { margin-bottom: 14px; }
.fb-form-row label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.fb-form-row label .req { color: #EF4444; margin-left: 2px; }
.fb-form-row input,
.fb-form-row select,
.fb-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    background: #F9FAFB;
    box-sizing: border-box;
}
.fb-form-row input:focus,
.fb-form-row select:focus,
.fb-form-row textarea:focus {
    border-color: #10B981;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.fb-form-row textarea {
    resize: vertical;
    min-height: 90px;
}
.fb-submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}
.fb-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}
.fb-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.fb-success-state {
    text-align: center;
    padding: 24px 16px;
    display: none;
}
.fb-success-state.is-visible { display: block; }
.fb-success-state .success-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.fb-success-state h4 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #059669;
}
.fb-success-state p {
    margin: 0;
    font-size: 0.88rem;
    color: #6B7280;
    line-height: 1.55;
}

@media (max-width: 560px) {
    .feedback-panel {
        right: 12px;
        bottom: 88px;
        width: calc(100vw - 24px);
    }
    .feedback-fab { right: 16px; bottom: 16px; }
    /* Move back-to-top to bottom-LEFT on mobile so it never overlaps the feedback bubble */
    .back-to-top { left: 16px; right: auto; bottom: 24px; width: 42px; height: 42px; z-index: 9996; }
    .back-to-top svg { width: 18px; height: 18px; }
    .share-label { display: none; }
    .share-buttons { padding: 5px 8px; }
    .share-btn { width: 28px; height: 28px; }
}

/* ============ Privacy consent banner ============ */
.privacy-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F2937;
    color: #E5E7EB;
    z-index: 9994;
    display: none;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}
.privacy-consent.show { display: block; }
.privacy-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.privacy-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}
.privacy-text a {
    color: #93C5FD;
    text-decoration: underline;
}
.privacy-text a:hover { color: #BFDBFE; }
.privacy-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.privacy-btn {
    padding: 6px 22px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
}
.privacy-btn-accept {
    background: #22C55E;
    color: #FFFFFF;
    border-color: #22C55E;
}
.privacy-btn-accept:hover { background: #16A34A; border-color: #16A34A; }
.privacy-btn-reject {
    background: transparent;
    color: #D1D5DB;
    border-color: #6B7280;
}
.privacy-btn-reject:hover { color: #F3F4F6; border-color: #9CA3AF; }

/* When banner is visible, push floating buttons up */
body.has-privacy-banner .feedback-fab { bottom: 76px; }
body.has-privacy-banner .back-to-top { bottom: 156px; }

@media (max-width: 560px) {
    .privacy-consent-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 16px;
        gap: 8px;
    }
    .privacy-text { font-size: 0.8rem; text-align: center; }
    .privacy-buttons { justify-content: center; }
    .privacy-btn { padding: 6px 18px; font-size: 0.8rem; }
    /* Mobile: banner ~78px tall, push fab/back-to-top above it */
    body.has-privacy-banner .feedback-fab { bottom: 96px; }
    body.has-privacy-banner .back-to-top { bottom: 100px; }
}

/* ============ Cultural / Food / Budget cards ============ */
.route-note-card,
.spot-note-card {
    border-radius: 14px;
    padding: 20px 22px;
    line-height: 1.85;
    font-size: 0.96rem;
    border-left: 4px solid transparent;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.route-note-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}
.route-note-culture {
    border-left-color: #8B5CF6;
    background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 60%);
}
.route-note-food {
    border-left-color: #F59E0B;
    background: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 60%);
}
.route-culture-section h2,
.route-food-section h2,
.route-budget-section h2 {
    display: flex;
    align-items: center;
}
.route-budget-card {
    border-radius: 16px;
    background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
    border: 1px solid #BBF7D0;
    padding: 22px 24px;
}
.route-budget-amount {
    font-size: 1.7rem;
    font-weight: 800;
    color: #065F46;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
}
.route-budget-meta {
    font-size: 0.8rem;
    color: #047857;
    opacity: 0.85;
    margin-bottom: 14px;
    font-weight: 500;
}
.route-budget-disclaimer {
    font-size: 0.78rem;
    line-height: 1.6;
    color: #6B7280;
    background: #FFFFFF;
    border-top: 1px dashed #D1FAE5;
    margin: 0 -24px -22px;
    padding: 14px 24px 18px;
    border-radius: 0 0 16px 16px;
}
.route-budget-disclaimer strong { color: #047857; }

.rd-quick-fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 2px;
    border-bottom: 1px dashed #E5E7EB;
    gap: 12px;
}
.rd-quick-fact > span:first-child {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 500;
    flex-shrink: 0;
}
.rd-quick-fact > span:last-child {
    font-size: 0.92rem;
    color: #111827;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}
.rd-price-highlight {
    background: #ECFDF5;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #A7F3D0;
    margin-bottom: 2px;
}
.rd-price-highlight > span:first-child { color: #047857; }
.rd-price-highlight > span:last-child { color: #065F46; font-size: 1rem; }
.rd-price-disclaimer { display: block; }

/* ============ Spot: cultural / food / ticket ============ */
.spot-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
}
.spot-note-card {
    font-size: 0.92rem;
    color: #4B5563;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}
.spot-note-culture {
    border-left-color: #8B5CF6;
    background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 60%);
}
.spot-note-food {
    border-left-color: #F59E0B;
    background: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 60%);
}
/* ----- Spot Notes: 可靠的 clamp + 底部留空方案（职责分离架构）
 *
 *   卡片外壳 = .spot-note-card  →  负责 padding / 颜色 / border / 阴影
 *   文本内核 = .spot-note-clamp  →  只负责 line-clamp 截断（无任何 padding）
 *
 *   这样 line-clamp 计算时永远不会被 padding-bottom 干扰，
 *   省略号始终跟第6行文本同一行显示，
 *   同时卡片底部有充足 padding（20px）保证"最后一行底下有留空"。
 *   —— 折叠/展开都共用外层卡片的 padding，不再用 magic calc / hardcode。
 * --------------------------------------------------------------------- */
.spot-note-wrap {
    position: relative;
    margin-bottom: 16px;
}
.spot-note-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /*
     * 内核容器：0 padding / 0 border / 0 background
     * 纯 line-clamp 截断盒，max-height 也交给浏览器原生计算，
     * 这样省略号永远紧贴最后一行文字，不会"漂"到空白行。
     */
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: max-height 0.35s ease;
}
.spot-note-wrap.is-expanded .spot-note-clamp {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    max-height: none;
    /* 展开后也不需要 padding（外层卡片继续提供对称 padding 保证最后一行留空） */
    padding: 0;
}
.spot-note-toggle {
    display: block;
    margin-top: 18px;
    margin-bottom: 14px;
    background: transparent;
    border: none;
    padding: 0;
    color: #6B7280;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
.spot-note-toggle:hover { color: #374151; text-decoration: underline; }
.spot-note-wrap .spot-note-toggle::after { content: " ↓"; }
.spot-note-wrap.is-expanded .spot-note-toggle::after { content: " ↑"; }
.spot-note-wrap.is-short .spot-note-toggle { display: none; }

/* ----- Route Notes 8-line clamp (same architecture as spot notes) ----- */
.route-note-wrap {
    position: relative;
    margin-bottom: 16px;
}
.route-note-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.route-note-wrap.is-expanded .route-note-clamp {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    max-height: none;
}
.route-note-toggle {
    display: block;
    margin-top: 18px;
    margin-bottom: 14px;
    background: transparent;
    border: none;
    padding: 0;
    color: #6B7280;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
.route-note-toggle:hover { color: #374151; text-decoration: underline; }
.route-note-wrap .route-note-toggle::after { content: " ↓"; }
.route-note-wrap.is-expanded .route-note-toggle::after { content: " ↑"; }
.route-note-wrap.is-short .route-note-toggle { display: none; }
.route-note-wrap.is-collapsed .route-note-card { display: none; }
.route-note-wrap.is-collapsed { margin: 0; padding: 0; }
.title-toggle-btn {
    display: inline-block;
    margin-left: 12px;
    padding: 2px 14px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;
}
.title-toggle-btn:hover {
    background: #e5e7eb;
    color: #374151;
}
.spot-info-highlight {
    background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
    border-radius: 12px;
    padding: 10px 12px;
}
.spot-info-highlight .spot-info-label { color: #047857; }
.spot-info-highlight .spot-info-value { color: #065F46; font-weight: 700; }

/* ============ List card price badges ============ */
.route-card-price-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    z-index: 2;
    letter-spacing: 0.2px;
}
.spot-card-price-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

/* Ensure feedback FAB sits above sticky headers */
.feedback-fab,
.feedback-panel {
    z-index: 99995 !important;
}

/* ================== Sidebar-light Share & Prev/Next variants ================== */
.share-buttons--light {
    background: transparent;
    color: #1E293B;
    border: 1px solid #E5E7EB;
    padding: 6px 10px;
    width: 100%;
    justify-content: space-between;
}
.share-buttons--light .share-label {
    color: #475569;
}
.share-buttons--light .share-btn {
    background: #F8FAFC;
    color: #334155;
    border: 1px solid #E2E8F0;
}
.share-buttons--light .share-btn:hover {
    transform: translateY(-1px) scale(1.08);
}
.share-buttons--light .share-pin:hover { background: #E60023; color: #fff; border-color: #E60023; }
.share-buttons--light .share-fb:hover  { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-buttons--light .share-tw:hover  { background: #0F172A; color: #fff; border-color: #0F172A; }
.share-buttons--light .share-link:hover{ background: #0EA5E9; color: #fff; border-color: #0EA5E9; }

.hero-pn-inline--light {
    background: transparent;
    border-top: none;
}
.hero-pn-inline--light .hero-pn-btn {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #334155;
    font-weight: 600;
    border-radius: 10px;
    padding: 7px 14px;
}
.hero-pn-inline--light .hero-pn-btn:hover {
    background: #10B981;
    border-color: #10B981;
    color: #fff;
    transform: translateY(-1px);
}
.hero-pn-inline--light .hero-pn-disabled {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #CBD5E1;
}
.hero-pn-inline--light .hero-pn-disabled:hover {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #CBD5E1;
    transform: none;
}

/* Sidebar box wrapper (used in both route & spot sidebars) */
.sidebar-share-box h3 {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #0F172A;
}
@media (max-width: 960px) {
    .hero-pn-inline--light,
    .share-buttons--light {
        width: 100%;
        max-width: 400px;
    }
}

/* ================== Info page: sticky top bar (breadcrumb + 3 quick links) ================== */
.info-top-wrap {
    position: sticky;
    top: 72px;
    z-index: 99;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.info-top-wrap .spot-top-bar {
    padding: 10px 0;
    gap: 14px;
    justify-content: center;
}
.info-left-group,
.info-right-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.info-breadcrumb-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #64748b;
    flex-wrap: wrap;
}
.info-breadcrumb-inline a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.info-breadcrumb-inline a:hover {
    color: #0F766E;
}
.info-breadcrumb-inline .bc-sep {
    color: #CBD5E1;
}
.info-breadcrumb-inline .bc-current {
    color: #1e293b;
    font-weight: 600;
}

.info-quick-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    flex-wrap: wrap;
}
.info-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9px;
    text-decoration: none;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
    line-height: 1.2;
}
.info-quick-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.info-quick-link:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    color: #0F172A;
}
.info-quick-link.active {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.25);
}
.info-quick-link.active:hover {
    background: #059669;
    border-color: #059669;
    color: #FFFFFF;
}

/* Share组：让SHARE+4图标紧凑靠在一起，不占满宽度散开 */
.info-top-wrap .share-buttons--light {
    width: auto !important;
    justify-content: flex-start !important;
    gap: 6px !important;
}
.info-top-wrap .share-buttons--light .share-btn {
    margin: 0;
}

/* light variant search box in sticky top bar */
.info-top-wrap .hero-search-section {
    flex: 0 1 280px;
    max-width: 320px;
    margin: 0;
}
.info-top-wrap .hero-search-box input {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    padding: 8px 40px 8px 16px;
    font-size: 0.88rem;
}
.info-top-wrap .hero-search-box svg {
    color: #94A3B8;
}

@media (max-width: 1024px) {
    .info-top-wrap .spot-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .info-left-group,
    .info-right-group {
        width: 100%;
        justify-content: center;
    }
    .info-top-wrap .hero-search-section {
        max-width: 100%;
        width: 100%;
        flex: 1 1 100%;
        order: 3;
    }
    .info-top-wrap .share-buttons--light {
        max-width: none !important;
        width: auto !important;
    }
}
@media (max-width: 600px) {
    .info-top-wrap {
        top: 68px;
    }
    .info-left-group,
    .info-right-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    .info-quick-link span.q-label {
        display: none;
    }
    .info-quick-link {
        padding: 6px 8px;
    }
    .hero-pn-inline .hero-pn-btn span.pn-label {
        display: none;
    }
    .share-buttons--light .share-label {
        display: none;
    }
}

/* ============================================================
   About page — inline links + related pages cards
   ============================================================ */
.about-section-block {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.about-content__title {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: #0F172A;
}
.about-content p {
    margin: 0 0 1rem;
}
.about-content a {
    color: #1F2937;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease;
    padding: 0 2px;
    border-radius: 3px;
}
.about-content a:hover {
    color: #0F172A;
    background-color: rgba(15, 23, 42, 0.06);
}

/* 自动生成的内链 (inject_internal_links) 统一用 .il-link，
   外观与 about-content a 完全一致，避免不同页面内链样式不一致造成混乱 */
.il-link {
    color: #1F2937;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease;
    padding: 0 2px;
    border-radius: 3px;
}
.il-link:hover {
    color: #0F172A;
    background-color: rgba(15, 23, 42, 0.06);
}
/* 兼容：如果 il-link 出现在 .about-content 内部（本就有样式），避免重复应用产生冲突 */
.about-content .il-link {
    color: inherit;
    font-weight: inherit;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

/* About: Our Story 三行行距减半（section-title → subtitle → 首段内容）*/
.section--about-our-story {
    padding-top: 4rem;
}
.section--about-our-story .section-title {
    margin-bottom: 1.5rem; /* 原 3rem → 减半 */
}
.section--about-our-story .section-subtitle {
    margin-bottom: 2rem;   /* 原 4rem → 减半 */
}
/*  section-subtitle 下第一个内容块如果来自 DB / fallback，也去掉顶部外边距，防止叠加空白 */
.section--about-our-story .container > div[style*="max-width: 1200px"]:first-of-type > .about-content:first-child,
.section--about-our-story .container > div[style*="max-width: 1200px"]:first-of-type > p:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

/* ============================================================
   FINAL: 自动生成内链 (.il-link) + 关于页内容链接 (.about-content a)
   最终强制样式：统一加粗 + 深色，覆盖任何旧规则 / 缓存
   ============================================================ */
/* 所有带 .il-link class 的内链（il_html/il_text 自动注入的）——全局生效 */
body a.il-link {
    color: #1F2937 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.18s ease, background-color 0.18s ease !important;
    padding: 0 2px;
    border-radius: 3px;
}
body a.il-link:hover {
    color: #0F172A !important;
    background-color: rgba(15, 23, 42, 0.06) !important;
}

/* 关于页内容区内的 <a>（无论是手工写的还是自动注入的 .il-link）—— 与上面保持完全一致 */
body .about-content a {
    color: #1F2937 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.18s ease, background-color 0.18s ease !important;
    padding: 0 2px;
    border-radius: 3px;
}
body .about-content a:hover {
    color: #0F172A !important;
    background-color: rgba(15, 23, 42, 0.06) !important;
}

/* 兼容：当 .il-link 嵌套在 .about-content 内部时，不要因为 inherit 导致丢失颜色/字重 */
body .about-content a.il-link {
    color: #1F2937 !important;
    font-weight: 600 !important;
    background-color: transparent;
}


/* ============================================================
   Scene 页面样式（scene.php / scene-detail.php）
   主色：深蓝 #0A1628；点缀：绿 #22C55E / 黄 #F59E0B
   ============================================================ */

/* ---------- Hero ---------- */
.scene-hero {
    position: relative;
    background: url('../images/scenes/Xiapu1.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 3rem 0 1.5rem 0;
    min-height: 25vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.scene-hero .hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.55) 0%, rgba(26, 42, 74, 0.45) 100%),
                radial-gradient(ellipse at 70% 30%, rgba(34, 197, 94, 0.12), transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(245, 158, 11, 0.10), transparent 55%);
    pointer-events: none;
}
.scene-hero .hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.scene-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}
.scene-hero .hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* ---------- Sticky Filter Bar: Dark gradient bar across full width ---------- */
.scene-filter-bar {
    position: sticky;
    top: 72px;
    z-index: 80;
    width: 100%;
    margin: 0 0 20px 0;
    padding: 14px 0;
    background: linear-gradient(135deg, #0A1628 0%, #1A2A4A 100%);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border: none;
    border-radius: 0;
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
}
.scene-filter-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.scene-search {
    position: relative;
    min-width: 120px;
    max-width: 210px;
    margin-left: auto;
}
.scene-search input {
    width: 100%;
    padding: 11px 40px 11px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    color: #1E293B;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.scene-search input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}
.scene-search input::placeholder { color: #94A3B8; }
.scene-search svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: #64748B;
    fill: none;
    stroke-width: 2;
    pointer-events: none;
}

/* ---------- 4 分类按钮 (on dark bar) ---------- */
.scene-category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}
.scene-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #F8FAFC;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.scene-category-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
    color: #FFFFFF;
}
.scene-category-btn.is-active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #06281A;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.45);
}
.scene-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    font-weight: 700;
}
.scene-category-btn.is-active .scene-cat-count {
    background: rgba(6, 40, 26, 0.28);
}

/* ---------- 主体布局 ---------- */
.scene-main { background: #F8FAFC; }
.scene-layout {
    max-width: 1600px;
    margin: 0 auto;
    padding: 16px 30px 60px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

/* ---------- 右侧搜索 + 分类按钮 ---------- */
.scene-toc {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}
.scene-toc-inner {
    position: relative;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
/* 搜索条 */
.scene-toc-search {
    position: relative;
    margin-bottom: 12px;
}
.scene-toc-search input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #0A1628;
    background: #F8FAFC;
    transition: border-color 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
}
.scene-toc-search input:focus {
    outline: none;
    border-color: var(--accent-green);
    background: #fff;
}
.scene-toc-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #94A3B8;
    stroke-width: 2;
    pointer-events: none;
}
/* 4 个分类按钮（竖排） */
.scene-toc-cats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.scene-toc-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    cursor: pointer;
}
.scene-toc-cat-btn:hover {
    background: #F1F5F9;
    color: #0A1628;
}
.scene-toc-cat-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #64748B;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.scene-toc-cat-label { flex: 1; line-height: 1.2; }
.scene-toc-cat-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94A3B8;
    flex-shrink: 0;
}
/* 当前高亮 */
.scene-toc-cat-btn.is-current {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--accent-green);
    font-weight: 700;
}
.scene-toc-cat-btn.is-current .scene-toc-cat-num {
    background: var(--accent-green);
    color: #fff;
}
.scene-toc-cat-btn.is-current .scene-toc-cat-count {
    color: var(--accent-green);
}
.scene-toc::-webkit-scrollbar { width: 5px; }
.scene-toc::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 999px; }

/* ---------- 大类区块 ---------- */
.scene-cat-section { margin-bottom: 48px; }
.scene-cat-section:last-child { margin-bottom: 0; }
.scene-cat-header {
    position: sticky;
    top: 148px;
    z-index: 60;
    margin-bottom: 20px;
    text-align: center;
    padding: 18px 24px;
    background: linear-gradient(135deg, #0A1628 0%, #1A2A4A 100%);
    border-radius: 16px;
}
.scene-cat-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    text-align: center;
}
.scene-cat-index {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-green);
}
.scene-cat-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
}

/* ---------- 右侧 sticky 侧栏 ---------- */
.scene-sidebar {
    position: sticky;
    top: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}
.scene-side-cat {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.scene-side-cat:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.scene-side-cat.is-current {
    background: linear-gradient(135deg, #0A1628, #1A2A4A);
    border-color: transparent;
}
.scene-side-cat.is-current .scene-side-title { color: #fff; }
.scene-side-cat.is-current .scene-side-desc { color: rgba(255,255,255,0.7); }
.scene-side-cat.is-current .scene-side-num {
    background: var(--accent-green);
    color: #fff;
}
.scene-side-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.scene-side-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.scene-side-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.3;
}
.scene-side-desc {
    font-size: 0.76rem;
    color: #94A3B8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 场景卡片 ---------- */
.scene-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.scene-card {
    display: flex;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.scene-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    border-color: #CBD5E1;
}
.scene-card-media {
    position: relative;
    flex-shrink: 0;
    width: 220px;
    background: #E2E8F0;
    overflow: hidden;
}
.scene-card-img {
    width: 100%;
    height: 150px;            /* routes .card-img 是 200px，这里"略小" */
    object-fit: cover;
    display: block;
}
.scene-card-img-placeholder {
    opacity: 0.85;
}
.scene-card-placeholder {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
}
.scene-card-placeholder svg {
    width: 44px;
    height: 44px;
    stroke: #94A3B8;
    fill: none;
    stroke-width: 1.2;
}
.scene-placeholder-sm { height: 140px; }
.scene-tags-mb { margin-bottom: 14px; }
.scene-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.78);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.scene-card-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.scene-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0A1628;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}
.scene-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.scene-card-title a:hover { color: var(--accent-green); }
.scene-card-text {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 920px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.scene-card-text p { margin: 0; display: inline; }
.scene-card-text p + p { margin-top: 6px; }
.scene-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    align-items: center;
    margin-top: 2px;
}
.scene-tag {
    padding: 3px 9px;
    border-radius: 6px;
    background: #F1F5F9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 500;
}
.scene-tags-hashtags {
    font-size: 0.72rem;
    color: var(--accent-green);
    font-weight: 600;
}
.scene-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}
.scene-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: gap 0.2s;
}
.scene-card-link:hover { gap: 10px; }
.scene-card-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.scene-card-visualtip {
    font-size: 0.72rem;
    color: #94A3B8;
}

/* ---------- 空状态 ---------- */
.scene-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748B;
}
.scene-empty .empty-icon { font-size: 2.4rem; margin-bottom: 12px; }
.scene-empty h3 { color: #0A1628; margin: 0 0 6px 0; font-size: 1.1rem; }
.scene-empty p { margin: 0; font-size: 0.9rem; }

/* ============================================================
   scene-detail.php 详情页
   ============================================================ */
.scene-detail-hero {
    position: relative;
    background: linear-gradient(rgba(10, 22, 40, 0.55), rgba(10, 22, 40, 0.78));
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2rem 0 2rem 0;
    min-height: 25vh;
    display: flex;
    align-items: center;
}
.scene-detail-hero--img {
    background-image: linear-gradient(rgba(10, 22, 40, 0.55), rgba(10, 22, 40, 0.78)), var(--scene-hero-bg);
}
.scene-detail-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: center;
}
.scene-detail-hero .breadcrumb-on-hero .container {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: max-content !important;
    max-width: 100% !important;
}
.scene-detail-hero .breadcrumb-on-hero .container > * {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.scene-detail-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
}
.scene-detail-hero .hero-sub { color: rgba(255, 255, 255, 0.85); margin: 0; text-align: center; }
.scene-detail-topbar {
    position: sticky;
    top: 72px;
    z-index: 80;
    width: 100%;
    margin: 0 0 20px 0;
    padding: 12px 0;
    background: linear-gradient(135deg, #0A1628 0%, #1A2A4A 100%);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
}
.scene-detail-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}
.scene-detail-topbar .scene-search {
    position: relative;
    min-width: 120px;
    max-width: 210px;
    margin-left: auto;
}
.scene-detail-topbar .scene-search input {
    width: 100%;
    padding: 11px 40px 11px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    color: #1E293B;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.scene-detail-topbar .scene-search input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}
.scene-detail-topbar .scene-search input::placeholder { color: #94A3B8; }
.scene-detail-topbar .scene-search svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: #64748B;
    fill: none;
    stroke-width: 2;
    pointer-events: none;
}
.scene-detail-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 30px 60px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.scene-detail-main { min-width: 0; }
.scene-detail-main h2 {
    font-size: 1.4rem;
    color: #0A1628;
    margin: 32px 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #E2E8F0;
}
.scene-detail-main h2:first-child { margin-top: 0; }
.scene-detail-main p { color: #334155; line-height: 1.8; margin: 0 0 14px 0; }
.scene-detail-main .scene-meta {
    background: #F8FAFC;
    border-left: 3px solid var(--accent-green);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    margin: 0 0 14px 0;
    font-size: 0.9rem;
    color: #475569;
}
.scene-detail-main .scene-note { border-left-color: var(--accent-yellow); }
.scene-detail-main .scene-visual { border-left-color: #0EA5E9; font-style: italic; }
.scene-detail-main .scene-keywords,
.scene-detail-main .scene-hashtags { font-size: 0.82rem; color: #64748B; }
.scene-detail-main img { max-width: 100%; height: auto; border-radius: 8px; }
.scene-inline-img {
    margin: 24px 0;
    text-align: center;
}
.scene-inline-img img {
    max-width: 560px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
@media (max-width: 768px) {
    .scene-inline-img img { max-width: 100%; }
}

.scene-detail-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.scene-detail-info-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.scene-detail-info-card h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748B;
    margin: 0 0 12px 0;
}
.scene-detail-info-card .info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.88rem;
}
.scene-detail-info-card .info-row:last-child { border-bottom: 0; }
.scene-detail-info-card .info-label { color: #94A3B8; min-width: 80px; font-weight: 600; }
.scene-detail-info-card .info-value { color: #1E293B; flex: 1; }
.scene-detail-info-card .info-value a { color: var(--accent-green); text-decoration: none; }
.scene-detail-info-card .info-value a:hover { text-decoration: underline; }

/* 相关场景 */
.scene-related {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    padding: 40px 0;
}
.scene-related .container { max-width: 1600px; }
.scene-related h2 {
    font-size: 1.4rem;
    color: #0A1628;
    margin: 0 0 20px 0;
}
.scene-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.scene-related-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
}
.scene-related-card:link,
.scene-related-card:visited,
.scene-related-card:hover,
.scene-related-card:active {
    text-decoration: none;
}
.scene-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}
.scene-related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.scene-related-card .related-body { padding: 14px 16px; }
.scene-related-card h3 { font-size: 1rem; color: #0A1628; margin: 0 0 6px 0; }
.scene-related-card p { font-size: 0.82rem; color: #64748B; margin: 0; line-height: 1.5; }

/* hero 返回 / prev-next（复用 spot-detail 的 .hero-back-btn / .hero-pn-inline） */
.scene-detail-hero .hero-back-btn,
.scene-detail-hero .hero-pn-inline { /* 复用全局已有样式 */ }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
    .scene-detail-content { grid-template-columns: 1fr 260px; gap: 28px; }
}
@media (max-width: 992px) {
    .scene-layout { grid-template-columns: 1fr; }
    .scene-sidebar { display: none; }
    .scene-detail-content { grid-template-columns: 1fr; }
    .scene-detail-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .scene-detail-info-card { flex: 1; min-width: 240px; }
    .scene-hero .hero-title { font-size: 2rem; }
}
@media (max-width: 640px) {
    .scene-hero { padding: 2.5rem 0 1.2rem; min-height: auto; }
    .scene-hero .hero-title { font-size: 1.7rem; }
    .scene-filter-bar { top: 64px; padding: 10px 0; margin: 0 0 16px 0; border-radius: 0; }
    .scene-filter-inner { gap: 8px; flex-direction: column; align-items: stretch; padding: 0 14px; }
    .scene-search { max-width: none; margin-left: 0; }
    .scene-category-buttons { gap: 8px; justify-content: center; }
    .scene-category-btn { padding: 8px 14px; font-size: 0.82rem; }
    .scene-cat-header { top: 170px; padding: 14px 16px; }
    /* Hide the title + description below the search on mobile (category shown in filter bar) */
    .scene-cat-header { display: none; }
    .scene-cat-section { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 8px; }
    .scene-card { flex-direction: column; }     /* 卡片纵向堆叠 */
    .scene-card-media { width: 100%; }
    .scene-card-img,
    .scene-card-placeholder { height: 120px; }  /* 移动端图更小 */
    .scene-card-body { padding: 14px 16px; }
    .scene-detail-hero h1 { font-size: 1.8rem; }
    .scene-detail-topbar { top: 64px; padding: 10px 0; }
    .scene-detail-topbar-inner { flex-direction: column; align-items: stretch; padding: 0 14px; }
    .scene-detail-topbar .scene-search { margin-left: 0; max-width: none; width: 100%; }
    .scene-detail-topbar .scene-search input { width: 100%; }
}

/* ============ Dynamic Info Bar (首页动态信息) ============ */
.dynamic-info-bar {
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    padding: 4px 0;
}
.di-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    white-space: nowrap;
}
.di-grid::-webkit-scrollbar { height: 3px; }
.di-grid::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 2px; }
.di-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 28px 4px 0;
    flex-shrink: 0;
}
.di-item:last-child { padding-right: 0; }
.di-icon {
    width: 18px;
    height: 18px;
    color: #6B7280;
    flex-shrink: 0;
}
.di-value {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
}
.di-weather-city {
    display: inline-block;
    margin-right: 14px;
    white-space: nowrap;
}
.di-visa-link {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.di-visa-link:hover {
    color: #1F2937;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .di-value { font-size: 0.78rem; }
}
@media (max-width: 480px) {
    .dynamic-info-bar { padding: 3px 0; }
    .di-item { padding: 3px 24px 3px 0; gap: 6px; }
    .di-icon { width: 16px; height: 16px; }
    .di-value { font-size: 0.72rem; }
    .di-weather-city { margin-right: 12px; }
}
