/**
 * Trekking Tours Manager - Unified Styles
 * All styles for homepage, single tour, and taxonomy pages
 * Optimized for performance
 */

/* ============================================
   GLOBAL VARIABLES
   ============================================ */
:root {
    --ttm-font-heading: 'Playfair Display', serif;
    --ttm-font-body: 'Outfit', sans-serif;
}

/* ============================================
   HOMEPAGE STYLES
   ============================================ */

/* Homepage Container */
.ttm-homepage {
    margin: 0;
    padding: 0;
}

/* Cinematic Hero Section */
.ttm-hero.cinematic {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 150px;
}

.ttm-hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.ttm-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    pointer-events: none;
    filter: brightness(0.9) contrast(1.1);
}

.ttm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.ttm-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.1) 50%, rgba(15, 23, 42, 0.5) 100%),
        linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.ttm-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 60px 60px; */
    width: 100%;
    position: relative;
    z-index: 10;
}

.ttm-hero-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 200px;
    align-items: center;
}

.ttm-hero-editorial {
    animation: ttmFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ttm-hero-badge-wrapper {
    margin-bottom: 30px;
}

.ttm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f39c12;
}

.ttm-hero-title {
    font-size: 90px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 30px;
    letter-spacing: -2px;
}

.ttm-gold-text {
    background: linear-gradient(135deg, #fff 0%, #f39c12 50%, #d35400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.ttm-hero-subtitle {
    font-size: 22px;
    font-family: var(--ttm-font-body) !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 500;
}

.ttm-hero-actions {
    display: flex;
    gap: 20px;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 45px;
    background: #fff;
    color: #0f172a;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.premium-btn:hover {
    transform: translateY(-5px);
    background: #f39c12;
    color: #fff;
    box-shadow: 0 25px 50px rgba(243, 156, 18, 0.3);
}

/* Hero Stats Card */
.ttm-hero-stats-wrapper {
    animation: ttmFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.ttm-hero-stats-card {
    padding: 60px 40px;
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.ttm-hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ttm-stat-val {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.ttm-stat-lbl {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.ttm-hero-stat-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 60%;
    margin: 0 auto;
}

/* Scroll Indicator */
.ttm-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    animation: ttmFadeIn 2s ease forwards 1s;
    opacity: 0;
}

.ttm-scroll-mouse {
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.ttm-scroll-wheel {
    width: 4px;
    height: 8px;
    background: #f39c12;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: ttmScrollWheel 2s ease-in-out infinite;
}

.ttm-scroll-text {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes ttmScrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes ttmFadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ttmFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Hero */
@media (max-width: 1200px) {
    .ttm-hero-title {
        font-size: 70px;
    }
}

@media (max-width: 992px) {
    .ttm-hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .ttm-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .ttm-hero-actions {
        justify-content: center;
    }

    .ttm-hero-stats-card {
        grid-template-columns: repeat(3, 1fr);
        padding: 40px;
    }

    .ttm-hero-stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .ttm-hero.cinematic {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .ttm-hero-container {
        padding: 0 30px;
    }

    .ttm-hero-title {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .ttm-hero-stats-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   TRIP OF THE MONTH SECTION
   ============================================ */

/* Immersive Trip of the Month Section */
.ttm-trip-month-immersive {
    padding: 120px 40px;
    background: #fdfdfd;
    /* Very subtle off-white */
    overflow: hidden;
}

.ttm-immersive-container {
    max-width: 1520px;
    margin: 0 auto;
}

.ttm-immersive-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Media Side (Left) */
.ttm-immersive-media {
    flex: 1.2;
    height: 900px;
    position: relative;
    overflow: hidden;
}

.ttm-immersive-badge-vertical {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
}

.ttm-immersive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttm-immersive-wrapper:hover .ttm-immersive-img {
    transform: scale(1.05);
}

.ttm-immersive-gallery-preview {
    position: absolute;
    bottom: 40px;
    right: -20px;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.ttm-immersive-gallery-preview img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 20px;
    border: 8px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.ttm-peek-1 {
    transform: translateY(-20px);
}

.ttm-peek-2 {
    transform: translateY(20px);
}

.ttm-immersive-wrapper:hover .ttm-immersive-gallery-preview img {
    transform: translateY(0) scale(1.05);
}

/* Content Side (Right) */
.ttm-immersive-content {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.ttm-immersive-tag {
    font-size: 12px;
    font-weight: 800;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.ttm-immersive-title {
    font-size: 56px;
    font-weight: 900;
    color: #1a252f;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.ttm-immersive-divider {
    width: 60px;
    height: 4px;
    background: #2b5a41;
    margin-bottom: 30px;
    border-radius: 2px;
}

.ttm-immersive-desc {
    font-size: 18px;
    color: #46515d;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 500;
}

.ttm-immersive-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.ttm-stat-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ttm-stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ttm-stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #2b5a41;
}

.ttm-immersive-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid #f0f2f5;
}

.ttm-immersive-price-block {
    display: flex;
    flex-direction: column;
}

.ttm-price-label {
    font-size: 12px;
    font-weight: 600;
    color: #bdc3c7;
    text-transform: uppercase;
}

.ttm-immersive-price {
    font-size: 36px;
    font-weight: 900;
    color: #1a252f;
}

.ttm-immersive-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #1a252f;
    color: #fff;
    padding: 20px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttm-immersive-btn:hover {
    background: #2b5a41;
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(43, 90, 65, 0.3);
}

.ttm-immersive-btn svg {
    transition: transform 0.4s ease;
}

.ttm-immersive-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive Modern Section */
@media (max-width: 1200px) {
    .ttm-immersive-wrapper {
        flex-direction: column;
        border-radius: 30px;
    }

    .ttm-immersive-media {
        width: 100%;
        height: 500px;
    }

    .ttm-immersive-content {
        padding: 50px;
    }

    .ttm-immersive-title {
        font-size: 42px;
    }

    .ttm-immersive-gallery-preview {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .ttm-trip-month-immersive {
        padding: 60px 20px;
    }

    .ttm-immersive-content {
        padding: 40px 30px;
    }

    .ttm-immersive-stats {
        gap: 30px;
        margin-bottom: 40px;
    }

    .ttm-immersive-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .ttm-immersive-btn {
        width: 100%;
        justify-content: center;
    }

    .ttm-immersive-gallery-preview {
        display: none;
    }
}

/* Section Container */
.ttm-section {
    padding: 100px 40px;
    max-width: 1520px;
    margin: 0 auto;
}

.ttm-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.ttm-section-title h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #000;
}

.ttm-section-title p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.ttm-section-actions {
    text-align: center;
    margin-top: 50px;
}

.ttm-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    background: #0b1c13;
    /* deep forest black-green */
    color: #ffffff;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(11, 28, 19, 0.15);
}

.ttm-view-all-btn:hover {
    background: #2b5a41;
    /* dark green signature accent */
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(43, 90, 65, 0.3);
}

/* Tours Grid */
.ttm-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    align-content: start;
}

.ttm-tour-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.ttm-tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(43, 90, 65, 0.15);
}

.ttm-tour-card-image {
    position: relative;
    padding-top: 66%;
    /* 3:2 Aspect Ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.ttm-tour-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.ttm-tour-card:hover .ttm-tour-card-image img {
    transform: scale(1.03);
}

.ttm-tour-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ttm-tour-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #1a252f;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ttm-tour-card:hover .ttm-tour-card-title {
    color: #2b5a41;
}

.ttm-tour-card-meta {
    display: flex;
    gap: 16px;
    font-size: 16px;
    color: #6c7a89;
    margin-bottom: 24px;
    flex-wrap: wrap;
    font-weight: 500;
}

.ttm-tour-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ttm-tour-card-meta svg {
    color: #f39c12;
    /* Golden accent like the single tour page */
}

.ttm-tour-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f2f5;
}

.ttm-tour-card-price {
    font-size: 22px;
    font-weight: 800;
    color: #2b5a41;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ttm-tour-card-price::before {
    content: 'From';
    font-size: 12px;
    font-weight: 600;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ttm-tour-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b5a41;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttm-tour-card:hover .ttm-tour-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Rey Theme Overrides */
.rey-siteLogo .custom-logo {
    display: var(--logo-ds, inline-block);
    height: auto;
    width: var(--logo--width, auto);
    max-width: var(--logo--max-width, 300px) !important;
    min-width: var(--logo--min-width, 70px) !important;
    max-height: var(--logo--max-height, initial);
}

.rey-stickyContent section#topbar,
.rey-stickyContent section#logo {
    display: none;
}

.glass {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Destinations */
.ttm-destinations-section {
    background: #f7f9f6;
    /* aligned with popular section background */
    max-width: 100% !important;
}

/* Destinations Mosaic Grid */
.ttm-destinations-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 25px;
    max-width: 1520px;
    margin: 0 auto;
}

.ttm-dest-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Mosaic Spanning Logic */
.ttm-dest-card-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.ttm-dest-card-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.ttm-dest-card-standard {
    grid-column: span 1;
    grid-row: span 1;
}

.ttm-dest-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ttm-dest-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-dest-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.ttm-dest-card-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-dest-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ttm-dest-card-info {
    flex-grow: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-dest-card-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ttm-dest-card-title {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ttm-dest-card-featured .ttm-dest-card-title {
    font-size: 42px;
}

.ttm-dest-card-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(8px) scale(0.9);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, color 0.3s ease;
}

/* Hover States */
.ttm-dest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ttm-dest-card:hover .ttm-dest-card-bg img {
    transform: scale(1.06);
}

.ttm-dest-card:hover .ttm-dest-card-overlay::after {
    opacity: 1;
}

.ttm-dest-card:hover .ttm-dest-card-info {
    transform: translateY(-4px);
}

.ttm-dest-card:hover .ttm-dest-card-icon {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .ttm-destinations-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
        padding: 0 20px;
    }

    .ttm-dest-card-featured,
    .ttm-dest-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ttm-destinations-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .ttm-dest-card-featured,
    .ttm-dest-card-wide,
    .ttm-dest-card-standard {
        grid-column: span 1;
    }

    .ttm-dest-card-featured .ttm-dest-card-title {
        font-size: 32px;
    }

    .ttm-dest-card-icon {
        opacity: 1;
        transform: translateX(0);
        width: 36px;
        height: 36px;
    }
}

/* Popular Carousel */
/* Popular Cinematic Immersive Grid - Editorial Layout */
.ttm-popular-grid-section {
    background: #f7f9f6;
    /* soft nature light gray */
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ttm-popular-grid-section .ttm-section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ttm-popular-grid-section .ttm-section-subtitle {
    font-size: 11px;
    font-weight: 800;
    color: #2b5a41;
    /* dark green signature */
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.ttm-popular-grid-section .ttm-section-title {
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 900;
    color: #0b1c13;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Popular Grid Container */
.ttm-popular-grid-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    max-width: 1520px;
    margin: 0 auto;
    padding-top: 30px;
}

/* Editorial Card */
.ttm-popular-editorial-card {
    flex: 1;
    min-width: 250px;
    height: 500px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    background: #fff;
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Background Image */
.ttm-popular-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ttm-popular-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-popular-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 28, 19, 0.85) 0%, rgba(11, 28, 19, 0.3) 50%, transparent 100%);
    z-index: 2;
}

.ttm-popular-card-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 28, 19, 0.95) 0%, rgba(11, 28, 19, 0.6) 60%, rgba(11, 28, 19, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Floating Card Content */
.ttm-popular-card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Tags & Badges */
.ttm-popular-card-tag {
    align-self: flex-start;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.ttm-popular-card-title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.2;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Quick Stats Info Row */
.ttm-popular-card-quick-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-popular-card-quick-stats span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.ttm-popular-card-quick-stats .price {
    font-size: 16px;
    color: #f39c12;
    font-weight: 800;
}

/* Info Drawer (Hidden by default, slides up on hover) */
.ttm-popular-card-drawer {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), margin-top 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.ttm-popular-card-difficulty {
    font-size: 10px;
    font-weight: 800;
    color: #2b5a41;
    background: #eef5f1;
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-popular-card-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(15px);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-popular-card-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 3px;
    opacity: 0;
    transform: translateY(15px);
    transition: border-color 0.3s ease, gap 0.3s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ttm-popular-card-btn svg {
    transition: transform 0.3s ease;
}

/* Hover States & Animations */
.ttm-popular-editorial-card:hover {
    box-shadow: 0 30px 60px rgba(11, 28, 19, 0.15);
    transform: translateY(-12px);
}

.ttm-popular-editorial-card:hover .ttm-popular-card-bg img {
    transform: scale(1.06);
}

.ttm-popular-editorial-card:hover .ttm-popular-card-overlay::after {
    opacity: 1;
}

.ttm-popular-editorial-card:hover .ttm-popular-card-drawer {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.ttm-popular-editorial-card:hover .ttm-popular-card-difficulty {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.15s;
}

.ttm-popular-editorial-card:hover .ttm-popular-card-excerpt {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
}

.ttm-popular-editorial-card:hover .ttm-popular-card-btn {
    opacity: 1;
    transform: translateY(0);
    border-color: #f39c12;
    color: #f39c12;
    gap: 12px;
    transition-delay: 0.30s;
}

.ttm-popular-editorial-card:hover .ttm-popular-card-btn svg {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .ttm-popular-grid-section {
        padding: 80px 20px;
    }

    .ttm-popular-grid-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .ttm-popular-editorial-card {
        flex: 0 0 calc(50% - 15px);
        height: 440px;
        transform: none !important;
        /* disable stagger on tablets */
    }

    .ttm-popular-editorial-card:hover {
        transform: translateY(-10px) !important;
    }
}

@media (max-width: 768px) {
    .ttm-popular-grid-section .ttm-section-header {
        margin-bottom: 40px;
    }

    .ttm-popular-grid-container {
        flex-direction: column;
        align-items: center;
    }

    .ttm-popular-editorial-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 420px;
    }
}


/* Testimonials - Split Screen Design */
.ttm-testimonials-split {
    background: #fff;
    padding: 0;
    overflow: hidden;
}

.ttm-testimonials-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

/* Left Side - Image */
.ttm-testimonials-image {
    position: relative;
    overflow: hidden;
}

.ttm-testimonials-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* Right Side - Content */
.ttm-testimonials-content {
    background: #2d5a5a;
    padding: 80px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Navigation Labels - On the edges */
.ttm-nav-label {
    position: absolute;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    left: 30px;
}

.ttm-nav-label:hover {
    color: rgba(255, 255, 255, 0.9);
}

.ttm-nav-prev-label {
    top: 30%;
    transform: rotate(180deg);
}

.ttm-nav-next-label {
    bottom: 30%;
}

/* Testimonial Slides */
.ttm-testimonials-slides-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.ttm-testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ttm-testimonial-slide.active {
    display: block;
    opacity: 1;
}

.ttm-testimonial-card {
    position: relative;
    color: #fff;
}

/* Tour Image - Top Right Corner */
.ttm-testimonial-tour-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.ttm-testimonial-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quote */
.ttm-testimonial-quote {
    font-size: 20px;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 60px;
    padding-right: 200px;
    font-weight: 400;
}

/* Author Section - Bottom */
.ttm-testimonial-author-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ttm-testimonial-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.ttm-testimonial-author-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.ttm-testimonial-author-info p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Tour Details Section */
.ttm-testimonial-tour-details {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ttm-tour-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
}

.ttm-tour-name:hover {
    opacity: 0.7;
}

.ttm-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ttm-tour-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.ttm-tour-meta svg {
    stroke: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.ttm-tour-rating svg {
    fill: #ffc107;
    stroke: none;
}

.ttm-rating-text {
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 1200px) {
    .ttm-testimonials-content {
        padding: 60px 80px;
    }

    .ttm-testimonial-tour-image {
        width: 150px;
        height: 200px;
    }

    .ttm-testimonial-quote {
        font-size: 22px;
        padding-right: 170px;
    }
}

@media (max-width: 1024px) {
    .ttm-testimonials-content {
        padding: 60px 60px;
    }

    .ttm-testimonial-tour-image {
        width: 130px;
        height: 180px;
    }

    .ttm-testimonial-quote {
        font-size: 20px;
        padding-right: 150px;
    }
}

@media (max-width: 768px) {
    .ttm-testimonials-split-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ttm-testimonials-image {
        height: 400px;
    }

    .ttm-testimonials-content {
        padding: 80px 40px;
    }

    .ttm-nav-prev-label {
        left: 20px;
    }

    .ttm-nav-next-label {
        right: 20px;
    }

    .ttm-nav-label {
        font-size: 9px;
    }

    .ttm-testimonial-tour-image {
        width: 120px;
        height: 160px;
    }

    .ttm-testimonial-quote {
        font-size: 18px;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .ttm-testimonial-tour-image {
        position: relative;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .ttm-testimonials-image {
        height: 300px;
    }

    .ttm-testimonials-content {
        padding: 60px 30px;
    }

    .ttm-testimonial-quote {
        font-size: 16px;
    }

    .ttm-testimonial-avatar-small {
        width: 50px;
        height: 50px;
    }
}

/* CTA */
.ttm-cta {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 100px 40px;
}

.ttm-cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px;
}

.ttm-cta p {
    font-size: 20px;
    margin: 0 0 40px;
    opacity: 0.9;
}

.ttm-cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.ttm-cta-button:hover {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

/* Responsive - Homepage */
@media (max-width: 992px) {
    .ttm-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttm-destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttm-hero-content h1 {
        font-size: 48px;
    }

    .ttm-popular-slide-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {

    .ttm-tours-grid,
    .ttm-destinations-grid {
        grid-template-columns: 1fr;
    }

    .ttm-hero-content h1 {
        font-size: 36px;
    }

    .ttm-section {
        padding: 60px 20px;
    }

    .ttm-popular-slide-title {
        font-size: 28px;
    }

    .ttm-popular-slide-content {
        padding: 30px 20px;
    }
}

/* ============================================
   TAXONOMY ARCHIVE STYLES
   ============================================ */

.ttm-archive-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttm-archive-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.ttm-archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 40px;
}

.ttm-archive-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 15px;
}

.ttm-archive-hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

.ttm-archive-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.ttm-archive-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* ============================================
   ACTIVITIES CAROUSEL
   ============================================ */

/* Activities Refined Carousel */
.ttm-activities-section {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}

.ttm-activities-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 40px 60px;
    -ms-overflow-style: none;
}

.ttm-activities-carousel::-webkit-scrollbar {
    display: none;
}

.ttm-activity-card-new {
    flex: 0 0 350px;
    height: 450px;
    text-decoration: none;
    display: block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttm-activity-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ttm-activity-card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ttm-activity-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ttm-activity-card-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2b5a41, #1a252f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 80px;
}

.ttm-activity-card-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    z-index: 2;
}

.ttm-activity-card-footer {
    position: relative;
    z-index: 3;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.ttm-activity-card-details {
    flex-grow: 1;
}

.ttm-activity-card-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.2;
}

.ttm-activity-card-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ttm-activity-card-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Hover States */
.ttm-activity-card-new:hover {
    transform: translateY(-10px);
}

.ttm-activity-card-new:hover .ttm-activity-card-media img {
    transform: scale(1.1);
}

.ttm-activity-card-new:hover .ttm-activity-card-footer {
    background: rgba(255, 255, 255, 0.2);
    padding-bottom: 35px;
}

.ttm-activity-card-new:hover .ttm-activity-card-btn {
    background: #2b5a41;
    color: #fff;
    transform: rotate(-45deg);
}

/* Responsive Navigation */
.ttm-activities-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-weight: 500;
}

.ttm-activities-nav-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ttm-activities-nav-arrow:hover {
    background: #f8f9fa;
    border-color: #2b5a41;
    color: #2b5a41;
}

@media (max-width: 768px) {
    .ttm-activity-card-new {
        flex: 0 0 280px;
        height: 380px;
    }

    .ttm-activity-card-footer {
        padding: 20px;
        margin: 15px;
    }

    .ttm-activity-card-name {
        font-size: 18px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ttm-activities-nav-container {
        gap: 20px;
    }

    .ttm-activities-nav-line {
        max-width: 200px;
    }

    .ttm-activities-counter {
        font-size: 12px;
        min-width: 60px;
    }

    .ttm-activities-nav-arrow {
        width: 36px;
        height: 36px;
    }

    .ttm-activities-nav-arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .ttm-activities-nav-container {
        gap: 15px;
    }

    .ttm-activities-nav-line {
        max-width: 100px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ttm-activities-carousel-wrapper {
        padding: 0 60px;
    }

    .ttm-activity-card {
        flex: 0 0 240px;
    }

    .ttm-activity-card-image {
        height: 320px;
    }

    .ttm-activities-nav {
        width: 40px;
        height: 40px;
    }

    .ttm-activities-nav svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .ttm-activities-carousel-wrapper {
        padding: 0 50px;
    }

    .ttm-activity-card {
        flex: 0 0 200px;
    }

    .ttm-activity-card-image {
        height: 280px;
    }
}

/* ============================================
   JOURNAL SECTION
   ============================================ */

.ttm-journal-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f8f8;
}

.ttm-journal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.ttm-journal-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.ttm-journal-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.ttm-journal-link:hover {
    opacity: 0.6;
}

.ttm-journal-link svg {
    transition: transform 0.3s ease;
}

.ttm-journal-link:hover svg {
    transform: translateX(5px);
}

.ttm-journal-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 25px;
}

.ttm-journal-card {
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ttm-journal-card:hover {
    transform: translateY(-5px);
}

.ttm-journal-card-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    flex-shrink: 0;
}

.ttm-journal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ttm-journal-card:hover .ttm-journal-card-image img {
    transform: scale(1.05);
}

/* Featured card (first) - text overlay on image */
.ttm-journal-featured {
    position: relative;
}

.ttm-journal-featured .ttm-journal-card-image {
    height: 100%;
}

.ttm-journal-featured .ttm-journal-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.ttm-journal-featured .ttm-journal-card-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ttm-journal-featured .ttm-journal-category {
    font-size: 12px;
    color: #fff;
    opacity: 0.9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Regular cards (2nd and 3rd) - text below image */
.ttm-journal-card:not(.ttm-journal-featured) .ttm-journal-card-content {
    padding: 20px 0;
    background: transparent;
}

.ttm-journal-card:not(.ttm-journal-featured) .ttm-journal-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ttm-journal-card:not(.ttm-journal-featured) .ttm-journal-category {
    font-size: 11px;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .ttm-journal-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .ttm-journal-card-image {
        height: 400px;
    }

    .ttm-journal-featured .ttm-journal-card-content h3 {
        font-size: 26px;
    }

    .ttm-journal-card:not(.ttm-journal-featured) .ttm-journal-card-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .ttm-journal-section {
        padding: 60px 20px;
    }

    .ttm-journal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ttm-journal-header h2 {
        font-size: 32px;
    }

    .ttm-journal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ttm-journal-card-image {
        height: 350px;
    }

    .ttm-journal-featured .ttm-journal-card-content h3 {
        font-size: 24px;
    }

    .ttm-journal-card:not(.ttm-journal-featured) .ttm-journal-card-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ttm-journal-header h2 {
        font-size: 28px;
    }

    .ttm-journal-card {
        height: 300px;
    }

    .ttm-journal-card-content {
        padding: 20px;
    }

    .ttm-journal-card-content h3 {
        font-size: 18px;
    }

    .ttm-journal-featured .ttm-journal-card-content h3 {
        font-size: 20px;
    }
}

/* ============================================
   ARCHIVE PAGES
   ============================================ */

/* Lazy loading support */
img[loading="lazy"] {
    /* opacity: 0; removed to fix visibility issue */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);

}

/* 
img[loading="lazy"].loaded {
    opacity: 1;
} 
*/

/* Reduce repaints */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hardware acceleration for animations */
.ttm-tour-card,
.ttm-destination-card,
.ttm-hero-cta,
.ttm-carousel-nav {
    will-change: transform;
}

/* ============================================
   TRIP FILTERS CUSTOM PAGE HEADER
   ============================================ */

.ttm-filters-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #2b5a41;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.ttm-filters-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(43, 90, 65, 0.7) 0%, rgba(30, 63, 45, 0.9) 100%);
    z-index: 1;
}

.ttm-filters-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.ttm-filters-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ttm-filters-hero-content p {
    font-size: 20px;
    color: #f8f9fa;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

.ttm-filters-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .ttm-filters-hero {
        height: 300px;
    }

    .ttm-filters-hero-content h1 {
        font-size: 36px;
    }

    .ttm-filters-hero-content p {
        font-size: 16px;
    }
}

/* Optimize transitions */
.ttm-tour-card,
.ttm-destination-card img,
.ttm-hero-cta,
.ttm-carousel-nav,
.ttm-carousel-dot {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   COMPANY SECTION REDESIGN
   ============================================ */

/* ============================================
   COMPANY SECTION REDESIGN (CINEMATIC)
   ============================================ */

/* Editorial Company Section */
.ttm-editorial-company-section.cinematic {
    padding: 120px 0;
    background: #20315b;
    /* Deep slate dark background */
    overflow: hidden;
    position: relative;
    color: #fff;
}

.ttm-section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(43, 90, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Glass Orbs for Depth */
.ttm-glass-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    top: -10%;
    left: -10%;
    background: #2b5a41;
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    background: #f39c12;
}

.orb-3 {
    top: 20%;
    right: -15%;
    background: #2b5a41;
}

.orb-4 {
    bottom: 10%;
    left: -15%;
    background: #f39c12;
}

.ttm-editorial-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.ttm-editorial-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

/* Fresh Glass Card Base */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.05) 100%); */
    pointer-events: none;
    z-index: -1;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.05);
}

/* Media Side with Stacked Effect */
.ttm-editorial-media {
    position: relative;
}

.ttm-editorial-image-stack {
    position: relative;
    padding-right: 40px;
}

.ttm-editorial-main-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    aspect-ratio: 4/5;
}

.ttm-image-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
}

/* Ken Burns Effect */
.ttm-ken-burns {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: ttmKenBurns 20s infinite alternate;
}

@keyframes ttmKenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}

