﻿
body {
    background: #eef3ff;
    margin-top: 30px;
}

/* Tabs */
.tabs-container {
    text-align: center; /* ⭐ CENTER TABS */
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    background: #fff;
    color: #0d47a1;
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    margin-right: 8px;
}

    .tab-btn.active {
        background: #0d47a1;
        color: #fff;
    }

/* GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    justify-items: center; /* ⭐ CENTER EACH CARD */
}

@media(max-width:992px) {
    .cards-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:576px) {
    .cards-grid {
        grid-template-columns: repeat(1,1fr);
    }
}

/* CARD */
.enews-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: .25s ease;
    border: 1px solid #e3eaff;
    align-items: center;
}

    .enews-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    }

/* Thumbnail */
.enews-thumb {
    width: 100%;
    background: #f3f6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    /* AUTO full image, NO CROP, NO CUT */
    .enews-thumb img {
        width: 100%; /* full width */
        height: auto; /* auto height → full image visible */
        object-fit: contain; /* complete image without cropping */
        display: block;
    }
/* Bottom Box */
.enews-desc-box {
    padding: 14px;
    text-align: center;
    background: #f7f9ff;
    border-top: 1px solid #e3eaff;
}

/* Open Button */
.open-btn {
    padding: 6px 22px;
    background: #1976d2;
    color: #fff;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: .25s ease;
}

    .open-btn:hover {
        background: #0d47a1;
    }

.no-files {
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #c7d0e4;
    color: #666;
}


