/* Progressive enhancements to the legacy template */
#footer-frame .enlaces{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
#footer-frame .enlaces a,#footer-frame .enlaces button{color:inherit;text-decoration:underline;text-underline-offset:3px}
#footer-frame .enlaces button{font:inherit;border:0;background:transparent;cursor:pointer}
.cookie-consent{position:fixed;z-index:99999;bottom:1rem;left:1rem;right:1rem;max-width:650px;background:#fff;color:#243944;padding:1.35rem;border:2px solid #49606c;box-shadow:0 8px 30px #0004;border-radius:8px;font:16px/1.5 system-ui,sans-serif}
.cookie-consent[hidden],#cookie-settings[hidden]{display:none!important}.cookie-consent h2{font-size:1.35rem;margin:0}.cookie-actions{display:flex;flex-wrap:wrap;gap:.6rem}.cookie-actions button,.cookie-consent #cookie-settings button{min-height:44px;padding:.5rem .9rem;border:1px solid #49606c;border-radius:4px;cursor:pointer;background:#fff;color:#243944}.cookie-actions button:last-child{background:#49606c;color:white}.cookie-consent label{display:block;margin:.7rem 0}
:focus-visible{outline:3px solid #c77929!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Layout contacto */
.frameContacto{display:flex;align-items:stretch;overflow:visible;background:#f5f5f5}
.frameContacto-left,.frameContacto-right{float:none!important;display:flex;align-items:stretch}
.frameContacto-left{background:#4c626f}
.frameContacto-left .reservasBox,.frameContacto-right .formContent{box-sizing:border-box;width:100%;max-width:500px}
.frameContacto-right{background:#f5f5f5}
.frameContacto-right .formContent{margin-top:120px;margin-bottom:80px}
.frameContacto-left .reservasBox{padding-bottom:80px}
@media(max-width:760px){
  .frameContacto{display:block;background:transparent}
  .frameContacto-left,.frameContacto-right{display:block}
  .frameContacto-right .formContent{margin-top:20px;margin-bottom:30px}
  .frameContacto-left .reservasBox{padding-bottom:40px}
}

/* Blog listado */
.ultimasNoticias--modernas{margin-top:40px!important}
.tags-panel{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-start;background:#fff;border:1px solid #d9dee1;padding:1rem 1.25rem;box-sizing:border-box}
.tags-panel h6{float:none!important;width:auto!important;margin:0!important;font-size:1.15rem!important;line-height:1.4!important}
.tags-panel__list{display:flex;flex-wrap:wrap;gap:.65rem .75rem}
.tags-panel a{float:none!important;display:inline-flex;align-items:center;margin:0!important;padding:.35rem .7rem;border-radius:999px;background:#eef2f4;color:#26404f;text-decoration:none;font-size:.95rem!important;line-height:1.2}
.tags-panel a:hover{background:#dfe7eb}
.blog-search-header{margin:.5rem 0 1rem}
.titulobusqueda{font-size:1.9rem!important;line-height:1.2!important}
#noticiasContainer{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem;padding:0!important;margin:1.5rem 0 0!important}
#noticiasContainer>li,#noticiasContainer>li:first-child{width:auto!important;height:auto!important;margin:0!important;float:none!important;padding:0!important}
#noticiasContainer .blog-card{height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid #d9dee1;box-shadow:0 10px 24px rgba(0,0,0,.05)}
#noticiasContainer .noticiasList-item-img,#noticiasContainer .noticiasList-item:first-child .noticiasList-item-img{width:100%!important;height:auto!important;aspect-ratio:16/10;overflow:hidden;float:none!important}
#noticiasContainer .noticiasList-item-img img{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;object-fit:cover;left:auto!important;transform:none!important;float:none!important}
#noticiasContainer .infoNoticia,#noticiasContainer .noticiasList-item:first-child .infoNoticia{height:auto!important;min-height:0!important;overflow:visible!important;margin:0!important;padding:1.25rem 1.25rem 1.4rem!important;display:flex;flex-direction:column;flex:1 1 auto;border:0!important;float:none!important}
#noticiasContainer .noticiasList-item:hover .infoNoticia,#noticiasContainer .noticiasList-item:first-child:hover .infoNoticia{margin:0!important}
#noticiasContainer .fecha{float:none!important;width:auto!important;margin:0 0 .75rem!important;padding:0!important;font-size:.95rem!important;color:#5a6770}
#noticiasContainer h2,#noticiasContainer .noticiasList-item:first-child h2{margin:.1rem 0 .8rem!important;font-size:clamp(1.2rem,2vw,1.7rem)!important;line-height:1.25!important;font-weight:700!important;text-transform:none!important;float:none!important;width:100%}
#noticiasContainer h2 a{color:#1d2b34!important;text-decoration:none}
#noticiasContainer h2 a:hover{text-decoration:underline}
#noticiasContainer .blog-card__tags{display:flex;flex-wrap:wrap;gap:.4rem;float:none!important;width:100%!important;margin:0 0 1rem!important;padding:0!important;list-style:none}
#noticiasContainer .blog-card__tags li{float:none!important;margin:0!important;font-size:.9rem!important}
#noticiasContainer .blog-card__tags li::after{display:none!important}
#noticiasContainer .blog-card__tags a{display:inline-flex;padding:.28rem .6rem;border-radius:999px;background:#eef2f4;color:#26404f;text-decoration:none;font-size:.9rem!important}
#noticiasContainer .blog-card__excerpt{margin:0 0 1.25rem!important;line-height:1.7!important;color:#36424a;font-size:1rem!important;float:none!important;width:100%!important;display:block!important;flex:1 1 auto}
#noticiasContainer .blog-card__cta{margin-top:auto!important;width:auto!important;height:auto!important;background:none!important;float:none!important}
#noticiasContainer .blog-card__cta .texto{display:inline-flex;align-items:center;gap:.4rem;margin:0!important;color:#30546b!important;font-size:1rem!important;font-weight:600;text-decoration:none}
#noticiasContainer .blog-card__cta .texto::after{content:'→';font-size:1.1em}
#noticiasContainer .blog-card__cta .box{display:none!important}
@media(max-width:900px){#noticiasContainer{grid-template-columns:1fr}}

/* Blog detalle */
.blogEntradaAmp{max-width:980px!important;margin:0 auto!important;display:block!important}
.blogEntradaAmp .itemTxtCont{width:100%!important;float:none!important}
.blogEntradaAmp .blog-article-header{margin:0 0 1.5rem}
.blogEntradaAmp .blog-article-date{font-size:1rem!important;color:#5a6770;margin:0 0 .85rem!important;float:none!important}
.blogEntradaAmp .itemTituloEntrada{float:none!important;width:100%!important;margin:0 0 1rem!important;font-size:clamp(2rem,4vw,3.15rem)!important;line-height:1.15!important}
.blogEntradaAmp .ampAvance,.blogEntradaAmp .blog-article-intro{float:none!important;width:100%!important;margin:0!important;font-size:1.28rem!important;line-height:1.7!important;font-style:normal!important;color:#33424a}
.blogEntradaAmp .ampAvance p{margin:.45rem 0!important;font-size:inherit!important;line-height:inherit!important}
.blogEntradaAmp .socialBox{float:none!important;width:auto!important;height:auto!important;overflow:visible!important;margin:1.5rem 0 2rem!important}
.blogEntradaAmp .itemImg{float:none!important;width:100%!important;margin:0 0 2rem!important;max-height:none!important;overflow:visible!important}
.blogEntradaAmp .itemImg img{display:block;width:100%!important;max-height:430px!important;min-height:0!important;object-fit:cover}
.blogEntradaAmp .ampTexto{float:none!important;width:100%!important;margin-bottom:5rem!important}
.blogEntradaAmp .textoNoticia{font-size:1.07rem;line-height:1.8;color:#1d2b34}
.blogEntradaAmp .textoNoticia p,.blogEntradaAmp .textoNoticia li{font-size:1.07rem!important;line-height:1.8!important}
.blogEntradaAmp .textoNoticia h1{font-size:2rem!important}
.blogEntradaAmp .textoNoticia h2{font-size:1.7rem!important;line-height:1.3!important}
.blogEntradaAmp .textoNoticia h3{font-size:1.45rem!important;line-height:1.35!important}
.blogEntradaAmp .textoNoticia h4{font-size:1.25rem!important}
.blogEntradaAmp .infodetalles{float:none!important;margin:0 0 1rem!important}
.blogEntradaAmp .infodetalles .tags{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0}
.blogEntradaAmp .infodetalles .tags li{float:none!important;margin:0!important;font-size:.95rem!important}
.blogEntradaAmp .infodetalles .tags li::after{display:none!important}
.blogEntradaAmp .infodetalles .tags a{display:inline-flex;padding:.28rem .65rem;border-radius:999px;background:#eef2f4;color:#26404f;text-decoration:none;font-size:.95rem!important}
.blogEntradaAmp #galeria-titular{float:none!important;font-size:1.35rem!important;margin:2rem 0 1rem!important}
.blogEntradaAmp #galeria{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;padding:0!important;list-style:none}
.blogEntradaAmp #galeria li{float:none!important;width:auto!important;height:auto!important;margin:0!important}
.blogEntradaAmp #galeria img{display:block;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;object-fit:cover;aspect-ratio:4/3}
@media(max-width:900px){.blogEntradaAmp .itemImg img{max-height:320px!important}.blogEntradaAmp #galeria{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .blogEntradaAmp .itemTituloEntrada{font-size:2rem!important}
  .blogEntradaAmp .ampAvance,.blogEntradaAmp .blog-article-intro{font-size:1.08rem!important;line-height:1.65!important}
  .blogEntradaAmp .itemImg img{max-height:240px!important}
}

/* Botones sociales propios */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.blogEntradaAmp .native-share{display:flex!important;flex-wrap:wrap;gap:24px;align-items:center;margin:1.4rem 0 2rem}
.blogEntradaAmp .native-share .share-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 80px;width:80px;height:80px;box-sizing:border-box;border:0;border-radius:9px;color:#fff;text-decoration:none;cursor:pointer;padding:17px;transition:filter .2s ease,transform .2s ease}
.blogEntradaAmp .native-share .share-button:hover{filter:brightness(.9);transform:translateY(-2px)}
.blogEntradaAmp .native-share .share-button svg{height:100%;width:100%;max-width:45px;max-height:45px}
.blogEntradaAmp .native-share .share-facebook{background:#4267bd}.blogEntradaAmp .native-share .share-x,.blogEntradaAmp .native-share .share-link{background:#3c3c3c}.blogEntradaAmp .native-share .share-whatsapp{background:#0dcb55}
@media(max-width:600px){.blogEntradaAmp .native-share{gap:12px}.blogEntradaAmp .native-share .share-button{flex-basis:60px;width:60px;height:60px;padding:12px}}

/* Ajustes de visualización: cabecera fija, artículos y contacto (noviembre 2026) */
body.page-blog #body-container{
  box-sizing:border-box;
  padding-top:165px;
  margin-top:0!important;
  width:100%!important;
  margin-left:0!important;
  overflow:visible!important;
}
body.page-blog #body-container .ultimasNoticias--modernas{
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px;
  margin:24px auto 70px!important;
  float:none!important;
}
body.page-blog #noticiasContainer{width:100%!important;box-sizing:border-box}
body.page-blog #noticiasContainer .noticiasList-item{min-width:0!important}
body.page-blog #body-container .contenedorItemEntrada.blogEntradaAmp{
  box-sizing:border-box!important;
  float:none!important;
  position:relative!important;
  left:auto!important;
  width:min(940px,calc(100% - 48px))!important;
  max-width:940px!important;
  margin:24px auto 90px!important;
  padding:0!important;
  overflow:visible!important;
}
body.page-blog .blogEntradaAmp .blog-article-header{
  width:100%!important;
  margin:0 0 20px!important;
  padding:0!important;
  float:none!important;
}
body.page-blog .blogEntradaAmp h1.itemTituloEntrada{
  font-size:clamp(1.9rem,3.4vw,2.8rem)!important;
  line-height:1.25!important;
  overflow-wrap:anywhere;
}
body.page-blog .blogEntradaAmp .blog-article-intro{
  max-width:860px!important;
  font-size:clamp(1.08rem,1.5vw,1.25rem)!important;
  line-height:1.65!important;
  margin-bottom:18px!important;
}
body.page-blog .blogEntradaAmp .native-share{
  display:flex!important;
  clear:both!important;
  width:100%!important;
  height:auto!important;
  margin:18px 0 28px!important;
  gap:12px!important;
  overflow:visible!important;
}
body.page-blog .blogEntradaAmp .native-share .share-button{
  width:56px!important;
  height:56px!important;
  flex:0 0 56px!important;
  padding:12px!important;
  border-radius:8px!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
body.page-blog .blogEntradaAmp .native-share .share-button svg{
  width:32px!important;
  height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
}
body.page-blog .blogEntradaAmp .itemImg.blog-article-hero{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  padding:0!important;
  margin:0 0 42px!important;
  overflow:hidden!important;
  float:none!important;
}
body.page-blog .blogEntradaAmp .itemImg.blog-article-hero img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:560px!important;
  aspect-ratio:3/2;
  object-fit:cover;
  object-position:center;
}
body.page-blog .blogEntradaAmp .ampTexto,
body.page-blog .blogEntradaAmp .textoNoticia{
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  box-sizing:border-box!important;
  overflow-wrap:break-word;
}
body.page-blog .blogEntradaAmp .textoNoticia img{max-width:100%;height:auto}
@media(max-width:760px){
  body.page-blog #body-container{padding-top:115px!important}
  body.page-blog #body-container .ultimasNoticias--modernas,
  body.page-blog #body-container .contenedorItemEntrada.blogEntradaAmp{
    width:calc(100% - 32px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.page-blog .blogEntradaAmp .native-share .share-button{
    width:52px!important;height:52px!important;flex-basis:52px!important;padding:11px!important;
  }
  body.page-blog .blogEntradaAmp .native-share .share-button svg{width:30px!important;height:30px!important}
  body.page-blog .blogEntradaAmp .itemImg.blog-article-hero img{aspect-ratio:4/3;max-height:400px!important}
}
/* Contacto: bajar contenido interior del panel sin variar el fondo completo. */
@media(min-width:761px){
  body.page-contact .frameContacto-left .reservasBox{padding-top:80px!important}
  body.page-contact .frameContacto-left .reservasBox h2{margin-top:100px!important}
}

/* Terceros a petición; accesibilidad y lectura de entradas */
.casita-map-consent{margin:1rem 0;min-height:240px;background:#eef2f4;padding:1.5rem;display:grid;place-content:center;text-align:center;gap:1rem}
.casita-map-load{background:#4c626f;color:white;border:0;padding:.8rem 1.2rem;min-height:44px;cursor:pointer}
.casita-map-consent iframe{display:block;width:100%;min-height:340px;border:0}
.casita-map-consent iframe[hidden]{display:none}
.page-blog #body-container{padding-top:clamp(115px,12vw,170px)!important}
.page-blog .ultimasNoticias{margin-top:0!important}
.page-blog .blogEntradaAmp{padding:0 clamp(20px,4vw,65px)!important;box-sizing:border-box;float:none!important}
.page-blog .blogEntradaAmp .native-share .share-button{width:52px!important;height:52px!important;flex-basis:52px!important;padding:12px!important;border-radius:7px!important}
.page-blog .blogEntradaAmp .itemImg img{max-height:520px!important;object-fit:contain!important;background:#f1f3f3}
.page-blog .blogEntradaAmp .itemImg{margin-bottom:2.5rem!important}
@media(max-width:780px){.page-blog #body-container{padding-top:115px!important}.page-blog .blogEntradaAmp{padding:0 18px!important}}

.casita-skip-link{position:fixed;z-index:100000;top:-80px;left:16px;padding:12px 18px;background:#fff;color:#1c2e36;border:2px solid #1c2e36;text-decoration:underline}
.casita-skip-link:focus{top:12px}
.blogEntradaAmp .textoNoticia img{max-width:100%;height:auto}
.blogEntradaAmp .textoNoticia a{overflow-wrap:anywhere}

.blog-index-intro{margin:0 0 1.5rem;padding:0 0 .75rem;border-bottom:1px solid #d9dee1}
.blog-index-intro h1{font-size:clamp(1.8rem,3.2vw,2.7rem);line-height:1.2;margin:0 0 .7rem;color:#263843}
.blog-index-intro p{font-size:1.1rem;line-height:1.65;margin:0;color:#485d6b}
.blog-back-nav{margin:0 0 1.25rem}
.blog-back-nav a{color:#2d4c60;text-decoration:underline;text-underline-offset:3px}
.blog-next-step{margin-top:3.5rem;padding:1.5rem;background:#eef2f4}
.blog-next-step h2{font-size:1.5rem;margin:0 0 1rem}
.blog-next-step p{margin:.5rem 0 1.25rem}
.blog-next-step__links{display:flex;flex-wrap:wrap;gap:.65rem 1.5rem}
.blog-next-step__links a,.casita-related-blog a{color:#274960;text-decoration:underline;text-underline-offset:3px}
.casita-related-blog{clear:both;max-width:1100px;margin:2rem auto;padding:1.5rem;box-sizing:border-box;background:#eef2f4}
.casita-related-blog h2{font-size:clamp(1.35rem,2vw,1.8rem);margin:.25rem 0 .75rem}
.casita-related-blog p{font-size:1rem;line-height:1.65}

.page-blog #noticiasContainer .blog-card__media picture,
.page-blog .blog-article-hero picture{display:block;width:100%;height:100%}
.page-blog .blog-article-hero picture img{max-width:100%;height:auto}


/* Fase 7: etiquetas sin superposicion con los estilos heredados */
body.page-blog .ultimasNoticias--modernas .tags-panel{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  column-gap:1rem!important;
  row-gap:.8rem!important;
  float:none!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  line-height:normal!important;
  margin:0 0 1.5rem!important;
  padding:1.15rem 1.35rem!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  border:1px solid #d9dee1;
}
body.page-blog .ultimasNoticias--modernas .tags-panel h6{
  display:block!important;
  float:none!important;
  width:auto!important;
  height:auto!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  font-size:1.1rem!important;
  line-height:1.45!important;
  white-space:normal!important;
}
body.page-blog .ultimasNoticias--modernas .tags-panel__list{
  display:flex!important;
  flex:1 1 380px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:.55rem!important;
  min-width:0!important;
  height:auto!important;
  line-height:normal!important;
}
body.page-blog .ultimasNoticias--modernas .tags-panel__list a,
body.page-blog .blogEntradaAmp .infodetalles .tags a{
  display:inline-flex!important;
  float:none!important;
  align-items:center!important;
  width:auto!important;
  height:auto!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:.45rem .85rem!important;
  border-radius:999px!important;
  background:#eef2f4!important;
  color:#274960!important;
  text-decoration:none!important;
  font-size:.95rem!important;
  font-weight:500!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
}
body.page-blog .blogEntradaAmp .textoNoticia .infodetalles{
  display:block!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0 0 1.65rem!important;
  padding:0!important;
  overflow:visible!important;
}
body.page-blog .blogEntradaAmp .textoNoticia .infodetalles ul.tags{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:.6rem!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  line-height:normal!important;
  overflow:visible!important;
}
body.page-blog .blogEntradaAmp .textoNoticia .infodetalles ul.tags li{
  float:none!important;
  width:auto!important;
  height:auto!important;
  line-height:normal!important;
  margin:0!important;
  padding:0!important;
}
body.page-blog .blogEntradaAmp .textoNoticia .infodetalles + *{clear:both}
@media(max-width:700px){
  body.page-blog .ultimasNoticias--modernas .tags-panel{padding:1rem!important;align-items:flex-start!important}
  body.page-blog .ultimasNoticias--modernas .tags-panel__list{flex-basis:100%!important}
}

/* Fase 7: panel contacto con margen interior real y adaptable */
@media(min-width:761px){
  body.page-contact .frameContacto-left .reservasBox{
    float:none!important;
    width:100%!important;
    max-width:720px!important;
    margin:0 0 0 auto!important;
    padding:90px clamp(28px,5vw,100px) 90px clamp(30px,5vw,100px)!important;
    box-sizing:border-box!important;
  }
  body.page-contact .frameContacto-left .reservasBox h2{
    margin-top:45px!important;
    max-width:100%!important;
  }
  body.page-contact .frameContacto-left .reservasBox p,
  body.page-contact .frameContacto-left .reservasBox a{
    max-width:100%!important;
    overflow-wrap:anywhere;
  }
}
@media(max-width:760px){
  body.page-contact .frameContacto-left .reservasBox{
    float:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:38px 24px 50px!important;
    box-sizing:border-box!important;
  }
}
