/* ------------------------------------------------------------------
   Achievements: year filter bar + framed achievement images
   Used by: students-achievement.php and schools-achievement.php (all locations)
   The year dropdown pill itself (.year-select) is in gallery-filter.css
   ------------------------------------------------------------------ */

.year-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.year-filter-empty {
    text-align: center;
    padding: 30px 0;
}

/* Achievement frame */
.awardpic {
    text-align: center;
}

.awardpic::after {
    content: '';
    display: block;
    z-index: 8;
    width: 100%;
    height: 100%;
    background-image: url(https://www.cpgoenkainternationalschool.com/images/achivement-frame.webp);
    position: absolute;
    top: 0;
    background-size: cover;
    background-position: center;
}

.awardpic img {
    min-height: 439px;
    width: 78%;
    object-position: top;
}
