/* ================================
   Hospanet / Epiki Tours – Merged CSS
   By Sifuna Godfrey & Dana Katisya
================================ */

/* ===== Import Lato Font ===== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* ===== Color Palette ===== */
:root {
    --primary-color: #1063B1;
    --secondary-color: #F59E4E;
    --tertiary-color: #E0F7FA;
    --white-color: #ffffff;
    --black-color: #000000;
    --pale-grey: #f6f6f6;
    --dark-grey: #333333;

    /* Epiki specific (reuse or extend) */
    --ek-primary: #1063B1;
    --ek-primary-dark: #0B4C87;
    --ek-accent: #F5A430;
    --ek-ink: #16202B;
    --ek-muted: #6B7686;
    --ek-line: #E4E9F0;
    --ek-bg-soft: #F5F7FA;
}

/* ===== Body Styling ===== */
body {
    font-family: 'Helvetica', sans-serif;
    background-color: var(--pale-grey);
    color: var(--black-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ================================
   JD Party Header Styling (old)
================================ */

/* ===== Top Bar ===== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 0;
}

.top-bar a {
    color: var(--pale-grey);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.top-bar .btn {
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: bold;
    border: none;
    padding: 5px 12px;
    transition: background-color 0.3s ease;
}

.top-bar .btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* ================================
   Default Color
================================ */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-danger {
    color: var(--primary-color) !important;
}

/* ===== Navbar ===== */
.navbar {
    background-color: #ffffff;
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid #e9ecef;
}

/* ===== Navbar Links ===== */
.navbar-nav .nav-link {
    color: #151d30;
    padding: 12px 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #89073c;
}

.active-sidebar {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    font-weight: 600;
}

.active-sidebar:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    font-weight: 600;
}

.active-sidebar i {
    color: #fff !important;
}

/* ===== Navbar Shadow on Scroll ===== */
.navbar.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== Dropdown Menu ===== */
.dropdown-menu {
    border: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
    margin-top: 0;
}

.dropdown-item {
    font-size: 14px;
    padding: 10px 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* ===== Dropdown Arrow ===== */
.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.show .dropdown-arrow {
    transform: rotate(-180deg);
}

/* ===== Hover Effect on Desktop Only ===== */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}


/* ================================
   Button Styling (old)
================================ */

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}


.btn-primary:active {
    background-color: var(--secondary-color) !important;
    color: var(--white-color);
    border-color: var(--secondary-color) !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--white-color);
    border: 2px solid var(--primary-color) !important;
}

.btn-outline-primary:active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

/* ================================
   Button Secondary
================================ */
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 1px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-outline-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}

/* ===== Register Button ===== */
.btn-warning {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: bold;
    padding: 8px 20px;
    transition: background-color 0.3s ease;
}

.btn-warning:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ================================
   Smooth Scrolling & Section Highlight
================================ */


html {
    scroll-behavior: smooth;
}

/* Active link in the navbar */
.navbar-nav .nav-link.active {
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -5px;
    left: 0;
}

/* ================================
   Responsive Styling (old)
================================ */

@media (max-width: 768px) {
    .top-bar .contact-info {
        display: none;
    }

    .navbar-nav {
        margin-top: 10px;
    }

    .navbar-nav .nav-item {
        background-color: var(--secondary-color);
        z-index: 9;
        color: var(--white-color) !important;
        padding-bottom: 5px;
    }
}

/* ================================
   Animation
================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Fade-in Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-in, transform 0.8s ease-in;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   HERO SECTION (old)
================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInUp 1.2s ease-in-out forwards;
}

.hero .btn {
    margin-top: 20px;
    padding: 14px 28px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 1px;
    transition: all 0.3s ease-in-out;
}

.hero .btn:hover {
    transform: translateY(-3px);
}

/* Hero Overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Responsive Hero Text */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* ===== Welcome Section Styling ===== */
h4 {
    font-weight: 600;
    color: var(--primary-color);
}

h2 {
    font-weight: 700;
    color: var(--black-color);
}

p {
    line-height: 1.6;
}

/* ===== Quote Block Styling ===== */
.border-primary .fst-italic {
    font-size: 17px;
}

.border-start {
    border-left-width: 4px !important;
    border-left-style: solid !important;
}

.border-primary {
    border-left-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color);
}

/* Icon Box Hover Effect */
.bg-light {
    transition: box-shadow 0.3s ease-in-out;
}

.bg-light:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ===== Champion Section Styling ===== */
.card {
    transition: transform 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card h5 {
    color: var(--primary-color);
}

.card img {
    transition: filter 0.4s ease-in-out;
}

.card:hover img {
    filter: brightness(0.9);
}

/* Learn More Button */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== Our Party Documents Styling ===== */
.ek-toggle-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--ek-primary);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 4px;
    transition: color 0.2s;
}

.ek-toggle-link:hover {
    color: var(--ek-accent);
}

.card-link {
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.card-link:hover {
    transform: translateY(-5px);
}

.image-container {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #89073c;
    color: var(--white-color);
    padding: 10px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.image-container:hover .overlay {
    opacity: 1;
}

/* See Details Button */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease-in-out, color 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ===== Manifesto Section Styling ===== */
.icon {
    color: var(--primary-color);
    transition: color 0.3s ease-in-out;
}

.card:hover .icon {
    color: var(--secondary-color);
}

.info-box {
    background-color: #f8f9fa;
    /* Light background */
    color: #151d30;
    /* Dark text color */
    border: 1px solid #ddd;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.info-box i {
    color: #89073c;
    /* Primary color for icons */
    transition: transform 0.3s ease;
}

/* Hover effect */
.info-box:hover {
    background-color: #89073c;
    color: #fff;
    border-color: #89073c;
    transform: translateY(-5px);
}

.info-box:hover i {
    color: #fff;
    transform: rotate(360deg);
}

/* ===== Responsive Styling ===== */
@media (max-width: 768px) {
    .carousel-caption {
        max-width: 80% !important;
        left: 10% !important;
    }

    .overlay {
        font-size: 0.9rem;
    }
}

/* ================================
   JS-Based Style (Dynamic Highlight)
================================ */

/* Highlight active section */
section.active {
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    padding: 10px;
    transition: background-color 0.3s ease;
}




/* ================================
   Footer Styling (old)
================================ */
.custom-footer {
    background-color: #151d30;
    color: #ffffff;
    padding-bottom: 70px;
    position: relative;
}

.custom-footer h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #89073c;
    position: relative;
}

.custom-footer h5::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -6px;
    left: 0;
}

