/* --- BOXES: Shared Styles --- */
.info-box,
.event-box,
.contact-box,
.news-box,
.content-boxes
.index-box {
    box-sizing: border-box;
    padding: 25px;
    border-radius: 10px;
    background-color: #ace1af;
    border: 1px solid #155923;
    box-shadow: 0 2px 6px rgba(0, 51, 102, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-box:hover,
.event-box:hover,
.contact-box:hover,
.news-box:hover,
.content-boxes:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.5);
}

/* --- GRID CONTAINERS PER PAGE --- */

/* INDEX PAGE: 4 boxes per row */
.index-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.index-boxes .index-box {
    flex: 1 1 23%;   /* roughly 4 per row */
    max-width: 280px;
}

/* INFO PAGE: 3 boxes per row */
.info-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.info-boxes .info-box {
    flex: 1 1 32%;   /* roughly 3 per row */
    max-width: 370px;
}

/* EVENTS PAGE: flexible — adjust to desired number of boxes per row */
.event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.event-grid .event-box {
    flex: 1 1 30%;   /* 3 per row, adjust if needed */
    max-width: 370px;
}

/* CONTACT PAGE: typically 2-3 boxes */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.contact-grid .contact-box {
    flex: 1 1 32%;
    max-width: 370px;
}

/* NEWS PAGE: usually vertical stack */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- RESPONSIVE STACKING --- */
@media (max-width: 900px) {
    .info-box,
    .event-box,
    .contact-box,
    .news-box,
    .index-box {
        flex: 1 1 100%;
        max-width: 90%;
    }
}

/* --- Container --- */
/*.container {
    max-width: 1200px;       /* maximum width of content */
    margin: 20px auto;           /* center horizontally */
    padding: 20px;            /* spacing inside container */
    box-sizing: border-box;   /* include padding in width */
}*/

/* in global.css */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px;
}


/* --- News list wrapper --- */
.news-list {
    display: flex;
    flex-direction: column;   /* stack news items vertically */
    gap: 20px;                /* spacing between news boxes */
}

/* --- Individual news boxes --- */
.news-box {
    box-sizing: border-box;
    padding: 25px;
    border-radius: 10px;
    background-color: #ace1af;   /* info/news box color */
    border: 1px solid #155923;
    box-shadow: 0 2px 6px rgba(0, 51, 102, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional hover effect */
.news-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

/* --- News meta (author/date) --- */
.news-meta {
    font-size: 0.9rem;
    color: #155923;
    margin-bottom: 10px;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .news-box {
        padding: 20px;
    }

    .news-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .news-box {
        padding: 15px;
    }

    .news-meta {
        font-size: 0.8rem;
    }
}

/* --- Images inside news boxes --- */
.news-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}




