/* The same logo, actions and expandable site navigation on every public page. */
header .lvl-brand-trigger{
 display:flex;align-items:center;justify-content:flex-start;
 min-width:0;margin:0;padding:0;border:0;border-radius:0;
 background:transparent;color:inherit;cursor:pointer;text-align:left;
 -webkit-tap-highlight-color:transparent;
}
header .lvl-brand-trigger img{
 display:block;width:100%;max-width:270px;height:auto;max-height:52px;
 object-fit:contain;object-position:left center;
}
header .lvl-brand-trigger[aria-expanded="true"]{opacity:.87}
header .lvl-header-actions{
 grid-column:3;grid-row:1;justify-self:end;
 display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:44px;
}
header .lvl-header-actions .ios-heart{
 display:none;align-items:center;justify-content:center;border:0;background:transparent;
 color:inherit;cursor:pointer;padding:0;
}
header .lvl-header-actions .ios-heart svg{width:25px;height:25px;display:block}
header .lvl-header-actions .ios-basket{
 display:flex;align-items:center;justify-content:center;
 min-width:44px;height:44px;padding:0;border:0;background:transparent;color:inherit;
}
header .lvl-header-actions .ios-basket img{display:block;width:32px;height:34px;object-fit:contain;filter:none}
header .lvl-header-dropdown{
 display:block;position:absolute;z-index:1500;
 left:0;right:0;top:100%;margin:0;color:var(--lvl-paper);
 background:#11110e;border-top:1px solid #eee5d31b;border-bottom:1px solid #eee5d344;
 box-shadow:0 24px 45px #0009;
 max-height:calc(100dvh - 68px);overflow-y:auto;overscroll-behavior:contain;
}
header .lvl-header-dropdown[hidden]{display:none!important}
header .lvl-header-dropdown-inner{max-width:1500px;margin:0 auto;padding:24px clamp(18px,5vw,80px) 32px}
header .lvl-header-dropdown-kicker{
 margin:0 0 18px;font:700 10px/1.4 Arial,Helvetica,sans-serif;letter-spacing:.16em;color:var(--lvl-pink);
}
header .lvl-header-dropdown nav{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));
 gap:0;margin:0;padding:0;align-items:stretch;flex-wrap:nowrap;
}
header .lvl-header-dropdown nav a{
 display:flex;align-items:baseline;gap:10px;min-width:0;min-height:70px;
 padding:12px 14px 14px 0;border-top:1px solid #eee5d338;
 background:transparent;color:var(--lvl-paper)!important;
 text-decoration:none;font-weight:400;letter-spacing:normal;
}
header .lvl-header-dropdown nav a:hover,header .lvl-header-dropdown nav a:focus-visible,
header .lvl-header-dropdown nav a[aria-current="page"]{color:var(--lvl-pink)!important}
header .lvl-header-nav-number{font:600 10px Arial,Helvetica,sans-serif;color:#c0b29a}
header .lvl-header-nav-title{font:400 clamp(20px,2.3vw,36px)/1.15 Georgia,serif;letter-spacing:-.045em}
header .lvl-header-nav-arrow{margin-left:auto;font:18px/1 Arial,Helvetica,sans-serif;opacity:.55}
header .lvl-header-dropdown nav a::after{display:none!important}

/* Uniform phone layout, on iOS and every other mobile browser. */
@media(max-width:800px){

html .site-header,html .editorial-header{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 grid-template-rows:1fr!important;align-items:center!important;
 gap:8px!important;height:68px!important;padding:8px 14px!important;
}
html header>.lvl-brand-trigger{
 display:flex!important;grid-column:1!important;grid-row:1!important;
 justify-self:start!important;width:min(100%,210px)!important;
 max-width:210px!important;min-width:0!important;height:100%;
}
html header>.lvl-brand-trigger img{
 display:block!important;width:100%!important;height:auto!important;
 max-width:210px!important;max-height:52px!important;object-position:left center!important;
}
html header>.lvl-header-actions{
 display:flex!important;grid-column:2!important;grid-row:1!important;
 justify-self:end!important;align-items:center;gap:3px;
}
html header .lvl-header-actions .ios-heart{
 display:flex!important;width:40px;min-width:40px;height:44px;min-height:44px;
}
html header .lvl-header-actions .ios-basket{
 display:flex!important;width:40px!important;min-width:40px!important;height:44px!important;min-height:44px!important;
}
html header .lvl-header-actions .ios-basket img{width:29px!important;height:31px!important}
html .site-header>.main-nav,html .editorial-header>nav[aria-label="Navegación principal"]{display:none!important}
html header>.mobile-menu-toggle,html header>.public-menu-toggle{display:none!important}
html header .cart-button #cartCount{display:none!important}
html header .lvl-header-dropdown nav{grid-template-columns:1fr!important}
html header .lvl-header-dropdown-inner{padding:20px 20px max(24px,env(safe-area-inset-bottom,0px))}
html header .lvl-header-dropdown nav a{min-height:59px;align-items:center;padding:11px 0;gap:16px}
html header .lvl-header-nav-title{font-size:28px}
html header .lvl-header-dropdown-kicker{margin-bottom:14px}
html header .lvl-header-dropdown{max-height:calc(100dvh - 68px)}

}
/* iPadOS retains the compact control layout in landscape too. */
@media(min-width:801px){

html.ios-header .site-header,html.ios-header .editorial-header{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 grid-template-rows:1fr!important;align-items:center!important;
 gap:8px!important;height:68px!important;padding:8px 14px!important;
}
html.ios-header header>.lvl-brand-trigger{
 display:flex!important;grid-column:1!important;grid-row:1!important;
 justify-self:start!important;width:min(100%,210px)!important;
 max-width:210px!important;min-width:0!important;height:100%;
}
html.ios-header header>.lvl-brand-trigger img{
 display:block!important;width:100%!important;height:auto!important;
 max-width:210px!important;max-height:52px!important;object-position:left center!important;
}
html.ios-header header>.lvl-header-actions{
 display:flex!important;grid-column:2!important;grid-row:1!important;
 justify-self:end!important;align-items:center;gap:3px;
}
html.ios-header header .lvl-header-actions .ios-heart{
 display:flex!important;width:40px;min-width:40px;height:44px;min-height:44px;
}
html.ios-header header .lvl-header-actions .ios-basket{
 display:flex!important;width:40px!important;min-width:40px!important;height:44px!important;min-height:44px!important;
}
html.ios-header header .lvl-header-actions .ios-basket img{width:29px!important;height:31px!important}
html.ios-header .site-header>.main-nav,html.ios-header .editorial-header>nav[aria-label="Navegación principal"]{display:none!important}
html.ios-header header>.mobile-menu-toggle,html.ios-header header>.public-menu-toggle{display:none!important}
html.ios-header header .cart-button #cartCount{display:none!important}
html.ios-header header .lvl-header-dropdown nav{grid-template-columns:1fr!important}
html.ios-header header .lvl-header-dropdown-inner{padding:20px 20px max(24px,env(safe-area-inset-bottom,0px))}
html.ios-header header .lvl-header-dropdown nav a{min-height:59px;align-items:center;padding:11px 0;gap:16px}
html.ios-header header .lvl-header-nav-title{font-size:28px}
html.ios-header header .lvl-header-dropdown-kicker{margin-bottom:14px}
html.ios-header header .lvl-header-dropdown{max-height:calc(100dvh - 68px)}

}
@media(prefers-reduced-motion:reduce){header .lvl-header-dropdown *{scroll-behavior:auto}}

/* Phase 2: the full logo also signals that it opens the navigation. */
header .lvl-brand-trigger::after{
 content:"";display:block;flex:none;width:7px;height:7px;
 margin:0 3px 5px 8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
 transform:rotate(45deg);transform-origin:center;
 transition:transform .18s ease,margin .18s ease;opacity:.75;
}
header .lvl-brand-trigger[aria-expanded="true"]::after{
 transform:rotate(225deg);margin-top:7px;margin-bottom:0;
}
header .lvl-brand-trigger img{min-width:0;flex:0 1 auto;max-width:calc(100% - 23px)!important}
@media(prefers-reduced-motion:reduce){
 header .lvl-brand-trigger::after{transition:none}
}
/* Android phones in landscape use the same compact header as portrait and iOS. */
@media(min-width:801px) and (max-width:950px){
 html:not(.ios-header) body .site-header,
 html:not(.ios-header) body[data-page] .editorial-header{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:1fr!important;align-items:center!important;
  gap:8px!important;height:68px!important;padding:8px 14px!important;
 }
 html:not(.ios-header) body header>.lvl-brand-trigger{
  display:flex!important;grid-column:1!important;grid-row:1!important;
  justify-self:start!important;width:min(100%,210px)!important;
  max-width:210px!important;min-width:0!important;height:100%;
 }
 html:not(.ios-header) body header>.lvl-brand-trigger img{
  width:calc(100% - 23px)!important;height:auto!important;
  max-height:52px!important;object-position:left center!important;
 }
 html:not(.ios-header) body header>.lvl-header-actions{
  display:flex!important;grid-column:2!important;grid-row:1!important;
  justify-self:end!important;align-items:center;gap:3px;
 }
 html:not(.ios-header) body header .lvl-header-actions .ios-heart{
  display:flex!important;width:40px;min-width:40px;height:44px;min-height:44px;
 }
 html:not(.ios-header) body header .lvl-header-actions .ios-basket{
  display:flex!important;width:40px!important;min-width:40px!important;
  height:44px!important;min-height:44px!important;
 }
 html:not(.ios-header) body header .lvl-header-actions .ios-basket img{
  width:29px!important;height:31px!important;
 }
 html:not(.ios-header) body .site-header>.main-nav,
 html:not(.ios-header) body .editorial-header>nav[aria-label="Navegación principal"]{
  display:none!important;
 }
 html:not(.ios-header) body header .lvl-header-dropdown nav{
  display:grid!important;grid-template-columns:1fr!important;
 }
 html:not(.ios-header) body header .lvl-header-dropdown-inner{
  padding:20px 20px max(24px,env(safe-area-inset-bottom,0px));
 }
 html:not(.ios-header) body header .lvl-header-dropdown nav a{
  min-height:59px;align-items:center;padding:11px 0;gap:16px;
 }
 html:not(.ios-header) body header .lvl-header-nav-title{font-size:28px}
 html:not(.ios-header) body header .lvl-header-dropdown{max-height:calc(100dvh - 68px)}
}
/* Very narrow phones must reserve room for both 44px utility controls. */
@media(max-width:359px){
 html header>.lvl-brand-trigger{width:min(100%,185px)!important;max-width:185px!important}
 html header .lvl-header-actions{gap:0!important}
 html header .lvl-header-actions .ios-heart,
 html header .lvl-header-actions .ios-basket{min-width:38px!important;width:38px!important}
}

/* Phase 3 — legible editorial rhythm and touch targets on phones. */
@media(max-width:600px){
 body[data-page] .back-link,
 body[data-page] .page-index a{
  font-size:13px;line-height:1.5;
 }
 body[data-page] .page-intro .eyebrow,
 body[data-page] .entry-meta{
  font-size:12px;letter-spacing:.1em;line-height:1.5;
 }
 body[data-page] .page-intro h1{
  font-size:clamp(43px,14vw,72px);
  overflow-wrap:break-word;
 }
 body[data-page] .entry h2{
  font-size:clamp(29px,8.4vw,44px);
  line-height:1.13;
 }
 body[data-page] .entry p{
  font-size:15px;line-height:1.75;
 }
 body[data-page] .entry summary{
  min-height:44px;display:flex;align-items:center;cursor:pointer;
 }
 body[data-page="eventos"] .calendar-paper{padding-top:24px}
 body[data-page="discos"] #recordSearch,
 body[data-page="discos"] #genreFilter{
  font-size:16px;min-height:44px;
 }
 body[data-page] header .lvl-header-dropdown nav a{
  min-height:56px;
 }
}
@media(prefers-reduced-motion:reduce){
 body[data-page] *:focus-visible{scroll-behavior:auto}
}

