/* GENERAL STYLES */
:root {
    --primary: #1f4e79;
    --primary-dark: #163a5c;
    --secondary: #f5f8fb;
    --accent: #4f86c6;
    --text: #2f3a45;
    --light-text: #66707a;
    --white: #ffffff;
    --border: #d9e1e8;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--primary-dark);
}

/* HEADER */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo {
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 80px;
}

.header-logo img {
    max-height: 150px;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
}

.header-title {
    flex: 1;
    text-align: right;
}

.header-title h1 {
    margin: 0;
    color: var(--primary);
    font-size: 2rem;
    line-height: 1.2;
}

/* NAVIGATION */
nav {
    background-color: var(--primary);
    padding: 0.55rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 6px 0;
    display: inline-block;
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: #dbe9f6;
}

/* SECTIONS */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
}

h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

h2 {
    color: var(--primary);
    margin: 1.5rem 0;
}

h3 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-left: 20px;
    margin-bottom: 1rem;
}

/* IMAGE PLACEHOLDERS */
.img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #eee;
    /* border: 2px dashed #ccc; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;   
    display: block;
}

.main-hero-img {
    width: 100%;
    height: 350px;
}

.portrait-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #d1d1d1;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.portrait-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* GRIDS */
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}


.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* MEMBER CARDS */
.member-card {
    text-align: center;
    padding: 10px;
    background: var(--secondary);
    border-radius: 5px;
}

.name {
    display: block;
    font-weight: bold;
    color: var(--primary);
    font-size: 0.95rem;
}

.role {
    display: block;
    font-size: 0.8rem;
    color: var(--light-text);
}

/* MEETINGS */
.meeting-entry {
    margin-bottom: 40px;
    padding: 20px;
    background: #fcfdff;
    border: 1px solid var(--border);
    box-sizing: border-box;
    overflow: hidden;
}

.past-title {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.small-text {
    font-size: 0.85rem;
}

/* FOOTER */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 30px;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-logo {
        justify-content: center;
    }

    .header-title {
        text-align: center;
    }

    .header-title h1 {
        font-size: 1.5rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li a {
        margin: 0 10px;
    }
}