/* Explain: Page-specific styles for faculty, news, alumni, and student portal sections. */
/* ===== Corps enseignant ===== */
.faculty-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border-radius: 2rem;
    padding: 1.5rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.faculty-card:hover {
    border-color: rgba(88, 129, 87, 0.55);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.12);
    transform: translateY(-6px);
}

.faculty-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 1.5rem;
    object-fit: cover;
}

.filter-chip {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0 1.1rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 300ms ease;
}

.filter-chip:hover {
    border-color: var(--accent-color);
}

.filter-chip.is-active {
    border-color: var(--button-color);
    background: var(--button-color);
}

/* ===== Actualités ===== */
.news-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 2rem;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.news-card:hover {
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.12);
    transform: translateY(-6px);
}

.news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

/* ===== Alumni ===== */
.alumni-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border-radius: 2rem;
    padding: 1.75rem;
}

.alumni-quote {
    flex: 1;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.alumni-avatar {
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 999px;
    object-fit: cover;
}

.alumni-stars {
    color: var(--accent-color);
}

/* ===== Espace étudiant ===== */
.portal-pane {
    display: none;
}

.portal-pane.is-active {
    display: block;
}

.portal-step {
    display: flex;
    gap: 1rem;
}

.portal-step-dot {
    display: flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.portal-step.is-done .portal-step-dot {
    border-color: var(--button-color);
    background: var(--button-color);
    color: var(--text-color);
}

/* ===== Dropdown nav ===== */
.dropdown summary {
    list-style: none;
    cursor: pointer;
}

.dropdown summary::-webkit-details-marker {
    display: none;
}