/* Minimal public phone navigation: the dropdown is a continuation of the dark header.
   No numbered tiles, arrows, ornamental kickers or oversized display typography. */
@media(max-width:950px){
 html body header .lvl-header-dropdown{
  background:#090907f5;color:var(--lvl-paper);
  border-top:1px solid #eee5d327;border-bottom:1px solid #eee5d33b;
  box-shadow:0 14px 26px #0008;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  max-height:calc(100dvh - 68px);overscroll-behavior:contain;
 }
 html body header .lvl-header-dropdown-inner{
  padding:7px clamp(18px,5vw,30px) 14px!important;
 }
 html body header .lvl-header-dropdown-kicker,
 html body header .lvl-header-nav-number,
 html body header .lvl-header-nav-arrow{display:none!important}
 html body header .lvl-header-dropdown nav{
  display:grid!important;grid-template-columns:1fr!important;
  margin:0;padding:0;gap:0;
 }
 html body header .lvl-header-dropdown nav a{
  min-height:49px!important;display:flex;align-items:center;
  padding:14px 0!important;gap:0;
  border-top:0;border-bottom:1px solid #eee5d31e;
  color:var(--lvl-paper)!important;
  text-decoration:none;text-transform:uppercase;
  font:600 12px/1.4 Arial,Helvetica,sans-serif!important;
  letter-spacing:.12em!important;
 }
 html body header .lvl-header-dropdown nav a:last-child{border-bottom:0}
 html body header .lvl-header-nav-title{
  font:600 12px/1.4 Arial,Helvetica,sans-serif!important;
  letter-spacing:.12em!important;
  padding:0 0 3px;
 }
 html body header .lvl-header-dropdown nav a:hover,
 html body header .lvl-header-dropdown nav a:focus-visible,
 html body header .lvl-header-dropdown nav a[aria-current="page"]{
  color:var(--lvl-pink)!important;
 }
 html body header .lvl-header-dropdown nav a[aria-current="page"] .lvl-header-nav-title{
  border-bottom:1px solid currentColor;
 }
 /* Editorial arrow glyphs are decoration, not phone interface controls. */
 html body .lvl-decorative-glyph{display:none!important}
}
/* Favorites use the same outlined vector heart as the header, never text emoji. */
.ios-liked-row button svg{
 display:block;width:22px;height:22px;stroke:currentColor;
}
@media(prefers-reduced-motion:reduce){
 header .lvl-header-dropdown{scroll-behavior:auto}
}