/* Links Styling */
.custom-footer a {
    color: var(--pale-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover {
    color: #89073c;
}

/* Learn More Link */
.learn-more-link {
    color: #89073c;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.learn-more-link:hover {
    transform: translateX(5px);
}

/* List Styling */
.custom-footer ul {
    padding-left: 0;
}

.custom-footer ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Icons in List */
.custom-footer ul li i {
    color: #f6f6f6;
    margin-right: 8px;
}

.custom-footer h5 {
    color: #f6f6f6;
    margin-right: 8px;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: #858b80;
    color: #89073c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: var(--pale-grey);
    transform: translateY(-3px);
}

/* Copyright Section */
.copyright {
    background-color: #858b80;
    color: var(--pale-grey);
    font-size: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .custom-footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Bulk Ordering Badge */
.badge-wholesale {
    font-size: 0.7rem;
    z-index: 10;
    border-bottom-right-radius: 0.5rem;
}

/* Breadcrumb */
/* Prevent slash breaking weirdly */
.breadcrumb-item+.breadcrumb-item::before {
    white-space: nowrap;
}

/* Keep breadcrumb in one line */
.breadcrumb-ellipsis {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
}

/* Truncate only last item */
.breadcrumb-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    /* allows shrinking */
    min-width: 0;
    /* needed for ellipsis in flexbox */
}

/* ============================================================
   NEW: Epiki Tours Styles (header, hero, grid, sidebar, footer)
   ============================================================ */

/* Container */
.ek-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient bar */
.ek-gradient-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #5B3FA6 0%, #1063B1 45%, #F5A430 100%);
}

/* Utility bar (if used) */
.ek-utility-bar {
    background: #fff;
    border-bottom: 1px solid var(--ek-line);
}
.ek-utility-bar .ek-container {
    display: flex;
    justify-content: flex-end;
    padding-top: 6px;
    padding-bottom: 6px;
}
.ek-utility-bar span {
    font-size: .78rem;
    color: var(--ek-muted);
}
.ek-utility-bar i {
    margin-right: 6px;
    color: var(--ek-muted);
}

/* Main header */
.ek-header {
    background: #fff;
    border-bottom: 1px solid var(--ek-line);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.ek-header .ek-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
}

/* Logo */
.ek-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}
.ek-logo .ek-logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ek-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.ek-logo-text strong {
    display: block;
    color: var(--ek-primary);
    font-size: 1.02rem;
    letter-spacing: .3px;
    line-height: 1.1;
}
.ek-logo-text small {
    display: block;
    color: var(--ek-muted);
    font-size: .62rem;
    letter-spacing: 1.5px;
}

/* Navigation (desktop) – centered */
.ek-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}
.ek-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 4px 12px;
    justify-content: center;
}
.ek-nav-link {
    display: inline-block;
    padding: 4px 0;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color .2s, color .2s;
    font-size: .95rem;
    white-space: nowrap;
}
.ek-nav-link:hover,
.ek-nav-link.active {
    color: var(--ek-primary);
    border-bottom-color: var(--ek-primary);
}
.ek-nav-link.active {
    font-weight: 600;
}

/* Header actions */
.ek-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
.ek-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--ek-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ek-primary);
    text-decoration: none;
    transition: background .2s;
    cursor: pointer;
}
.ek-icon-btn.square {
    border-radius: 10px;
}
.ek-icon-btn:hover {
    background: var(--ek-bg-soft);
}
.ek-icon-btn .dropdown-toggle::after {
    display: none;
}
.ek-icon-btn .dropdown-toggle {
    padding: 0;
}

/* Mobile search panel */
.ek-mobile-search-panel {
    background: #fff;
    border-bottom: 1px solid var(--ek-line);
    padding: 12px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.ek-mobile-search-panel .search-bar-inner,
.ek-mobile-search-panel .search-main-row {
    width: 100%;
}
.ek-mobile-search-panel .search-input-group {
    width: 100% !important;
}

/* Mobile offcanvas nav */
.ek-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.ek-mobile-nav li {
    margin-bottom: 6px;
}
.ek-mobile-nav .ek-nav-link {
    display: block;
    padding: 8px 0;
    border-bottom: none;
    font-size: 1.1rem;
}
.ek-mobile-nav .ek-nav-link.active {
    border-bottom: none;
    color: var(--ek-primary);
}

/* HERO (new) */
.ek-hero {
    padding: 0 8px;
    background: var(--ek-bg-soft);
}
.ek-eyebrow {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--ek-primary);
    background: #EAF2FB;
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 14px;
}
.ek-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.ek-hero-title {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.28;
    max-width: 640px;
    margin: 0;
}
.ek-stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 14px;
    padding: 10px 16px;
    white-space: nowrap;
}
.ek-stat-badge i {
    color: var(--ek-accent);
    font-size: 1.1rem;
}
.ek-stat-badge strong {
    display: block;
    font-size: .98rem;
    line-height: 1.1;
}
.ek-stat-badge span {
    display: block;
    font-size: .72rem;
    color: var(--ek-muted);
}

