/* 909 RECORDS COMPANY — v17.3.63
   Integración de correcciones móviles sobre el catálogo 5 x fila de v17.3.62.
   En escritorio, no altera las 5 columnas ni los banners del CMS. */
@media (max-width:800px){
  html{scroll-padding-top:74px}
  .site-header{
    position:sticky!important;top:0!important;z-index:2020!important;
    width:100%;max-width:100%;min-height:68px;
    padding-inline:clamp(12px,3.6vw,22px)!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    overflow:visible!important;gap:8px!important;
  }
  .site-header .brand-cluster{flex:0 0 auto!important;min-width:0!important}
  .site-header .brand{width:clamp(38px,10vw,48px)!important;min-width:38px!important;max-width:48px!important}
  .site-header .brand img{display:block;width:100%!important;max-height:47px!important;height:auto!important;object-fit:contain}
  .site-header .brand-socials{display:none!important}
  .site-header .desktop-nav,.site-header .header-locale{display:none!important}
  .site-header .header-end{margin-left:auto!important;display:flex!important;align-items:center!important;gap:8px!important;flex-shrink:0!important}
  .site-header .site-search-toggle{display:flex!important;align-items:center;justify-content:center;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;touch-action:manipulation}
  .site-header .menu-toggle{display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0 11px!important;z-index:3;touch-action:manipulation}
  .site-header .menu-toggle span{width:100%;display:block}
  .site-header .mobile-center-about{display:block!important;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:calc(100vw - 205px);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;z-index:1;pointer-events:auto}
  .site-header .mobile-menu[hidden]{display:none!important}
  .site-header .mobile-menu:not([hidden]){
    display:flex!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;
    box-sizing:border-box;width:100%!important;max-width:100%!important;
    max-height:calc(100vh - 68px);max-height:calc(100dvh - 68px);
    overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;
    flex-direction:column;gap:0;z-index:2022!important;
    padding:10px clamp(18px,5vw,28px) 28px!important;
    background:rgba(14,14,16,.985)!important;
    border-bottom:2px solid #ed1721!important;
    box-shadow:0 24px 65px #000c;
    -webkit-overflow-scrolling:touch;
  }
  .site-header .mobile-menu .mobile-home,
  .site-header .mobile-menu .mobile-nav-group summary,
  .site-header .mobile-menu .mobile-about909,
  .site-header .mobile-menu .mobile-demos909{
    min-height:48px;display:flex;align-items:center;justify-content:space-between;
    padding:10px 5px;font-size:clamp(20px,5.7vw,25px);line-height:1.2;min-width:0;
  }
  .site-header .mobile-menu .mobile-nav-links{padding:0 6px 13px;gap:0;min-width:0}
  .site-header .mobile-menu .mobile-nav-links a{
    font-size:13px;line-height:1.35;min-height:43px;padding:11px 10px!important;
    display:flex;align-items:center;white-space:normal;overflow-wrap:anywhere;
    -webkit-tap-highlight-color:rgba(237,23,33,.14);
  }
  .site-header .mobile-menu :is(a,summary):focus-visible,
  .site-header :is(.menu-toggle,.site-search-toggle):focus-visible{
    outline:2px solid #ff4153;outline-offset:2px;
  }
  .site-search-panel{max-width:calc(100vw - 20px);max-height:calc(100dvh - 30px);overflow:auto}
  .section,.artists-section{max-width:100%;min-width:0}
  .section-heading,.roster-controls{min-width:0}
  .roster-controls{gap:10px;flex-wrap:wrap}
  .roster-controls > span{overflow-wrap:anywhere}
  /* Dos fotografías cuadradas por fila, sin imagen estirada ni espacios dispares. */
  #artistas .artist-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;row-gap:14px!important;column-gap:14px!important;
    grid-auto-rows:auto!important;align-items:start;min-width:0;
  }
  #artistas .artist-grid>.artist-card,
  #artistas .artist-grid>.artist-card:first-child{
    box-sizing:border-box;grid-column:auto!important;width:100%!important;
    min-width:0!important;height:auto!important;min-height:0!important;
    aspect-ratio:1 / 1!important;
  }
  #artistas .artist-card .artist-visual{position:absolute;inset:0;aspect-ratio:1/1;overflow:hidden}
  #artistas .artist-grid .artist-card .artist-visual img.artist-main-photo{
    width:100%;height:100%;object-fit:cover;
    object-position:var(--artist-photo-x,50%) var(--artist-photo-y,50%);
  }
  #artistas .artist-grid .artist-card .artist-top{padding:10px 10px 0!important;font-size:8px}
  #artistas .artist-grid .artist-card .artist-arrow{width:26px;height:26px;font-size:17px}
  #artistas .artist-grid .artist-card .artist-bottom{padding:8px 10px 11px!important;gap:2px}
  #artistas .artist-grid .artist-card .artist-bottom .artist-rule{margin-bottom:4px}
  #artistas .artist-grid .artist-card .artist-bottom h3,
  #artistas .artist-grid .artist-card:first-child .artist-bottom h3{
    font-size:clamp(17px,4.6vw,25px)!important;line-height:.94;
    margin:0 0 3px;overflow-wrap:anywhere;hyphens:auto;
  }
  #artistas .artist-grid .artist-card .artist-genre-line{gap:5px;margin-top:3px;min-width:0}
  #artistas .artist-grid .artist-card .artist-genre-line>svg{width:12px;height:12px;flex-basis:12px}
  #artistas .artist-grid .artist-card .artist-genre-tags{
    flex-wrap:wrap;gap:3px;max-height:44px;overflow:hidden;min-width:0;
  }
  #artistas .artist-grid .artist-card .artist-genre-tag{
    font-size:clamp(8px,2.15vw,10px)!important;line-height:1.2;
    padding:2px 5px;max-width:100%;overflow-wrap:anywhere;
  }
  #artistas .artist-card:hover{transform:none}
  .artist-page .ap-hero{min-width:0}
  .artist-page .ap-profile-content{min-width:0}
}
@media (max-width:420px){
  .site-header .mobile-center-about{font-size:clamp(8px,2.5vw,10px);max-width:calc(100vw - 194px)}
  .site-header .header-end{gap:5px!important}
  .site-header .site-search-toggle{width:39px!important;height:41px!important;min-width:39px!important}
  .site-header .menu-toggle{width:42px!important;height:42px!important;min-width:42px!important}
  #artistas .artist-grid{gap:12px!important;row-gap:12px!important;column-gap:12px!important}
}
@media (max-width:354px){
  /* En pantallas excepcionales de 320–354 px priorizamos legibilidad. */
  #artistas .artist-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  #artistas .artist-grid .artist-card .artist-top{padding:17px 17px 0!important}
  #artistas .artist-grid .artist-card .artist-bottom{padding:17px 16px 19px!important}
  #artistas .artist-grid .artist-card .artist-bottom h3,
  #artistas .artist-grid .artist-card:first-child .artist-bottom h3{font-size:clamp(30px,10vw,44px)!important}
  #artistas .artist-grid .artist-card .artist-genre-tag{font-size:10px!important;padding:3px 7px}
  .site-header .mobile-center-about{max-width:calc(100vw - 176px);font-size:8px}
}
@media (hover:none){
  #artistas .artist-card:active{border-color:#ed1721}
  #artistas .artist-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .site-header .mobile-center-about{animation:none}
}