.ttm-editorial-experience-badge {
    position: absolute;
    bottom: -40px;
    right: 0;
    padding: 40px;
    border-radius: 32px;
    z-index: 10;
    min-width: 220px;
    overflow: hidden;
}

.ttm-badge-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(43, 90, 65, 0.4) 0%, transparent 70%);
    opacity: 0.5;
    animation: ttmGlowRotation 10s linear infinite;
}

@keyframes ttmGlowRotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ttm-badge-num {
    display: block;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ttm-badge-txt {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.ttm-editorial-secondary-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttm-editorial-secondary-badge img {
    width: 80%;
    height: auto;
    filter: brightness(0) invert(1);
    /* Make monochrome white for cinematic look */
}

/* Pulsing Play Button */
.ttm-editorial-play-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.ttm-editorial-play-circle:hover {
    background: #f39c12;
    border-color: #f39c12;
    transform: translate(-50%, -50%) scale(1.1);
}

.ttm-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: 0.6;
    animation: ttmPulseCinematic 2s infinite;
}

@keyframes ttmPulseCinematic {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Content Side */
.ttm-editorial-tag {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #f39c12;
    display: block;
    margin-bottom: 20px;
}

.ttm-editorial-title {
    font-size: 55px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ttm-editorial-line {
    width: 80px;
    height: 4px;
    background: #f39c12;
    margin-bottom: 50px;
    border-radius: 2px;
}

.ttm-editorial-body {
    font-size: 18px;
    font-family: var(--ttm-font-body) !important;
    font-weight: 500;
    line-height: 1.9;
    color: #e3e3e3;
    margin-bottom: 20px;
}

.ttm-editorial-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px;
}

.ttm-editorial-signature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ttm-sig-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.ttm-sig-text {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.ttm-heritage-seal {
    color: #f39c12;
    opacity: 0.8;
}

/* Modern Features Grid */
.ttm-editorial-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ttm-editorial-feature-card {
    padding: 50px 35px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ttm-editorial-feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: #f39c12;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ttm-feature-card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ttm-editorial-feature-card:hover .ttm-feature-card-icon-wrapper {
    background: #f39c12;
    color: #fff;
    /* transform: rotateY(180deg) scale(1.1); */
}

.ttm-feature-card-content h4 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
}

.ttm-feature-card-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Editorial */
@media (max-width: 1200px) {
    .ttm-editorial-grid {
        gap: 60px;
    }

    .ttm-editorial-title {
        font-size: 52px;
    }

    .ttm-editorial-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .ttm-editorial-company-section.cinematic {
        padding: 100px 0;
    }

    .ttm-editorial-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .ttm-editorial-media {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

    .ttm-editorial-content {
        order: 1;
        text-align: center;
    }

    .ttm-editorial-line {
        margin: 0 auto 50px;
    }

    .ttm-editorial-footer-meta {
        justify-content: center;
        gap: 40px;
    }

    .ttm-editorial-experience-badge {
        bottom: -20px;
        right: -20px;
    }
}

@media (max-width: 768px) {
    .ttm-editorial-features-grid {
        grid-template-columns: 1fr;
    }

    .ttm-editorial-title {
        font-size: 42px;
    }

    .ttm-editorial-image-stack {
        padding-right: 30px;
    }

    .ttm-editorial-experience-badge {
        padding: 30px;
        min-width: 180px;
    }

    .ttm-badge-num {
        font-size: 48px;
    }
}

/* Responsive - Company Section */
@media (max-width: 992px) {
    .ttm-company-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ttm-company-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttm-company-badge {
        left: 20px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    .ttm-company-features {
        grid-template-columns: 1fr;
    }

    .ttm-company-title {
        font-size: 32px;
    }

    .ttm-company-section {
        padding: 60px 20px;
    }
}

/* ============================================
   COUNTRY PAGE STYLES
   ============================================ */

/* Country Hero Section */
.ttm-country-hero {
    position: relative;
    height: auto;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 100px 40px;
}

.ttm-country-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.ttm-country-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.ttm-country-info-card {
    background: #fff;
    padding: 50px 60px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.ttm-country-main-info {
    flex: 1;
}

.ttm-country-name {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #000;
    line-height: 1.1;
}

.ttm-country-intro {
    font-size: 16px;
    line-height: 1.6;
    color: #999;
    margin: 0;
    max-width: 600px;
}

.ttm-country-meta-info {
    display: flex;
    gap: 40px;
    align-items: center;
}

.ttm-country-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 30px;
    border-left: 1px solid #eee;
}

.ttm-country-meta-item:first-child {
    border-left: none;
    padding-left: 0;
}

.ttm-country-meta-item svg {
    stroke: #ccc;
    flex-shrink: 0;
}

.ttm-meta-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ttm-meta-label {
    font-size: 13px;
    color: #000;
    font-weight: 600;
    text-transform: capitalize;
}

.ttm-meta-value {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

/* Country Content */
.ttm-country-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* About Section */
.ttm-country-about-grid {
    display: grid;
    grid-template-columns: 400px 1fr 300px;
    gap: 60px;
    align-items: start;
}

.ttm-country-about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ttm-country-about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ttm-country-about-text {
    padding-top: 20px;
}

.ttm-about-label {
    font-size: 14px;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px;
    font-weight: 600;
}

.ttm-about-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 25px;
    line-height: 1.3;
}

.ttm-about-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.ttm-about-description p {
    margin-bottom: 20px;
}

/* Country Facts */
.ttm-country-facts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ttm-fact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ttm-fact-number {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    flex-shrink: 0;
}

.ttm-fact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 5px;
}

.ttm-fact-item p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Tours Section */
.ttm-country-tours {
    background: #f8f8f8;
    padding: 80px 0;
}

.ttm-country-tours-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ttm-tours-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0 0 50px;
    text-align: center;
}

.ttm-no-tours {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px;
}

/* Taxonomy Sections - Tour Categories, Destinations, Difficulty */
.ttm-country-taxonomies {
    background: #f8f8f8;
    padding: 80px 0;
}

.ttm-taxonomy-section {
    margin-bottom: 60px;
}

.ttm-taxonomy-section:last-child {
    margin-bottom: 0;
}

.ttm-taxonomy-heading {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px;
    text-align: left;
}

.ttm-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.ttm-taxonomy-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.ttm-taxonomy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ttm-taxonomy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 152, 219, 0.2);
}

