/* «Наши выпускники»: список и страница выпускника */
.au-grads { --g-green: #187d35; --g-dark: #0d5a25; --g-gold: #c9a227; --g-ink: #0f172a; --g-muted: #64748b; --g-line: #e2e8f0; padding-bottom: 64px; }
.au-grads__container { width: min(1200px, 100% - 32px); margin: 0 auto; }
.au-grads__hero { position: relative; padding: 44px 0 56px; background: linear-gradient(135deg, #05612a 0%, #187d35 60%, #2a9a4b 100%); color: #fff; overflow: hidden; }
.au-grads__hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 39, .35), transparent 70%); pointer-events: none; }
.au-grads__hero h1 { margin: 6px 0 12px; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -.01em; }
.au-grads__hero p { max-width: 720px; margin: 0; font-size: 1.05rem; line-height: 1.6; color: #e3f4e8; }
.au-grads__crumbs { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-start !important; gap: 0 6px; font-size: .88rem; color: #cfe9d6; }
.au-grads__crumbs a { color: #fde68a; text-decoration: none; }
.au-grads__crumbs a:hover { text-decoration: underline; }
.au-grads__crumbs span { opacity: .7; }
.au-grads__count { display: inline-flex; gap: 6px; align-items: baseline; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .95rem; }
.au-grads__count b { font-size: 1.2rem; color: #fde68a; }

.au-grads__filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -26px 0 28px; position: relative; z-index: 2; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(15, 23, 42, .1); }
.au-grads__search { position: relative; flex: 1 1 280px; }
.au-grads__search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--g-muted); }
.au-grads__search input, .au-grads__filters select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--g-line); border-radius: 12px; font-size: .95rem; background: #fff; color: var(--g-ink); }
.au-grads__search input { padding-left: 40px; }
.au-grads__filters select { width: auto; min-width: 190px; flex: 0 1 auto; }
.au-grads__search input:focus, .au-grads__filters select:focus { outline: 0; border-color: var(--g-green); box-shadow: 0 0 0 3px rgba(24, 125, 53, .15); }

.au-grads__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.au-grad { display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--g-line); overflow: hidden; color: inherit !important; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.au-grad:hover, .au-grad:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); border-color: #bfe3c9; }
.au-grad:focus-visible { outline: 3px solid rgba(24, 125, 53, .35); outline-offset: 3px; }
.au-grad__photo { position: relative; aspect-ratio: 4 / 4; background: linear-gradient(160deg, #e8f5ec, #f8fafc); }
.au-grad__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s ease; }
.au-grad:hover .au-grad__photo img { transform: scale(1.04); }
.au-grad__initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; font-weight: 800; color: var(--g-green); }
.au-grad__year { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(13, 90, 37, .9); color: #fde68a; font-weight: 800; font-size: .85rem; }
.au-grad__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.au-grad__name { margin: 0; font-size: 1.12rem; font-weight: 800; line-height: 1.3; color: var(--g-ink); }
.au-grad__pos { margin: 0; color: var(--g-green); font-weight: 600; font-size: .92rem; line-height: 1.4; }
.au-grad__spec { margin: 0; color: var(--g-muted); font-size: .85rem; line-height: 1.4; }
.au-grad__spec i { color: var(--g-gold); margin-right: 4px; }
.au-grad__quote { margin: 6px 0 0; padding: 10px 0 0 14px; border-left: 3px solid var(--g-gold); color: #334155; font-style: italic; font-size: .92rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.au-grad__more { margin-top: auto; padding-top: 10px; color: var(--g-green); font-weight: 700; font-size: .9rem; }
.au-grad__more i { transition: transform .2s ease; }
.au-grad:hover .au-grad__more i { transform: translateX(4px); }
.au-grads__empty { padding: 40px 0; text-align: center; color: var(--g-muted); }

/* Страница выпускника */
.au-grads__hero--profile { padding-bottom: 40px; }
.au-gprofile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 18px; }
.au-gprofile__photo { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255, 255, 255, .9); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); background: #e8f5ec; }
.au-gprofile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.au-gprofile__info h1 { margin: 0 0 8px; }
.au-gprofile__pos { font-size: 1.15rem !important; font-weight: 600; color: #fde68a !important; margin-bottom: 14px !important; }
.au-gprofile__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; color: #e3f4e8; font-size: .95rem; }
.au-gprofile__facts i { color: #fde68a; margin-right: 6px; }
.au-gprofile__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.au-gprofile__link:hover { background: rgba(255, 255, 255, .26); }
.au-grads__content { max-width: 900px; padding-top: 36px; }
.au-gprofile__quote { position: relative; margin: 0 0 28px; padding: 26px 30px 26px 64px; border-radius: 20px; background: linear-gradient(160deg, #f0fdf4, #fff); border: 1px solid #d6efdd; font-size: 1.2rem; line-height: 1.6; font-style: italic; color: #14532d; }
.au-gprofile__quote::before { content: "\201C"; position: absolute; left: 20px; top: 6px; font-size: 4rem; line-height: 1; color: var(--g-gold); font-family: Georgia, serif; font-style: normal; }
.au-gprofile__bio { font-size: 1.04rem; line-height: 1.75; color: #1e293b; }
.au-gprofile__others { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--g-line); }
.au-gprofile__others h2 { margin: 0 0 18px; font-size: 1.4rem; font-weight: 800; color: var(--g-ink); }
.au-grads__grid--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.au-grads__grid--compact .au-grad__photo { aspect-ratio: 1 / 1; }
.au-gprofile__all { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-weight: 700; color: var(--g-green) !important; text-decoration: none !important; }

@media (max-width: 767.98px) {
    .au-grads__hero { padding: 28px 0 44px; }
    .au-grads__filters { margin-top: -22px; }
    .au-grads__filters select { flex: 1 1 100%; }
    .au-gprofile { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 18px; }
    .au-gprofile__photo { width: 160px; height: 160px; }
    .au-gprofile__facts { justify-content: center; }
    .au-gprofile__quote { padding: 22px 20px 22px 50px; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
    .au-grad, .au-grad__photo img { transition: none; }
}
