/* 山富旅遊 飯店 SEO 內容中心（國家住宿館 / 城市 / 海島度假區 / 黃金商圈）專屬樣式 */

#hotel-seo-searchbox,
.seo-section {
    scroll-margin-top: 152px;
}

.hotel-seo-search-wrap {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 20px 24px 14px;
    margin-bottom: 20px;
}

.hotel-seo-search-wrap__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 靜態高質感飯店卡片（零即時查價損耗） */
.hotel-seo-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.hotel-seo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.hotel-seo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.hotel-seo-card__media {
    position: relative;
    height: 196px;
    background: #f1f5f9;
    overflow: hidden;
}

.hotel-seo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hotel-seo-card:hover .hotel-seo-card__media img {
    transform: scale(1.04);
}

.hotel-seo-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(190, 18, 60, 0.35);
}

.hotel-seo-card__rating-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
}

.hotel-seo-card__rating-score {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-right: 4px;
}

.hotel-seo-card__body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hotel-seo-card__stars {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.hotel-seo-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 2px;
    text-decoration: none;
}

.hotel-seo-card__title:hover {
    color: #e11d48;
}

.hotel-seo-card__eng {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotel-seo-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.hotel-seo-card__tag {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
}

.hotel-seo-card__snippet {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.hotel-seo-card__footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* 分區住宿與避雷指南卡片 */
.hotel-area-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hotel-area-card:hover {
    border-color: #fda4af;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.hotel-area-card__positioning {
    font-size: 0.84rem;
    font-weight: 700;
    color: #be123c;
    background: #fff1f2;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.hotel-area-card__avoid {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 8px 10px;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: #92400e;
    margin-top: 10px;
    margin-bottom: 12px;
}

/* GEO 結構化比較表格 */
.hotel-geo-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow-x: auto;
    background: #fff;
}

.hotel-geo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
}

.hotel-geo-table thead th {
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    white-space: nowrap;
}

.hotel-geo-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: top;
}

.hotel-geo-table tbody tr:last-child td {
    border-bottom: none;
}

.hotel-geo-table tbody tr:hover td {
    background: #f8fafc;
}

/* 目的地與商圈導覽卡片 */
.hotel-dest-mini-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.18s ease;
    height: 100%;
}

.hotel-dest-mini-card:hover {
    border-color: #e11d48;
    background: #fff1f2;
    color: #be123c;
    transform: translateY(-2px);
}

.hotel-geo-table caption {
    caption-side: top;
    padding: 10px 16px;
    font-size: 0.82rem;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.hotel-subarea-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}

.hotel-subarea-chip:hover {
    border-color: #e11d48;
    background: #fff1f2;
    color: #be123c;
}

/* 山富訂房網 4 大安心優勢信任區塊 */
.hotel-usp-banner {
    background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
    border: 1px solid #fecdd3;
    border-radius: 16px;
    padding: 22px 24px;
}

.hotel-usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.hotel-usp-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hotel-usp-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff1f2;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hotel-usp-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.hotel-usp-card__desc {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 0;
}
