
/* 颜色变量 */
body{
    max-width: 640px;
    margin: 0 auto;
    padding-bottom: 50px;
}
:root {
    /* 基础颜色 */
    --primary-color: #0a3b5c;
    --secondary-color: #1e6091;
    --accent-color: #ff9900;
    --light-color: #f5f8fa;
    --dark-color: #333;
    --gray-color: #888;
    --light-gray: #eef2f6;
    --border-color: #ddd;
    --danger-color: #dc3545;
    --success-color: #28a745;
    
    /* 橙色主题 */
    --orange-primary: #ff7700;
    --orange-light: #ffa64d;
    --orange-dark: #e66000;
    
    /* 海军蓝主题 */
    --navy-primary: #003366;
    --navy-light: #104e8b;
    --navy-dark: #001f3f;
    
    /* 功能颜色 */
    --banner-bg: var(--navy-primary);
    --banner-text: #ffffff;
    --reservation-nav-bg: #006633;
    --reservation-nav-text: #ffffff;
    
    /* 通用属性 */
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 基础元素样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   顶部区域样式
   ============================================ */

/* 顶部导航栏 */
.top-header {
    background-color: var(--orange-primary);
    color: white;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-area {
    display: flex;
    align-items: center;
}

.home-icon {
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 2rem;
}

.top-title {
    font-weight: normal;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
}

.top-title:before {
    content: '|';
    position: absolute;
    left: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 顶部Banner */
.top-attraction-banner {
    background-color: var(--navy-primary);
    background-image: linear-gradient(to right, var(--navy-primary), var(--navy-light));
    padding: 12px 15px;
    color: var(--banner-text);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-attraction-header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}
.banner{
    width: 100%;
    position: relative;
    height: auto;
    margin-bottom: 0;
}
.banner H1{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 24px;
    color: #fff;
    font-size: 1.5rem;
}
.banner img{
    width: 100%;
}

.banner-logo {
    display: flex;
    align-items: center;
}

.banner-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 10px;
    position: relative;
    padding-right: 15px;
}

.banner-title:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.banner-subtitle {
    font-size: 0.9rem;
    display: flex;
    gap: 12px;
}

.banner-subtitle a {
    color: var(--banner-text);
    opacity: 0.9;
    padding: 0 5px;
    position: relative;
    transition: all 0.2s ease;
}

.banner-subtitle a:hover {
    opacity: 1;
    color: white;
}

.banner-subtitle a:not(:last-child):after {
    content: '|';
    position: absolute;
    right: -8px;
    opacity: 0.6;
}

/* ============================================
   导航区域样式
   ============================================ */

/* 导航容器 */
.nav-container {
    background-color: white;
    padding: 0.8rem 2rem;
    border-bottom: 1px solid var(--border-color);
    /* margin-bottom: 2rem; */
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-color);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--secondary-color);
    margin: 0 0.2rem;
}

.breadcrumb i {
    font-size: 0.8rem;
    margin: 0 0.3rem;
}