/* Vector navigation controls instead of font-dependent arrow pictographs. */
.lvl-control-arrow{
 display:block;width:20px;height:20px;fill:none;stroke:currentColor;
 stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
.lvl-mobile-link-text{display:none}
@media(max-width:950px){
 .lvl-mobile-link-text{display:inline!important;
  font:600 12px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.11em;text-transform:uppercase;
 }
}


/* Adaptive header: inline navigation wins whenever the complete row fits.
   This state deliberately overrides the old iPad / landscape hard cutoffs. */
html body :is(.site-header,.editorial-header).lvl-nav-measuring > .main-nav,
html body :is(.site-header,.editorial-header).lvl-nav-measuring > nav[aria-label="Navegación principal"] {
  display:flex!important;
  position:absolute!important;
  left:-10000px!important;
  top:0!important;
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
  visibility:hidden!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:clamp(10px,1.5vw,20px)!important;
  margin:0!important;
  padding:0!important;
}
html body :is(.site-header,.editorial-header).lvl-nav-measuring > .main-nav a,
html body :is(.site-header,.editorial-header).lvl-nav-measuring > nav[aria-label="Navegación principal"] a {
  font-size:clamp(10px,1.05vw,12px)!important;
  line-height:1.4!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
html body .site-header.lvl-tabs-fit,
html body .editorial-header.lvl-tabs-fit {
  display:grid!important;
  grid-template-columns:minmax(0,var(--lvl-logo-slot,210px)) minmax(0,1fr) auto!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  height:clamp(68px,6vw,78px)!important;
  padding:8px clamp(14px,3vw,48px)!important;
  gap:clamp(10px,1.5vw,20px)!important;
}
html body :is(.site-header,.editorial-header).lvl-tabs-fit > .lvl-brand-trigger {
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  display:flex!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
}
html body :is(.site-header,.editorial-header).lvl-tabs-fit > .lvl-brand-trigger img {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:52px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
html body :is(.site-header,.editorial-header).lvl-tabs-fit > .lvl-brand-trigger::after {
  display:none!important;
}
html body :is(.site-header,.editorial-header).lvl-tabs-fit > .main-nav,
html body :is(.site-header,.editorial-header).lvl-tabs-fit > nav[aria-label="Navegación principal"] {
  display:flex!important;
  position:static!important;
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:clamp(10px,1.5vw,20px)!important;
  min-width:0!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
html body :is(.site-header,.editorial-header).lvl-tabs-fit > .main-nav a,
html body :is(.site-header,.editorial-header).lvl-tabs-fit > nav[aria-label="Navegación principal"] a {
  display:inline-block!important;
  font-size:clamp(10px,1.05vw,12px)!important;
  font-weight:800!important;
  line-height:1.4!important;
  white-space:nowrap!important;
  text-transform:uppercase!important;
}
html body :is(.site-header,.editorial-header).lvl-tabs-fit > .lvl-header-actions {
  display:flex!important;
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-items:center!important;
}
html body :is(.site-header,.editorial-header).lvl-tabs-fit > .lvl-header-dropdown {
  display:none!important;
}
