/* ========================================================================== 
   VCTF 5.2 · SUPER MEGA MASTER
   Final visual/CMS layer. Never changes Marga values or business logic.
   ========================================================================== */

/* 1 · reCAPTCHA: keep the widget; hide only Google's machine response token. */
body.cth-brand--vctf textarea[name="g-recaptcha-response"],
body.cth-brand--vctf textarea.g-recaptcha-response,
body.cth-brand--vctf textarea[id^="g-recaptcha-response"]{
  display:none!important;width:0!important;height:0!important;min-height:0!important;
  padding:0!important;margin:0!important;border:0!important;position:absolute!important;
  left:-9999px!important;overflow:hidden!important
}

/* 2 · Eight factual GEO cards: 4 x 2 on real desktop, completely absent on mobile. */
@media (min-width:1100px){
  body.cth-brand--vctf .cth-vctf50-answer__grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
  body.cth-brand--vctf .cth-vctf50-answer__item{padding:20px!important}
  body.cth-brand--vctf .cth-vctf50-answer__item dd{font-size:.94rem!important;line-height:1.5!important}
}
@media (min-width:768px) and (max-width:1099px){
  body.cth-brand--vctf .cth-vctf50-answer__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:767px){
  body.cth-brand--vctf .cth-vctf50-answer{display:none!important}
}

/* 3 · /buscador/: the result GRID itself is centred, not only its outer canvas.
   One result sits in the middle; two/three remain a balanced row. */
body.cth-brand--vctf.vmon-search-route .vmon381-search-results,
body.cth-brand--vctf.vmon-search-route .vmon381-search-results>.vmon-shell,
body.cth-brand--vctf.vmon-search-route .cth-vctf45-search-results-canvas{
  width:min(calc(100% - 36px),1240px)!important;max-width:1240px!important;
  margin-left:auto!important;margin-right:auto!important;float:none!important;box-sizing:border-box!important
}
body.cth-brand--vctf.vmon-search-route .md-template .h-row.gutters-col-1.justify-content-lg-center,
body.cth-brand--vctf.vmon-search-route .md-featured-trips{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),380px))!important;
  justify-content:center!important;align-items:stretch!important;gap:20px!important;
  width:100%!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important
}
body.cth-brand--vctf.vmon-search-route .md-template .h-row.gutters-col-1.justify-content-lg-center>:where(.h-column,.h-col,.h-column-container){
  width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important;padding-left:0!important;padding-right:0!important
}
@media (max-width:680px){
  body.cth-brand--vctf.vmon-search-route .md-template .h-row.gutters-col-1.justify-content-lg-center,
  body.cth-brand--vctf.vmon-search-route .md-featured-trips{grid-template-columns:minmax(0,1fr)!important}
}

/* 4 · Home: inspiration first; contact lives on its own reliable route. */
body.cth-brand--vctf .vctf-home-contact-cta{padding:clamp(48px,7vw,88px) 0!important;background:#f5f8fc!important}
body.cth-brand--vctf .vctf-home-contact-cta__surface{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:clamp(28px,6vw,80px);align-items:center;
  padding:clamp(28px,5vw,58px);border-radius:28px;background:#071b33;color:#fff;box-shadow:0 24px 64px rgba(7,27,51,.13)
}
body.cth-brand--vctf .vctf-home-contact-cta__surface h2{margin:.15em 0 .35em;color:#fff;font-size:clamp(2rem,4.2vw,4rem);line-height:.98;letter-spacing:-.04em}
body.cth-brand--vctf .vctf-home-contact-cta__surface p{max-width:700px;margin:0;color:rgba(255,255,255,.74);line-height:1.65}
body.cth-brand--vctf .vctf-home-contact-cta__actions{display:grid;gap:10px}
body.cth-brand--vctf .vctf-home-contact-cta__secondary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border:1px solid rgba(255,255,255,.22);border-radius:12px;color:#fff;text-decoration:none;font-weight:900}
@media (max-width:760px){body.cth-brand--vctf .vctf-home-contact-cta__surface{grid-template-columns:1fr}}

/* 5 · Footer: real WP hierarchy, but compact enough to scan. */
body.cth-brand--vctf .cth-vctf-footer-menu ul{list-style:none!important;margin:0!important;padding:0!important}
body.cth-brand--vctf .cth-vctf-footer-menu li{margin:0!important;padding:0!important;line-height:1.22!important}
body.cth-brand--vctf .cth-vctf-footer-menu li>a{display:block!important;margin:0!important;padding:.23rem 0!important;line-height:1.24!important}
body.cth-brand--vctf .cth-vctf-footer-menu .sub-menu{margin:.05rem 0 .22rem .7rem!important;padding:0 0 0 .72rem!important;border-left:1px solid rgba(255,255,255,.16)!important}
body.cth-brand--vctf .cth-vctf-footer-menu .sub-menu a{padding:.16rem 0!important;font-size:.9em!important;opacity:.86}
body.cth-brand--vctf .cth-vctf-footer-menu .sub-menu .sub-menu{margin-left:.45rem!important}

/* 6 · Hub cards: any number of cards; image or graphic fallback. */
body.cth-brand--vctf .vctf-hub-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}
body.cth-brand--vctf .vctf-hub-card.has-media .vctf-hub-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}

