/* Alumni News Page Styles */
.alumni-news-container {
    width: 100%;
    margin: 60px auto;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.alumni-news-header {
    text-align: center;
    margin-bottom: 50px;
}

.alumni-news-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.alumni-news-header p {
    font-size: 18px;
    color: #666;
}

.alumni-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 95%;
    margin: 0 auto;
}

.alumni-news-grid .news-card:nth-child(odd) {
    background: linear-gradient(135deg, #eef6ff, #f7fbff);
}

.alumni-news-grid .news-card:nth-child(even) {
    background: linear-gradient(135deg, #f5f5f5, #fafafa);
}

.news-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px; /* slightly taller */
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content h3 {
    font-size: 20px;
    color: #0b3c5d;
    margin-bottom: 12px;
}

/* Wrap paragraph and "View More" button */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 4px; /* small gap between paragraph and view more */
}

.text-content p {
    font-size: 16px;
    color: #444;
    line-height: 2.1;
    margin: 0;
    overflow: hidden;
}

.view-more {
    cursor: pointer;
    color: #1f4fd8;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.news-highlight {
    display: inline-block;
    padding: 6px 14px;
    background: #eaf2ff;
    color: #1f4fd8;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: auto; /* sticks to bottom */
}

/* Adjust container padding to align cards properly */
.alumni-news-container {
    margin-top: -165px;
    padding-top: 175px;
}
