
/* Inner pages — clear the overlapping Elementor header (negative margin-bottom) */
.ttn-site-content {
    position: relative;
    z-index: 1;
    padding-top: 160px;
}
.ttn-site-content.ttn-legacy-page-content {
    background: #fff;
}
/* Pages that ship their own hero/header offset */
.ttn-site-content .ttn-event-detail-page,
.ttn-site-content .ed-wrap .ed-hero:first-child {
    margin-top: -160px;
}
@media (max-width: 767px) {
    .ttn-site-content {
        padding-top: 100px;
    }
    .ttn-site-content .ttn-event-detail-page,
    .ttn-site-content .ed-wrap .ed-hero:first-child {
        margin-top: -100px;
    }
}

/* Module listing grids — center cards when only a few results */
.ttn-site-content .ev-grid,
.ttn-site-content .rs-grid,
.ttn-site-content .cr-grid,
.ttn-site-content .vl-grid,
.ttn-site-content .tl-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.ttn-site-content .ev-card,
.ttn-site-content .rs-card,
.ttn-site-content .cr-card,
.ttn-site-content .vl-card,
.ttn-site-content .tl-card {
    width: 100%;
    max-width: 360px;
    flex: 0 1 360px;
}

/* Legacy CMS pages (/page/*) */
.ttn-legacy-page-content .section-wrapper {
    padding: 48px 0;
    width: 100%;
}
.ttn-legacy-page-content .section-wrapper:first-child {
    padding-top: 0;
}
.ttn-legacy-page-content .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.ttn-legacy-page-content .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.ttn-legacy-page-content [class*="col-"] {
    padding: 0 15px;
    box-sizing: border-box;
}
.ttn-legacy-page-content .col-lg-12,
.ttn-legacy-page-content .col-md-12,
.ttn-legacy-page-content .col-sm-12,
.ttn-legacy-page-content .col-xs-12 {
    width: 100%;
}
.ttn-legacy-page-content h2 {
    font-family: "Bw Gradual Medium", "Roboto Slab", serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 1rem;
}
.ttn-legacy-page-content p,
.ttn-legacy-page-content li {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.ttn-legacy-page-content .text-center {
    text-align: center;
}
.ttn-legacy-page-content .mb-30 { margin-bottom: 30px; }
.ttn-legacy-page-content .mb-40 { margin-bottom: 40px; }
.ttn-legacy-page-content .mb-60 { margin-bottom: 60px; }
.ttn-legacy-page-content .mt-20 { margin-top: 20px; }
.ttn-legacy-page-content .mt-30 { margin-top: 30px; }
.ttn-legacy-page-content .mt-40 { margin-top: 40px; }
.ttn-legacy-page-content .mt-50 { margin-top: 50px; }
.ttn-legacy-page-content .mt-60 { margin-top: 60px; }
.ttn-legacy-page-content .ul-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.ttn-legacy-page-content .ul-row > li {
    flex: 1 1 220px;
    max-width: 320px;
}
.ttn-legacy-page-content .ul-row.three > li {
    flex: 1 1 280px;
    max-width: 360px;
}
.ttn-legacy-page-content .ul-row.four > li {
    flex: 1 1 200px;
    max-width: 260px;
}
.ttn-legacy-page-content .reseller_nav_outer {
    display: none;
}
.ttn-legacy-page-content .management_reseller h2 {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
@media (max-width: 767px) {
    .ttn-legacy-page-content .ul-row > li,
    .ttn-legacy-page-content .ul-row.three > li,
    .ttn-legacy-page-content .ul-row.four > li {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Events slider (Mocha Trips cards) */
.ttn-public-events-carousel,
.events-wrapper .ttn-events-slider-widget {
    background: transparent;
}
.ttn-public-events-carousel {
    background-color: #fff2d7;
    padding: 100px 0;
}
.ttn-public-events-carousel .e-con-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}
.ttn-public-events-carousel .elementor-element-cc25b14 {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}
.ttn-events-slider-widget {
    position: relative;
    width: 100%;
    align-self: stretch;
    margin-top: 50px;
    padding: 0 0 0;
}
.ttn-events-slider-root {
    overflow: hidden;
    padding-bottom: 8px;
    width: 100%;
}
.ttn-events-slider-root .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.ttn-events-slider-root .swiper-slide {
    height: auto;
    display: flex;
    flex-shrink: 0;
}
.ttn-events-slider-root:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc(33.333% - 17px);
    max-width: calc(33.333% - 17px);
}
.ttn-events-slider {
    overflow: hidden;
    padding-bottom: 8px;
}
.ttn-event-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ttn-event-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.ttn-event-card__media {
    position: relative;
}
.ttn-event-card__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    background: #f0aa2b;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}
.ttn-event-card__media img {
    display: block;
    width: 100%;
    height: 275px;
    object-fit: cover;
    object-position: center;
    border-radius: 25px 25px 0 0;
}
.ttn-event-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 20px 24px;
    gap: 12px;
}
.ttn-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 16px;
}
.ttn-event-card__location,
.ttn-event-card__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ttn-event-card__location {
    color: #16b95a;
}
.ttn-event-card__date {
    color: #f0aa2b;
}
.ttn-event-card__location svg,
.ttn-event-card__date svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex: 0 0 auto;
}
.ttn-event-card__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.ttn-event-card__title a {
    color: #000;
    text-decoration: none;
}
.ttn-event-card__price {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: #f0aa2b;
}
.ttn-event-card__price-label {
    color: #7d8088;
    font-size: 14px;
    font-weight: 400;
    margin-right: 6px;
}
.ttn-event-card .mocha-btn {
    margin-top: auto;
}
.ttn-events-slider-controls {
    position: relative;
    min-height: 44px;
    margin-top: 25px;
    padding: 0;
}
.ttn-events-slider-pagination {
    position: absolute !important;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ttn-events-slider-pagination .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    margin: 0 !important;
    background: #d9d9d9;
    opacity: 1;
}
.ttn-events-slider-pagination .swiper-pagination-bullet-active {
    background: #000;
}
.ttn-events-slider-prev,
.ttn-events-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 10px;
    margin: 0;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ttn-events-slider-prev {
    right: 54px;
}
.ttn-events-slider-next {
    right: 0;
}
.ttn-events-slider-prev i,
.ttn-events-slider-next i {
    font-size: 18px;
    line-height: 1;
}
.ttn-events-slider-prev:hover:not(.swiper-button-disabled),
.ttn-events-slider-next:hover:not(.swiper-button-disabled) {
    background: #000;
    color: #fff;
    border-color: #000;
}
.ttn-events-slider-prev.swiper-button-disabled,
.ttn-events-slider-next.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}
.ttn-events-empty {
    padding: 30px 15px;
    color: #666;
}

