@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --emh-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --emh-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Color Palette */
    --emh-primary: #0284c7;
    --emh-primary-dark: #0369a1;
    --emh-primary-light: #e0f2fe;
    --emh-primary-hover: #0ea5e9;

    --emh-accent: #f59e0b;
    --emh-accent-hover: #d97706;
    --emh-accent-light: #fef3c7;

    --emh-coral: #f43f5e;
    --emh-emerald: #10b981;
    --emh-emerald-light: #d1fae5;

    --emh-dark: #0f172a;
    --emh-dark-slate: #1e293b;
    --emh-text: #334155;
    --emh-text-muted: #64748b;
    --emh-light-bg: #f8fafc;
    --emh-card-bg: #ffffff;
    --emh-border: #e2e8f0;
    --emh-border-subtle: #f1f5f9;

    /* Shadows & Radii */
    --emh-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --emh-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --emh-shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
    --emh-shadow-hover: 0 20px 30px -5px rgba(2, 132, 199, 0.15), 0 8px 12px -6px rgba(15, 23, 42, 0.08);

    --emh-radius-sm: 8px;
    --emh-radius: 14px;
    --emh-radius-lg: 20px;
    --emh-radius-full: 9999px;
}

body {
    font-family: var(--emh-font-body);
    color: var(--emh-text);
    background-color: var(--emh-light-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.emh-heading {
    font-family: var(--emh-font-heading);
    color: var(--emh-dark);
    font-weight: 700;
}

a {
    color: var(--emh-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--emh-primary-dark);
}

/* ==========================================================================
   Navigation Bar & Header
   ========================================================================== */
.emh-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    padding: 0.85rem 0;
    z-index: 1040;
}

.emh-navbar.scrolled {
    box-shadow: var(--emh-shadow-sm);
    padding: 0.6rem 0;
}

.emh-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--emh-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--emh-dark);
    text-decoration: none;
}

.emh-brand-logo span {
    color: var(--emh-primary);
}

.emh-brand-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    background: var(--emh-accent);
    color: #fff;
    border-radius: var(--emh-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.emh-nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--emh-dark-slate) !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--emh-radius-sm);
    transition: all 0.2s ease;
}

.emh-nav-link:hover,
.emh-nav-link.active {
    color: var(--emh-primary) !important;
    background-color: var(--emh-primary-light);
}

