/*
Theme Name: Travel Souk
Theme URI: https://www.travelsouk.co.uk
Author: Travel Souk
Author URI: https://www.travelsouk.co.uk
Description: Official Travel Souk WordPress theme. Curated cultural tours, food experiences & adventures powered by Viator. Destinations include Turkey, Spain, Bosnia, Albania, Tanzania, Malawi, Saudi Arabia, Jordan, Netherlands and Belgium.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://www.travelsouk.co.uk
Text Domain: travelsouk
Tags: travel, tour, viator, cultural, food, custom-background, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: #FFFBF5;
    color: #1A1A2E;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #00A843; text-decoration: none; transition: color 0.2s; }
a:hover { color: #00C04B; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    font-weight: 700;
    color: #1A1A2E;
    
}

h1 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 700;  }
h2 { font-size: clamp(26px, 3.5vw, 42px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 20px; }
p { color: #4A4A6A; line-height: 1.7; }

/* === LAYOUT === */
.ts-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ts-section {
    padding: 5rem 0;
}

.ts-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ts-section-title { color: #fff; font-family: 'Playfair Display', serif; font-weight: 700;  }
.ts-section-title span { color: #00A843; }

.ts-see-all {
    color: #008A38;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,192,75,0.4);
    padding-bottom: 1px;
    white-space: nowrap;
}
.ts-see-all:hover { color: #00C04B; border-color: #00C04B; }

/* === BUTTONS === */
.ts-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.ts-btn-primary {
    background: #00A843;
    color: #0A1628;
}
.ts-btn-primary:hover { background: #00C04B; color: #0A1628; transform: translateY(-1px); }

.ts-btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}
.ts-btn-outline:hover { border-color: #00A843; color: #00A843; }

.ts-btn-dark {
    background: #FFFBF5;
    color: #fff;
}
.ts-btn-dark:hover { background: #0d1f3a; }

/* === EYEBROW === */
.ts-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,192,75,0.1);
    border: 1px solid rgba(0,192,75,0.3);
    color: #00A843;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

/* === CARDS === */
.ts-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}
.ts-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,192,75,0.4);
}

.ts-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
}

.ts-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #00A843;
    color: #0A1628;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ts-card-body { padding: 1.25rem; }

.ts-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 4px;
}

.ts-card-desc {
    font-size: 13px;
    color: #8888AA;
    margin-bottom: 1rem;
}

