/* RoldaYork | Cabecera editorial integrada — 2026-11-16.
   Una sola cabecera RoldaYork sobre el mismo fondo del hero de cada página.
   No se modifica el logo oficial ni las cartas propias de los restaurantes. */
:root{--ry-global-nav-height:82px}
/* El logo forma parte visual del hero y desaparece al bajar: sin sticky,
   banda oscura, efecto vidrio, bordes o líneas divisorias. */
body:has(> .site-header) > .site-header{
  position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;z-index:90;
  margin:0;background:transparent!important;border:0!important;
  box-shadow:none!important;backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;transition:none!important;
}
body:has(> .site-header) > .site-header::before,
body:has(> .site-header) > .site-header::after{content:none!important;display:none!important}
body:has(> .site-header) > .site-header.is-scrolled,
body:has(> .site-header).menu-is-open > .site-header{
  background:transparent!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body:has(> .site-header) .header-inner{height:var(--ry-global-nav-height)}
body:has(> .site-header) .brand img{
  filter:none!important;transform:none!important;
  display:block;width:auto;height:auto;
  max-height:calc(var(--ry-global-nav-height) - 14px);
  max-width:min(210px,52vw);object-fit:contain;
}
body:has(> .site-header) .primary-nav a{color:#f4f7fb}
body:has(> .site-header) .primary-nav a:hover{color:#ffd35a}
body:has(> .site-header) .stage-label{color:#ebedf2}
body:has(> .site-header) .header-cta{
  background:#d51c60;color:#fff;border:1px solid rgba(255,255,255,.25);
  box-shadow:none;
}
body:has(> .site-header) .header-cta:hover{background:#b91853}
body:has(> .site-header) .header-cta span{color:#ffcf32}
body:has(> .site-header) .nav-toggle{
  background:transparent!important;border:0!important;
  backdrop-filter:none!important;box-shadow:none!important;
  border-radius:0!important;
}
body:has(> .site-header) .nav-toggle span{background:#fff;box-shadow:0 1px 3px #0009}
body:has(> .site-header) .mobile-nav:not([hidden]){
  top:var(--ry-global-nav-height);background:#f9fafc;
  border:1px solid #dbe1e7;box-shadow:0 22px 45px #0005;
}
body:has(> .site-header) .mobile-nav a{color:#1d2d3e}
body:has(> .site-header) .mobile-nav a:last-child{color:#bc205a}

/* El hero comienza detrás del logo: su fotografía/degradado atraviesa la
   cabecera; compensamos la altura para conservar el aire de los títulos. */
body:has(> .site-header) .launch-v6 .launch-hero-v6-layout{padding-top:calc(var(--ry-global-nav-height) + 65px)}
body:has(> .site-header) .local-page .local-hero{
  padding-top:calc(var(--ry-global-nav-height) + 54px);border-top:0;
}
body:has(> .site-header) .local-place-page .local-hero.ry-place-hero{
  padding-top:calc(var(--ry-global-nav-height) + 38px);border-top:0;
}
body:has(> .site-header) .local-guide-landing .ry-viva-hero{
  padding-top:calc(var(--ry-global-nav-height) + clamp(55px,7vw,94px));
}
body:has(> .site-header) .ry-city .local-hero{
  padding-top:calc(var(--ry-global-nav-height) + 60px);
}
body:has(> .site-header) .ry-directory-page .ry-dir-hero-grid{
  padding-top:calc(var(--ry-global-nav-height) + 57px);
}
body:has(> .site-header) .inner-hero{
  background:linear-gradient(95deg,rgba(12,25,40,.93),rgba(19,39,57,.72) 62%,rgba(14,35,48,.42)),
  url('/assets/roldanillo-parapentes-real.webp') center 42%/cover no-repeat;
  color:#fff;
}
body:has(> .site-header) .inner-hero::after{background:linear-gradient(90deg,rgba(9,20,33,.35),transparent)}
body:has(> .site-header) .inner-hero .inner-wrap{
  padding-top:calc(var(--ry-global-nav-height) + 65px);
}
body:has(> .site-header) .inner-hero h1,
body:has(> .site-header) .inner-hero .section-kicker{color:#fff}
body:has(> .site-header) .inner-hero p{color:#e8eef4}
body:has(> .site-header) .mr-hero{padding-top:calc(var(--ry-global-nav-height) + 70px)}
body:has(> .site-header) .cp-hero-inner{padding-top:calc(var(--ry-global-nav-height) + 18px)}
/* Los enlaces de regreso se sitúan al final del hero y nunca debajo del logo.
   Más espacio vertical inicial para títulos grandes en la ficha de Morelia. */
body:has(> .site-header) .ml-hero-content{
  padding-top:calc(var(--ry-global-nav-height) + 30px);
}
body:has(> .site-header) .ml-hero .ml-intro-head{
  padding-top:clamp(38px,5vw,72px);
}
body:has(> .site-header) .mr-return{
  margin-top:16px;
}
body:has(> .site-header) :is(.ml-subnav,.cp-subnav,.mr-anchorbar){
  position:static!important;top:auto!important;
  box-shadow:none!important;backdrop-filter:none!important;
  border-top:0!important;border-bottom:0!important;
}
body:has(> .site-header) :is(.ml-hero-foot,.cp-hero-bottom){
  border-top:0!important;
}
body:has(> .site-header) .ry-recovery .ry-recovery-hero{
  padding-top:calc(var(--ry-global-nav-height) + 66px);
}

/* RoldaYork /negocios/: compensar cabecera editorial absoluta.
   Antes, las migas de pan comenzaban a 30px en móvil y quedaban debajo del logo.
   El hero conserva su fondo y botones; solo reserva espacio para cabecera. */
body:has(> .site-header) .ry-business-directory .ry-business-hero{
  padding-top:calc(var(--ry-global-nav-height) + 44px);
}

@media(max-width:980px){
  :root{--ry-global-nav-height:80px}
  body:has(> .site-header) .launch-v6 .launch-hero-v6-layout{
    padding-top:calc(var(--ry-global-nav-height) + 53px);
  }
}
@media(max-width:820px){
  body:has(> .site-header) .ry-directory-page .ry-dir-hero-grid{
    padding-top:calc(var(--ry-global-nav-height) + 40px);
  }
}
@media(max-width:720px){
  body:has(> .site-header) .ry-city .local-hero{
    padding-top:calc(var(--ry-global-nav-height) + 37px);
  }
}
@media(max-width:700px){
  body:has(> .site-header) .local-page .local-hero{
    padding-top:calc(var(--ry-global-nav-height) + 29px);
  }
  body:has(> .site-header) .local-place-page .local-hero.ry-place-hero{
    padding-top:calc(var(--ry-global-nav-height) + 29px);
  }
  body:has(> .site-header) .local-guide-landing .ry-viva-hero{
    padding-top:calc(var(--ry-global-nav-height) + 30px);
  }
  body:has(> .site-header) .ry-city .local-hero{
    padding-top:calc(var(--ry-global-nav-height) + 31px);
  }
}
@media(max-width:620px){
  :root{--ry-global-nav-height:72px}
  body:has(> .site-header) .ry-business-directory .ry-business-hero{
    padding-top:calc(var(--ry-global-nav-height) + 24px);
  }
  body:has(> .site-header) .ml-hero-content{
    padding-top:calc(var(--ry-global-nav-height) + 28px);
  }
  body:has(> .site-header) .ml-hero .ml-intro-head{
    padding-top:clamp(18px,4vw,36px);
  }
  body:has(> .site-header) .launch-v6 .launch-hero-v6-layout{
    padding-top:calc(var(--ry-global-nav-height) + 47px);
  }
  body:has(> .site-header) .ry-directory-page .ry-dir-hero-grid{
    padding-top:calc(var(--ry-global-nav-height) + 34px);
  }
  body:has(> .site-header) .local-place-page .local-hero.ry-place-hero{
    padding-top:calc(var(--ry-global-nav-height) + 28px);
  }
  body:has(> .site-header) .mr-hero{
    padding-top:calc(var(--ry-global-nav-height) + 40px);
  }
  body:has(> .site-header) .inner-hero .inner-wrap{
    padding-top:calc(var(--ry-global-nav-height) + 45px);
  }
  body:has(> .site-header) .ry-recovery .ry-recovery-hero{
    padding-top:calc(var(--ry-global-nav-height) + 36px);
  }
}
@media(prefers-reduced-motion:reduce){
  body:has(> .site-header) > .site-header{transition:none}
}

/* RoldaYork · Submenús de contenido: patrón de pastillas de Guía Local.
   Etiquetas completas, ancho natural, salto de fila y cero desplazamiento lateral.
   Se aplica a las páginas editoriales y a las secciones del menú de restaurantes.
   Las galerías de fotografías conservan su comportamiento independiente. */
html body:has(> .site-header) :is(.qh-nav,.rh-nav,.fs-subnav,.ml-subnav,.cp-subnav,.mr-anchorbar,.pm-nav,.pv-nav-wrap){
  position:static!important;top:auto!important;overflow:visible!important;max-width:100%!important;
  border-bottom:0!important;box-shadow:none!important;backdrop-filter:none!important;
}
html body:has(> .site-header) :is(
  .qh .qh-nav .qh-container,
  .rh-nav>.rh-container,
  .fs-subnav .fs-container,
  .ml-subnav .ml-wrap,
  .cp-page .cp-subnav .cp-container,
  .mr-page .mr-anchorbar .mr-shell,
  .pm .pm-nav .pm-container,
  .pv-page .pv-nav
){
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  justify-content:flex-start!important;align-content:flex-start!important;align-items:center!important;
  grid-template-columns:none!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;
  gap:8px!important;white-space:normal!important;
  overflow:visible!important;overflow-x:visible!important;scroll-snap-type:none!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;
  padding-top:14px!important;padding-bottom:14px!important;
}
html body:has(> .site-header) :is(
  .qh .qh-nav,
  .rh-nav,
  .fs-subnav,
  .ml-subnav,
  .cp-page .cp-subnav,
  .mr-page .mr-anchorbar,
  .pm .pm-nav,
  .pv-page .pv-nav-wrap
) a{
  box-sizing:border-box!important;display:inline-flex!important;flex:0 1 auto!important;
  grid-column:auto!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;max-width:100%!important;width:auto!important;
  min-height:38px!important;padding:9px 14px!important;
  border:1px solid #d9e1e4!important;border-radius:999px!important;
  background:#f5f8f8!important;color:#37515c!important;
  font-family:Inter,'Segoe UI',system-ui,sans-serif!important;font-size:12px!important;
  font-weight:750!important;letter-spacing:0!important;line-height:1.35!important;
  text-decoration:none!important;text-align:center!important;
  white-space:normal!important;overflow-wrap:break-word!important;
  box-shadow:none!important;scroll-snap-align:none!important;
}
html body:has(> .site-header) :is(
  .qh .qh-nav,.rh-nav,.fs-subnav,.ml-subnav,
  .cp-page .cp-subnav,.mr-page .mr-anchorbar,.pm .pm-nav,.pv-page .pv-nav-wrap
) a:first-child,
html body:has(> .site-header) :is(
  .qh .qh-nav,.rh-nav,.fs-subnav,.ml-subnav,
  .cp-page .cp-subnav,.mr-page .mr-anchorbar,.pm .pm-nav,.pv-page .pv-nav-wrap
) a[aria-current="location"]{
  border-color:#1d4952!important;background:#1d4952!important;color:#fff!important;
}
html body:has(> .site-header) :is(
  .qh .qh-nav,.rh-nav,.fs-subnav,.ml-subnav,
  .cp-page .cp-subnav,.mr-page .mr-anchorbar,.pm .pm-nav,.pv-page .pv-nav-wrap
) a:hover{
  border-color:#397478!important;
}
html body:has(> .site-header) :is(
  .qh .qh-nav,.rh-nav,.fs-subnav,.ml-subnav,
  .cp-page .cp-subnav,.mr-page .mr-anchorbar,.pm .pm-nav,.pv-page .pv-nav-wrap
) a:focus-visible{
  outline:3px solid #c48b46!important;outline-offset:3px!important;
}
/* Los menús de productos mantienen fondo oscuro; sus pastillas no se deslizan. */
html body:has(> .site-header) .pv-page .pv-nav-inner{
  display:block!important;max-width:100%!important;overflow:visible!important;
}
html body:has(> .site-header) .pv-page .pv-nav-intro{margin-bottom:8px!important}
html body:has(> .site-header) .pv-page .pv-nav .pv-chip{
  border-radius:999px!important;white-space:normal!important;
}
@media(max-width:760px){
  html body:has(> .site-header) :is(
    .qh .qh-nav .qh-container,.rh-nav>.rh-container,.fs-subnav .fs-container,
    .ml-subnav .ml-wrap,.cp-page .cp-subnav .cp-container,
    .mr-page .mr-anchorbar .mr-shell,.pm .pm-nav .pm-container,.pv-page .pv-nav
  ){gap:8px!important;padding-top:12px!important;padding-bottom:12px!important}
  html body:has(> .site-header) :is(
    .qh .qh-nav,.rh-nav,.fs-subnav,.ml-subnav,
    .cp-page .cp-subnav,.mr-page .mr-anchorbar,.pm .pm-nav,.pv-page .pv-nav-wrap
  ) a{padding:8px 13px!important;min-height:37px!important;font-size:11.5px!important}
}

/* Extensión de la misma navegación en pastillas para el hub Roldanillo
   y las pestañas de la galería (solo controles, no carrusel de fotos). */
html body:has(> .site-header) .ry-city-nav,
html body:has(> .site-header) .qjs .qjs-gallery-tabs{
  display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;
  justify-content:flex-start!important;align-items:center!important;
  gap:8px!important;grid-template-columns:none!important;overflow-x:visible!important;
  scroll-snap-type:none!important;white-space:normal!important;
  min-width:0!important;max-width:100%!important;
}
html body:has(> .site-header) .ry-city-nav>a,
html body:has(> .site-header) .qjs .qjs-gallery-tabs>.qjs-gallery-tab{
  display:inline-flex!important;flex:0 1 auto!important;max-width:100%!important;
  min-width:0!important;width:auto!important;min-height:38px!important;
  padding:9px 14px!important;border:1px solid #d9e1e4!important;
  border-radius:999px!important;background:#f5f8f8!important;
  color:#37515c!important;font-size:12px!important;font-weight:750!important;
  line-height:1.35!important;white-space:normal!important;overflow-wrap:break-word!important;
  text-align:center!important;align-items:center!important;justify-content:center!important;
}
html body:has(> .site-header) .ry-city-nav>a:first-child,
html body:has(> .site-header) .qjs .qjs-gallery-tabs>.qjs-gallery-tab[aria-selected="true"]{
  border-color:#1d4952!important;background:#1d4952!important;color:#fff!important;
}
html body:has(> .site-header) .qjs .qjs-gallery-arrow{display:none!important}
@media(max-width:760px){
 html body:has(> .site-header) .ry-city-nav,
 html body:has(> .site-header) .qjs .qjs-gallery-tabs{gap:8px!important}
 html body:has(> .site-header) .ry-city-nav>a,
 html body:has(> .site-header) .qjs .qjs-gallery-tabs>.qjs-gallery-tab{
   min-height:37px!important;padding:8px 13px!important;font-size:11.5px!important;
 }
}
