/* Rank Holders 2025-2026 — Yeldo Mar Baselios College */
/* Site colors: #24353b, #c43a47, #5a5a5a, #646567, #eee, #e5e5e5, #404d8f */

.rank-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(36, 53, 59, 0.94) 0%, rgba(64, 77, 143, 0.88) 100%),
                url(../images/banners/INDEX-BANNER-02.jpg) no-repeat center center / cover;
}
.rank-hero .container { position: relative; z-index: 2; }
.rank-hero .hero-eyebrow {
    font-size: 12px;
    color: #c43a47;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.rank-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    color: #fff;
    text-transform: none;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}
.rank-hero .hero-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    font-style: italic;
    margin: 0;
}

.rank-content {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    margin-top: -35px;
}
.rank-welcome-card,
.rank-content-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 40px 45px;
    margin-bottom: 30px;
}
.rank-welcome-card {
    border-left: 5px solid #c43a47;
}
.rank-content-block {
    border-left: 4px solid #24353b;
}
.rank-content-block--accent {
    border-left-color: #404d8f;
    background: linear-gradient(145deg, #fafbfc 0%, #fff 100%);
}
.rank-welcome-card p,
.rank-content-block p {
    font-size: 15px;
    line-height: 1.9;
    color: #5a5a5a;
    margin-bottom: 16px;
}
.rank-welcome-card p:last-child,
.rank-content-block p:last-child {
    margin-bottom: 0;
}
.rank-content-block h2,
.rank-content-block h3 {
    font-size: 22px;
    color: #24353b;
    margin-bottom: 18px;
    text-transform: none;
    font-weight: 600;
}
.rank-content-block h2 em,
.rank-welcome-card strong {
    color: #c43a47;
    font-style: normal;
    font-weight: 600;
}

.rank-students-section {
    background: #f7f8f9;
    padding: 55px 0 65px;
}
.rank-students-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}
.rank-students-section .section-title h2 {
    font-size: 28px;
    color: #24353b;
    margin-bottom: 8px;
    text-transform: none;
}
.rank-students-section .section-title p {
    font-size: 15px;
    color: #646567;
    margin: 0;
}

.rank-holders-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.rank-holder-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 16px 20px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.rank-holder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.11);
}
.rank-holder-card figure {
    margin: 0 auto 14px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #eee;
}
.rank-holder-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rank-holder-card .rank-badge {
    display: inline-block;
    background: #c43a47;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.rank-holder-card h3 {
    font-size: 14px;
    color: #24353b;
    margin: 0 0 6px;
    line-height: 1.35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.rank-holder-card .rank-course {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    color: #646567;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.rank-holders-empty {
    text-align: center;
    font-size: 15px;
    color: #646567;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px dashed #e5e5e5;
}

.rank-congrats {
    text-align: center;
    padding: 45px 40px;
    background: linear-gradient(145deg, #24353b 0%, #404d8f 100%);
    border-radius: 12px;
    color: #fff;
    margin-top: 10px;
}
.rank-congrats h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
    text-transform: none;
}
.rank-congrats p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 1199px) {
    .rank-holders-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 991px) {
    .rank-holders-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .rank-holders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .rank-welcome-card,
    .rank-content-block {
        padding: 28px 24px;
    }
}
@media (max-width: 479px) {
    .rank-holders-grid {
        grid-template-columns: 1fr;
    }
}
