/* ===== hotel.css ===== */

/* 基础容器样式 */
.hotel-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    background: transparent;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.hotel-content-wrapper {
    background-color: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 20, 50, 0.08);
    padding: 50px 60px;
    transition: padding 0.3s ease;
}

.section-title {
    color: #0b2f6c;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 4px solid #0b2f6c;
    display: flex;
    align-items: center;
}

.title-icon {
    margin-right: 15px;
    color: #ff6b6b;
    font-size: 2rem;
    width: 44px;
}

.section-divider {
    text-align: center;
    margin: 45px 0 50px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #a5c0fa, transparent);
    z-index: 1;
}

.divider-icon {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: 72px;
    height: 72px;
    line-height: 72px;
    text-align: center;
    background-color: #0b2f6c;
    color: white;
    font-size: 2.2rem;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(11,47,108,0.25);
}

/* 威斯汀独立展示 */
.featured-hotel {
    background: linear-gradient(145deg, #f8fbff, #ffffff);
    border-radius: 28px;
    padding: 30px 35px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0,40,100,0.06);
    border: 1px solid #eef3fd;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 35px;
}

.hotel-feature-img {
    flex: 0 0 260px;
}

.hotel-feature-img img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 20, 60, 0.15);
    border: 3px solid white;
}

.hotel-feature-info {
    flex: 1;
    min-width: 280px;
}

.hotel-feature-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0b2f6c;
    margin-bottom: 15px;
}

.hotel-feature-info h3 i {
    color: #f5b342;
}

.hotel-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.badge {
    background: #e9f0fc;
    color: #0b2f6c;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge i {
    color: #ffb347;
}

.feature-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1e2e4a;
    background: #f3f7ff;
    padding: 16px 20px;
    border-radius: 18px;
    border-left: 6px solid #0b2f6c;
    margin-top: 15px;
}

.feature-desc i {
    color: #2e7d32;
}

/* 酒店表格样式 */
.hotel-table-wrap {
    overflow-x: auto;
    margin: 25px 0 15px;
    border-radius: 24px;
    border: 1px solid #e2eaf9;
    background: white;
}

.hotel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    min-width: 700px;
}

.hotel-table th {
    background: #ecf2fc;
    color: #0b2f6c;
    font-weight: 600;
    padding: 18px 14px;
    text-align: center;
    border-bottom: 2px solid #b9cef0;
    white-space: nowrap;
}

.hotel-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #dee9f5;
    text-align: center;
    vertical-align: middle;
}

.hotel-table td:first-child,
.hotel-table th:first-child {
    padding-left: 20px;
}

.hotel-table td:last-child {
    text-align: left;
    padding-right: 20px;
}

.star-level i {
    color: #f5b342;
    margin: 0 1px;
}

.price-tag {
    background: #e6f0ff;
    color: #0047ab;
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    margin: 2px;
}

.price-tag i {
    color: #f5b342;
}

/* 联系人卡片 */
.contact-modern {
    display: flex;
    flex-wrap: wrap;
    background: #f2f7ff;
    border-radius: 28px;
    padding: 30px 35px;
    margin: 30px 0;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dae5f8;
}

.contact-info-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 45px;
    flex: 2;
}