.ek-hero-card {
    position: relative;
    margin-top: 22px;
    border-radius: 10px;
    overflow: hidden;
    min-height: 420px;
    background: #0e1a24 center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.ek-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.75) 100%);
    z-index: 1;
}
.ek-hero-card > * {
    position: relative;
    z-index: 2;
}
.ek-hero-card iframe.ek-hero-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 0;
    pointer-events: none;
}
.ek-live-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    background: var(--ek-accent);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ek-expand-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(2px);
}
.ek-hero-dots {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ek-hero-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    display: block;
}
.ek-hero-dots span:first-child {
    background: #fff;
}
.ek-hero-body {
    padding: 30px 28px 28px;
}
.ek-hero-body h2 {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.ek-hero-body p {
    color: rgba(255,255,255,.85);
    max-width: 560px;
    font-size: .92rem;
    margin-bottom: 18px;
}
.ek-hero-actions .btn {
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: .88rem;
}
.ek-btn-primary {
    background: var(--ek-primary);
    border-color: var(--ek-primary);
    color: #fff;
}
.ek-btn-primary:hover {
    background: var(--ek-primary-dark);
    color: #fff;
}
.ek-btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,.7);
    color: #fff;
}
.ek-btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* MAIN CONTENT (new) */
.ek-main {
    padding: 44px 0 8px;
    background-color: var(--ek-bg-soft);
}
.ek-row-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
}
.ek-row-head h4 {
    font-weight: 800;
    margin: 0 0 4px;
}
.ek-row-head p {
    color: var(--ek-muted);
    font-size: .86rem;
    margin: 0;
}
.ek-view-all {
    color: var(--ek-primary);
    font-weight: 600;
    font-size: .86rem;
    text-decoration: none;
    white-space: nowrap;
}
.ek-view-all i {
    margin-left: 4px;
}

.ek-tour-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ek-tour-card {
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.ek-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(16,99,177,.14);
}
.ek-tour-card .ek-thumb {
    height: 150px;
    background: #EDF1F6 center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B9C3D1;
    font-size: 2rem;
}
.ek-tour-card .ek-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.ek-tour-card h5 {
    font-size: .98rem;
    font-weight: 700;
    margin: 0;
}
.ek-tour-card .ek-loc {
    font-size: .78rem;
    color: var(--ek-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ek-tour-card .ek-explore {
    margin-top: auto;
    align-self: flex-end;
    background: var(--ek-bg-soft);
    color: var(--ek-ink);
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ek-tour-card:hover .ek-explore {
    background: var(--ek-primary);
    color: #fff;
}

/* Guide card */
.ek-guide-card {
    margin-top: 24px;
    margin-bottom: 24px;
    background: linear-gradient(120deg, var(--ek-primary) 0%, #0C5CA0 100%);
    border-radius: 18px;
    padding: 26px;
    display: flex;
    gap: 22px;
    align-items: center;
    color: #fff;
    flex-wrap: wrap;
}
.ek-guide-card img {
    width: 150px;
    height: 150px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 auto;
}
.ek-guide-info {
    flex: 1;
    min-width: 220px;
}
.ek-guide-badges-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.ek-cert-pill {
    background: rgba(255,255,255,.18);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .3px;
}
.ek-stars i {
    color: var(--ek-accent);
    font-size: .78rem;
}
.ek-guide-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 2px 0 8px;
}
.ek-guide-info p.quote {
    font-style: italic;
    color: rgba(255,255,255,.9);
    font-size: .88rem;
    max-width: 560px;
    margin-bottom: 16px;
}
.ek-guide-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ek-guide-stat {
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 8px 16px;
}
.ek-guide-stat span.label {
    display: block;
    font-size: .62rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}
.ek-guide-stat span.value {
    display: block;
    font-weight: 800;
    font-size: .96rem;
}

/* Sidebar (new) */
.ek-sidebar h4.title {
    font-weight: 800;
    margin-bottom: 16px;
}
.ek-panel {
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 16px;
    padding: 6px 18px;
    margin-bottom: 18px;
}
.ek-accordion-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--ek-line);
}
.ek-accordion-row:last-child {
    border-bottom: none;
}
.ek-accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
    font-size: .92rem;
}
.ek-accordion-head i.lead {
    color: var(--ek-primary);
    margin-right: 8px;
}
.ek-accordion-head i.chev {
    color: var(--ek-muted);
    transition: transform .2s;
}
.ek-accordion-row.open .ek-accordion-head i.chev {
    transform: rotate(180deg);
}
.ek-accordion-body {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}
.ek-accordion-row:not(.open) .ek-accordion-body {
    display: none;
}
.ek-accordion-body a {
    font-size: .82rem;
    color: var(--ek-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ek-accordion-body a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ek-primary);
    display: inline-block;
}
.ek-accordion-body a:hover {
    color: var(--ek-primary);
}