/* Latest Blogs section */
.ttn-public-blogs-section,
.blog-wrapper .ttn-blogs-section {
    background: #fff;
    padding: 40px 0 60px;
}
.ttn-blogs-section {
    width: 100%;
}
.ttn-blogs-section__title {
    margin: 0 0 32px;
    font-family: "Bw Gradual Bold", Sans-serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    color: #000;
}
.ttn-blogs-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px 32px;
    align-items: start;
}
.ttn-blogs-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}
.ttn-blog-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ttn-blog-card__media {
    display: block;
    overflow: hidden;
    border-radius: 20px;
}
.ttn-blog-card__media img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}
.ttn-blog-card__media:hover img {
    transform: scale(1.05);
}
.ttn-blog-card--featured .ttn-blog-card__media img {
    height: 450px;
}
.ttn-blog-card--compact .ttn-blog-card__media img {
    height: 150px;
}
.ttn-blog-card__date {
    font-family: "Bw Gradual Regular", Sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}
.ttn-blog-card--featured .ttn-blog-card__date {
    font-size: 15px;
}
.ttn-blog-card__title {
    margin: 0;
    font-family: "Bw Gradual Bold", Sans-serif;
    font-weight: 900;
    color: #000;
}
.ttn-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ttn-blog-card__title a:hover,
.ttn-blog-card__title a:focus {
    color: #f0aa2b;
}
.ttn-blog-card--featured .ttn-blog-card__title {
    font-size: 36px;
    line-height: 1.15;
}
.ttn-blog-card--compact .ttn-blog-card__title {
    font-size: 14px;
    line-height: 1.35;
}
.ttn-blogs-section__footer {
    margin-top: 36px;
}
.ttn-blogs-empty {
    padding: 30px 15px;
    color: #666;
}

