/* ═══════════════════════════════════════════════════
 * Hotel Pro – Editorial Magazine Layout
 * Premium single-column design for hotel listings
 * ═══════════════════════════════════════════════════ */

/* ─── Layout Container ─────────────────────────── */
.hotel-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

/* ─── Hotel Card ───────────────────────────────── */
.hotel-card {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hotel-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ─── Hero Image (16:9) & Gallery ──────────────── */
.hotel-card__figure {
    position: relative;
    margin: 0 0 1.75rem 0;
    /* Reset default figure margin */
    border-radius: 6px;
}

.hotel-card__image-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0ece6;
    border-radius: 6px;
}

/* Gallery Grid System */
.hotel-card__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hotel-card__gallery-main {
    grid-column: 1 / -1;
}

.hotel-card__gallery-sub {
}

.hotel-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Hovering the hotel card scales the hero image */
.hotel-card:hover .hotel-card__image-link img {
    transform: scale(1.05);
    /* 1.05 scale as requested */
}

.hotel-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Visually hide figcaption but keep semantically */
.hotel-card__caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ─── Content Area ─────────────────────────────── */
.hotel-card__content {
    padding: 0 0.25rem;
}

/* Vibe Label – uppercase small text */
.hotel-card__vibe {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D48372;
    margin-bottom: 0.625rem;
}

/* Title – elegant serif */
.hotel-card__title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.hotel-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hotel-card__title a:hover {
    color: #D48372;
}

/* Meta line – stars + best-for */
.hotel-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.hotel-card__stars {
    color: #d4a853;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
}

.hotel-card__separator {
    color: #ccc;
}

.hotel-card__best-for {
    font-style: italic;
    color: #888;
}

/* Address */
.hotel-card__address {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #999;
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* Excerpt – editorial recommendation */
.hotel-card__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 1.75rem;
}

/* ─── Affiliate Buttons ────────────────────────── */
.hotel-card__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.hotel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.hotel-card__actions .ota-icon,
.hotel-pro-single-actions .ota-icon,
.hotel-pro-mobile-sticky-bar .ota-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 2px;
}

/* ==========================================================================
   Single Hotel Layout (Editorial & Magazine Feel)
   ========================================================================== */
.hotel-pro-single-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 40px;
    font-family: 'Inter', sans-serif;
}

/* Hero Gallery Layout (1+3 Grid) */
.hotel-pro-single-hero {
    margin-bottom: 35px;
}

.hotel-pro-single-hero.is-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.hotel-pro-single-hero .hero-image-item {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    background: #fcfcfc;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hotel-pro-single-hero .hero-image-item:hover {
    transform: translateY(-2px);
}

.hotel-pro-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
}

/* Main Hero (Large) */
.hotel-pro-single-hero .hero-main,
.hotel-pro-single-hero .hero-solo {
    grid-column: 1 / -1;
    border-radius: 12px;
}

/* Gallery Subs (Small) */
.hotel-pro-single-hero .hero-sub {
    border-radius: 6px;
}

/* ── Lightbox Overlay ────────────────────────── */
.hbn-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hbn-lightbox.active {
    display: block;
    opacity: 1;
}

.hbn-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    border-radius: 8px;
    object-fit: contain;
}

.hbn-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.1s;
    line-height: 1;
}

.hbn-lightbox-close:hover {
    color: #D48372;
}

@media (max-width: 768px) {
    .hotel-pro-single-hero.is-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .hotel-pro-single-hero .hero-main {
        grid-column: 1 / -1;
    }
}

/* Meta Header */
.hotel-pro-single-header {
    margin-bottom: 30px;
    text-align: center;
}

.hotel-pro-single-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.hotel-pro-single-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* Editorial Typography & Drop Cap */
.hotel-pro-editorial-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444444;
}

.hotel-pro-editorial-content p {
    margin-bottom: 25px;
}

.hotel-pro-editorial-content>p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #1A1A1A;
    /* deep black/gold tone */
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 8px;
    text-transform: uppercase;
}

/* Quick Take Box */
.hotel-pro-quick-take {
    background-color: #F5F5F5;
    padding: 30px;
    border-left: 4px solid #111;
    margin: 40px 0;
    border-radius: 0 4px 4px 0;
}