.ek-why-panel {
    background: var(--white-color);
    border: 1px solid var(--ek-line);
    border-radius: 16px;
    padding: 20px 20px 6px;
}
.ek-why-panel h5 {
    color: var(--ek-primary);
    font-weight: 800;
    margin-bottom: 14px;
}
.ek-why-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.ek-why-item .ic {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid var(--ek-line);
    color: var(--ek-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.ek-why-item strong {
    display: block;
    font-size: .86rem;
    margin-bottom: 2px;
}
.ek-why-item p {
    font-size: .78rem;
    color: var(--ek-muted);
    margin: 0;
}

.ek-newsletter {
    background: linear-gradient(135deg, var(--ek-accent) 0%, #E88C1A 100%);
    border-radius: 16px;
    padding: 22px 20px;
    color: #fff;
    margin-top: 20px;
}
.ek-newsletter h5 {
    font-weight: 800;
    margin-bottom: 8px;
}
.ek-newsletter p {
    font-size: .8rem;
    color: rgba(255,255,255,.92);
    margin-bottom: 14px;
}
.ek-newsletter form {
    display: flex;
    gap: 8px;
}
.ek-newsletter input[type=email] {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: .82rem;
}
.ek-newsletter button {
    background: var(--ek-ink);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: .82rem;
}

/* Explore by Category (new) */
.ek-category-section {
    background: var(--ek-bg-soft);
    padding: 56px 0;
    margin-top: 50px;
}
.ek-category-section h3 {
    text-align: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.ek-category-section > .ek-container > p {
    text-align: center;
    color: var(--ek-muted);
    font-size: .9rem;
    margin-bottom: 30px;
}
.ek-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.ek-cat-tile {
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 14px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.ek-cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16,99,177,.12);
}
.ek-cat-tile .ic {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ek-bg-soft);
    color: var(--ek-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.15rem;
}
.ek-cat-tile strong {
    display: block;
    font-size: .82rem;
    margin-bottom: 2px;
}
.ek-cat-tile span {
    display: block;
    font-size: .68rem;
    color: var(--ek-muted);
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* CTA Banner (new) */
.ek-cta {
    margin: 56px auto 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    background: #0e1a24 center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 36px 72px 0;
}
.ek-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10,16,24,.62);
}
.ek-cta-inner {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 640px;
}
.ek-cta-inner h2 {
    color: #fff;
    font-weight: 800;
    font-size: 1.7rem;
    margin-bottom: 12px;
}
.ek-cta-inner p {
    color: rgba(255,255,255,.85);
    font-size: .92rem;
    margin-bottom: 22px;
}
.ek-cta-inner .btn {
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: .88rem;
}
.ek-btn-accent {
    background: var(--ek-accent);
    border-color: var(--ek-accent);
    color: #fff;
}
.ek-btn-accent:hover {
    background: #dd8f22;
    color: #fff;
}

/* Footer (new) */
.ek-footer {
    margin-top: 56px;
    border-top: 1px solid var(--ek-line);
    padding: 40px 0 22px;
    background-color: #ffffff;
}
.ek-footer .ek-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 30px;
    align-items: flex-start;
}
.ek-footer h6 {
    font-weight: 800;
    margin-bottom: 12px;
    font-size: .92rem;
}
.ek-footer .contact-line {
    font-size: .84rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ek-ink);
}
.ek-footer p.desc {
    font-size: .8rem;
    color: var(--ek-muted);
    margin: 0;
}
.ek-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ek-footer ul li {
    margin-bottom: 9px;
}
.ek-footer ul li a {
    font-size: .83rem;
    color: var(--ek-muted);
    text-decoration: none;
}
.ek-footer ul li a:hover {
    color: var(--ek-primary);
}
.ek-social {
    display: flex;
    gap: 10px;
}
.ek-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ek-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ek-ink);
    text-decoration: none;
}
.ek-social a:hover {
    background: var(--ek-primary);
    color: #fff;
    border-color: var(--ek-primary);
}
.ek-copyright {
    text-align: right;
    font-size: .76rem;
    color: var(--ek-muted);
    margin-top: 14px;
}

/* ============================================================
   RESPONSIVE OVERRIDES (for new styles)
   ============================================================ */

/* Tablet */
@media (max-width: 992px) {
    .ek-main .ek-container > .row {
        flex-direction: column;
    }
    .ek-sidebar {
        margin-top: 36px;
    }
    .ek-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ek-footer .ek-container {
        grid-template-columns: 1fr 1fr;
        row-gap: 28px;
    }
}

/* Phone */
@media (max-width: 768px) {
    .ek-container {
        padding: 0 16px;
    }

    .ek-utility-bar span {
        font-size: .7rem;
    }
    .ek-header .ek-container {
        padding-top: 12px;
        padding-bottom: 12px;
        flex-wrap: nowrap;
    }
    .ek-logo .ek-logo-badge {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .ek-logo-text strong {
        font-size: .92rem;
    }
    .ek-logo-text small {
        font-size: .56rem;
    }
    .ek-icon-btn {
        width: 34px;
        height: 34px;
    }
    .ek-nav {
        display: none !important; /* hide nav on mobile */
    }
    .ek-header-actions {
        gap: 4px;
    }
    .ek-icon-btn {
        font-size: 1rem;
        padding: 4px 6px;
    }

    .ek-hero {
        padding: 0 4px;
    }
    .ek-hero-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .ek-hero-title {
        font-size: 1.3rem;
        max-width: 100%;
    }
    .ek-stat-badge {
        padding: 8px 12px;
    }

    .ek-hero-card {
        min-height: 280px;
        border-radius: 10px;
    }
    .ek-hero-dots {
        display: none;
    }
    .ek-live-badge {
        top: 12px;
        left: 12px;
        font-size: .62rem;
        padding: 5px 10px;
    }
    .ek-expand-btn {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }
    .ek-hero-body {
        padding: 20px 18px 20px;
    }
    .ek-hero-body h2 {
        font-size: 1.25rem;
    }
    .ek-hero-body p {
        font-size: .85rem;
    }
    .ek-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ek-hero-actions .btn {
        text-align: center;
        width: 100%;
    }

    .ek-main {
        padding: 32px 0 4px;
    }
    .ek-row-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .ek-tour-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ek-tour-card .ek-thumb {
        height: 180px;
    }

    .ek-guide-card {
        padding: 18px;
        flex-direction: column;
        text-align: center;
        border-radius: 10px !important;
    }
    .ek-guide-card img {
        width: 100%;
        height: 200px;
    }
    .ek-guide-info {
        min-width: 0;
    }
    .ek-guide-badges-top,
    .ek-guide-stats {
        justify-content: center;
    }
    .ek-guide-info p.quote {
        max-width: 100%;
    }

    .ek-sidebar h4.title {
        font-size: 1.15rem;
    }
    .ek-panel {
        padding: 4px 16px;
    }
    .ek-accordion-body {
        grid-template-columns: 1fr;
    }
    .ek-newsletter form {
        flex-direction: column;
    }
    .ek-newsletter button {
        width: 100%;
    }

    .ek-category-section {
        padding: 40px 0;
        margin-top: 32px;
    }
    .ek-category-section h3 {
        font-size: 1.25rem;
    }
    .ek-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ek-cat-tile {
        padding: 16px 8px;
    }

    .ek-cta {
        min-height: 220px;
        border-radius: 16px;
        margin: 36px 72px 0;
    }
    .ek-cta-inner h2 {
        font-size: 1.3rem;
    }
    .ek-cta-inner p {
        font-size: .85rem;
    }
    .ek-cta-inner .btn {
        width: 100%;
    }
    .ek-cta-inner .d-flex {
        flex-direction: column;
    }

    .ek-footer {
        margin-top: 36px;
        padding: 30px 0 18px;
    }
    .ek-footer .ek-container {
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
    .ek-copyright {
        text-align: left;
    }
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
.ek-td-wrap {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure all grid/flex containers stay within the viewport */
.ek-tour-grid,
.ek-tour-main,
.ek-tour-sidebar,
.ek-sidebar-card,
.ek-related-item,
.ek-guide-card {
    max-width: 100%;
    overflow: hidden;
}

/* Guide card on mobile – reduce image size and gap */
@media (max-width: 576px) {
    .ek-guide-card .rounded-circle {
        width: 70px !important;
        height: 70px !important;
    }
    .ek-guide-card .gap-3 {
        gap: 0.75rem !important;
    }
    .ek-guide-card .h5 {
        font-size: 1rem;
    }
    .ek-guide-card .quote {
        font-size: 0.75rem;
    }
}
/* Small phones */
@media (max-width: 380px) {
    .ek-cat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ek-hero-title {
        font-size: 1.15rem;
    }
}

.ek-filter-link.active {
    font-weight: 700;
    color: var(--ek-primary);
}
.ek-filter-link.active::before {
    content: "✓ ";
}

.ek-accordion-row.open .ek-accordion-head i.chev {
    transform: rotate(180deg);
}
.ek-accordion-row:not(.open) .ek-accordion-body {
    display: none;
}
.ek-accordion-row.open .ek-accordion-body {
    display: grid;
}

/* Blog Slider */
.ek-blog-slider-section {
    padding: 60px 0;
    background: var(--ek-bg-soft);
}

.ek-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.ek-section-header h3 {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 6px;
}
.ek-section-header p {
    color: var(--ek-muted);
    font-size: 0.95rem;
}

.blog-content {
    padding: 10px 0;
}
.blog-flag {
    font-size: 1.2rem;
    margin-right: 8px;
}
.blog-location {
    font-size: 0.85rem;
    color: var(--ek-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-content h4 {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 12px 0 10px;
}
.blog-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}
.blog-image-wrapper {
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.blog-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.blog-placeholder {
    width: 100%;
    height: 250px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 3rem;
}

/* Carousel controls – custom colors */
#blogCarousel .carousel-control-prev,
#blogCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(16, 99, 177, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
#blogCarousel .carousel-control-prev {
    left: -10px;
}
#blogCarousel .carousel-control-next {
    right: -10px;
}
#blogCarousel .carousel-control-prev-icon,
#blogCarousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}
#blogCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ek-primary);
}

@media (max-width: 768px) {
    #blogCarousel .carousel-control-prev,
    #blogCarousel .carousel-control-next {
        display: none;
    }
    .blog-content h4 {
        font-size: 1.2rem;
    }
    .blog-image-wrapper img,
    .blog-placeholder {
        height: 180px;
    }
}

/* ===== New Footer Styles ===== */
.custom-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}
.custom-footer h5 {
    font-weight: 700;
    color: var(--ek-ink);
    margin-bottom: 1rem;
}
.custom-footer ul {
    list-style: none;
    padding: 0;
}
.custom-footer ul li {
    margin-bottom: 8px;
}
.custom-footer ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}
.custom-footer ul li a:hover {
    color: var(--ek-primary);
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ek-primary);
    color: #fff;
    transition: background 0.3s, transform 0.2s;
}
.social-icon:hover {
    background: var(--ek-accent);
    transform: translateY(-2px);
}
.social-icon i {
    font-size: 16px;
}
.copyright {
    background: var(--ek-primary);
    color: #fff;
}