.ttm-taxonomy-card:hover::before {
    transform: scaleX(1);
}

.ttm-taxonomy-card-content {
    position: relative;
    z-index: 1;
}

.ttm-taxonomy-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ttm-taxonomy-card-count {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.ttm-no-items {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px;
    grid-column: 1 / -1;
}

/* Responsive - Taxonomy Cards */
@media (max-width: 1024px) {
    .ttm-taxonomy-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ttm-country-taxonomies {
        padding: 60px 0;
    }

    .ttm-taxonomy-section {
        margin-bottom: 50px;
    }

    .ttm-taxonomy-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .ttm-taxonomy-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .ttm-taxonomy-card {
        padding: 25px 20px;
    }

    .ttm-taxonomy-card-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ttm-taxonomy-grid {
        grid-template-columns: 1fr;
    }

    .ttm-taxonomy-card {
        padding: 30px 25px;
    }
}


/* Country Facts */
.ttm-country-facts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ttm-fact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ttm-fact-number {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    flex-shrink: 0;
}

.ttm-fact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 5px;
}

.ttm-fact-item p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .ttm-country-about-grid {
        grid-template-columns: 350px 1fr 280px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .ttm-country-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ttm-country-hero-content {
        flex-direction: column;
        align-items: stretch;
    }

    .ttm-country-meta-cards {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .ttm-country-hero {
        height: auto;
        min-height: 400px;
        padding: 0 20px 40px;
    }

    .ttm-country-card {
        padding: 30px;
    }

    .ttm-country-name {
        font-size: 36px;
    }

    .ttm-country-meta-cards {
        flex-direction: column;
    }

    .ttm-country-tabs-container {
        padding: 0 20px;
        gap: 20px;
        overflow-x: auto;
    }

    .ttm-country-content {
        padding: 40px 20px;
    }

    .ttm-about-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .ttm-country-name {
        font-size: 28px;
    }

    .ttm-country-card {
        padding: 25px;
    }

    .ttm-country-meta-card {
        padding: 20px;
    }
}

/* ============================================
   UPCOMING DEPARTURES SECTION
   ============================================ */

/* ============================================
   UPCOMING DEPARTURES SECTION (CINEMATIC)
   ============================================ */

.ttm-departures-section.cinematic {
    background: #0f172a;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.ttm-departures-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.ttm-departures-section.cinematic .ttm-section-title h2 {
    color: #fff;
    font-size: 64px;
    letter-spacing: -2px;
}

.ttm-departures-section.cinematic .ttm-section-title p {
    color: rgba(255, 255, 255, 0.6);
}

.ttm-departures-board.glass-card {
    border-radius: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.ttm-departures-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr 1fr 1fr 1fr 1.2fr;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 45px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ttm-departures-header span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.3);
}