.contact-entry {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon-box {
    width: 52px;
    height: 52px;
    background: #0b2f6c;
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.contact-text .label {
    font-size: 0.85rem;
    color: #5a6e8a;
}

.contact-text .value {
    font-weight: 700;
    color: #0a264d;
    font-size: 1.15rem;
}

.email-stack {
    display: flex;
    flex-direction: column;
}

/* 订房须知卡片 - 三列布局 */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 35px 0 20px;
}

.notice-card {
    background: #f9fcff;
    border-radius: 24px;
    padding: 25px 20px;
    border: 1px solid #e7efff;
    box-shadow: 0 5px 12px rgba(0,0,0,0.02);
}

.notice-card h4 {
    font-size: 1.3rem;
    color: #0b2f6c;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px dashed #b7cef0;
    padding-bottom: 12px;
}

.notice-card h4 i {
    color: #ff6b6b;
    width: 28px;
}

.notice-card p {
    color: #2c3e5c;
    margin-bottom: 8px;
    line-height: 1.6;
}

.notice-card .small-note {
    font-size: 0.9rem;
    color: #4f658d;
    background: #ecf3ff;
    padding: 10px 12px;
    border-radius: 14px;
    margin-top: 12px;
}

/* 出行交通样式 */
.hotel-editor-content p {
    font-size: 1.08rem;
    color: #1e2f42;
    margin-bottom: 1rem;
}

.hotel-editor-content strong {
    color: #0b2f6c;
}

.transport-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.route-item {
    background: #f6f9ff;
    padding: 18px 25px;
    border-radius: 18px;
    border-left: 5px solid #1e4fbd;
}

.route-title {
    font-weight: 700;
    color: #08358f;
    font-size: 1.2rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-desc {
    padding-left: 10px;
    color: #1e2f47;
    line-height: 1.8;
}

.route-desc i.fa-arrow-right {
    color: #ff6b6b;
    margin: 0 6px;
}

.info-note {
    margin-top: 20px;
    color: #4f5e74;
}

.info-note i {
    color: #ffb347;
}

/* ===== 响应式优化 - 主要针对≤768px设备 ===== */
@media screen and (max-width: 1200px) {
    .hotel-content-wrapper {
        padding: 40px 40px;
    }
}

@media screen and (max-width: 992px) {
    .hotel-container {
        padding: 30px 15px;
    }
    .hotel-content-wrapper {
        padding: 30px 25px;
        border-radius: 24px;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

/* 重点优化：≤768px 手机端 */
@media screen and (max-width: 768px) {
    .hotel-container {
        padding: 20px 12px;
    }
    .hotel-content-wrapper {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .title-icon {
        font-size: 1.6rem;
        margin-right: 10px;
        width: 32px;
    }
    .section-divider {
        margin: 30px 0 35px;
    }
    .divider-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.8rem;
    }

    /* 威斯汀卡片手机优化 */
    .featured-hotel {
        padding: 20px 18px;
        gap: 20px;
    }
    .hotel-feature-img {
        flex: 0 0 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .hotel-feature-info h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    .hotel-feature-tags {
        justify-content: center;
    }

    /* ===== 手机端表格优化：文字不按行，正常显示 ===== */
    .hotel-table {
        min-width: 600px; /* 稍微减小最小宽度但保持表格特性 */
    }
    .hotel-table th,
    .hotel-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
        white-space: normal; /* 允许文字换行，不强制按行 */
        word-break: break-word;
    }
    .hotel-table td:last-child {
        text-align: left;
    }
    .star-level i {
        font-size: 0.85rem;
    }
    .price-tag {
        white-space: normal; /* 价格标签允许换行 */
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    /* ===== 联系人卡片手机优化：左对齐 ===== */
    .contact-modern {
        padding: 20px 18px;
        flex-direction: column;
        align-items: flex-start; /* 整体左对齐 */
    }
    .contact-info-group {
        gap: 16px;
        width: 100%;
        flex-direction: column; /* 改为列布局，每个条目单独一行 */
    }
    .contact-entry {
        width: 100%;
        justify-content: flex-start; /* 左对齐 */
    }
    .contact-icon-box {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
        flex-shrink: 0; /* 防止图标被压缩 */
    }
    .contact-text {
        text-align: left;
    }
    .contact-text .value {
        font-size: 1.05rem;
    }
    .contact-modern > div:last-child {
        margin-top: 15px;
        width: 100%;
        text-align: left; /* 服务时间左对齐 */
    }

    /* 订房须知手机优化 */
    .notice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .notice-card {
        padding: 18px 15px;
    }
    .notice-card h4 {
        font-size: 1.2rem;
    }

    /* 出行交通手机优化 */
    .route-item {
        padding: 15px 18px;
    }
}

@media screen and (max-width: 576px) {
    .hotel-container {
        padding: 15px 10px;
    }
    .hotel-content-wrapper {
        padding: 15px 12px;
        border-radius: 16px;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .notice-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .featured-hotel {
        padding: 15px 12px;
    }
    .badge {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    .feature-desc {
        padding: 12px 15px;
        font-size: 1rem;
    }

    /* 极小屏表格进一步调整 */
    .hotel-table th,
    .hotel-table td {
        padding: 10px 6px;
        font-size: 0.85rem;
    }
    .star-level i {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 400px) {
    .hotel-content-wrapper {
        padding: 12px 10px;
    }
    .contact-modern {
        padding: 15px 12px;
    }
    .contact-icon-box {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
    .contact-text .value {
        font-size: 1rem;
    }

    /* 超小屏表格 */
    .hotel-table {
        min-width: 500px; /* 进一步减小最小宽度 */
    }
    .hotel-table th,
    .hotel-table td {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
}

.star-level {
    white-space: nowrap !important;
}

.hotel-table th{white-space: nowrap}
.hotel-table tr td:nth-child(2),
.hotel-table tr td:nth-child(3) {
    text-align: left;
}