:root {
    --primary-color: #d32f2f; /* Red from the logo */
    --secondary-color: #1976d2; /* Blue from the logo */
    --dark-color: #1c1c1c; /* Dark background */
    --light-color: #ffffff; /* White text */
    --gray-color: #b0bec5; /* Subtle gray */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
}

.header {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    padding: 20px;
    text-align: center;
    position: relative;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header img {
    max-width: 160px;
}
/* Reduce size of logo on mobile only - v1.65 */
@media (max-width: 768px) {
    .header img {
        max-width: 130px; /* Adjust as needed */
    }
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 60px;
    background: none;
    border: none;
    color: var(--light-color);
    padding: 25px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

.nav-menu li {
    margin: 10px 15px;
}

.nav-menu li a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--dark-color);
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }
}

.footer {
    background: var(--primary-color);
    padding: 15px;
    font-size: 0.9em;
    color: var(--light-color);
    text-align: center;
}

.footer nav ul {
    justify-content: center;
    display: flex;
    padding: 0;
}

.footer nav ul li {
    list-style: none;
    margin: 0 10px;
}

.footer nav ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 12px;
}
@media (max-width: 768px) {
    .footer nav ul {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center the links */
    }

    .footer nav ul li {
        margin: 5px 0; /* Add spacing between links */
    }
}
/* Restore Desktop Navigation */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
    }
}

/* Content Area Styling */
.content {
    background-color: var(--light-color);
    width: 90%;
    max-width: 1000px; /* Updated from 800px for wider desktop layout */
    padding: 30px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #000;
}

@media (min-width: 1024px) {
    .latest-posts-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two-column layout for desktop */
        gap: 20px;
    }
}

@media (max-width: 1023px) {
    .latest-posts-list {
        display: block; /* Keep single column for tablets & mobile */
    }
}

/* Heading Style */
h1 {
    color: var(--secondary-color);
    text-align: center;
}

/* LATEST POSTS on entry page */
.latest-posts-container {
    max-width: 80%;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.latest-posts-title a {
    text-decoration: none;
    color: #0073e6;
    font-weight: bold;
}

.latest-posts-title a:hover {
    color: #0055b3;
    text-decoration: underline;
}

.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-posts-list li {
    margin-bottom: 12px;
    font-size: 1.1em;
    line-height: 1.6;
}

.latest-posts-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.latest-posts-list a:hover {
    color: #0073e6;
}

.post-date {
    font-size: 0.9em;
    color: #777;
    margin-left: 10px;
}

.post-description {
    font-size: 0.65em;
    color: #666;
    margin-top: 4px;
    line-height: 1.3;
}

.post-thumbnail {
    width: 100px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.post-category {
    display: block;
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}
.mission-text {
    font-size: 1.3em; /* Ensures larger, bold text */
    font-weight: bold;
    color: var(--secondary-color); /* Keeps consistent blue color */
    display: block;
    margin: 15px 0;
}

.important-text {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--secondary-color); /* Ensures blue text */
    background: rgba(255, 235, 59, 0.2); /* Light yellow background */
    padding: 10px;
    border-left: 5px solid #ffeb3b; /* Adds yellow left accent */
    display: block;
    margin: 15px 0;
}