/* =============================================================
   ADDED: Styles for 360°, Live Tours, and Tour Details pages
   ============================================================= */

/* ---------- Filter Sidebar (shared by 360° & Live) ---------- */
.filter-sidebar {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 20px;
}
.filter-sidebar h5 {
    font-weight: 700;
    margin-bottom: 12px;
}
.filter-group-toggle {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.filter-group-toggle:focus {
    outline: none;
    box-shadow: none;
}
.filter-group .form-check {
    margin-bottom: 8px;
}
.filter-group .form-check-label {
    color: #555;
    font-size: 0.92rem;
}

.expert-guides-box,
.need-help-box {
    border-radius: 12px;
    padding: 18px;
}
.expert-guides-box {
    background: #eaf2fb;
    border: 1px solid #d6e7f9;
}
.expert-guides-box h6 {
    font-weight: 700;
    color: #1063B1;
}
.need-help-box {
    background: #fdf1e7;
    border: 1px solid #f8e2cc;
}
.need-help-box h6 {
    font-weight: 700;
    color: #b5651d;
}
.need-help-box p {
    color: #7a5a3a;
}

/* ---------- Search Box ---------- */
.search-box {
    position: relative;
    min-width: 260px;
}
.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa5b1;
}
.search-box input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border-radius: 10px;
    border: 1px solid #dde3ea;
    font-size: 0.9rem;
}
.search-box input:focus {
    outline: none;
    border-color: #1063B1;
    box-shadow: 0 0 0 3px rgba(16, 99, 177, 0.12);
}