.ts-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ts-price { color: #00A843; font-weight: 600; font-size: 15px; }
.ts-price span { font-size: 11px; color: #9999AA; font-weight: 400; margin-right: 2px; }
.ts-stars { color: #F5C542; font-size: 12px; letter-spacing: 1px; }

/* === NAVIGATION === */
#ts-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,251,245,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,168,67,0.15);
    /* Required for mega-menu absolute positioning */
    overflow: visible;
}

.ts-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 2rem;
}

.ts-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #00A843;
    text-decoration: none;
    flex-shrink: 0;
}
.ts-logo:hover { color: #00A843; }
.ts-logo .tld { color: #9999AA; font-size: 13px; font-weight: 400; }

.ts-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
    flex: 1;
    justify-content: center;
}
.ts-nav-links a {
    color: #4A4A6A;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.ts-nav-links a:hover,
.ts-nav-links a.current { color: #00A843; }

/* Dropdown */
.ts-nav-links li { position: relative; }
.ts-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #0F1E36;
    border: 1px solid rgba(0,192,75,0.2);
    border-radius: 12px;
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    z-index: 200;
}
.ts-nav-links li:hover .ts-dropdown { display: block; }
.ts-dropdown li a {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    color: #4A4A6A;
    border-radius: 0;
}
.ts-dropdown li a:hover { color: #00A843; background: rgba(0,192,75,0.07); }

.ts-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile hamburger */
.ts-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.ts-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1A1A2E;
    border-radius: 2px;
    transition: all 0.3s;
}

/* === HERO === */
#ts-hero {
    background: #FFFBF5;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#ts-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,168,67,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.ts-hero-content { position: relative; z-index: 1; }

.ts-hero-h1 {
    margin-bottom: 1rem;
}
.ts-hero-h1 em {
    font-style: italic;
    color: #00A843;
}

.ts-hero-sub {
    font-size: 18px;
    color: #6B6B8A;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.65;
}

/* Search */
.ts-hero-search {
    display: flex;
    max-width: 560px;
    margin: 0 auto 2rem;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(0,168,67,0.3);
    border-radius: 50px;
    overflow: hidden;
    align-items: center;
    padding: 4px 4px 4px 22px;
}
.ts-hero-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #1A1A2E;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    min-width: 0;
}
.ts-hero-search input::placeholder { color: #AAAABB; }

/* Filter tags */
.ts-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 2rem 0;
}
.ts-tag {
    background: #ffffff;
    border: 1.5px solid rgba(0,0,0,0.1);
    color: #4A4A6A;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ts-tag:hover, .ts-tag.active {
    background: rgba(0,192,75,0.12);
    border-color: #00A843;
    color: #00A843;
}

/* Stats strip */
.ts-stats-strip {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-wrap: wrap;
}
.ts-stat { text-align: center; }
.ts-stat-val {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #00A843;
    line-height: 1;
}
.ts-stat-label {
    font-size: 11px;
    color: #9999AA;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

/* === DESTINATIONS GRID === */
.ts-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* === EXPERIENCES LIST === */
.ts-exp-list { display: flex; flex-direction: column; gap: 12px; }

.ts-exp-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-decoration: none;
}
.ts-exp-item:hover { border-color: rgba(0,192,75,0.35); background: rgba(0,192,75,0.04); }

.ts-exp-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(0,192,75,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.ts-exp-info { flex: 1; min-width: 0; }
.ts-exp-name { font-weight: 600; font-size: 15px; color: #1A1A2E; }
.ts-exp-meta { font-size: 12px; color: #9999AA; margin-top: 3px; }
.ts-exp-right { text-align: right; flex-shrink: 0; }
.ts-exp-price { color: #00A843; font-weight: 600; font-size: 15px; }
.ts-exp-stars { color: #F5C542; font-size: 11px; }

/* === VIATOR BANNER === */
.ts-viator-banner {
    background: rgba(0,192,75,0.06);
    border: 1px solid rgba(0,192,75,0.18);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.ts-viator-icon-wrap {
    width: 58px; height: 58px;
    background: #00A843;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.ts-viator-text { flex: 1; min-width: 200px; }
.ts-viator-text h3 { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.ts-viator-text p { font-size: 13px; color: #6B6B8A; }

/* === AI PLANNER WIDGET === */
#ts-planner {
    background: #0F1E36;
    border-top: 1px solid rgba(0,192,75,0.12);
}

.ts-planner-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ts-planner-intro h2 { margin-bottom: 1rem; color: #1A1A2E; }
.ts-planner-intro p { margin-bottom: 1.5rem; color: #4A4A6A; }

.ts-planner-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 2rem; }
.ts-planner-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4A4A6A;
}
.ts-planner-features li::before {
    content: '✦';
    color: #00A843;
    font-size: 10px;
    flex-shrink: 0;
}

.ts-chat-widget {
    background: #FFFBF5;
    border: 1px solid rgba(0,192,75,0.2);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 520px;
}

.ts-chat-header {
    padding: 16px 20px;
    background: rgba(0,192,75,0.08);
    border-bottom: 1px solid rgba(0,192,75,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ts-chat-avatar {
    width: 36px; height: 36px;
    background: #00A843;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.ts-chat-title { font-weight: 600; font-size: 14px; color: #ffffff; }
.ts-chat-status { font-size: 11px; color: rgba(255,255,255,0.75); }
.ts-chat-online {
    width: 8px; height: 8px;
    background: #00A843;
    border-radius: 50%;
    margin-left: auto;
}

.ts-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.ts-chat-messages::-webkit-scrollbar { width: 4px; }
.ts-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ts-chat-messages::-webkit-scrollbar-thumb { background: rgba(0,192,75,0.3); border-radius: 2px; }

.ts-msg {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    max-width: 88%;
}
.ts-msg-bot { align-self: flex-start; }
.ts-msg-user { align-self: flex-end; flex-direction: row-reverse; }

.ts-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    font-family: 'DM Sans', sans-serif;
}
.ts-msg-bot .ts-msg-bubble {
    background: #F5F5FA;
    border: 1px solid rgba(0,0,0,0.07);
    color: #2D2D4E;
    border-bottom-left-radius: 4px;
}
.ts-msg-user .ts-msg-bubble {
    background: #00A843;
    color: #0A1628;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.ts-msg-icon {
    width: 28px; height: 28px;
    background: rgba(0,192,75,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.ts-chat-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 10px 14px;
    background: #F5F5FA;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}
.ts-dot {
    width: 6px; height: 6px;
    background: rgba(0,168,67,0.5);
    border-radius: 50%;
    animation: ts-bounce 1.2s infinite;
}
.ts-dot:nth-child(2) { animation-delay: 0.2s; }
.ts-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ts-bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

.ts-chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    gap: 8px;
    align-items: flex-end;
}
.ts-chat-input {
    flex: 1;
    background: #F8F8FC;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 22px;
    padding: 10px 16px;
    color: #1A1A2E;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    resize: none;
    min-height: 42px;
    max-height: 100px;
    transition: border-color 0.2s;
    line-height: 1.4;
}
.ts-chat-input:focus { border-color: rgba(0,192,75,0.4); }
.ts-chat-input::placeholder { color: #AAAABB; }

.ts-chat-send {
    width: 42px; height: 42px;
    background: #00A843;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
    color: #0A1628;
    font-size: 16px;
}
.ts-chat-send:hover { background: #00C04B; transform: scale(1.05); }
.ts-chat-send:disabled { background: rgba(0,192,75,0.3); cursor: not-allowed; transform: none; }

.ts-quick-prompts {
    padding: 0 16px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ts-quick-prompt {
    background: rgba(0,192,75,0.08);
    border: 1px solid rgba(0,192,75,0.2);
    color: #00A843;
    font-size: 11px;
    font-family: 'DM Sans', sans-serif;
    padding: 5px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.ts-quick-prompt:hover { background: rgba(0,192,75,0.18); }

/* === CTA BANNER === */
.ts-cta-section {
    background: linear-gradient(135deg, #00A843 0%, #00C04B 100%);
    padding: 5rem 0;
    text-align: center;
}
.ts-cta-section h2 { color: #0A1628; margin-bottom: 0.75rem; font-weight: 700;  }
.ts-cta-section p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* === ABOUT STRIP === */
.ts-about-strip {
    background: #FFF5E6;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 3.5rem 0;
}

.ts-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.ts-about-item { text-align: center; }
.ts-about-icon {
    font-size: 36px;
    margin-bottom: 1rem;
    display: block;
}
.ts-about-item h4 { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: #1A1A2E; margin-bottom: 6px; }
.ts-about-item p { font-size: 13px; color: #6B6B8A; }

/* === FOOTER === */
#ts-footer {
    background: #1A1A2E;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ts-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ts-footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    max-width: 260px;
    margin-top: 1rem;
    line-height: 1.7;
}

.ts-footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}
.ts-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ts-footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.ts-footer-col ul li a:hover { color: #00A843; }

.ts-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.ts-footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.ts-footer-bottom a { color: #00A843; }

/* === DESTINATION PAGE === */
.ts-dest-hero {
    height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    background: #FFFBF5;
}
.ts-dest-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.3) 60%, transparent 100%);
}
.ts-dest-hero-content { position: relative; z-index: 1; }
.ts-dest-hero-emoji { font-size: 72px; margin-bottom: 1rem; }
.ts-dest-hero h1 { font-size: clamp(32px, 4vw, 56px); }
.ts-dest-hero p { color: rgba(255,255,255,0.6); font-size: 16px; max-width: 500px; margin-top: 0.5rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .ts-planner-wrap { grid-template-columns: 1fr; }
    .ts-footer-grid { grid-template-columns: 1fr 1fr; }
    .ts-nav-links { display: none; }
    .ts-nav-right { display: none; }
    .ts-hamburger { display: flex !important; }
    .ts-stats-strip { gap: 2rem; }
}

@media (max-width: 600px) {
    .ts-container { padding: 0 1.25rem; }
    .ts-section { padding: 3rem 0; }
    .ts-footer-grid { grid-template-columns: 1fr; }
    .ts-dest-grid { grid-template-columns: 1fr 1fr; }
    .ts-viator-banner { flex-direction: column; }
    .ts-stats-strip { gap: 1.5rem; }
}

@media (max-width: 420px) {
    .ts-dest-grid { grid-template-columns: 1fr; }
}

/* === MOBILE NAV === */
#ts-mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 2px solid #00A843;
    padding: 0 1.5rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
}
#ts-mobile-nav.open { display: block; }
#ts-mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0; padding-top: 0.5rem; }
#ts-mobile-nav ul li a {
    display: block;
    padding: 13px 0;
    color: #1A1A2E;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-decoration: none;
}

/* === PAGE: Blog / Posts === */
.ts-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.ts-post-card { cursor: pointer; }
.ts-post-thumb {
    height: 180px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.ts-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.ts-post-card:hover .ts-post-thumb img { transform: scale(1.04); }
.ts-post-category { font-size: 11px; font-weight: 700; color: #008A38; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.ts-post-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700;  color: #fff; margin-bottom: 8px; }
.ts-post-excerpt { font-size: 13px; color: #8888AA; }

/* === UTILITIES === */
.ts-text-center { text-align: center; }
.ts-mt-1 { margin-top: 1rem; }
.ts-mt-2 { margin-top: 2rem; }
.ts-mb-2 { margin-bottom: 2rem; }
.ts-green { color: #00A843; }
.ts-hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===================================================
   VIATOR PRODUCT CARDS
=================================================== */
.ts-viator-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.ts-viator-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.ts-viator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,168,67,0.12);
    border-color: rgba(0,168,67,0.35);
}

.ts-viator-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5FFF8, #E8F5E9);
}
.ts-viator-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.ts-viator-card:hover .ts-viator-card-img img { transform: scale(1.04); }

.ts-viator-card-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    background: linear-gradient(135deg, #F0FFF4, #E8F5E9);
}

.ts-viator-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ts-viator-badge-hot   { background: #FF6B35; color: #fff; }
.ts-viator-badge-green { background: #00A843; color: #fff; }

.ts-viator-card-body { padding: 1rem 1.125rem 1.25rem; }

.ts-viator-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-viator-card-meta {
    font-size: 12px;
    color: #9999AA;
    margin-bottom: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ts-viator-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.ts-viator-stars { color: #F5A623; font-size: 13px; letter-spacing: 1px; }
.ts-viator-rating-val { font-size: 13px; font-weight: 600; color: #1A1A2E; }
.ts-viator-review-count { font-size: 12px; color: #9999AA; }

.ts-viator-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.ts-viator-price {
    font-weight: 700;
    font-size: 16px;
    color: #00A843;
}
.ts-viator-price span { font-size: 11px; font-weight: 400; color: #9999AA; margin-right: 2px; }

.ts-viator-free-cancel {
    font-size: 11px;
    color: #00A843;
    font-weight: 500;
}

/* ===================================================
   DESTINATION PAGE HERO
=================================================== */
.ts-dest-page-hero img { display: block; }

/* Destination nav link hover */
.ts-dest-nav-link:hover {
    color: #00A843 !important;
    border-bottom-color: #00A843 !important;
}

/* Spin animation for loader */
@keyframes ts-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Responsive destination grid */
@media (max-width: 800px) {
    .ts-dest-page-hero { min-height: 420px; }
    .ts-section > .ts-container > div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .ts-viator-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 500px) {
    .ts-viator-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================================================
   MEGA-MENU
=================================================== */
/* mega trigger — nav ul li already has position:relative from .ts-nav-links li rule;
   the mega-menu anchors to #ts-header via fixed positioning instead */
.ts-has-mega { position: static; }

.ts-mega-menu {
    display: none;
    position: fixed;
    top: 71px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 2px solid #00A843;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    z-index: 500;
    max-height: calc(100vh - 71px);
    overflow-y: auto;
}
/* mega-drop animation removed — conflicts with display:none/block toggle */

.ts-mega-menu.open { display: block; }

.ts-mega-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 71px;
    background: rgba(26,26,46,0.3);
    z-index: 498;
}
.ts-mega-backdrop.open { display: block; }

.ts-mega-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    display: grid;
    grid-template-columns: 240px 1fr 190px;
    gap: 2rem;
    align-items: start;
}

.ts-mega-col-head {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9999AA;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Destination list column */
.ts-mega-destinations {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-mega-dest-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
    position: relative;
}
.ts-mega-dest-link:hover { background: #F5FFF8; }

.ts-mega-dest-emoji { font-size: 20px; flex-shrink: 0; width: 28px; text-align: center; }

.ts-mega-dest-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}
.ts-mega-dest-name {
    font-size: 13px;
    font-weight: 600;
    color: #1A1A2E;
    white-space: nowrap;
}
.ts-mega-dest-tag {
    font-size: 11px;
    color: #9999AA;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ts-mega-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #00A843;
    color: #fff;
    padding: 2px 7px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Featured offers column */
.ts-mega-featured {
    border-left: 1px solid rgba(0,0,0,0.07);
    border-right: 1px solid rgba(0,0,0,0.07);
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: start;
}
.ts-mega-featured .ts-mega-col-head {
    grid-column: 1 / -1;
}

.ts-mega-offer {
    display: block;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.ts-mega-offer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,168,67,0.12);
    border-color: rgba(0,168,67,0.3);
}

.ts-mega-offer-img {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
}
.ts-mega-offer-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ts-mega-offer-body { padding: 10px 12px; }
.ts-mega-offer-dest { font-size: 10px; font-weight: 700; color: #00A843; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.ts-mega-offer-title { font-size: 12px; font-weight: 600; color: #1A1A2E; line-height: 1.35; margin-bottom: 4px; }
.ts-mega-offer-meta { font-size: 11px; color: #9999AA; }

/* Category shortcut column */
.ts-mega-cats { display: flex; flex-direction: column; gap: 2px; }

.ts-mega-cat-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    color: #4A4A6A;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.ts-mega-cat-link:hover { background: #F5FFF8; color: #00A843; }
.ts-mega-cat-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.ts-mega-cat-arrow { margin-left: auto; opacity: 0; font-size: 12px; transition: opacity 0.15s; }
.ts-mega-cat-link:hover .ts-mega-cat-arrow { opacity: 1; }

/* Nav chevron */
.ts-nav-chevron { font-size: 10px; margin-left: 2px; display: inline-block; transition: transform 0.2s; }
.ts-has-mega.mega-open .ts-nav-chevron { transform: rotate(180deg); }
.ts-has-mega.mega-open > a { color: #00A843; }

/* Mobile-specific mega additions */
.ts-mobile-section-head {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9999AA;
    padding: 16px 0 6px;
    margin-top: 4px;
}
.ts-mobile-dest-item a { font-size: 14px !important; padding-left: 1rem !important; color: #4A4A6A !important; }
.ts-mobile-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 8px 0;
}

/* Hide old simple dropdown */
.ts-dropdown { display: none !important; }

/* ===================================================
   PAGE TEMPLATES — shared components
=================================================== */
.ts-page-hero {
    background: linear-gradient(160deg, #FFF5E0 0%, #FFFBF5 60%, #F0FFF4 100%);
    padding: 5rem 0 4rem;
    text-align: center;
}
.ts-page-hero h1 { color: #1A1A2E; margin-bottom: 1rem; }
.ts-page-hero p { font-size: 19px; color: #6B6B8A; max-width: 600px; margin: 0 auto 2rem; line-height: 1.65; }

.ts-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.ts-two-col.ts-two-col-reverse { direction: rtl; }
.ts-two-col.ts-two-col-reverse > * { direction: ltr; }

.ts-feature-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.ts-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.ts-icon-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ts-icon-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,168,67,0.1); }
.ts-icon-item-icon { font-size: 40px; margin-bottom: 1rem; display: block; }
.ts-icon-item h4 { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: #1A1A2E; margin-bottom: 6px; }
.ts-icon-item p { font-size: 13px; color: #8888AA; line-height: 1.6; }

.ts-faq-list { display: flex; flex-direction: column; gap: 1px; }
.ts-faq-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}
.ts-faq-q {
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1A1A2E;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.ts-faq-q:hover { color: #00A843; }
.ts-faq-arrow { transition: transform 0.25s; font-size: 14px; flex-shrink: 0; }
.ts-faq-item.open .ts-faq-arrow { transform: rotate(180deg); }
.ts-faq-a { display: none; padding: 0 1.25rem 1.1rem; font-size: 14px; color: #6B6B8A; line-height: 1.7; }
.ts-faq-item.open .ts-faq-a { display: block; }

.ts-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.ts-team-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ts-team-avatar {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #00A843, #00C04B);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.ts-team-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: #1A1A2E; margin-bottom: 4px; }
.ts-team-role { font-size: 12px; color: #00A843; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.ts-team-bio { font-size: 13px; color: #8888AA; line-height: 1.6; }

/* Responsive */
@media (max-width: 960px) {
    .ts-mega-inner { grid-template-columns: 220px 1fr; }
    .ts-mega-cats { display: none; }
    .ts-mega-featured { border-right: none; padding-right: 0; }
}
@media (max-width: 700px) {
    .ts-mega-menu { display: none !important; }
    .ts-two-col { grid-template-columns: 1fr !important; gap: 2rem; }
    .ts-two-col.ts-two-col-reverse { direction: ltr; }
    .ts-feature-img { height: 260px; }
}

/* Prevent page scroll when mobile nav is open */
body.mobile-nav-open { overflow: hidden; }

/* ===================================================
   HAMBURGER → X ANIMATION
=================================================== */
.ts-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.ts-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.ts-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   NAV POLISH — active underline on desktop
=================================================== */
.ts-nav-links > li > a {
    padding: 4px 0;
    position: relative;
}
.ts-nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: #00A843;
    transform: scaleX(0);
    transition: transform 0.2s;
    border-radius: 2px;
}
.ts-nav-links > li > a:hover::after,
.ts-nav-links > li > a.current::after {
    transform: scaleX(1);
}

/* ===================================================
   MOBILE NAV — close button at top
=================================================== */
#ts-mobile-nav-close {
    display: block;
    width: 100%;
    text-align: right;
    padding: 1rem 0 0.5rem;
    background: none;
    border: none;
    font-size: 13px;
    color: #9999AA;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}
#ts-mobile-nav-close:hover { color: #00A843; }

/* Mobile nav divider */
.ts-mobile-divider {
    height: 1px;
    background: rgba(0,0,0,0.07);
    margin: 6px 0;
    list-style: none;
}

/* Mobile section head */
.ts-mobile-section-head {
    list-style: none;
}

/* Mobile bottom CTA padding */
#ts-mobile-nav ul li:last-child {
    padding-bottom: 2rem;
}

/* ===================================================
   MEGA-MENU DESTINATION LIST — compact scroll if too many items
=================================================== */
.ts-mega-destinations {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,168,67,0.3) transparent;
}
.ts-mega-destinations::-webkit-scrollbar { width: 3px; }
.ts-mega-destinations::-webkit-scrollbar-track { background: transparent; }
.ts-mega-destinations::-webkit-scrollbar-thumb { background: rgba(0,168,67,0.3); border-radius: 2px; }

/* ===================================================
   ENSURE CARD NAME IS DARK ON LIGHT BG — override any leftover white
=================================================== */
.ts-card-body .ts-card-name { color: #1A1A2E !important; }
.ts-card-body .ts-card-desc { color: #8888AA; }
.ts-price span { color: #9999AA !important; }

/* ===================================================
   FIX: hero search on light background
=================================================== */
.ts-hero-search {
    background: #ffffff !important;
    border-color: rgba(0,168,67,0.3) !important;
    box-shadow: 0 4px 20px rgba(0,168,67,0.08);
}
.ts-hero-search input { color: #1A1A2E !important; }