.quick-take-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.quick-take-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
}

.quick-take-amenities .amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-take-amenities .amenities-list li {
    font-size: 15px;
    color: #444;
    display: flex;
    align-items: center;
}

/* Action Buttons below content */
.hotel-pro-single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    padding-bottom: 60px;
    /* buffer for mobile sticky bar */
}

/* Mobile Sticky Booking Bar */
.hotel-pro-mobile-sticky-bar {
    display: none;
    /* hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 12px 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hotel-pro-single-actions {
        padding-bottom: 90px;
    }

    .hotel-pro-mobile-sticky-bar {
        display: block;
    }

    .sticky-bar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
    }

    .sticky-bar-price-info {
        display: flex;
        flex-direction: column;
    }

    .sticky-title {
        font-size: 14px;
        font-weight: 700;
        color: #111;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    .sticky-subtitle {
        font-size: 12px;
        color: #666;
    }

    .hotel-pro-mobile-sticky-bar .btn {
        margin: 0;
        padding: 10px 15px;
        font-size: 14px;
    }

    .quick-take-amenities .amenities-list {
        grid-template-columns: 1fr;
        /* Stack on small mobile */
    }
}

.hotel-btn__icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 2px;
}

/* Primary Hero Button */
.hotel-btn.btn-hero {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background-color: #222B35;
    border: 1px solid #222B35;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hotel-btn.btn-hero:hover {
    background-color: #313d4b;
    border-color: #313d4b;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hotel-btn.btn-hero:active {
    transform: scale(0.98);
}

/* Secondary Outline Button */
.hotel-btn.btn-outline {
    padding: 0.5625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #222B35;
    background-color: transparent;
    border: 1px solid #d0c8be;
}

.hotel-btn.btn-outline:hover {
    background-color: #f7f5f2;
    border-color: #222B35;
}

/* ─── Empty State ──────────────────────────────── */
.hotel-list__empty {
    font-family: 'Inter', sans-serif;
    text-align: center;
    color: #999;
    padding: 4rem 1rem;
    font-size: 1.0625rem;
}

/* ═══════════════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .hotel-list {
        padding: 1.25rem 1rem;
    }

    .hotel-card {
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hotel-card__title {
        font-size: 1.375rem;
    }

    .hotel-card__excerpt {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .hotel-card__buttons {
        flex-direction: column;
    }

    .hotel-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Reading Progress Bar
   ========================================================================== */
#hbn-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #D48372;
    width: 0%;
    z-index: 9999;
    transition: width 0.15s linear;
    pointer-events: none;
}

/* ==========================================================================
   Static TOC (Desktop – 3 columns)
   ========================================================================== */
.hbn-toc {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 25px 30px 20px;
    background: #FAFAFA;
    border: 1px solid #eee;
    border-radius: 6px;
}

.hbn-toc__title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #222B35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #D48372;
}

.hbn-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px 20px;
}

.hbn-toc__list li a {
    display: block;
    font-size: 13.5px;
    color: #444;
    text-decoration: none;
    padding: 5px 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.hbn-toc__list li a:hover {
    color: #D48372;
}

/* ── Mobile TOC: single column ── */
@media (max-width: 1023px) {
    .hbn-toc__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hbn-toc {
        padding: 18px 20px 15px;
    }
    .hbn-toc__list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Mobile Floating TOC Trigger (< 1024px only)
   ========================================================================== */
.hbn-mobile-toc-trigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 8px 15px;
    border-radius: 4px;
    background: #222B35;
    color: #fff;
    border: none;
    cursor: pointer;
    display: none; /* JS controls visibility */
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    z-index: 9998;
    transition: opacity 0.2s, box-shadow 0.2s;
    opacity: 0.88;
}

.hbn-mobile-toc-trigger:hover {
    opacity: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.28);
}

/* ── Overlay ── */
.hbn-mobile-toc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.hbn-mobile-toc-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── Slide-up Panel ── */
.hbn-mobile-toc-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 60vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
    overflow-y: auto;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
}
.hbn-mobile-toc-panel.open {
    transform: translateY(0);
}