/* Dropdown Menu styling */
.emh-dropdown-menu {
    border: 1px solid var(--emh-border);
    border-radius: var(--emh-radius);
    box-shadow: var(--emh-shadow-lg);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.emh-dropdown-item {
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.6rem 1rem;
    border-radius: var(--emh-radius-sm);
    color: var(--emh-dark);
}

.emh-dropdown-item:hover {
    background-color: var(--emh-primary-light);
    color: var(--emh-primary);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn-emh-primary {
    background: linear-gradient(135deg, var(--emh-primary), var(--emh-primary-dark));
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: var(--emh-radius-full);
    border: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-emh-primary:hover {
    background: linear-gradient(135deg, var(--emh-primary-hover), var(--emh-primary));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-emh-accent {
    background: linear-gradient(135deg, var(--emh-accent), var(--emh-accent-hover));
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: var(--emh-radius-full);
    border: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-emh-accent:hover {
    background: linear-gradient(135deg, #fbbf24, var(--emh-accent));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-emh-outline {
    background: transparent;
    color: var(--emh-dark);
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: var(--emh-radius-full);
    border: 1.5px solid var(--emh-border);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-emh-outline:hover {
    border-color: var(--emh-primary);
    color: var(--emh-primary);
    background-color: var(--emh-primary-light);
}

/* ==========================================================================
   Hero Section & Search Widget
   ========================================================================== */
.emh-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    padding: 5rem 0 4rem;
}

.emh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.emh-hero-content {
    position: relative;
    z-index: 2;
}

.emh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.35rem 0.9rem;
    border-radius: var(--emh-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.emh-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.emh-hero-subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 650px;
    margin-bottom: 2rem;
}

/* Floating Search Box */
.emh-search-card {
    background: #ffffff;
    border-radius: var(--emh-radius-lg);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    padding: 1.5rem;
    color: var(--emh-text);
}

.emh-search-tabs .nav-link {
    border: none;
    font-weight: 700;
    color: var(--emh-text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: var(--emh-radius-full);
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.emh-search-tabs .nav-link.active {
    background: var(--emh-primary);
    color: #ffffff;
}

/* ==========================================================================
   Cards (Packages, Destinations, Hotels, Articles)
   ========================================================================== */
.emh-card {
    background: var(--emh-card-bg);
    border-radius: var(--emh-radius);
    border: 1px solid var(--emh-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--emh-shadow-sm);
}

.emh-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--emh-shadow-hover);
    border-color: rgba(2, 132, 199, 0.3);
}

.emh-card-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 62%;
    background-color: #f1f5f9;
}

.emh-card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.emh-card:hover .emh-card-img-wrapper img {
    transform: scale(1.06);
}

/* Card Badges */
.emh-badge-top-left {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.emh-badge-top-right {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.emh-badge-bottom-left {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
}

.emh-pill-tag {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--emh-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.emh-pill-featured {
    background: linear-gradient(135deg, var(--emh-coral), #e11d48);
    color: #ffffff;
}

.emh-pill-duration {
    background: rgba(255, 255, 255, 0.95);
    color: var(--emh-dark);
    box-shadow: var(--emh-shadow-sm);
}

.emh-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.emh-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emh-dark);
    margin-bottom: 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.emh-card-title a {
    color: inherit;
}

.emh-card-title a:hover {
    color: var(--emh-primary);
}

.emh-card-meta {
    font-size: 0.82rem;
    color: var(--emh-text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.emh-card-footer {
    padding: 1rem 1.25rem;
    background: var(--emh-light-bg);
    border-top: 1px solid var(--emh-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.emh-price-label {
    font-size: 0.75rem;
    color: var(--emh-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
}

.emh-price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--emh-dark);
    font-family: var(--emh-font-heading);
}

.emh-price-val span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--emh-text-muted);
}

.emh-strike-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #94a3b8;
    margin-left: 0.35rem;
}

.emh-discount-badge {
    font-size: 0.72rem;
    background: var(--emh-emerald-light);
    color: #065f46;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--emh-radius-sm);
    margin-left: 0.35rem;
}

/* Destination Tile Card */
.emh-dest-card {
    position: relative;
    border-radius: var(--emh-radius);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--emh-shadow-sm);
    transition: all 0.3s ease;
    display: block;
}

.emh-dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.emh-dest-card:hover img {
    transform: scale(1.08);
}

.emh-dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #ffffff;
}

.emh-dest-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.emh-dest-meta {
    font-size: 0.82rem;
    color: #cbd5e1;
    display: flex;
    gap: 0.85rem;
}

/* Theme Category Card */
.emh-theme-box {
    background: #ffffff;
    border: 1px solid var(--emh-border);
    border-radius: var(--emh-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    display: block;
    color: var(--emh-dark);
}

.emh-theme-box:hover {
    border-color: var(--emh-primary);
    transform: translateY(-4px);
    box-shadow: var(--emh-shadow);
    color: var(--emh-primary);
}

.emh-theme-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--emh-primary-light);
    color: var(--emh-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
}

.emh-theme-box:hover .emh-theme-icon {
    background: var(--emh-primary);
    color: #ffffff;
    transform: scale(1.1);
}

/* ==========================================================================
   Detail Page Styles (Accordion Itinerary, Checklist, Sidebar)
   ========================================================================== */
.emh-detail-header {
    background-color: var(--emh-dark);
    color: #ffffff;
    padding: 3rem 0;
    position: relative;
    background-size: cover;
    background-position: center;
}

.emh-detail-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.emh-sidebar-booking-card {
    background: #ffffff;
    border-radius: var(--emh-radius-lg);
    box-shadow: var(--emh-shadow-lg);
    padding: 1.75rem;
    border: 1px solid var(--emh-border);
    position: sticky;
    top: 90px;
    z-index: 20;
}

/* Day-wise Itinerary Timeline */
.emh-timeline {
    position: relative;
    padding-left: 2.2rem;
}

.emh-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 10px;
    bottom: 20px;
    width: 2px;
    background: var(--emh-border);
}

.emh-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.emh-timeline-badge {
    position: absolute;
    left: -2.2rem;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--emh-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 0 4px #ffffff, var(--emh-shadow-sm);
}

/* Inclusions & Exclusions */
.emh-inc-list,
.emh-exc-list {
    list-style: none;
    padding-left: 0;
}

.emh-inc-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.emh-inc-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--emh-emerald);
    font-weight: 700;
}

.emh-exc-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.emh-exc-list li::before {
    content: "\F622";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--emh-coral);
    font-weight: 700;
}

/* ==========================================================================
   Floating Widgets (WhatsApp, Back to Top, Mobile Bar)
   ========================================================================== */
.emh-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    transition: all 0.3s ease;
    text-decoration: none;
}

.emh-whatsapp-float:hover {
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.emh-back-to-top {
    position: fixed;
    bottom: 95px;
    right: 34px;
    width: 44px;
    height: 44px;
    background-color: var(--emh-dark-slate);
    color: #ffffff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--emh-shadow);
    z-index: 1040;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.emh-back-to-top.visible {
    display: flex;
}

.emh-back-to-top:hover {
    background-color: var(--emh-primary);
}

/* Mobile Bottom Navigation Bar */
.emh-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid var(--emh-border);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
    z-index: 1030;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
}

.emh-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--emh-text-muted);
    text-decoration: none;
}

