/* =========================================
   APSA India - Press Release (press-release.css)
   ========================================= */

/* ---- Press Section ---- */
.press-section {
    padding: 70px 0;
    background-color: var(--white);
}

/* ---- Press Group (date) ---- */
.press-group {
    margin-bottom: 60px;
}

.press-group:last-child {
    margin-bottom: 0;
}

.press-group__date {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    margin-bottom: 0;
}

/* ---- Press Grid ---- */
.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.press-item {
    position: relative;
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
}

.press-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    transform: translateY(-3px);
}

.press-item img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.press-item__page {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-red);
    padding: 6px 0 8px;
    background: var(--white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---- Lightbox ---- */
.press-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.press-lightbox.open {
    display: flex;
}

.press-lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
}

.press-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.press-lightbox__close:hover {
    color: var(--primary-red);
}

.press-lightbox__prev,
.press-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(155,1,1,0.7);
    color: var(--white);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.press-lightbox__prev { left: 18px; }
.press-lightbox__next { right: 18px; }

.press-lightbox__prev:hover,
.press-lightbox__next:hover {
    background: var(--primary-red);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .press-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .press-grid { grid-template-columns: 1fr 1fr; }
}