/* ---------- Tour List Card (used on 360° & Live pages) ---------- */
.tour-list-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tour-list-card:hover {
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}
.tour-list-thumb-wrap {
    position: relative;
    min-height: 100%;
}
.tour-list-thumb {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    border: 0;
    display: block;
}
.tour-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 3;
}
.tour-type-badge.status-upcoming {
    background: rgba(16, 99, 177, 0.92);
}
.tour-type-badge.status-ongoing {
    background: rgba(30, 138, 76, 0.92);
}
.tour-type-badge.status-completed {
    background: rgba(120, 130, 140, 0.92);
}
.tour-type-badge.status-cancelled {
    background: rgba(200, 60, 60, 0.92);
}
.tour-type-badge.status-unscheduled {
    background: rgba(160, 120, 20, 0.92);
}
.paid-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 8px;
    border-radius: 20px;
    z-index: 3;
}
.ai-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    font-size: 0.72rem;
    padding: 5px 8px;
    border-radius: 20px;
    z-index: 3;
}
.tour-list-body {
    padding: 18px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tour-list-title {
    font-weight: 700;
    margin-bottom: 4px;
}
.tour-list-rating {
    color: #f5a623;
    font-size: 0.9rem;
    white-space: nowrap;
}
.tour-list-rating .review-count {
    color: #9aa5b1;
    font-weight: 400;
}
.tour-list-location {
    color: #7a8794;
    font-size: 0.86rem;
    margin-bottom: 8px;
}
.tour-list-desc {
    color: #5c6b79;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.tour-list-meta {
    color: #7a8794;
    font-size: 0.84rem;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.view-details-link {
    color: #1063B1;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.view-details-link:hover {
    text-decoration: underline;
}
.tour-list-actions {
    display: flex;
    gap: 10px;
}
.tour-list-actions .btn {
    border-radius: 20px;
    font-size: 0.85rem;
}
.add-to-plan-btn.added {
    background: #e7f6ec;
    border-color: #bfe6cc;
    color: #1e8a4c;
}

/* ---------- Tour Details page: Overrides & scoped styles ---------- */
.ek-td-wrap a {
    color: inherit;
}
.ek-td-wrap .breadcrumb-item a {
    color: var(--ek-primary);
    text-decoration: none;
}
.ek-td-wrap .ek-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}
.ek-td-wrap .ek-badge-360 {
    background: linear-gradient(135deg, var(--ek-primary), var(--ek-accent));
    color: #fff;
}
.ek-td-wrap .ek-badge-ai {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
}
.ek-td-wrap .ek-status-upcoming {
    background: #EAF2FB;
    color: var(--ek-primary);
}
.ek-td-wrap .ek-status-ongoing {
    background: #E9F8EF;
    color: var(--ek-success);
}
.ek-td-wrap .ek-status-completed {
    background: var(--ek-bg-soft);
    color: var(--ek-muted);
}
.ek-td-wrap .ek-status-cancelled {
    background: #FBEAEA;
    color: var(--ek-danger);
}
.ek-td-wrap .ek-pulse-dot {
    font-size: 0.5rem;
    animation: ekPulse 1.4s infinite;
}
@keyframes ekPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Hero – full‑width */
.ek-hero-wrap {
    margin-bottom: 0;
    width: 100%;
}
.ek-hero-media {
    position: relative;
    overflow: hidden;
    background: #0e1a24;
}
.ek-hero-media .panorama-frame {
    width: 100%;
    height: 70vh;
    min-height: 420px;
    max-height: 640px;
    border: 0;
    display: block;
}
.ek-hero-media img.ek-hero-img {
    width: 100%;
    height: 70vh;
    min-height: 420px;
    max-height: 640px;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .ek-hero-media .panorama-frame,
    .ek-hero-media img.ek-hero-img {
        height: 50vh;
        min-height: 300px;
    }
}
.ek-hero-media:fullscreen .panorama-frame,
.ek-hero-media:-webkit-full-screen .panorama-frame {
    height: 100vh;
}

/* top‑right controls */
.ek-hero-controls-top {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.ek-hero-controls-top button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    color: var(--ek-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s;
}
.ek-hero-controls-top button:hover {
    transform: scale(1.06);
}

/* scene rail */
.ek-scene-rail {
    position: absolute;
    top: 70px;
    right: 16px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}
.ek-scene-thumb {
    width: 64px;
    text-align: center;
    cursor: pointer;
}
.ek-scene-thumb .circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: var(--ek-bg-soft);
}
.ek-scene-thumb.active .circle {
    border-color: var(--ek-accent);
}
.ek-scene-thumb .circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ek-scene-thumb .circle.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ek-muted);
}
.ek-scene-thumb .label {
    display: block;
    margin-top: 4px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* interactive indicator */
.ek-interactive-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.ek-play-btn-round {
    pointer-events: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 99, 177, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: transform 0.2s, background 0.2s;
}
.ek-play-btn-round:hover {
    background: var(--ek-primary);
    transform: scale(1.06);
}
.ek-interactive-indicator span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* bottom overlay */
.ek-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding: 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0) 70%);
}
.ek-hero-overlay-left {
    min-width: 0;
}
.ek-hero-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ek-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.ek-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 6px;
}
.ek-hero-meta a {
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
}
.ek-hero-meta .dot {
    opacity: 0.6;
}
.ek-hero-overlay-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.ek-like-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 24px;
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.ek-like-pill:hover {
    background: rgba(0, 0, 0, 0.68);
}
.ek-like-pill i {
    color: #E0536B;
}
.ek-start-tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: none;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    background: var(--ek-gradient);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 99, 177, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}
.ek-start-tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 99, 177, 0.45);
    color: #fff;
}
.ek-hero-placeholder {
    height: 70vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}
@media (max-width: 768px) {
    .ek-hero-overlay {
        flex-direction: column;
        align-items: flex-start;
    }
    .ek-hero-overlay-right {
        width: 100%;
        justify-content: flex-start;
    }
    .ek-scene-rail {
        top: 60px;
    }
    .ek-scene-thumb .circle {
        width: 44px;
        height: 44px;
    }
}

/* alerts */
.ek-alert {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.ek-alert-success {
    background: #E9F8EF;
    color: var(--ek-success);
}
.ek-alert-danger {
    background: #FBEAEA;
    color: var(--ek-danger);
}
.ek-alert-warning {
    background: #FFF6E5;
    color: #8A6116;
}
.ek-alert-info {
    background: #EAF2FB;
    color: var(--ek-primary);
}

/* section cards */
.ek-section {
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 22px;
}
.ek-section h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--ek-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ek-section-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.ek-section-title-bar .bar {
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: var(--ek-accent);
}
.ek-section-title-bar h4 {
    margin: 0;
    padding: 0;
    border: 0;
}
.ek-overview p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 14px;
}
.ek-overview p:last-child {
    margin-bottom: 0;
}

/* Tour Details – Guide card (scoped to avoid conflict with homepage .ek-guide-card) */
.ek-td-guide-card {
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ek-td-guide-photo-wrap {
    position: relative;
    flex-shrink: 0;
}
.ek-td-guide-photo {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ek-bg-soft);
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.ek-td-guide-photo-fallback {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ek-primary), var(--ek-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.ek-td-guide-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ek-success);
    border: 2px solid #fff;
}
.ek-td-guide-body {
    flex: 1;
    min-width: 220px;
}
.ek-td-guide-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: #FFF6E5;
    color: #8A6116;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}
