/* ZE Trip Page — ficha de viaje nueva */

/* El tema pone overflow-x:hidden en html y body: body pasa a ser contenedor de
   scroll y ningún position:sticky funciona (menú de secciones, reserva). clip
   recorta igual sin crear contenedor de scroll. */
html:has(body.ze-tp-page), body.ze-tp-page { overflow-x: clip; }

/* Título de página del tema: en la ficha original lo oculta main.css con
   .site-main:has(.trip-content-area); aquí el título va en la cabecera. */
.ze-tp-page .site-main > .page-header { display: none; }

.ze-tp {
  --tp-green: #4a7f57;
  --tp-green-dark: #2f5a3b;
  --tp-green-soft: #e8eee5;
  --tp-ink: #1f2420;
  --tp-muted: #5d665f;
  --tp-cream: #f4f1ea;
  --tp-line: #dcd8cf;
  --tp-white: #ffffff;
  --tp-rust: #7a3b25;
  --tp-head: 'Gotham', 'Montserrat', 'DM Sans', system-ui, sans-serif;
  --tp-top: 0px; /* altura de la cabecera fija del tema (la pone el JS) */
  background: var(--tp-cream);
  color: var(--tp-ink);
  font-size: 16px;
  line-height: 1.6;
}
.ze-tp *, .ze-tp *::before, .ze-tp *::after { box-sizing: border-box; }
.ze-tp a { color: var(--tp-green-dark); }
.ze-tp a:hover { color: #1f3d28; }
.ze-tp img { max-width: 100%; height: auto; display: block; }
.ze-tp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .ze-tp-wrap { padding: 0 24px; } }

