/* 主色调 */
:root {
    --primary-color: #153158;
    /* 深蓝色 */
    --text-gray: #666;
    --border-color: #eee;
}

/* ================= 英雄区域 & 搜索 ================= */
.hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.search-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    background: #fff;
    padding: 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 140px;
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 50px;
}

.btn-search {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

/* ================= 酒店列表网格 ================= */
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hotel-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.hotel-img {
    height: 380px;
    width: 100%;
    object-fit: cover;
}

.hotel-info {
    padding: 20px;
}

.stars-svg-dynamic {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    line-height: 0;
}

.stars-bg,
.stars-fill {
    display: flex;
    gap: 4px;
}

.stars-bg svg {
    width: 18px;
    height: 18px;
    fill: #e0e4e8;
}

.stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: calc(var(--rating) / 5 * 100%);
    white-space: nowrap;
}

.stars-fill svg {
    width: 18px;
    height: 18px;
    fill: #f5a623;
    flex-shrink: 0;
}

.hotel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.hotel-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.hotel-rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.score-box {
    border: 1px solid #1e3a8a;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: bold;
    color: #1e3a8a;
}

.hotel-price {
    font-size: 18px;
    font-weight: bold;
    color: #1e3a8a;
}

.hotel-price span {
    font-size: 14px;
    color: #1e3a8a;
    font-weight: bold;
}



/* EyouCMS dynamic helpers */
.nav-links .is-current,
.nav-links a.active,
.nav-links a:hover {
    color: #f5a623;
}

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

.cms-content table {
    max-width: 100%;
    border-collapse: collapse;
}

.cms-content p {
    margin-bottom: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.pagination a,
.pagination span {
    min-width: 36px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-align: center;
}

.pagination a:hover,
.pagination .active {
    background: var(--primary-color, #1e3a8a);
    border-color: var(--primary-color, #1e3a8a);
    color: #fff;
}

.logo a {
    color: inherit;
}

.header-actions a {
    color: inherit;
}

.subscribe-box form {
    display: flex;
    width: 100%;
}

.empty-tip {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: #888;
    background: #fff;
    border-radius: 8px;
}

/* Extracted common helpers */
.footer-logo {
    color: #f5a623;
    margin-bottom: 15px;
}

.detail-side-image {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}