
/* v28 — Corrige duplicación de destacado y recupera densidad móvil. */
/* La etiqueta ya existe en el HTML: no crear otra con ::before. */
#screen-events .calendar-card.calendar-featured::before,
#screen-classes .calendar-card.calendar-featured::before{
  content:""!important;
  display:block!important;
  position:static!important;
  width:28px!important;height:28px!important;
  margin:0 auto 9px!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a76e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v4M17 3v4'/%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E")!important;
  color:transparent!important;font-size:0!important;
}
#screen-classes .calendar-card.calendar-featured::before{
  background:center/contain no-repeat url("visual-editorial/icons/classes.png")!important;
}
/* Una sola etiqueta destacada, generada por la aplicación. */
#screen-events .calendar-featured-badge,
#screen-classes .calendar-featured-badge{
  font-size:11px!important;line-height:1.2!important;
  padding:5px 10px!important;margin:0 auto 9px!important;
}

/* Tarjetas compactas para celular, manteniendo fuente legible y contraste. */
@media(max-width:600px){
  #screen-events,#screen-classes{padding:12px 12px 25px!important}
  #screen-events .app-header,#screen-classes .app-header{
    padding:16px 0 3px!important;margin:0 auto 12px!important
  }
  #screen-events .app-title,#screen-classes .app-title{
    font-size:26px!important;line-height:1.16!important
  }
  #screen-events .app-subtitle,#screen-classes .app-subtitle{
    font-size:12px!important;line-height:1.35!important;margin-top:5px!important
  }
  #screen-events .calendar-view-switch,#screen-classes .calendar-view-switch{
    margin-bottom:12px!important;gap:7px!important
  }
  #screen-events .calendar-view-button,#screen-classes .calendar-view-button{
    min-height:38px!important;padding:8px!important;font-size:12px!important
  }
  #screen-events .calendar-card,#screen-classes .calendar-card{
    padding:13px 13px 14px!important;margin-bottom:9px!important;
    border-radius:14px!important
  }
  #screen-events .calendar-card::before,#screen-classes .calendar-card::before{
    width:24px!important;height:24px!important;margin-bottom:7px!important;
    background-size:contain!important
  }
  #screen-events .calendar-card.calendar-featured::before,
  #screen-classes .calendar-card.calendar-featured::before{
    width:24px!important;height:24px!important;margin-bottom:7px!important
  }
  #screen-events .calendar-date,#screen-classes .calendar-date{
    font-size:12px!important;line-height:1.25!important
  }
  #screen-events .calendar-title,#screen-classes .calendar-title{
    font-size:19px!important;line-height:1.18!important;
    margin:6px auto 6px!important
  }
  #screen-events .calendar-time,#screen-classes .calendar-time,
  #screen-events .calendar-location,#screen-classes .calendar-location,
  #screen-events .calendar-description,#screen-classes .calendar-description,
  #screen-events .calendar-info-row,#screen-classes .calendar-info-row{
    font-size:13px!important;line-height:1.42!important
  }
  #screen-events .calendar-description,#screen-classes .calendar-description{
    padding-top:7px!important;margin-top:7px!important
  }
  #screen-events .calendar-type,#screen-classes .calendar-type,
  #screen-events .calendar-club-badge,#screen-classes .calendar-club-badge{
    margin:4px auto!important;padding:3px 7px!important;font-size:10px!important
  }
  #screen-events .calendar-actions,#screen-classes .calendar-actions{
    margin-top:9px!important;gap:6px!important
  }
  #screen-events .calendar-actions a,#screen-classes .calendar-actions a,
  #screen-events .calendar-register,#screen-classes .calendar-register,
  #screen-events .calendar-more-info,#screen-classes .calendar-more-info{
    min-height:37px!important;padding:8px 7px!important;
    font-size:12px!important;line-height:1.2!important
  }
  #screen-classes .calendar-day-heading,#screen-events .calendar-day-heading{
    font-size:13px!important;line-height:1.35!important;
    margin:9px auto 8px!important
  }
}