/* 7 · Editorial master for auxiliary pages and articles. */
body.cth-brand--vctf .vctf-editorial-master{padding:clamp(42px,6vw,84px) 0;background:#f5f8fc}
body.cth-brand--vctf .vctf-editorial-master__layout{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,860px);gap:clamp(28px,5vw,70px);justify-content:center;align-items:start}
body.cth-brand--vctf .vctf-editorial-master__aside{position:sticky;top:112px;min-width:0}
body.cth-brand--vctf .vctf-editorial-master__aside .vmon-editorial-toc{display:grid!important;gap:2px!important;margin:0!important;padding:18px!important;border:1px solid rgba(7,27,51,.09)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 32px rgba(7,27,51,.04)!important}
body.cth-brand--vctf .vctf-editorial-master__aside .vmon-editorial-toc>span{margin:0 0 8px!important;color:#071b33!important;font-size:.75rem!important;font-weight:950!important;letter-spacing:.09em!important;text-transform:uppercase!important}
body.cth-brand--vctf .vctf-editorial-master__aside .vmon-editorial-toc>a{padding:7px 0!important;color:#516176!important;text-decoration:none!important;font-size:.9rem!important;line-height:1.3!important}
body.cth-brand--vctf .vctf-editorial-master__aside .vmon-editorial-toc>a:hover{color:#0b74d1!important}
body.cth-brand--vctf .vctf-editorial-master__updated{display:block;margin:14px 4px 0;color:#708096;font-size:.78rem;line-height:1.4}
body.cth-brand--vctf .vctf-editorial-master__content{min-width:0;padding:clamp(25px,4vw,50px);border:1px solid rgba(7,27,51,.08);border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(7,27,51,.055)}
body.cth-brand--vctf .vctf-editorial-master__content>:first-child{margin-top:0!important}
body.cth-brand--vctf .vctf-editorial-master__content h2{scroll-margin-top:125px;margin:2.1em 0 .6em;color:#071b33;font-size:clamp(1.55rem,2.5vw,2.25rem);line-height:1.08;letter-spacing:-.025em}
body.cth-brand--vctf .vctf-editorial-master__content h3{scroll-margin-top:125px;margin:1.65em 0 .55em;color:#0b355f;font-size:clamp(1.18rem,1.8vw,1.5rem);line-height:1.2}
body.cth-brand--vctf .vctf-editorial-master__content :where(p,li){color:#46586e;font-size:1.02rem;line-height:1.78}
body.cth-brand--vctf .vctf-editorial-master__content :where(ul,ol){padding-left:1.25rem}
body.cth-brand--vctf .vctf-editorial-master__content blockquote{margin:1.8rem 0;padding:18px 22px;border-left:4px solid #13a9e3;border-radius:0 14px 14px 0;background:#eef7ff;color:#173b60}
body.cth-brand--vctf .vctf-editorial-master__content img{max-width:100%;height:auto;border-radius:16px}
body.cth-brand--vctf .vctf-editorial-master__content table{display:block;max-width:100%;overflow-x:auto}
body.cth-brand--vctf .vctf-editorial-answers{margin:clamp(34px,5vw,64px) auto 0;max-width:1110px;padding:clamp(24px,4vw,40px);border-radius:24px;background:#071b33;color:#fff}
body.cth-brand--vctf .vctf-editorial-answers__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:24px;align-items:end;margin-bottom:20px}
body.cth-brand--vctf .vctf-editorial-answers__head h2{margin:0;color:#fff;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1}
body.cth-brand--vctf .vctf-editorial-answers__head p{margin:0;color:rgba(255,255,255,.68);line-height:1.55}
body.cth-brand--vctf .vctf-editorial-answers__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.cth-brand--vctf .vctf-editorial-answer{display:block;padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.05);color:#fff;text-decoration:none}
body.cth-brand--vctf .vctf-editorial-answer strong{display:block;margin:0 0 7px;color:#55c9f2;font-size:.94rem;line-height:1.25}
body.cth-brand--vctf .vctf-editorial-answer span{display:block;color:rgba(255,255,255,.84);font-size:.9rem;line-height:1.55}
@media (max-width:900px){
  body.cth-brand--vctf .vctf-editorial-master__layout{grid-template-columns:1fr}
  body.cth-brand--vctf .vctf-editorial-master__aside{position:static;top:auto}
  body.cth-brand--vctf .vctf-editorial-master__aside .vmon-editorial-toc{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
}
@media (max-width:640px){
  body.cth-brand--vctf .vctf-editorial-master{padding:28px 0}
  body.cth-brand--vctf .vctf-editorial-master__content{padding:22px;border-radius:18px}
  body.cth-brand--vctf .vctf-editorial-answers__head,body.cth-brand--vctf .vctf-editorial-answers__grid{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  body.cth-brand--vctf .vctf-editorial-master *{scroll-behavior:auto!important;transition:none!important}
}