.ek-td-guide-name {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--ek-ink);
}
.ek-td-guide-quote {
    font-size: 0.86rem;
    font-style: italic;
    color: var(--ek-muted);
    line-height: 1.6;
    margin: 0;
}
.ek-td-guide-quote-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 14px;
}
.ek-td-guide-quote-row .ek-td-guide-quote {
    flex: 1;
}
.ek-td-guide-more-btn {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--ek-line);
    background: #fff;
    color: var(--ek-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.ek-td-guide-more-btn:hover {
    background: var(--ek-bg-soft);
}
.ek-td-guide-more-btn.is-open {
    transform: rotate(90deg);
}
.ek-td-guide-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ek-btn-outline {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--ek-line);
    background: #fff;
    color: var(--ek-ink);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.ek-btn-outline:hover {
    border-color: var(--ek-primary);
    color: var(--ek-primary);
}

/* Comments */
.ek-comment-form input,
.ek-comment-form textarea {
    border: 1px solid var(--ek-line);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    width: 100%;
}
.ek-comment-form textarea {
    resize: vertical;
}
.ek-comment-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ek-primary);
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}
.ek-comment-submit:hover {
    background: var(--ek-primary-dark);
}
.ek-comment-item {
    display: flex;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ek-line);
}
.ek-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ek-bg-soft);
    border: 1px solid var(--ek-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ek-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.ek-comment-name {
    font-weight: 700;
    font-size: 0.85rem;
}
.ek-comment-date {
    font-size: 0.72rem;
    color: var(--ek-muted);
}
.ek-comment-text {
    font-size: 0.85rem;
    margin: 4px 0 0;
}
.ek-empty-state {
    text-align: center;
    padding: 26px 10px;
    color: var(--ek-muted);
}
.ek-empty-state i {
    font-size: 1.8rem;
    opacity: 0.35;
    display: block;
    margin-bottom: 8px;
}

/* Sidebar cards (tour details) */
.ek-tour-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 992px) {
    .ek-tour-grid {
        grid-template-columns: 1fr;
    }
}
.ek-tour-sidebar {
    position: sticky;
    top: 20px;
}
@media (max-width: 992px) {
    .ek-tour-sidebar {
        position: static;
    }
}

.ek-sidebar-card {
    background: #fff;
    border: 1px solid var(--ek-line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
}
.ek-sidebar-header {
    background: linear-gradient(135deg, var(--ek-primary), var(--ek-primary-dark));
    color: #fff;
    padding: 14px 18px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.ek-sidebar-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 4px;
}
.ek-sidebar-header-flex .ek-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ek-ink);
}
.ek-sidebar-header-flex .ek-see-all {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ek-primary);
    text-decoration: none;
}
.ek-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--ek-line);
    font-size: 0.86rem;
}
.ek-detail-row:last-of-type {
    border-bottom: none;
}
.ek-detail-row .label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ek-ink);
    font-weight: 600;
}
.ek-detail-row .label i {
    color: var(--ek-primary);
    width: 16px;
    text-align: center;
}
.ek-detail-row .value {
    color: var(--ek-muted);
    font-weight: 600;
}
.ek-book-btn-wrap {
    padding: 16px 18px 18px;
}
.ek-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.ek-cta-primary {
    background: var(--ek-gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 99, 177, 0.32);
}
.ek-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 99, 177, 0.4);
    color: #fff;
}
.ek-cta-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: #fff;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.32);
}
.ek-cta-success:hover {
    transform: translateY(-2px);
    color: #fff;
}
.ek-cta-muted {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #fff;
}
.ek-cta-disabled {
    background: linear-gradient(135deg, #c3ccd6, #a7b1bd);
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}
.ek-pay-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 18px 16px;
}
.ek-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 12px;
    border-radius: 12px;
    border: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.ek-waitlist-box {
    padding: 16px 18px;
}
.ek-waitlist-box p {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.ek-waitlist-box input {
    width: 100%;
    border: 1px solid var(--ek-line);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.ek-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 18px 0;
}
.ek-date-cell {
    background: var(--ek-bg-soft);
    border: 1px solid var(--ek-line);
    border-radius: 10px;
    padding: 8px 12px;
}
.ek-date-cell .lbl {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ek-muted);
}
.ek-date-cell .val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ek-ink);
}
.ek-date-cell .time {
    font-size: 0.76rem;
    color: var(--ek-muted);
}
.ek-status-note {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 12px 18px 0;
}
.ek-tp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 16px;
}
.ek-tp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #EAF2FB;
    color: var(--ek-primary);
    border: 1px solid #C8D8EF;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.15s;
}
.ek-tp-btn:hover {
    background: #DCE8F7;
}

/* Related tours list (sidebar) */
.ek-related-item {
    display: flex;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--ek-line);
    text-decoration: none;
    transition: background 0.15s;
    align-items: center;
}
.ek-related-item:last-child {
    border-bottom: none;
}
.ek-related-item:hover {
    background: var(--ek-bg-soft);
}
.ek-related-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--ek-bg-soft);
}
.ek-related-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ek-ink);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.ek-related-meta {
    font-size: 0.72rem;
    color: var(--ek-muted);
}

/* More From This Guide */
.ek-more-guide-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 26px 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(20, 14, 8, 0.75), rgba(20, 14, 8, 0.85)), url('assets/img/safari-dark-pattern.jpg') center/cover;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ek-more-guide-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 4px;
}
.ek-more-guide-card h5 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}
.ek-more-guide-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 6px;
    max-width: 230px;
}
.ek-more-guide-btn {
    background:var(--ek-accent);
    color: var(--ek-ink);
    border: none;
    border-radius: 20px;
    padding: 9px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

/* Media preview modal */
.ek-preview-modal .modal-content {
    background: #12181f;
    border-radius: 14px;
    border: none;
}
.ek-preview-modal .modal-header,
.ek-preview-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}
.ek-preview-modal .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* TravelPayouts modal */
.ek-tp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}
.ek-tp-modal-box {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.ek-tp-modal-head {
    background: linear-gradient(135deg, var(--ek-primary), var(--ek-primary-dark));
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ek-tp-modal-head button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.85;
}
.ek-tp-modal-body {
    padding: 16px;
    min-height: 100px;
}

/* Non-360 media gallery */
.ek-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.ek-thumb-tile {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--ek-line);
    background: var(--ek-bg-soft);
}
.ek-thumb-tile img,
.ek-thumb-tile video {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}
.ek-thumb-tile .type-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    color: #fff;
}
.ek-thumb-tile .type-badge.image {
    background: var(--ek-primary);
}
.ek-thumb-tile .type-badge.video {
    background: var(--ek-success);
}
.ek-thumb-tile .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.ek-thumb-tile:hover .play-overlay {
    opacity: 1;
}

