/* ======================================================
   EVENT GRID – 4 COLUMN (RESPONSIVE)
====================================================== */

.award-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Desktop / Laptop */
@media (max-width: 1280px) {
    .award-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .award-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .award-grid {
        grid-template-columns: 1fr;
    }
}


/* ======================================================
   EVENT CARD
====================================================== */

.award-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease;
}

.award-card:hover {
    box-shadow: 0 28px 65px rgba(0,0,0,.18);
}


/* ======================================================
   IMAGE (EQUAL HEIGHT)
====================================================== */

.award-thumb {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.award-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
    transition: transform .35s ease;
}

.award-card:hover .award-thumb img {
    transform: scale(1.06);
}

/* Responsive height tuning */
@media (max-width: 1024px) {
    .award-thumb {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .award-thumb {
        height: 200px;
    }
}


/* ======================================================
   CARD CONTENT
====================================================== */

.award-content {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* ======================================================
   TITLE + DATE ROW
====================================================== */

.award-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* Title */
.award-title {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

/* Date (right aligned) */
.award-date {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    margin-top: 2px;
}

/* Excerpt */
.award-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Hover polish */
.award-card:hover .award-title {
    color: #0284c7;
}


/* ======================================================
   LIGHTBOX
====================================================== */

#award-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

#award-lightbox.open {
    display: block;
}

#award-lightbox .lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
}

#award-lightbox .lb-image {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 90vw;
    max-height: 90vh;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0,0,0,.6);
}

/* Controls */
#award-lightbox button {
    position: fixed;
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    font-size: 36px;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 1000000;
}

.lb-close {
    top: 20px;
    right: 24px;
}

.lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