/* 预约导航栏 */
.reservation-nav {
    background-color: var(--reservation-nav-bg);
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.reservation-nav .nav-item {
    color: var(--reservation-nav-text);
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: max-content;
}

.reservation-nav .nav-item:last-child {
    border-right: none;
}

/* ============================================
   主内容区域样式
   ============================================ */

/* 主内容容器 */
.main-content {
    padding: 30px;
    background-color: #f5f7fa;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* 区块标题 */
.section-title {
    color: var(--navy-primary);
    font-size: 18px;
    border-left: 4px solid var(--navy-primary);
    padding-left: 10px;
    margin: 20px 0 15px 0;
}

/* 分隔线 */
.section-divider {
    height: 3px;
    background-color: var(--light-gray);
    margin: 1.5rem 0 2.5rem 0;
    border-radius: 3px;
    width: 100%;
}

.section-divider.large {
    height: 6px;
    margin: 3rem 0;
}

/* ============================================
   卡片样式
   ============================================ */

/* 城市卡片容器 */
.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* 城市卡片 */
.location-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.location-card.featured {
    border: 2px solid var(--orange-primary);
    position: relative;
}

/* 热门标记 */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* 卡片内容 */
.card-content {
    padding: 1.5rem;
}

.city-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.meta-item i {
    margin-right: 0.3rem;
}

.attractions {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.time-info {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.time-info p {
    margin-bottom: 0.5rem;
}

.label {
    color: var(--gray-color);
    display: inline-block;
    width: auto;
    margin-right: 0.5rem;
}

/* 卡片按钮 */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
}

.reservation-btn, .details-btn {
    padding: 0.7rem;
    text-align: center;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-btn {
    background-color: var(--navy-primary);
    color: white;
}

.reservation-btn:hover {
    background-color: var(--navy-dark);
    color: white;
    transform: translateY(-2px);
}

.details-btn {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

.details-btn:hover {
    background-color: #e6e6e6;
    transform: translateY(-2px);
}

.reservation-btn i, .details-btn i {
    margin-right: 0.5rem;
}

/* ============================================
   详情页特定样式
   ============================================ */

/* 详情页容器 */
.detail-container {
    padding: 15px;
    background-color: #fff;
}

/* 城市标题样式 */
.city-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.city-title {
    color: var(--navy-primary);
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.city-subtitle {
    color: var(--gray-color);
    font-size: 14px;
}

/* 错误消息样式 */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 30px auto;
    max-width: 500px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.error-message i {
    font-size: 40px;
    color: #dc3545;
    margin-bottom: 15px;
    display: block;
}

.error-message p {
    margin-bottom: 15px;
    font-size: 16px;
}

.back-link {
    display: inline-block;
    background-color: var(--navy-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.back-link:hover {
    background-color: var(--navy-dark);
    color: white;
}

/* 组件容器 */
.ship-section, .booking-info, .visit-time, .guide-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 舰艇看点相关 */
.ship-location-title {
    background: var(--navy-light);
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0 10px 0;
}

.ship-location-title h3 {
    margin: 0;
    font-size: 16px;
}

.ship-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.ship-card {
    background: white;
    border-radius: 5px;
    padding: 12px;
    border-left: 3px solid var(--navy-primary);
}

.ship-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--navy-dark);
}

.ship-desc {
    font-size: 14px;
    color: #666;
}

/* 参观时间相关 */
.time-card {
    background: white;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.time-location {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.time-location:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.time-location h3 {
    color: var(--navy-primary);
    font-size: 16px;
    margin: 0 0 10px 0;
}

.time-slots {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.time-slots p {
    margin: 5px 0;
}

/* 预约信息相关 */
.booking-card {
    background: white;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.booking-row {
    display: flex;
    border-bottom: 1px dashed #eee;
    padding: 10px 0;
}

.booking-row:last-child {
    border-bottom: none;
}

.booking-label {
    width: 80px;
    flex-shrink: 0;
    font-weight: bold;
    color: var(--navy-primary);
}

.booking-value {
    flex: 1;
}

/* 二维码按钮样式 */
.qr-code-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--navy-light);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.2s;
}

.qr-code-btn:hover {
    background-color: var(--navy-primary);
    transform: translateY(-2px);
}

.qr-code-btn:active {
    transform: translateY(0);
}

.qr-code {
    display: none; /* 默认隐藏 */
    max-width: 200px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.qr-code.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.qr-code img {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 指南卡片相关 - 优化样式 */
.guide-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.guide-section {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.guide-header {
    text-align: center;
    margin-bottom: 30px;
}

.guide-header .guide-title {
    color: var(--primary-dark);
    font-size: 28px;
    margin-bottom: 12px;
}

.guide-header .guide-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.guide-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 12px 20px;
    background-color: var(--navy-primary);
    color: white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.guide-button:hover {
    background-color: var(--navy-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.guide-button i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* ============================================
   页脚样式
   ============================================ */

.page-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    margin-top: 3rem;
}

/* ============================================
   分页样式
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2.5rem 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--light-gray);
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background-color: var(--accent-color);
    color: white;
}

.page-link.next {
    width: auto;
    padding: 0 1rem;
}

footer,.shotcut,.back_to_top,.back_to_feed{ display: none !important;}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

/* ============================================
   响应式调整
   ============================================ */

/* 平板设备 */
@media screen and (max-width: 1024px) {
    .main-content {
        padding: 20px;
    }
    
    .location-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* 手机设备 */
@media screen and (max-width: 768px) {
    .main-content {
        padding: 15px;
    }
    
    .location-cards {
        grid-template-columns: 1fr;
    }
    
    .card-actions {
        grid-template-columns: 1fr;
    }
    
    .banner-subtitle {
        display: none;
    }
    
    .booking-row {
        flex-direction: column;
    }
    
    .booking-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .guide-section {
        padding: 20px 15px;
    }
    
    .guide-cards {
        grid-template-columns: 1fr;
    }
    
    .guide-button {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .city-title {
        font-size: 18px;
    }
}

/* 小型手机设备 */
@media screen and (max-width: 480px) {
    .top-header {
        padding: 0.8rem 1rem;
    }
    
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .guide-cards {
        flex-direction: column;
    }
    
    .guide-button {
        width: 100%;
    }
}


.fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 640px ;
    margin: auto;
    background: #fff;
    padding: 5px 0;
    z-index: 999;
  }
  
  .share, .other_btns {
    width: 30%;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    background-color: #198CFF;
    margin-left: 10px;
  }
  
  .center {
    display: flex;
    justify-content: center;
    align-items: center;
    }
  .share div {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .weui-mask {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}
.weui-dialog {
    position: fixed;
    z-index: 5000;
    width: 80%;
    max-width: 640px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
}

.weui-dialog__hd {
    padding: 1.3em 1.6em 0.5em;
}

.weui-dialog__title {
    font-weight: 400;
    font-size: 18px;
}

.weui-dialog__bd {
    padding: 0 1.6em 0.8em;
    min-height: 0.8rem;
    font-size: 15px;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: break-all;
    color: #808080;
	text-align:left;
}

.weui-dialog__bd  img{ max-width:100%;}

.weui-dialog__bd:first-child {
    padding: 2.7em 0.4rem 1.7em;
    color: #353535;
}

.weui-dialog__ft {
    position: relative;
    line-height: 48px;
    font-size: 18px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.weui-dialog__ft:after {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #D5D5D6;
    color: #D5D5D6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.weui-dialog__btn {
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    color: #09BB07;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: relative;
}

.weui-dialog__btn:active {
    background-color: #EEEEEE;
}

.weui-dialog__btn:after {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    bottom: 0;
    border-left: 1px solid #D5D5D6;
    color: #D5D5D6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
}

.weui-dialog__btn:first-child:after {
    display: none;
}

.weui-dialog__btn_default {
    color: #353535;
}

.weui-dialog__btn_primary {
    color: #09BB07;
}

.title-wrap{
    margin: 20px 0 10px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.title-wrap img{
    width: 11.5px;
    height: 17px;
    margin-right: 10px;
}

.title-wrap .title-detail{
    color: #333333;
    font-family: "PingFang SC";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px;
}

.article-wrap{
    flex-shrink: 0;
    border-radius: 10px;
    padding: 13.5px 14.5px 7.5px 14.5px;
    box-sizing: border-box;
    background: #fff;
}
.article-wrap a{
    color: #333333;
    font-family: "PingFang SC";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 19.5px;
    margin-bottom: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
    /* display: block; */
    padding-left: 17px;
}

.article-wrap a:last-child{
    margin-bottom: 0;
}

.article-wrap a::before{
    content: '';
    position: absolute;
    top: 5.5px;
    left: 0px;
    width: 8px;
    height: 8px;
    z-index: 9999;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(293deg, #333 0%, #333 100%);
}