.emh-mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.emh-mobile-nav-item.active,
.emh-mobile-nav-item:hover {
    color: var(--emh-primary);
}

@media (max-width: 768px) {
    .emh-mobile-nav {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }

    .emh-whatsapp-float {
        bottom: 75px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .emh-back-to-top {
        bottom: 135px;
        right: 24px;
    }

    .emh-hero-title {
        font-size: 2.1rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.emh-footer {
    background: var(--emh-dark);
    color: #94a3b8;
    padding-top: 4.5rem;
    font-size: 0.92rem;
}

.emh-footer h5 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.emh-footer-links {
    list-style: none;
    padding-left: 0;
}

.emh-footer-links li {
    margin-bottom: 0.65rem;
}

.emh-footer-links a {
    color: #94a3b8;
    transition: all 0.2s ease;
}

.emh-footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.emh-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 3.5rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   Travel Agency Homepage Features (Kiomoi-Style Rich Components)
   ========================================================================== */
.emh-trust-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--emh-border);
    padding: 1.25rem 0;
}

.emh-rating-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 1rem;
    background: var(--emh-light-bg);
    border: 1px solid var(--emh-border-subtle);
    border-radius: var(--emh-radius);
    transition: all 0.25s ease;
}

.emh-rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--emh-shadow-sm);
    border-color: var(--emh-primary-light);
}

.emh-rating-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* How It Works Steps */
.emh-step-card {
    background: #ffffff;
    border: 1px solid var(--emh-border);
    border-radius: var(--emh-radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.emh-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--emh-shadow-lg);
    border-color: var(--emh-primary);
}

.emh-step-number {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2.25rem;
    font-weight: 800;
    font-family: var(--emh-font-heading);
    color: #e2e8f0;
    line-height: 1;
}

.emh-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

/* Real Traveler Testimonials */
.emh-review-card {
    background: #ffffff;
    border: 1px solid var(--emh-border);
    border-radius: var(--emh-radius-lg);
    padding: 1.75rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.emh-review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--emh-shadow-lg);
    border-color: rgba(2, 132, 199, 0.25);
}

.emh-review-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.emh-review-text {
    font-size: 0.95rem;
    color: var(--emh-text);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.emh-review-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--emh-border-subtle);
}

.emh-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emh-primary), var(--emh-primary-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Editorial Agency SEO Content */
.emh-editorial-box {
    background: #ffffff;
    border: 1px solid var(--emh-border);
    border-radius: var(--emh-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--emh-shadow-sm);
}

.emh-editorial-box h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--emh-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.emh-editorial-box h3:first-child {
    margin-top: 0;
}

.emh-editorial-box p {
    color: var(--emh-text);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.emh-editorial-feature {
    background: var(--emh-light-bg);
    border: 1px solid var(--emh-border-subtle);
    border-radius: var(--emh-radius);
    padding: 1.25rem;
    height: 100%;
    transition: all 0.2s ease;
}

.emh-editorial-feature:hover {
    border-color: var(--emh-primary-light);
    background: #ffffff;
    box-shadow: var(--emh-shadow-sm);
}

/* ==========================================================================
   Find Your Perfect Getaway (Travel Style Cards - Reference Design)
   ========================================================================== */
.emh-getaway-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.emh-getaway-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.22);
}

.emh-getaway-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.emh-getaway-card:hover .emh-getaway-img {
    transform: scale(1.08);
}

.emh-getaway-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.45) 40%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}

.emh-getaway-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.emh-getaway-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.emh-getaway-text {
    flex: 1;
}

.emh-getaway-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.25;
}