.hbn-mobile-toc-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px 12px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 15px;
    color: #222B35;
    position: sticky;
    top: 0;
    background: #fff;
}

.hbn-mobile-toc-panel__header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
}

.hbn-mobile-toc-panel__list {
    list-style: none;
    margin: 0;
    padding: 10px 22px 25px;
}

.hbn-mobile-toc-panel__list li {
    border-bottom: 1px solid #f0f0f0;
}

.hbn-mobile-toc-panel__list li:last-child {
    border-bottom: none;
}

.hbn-mobile-toc-panel__list li a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.hbn-mobile-toc-panel__list li a:hover {
    color: #D48372;
}

/* Hide trigger on desktop */
@media (min-width: 1024px) {
    .hbn-mobile-toc-trigger,
    .hbn-mobile-toc-overlay,
    .hbn-mobile-toc-panel {
        display: none !important;
    }
}


/* ══════════════════════════════════════════════════════════════
   HOMEPAGE – Asian Boutique Cover
   ══════════════════════════════════════════════════════════════ */

.hbn-homepage {
    background: #fff;
}

/* ── Hero Section ── */
.hbn-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 70vh;
    min-height: 420px;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbn-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 43, 53, 0.35);
    z-index: 1;
}

.hbn-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    padding: 0 30px;
}

.hbn-hero__title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.hbn-hero__subtitle {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* ── Vibe Pills ── */
.hbn-vibes {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 10px;
    text-align: center;
}

.hbn-vibes__label {
    display: block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 18px;
}

.hbn-vibes__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hbn-vibe-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #D48372;
    background-color: transparent;
    border: 1px solid #D48372;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-family: 'Inter', -apple-system, sans-serif;
}

.hbn-vibe-pill:hover {
    background-color: #D48372;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 131, 114, 0.2);
}

.hbn-vibe-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hbn-vibe-icon svg {
    display: block;
}

/* ── Region Section ── */
.hbn-regions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 20px 80px;
}

.hbn-region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.hbn-region-card {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hbn-region-card:hover {
    opacity: 0.9;
}

.hbn-region-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f7f7f7;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

.hbn-region-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 43, 53, 0) 60%, rgba(34, 43, 53, 0.1) 100%);
    z-index: 1;
}

.hbn-region-card__content {
    text-align: left;
}

.hbn-region-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #222B35;
    margin: 0 0 4px;
    display: block;
}

.hbn-region-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.hbn-region-card:hover .hbn-region-card__image img {
    transform: scale(1.04);
}

.hbn-region-card__image--placeholder {
    background: #F0EDEB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbn-region-card__image--placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #D48372;
    opacity: 0.5;
}

/* ── Homepage Responsive ── */
@media (max-width: 768px) {
    .hbn-hero {
        height: 55vh;
        min-height: 340px;
    }
    .hbn-hero__title {
        font-size: 32px;
    }
    .hbn-hero__subtitle {
        font-size: 16px;
    }
    .hbn-region-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hbn-hero__title {
        font-size: 26px;
    }
    .hbn-region-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hbn-vibes__pills {
        gap: 10px;
    }
}


/* ══════════════════════════════════════════════════════════════
   TAXONOMY ARCHIVE – Header
   ══════════════════════════════════════════════════════════════ */
.hbn-taxonomy-archive {
    background: #fff;
}

.hbn-archive-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px 20px;
    text-align: center;
}

.hbn-archive-header__title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #222B35;
    margin: 0 0 8px;
}

.hbn-archive-header__count {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #999;
    font-weight: 400;
}

/* ─── Destination Archive: Year Filter Pills ──── */
.hbn-year-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 30px;
}

.hbn-year-pill {
    display: inline-block;
    padding: 8px 18px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.hbn-year-pill:hover {
    background: #e0e0e0;
}

.hbn-year-pill.active {
    background: #D48372;
    color: #fff;
    box-shadow: 0 4px 10px rgba(212, 131, 114, 0.3);
}

@media (max-width: 768px) {
    .hbn-year-filter {
        justify-content: center;
    }
}