﻿/* ============================================================
   academia.css — landing de Academia (/academy)
   Va encima de TournamentsV2/campeonatos.css (.cmp, cabecera, h2.sec) y de las tarjetas de las secciones
   del CMS (.mpc-curso, en la DLL). Aqui solo lo propio: accesos rapidos, filtros y fichas de profesor.
   Todo dentro de .acad para no tocar el tema del club.
   ============================================================ */
.cmp.acad h2.sec small { font-size: 12.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--cmp-texto-sec); }

/* Accesos rapidos: escuelas / campus (filtran por tipo) y clases particulares (baja a su seccion) */
.acad .acad-accesos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 20px 0 4px; }
.acad .acad-acceso { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--cmp-superficie); border: 1px solid var(--cmp-borde);
  border-radius: var(--cmp-radio); color: var(--cmp-texto) !important; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.04); transition: border-color .15s ease; }
.acad .acad-acceso:hover { border-color: var(--cmp-acento); }
.acad .acad-acceso.on { border-color: var(--cmp-acento); box-shadow: 0 0 0 1px var(--cmp-acento) inset; }
.acad .acad-acceso b { display: block; font-size: 15px; line-height: 1.25; }
.acad .acad-acceso small { display: block; font-size: 13px; color: var(--cmp-texto-sec); line-height: 1.35; }
.acad .acad-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--cmp-fondo); position: relative; }
.acad .acad-ic::before { content: ''; position: absolute; inset: 10px; background-color: var(--cmp-texto);
  -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.acad .acad-ic-escuela::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5Z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5Z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); }
.acad .acad-ic-campus::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.acad .acad-ic-profesor::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }

/* Filtros: deporte (chips) y "para quien" (año de nacimiento) */
.acad .acad-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 16px 0 0; padding: 12px 14px;
  background: var(--cmp-fondo); border: 1px solid var(--cmp-borde); border-radius: var(--cmp-radio); }
.acad .acad-filtro { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.acad .acad-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--cmp-texto-sec); margin: 0; }
.acad .acad-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.acad .acad-chip { display: inline-block; padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--cmp-borde);
  font-size: 13px; font-weight: 600; color: var(--cmp-texto) !important; text-decoration: none; white-space: nowrap; }
.acad .acad-chip:hover { border-color: var(--cmp-acento); }
.acad .acad-chip.on { background: var(--cmp-acento); border-color: var(--cmp-acento); color: #fff !important; }
.acad .acad-select { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid var(--cmp-borde); border-radius: 8px; background: #fff; color: var(--cmp-texto); max-width: 100%; width: auto; height: auto; margin: 0; }
.acad .acad-quitar { margin-left: auto; font-size: 13px; font-weight: 600; }
.acad .acad-nota { font-size: 12.5px; color: var(--cmp-texto-sec); margin: 6px 2px 0; }

/* Clases particulares: ficha de profesor (misma tarjeta, sin foto grande) */
.acad .acad-profs.mpc-cursos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.acad .acad-prof .mpc-cuerpo { padding: 16px; gap: 10px; }
.acad .acad-prof .mpc-nombre { font-size: 1.05em; }
.acad .acad-prof-cab { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acad .acad-prof-cab > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.acad .acad-av { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--cmp-fondo); display: inline-flex; align-items: center; justify-content: center; }
.acad .acad-av img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; margin: 0; border-radius: 0; }
.acad .acad-av-ini { color: #fff; font-weight: 700; font-size: 17px; }
.acad .acad-huecos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.acad .acad-punto { width: 8px; height: 8px; border-radius: 50%; background: var(--cmp-ok); flex: none; }
.acad .acad-huecos.acad-sin { color: var(--cmp-texto-sec); }
.acad .acad-huecos.acad-sin .acad-punto { background: #b9c0c6; }
.acad .acad-hora { display: inline-block; padding: 2px 8px; border: 1px solid var(--cmp-borde); border-radius: 6px; font-size: 12.5px; font-weight: 600;
  color: var(--cmp-texto) !important; text-decoration: none; font-variant-numeric: tabular-nums; }
.acad .acad-hora:hover { border-color: var(--cmp-acento); }

@media (max-width: 600px) {
  .acad .acad-accesos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .acad .acad-acceso { padding: 10px; gap: 8px; }
  .acad .acad-ic { width: 32px; height: 32px; }
  .acad .acad-ic::before { inset: 8px; }
  .acad .acad-quitar { margin-left: 0; }
}