.emh-getaway-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.emh-getaway-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #ffffff;
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.emh-getaway-card:hover .emh-getaway-btn {
    background: var(--emh-primary);
    color: #ffffff;
    transform: scale(1.1) rotate(-25deg);
}

/* ==========================================================================
   Homepage Popular Places & Sightseeing Cards (Kiomoi-Style)
   ========================================================================== */
.emh-place-home-card {
    background: #ffffff;
    border: 1px solid var(--emh-border);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-column: column;
    box-shadow: var(--emh-shadow-sm);
    transition: all 0.3s ease;
}

.emh-place-home-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--emh-shadow-md);
    border-color: var(--emh-primary-light);
}

.emh-place-home-imgwrap {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.emh-place-home-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.emh-place-home-card:hover .emh-place-home-imgwrap img {
    transform: scale(1.08);
}

.emh-place-home-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
}

.emh-place-fee-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0ea5e9;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.emh-place-home-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.emh-place-home-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emh-dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.emh-place-home-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.emh-place-home-title a:hover {
    color: var(--emh-primary);
}

.emh-place-home-desc {
    color: var(--emh-text);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.emh-place-home-footer {
    padding-top: 0.75rem;
    border-top: 1px solid var(--emh-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}

/* ==========================================================================
   Popup Modal UI (Matching popup-ui.png)
   ========================================================================== */
.emh-popup-dialog {
    max-width: 440px;
    margin: 1.75rem auto;
}

.emh-popup-content {
    background: #ffffff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    padding: 26px 28px 22px 28px;
    position: relative;
    overflow: hidden;
}

.emh-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    opacity: 0.7;
    z-index: 10;
    font-size: 13px;
    box-shadow: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.emh-popup-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.emh-popup-badge-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.emh-popup-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 16px;
    padding: 0 8px;
}

.emh-popup-input {
    border: 1px solid #cbd5e1;
    border-radius: 8px !important;
    font-size: 0.9rem;
    color: #334155;
    padding: 10px 14px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    width: 100%;
}

.emh-popup-input::placeholder {
    color: #94a3b8;
    opacity: 1;
    font-weight: 400;
}

.emh-popup-input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    outline: none;
    background-color: #ffffff;
}

.emh-popup-select {
    color: #475569;
    cursor: pointer;
    background-position: right 12px center;
}

.emh-popup-country-code {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px 8px;
    user-select: none;
}

.emh-popup-submit-btn {
    background: linear-gradient(90deg, #f97316 0%, #e11d48 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
    display: block;
    width: 100%;
}

.emh-popup-submit-btn:hover {
    background: linear-gradient(90deg, #ea580c 0%, #be123c 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

.emh-popup-submit-btn:active {
    transform: translateY(0);
}

.emh-popup-assurances {
    font-size: 0.72rem;
    line-height: 1.4;
    color: #64748b;
    margin-top: 14px;
}

.emh-popup-assurances .bi-check-lg {
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Rich Text & Summernote Formatted Content */
.emh-formatted-content,
.emh-article-content {
    color: #334155;
    line-height: 1.75;
}

.emh-formatted-content p,
.emh-article-content p {
    margin-bottom: 0.9rem;
}

.emh-formatted-content p:last-child,
.emh-article-content p:last-child {
    margin-bottom: 0;
}

.emh-formatted-content strong,
.emh-formatted-content b,
.emh-article-content strong,
.emh-article-content b {
    font-weight: 700;
    color: #0f172a;
}

.emh-formatted-content a,
.emh-article-content a {
    color: var(--emh-primary, #0284c7);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease-in-out;
}

.emh-formatted-content a:hover,
.emh-article-content a:hover {
    color: var(--emh-primary-dark, #0369a1);
}

.emh-formatted-content ul,
.emh-formatted-content ol,
.emh-article-content ul,
.emh-article-content ol {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.emh-formatted-content li,
.emh-article-content li {
    margin-bottom: 0.35rem;
}

.emh-formatted-content h1,
.emh-formatted-content h2,
.emh-formatted-content h3,
.emh-formatted-content h4,
.emh-formatted-content h5,
.emh-formatted-content h6,
.emh-article-content h1,
.emh-article-content h2,
.emh-article-content h3,
.emh-article-content h4,
.emh-article-content h5,
.emh-article-content h6 {
    color: #0f172a;
    font-family: var(--emh-font-heading);
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
}

.emh-formatted-content table,
.emh-article-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.emh-formatted-content table td,
.emh-formatted-content table th,
.emh-article-content table td,
.emh-article-content table th {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
}