/* Rutas y Aventuras — ficha premium editorial v417 */
:root{--ra-ink:#17251f;--ra-muted:#64736b;--ra-green:#167653;--ra-sand:#f4f1e9;--ra-line:rgba(34,54,44,.11)}
html{scroll-behavior:smooth}
body{background:#f5f6f3!important;color:var(--ra-ink)}
.dark body{background:#0c1512!important;color:#e7eee9}
/* Portada panorámica a todo el ancho; el contenido interior conserva su alineación */
#placeHero{width:100vw!important;max-width:none!important;margin:0 0 0 calc(50% - 50vw)!important;min-height:0!important;height:clamp(390px,43vw,520px)!important;border-radius:0!important;isolation:isolate;box-shadow:0 22px 60px rgba(20,42,31,.12)}
#placeHero>img{object-fit:cover!important;opacity:.72!important;transform:scale(1.005)}
#placeHero>.relative.z-10{min-height:0!important;height:100%!important;display:flex!important;align-items:flex-end!important;padding:34px clamp(22px,5vw,66px)!important}
#placeHero .max-w-6xl{max-width:1180px!important}
#placeHero h1{max-width:850px;text-wrap:balance;letter-spacing:-.035em!important;line-height:1.02!important;text-shadow:0 3px 24px rgba(0,0,0,.25)}
#placeHero .place-description{max-width:720px!important;font-size:clamp(14px,1.3vw,17px)!important;line-height:1.7!important;color:rgba(255,255,255,.9)!important}
#placeHero .relative.ml-auto{backdrop-filter:blur(14px);box-shadow:0 12px 35px rgba(0,0,0,.24)!important}
#placeHero a,#placeHero button{border-radius:14px!important;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
#placeHero a:hover,#placeHero button:hover{transform:translateY(-2px)}
/* Content width and editorial rhythm */
body>div.max-w-6xl.mx-auto.px-4.pt-8.pb-8{max-width:1320px!important;padding-top:18px!important;padding-bottom:14px!important}
main.max-w-6xl{max-width:1240px!important;padding-top:34px!important;padding-bottom:64px!important}
#placeLayout{grid-template-columns:minmax(0,1fr) 310px!important;gap:28px!important;align-items:start}
#placeArticle{gap:22px!important}
#placeArticle>section:not(#placeReviews),#placeQuickInfo,#placeSidebar>div:not(.mt-6){border:1px solid var(--ra-line)!important;border-radius:22px!important;box-shadow:0 8px 28px rgba(29,49,38,.045)!important}
#placeArticle>section:not(#placeReviews){padding:clamp(20px,3vw,34px)!important}
#placeArticle h2,#placeSidebar h3{letter-spacing:-.025em;color:inherit}
#placeArticle h2{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(22px,2.2vw,29px)!important;font-weight:700!important;line-height:1.18!important}
#placeArticle p{line-height:1.85!important}
#placeArticle section>div.grid>div{border:1px solid rgba(34,54,44,.06);border-radius:16px!important}
/* Gallery editorial grid */
#placeArticle section:has(.gallery-btn){padding:clamp(16px,2.5vw,28px)!important}
#placeArticle .gallery-btn{border-radius:15px!important}
#placeArticle .gallery-btn img{transition:transform .55s cubic-bezier(.2,.7,.2,1)!important}
#placeArticle .gallery-btn:hover img{transform:scale(1.045)!important}
/* Sidebar quick guide */
#placeSidebar{position:sticky;top:18px}
#placeQuickInfo{padding:22px!important}
#placeQuickInfo h3,#placeSidebar h3{font-size:17px!important}
#placeSidebar .ra-action-tooltip{border-radius:14px!important}
/* Reviews and nearby cards */
#placeReviews{border-radius:22px!important;padding:clamp(18px,2.5vw,30px)!important}
#nearbySpots>a,#nearbySpots .grid>a{border-radius:18px!important;transition:transform .2s ease,box-shadow .2s ease}
#nearbySpots .grid>a:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(29,49,38,.09)}
#placeMap{height:360px!important;border-radius:18px!important}
/* Distinct section label accents */
#placeArticle>section h2:after{content:"";display:block;width:42px;height:3px;margin-top:13px;border-radius:4px;background:#21845f;opacity:.75}
/* Dark mode refinement */
.dark #placeArticle>section:not(#placeReviews),.dark #placeQuickInfo,.dark #placeSidebar>div:not(.mt-6){border-color:rgba(255,255,255,.09)!important;box-shadow:0 12px 32px rgba(0,0,0,.16)!important}
.dark #placeArticle section>div.grid>div{border-color:rgba(255,255,255,.07)}
/* Mobile: compact hero, flowing quick information, no sticky sidebar */
@media(max-width:900px){#placeLayout{grid-template-columns:minmax(0,1fr)!important}#placeSidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}#placeSidebar .mt-6{grid-column:1/-1}#placeQuickInfo{grid-column:1/-1}}
@media(max-width:640px){
 #placeHero{width:100vw!important;margin:0 0 0 calc(50% - 50vw)!important;height:auto!important;min-height:0!important;border-radius:0!important}
 #placeHero>img{height:100%!important;min-height:0!important}
 #placeHero>.relative.z-10{min-height:440px!important;height:auto!important;padding:18px 17px 20px!important;align-items:flex-end!important}
 #placeHero h1{font-size:clamp(30px,9vw,43px)!important;line-height:1.02!important}
 #placeHero .place-description{font-size:13px!important;line-height:1.55!important;margin-top:10px!important}
 #placeHero .relative.ml-auto{width:104px!important;margin-bottom:12px!important}
 #placeHero .mt-6.flex.flex-wrap{gap:8px!important;margin-top:16px!important}
 #placeHero .mt-6.flex.flex-wrap>a,#placeHero .mt-6.flex.flex-wrap>button,#placeHero .mt-6.flex.flex-wrap>span{font-size:11px!important;padding:10px 11px!important}
 main.max-w-6xl{padding:22px 12px 42px!important;gap:22px!important}
 #placeLayout{gap:20px!important}
 #placeArticle{gap:16px!important}
 #placeArticle>section:not(#placeReviews),#placeReviews{padding:18px!important;border-radius:18px!important}
 #placeArticle h2{font-size:22px!important}
 #placeArticle p{font-size:14px!important;line-height:1.72!important}
 #placeSidebar{display:flex;flex-direction:column;gap:14px!important}
 #placeQuickInfo{padding:18px!important}
 #placeMap{height:280px!important}
 #placeArticle .gallery-btn{border-radius:12px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#placeHero a,#placeHero button,#nearbySpots .grid>a{transition:none!important}}


/* v418 — galería editorial e información práctica */
.ra-gallery-section>div:first-child{align-items:flex-end!important;gap:14px}
.ra-gallery-section>div:first-child>span{flex:none;padding:7px 11px;border-radius:999px;background:#edf5ef;color:#276447;font-weight:800;letter-spacing:.02em}
.dark .ra-gallery-section>div:first-child>span{background:rgba(34,117,79,.2);color:#a7e2c1}
.ra-gallery-grid{grid-auto-flow:dense}
.ra-gallery-tile{min-height:130px!important;border:1px solid rgba(28,55,40,.08);box-shadow:0 5px 18px rgba(25,48,34,.07);isolation:isolate}
.ra-gallery-tile:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:1.42!important}
.ra-gallery-tile img{display:block;object-fit:cover!important}
.ra-gallery-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(0,0,0,.48) 100%);opacity:0;transition:opacity .25s ease;pointer-events:none}
.ra-gallery-caption{position:absolute;left:13px;right:48px;bottom:12px;color:white;text-align:left;font-size:12px;font-weight:750;line-height:1.35;text-shadow:0 1px 5px rgba(0,0,0,.45);opacity:0;transform:translateY(5px);transition:all .25s ease;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;pointer-events:none}
.ra-gallery-zoom{position:absolute;right:11px;bottom:11px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#183d2b;box-shadow:0 4px 14px rgba(0,0,0,.2);opacity:0;transform:translateY(4px);transition:all .25s ease;pointer-events:none}
.ra-gallery-tile:hover .ra-gallery-shade,.ra-gallery-tile:focus-visible .ra-gallery-shade{opacity:1}
.ra-gallery-tile:hover .ra-gallery-caption,.ra-gallery-tile:focus-visible .ra-gallery-caption,.ra-gallery-tile:hover .ra-gallery-zoom,.ra-gallery-tile:focus-visible .ra-gallery-zoom{opacity:1;transform:translateY(0)}
.ra-practical-grid{gap:12px!important}
.ra-fact-card{border:1px solid rgba(34,54,44,.07);background:linear-gradient(145deg,#f8faf7,#f0f5f0)!important;min-height:104px;transition:transform .2s ease,box-shadow .2s ease}
.ra-fact-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(27,64,42,.07)}
.ra-fact-heading{display:flex;align-items:center;gap:10px}
.ra-fact-icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:11px;background:#e1efe5;color:#26734e;font-size:14px}
.ra-fact-card p{margin-top:9px!important;color:#1d3327;font-size:14px!important;line-height:1.55!important}
.dark .ra-fact-card{background:linear-gradient(145deg,#14231b,#172a20)!important;border-color:rgba(255,255,255,.07)}
.dark .ra-fact-icon{background:rgba(49,137,87,.2);color:#9ed9b4}
.dark .ra-fact-card p{color:#e5eee8}
#placeQuickInfo>div.space-y-4>div{padding:10px 0;border-bottom:1px solid rgba(34,54,44,.08)}
#placeQuickInfo>div.space-y-4>div:last-child{border-bottom:0;padding-bottom:0}
#placeQuickInfo>div.space-y-4>div:first-child{padding-top:0}
#placeQuickInfo>div.space-y-4>div>div.font-bold{margin-top:3px;line-height:1.45}
.dark #placeQuickInfo>div.space-y-4>div{border-color:rgba(255,255,255,.09)}
@media(max-width:640px){
 .ra-gallery-tile:first-child{grid-column:span 2;grid-row:span 1;aspect-ratio:1.55!important}
 .ra-gallery-tile{min-height:105px!important}
 .ra-gallery-caption{opacity:1;transform:none;left:9px;bottom:8px;font-size:10px}
 .ra-gallery-shade{opacity:.72}
 .ra-gallery-zoom{opacity:1;transform:none;width:29px;height:29px;right:8px;bottom:8px;font-size:11px}
 .ra-fact-card{min-height:94px;padding:13px!important}
}
@media(prefers-reduced-motion:reduce){.ra-gallery-tile,.ra-gallery-caption,.ra-gallery-zoom,.ra-gallery-shade,.ra-fact-card{transition:none!important}}


/* v444 — breadcrumb integrado en la portada, sin franja ni separación superior */
#placeHero{margin-top:0!important}
.ra-place-breadcrumb{color:rgba(255,255,255,.88);font-weight:650;text-shadow:0 1px 8px rgba(0,0,0,.45)}
.ra-place-breadcrumb a{color:rgba(255,255,255,.88);text-decoration:none}
.ra-place-breadcrumb a:hover{color:#fcd34d}
.ra-place-breadcrumb [aria-current="page"]{color:#fff}
@media(max-width:640px){.ra-place-breadcrumb-wrap{padding-left:17px!important;padding-right:17px!important}.ra-place-breadcrumb{padding-top:13px!important;gap:6px!important;font-size:10px!important;line-height:1.35!important}}

/* v447 — flujo vertical determinista: encabezado, avisos visibles y portada sin huecos */
header.sticky.top-0{margin-block-end:0!important}
#raffleAnnouncement[hidden],#cineAnnouncement[hidden],#raffleAnnouncement.hidden,#cineAnnouncement.hidden{display:none!important}
#placeHero{
  display:block!important;
  position:relative!important;
  inset-block-start:0!important;
  margin-block-start:0!important;
  clear:both!important;
}
