:root{
  --es-red:#ED1C24;
  --es-red-dark:#C9131A;
  --es-ink:#17211E;
  --es-green:#0B4F3F;
  --es-muted:#66716D;
  --es-line:#E7E6E2;
  --es-soft:#FFF5F1;
  --es-white:#FFFFFF;
  --es-shadow:0 10px 30px rgba(24,34,30,.08);
}

/* Scope and reset only on WP Travel Engine archive/taxonomy screens. */
.post-type-archive-trip .main-content-wrapper,
.tax-destination .main-content-wrapper,
.tax-activities .main-content-wrapper,
.tax-trip_types .main-content-wrapper,
.tax-difficulty .main-content-wrapper,
.tax-trip_tag .main-content-wrapper{
  display:block!important;
  margin-top:0!important;
}

.post-type-archive-trip .page-header-top,
.tax-destination .page-header-top,
.tax-activities .page-header-top,
.tax-trip_types .page-header-top,
.tax-difficulty .page-header-top,
.tax-trip_tag .page-header-top,
.post-type-archive-trip #wte-crumbs,
.tax-destination #wte-crumbs,
.tax-activities #wte-crumbs,
.tax-trip_types #wte-crumbs,
.tax-difficulty #wte-crumbs,
.tax-trip_tag #wte-crumbs{
  display:none!important;
}

.post-type-archive-trip .site-content>.container,
.tax-destination .site-content>.container,
.tax-activities .site-content>.container,
.tax-trip_types .site-content>.container,
.tax-difficulty .site-content>.container,
.tax-trip_tag .site-content>.container{
  max-width:1320px;
}

