
/* General page styling */
body {
    font-family: "Times New Roman", serif;
    width: 90%;
    margin: 0 auto;
    background: #fff;
    color: #000;
}

/* Page header */
.header {
    text-align: center;
    margin: 20px 0;
}

.header h1 {
    color: #d4941d;
    margin: 0;
}

/* Horizontal line */
hr {
    border: none;
    height: 2px;
    background: #666;
}

/* Navigation menu */
#menu {
    width: 100%;
    background: #3f5068;
    margin: 0 0 25px 0;
}

#menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu li {
    margin: 0;
}

#menu a {
    display: block;
    padding: 14px 24px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    border-right: 1px solid #546984;
}

#menu a:hover {
    background: #e19a20;
}

#menu a.current {
    background: #d8a818;
}

/* Main content */
#content {
    padding: 10px 20px;
    line-height: 1.6;
}

/* Section headings */
#content h2,
#content h3 {
    color: #EF8A1C;
}

#content p {
    text-align: justify;
}

footer {
    margin-top: 40px;
    padding: 12px 0;
    border-top: 1px solid #ddd;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.important-dates {
    width: 100%;
    max-width: 750px;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

.important-dates td {
    border: 1px solid #ccc;
    padding: 12px 16px;
    text-align: center;
}

.important-dates tbody tr:nth-child(even) {
    background-color: #f2f4f7;
}

/* =========================================
   GENERAL IMAGE GRID WITH CAPTIONS
   ========================================= */

.image-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

/* Number of columns */
.image-grid.cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.image-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-grid.cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.image-grid.cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Individual image and caption */
.image-item {
    margin: 0;
    text-align: center;
    min-width: 0;
}

.image-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin: 0 auto;
}

.image-item figcaption {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.4;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .image-grid.cols-4,
    .image-grid.cols-5,
    .image-grid.cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #menu a {
        padding: 12px 14px;
    }
}

@media (max-width: 500px) {
    .image-grid.cols-2,
    .image-grid.cols-3,
    .image-grid.cols-4,
    .image-grid.cols-5,
    .image-grid.cols-6 {
        grid-template-columns: 1fr;
    }

    #content {
        padding: 10px 5px;
    }
}