/* Recent Gallery marquee (reference homepage) */
.ttn-footer-prelead {
    overflow: hidden;
}
.ttn-public-gallery-section {
    background: #fff;
    position: relative;
    z-index: 1;
}
#uc_logo_marquee_elementor_f086624,
#uc_logo_marquee_elementor_e9ebba4,
#uc_logo_marquee_elementor_69f89ec {
    min-height: 1px;
    text-align: center;
    position: relative;
}
#uc_logo_marquee_elementor_f086624 .uc_marquee,
#uc_logo_marquee_elementor_e9ebba4 .uc_marquee,
#uc_logo_marquee_elementor_69f89ec .uc_marquee {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}
#uc_logo_marquee_elementor_f086624 .uc_logo_marquee_holder a,
#uc_logo_marquee_elementor_e9ebba4 .uc_logo_marquee_holder a,
#uc_logo_marquee_elementor_69f89ec .uc_logo_marquee_holder a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#uc_logo_marquee_elementor_f086624 img,
#uc_logo_marquee_elementor_e9ebba4 img,
#uc_logo_marquee_elementor_69f89ec img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
}
#uc_logo_marquee_elementor_f086624 .uc_logo_marquee_holder {
    overflow: hidden;
    border-radius: 30px;
}
.ttn-gallery-empty {
    padding: 30px 15px;
    color: #666;
    text-align: center;
}

/* Homepage footer lead (clouds + landscape) */
.ttn-homepage-footer-lead {
    position: relative;
    overflow: hidden;
}

/* About MOCHA Trips Culture section */
.ttn-about-culture-section .elementor-element-6345995 > .elementor-element-populated > .elementor-background-overlay {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}
.elementor-707 .elementor-element.elementor-element-6345995:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap,
.elementor-707 .elementor-element.elementor-element-6345995 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.ttn-about-culture-section .elementor-element-6345995 > .elementor-element-populated {
    background-image: url('/assets/mochafest/images/2026-01-100-Reasons-Why-Everyone-Should-Travel-Mochatrips.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.ttn-about-culture-section .elementor-element-f9dd814 .elementor-spacer-inner {
    min-height: 420px;
}
@media (max-width: 767px) {
    .ttn-about-culture-section .elementor-element-6345995 > .elementor-element-populated > .elementor-background-overlay {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    }
    .ttn-about-culture-section .elementor-element-f9dd814 .elementor-spacer-inner {
        min-height: 250px;
    }
}
@media (max-width: 991px) {
    .ttn-blogs-section__layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .ttn-blogs-section__title {
        font-size: 32px;
    }
    .ttn-blogs-section__grid {
        grid-template-columns: 1fr;
    }
    .ttn-blog-card--featured .ttn-blog-card__media img {
        height: 220px;
    }
    .ttn-blog-card--compact .ttn-blog-card__media img {
        height: 180px;
    }
    .ttn-blog-card--featured .ttn-blog-card__title {
        font-size: 28px;
    }
    .ttn-blog-card--compact .ttn-blog-card__title {
        font-size: 18px;
    }
}
@media (max-width: 767px) {
    .ttn-event-card__media img {
        height: 180px;
    }
    .ttn-event-card__title {
        font-size: 20px;
    }
    .ttn-event-card__meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .ttn-events-slider-root:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 85%;
        max-width: 85%;
    }
    .ttn-events-slider-controls {
        margin-top: 20px;
        min-height: 40px;
    }
    .ttn-events-slider-prev,
    .ttn-events-slider-next {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    .ttn-events-slider-prev {
        right: 48px;
    }
    .ttn-public-events-carousel {
        padding: 60px 0;
    }
}
.elementor-widget-slides .elementor-slides-wrapper {
    overflow: hidden;
    position: relative;
}
.elementor-widget-slides .swiper-slide {
    overflow: hidden;
}
.elementor-widget-slides .swiper-slide-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.slider-wrapper .ttn-hero-slide-link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    text-decoration: none;
    color: inherit;
}
.slider-wrapper .swiper-slide-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    pointer-events: none;
}
.slider-wrapper .swiper-slide-contents {
    max-width: 66%;
    text-align: center;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 8px;
}
.slider-wrapper .elementor-slide-heading {
    margin: 0 0 12px;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    line-height: 1.2;
    text-transform: uppercase;
    color: #111;
}
.slider-wrapper .elementor-slide-description {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: #111;
}
.elementor-widget-loop-carousel .swiper-wrapper {
    display: flex;
}
.elementor-widget-loop-carousel .swiper-slide {
    flex-shrink: 0;
    height: auto;
}
.mocha-btn {
    text-decoration: none !important;
    box-sizing: border-box;
}
body.ttn-builder-active .es-settings-container {
    position: relative;
    z-index: 999999;
}
body.ttn-builder-active .preview-editor-settings {
    position: relative;
    z-index: 999999;
}