.ze-tp-ico { width: 22px; height: 22px; flex: none; stroke: var(--tp-green); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Cabecera */
.ze-tp-hero { position: relative; min-height: 460px; height: 70vh; max-height: 700px; overflow: hidden; background: var(--tp-ink); color: var(--tp-white); }
.ze-tp-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.ze-tp-hero__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: linear-gradient(to top, rgba(20, 24, 21, .9), rgba(20, 24, 21, 0)); }
.ze-tp-hero__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding-bottom: 40px; }
.ze-tp-crumbs { margin: 0; font-size: 13px; color: #d9ded6; }
.ze-tp .ze-tp-crumbs a { color: #d9ded6; }
.ze-tp-hero__title { margin: 0; font-family: var(--tp-head); font-weight: 700; font-size: clamp(30px, 5.2vw, 56px); line-height: 1.07; letter-spacing: -.02em; max-width: 860px; color: var(--tp-white); text-shadow: none; }
.ze-tp-hero__sub { margin: 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.45; max-width: 700px; color: #eef0ec; }
.ze-tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ze-tp-chip { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 14px; font-weight: 500; }
.ze-tp-chip--solid { background: var(--tp-white); color: var(--tp-ink); font-weight: 700; }

/* Navegación de secciones */
.ze-tp-nav { position: sticky; top: var(--tp-top); z-index: 50; background: var(--tp-white); border-bottom: 1px solid var(--tp-line); }
.ze-tp-nav__inner { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; font-size: 14px; font-weight: 500; }
.ze-tp-nav__inner::-webkit-scrollbar { display: none; }
.ze-tp .ze-tp-nav__inner a { padding: 15px 0; color: var(--tp-muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.ze-tp .ze-tp-nav__inner a:hover, .ze-tp .ze-tp-nav__inner a.is-current { color: var(--tp-ink); border-bottom-color: var(--tp-green); }

/* Cuerpo */
.ze-tp-body { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 48px; padding-bottom: 96px; }
.ze-tp-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.ze-tp-section { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: calc(var(--tp-top) + 72px); }
.ze-tp-head { display: flex; flex-direction: column; gap: 6px; }
.ze-tp-eyebrow { margin: 0; font-family: var(--tp-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-green); }
.ze-tp-h2 { margin: 0; font-family: var(--tp-head); font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -.01em; color: var(--tp-ink); }
.ze-tp-prose { font-size: 17px; line-height: 1.65; max-width: 700px; }
.ze-tp-prose p { margin: 0 0 1em; }
.ze-tp-prose > :last-child { margin-bottom: 0; }
.ze-tp-card { background: var(--tp-white); border: 1px solid var(--tp-line); border-radius: 12px; padding: 24px; }
.ze-tp-tag { display: inline-flex; align-self: flex-start; font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--tp-green-soft); color: var(--tp-green-dark); }
.ze-tp-link { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: var(--tp-green-dark); text-decoration: underline; cursor: pointer; }

/* De un vistazo */
.ze-tp-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--tp-line); border: 1px solid var(--tp-line); border-radius: 12px; overflow: hidden; }
.ze-tp-glance__item { background: var(--tp-white); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.ze-tp-glance__item strong { display: block; line-height: 1.35; }
.ze-tp-glance__item span { display: block; font-size: 14px; color: var(--tp-muted); }

.ze-tp-highlights { margin: 4px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 32px; max-width: 780px; }
.ze-tp-highlights li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.ze-tp-highlights li::before { content: '—'; position: absolute; left: 0; color: var(--tp-green); font-weight: 700; }

/* Itinerario */
.ze-tp-timeline { margin: 0; padding: 0; list-style: none; }
.ze-tp-day { display: flex; gap: 16px; }
.ze-tp-day__rail { display: flex; flex-direction: column; align-items: center; flex: none; width: 36px; }
.ze-tp-day__rail::after { content: ''; flex-grow: 1; width: 2px; background: #cfd8cc; }
.ze-tp-day.is-last .ze-tp-day__rail::after { display: none; }
.ze-tp-day__num { width: 36px; height: 36px; border-radius: 50%; background: var(--tp-green); color: var(--tp-white); display: grid; place-items: center; font-family: var(--tp-head); font-weight: 700; font-size: 15px; }
.ze-tp-day__body { flex-grow: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 14px 20px; padding-bottom: 32px; }
.ze-tp-day__img { width: 100%; height: 180px !important; object-fit: cover; border-radius: 8px; }
.ze-tp-day__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ze-tp-day__meta { font-size: 13px; color: var(--tp-muted); font-weight: 500; }
.ze-tp-day__title { margin: 0; font-family: var(--tp-head); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--tp-ink); }
.ze-tp-day__summary { margin: 0; font-size: 15px; line-height: 1.6; }
.ze-tp-day__more summary { cursor: pointer; font-weight: 500; font-size: 14px; color: var(--tp-green-dark); }
.ze-tp-day__more[open] summary { margin-bottom: 10px; }
.ze-tp-day__more .ze-tp-prose { font-size: 15px; }
@media (min-width: 700px) {
  .ze-tp-day { gap: 24px; }
  .ze-tp-day__rail { width: 44px; }
  .ze-tp-day__num { width: 44px; height: 44px; font-size: 16px; }
  .ze-tp-day__img { width: 240px; height: 160px !important; flex: none; }
}

/* Mapa */
.ze-tp-map { margin: 0; background: var(--tp-white); border: 1px solid var(--tp-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ze-tp-map__canvas { height: 380px; border-radius: 8px; background: #dfe8ea; z-index: 0; }
.ze-tp-map figcaption { font-size: 13px; color: var(--tp-muted); }
.ze-tp-pin { width: 28px; height: 28px; border-radius: 50%; background: var(--tp-green); color: var(--tp-white); border: 2px solid var(--tp-white); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); display: grid; place-items: center; font: 700 13px/1 var(--tp-head); }

/* Galería */
.ze-tp-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ze-tp-gallery__item { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ze-tp-gallery__item[hidden] { display: none; }
.ze-tp-gallery__item a { display: block; border-radius: 6px; overflow: hidden; }
.ze-tp-gallery__item img { width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; transition: transform .3s ease; }
.ze-tp-gallery__item a:hover img { transform: scale(1.03); }
.ze-tp-gallery__item figcaption { font-size: 13px; color: var(--tp-muted); line-height: 1.4; }
/* Rejilla de proporción fija: antes la primera foto ocupaba dos filas y, si
   era vertical, se estiraba a su altura natural. */
@media (min-width: 900px) {
  .ze-tp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

/* Incluye */
.ze-tp-inc { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ze-tp-inc__title { margin: 0 0 12px; font-family: var(--tp-head); font-size: 17px; font-weight: 700; }
.ze-tp-inc__title.is-yes { color: var(--tp-green-dark); }
.ze-tp-inc__title.is-no { color: var(--tp-rust); }
.ze-tp-inc ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }

/* Guía */
.ze-tp-guide { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ze-tp-guide__img { width: 132px; height: 132px !important; border-radius: 50%; object-fit: cover; flex: none; }
.ze-tp-guide__body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ze-tp-guide__body p { margin: 0; font-size: 15px; line-height: 1.6; }
.ze-tp-guide__name { margin: 0; font-family: var(--tp-head); font-size: 22px; font-weight: 700; color: var(--tp-ink); }
.ze-tp-guide__pos { font-size: 14px; color: var(--tp-muted); }

/* Preguntas */
.ze-tp-faq { background: var(--tp-white); border: 1px solid var(--tp-line); border-radius: 12px; overflow: hidden; }
.ze-tp-faq details + details { border-top: 1px solid var(--tp-line); }
.ze-tp-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 24px; font-weight: 700; position: relative; }
.ze-tp-faq summary::-webkit-details-marker { display: none; }
.ze-tp-faq summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--tp-green); font-size: 20px; font-weight: 400; }
.ze-tp-faq details[open] summary::after { content: '−'; }
.ze-tp-faq .ze-tp-prose { padding: 0 24px 20px; font-size: 15px; }
.ze-tp-faq__more { margin: 0; font-size: 15px; }

/* Reserva */
.ze-tp-aside { flex: 1 1 300px; max-width: 380px; position: sticky; top: calc(var(--tp-top) + 72px); }
.ze-tp-book { background: var(--tp-white); border: 1px solid var(--tp-line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 30px rgba(31, 36, 32, .08); }
.ze-tp-book__label { font-size: 13px; color: var(--tp-muted); }
.ze-tp-book__price { font-family: var(--tp-head); font-size: 36px; font-weight: 700; line-height: 1.1; }
.ze-tp-book__price del { font-size: 18px; color: var(--tp-muted); font-weight: 500; margin-right: 6px; }
.ze-tp-book__single { font-size: 14px; color: var(--tp-muted); margin-top: 4px; }
.ze-tp-book__facts { margin: 0; border-top: 1px solid #e6e2d9; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ze-tp-book__facts div { display: flex; justify-content: space-between; gap: 12px; }
.ze-tp-book__facts dt { color: var(--tp-muted); }
.ze-tp-book__facts dd { margin: 0; font-weight: 700; text-align: right; }
.ze-tp-book__bar { height: 6px; border-radius: 3px; background: #e6e2d9; overflow: hidden; }
.ze-tp-book__bar span { display: block; height: 100%; background: var(--tp-green); }
.ze-tp-book__ok { font-size: 14px; font-weight: 600; color: var(--tp-green-dark); }
.ze-tp-book__alt { margin: -6px 0 0; font-size: 13px; color: var(--tp-muted); text-align: center; }
.ze-tp .ze-tp-book__dl { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; border-top: 1px solid #e6e2d9; padding-top: 14px; }
.ze-tp-book__dl .ze-tp-ico { width: 18px; height: 18px; }

.ze-tp .ze-tp-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--tp-green); color: var(--tp-white); font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s ease; }
.ze-tp .ze-tp-btn:hover { background: var(--tp-green-dark); color: var(--tp-white); }
.ze-tp .ze-tp-btn:focus-visible, .ze-tp a:focus-visible, .ze-tp summary:focus-visible { outline: 3px solid var(--tp-green); outline-offset: 2px; }
.ze-tp .ze-tp-btn--ghost { background: transparent; color: var(--tp-green-dark); border: 1px solid var(--tp-green); font-weight: 600; font-size: 15px; }
.ze-tp .ze-tp-btn--ghost:hover { background: var(--tp-cream); color: var(--tp-green-dark); }
.ze-tp .ze-tp-btn.is-loading { opacity: .7; cursor: progress; }

/* Barra fija en móvil */
.ze-tp-mbar { display: none; }
@media (max-width: 899px) {
  .ze-tp-aside { position: static; max-width: none; }
  .ze-tp-mbar { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: var(--tp-white); border-top: 1px solid var(--tp-line); box-shadow: 0 -6px 24px rgba(31, 36, 32, .1); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
  .ze-tp-mbar.is-visible { transform: none; }
  .ze-tp-mbar__info { flex-grow: 1; min-width: 0; line-height: 1.2; }
  .ze-tp-mbar__info strong { display: block; font-family: var(--tp-head); font-size: 20px; }
  .ze-tp-mbar__info span { font-size: 12px; color: var(--tp-muted); }
  .ze-tp .ze-tp-mbar__ask { width: 48px; height: 48px; flex: none; border-radius: 10px; border: 1px solid var(--tp-green); display: grid; place-items: center; }
  .ze-tp-mbar__ask svg { width: 22px; height: 22px; stroke: var(--tp-green-dark); fill: none; stroke-width: 1.7; stroke-linejoin: round; }
  .ze-tp .ze-tp-mbar .ze-tp-btn { width: auto; flex: none; }
  .ze-tp-page { padding-bottom: 76px; }
  /* Los botones flotantes (WhatsApp, asistente) suben por encima de la barra */
  .ze-tp-page .joinchat { bottom: 84px !important; }
  .ze-tp-page .ze-assist { bottom: 84px; }
}

/* Visor de galería */
.ze-tp-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 16, 14, .94); color: var(--tp-white); }
.ze-tp-lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.ze-tp-lightbox::backdrop { background: rgba(14, 16, 14, .94); }
.ze-tp-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 0; max-height: 100vh; }
.ze-tp-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; }
.ze-tp-lightbox figcaption { font-size: 14px; color: #d9ded6; text-align: center; max-width: 720px; }
.ze-tp-lightbox button { background: none; border: 0; color: var(--tp-white); cursor: pointer; font-size: 40px; line-height: 1; width: 48px; height: 48px; justify-self: center; }
.ze-tp-lightbox__close { position: absolute; top: 12px; right: 12px; font-size: 34px !important; }
@media (max-width: 600px) { .ze-tp-lightbox[open] { grid-template-columns: 40px 1fr 40px; } }

/* Caja de WTE fuera de pantalla (sigue siendo la que abre la reserva) */
/* transform + contain hacen de la caja el bloque contenedor de sus hijos
   position:fixed (la barra fija de WTE en móvil), que así quedan recortados
   fuera de pantalla en vez de pegarse abajo sobre la barra de la ficha. */
.ze-tp-wte { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; transform: translateZ(0); contain: strict; visibility: hidden; }
.ze-tp-wte .wpte-bf-outer, .ze-tp-wte .wpte-booking-area-wrapper { position: static !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .ze-tp-gallery__item img, .ze-tp-mbar { transition: none; }
}
.ze-tp-tag .ze-tp-ico { width: 16px; height: 16px; margin-right: 6px; stroke: currentColor; }

/* ── Cabeceras de fotos ─────────────────────────────────────────────────── */
.ze-tp .ze-tp-allphotos { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--tp-line); border-radius: 999px; background: var(--tp-white); color: var(--tp-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.ze-tp .ze-tp-allphotos:hover { background: var(--tp-cream); }
.ze-tp-allphotos.is-overlay { position: absolute; right: 16px; bottom: 16px; z-index: 3; }

/* Foto enlazada al visor */
.ze-tp .ze-tp-ph { display: block; position: relative; overflow: hidden; background: #d9d4c8; min-height: 0; }
.ze-tp-ph img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease, filter .2s ease; }
.ze-tp-ph:hover img { transform: scale(1.03); filter: brightness(.94); }

/* Slider a pantalla completa */
.ze-tp-slider__track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.ze-tp-slider__track::-webkit-scrollbar { display: none; }
.ze-tp-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.ze-tp-hero--slider .ze-tp-hero__shade, .ze-tp-hero--slider .ze-tp-hero__body { pointer-events: none; }
.ze-tp-hero--slider .ze-tp-hero__body a { pointer-events: auto; }
.ze-tp-hero--slider .ze-tp-hero__body { padding-bottom: 64px; }
.ze-tp .ze-tp-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--tp-ink); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.ze-tp-slider__arrow.is-prev { left: 16px; }
.ze-tp-slider__arrow.is-next { right: 16px; }
.ze-tp-slider__dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.ze-tp .ze-tp-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.ze-tp .ze-tp-slider__dots button[aria-current="true"] { background: var(--tp-white); }
@media (max-width: 699px) {
  .ze-tp-slider__arrow { display: none !important; }
  .ze-tp-hero--slider .ze-tp-hero__body { padding-bottom: 56px; }
  .ze-tp-hero--slider .ze-tp-allphotos { bottom: 52px; }
}

/* Principal + mosaico / masonry: ocupan todo el hero, de borde a borde, con
   el título sobre la foto principal (mitad izquierda). */
.ze-tp-media__grid { position: absolute; inset: 0; display: grid; gap: 4px; }
.ze-tp-media--mosaic .ze-tp-media__grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ze-tp-media--mosaic .ze-tp-ph.is-main { grid-row: span 2; }
.ze-tp-media--mosaic .ze-tp-media__grid > .ze-tp-ph:nth-child(n+6) { display: none; }
.ze-tp-media--masonry .ze-tp-media__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ze-tp-masonry { display: flex; flex-direction: column; gap: 4px; height: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.ze-tp-masonry::-webkit-scrollbar { display: none; }
.ze-tp-masonry__row { display: flex; gap: 4px; height: calc(50% - 2px); flex: none; width: max-content; }
.ze-tp-masonry__item { height: 100%; flex: none; display: flex; }
.ze-tp-masonry__item .ze-tp-ph { flex: 1; }
.ze-tp .ze-tp-masonry__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--tp-ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); display: grid; place-items: center; }
.ze-tp-masonry__arrow.is-prev { left: calc(50% + 14px); }
.ze-tp-masonry__arrow.is-next { right: 14px; }
.ze-tp-masonry__arrow[disabled] { opacity: 0; pointer-events: none; }

/* Sombra y título solo sobre la foto principal */
.ze-tp-media .ze-tp-media__shade { z-index: 1; pointer-events: none; }
/* El título ocupa el ancho del contenido (1200 px centrales, como
   .ze-tp-wrap) y pasa por encima de las demás fotos; no bloquea sus clics. */
.ze-tp-media .ze-tp-media__body { position: absolute; left: max(24px, calc((100% - 1200px) / 2 + 24px)); right: max(24px, calc((100% - 1200px) / 2 + 24px)); bottom: 0; z-index: 2; height: auto; padding: 0 0 40px; pointer-events: none; }
.ze-tp-media .ze-tp-media__body a { pointer-events: auto; }
.ze-tp-media .ze-tp-hero__title { font-size: clamp(28px, 3.4vw, 46px); }
.ze-tp-media .ze-tp-allphotos.is-overlay { top: 16px; right: 16px; bottom: auto; }
.ze-tp-car__ctrl { display: none; }

/* Móvil: mosaico y masonry pasan a carrusel deslizable a todo el hero */
@media (max-width: 699px) {
  .ze-tp-media__grid { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
  .ze-tp-media__grid::-webkit-scrollbar { display: none; }
  .ze-tp-media__grid .ze-tp-ph, .ze-tp-media--mosaic .ze-tp-media__grid > .ze-tp-ph:nth-child(n+6) { display: block; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
  .ze-tp-masonry, .ze-tp-masonry__row, .ze-tp-masonry__item { display: contents; }
  .ze-tp-masonry__arrow { display: none !important; }
  .ze-tp-media .ze-tp-media__body { left: 16px; right: 16px; padding: 0 0 28px; }
  /* Contador y «Ver fotos» arriba, para no tapar el título */
  .ze-tp-car__ctrl { display: flex; position: absolute; left: 12px; top: 12px; z-index: 3; align-items: center; gap: 4px; padding: 2px; border-radius: 999px; background: rgba(20, 24, 21, .65); color: var(--tp-white); }
  .ze-tp .ze-tp-car__btn { width: 32px; height: 32px; border: 0; background: none; color: var(--tp-white); font-size: 22px; line-height: 1; cursor: pointer; }
  .ze-tp-car__count { font-size: 13px; font-weight: 600; min-width: 46px; text-align: center; }
  .ze-tp-media .ze-tp-allphotos.is-overlay { top: 12px; right: 12px; bottom: auto; padding: 7px 12px; font-size: 13px; }
}

/* Viajes del guía */
.ze-tp-guide__trips { border-top: 1px solid #e6e2d9; padding-top: 10px; margin-top: 4px; }
.ze-tp-guide__trips summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--tp-green-dark); }
.ze-tp-guide__trips ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ze-tp .ze-tp-guide__trips a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 8px; text-decoration: none; color: var(--tp-ink); }
.ze-tp .ze-tp-guide__trips a:hover { background: var(--tp-cream); color: var(--tp-ink); }
.ze-tp-guide__trips img { width: 72px; height: 54px !important; object-fit: cover; border-radius: 6px; flex: none; }
.ze-tp-guide__trip { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.ze-tp-guide__trip strong { font-size: 15px; }
.ze-tp-guide__trip span { font-size: 13px; color: var(--tp-muted); }

@media (prefers-reduced-motion: reduce) {
  .ze-tp-slider__track, .ze-tp-masonry, .ze-tp-media__grid { scroll-behavior: auto; }
  .ze-tp-ph img { transition: none; }
}
@media (max-width: 699px) {
  .ze-tp-hero--single .ze-tp-hero__body { padding-bottom: 64px; }
}
