/* ============================================================
   Equipo Docente — EAVicar
   ============================================================ */

#ed-page {
    font-family: 'Open Sans', sans-serif;
}

/* HERO */
.ed-hero {
    position: relative;
    min-height: 72vh;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ed-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,46,62,0.90) 0%, rgba(46,163,242,0.48) 100%);
}
.ed-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    width: 100%;
}
.ed-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.ed-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    margin: 0 0 18px;
    line-height: 1.1;
    color: #fff;
}
.ed-hero p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.84);
    margin: 0;
    max-width: 600px;
}
@media (max-width: 768px) {
    .ed-hero { min-height: 56vh; background-attachment: scroll; }
    .ed-hero-inner { padding: 100px 24px 60px; }
}

/* SECCIONES */
.ed-section {
    padding: 72px 20px;
    background: #fff;
}
.ed-section--alt {
    background: #f0f6fc;
}
.ed-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* CABECERA DE GRUPO */
.ed-group-header {
    text-align: center;
    margin-bottom: 48px;
}
.ed-group-tag {
    display: inline-block;
    background: #e8f4fc;
    color: #2ea3f2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.ed-group-header h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: #1a2e3e;
    margin: 0;
}

/* GRID */
.ed-grid {
    display: grid;
    gap: 28px;
}
.ed-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.ed-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
.ed-grid--center {
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(3, minmax(0, 320px));
}

/* TARJETA */
.ed-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.ed-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(46,163,242,0.15);
}
.ed-card--highlight {
    border-top: 4px solid #2ea3f2;
}

/* FOTO */
.ed-card-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8f4fc;
}
.ed-card-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}
.ed-card:hover .ed-card-photo-wrap img {
    transform: scale(1.05);
}

/* CUERPO */
.ed-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ed-card-puesto {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2ea3f2;
    margin: 0;
}
.ed-card-nombre {
    font-size: 16px;
    font-weight: 700;
    color: #1a2e3e;
    margin: 1px 0 0;
    line-height: 1.3;
}
.ed-card-estudios {
    font-size: 13px;
    color: #666;
    margin: 6px 0 0;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .ed-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ed-grid--3,
    .ed-grid--4,
    .ed-grid--center { grid-template-columns: repeat(2, 1fr); }
    .ed-section { padding: 52px 20px; }
}
@media (max-width: 480px) {
    .ed-grid--3,
    .ed-grid--4,
    .ed-grid--center { grid-template-columns: 1fr; }
}