.ttm-departures-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ttm-departure-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr 1fr 1fr 1fr 1.2fr;
    align-items: center;
    padding: 30px 45px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.ttm-departure-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: all 0.8s ease;
    pointer-events: none;
}

.ttm-departure-row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.ttm-departure-row:hover::before {
    left: 200%;
}

.ttm-departure-tour-name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 4px;
    display: block;
    letter-spacing: 0.5px;
}

.ttm-departure-row:hover .ttm-departure-tour-name {
    color: #f39c12;
}

.ttm-departure-duration {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ttm-departure-duration i {
    color: #f39c12;
}

.ttm-departure-date-main {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.ttm-departure-date-range {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.ttm-departure-seats {
    font-size: 15px;
    font-weight: 700;
}

.ttm-departure-seats.low {
    color: #ff4d4d;
    text-shadow: 0 0 15px rgba(255, 77, 77, 0.3);
}

.ttm-departure-seats.available {
    color: #00d2d3;
}

.ttm-departure-price {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.ttm-price-old {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
    margin-right: 8px;
}

.ttm-price-new {
    color: #f39c12;
}

.ttm-status-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ttm-status-guaranteed {
    color: #00d2d3;
    border-color: rgba(0, 210, 211, 0.3);
    background: rgba(0, 210, 211, 0.05);
}

.ttm-status-limited {
    color: #f39c12;
    border-color: rgba(243, 156, 18, 0.3);
    background: rgba(243, 156, 18, 0.05);
}

.ttm-status-full {
    color: #ff4d4d;
    border-color: rgba(255, 77, 77, 0.3);
    background: rgba(255, 77, 77, 0.05);
}

.ttm-departure-book-btn {
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.ttm-departure-book-btn:hover {
    background: #fff;
    color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .ttm-departures-header {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    }

    .ttm-departures-header span:nth-child(2),
    .ttm-departures-header span:nth-child(4) {
        display: none;
    }

    .ttm-departure-row {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    }

    .ttm-departure-duration-col,
    .ttm-departure-seats {
        display: none;
    }
}

@media (max-width: 1024px) {
    .ttm-departures-header {
        display: none;
    }

    .ttm-departure-row {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px;
    }

    .ttm-departure-tour {
        grid-column: span 2;
    }

    .ttm-departure-action {
        grid-column: span 2;
    }

    .ttm-departure-book-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .ttm-departures-section.cinematic {
        padding: 80px 0;
    }

    .ttm-departures-container {
        padding: 0 20px;
    }

    .ttm-departures-section.cinematic .ttm-section-title h2 {
        font-size: 42px;
    }

    .ttm-departure-row {
        padding: 30px;
        gap: 20px;
    }
}

.ttm-mobile-label {
    display: none;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #95a5a6;
    margin-bottom: 4px;
}

@media (max-width: 1024px) {
    .ttm-mobile-label {
        display: block;
    }

    .ttm-departure-duration-col {
        display: flex;
        flex-direction: column;
    }
}

.ttm-empty-departures {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.ttm-empty-departures h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a252f;
    margin: 0 0 15px;
}

.ttm-empty-departures p {
    color: #6c7a89;
    margin: 0 0 20px;
}

.ttm-admin-note {
    font-size: 13px;
    color: #95a5a6;
    font-style: italic;
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 50px;
}

.ttm-price-old {
    font-size: 14px;
    text-decoration: line-through;
    color: #95a5a6;
    margin-right: 8px;
    font-weight: 500;
}

.ttm-price-new {
    font-size: 20px;
    font-weight: 800;
    color: #e74c3c;
    /* Red for emphasis on discount */
}

@media (max-width: 1024px) {
    .ttm-departure-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ttm-price-old {
        margin-right: 0;
        margin-bottom: 2px;
    }
}

/* ============================================
   REFINED POPULAR ADVENTURES (PREMIUM LAYOUT)
   ============================================ */

.ttm-popular-tours {
    background: #0a0f14;
    /* Deep, dark navy */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.ttm-popular-carousel {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.ttm-popular-slides-container {
    overflow: hidden;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.ttm-popular-slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttm-popular-slide {
    min-width: 100%;
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
}

.ttm-popular-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ttm-popular-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 10s linear;
}

.ttm-popular-slide.active .ttm-popular-slide-image img {
    transform: scale(1.2);
}

.ttm-popular-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 15, 20, 0.9) 0%, rgba(10, 15, 20, 0.4) 50%, transparent 100%);
    z-index: 2;
}

.ttm-popular-slide-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 80px;
    color: #fff;
    opacity: 1;
    transform: none;
}

/* Text animation removed as per user request */

.ttm-popular-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.ttm-popular-slide-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.ttm-popular-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.ttm-popular-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.ttm-popular-meta-item svg {
    color: #f39c12;
}

.ttm-difficulty-pill {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ttm-popular-slide-footer {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ttm-popular-price-box {
    display: flex;
    flex-direction: column;
}

.ttm-popular-price-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ttm-popular-price-value {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
}

/* Custom Navigation */
.ttm-popular-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 0 40px;
}

.ttm-popular-arrows {
    display: flex;
    gap: 10px;
}

.ttm-pop-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.ttm-pop-arrow:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.ttm-popular-progress {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 2px;
}

.ttm-popular-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #f39c12;
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.ttm-popular-counter {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    min-width: 60px;
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .ttm-popular-slide {
        height: auto;
        min-height: 600px;
    }

    .ttm-popular-slide-content {
        padding: 60px 40px;
        max-width: 100%;
    }

    .ttm-popular-slide-title {
        font-size: 42px;
    }

    .ttm-popular-slide-overlay {
        background: rgba(10, 15, 20, 0.8);
    }
}

@media (max-width: 768px) {
    .ttm-popular-tours {
        padding: 80px 0;
    }

    .ttm-popular-carousel {
        padding: 0 20px;
    }

    .ttm-popular-slide-content {
        padding: 40px 20px;
    }

    .ttm-popular-meta-grid {
        grid-template-columns: 1fr;
    }

    .ttm-popular-slide-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ttm-popular-nav {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ttm-popular-progress {
        width: 100%;
    }
}

.ttm-immersive-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: #f39c12;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttm-immersive-btn:hover {
    background: #fff;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.3);
}

.ttm-immersive-btn svg {
    transition: transform 0.4s ease;
}

.ttm-immersive-btn:hover svg {
    transform: translateX(5px);
}