/* Full-bleed hero immediately below the site header. */
.es-tour-hero{
  position:relative;
  width:100vw;
  min-height:500px;
  margin-left:calc(50% - 50vw);
  background-image:var(--es-hero-image);
  background-position:center;
  background-size:cover;
  color:#fff;
  overflow:hidden;
}
.es-tour-hero__overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.12) 35%,rgba(0,0,0,.62) 100%);
}
.es-tour-hero__inner{
  position:relative;z-index:2;
  width:min(1240px,calc(100% - 48px));
  min-height:500px;
  margin:0 auto;
  padding:28px 0 34px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.es-hero-breadcrumb{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:rgba(255,255,255,.9)}
.es-hero-breadcrumb a{color:#fff;text-decoration:none}.es-hero-breadcrumb a:hover{text-decoration:underline}.es-hero-breadcrumb span{color:rgba(255,255,255,.8)}
.es-tour-hero__bottom{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.es-tour-hero__copy{max-width:850px}
.es-tour-hero__copy h1{margin:0 0 10px!important;color:#fff!important;font-size:clamp(36px,4vw,54px)!important;line-height:1.08!important;letter-spacing:-.035em;font-weight:800!important;text-shadow:0 2px 14px rgba(0,0,0,.2)}
.es-tour-hero__copy p{margin:0 auto!important;max-width:760px;color:rgba(255,255,255,.94)!important;font-size:17px;line-height:1.55}

/* BestPrice-inspired search placement, but functional with WP Travel Engine archive query vars. */
.es-hero-search{
  width:min(820px,100%);
  min-height:70px;
  margin:0;
  padding:7px;
  display:grid;
  grid-template-columns:1.05fr 1.05fr 1.05fr 190px;
  align-items:stretch;
  background:#fff;
  border-radius:18px;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}
.es-search-field{position:relative;display:grid;grid-template-columns:34px 1fr;grid-template-rows:18px 1fr;align-items:center;padding:7px 15px;border-right:1px solid #ECEAE7;text-align:left;color:var(--es-ink)}
.es-search-icon{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:28px;height:28px;font-size:19px;color:var(--es-red)}
.es-search-field label{font-size:11px;line-height:1.1;font-weight:700;letter-spacing:.055em;text-transform:uppercase;color:#8A8F8C;margin:0}
.es-search-field select,.es-search-field input[type=month]{grid-column:2;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;min-height:30px!important;height:30px!important;padding:0!important;margin:0!important;color:var(--es-ink)!important;font-size:15px!important;font-weight:650!important;width:100%;font-family:inherit}
.es-search-submit{border:0!important;border-radius:13px!important;background:var(--es-red)!important;color:#fff!important;font-size:16px!important;font-weight:800!important;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;padding:0 18px!important;min-height:56px!important;box-shadow:none!important}
.es-search-submit:hover{background:var(--es-red-dark)!important;color:#fff!important}

.es-trust-strip{width:100vw;margin-left:calc(50% - 50vw);background:#fff;border-bottom:1px solid var(--es-line);box-shadow:0 6px 20px rgba(18,28,24,.035)}
.es-trust-strip__inner{width:min(1120px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr)}
.es-trust-item{min-height:88px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;align-content:center;padding:16px 28px;border-right:1px solid var(--es-line)}
.es-trust-item:last-child{border-right:0}.es-trust-icon{grid-row:1/3;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#FFF0EE;color:var(--es-red);font-weight:900;font-size:18px}.es-trust-item strong{font-size:15.5px;color:var(--es-ink);line-height:1.25}.es-trust-item small{font-size:12.5px;color:var(--es-muted);line-height:1.35;margin-top:3px}

/* Category intro: intentionally simple so native listing remains the visual focus. */
.es-results-head{max-width:900px;margin:44px auto 28px;text-align:center;padding:0 16px}
.es-results-head h2{margin:0 0 8px!important;font-size:30px!important;line-height:1.2;color:var(--es-ink)!important;letter-spacing:-.02em;font-weight:800!important}
.es-results-head p{margin:0 auto 19px!important;color:var(--es-muted);font-size:15px;line-height:1.55}
.es-tour-chips{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.es-tour-chips a{display:inline-flex;align-items:center;min-height:35px;padding:7px 14px;border:1px solid #DDDCD8;border-radius:999px;color:#3E4945;text-decoration:none;font-size:13px;font-weight:700;background:#fff}.es-tour-chips a:hover,.es-tour-chips a.is-current{border-color:var(--es-red);color:var(--es-red);background:#FFF6F5}

/* WP TRAVEL ENGINE ARCHIVE — native templates preserved, layout only */
#wp-travel-trip-wrapper.trip-content-area{
  max-width:1260px!important;width:calc(100% - 40px)!important;padding:0!important;margin:0 auto!important;
}
.wp-travel-inner-wrapper,.wp-travel-engine-archive-outer-wrap{width:100%!important;max-width:none!important}
.wp-travel-engine-archive-outer-wrap{display:block!important}

/* Horizontal filter panel: move the native filters above the cards without changing their controls/AJAX. */
.wp-travel-engine-archive-outer-wrap .advanced-search-wrapper{
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0 0 22px!important;
}
.wp-travel-engine-archive-outer-wrap .advanced-search-wrapper + .wp-travel-engine-archive-repeater-wrap{
  width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;
}
.advanced-search-wrapper .sidebar{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px!important;
  padding:16px!important;margin:0!important;border:1px solid #E4E2DD!important;border-radius:16px!important;
  background:#fff!important;box-shadow:0 8px 26px rgba(24,34,30,.055)!important;overflow:visible!important;
}
.advanced-search-wrapper .advanced-search-header{
  grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  margin:0!important;padding:0 2px 4px!important;border:0!important;
}
.advanced-search-wrapper .advanced-search-header h2{margin:0!important;font-size:17px!important;line-height:1.2!important;font-weight:800!important;color:var(--es-ink)!important}
.advanced-search-wrapper .clear-search-criteria{font-size:12px!important;font-weight:750!important;color:var(--es-red)!important}
.advanced-search-wrapper .advanced-search-field{
  min-width:0!important;margin:0!important;padding:13px 14px!important;border:1px solid #ECE9E4!important;border-radius:11px!important;background:#FCFCFB!important;
}
.advanced-search-wrapper .advanced-search-field h3,.advanced-search-wrapper .filter-section-title,.advanced-search-wrapper .advanced-search-field .title{
  margin:0 0 9px!important;font-size:12.5px!important;line-height:1.25!important;font-weight:800!important;color:var(--es-ink)!important;
}
.advanced-search-wrapper .filter-section-content{max-height:126px;overflow:auto;padding-right:3px;font-size:12px!important;scrollbar-width:thin}
.advanced-search-wrapper .filter-section-content label{font-size:12px!important;line-height:1.4!important;color:#4B5551!important}
.advanced-search-wrapper .wte-terms-show-btns button{font-size:11px!important;font-weight:700!important;color:var(--es-red)!important}
.advanced-search-wrapper .noUi-connect{background:var(--es-red)!important}.advanced-search-wrapper .noUi-handle{border-color:var(--es-red)!important}
.advanced-search-wrapper .wpte-slider-values{font-size:11.5px!important;font-weight:700!important}
.tax-destination .advanced-search-wrapper .es-filter-destination{display:none!important}.tax-destination .advanced-search-wrapper .sidebar{grid-template-columns:repeat(4,minmax(0,1fr))}

/* We use the cleaner sort pills above the filter; hide only WTE's duplicate toolbar, not its data/query logic. */
.wpte-toolbar-container{display:none!important}

/* NATIVE LIST CARD — v0.7 single source of truth. Native WTE HTML/query/price/availability are preserved. */
.category-main-wrap.category-list{display:block!important;width:100%!important}
.category-list .category-trips-single{display:block!important;width:100%!important;max-width:none!important;margin:0 0 24px!important;padding:0!important}
.category-list .category-trips-single-inner-wrap{
  display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;width:100%!important;max-width:none!important;min-height:306px!important;
  padding:0!important;margin:0!important;background:#fff!important;border:1px solid #E3E1DC!important;border-radius:18px!important;
  box-shadow:0 10px 30px rgba(24,34,30,.075)!important;overflow:hidden!important;
}
.category-list .category-trip-fig{
  position:relative!important;flex:0 0 38%!important;width:38%!important;max-width:38%!important;height:306px!important;min-height:306px!important;
  margin:0!important;padding:0!important;align-self:stretch!important;overflow:hidden!important;border-radius:0!important;background:#F1F3F1!important;
}
.category-list .category-trip-fig>a{display:block!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important}
.category-list .category-trip-fig img{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;object-fit:cover!important;margin:0!important;padding:0!important}
.category-list .category-trip-content-wrap{
  flex:0 0 62%!important;width:62%!important;max-width:62%!important;min-width:0!important;display:flex!important;align-items:stretch!important;margin:0!important;padding:0!important;
}
.category-list .category-trip-detail-wrap{
  flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important;padding:23px 26px 21px!important;margin:0!important;border:0!important;
}
.category-list .category-trip-budget{
  flex:0 0 232px!important;width:232px!important;max-width:232px!important;min-width:232px!important;padding:24px 20px!important;margin:0!important;
  border:0!important;border-left:1px solid #ECEAE6!important;background:#FFFCFB!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;text-align:right!important;
}

/* Remove generic archive excerpt; travelers can scan factual trip data instead. */
.category-list .category-trip-desc,.category-list .wpte-trip-excerpt,.category-list .trip-excerpt{display:none!important}

/* Title/review hierarchy. */
.category-list .category-trip-prc-title-wrap{display:block!important;width:100%!important;margin:0 0 7px!important;padding:0!important}
.category-list .category-trip-title{margin:0 0 8px!important;font-size:24px!important;line-height:1.2!important;letter-spacing:-.025em!important;font-weight:800!important;overflow-wrap:normal!important;word-break:normal!important}
.category-list .category-trip-title a{color:var(--es-ink)!important;text-decoration:none!important}.category-list .category-trip-title a:hover{color:var(--es-red)!important}
.category-list .category-trip-prc-title-wrap [class*=rating],.category-list .category-trip-prc-title-wrap .aggregate-rating,.category-list .category-trip-prc-title-wrap .review-wrap,.category-list .category-trip-prc-title-wrap .trip-rating{font-size:14px!important;line-height:1.4!important}

/* Native duration stays as data source; v0.7 presents it consistently as a prominent quick fact. */
.category-list .category-trip-detail-wrap .wpte-trip-duration{display:none!important}
.es-card-quickfacts{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;margin:10px 0 13px!important}
.es-card-duration{display:inline-flex!important;align-items:center!important;gap:9px!important;min-height:44px!important;padding:7px 12px!important;border:1px solid #F0D2CF!important;border-radius:10px!important;background:#FFF7F5!important;color:var(--es-ink)!important}
.es-card-duration svg{width:22px!important;height:22px!important;flex:0 0 22px!important;fill:none!important;stroke:var(--es-red)!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.es-card-duration>span{display:flex!important;flex-direction:column!important;gap:1px!important}.es-card-duration small{color:#818985!important;font-size:10px!important;line-height:1!important;font-weight:750!important;letter-spacing:.06em!important;text-transform:uppercase!important}.es-card-duration strong{color:var(--es-ink)!important;font-size:15px!important;line-height:1.15!important;font-weight:850!important}
.es-card-type{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:6px 11px!important;border-radius:7px!important;background:#F2F3F1!important;color:#394440!important;font-size:12.5px!important;line-height:1.2!important;font-weight:750!important}

/* Destination/meta: larger typography and stable CSS icon instead of theme-font icon collisions. */
.category-list .category-trip-desti{position:relative!important;margin:7px 0!important;padding-left:26px!important;color:#5F6965!important;font-size:15px!important;line-height:1.45!important}
.category-list .category-trip-desti i,.category-list .category-trip-desti>svg{display:none!important}
.category-list .category-trip-desti:before{content:"";position:absolute;left:2px;top:2px;width:17px;height:20px;background-repeat:no-repeat;background-position:center;background-size:17px 20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28' fill='none' stroke='%23949C98' stroke-width='2'%3E%3Cpath d='M12 26s8-8.1 8-15A8 8 0 1 0 4 11c0 6.9 8 15 8 15Z'/%3E%3Ccircle cx='12' cy='11' r='2.8'/%3E%3C/svg%3E")!important}
.category-list .category-trip-desti a{color:#5F6965!important;font-size:15px!important;font-weight:500!important;text-decoration:none!important}.category-list .category-trip-desti a:hover{color:var(--es-red)!important;text-decoration:underline!important}
.category-list .category-trip-detail-wrap .wpte-trip-meta,.category-list .category-trip-detail-wrap .trip-meta,.category-list .category-trip-detail-wrap [class*=trip-meta],.category-list .category-trip-detail-wrap .category-trip-info{font-size:14px!important;line-height:1.45!important;color:#626C68!important}

/* Highlights: large, scan-friendly list inspired by OTA list cards. */
.es-card-highlights{margin-top:12px!important;padding-top:12px!important;border-top:1px solid #EFEEE9!important}.es-card-highlights__title{margin:0 0 8px!important;color:#27312E!important;font-size:14.5px!important;line-height:1.2!important;font-weight:800!important}.es-card-highlights ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:7px!important}.es-card-highlights li{display:flex!important;align-items:flex-start!important;gap:9px!important;margin:0!important;padding:0!important;color:#343E3A!important;font-size:14px!important;line-height:1.42!important}.es-highlight-check{flex:0 0 16px!important;width:16px!important;height:18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-top:0!important;border-radius:0!important;background:transparent!important;color:var(--es-red)!important;font-size:17px!important;line-height:1!important;font-weight:900!important}

/* Keep WTE's pricing/category logic; style only the output. */
.category-list .category-trip-budget .wpte-trip-price-wrapper,.category-list .category-trip-budget .wpte-trip-price,.category-list .category-trip-budget .price-holder{width:100%!important;max-width:none!important;margin:0!important}.category-list .category-trip-budget .wpte-trip-price-wrapper{display:block!important}.category-list .category-trip-budget .actual-price,.category-list .category-trip-budget .wpte-trip-price .actual-price{color:var(--es-red)!important;font-size:30px!important;line-height:1.05!important;font-weight:850!important;letter-spacing:-.025em!important}.category-list .category-trip-budget .striked-price,.category-list .category-trip-budget del{color:#8F9692!important;font-size:13px!important}.category-list .category-trip-budget .price-from,.category-list .category-trip-budget .price-label,.category-list .category-trip-budget .wpte-price-label{color:#757E7A!important;font-size:12px!important;font-weight:650!important}.category-list .category-trip-budget .wpte-trip-duration{display:none!important}

/* Conversion rail. */
.category-list .category-trip-budget .wpte-button-group,.category-list .category-trip-budget .wpte_trip-details-btn-wrap,.category-list .category-trip-budget .es-injected-actions{display:grid!important;gap:8px!important;width:100%!important;margin:16px 0 0!important}.category-list .es-quick-book{appearance:none!important;width:100%!important;min-height:46px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:10px!important;background:var(--es-red)!important;color:#fff!important;font:800 14px/1 "DM Sans",sans-serif!important;cursor:pointer!important;box-shadow:none!important}.category-list .es-quick-book:hover{background:var(--es-red-dark)!important}.category-list .category-trip-budget .wpte-button-group .wpte-button,.category-list .category-trip-budget .wpte_trip-details-btn-wrap .wpte-button,.category-list .category-trip-budget .wpte_trip-details-btn-wrap a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;margin:0!important;padding:0 12px!important;border:1px solid #E8B7B4!important;border-radius:10px!important;background:#fff!important;color:var(--es-red)!important;font-size:13px!important;font-weight:800!important;text-align:center!important;text-decoration:none!important}.category-list .category-trip-budget .wpte-button-group .wpte-button:hover,.category-list .category-trip-budget .wpte_trip-details-btn-wrap a:hover{background:#FFF5F4!important;color:var(--es-red-dark)!important}.category-list .category-trip-budget .es-injected-actions:after{content:"Fast availability check via WhatsApp";display:block!important;margin-top:1px!important;color:#8A918D!important;font-size:10.5px!important;line-height:1.3!important;font-weight:600!important;text-align:center!important}

/* Next Departures is intentionally removed; Available Months remains native and forms a clean calendar footer. */
.category-list .category-trip-dates{display:none!important}.category-list .category-trip-aval-time{flex:0 0 100%!important;width:100%!important;max-width:none!important;margin:0!important;padding:12px 20px!important;border-top:1px solid #E7E5E1!important;background:#F8FAF9!important;display:flex!important;align-items:center!important;min-height:54px!important}.category-list .category-trip-avl-tip-inner-wrap,.category-list .category-trip-avl-tip-inner-wrap.new-layout{display:flex!important;align-items:center!important;gap:14px!important;width:100%!important;min-width:0!important;margin:0!important}.category-list .category-available-trip-text{flex:0 0 auto!important;margin:0!important;color:#53605B!important;font-size:11.5px!important;font-weight:850!important;letter-spacing:.055em!important;text-transform:uppercase!important}.category-list .category-available-trip-text:before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--es-green);vertical-align:1px}.category-list .category-available-months{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;margin:0!important;padding:0!important;list-style:none!important;overflow-x:auto!important;scrollbar-width:none!important}.category-list .category-available-months::-webkit-scrollbar{display:none!important}.category-list .category-available-months li{flex:0 0 auto!important;margin:0!important;padding:0!important}.category-list .category-available-months a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:43px!important;height:30px!important;padding:0 9px!important;border:1px solid #DDE3DF!important;border-radius:7px!important;background:#fff!important;color:#7B8580!important;font-size:11.5px!important;font-weight:650!important;text-decoration:none!important}.category-list .category-available-months .wte-dates-available a{border-color:#B8DACA!important;background:#EEF8F3!important;color:var(--es-green)!important;font-weight:850!important}.category-list .category-available-months a.disabled{opacity:.34!important;background:transparent!important;border-color:transparent!important}.category-list .category-trip-avl-tip-inner-wrap>i{display:none!important}

.category-list .category-feat-ribbon,.category-list .category-trip-discount{z-index:3!important}.category-list .wishlist-toggle-wrap{z-index:4!important}.trip-pagination{margin:30px 0 0!important}.trip-pagination .page-numbers{border-radius:8px!important}.trip-pagination .current{background:var(--es-red)!important;border-color:var(--es-red)!important;color:#fff!important}

@media (max-width:1080px){
  .advanced-search-wrapper .sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-search-wrapper .advanced-search-header{grid-column:1/-1!important}.tax-destination .advanced-search-wrapper .sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-list .category-trip-fig{flex-basis:37%!important;width:37%!important;max-width:37%!important;height:280px!important;min-height:280px!important}.category-list .category-trip-content-wrap{flex-basis:63%!important;width:63%!important;max-width:63%!important}.category-list .category-trip-budget{flex-basis:200px!important;width:200px!important;max-width:200px!important;min-width:200px!important;padding:20px 15px!important}.category-list .category-trip-detail-wrap{padding:20px!important}.category-list .category-trip-title{font-size:21px!important}.es-card-highlights li{font-size:13px!important}
}

@media (max-width:767px){
  #wp-travel-trip-wrapper.trip-content-area{width:calc(100% - 24px)!important}.advanced-search-wrapper .sidebar,.tax-destination .advanced-search-wrapper .sidebar{grid-template-columns:1fr!important;padding:12px!important}.advanced-search-wrapper .advanced-search-header{grid-column:1!important}
  .category-list .category-trips-single-inner-wrap{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;border-radius:15px!important}.category-list .category-trip-fig{flex:0 0 auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important}.category-list .category-trip-content-wrap{flex:0 0 auto!important;width:100%!important;max-width:100%!important;display:flex!important;flex-direction:column!important}.category-list .category-trip-detail-wrap{padding:18px!important}.category-list .category-trip-title{font-size:21px!important}.category-list .category-trip-desti,.category-list .category-trip-desti a{font-size:14px!important}.es-card-highlights li{font-size:13.5px!important}
  .category-list .category-trip-budget{flex:0 0 auto!important;width:100%!important;max-width:none!important;min-width:0!important;padding:17px 18px!important;border-left:0!important;border-top:1px solid #ECEAE6!important;text-align:left!important;align-items:stretch!important}.category-list .category-trip-budget .actual-price,.category-list .category-trip-budget .wpte-trip-price .actual-price{font-size:27px!important}.category-list .category-trip-aval-time{padding:11px 14px!important}.category-list .category-trip-avl-tip-inner-wrap,.category-list .category-trip-avl-tip-inner-wrap.new-layout{align-items:flex-start!important;flex-direction:column!important;gap:7px!important}
}

/* Post-listing conversion content lives OUTSIDE the WTE wrapper. */
.es-archive-after{max-width:1180px;margin:68px auto 0;padding:0 16px}
.es-content-section{margin:0 0 64px}.es-section-heading{text-align:center;margin:0 auto 22px}.es-section-heading h2{margin:0 0 7px!important;color:var(--es-ink)!important;font-size:28px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:-.02em}.es-section-heading p{margin:0 auto!important;max-width:650px;color:var(--es-muted)}
.es-visual-tax__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.es-tour-places .es-visual-tax__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.es-visual-card{position:relative;min-height:205px;border-radius:14px;overflow:hidden;background-image:var(--es-card-image);background-position:center;background-size:cover;text-decoration:none;box-shadow:var(--es-shadow)}.es-visual-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.68))}.es-visual-card__content{position:absolute;left:0;right:0;bottom:0;padding:18px;color:#fff;display:flex;flex-direction:column;align-items:flex-start}.es-visual-card strong{color:#fff;font-size:18px;line-height:1.2}.es-visual-card small{color:rgba(255,255,255,.88);font-size:12px;margin-top:4px}.es-visual-card:hover{transform:translateY(-2px);transition:.2s ease}

.es-sales-cta{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:22px;padding:28px 30px;border:1px solid #F3C9BD;border-radius:18px;background:var(--es-soft)}.es-sales-photo{width:96px;height:96px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center}.es-sales-photo--fallback{background:var(--es-green);color:#fff;font-size:30px;font-weight:800}.es-sales-kicker{font-size:11px;font-weight:850;letter-spacing:.08em;color:var(--es-red)}.es-sales-copy h2{margin:3px 0 5px!important;font-size:25px!important;line-height:1.15!important;color:var(--es-ink)!important}.es-sales-copy p{margin:4px 0!important;color:#59635F;font-size:14px}.es-manager{color:var(--es-ink)!important}.es-sales-phone{display:inline-block;margin-top:6px;color:var(--es-red)!important;font-weight:800;text-decoration:none}.es-sales-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 21px;border-radius:999px;background:var(--es-red);color:#fff!important;text-decoration:none;font-size:13px;font-weight:850;white-space:nowrap}.es-sales-button:hover{background:var(--es-red-dark);color:#fff!important}

.es-guides__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.es-guide-card{background:#fff;border:1px solid var(--es-line);border-radius:14px;overflow:hidden;box-shadow:0 5px 18px rgba(22,32,28,.045)}.es-guide-card__image{display:block;aspect-ratio:16/9;background:#F3F3F1;overflow:hidden}.es-guide-card__image img{width:100%;height:100%;object-fit:cover}.es-guide-card__body{padding:16px}.es-guide-card__body>span{font-size:11px;color:#8A918E}.es-guide-card h3{font-size:17px!important;line-height:1.3!important;margin:5px 0 10px!important}.es-guide-card h3 a{color:var(--es-ink)!important;text-decoration:none}.es-guide-card__link{color:var(--es-red)!important;text-decoration:none;font-size:13px;font-weight:800}

/* QUICK BOOKING POPUP */
html.es-modal-open{overflow:hidden}
.es-booking-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:20px}
.es-booking-modal[aria-hidden="false"]{display:flex}
.es-booking-modal__backdrop{position:absolute;inset:0;background:rgba(13,24,20,.67);backdrop-filter:blur(3px)}
.es-booking-modal__dialog{position:relative;z-index:2;width:min(610px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:20px;padding:30px;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.es-booking-modal__close{position:absolute;right:16px;top:14px;border:0!important;background:#F5F4F2!important;width:36px;height:36px;border-radius:50%;font-size:25px;line-height:1;color:#333;cursor:pointer}
.es-booking-kicker{display:block;color:var(--es-red);font-size:11px;font-weight:800;letter-spacing:.09em;margin-bottom:5px}
.es-booking-modal__dialog h2{margin:0 40px 6px 0!important;color:var(--es-ink)!important;font-size:27px!important;line-height:1.18!important;letter-spacing:-.025em!important}
.es-booking-subtitle{margin:0 0 15px!important;color:#66716D;font-size:14px;line-height:1.5}
.es-booking-trip{padding:11px 13px;border-radius:10px;background:#FFF5F3;color:#7A2224;font-size:13px;font-weight:800;margin-bottom:18px}
.es-booking-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.es-form-field{min-width:0}.es-form-field--full{grid-column:1/-1}.es-form-field--split{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.es-form-field label{display:block;margin:0 0 6px;font-size:12px;font-weight:800;color:#37423E}
.es-form-field input,.es-form-field textarea{width:100%!important;border:1px solid #DCDDD9!important;border-radius:10px!important;background:#fff!important;padding:11px 12px!important;min-height:44px!important;font-family:inherit!important;font-size:14px!important;box-shadow:none!important;outline:0!important}
.es-form-field input:focus,.es-form-field textarea:focus{border-color:#E58B87!important;box-shadow:0 0 0 3px #FFF0EF!important}
.es-booking-submit{grid-column:1/-1;border:0!important;min-height:50px;border-radius:11px;background:var(--es-red)!important;color:#fff!important;font-family:inherit!important;font-size:15px!important;font-weight:800!important;cursor:pointer}
.es-booking-submit:hover{background:var(--es-red-dark)!important}
.es-booking-help{grid-column:1/-1;text-align:center;color:#7A817E;font-size:11.5px}


/* Shared responsive rules for hero and conversion sections. */
@media(max-width:1050px){
  .es-hero-search{grid-template-columns:1fr 1fr 1fr 165px}
  .es-visual-tax__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .es-tour-places .es-visual-tax__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .es-sales-cta{grid-template-columns:96px 1fr!important}.es-sales-button{grid-column:2!important;justify-self:start!important}
}
@media(max-width:900px){
  .es-tour-hero,.es-tour-hero__inner{min-height:520px}
  .es-hero-search{grid-template-columns:1fr 1fr}.es-search-field:nth-child(2){border-right:0}.es-search-field--date{border-top:1px solid #ECEAE7}.es-search-submit{min-height:55px}
}
@media(max-width:640px){
  .es-tour-hero,.es-tour-hero__inner{min-height:590px}.es-tour-hero__inner{width:calc(100% - 28px);padding:20px 0 24px}.es-hero-breadcrumb{font-size:12px}.es-tour-hero__copy h1{font-size:36px!important}.es-tour-hero__copy p{font-size:14px}
  .es-hero-search{grid-template-columns:1fr;border-radius:14px;padding:6px}.es-search-field{border-right:0!important;border-bottom:1px solid #ECEAE7!important;min-height:58px}.es-search-submit{min-height:52px}
  .es-trust-strip__inner{width:100%;grid-template-columns:1fr}.es-trust-item{border-right:0;border-bottom:1px solid var(--es-line);min-height:76px;padding:13px 20px}.es-trust-item:last-child{border-bottom:0}
  .es-results-head{margin-top:34px}.es-results-head h2{font-size:25px!important}.es-tour-chips{justify-content:flex-start;flex-wrap:nowrap;overflow:auto;padding-bottom:5px;scrollbar-width:none}.es-tour-chips::-webkit-scrollbar{display:none}.es-tour-chips a{white-space:nowrap}
  .es-sort-row{justify-content:flex-start;align-items:flex-start;flex-direction:column}.es-sort-pills{justify-content:flex-start;flex-wrap:nowrap;overflow:auto;width:100%;padding-bottom:4px;scrollbar-width:none}.es-sort-pills::-webkit-scrollbar{display:none}.es-sort-pills a{white-space:nowrap}
  .es-archive-after{margin-top:52px;padding:0 14px}.es-content-section{margin-bottom:50px}.es-section-heading h2{font-size:25px!important}.es-visual-tax__grid,.es-tour-places .es-visual-tax__grid{grid-template-columns:1fr!important}.es-visual-card{min-height:210px}
  .es-sales-cta{display:block!important;text-align:center!important;padding:24px 18px!important}.es-sales-portrait{margin-bottom:12px!important}.es-sales-photo{margin:0 auto!important}.es-sales-button{margin-top:16px!important}.es-guides__grid{grid-template-columns:1fr!important}
  .es-booking-modal{padding:10px}.es-booking-modal__dialog{padding:24px 18px;border-radius:16px}.es-booking-modal__dialog h2{font-size:23px!important}.es-booking-form{grid-template-columns:1fr}.es-form-field--full,.es-booking-submit,.es-booking-help{grid-column:1}.es-form-field--split{grid-template-columns:1fr 1fr}
}