/* Carousel (Live Tours page) */
.featured-carousel-section {
    position: relative;
    padding: 0 40px;
}
.featured-carousel-container {
    overflow: hidden;
    padding: 20px 0;
}
.featured-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 24px;
}
.featured-carousel-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
    transition: transform 0.3s ease;
}
.featured-carousel-item:hover {
    transform: translateY(-5px);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 99, 177, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: rgba(16, 99, 177, 1);
    transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev {
    left: 0;
}
.carousel-btn.next {
    right: 0;
}
.carousel-dots {
    text-align: center;
    margin-top: 20px;
}
.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    background: #1063B1;
    width: 30px;
    border-radius: 5px;
}
@media (max-width: 768px) {
    .featured-carousel-item {
        flex: 0 0 calc(100% - 16px);
        min-width: calc(100% - 16px);
    }
    .featured-carousel-section {
        padding: 0 20px;
    }
    .carousel-btn {
        width: 30px;
        height: 30px;
    }
}
@media (min-width: 769px) and (max-width: 992px) {
    .featured-carousel-item {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

/* =============================================================
   GLOBAL: Force 10px border-radius on all cards & buttons
   ============================================================= */

/* All cards & buttons (including custom classes) */
.card,
.btn,
.ek-tour-card,
.tour-list-card,
.ek-sidebar-card,
.ek-section,
.filter-sidebar,
.expert-guides-box,
.need-help-box,
.ek-guide-card,
.ek-td-guide-card,
.ek-more-guide-card,
.ek-panel,
.ek-why-panel,
.ek-newsletter,
.ek-cta-inner .btn,
.ek-book-btn-wrap .btn,
.tour-list-actions .btn,
.ek-comment-submit,
.ek-cta-btn,
.ek-pay-btn,
.ek-tp-btn,
.ek-more-guide-btn,
.ek-btn-outline,
.ek-start-tour-btn,
.ek-like-pill,
.ek-filter-link,
.ek-view-all,
.ek-expand-btn,
.ek-icon-btn:not(.ek-icon-btn.square) {
    border-radius: 10px !important;
}

/* Keep pills, badges, tags at 20px (pill shape) */
.ek-badge-pill,
.ek-badge-360,
.ek-badge-ai,
.ek-status-upcoming,
.ek-status-ongoing,
.ek-status-completed,
.ek-status-cancelled,
.ek-cert-pill,
.ek-td-guide-tag,
.ek-guide-tag,
.tour-type-badge,
.paid-badge,
.ai-badge,
.badge,
.badge-wholesale {
    border-radius: 20px !important;
}

/* Keep circular elements at 50% */
.ek-scene-thumb .circle,
.ek-td-guide-photo,
.ek-td-guide-photo-fallback,
.ek-guide-photo,
.ek-guide-photo-fallback,
.ek-comment-avatar,
.social-icon,
.ek-icon-btn,
.ek-play-btn-round,
.carousel-btn,
.carousel-dot {
    border-radius: 50% !important;
}

/* Keep other specific shapes (e.g., square icons) */
.ek-icon-btn.square {
    border-radius: 10px !important;
}

/* ============================================================
   IMMERSIVE HERO BANNER (used on 360° & Live Tours pages)
   ============================================================ */

.page-banner-section.epiki-immersive-hero {
    min-height: 460px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-color: #111;
    text-align: left !important;
}
.epiki-immersive-hero .hero-media-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #111;
}
.epiki-immersive-hero .hero-panorama-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.epiki-immersive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
    pointer-events: none;
}
.epiki-immersive-hero > * {
    position: relative;
    z-index: 2;
}

/* Top-left live badge */
.epiki-immersive-hero .hero-live-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

/* Top-right viewer controls */
.epiki-immersive-hero .hero-viewer-controls {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.epiki-immersive-hero .hero-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.epiki-immersive-hero .hero-icon-btn:hover {
    background: rgba(0,0,0,0.65);
}

/* Bottom text block – left aligned, stacked */
.epiki-immersive-hero .hero-text-block {
    width: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    justify-content: flex-start;
    text-align: left !important;
}
.epiki-immersive-hero {
    justify-content: flex-start;
}

.epiki-immersive-hero .hero-title {
    text-align: left !important;
    align-self: flex-start;
}

/* Location row: inline with CTA */
.epiki-immersive-hero .hero-location-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.epiki-immersive-hero .hero-location {
    font-size: 0.95rem !important;
    color: rgba(255,255,255,0.85) !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

/* CTA button – inline with location */
.epiki-immersive-hero .hero-cta-btn {
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    white-space: nowrap;
}

/* POV buttons (panorama only) */
.epiki-immersive-hero .hero-pov-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.epiki-immersive-hero .hero-pov-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: default;
}
.epiki-immersive-hero .hero-pov-btn small {
    display: block;
    opacity: 0.75;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Responsive – stack on mobile */
@media (max-width: 768px) {
    .epiki-immersive-hero .hero-text-block {
        flex-direction: column;
        align-items: flex-start;
    }
    .epiki-immersive-hero .hero-cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* Guide card – image + text in one row on desktop */
.ek-guide-card {
    flex-wrap: nowrap;
    align-items: flex-start;
}
.ek-guide-card .ek-guide-body {
    flex: 1 1 auto;
    min-width: 0;
}
.ek-guide-card .ek-guide-photo-wrap {
    flex: 0 0 auto;
}

/* On mobile, stack them */
@media (max-width: 768px) {
    .ek-guide-card {
        flex-wrap: wrap;
    }
    .ek-guide-card .ek-guide-body {
        min-width: 220px;
    }
}