/*
 Theme Name:   Tourm Child  
 Theme URI:    https://themeholy.com/wordpress/tourm
 Description:  This is a child theme for Tourm - WordPress Theme
 Author:       Themeholy
 Author URI:   https://themeforest.net/user/themeholy 
 Template:     tourm
 Version:      2.3.2
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  tourm-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */ 

/* hide language selector */
.dropdown-link, #dropdownMenuLink1 {
    display: none;
}

/* fonts */
@font-face {
  font-family: 'Thmanyah';
  src: url('/wp-content/themes/tourm-child/fonts/thmanyahseriftext-Regular.woff2') format('woff2'),
       url('/wp-content/themes/tourm-child/fonts/thmanyahseriftext-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Headings fonts */
h1, h2, h3, h4, h5, h6
{
    font-family: "Thmanyah", serif !important;
}

.header-logo img {
    width: 180px !important; /* adjust this value to taste */
    height: auto;
}

.th-btn {
  font-family: 'Rubik', sans-serif;
}



/* Cursor follower */
.cursor-follower{
    background-color: #e2b559;
    border-color: #e2b559;
}

/* Top bar */
.header-layout1 .header-top {
    background: #0d324f;
}
.header-top a, .header-links li, .header-links li i, .header-links span, .dropdown-link .dropdown-toggle{
    color: #ffffff !important;
}

/* Remove background image on the header */
.header-layout1 .sticky-wrapper .menu-area {
    background-image: none !important;
}

/* Hide preloader button */
.preloader .th-btn{
    display: none;
}

/* header button icon */
[data-id="097302b"] a.th-btn.th-icon.th-btn.th-icon::after {
  background-color: #ffffff !important;
}

/* Hide whatsapp button on slider */
.th-btn.style2 {
    display: none;
}

/* Adjust hero padding */
.hero-style1 {
    padding: 140px 0 220px 0 !important;
}


/* Fix icons alignment */
.feature-item_icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item_icon img {
  margin: 0 auto;
  display: block;
}

/* packs price color */
.tour-box .currency{
    color: #e2b559;
}

/* Fix logos carousel height */
/* Fix logo carousel alignment */
/* Fix logo carousel alignment — scoped to #partners only */
#partners .swiper-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

#partners .brand-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

#partners .brand-box img.original,
#partners .brand-box img.gray {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* IATA logo: padded the source file with transparent space below it and anchor it to the top of its box.
   Deliberately NOT using transform/top here - the theme uses transform for the hover crossfade
   animation (original/gray slide swap), so overriding transform would freeze that animation. */
#partners .brand-box img[alt="IATA_logo_v3"] {
  object-fit: contain;
  object-position: center top;
}

/* The outer .swiper container itself clips overflow with zero spare height, so any upward shift
   anywhere inside it gets cut off. Give the whole carousel a little real headroom first... */
#partners .swiper {
  padding-top: 20px;
}

/* ...then shift only the IATA box up within that new headroom - safe now, nothing to clip into. */
#partners .brand-box:has(img[alt="IATA_logo_v3"]) {
  margin-top: -17px;
}

/* Al Bait Guests logo: same treatment, using the same headroom already added to #partners .swiper above. */
#partners .brand-box:has(img[alt="al bait guests"]) {
  margin-top: -8px;
}

/* Footer "Contacta con nosotros": vertically center each icon against its text (address wraps to 2 lines) */
.th-widget-contact .info-box_text {
  align-items: center;
}

/* Old WP Travel Engine hero search: hidden (not deleted) while the new custom search form is tested */
.elementor-element-60911dfe {
  display: none !important;
}
/* Horizontally center the logo carousel row */
#partners .swiper-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

/* counters section */
/* Hide the counter number in the 2nd and 3rd stat columns only */
#counters .col-md-6.col-xl-3:nth-child(2) .counter-number,
#counters .col-md-6.col-xl-3:nth-child(3) .counter-number {
  display: none;
}

/*icons centering : demo issue*/
/* Center all listed icons inside their existing wrappers */
.about-item_img,
.icon,
.testi-card-quote,
.slider-arrow,
.about-contact-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: 0;
}

/* Benefit icons */
.about-item_img img {
    display: block;
    width: 32px !important;
    height: 33px !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
}

/* footer logo */
.th-widget-about .about-logo img{
    width: 65%;
}

