/* Alumni page — modern layout */
.alumni-page {
    background: linear-gradient(180deg, #f7f9f6 0%, #fff 220px);
}

.alumni-hero {
    padding: 2.5rem 0 2rem;
}

.alumni-hero .container {
    max-width: 960px;
}

.alumni-eyebrow {
    display: inline-block;
    font-family: var(--paraFont, "Source Sans 3", sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3d6b28;
    margin: 0 0 0.5rem;
}

.alumni-page-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--themeColor1, #b12723);
    margin: 0 0 1.25rem;
    line-height: 1.15;
}

.alumni-intro-card {
    background: #fff;
    border: 1px solid rgba(30, 90, 43, 0.12);
    border-left: 4px solid var(--themeColor1, #b12723);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 8px 28px rgba(34, 40, 69, 0.06);
}

.alumni-intro-card h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--themeColor2, #222845);
    margin: 0 0 0.75rem;
}

.alumni-intro-card p {
    font-family: var(--paraFont, "Source Sans 3", sans-serif);
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
    margin: 0;
    text-align: justify;
}

.alumni-grid-section {
    padding: 1rem 0 3.5rem;
}

.alumni-grid-section .container {
    max-width: 1200px;
}

.alumni-category-wrap {
    margin: 2.5rem 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(177, 39, 35, 0.15);
}

.alumni-category-wrap:first-child {
    margin-top: 0.5rem;
}

.alumni-category-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--themeColor2, #222845);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.alumni-category-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--themeColor1, #b12723);
    flex-shrink: 0;
}

.alumni-profile-col {
    margin-bottom: 1.25rem;
}

.alumni-profile-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    min-height: 130px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(34, 40, 69, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.alumni-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(30, 90, 43, 0.14);
}

.alumni-profile-card .card-image {
    width: 118px;
    min-width: 118px;
    max-width: 118px;
    margin: 0;
    overflow: hidden;
    background: #eef1ea;
}

.alumni-profile-card .card-image img {
    width: 100%;
    height: 100%;
    min-height: 130px;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(15%);
    transition: filter 0.3s ease, transform 0.35s ease;
}

.alumni-profile-card:hover .card-image img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.alumni-profile-card .card-content {
    flex: 1;
    padding: 1rem 1.15rem !important;
    display: flex;
    align-items: center;
}

.alumni-profile-card .card-content p {
    margin: 0;
    font-family: var(--paraFont, "Source Sans 3", sans-serif);
    font-size: 0.92rem;
    line-height: 1.65;
    color: #555;
}

.alumni-profile-card .card-content p a,
.alumni-profile-card .card-content p strong {
    display: block;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--themeColor1, #b12723) !important;
    text-decoration: none;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.alumni-profile-card .card-content p a:hover {
    color: var(--themeColor2, #222845) !important;
}

@media only screen and (max-width: 600px) {
    .alumni-hero {
        padding: 1.75rem 0 1.25rem;
    }

    .alumni-intro-card {
        padding: 1.15rem 1.2rem;
    }

    .alumni-profile-card {
        flex-direction: column;
        min-height: 0;
    }

    .alumni-profile-card .card-image {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 200px;
    }

    .alumni-profile-card .card-image img {
        min-height: 200px;
    }

    .alumni-profile-card .card-content {
        padding: 1rem !important;
    }
}
