/* EdTech · directorio · CSS extra (requiere css/edutic.css) */

/* Hero: texto + 4 cifras */
.pg-edtech .pg-edtech__hero { grid-template-columns: 1fr 420px; }
.pg-edtech__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg-edtech__kpis > div { padding: 18px; background: var(--edu-white); border-radius: var(--edu-radius); }
.pg-edtech__kpis dt { font-size: 2.25rem; }
.pg-edtech__kpis dd { margin: 4px 0 0; font-size: .75rem; color: var(--edu-text); }

/* Barra de filtros */
.pg-edtech__bar-top { display: flex; align-items: center; gap: 12px; }
.pg-edtech__spon { height: 46px; }
.pg-edtech__spon[aria-pressed="true"] { background: var(--edu-green); border-color: var(--edu-green); color: var(--edu-white); }
.pg-edtech__sort { width: auto; height: 46px; border-radius: 999px; font-size: .8125rem; }

/* Grilla de tarjetas */
.pg-edtech__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pg-edtech__grid > [hidden] { display: none; }
.pg-edtech__ph { display: block; height: 260px; }
.pg-edtech__card { gap: 12px; border-radius: 16px; }
.pg-edtech__mono { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--edu-green-tint); border: 1px solid var(--edu-green-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: var(--edu-green-dark); }
.pg-edtech__name { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--edu-ink); }
.pg-edtech__tag, .pg-edtech__ev { font-size: .6875rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pg-edtech__tag { background: var(--edu-border-2); color: var(--edu-text); }
.pg-edtech__ev { background: var(--edu-green-soft); color: var(--edu-green-dark); }
.pg-edtech__red { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--edu-border-2); }
.pg-edtech__label { font-size: .625rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--edu-muted); }
.pg-edtech__more { font-size: .75rem; font-weight: 700; color: var(--edu-green-dark); }
.pg-edtech__band-t { font-weight: 900; }

@media (max-width: 1199.98px) { .pg-edtech__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .pg-edtech .pg-edtech__hero { grid-template-columns: 1fr; }
  .pg-edtech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .pg-edtech__bar-top { flex-wrap: wrap; }
  .pg-edtech__bar-top .edu-search { flex-basis: 100%; }
  .pg-edtech__tag { white-space: normal; }
}
@media (max-width: 575.98px) { .pg-edtech__grid { grid-template-columns: 1fr; } }

.pg-edtech__mono img { max-width: 80%; max-height: 80%; object-fit: contain; }

.pg-edtech__ev .edu-flag { width: 14px; margin-right: .3em; vertical-align: -1px; }

/* Cabecera de la tarjeta: logo cuadrado grande (la API entrega logos cuadrados) y el nombre a su lado */
.pg-edtech__head { display: flex; align-items: center; gap: 14px; }
.pg-edtech__logo { flex: none; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--edu-green-line); }
.pg-edtech__logo img { width: 100%; height: 100%; object-fit: contain; }
.pg-edtech__logo b { font-weight: 900; font-size: 1.75rem; color: var(--edu-green-dark); }
.pg-edtech__head .pg-edtech__name { min-width: 0; overflow-wrap: anywhere; }