/* Footer icons */
.icon img {
    display: block;
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
}

/* Testimonial quote icon */
.testi-card-quote img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
}

/* Hero and team slider arrows */
.slider-arrow img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
}

html {
    scroll-behavior: smooth !important;
}

/*remove extra border contact form forminator*/
#text-1, #email-1, #select-1, #textarea-1{
    border: unset !important;
}
#textarea-1{
    height: unset !important;
}
/*padding LOGO Left*/
body > header > div > div > div > div > div.th-header.header-layout1.header-layout2 > div.sticky-wrapper > div > div > div > div:nth-child(1) > div{
    padding-left: 20px !important;
}
/*padding header button Right*/
body > header > div > div > div > div > div.th-header.header-layout1.header-layout2 > div.sticky-wrapper > div > div > div > div.col-auto.d-none.d-xl-block > div{
    padding-right: 20px !important;
}

/* Testimonial video popup modal (opens Instagram reels without leaving the site) */
.rt-testimonial-modal-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    z-index:99999;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.rt-testimonial-modal-overlay.rt-active{
    display:flex;
}
.rt-testimonial-modal-box{
    position:relative;
    width:100%;
    max-width:420px;
    max-height:92vh;
    overflow:auto;
}
.rt-testimonial-modal-close{
    position:absolute;
    top:-42px;
    right:0;
    color:#fff;
    font-size:34px;
    cursor:pointer;
    background:none;
    border:none;
    line-height:1;
}
.rt-testimonial-modal-content{
    position:relative;
    min-height:480px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
    border-radius:10px;
    overflow:hidden;
}
.rt-testimonial-modal-content blockquote.instagram-media{
    opacity:0;
    width:100%;
}
.rt-testimonial-modal-content.rt-ready blockquote.instagram-media{
    opacity:1;
}
.rt-testimonial-spinner-wrap{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
    z-index:2;
}
.rt-testimonial-spinner{
    width:36px;
    height:36px;
    border:3px solid rgba(255,255,255,.25);
    border-top-color:#fff;
    border-radius:50%;
    animation:rt-spin .8s linear infinite;
}
@keyframes rt-spin{
    to{ transform:rotate(360deg); }
}
/*breadcrumb banner text*/
.breadcumb-wrapper {
    position: relative;
    min-height: 450px !important;
    background-size: cover !important;
    background-position: center bottom !important;
}

/* Dark overlay */
.breadcumb-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Keep the content above the overlay */
.breadcumb-wrapper .container {
    position: relative;
    z-index: 2;
}

.breadcumb-wrapper .row {
    justify-content: flex-start !important;
}

.breadcumb-wrapper .breadcumb-content {
    text-align: left !important;
    padding-top: 40px !important;
}

/* Move title higher */
.breadcumb-wrapper .breadcumb-title {
    text-align: left !important;
    margin-top: -50px !important;
    color: #fff !important;
}

/* ===================== Ofertas page (id 7684) reskin to match approved mockup ===================== */

/* Hero: lighten the overlay so it reads airy like the mockup, not a dark photo */
.elementor-7684 .th-hero-wrapper.hero-1 { min-height: 380px; }
.elementor-7684 .th-hero-wrapper.hero-1::before {
  background: linear-gradient(180deg, rgba(250,245,234,.15) 0%, rgba(250,245,234,.85) 90%) !important;
}
.elementor-7684 .th-hero-wrapper.hero-1 .sub-title {
  color: #b8862c !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; font-size: 13px;
}
.elementor-7684 .th-hero-wrapper.hero-1 .hero-title {
  color: #0d332e !important; font-size: clamp(32px, 5vw, 48px);
}

/* Feature badges row (top + bottom): pill/badge look with circular icon, matches mockup */
.elementor-7684 .service-wrap.layout2 { background: transparent; box-shadow: none; }
.elementor-7684 [data-widget_type="tourmfeatures.default"] .service-box {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: transparent; box-shadow: none; padding: 0;
}
.elementor-7684 [data-widget_type="tourmfeatures.default"] .service-icon {
  width: 48px; height: 48px; border-radius: 50%; background: #faf5ea; border: 1px solid #eee0c8;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.elementor-7684 [data-widget_type="tourmfeatures.default"] .service-icon img { width: 22px; height: 22px; }
.elementor-7684 [data-widget_type="tourmfeatures.default"] .service-content .box-title {
  font-size: 15px; font-weight: 600; color: #0d332e; margin: 0;
}
.elementor-7684 [data-widget_type="tourmfeatures.default"] .service-content p { display: none; }

/* Bottom feature strip: light grey box, 4 across */
.elementor-7684 .rt-bottom-features [data-widget_type="tourmfeatures.default"] {
  background: #f4f2ec; border-radius: 16px; padding: 28px 20px;
}

/* Search / filter bar: clean white rounded bar */
.elementor-7684 [data-widget_type^="wptravelengine-trip-search"] {
  font-family: 'Rubik', sans-serif;
}
.elementor-7684 .wpte-search-widget,
.elementor-7684 .wte-search-form {
  gap: 0;
}
.elementor-7684 .wte-search-form select,
.elementor-7684 .wte-search-form input {
  border: none !important; background: transparent !important; color: #0d332e; font-weight: 500;
}
.elementor-7684 .wte-search-form .wte-search-submit,
.elementor-7684 button[class*="search"] {
  background: #0d332e !important; color: #fff !important; border-radius: 999px !important;
  padding: 14px 28px !important; font-weight: 600 !important; border: none !important;
}

/* Trip cards: rounded, shadowed, image on top, meta row, price top-right, and a real CTA button */
.elementor-7684 .wpte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .elementor-7684 .wpte-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .elementor-7684 .wpte-grid { grid-template-columns: 1fr; } }
.elementor-7684 .wpte-card {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(13,51,46,.08);
  border: 1px solid #f0ece0; transition: transform .2s ease, box-shadow .2s ease;
}
.elementor-7684 .wpte-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,51,46,.14); }
.elementor-7684 .wpte-card__image { aspect-ratio: 4/3; margin: 0; background: #eee0c8; }
.elementor-7684 .wpte-card__image img { width: 100%; height: 100%; object-fit: cover; }
.elementor-7684 .wpte-card__content { padding: 18px 20px 20px; position: relative; }
.elementor-7684 .wpte-card__location { display: none; }
.elementor-7684 .wpte-card__title { font-size: 19px; font-weight: 700; color: #0d332e; margin: 0 0 8px; }
.elementor-7684 .wpte-card__title a { color: inherit; }
.elementor-7684 .wpte-card__meta { display: flex; gap: 14px; margin-bottom: 14px; }
.elementor-7684 .wpte-card__meta .category { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #5c7570; }
.elementor-7684 .wpte-card__meta-title { display: none; }
.elementor-7684 .wpte-card__wrap { position: relative; }
.elementor-7684 .wpte-card__price { position: absolute; top: 12px; right: 12px; z-index: 2; text-align: right; }
.elementor-7684 .wpte-card__price label { display: block; font-size: 11px; color: #8a5f16; text-transform: uppercase; letter-spacing: .04em; }
.elementor-7684 .wpte-card__price .actual-price { font-size: 18px; font-weight: 700; color: #0d332e; background: #fff; padding: 4px 10px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.elementor-7684 .rt-offer-btn {
  display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
  background: #FCB430; color: #0d332e !important; font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; text-decoration: none; margin-top: 4px;
  transition: background .2s ease;
}
.elementor-7684 .rt-offer-btn:hover { background: #017290; color: #fff !important; }

/* CTA banner: photo left, content right, like mockup's bottom band */
.elementor-7684 .history-area { border-radius: 18px; overflow: hidden; }
.elementor-7684 .history-content { background: rgba(13,51,46,.55); padding: 40px; }
.elementor-7684 .history-content .title1 { color: #fff; font-size: 26px; }
.elementor-7684 .history-content .title2 { color: #eef3f2; }
.elementor-7684 .history-content .th-btn { background: #FCB430 !important; color: #0d332e !important; border-radius: 999px !important; }

/* Ofertas page: force the native "tourmtrips" widget (style 5) to 4 columns instead of its
   hardcoded 3 (col-xl-4). Scoped to this exact widget instance only. */
@media (min-width: 1200px) {
  .elementor-element-0af382d .col-lg-6.col-xl-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Contactanos page: video play button next to the contact form, brand gold */
.elementor-element-1921d14 .play-btn > i {
  background: #F9B436 !important;
  color: #fff !important;
}
.elementor-element-1921d14 .play-btn:before,
.elementor-element-1921d14 .play-btn:after {
  background-color: #F9B436 !important;
}