/* default.css */
* {
    margin: 0;
    padding: 0;
    line-height: 1; /* Reset line height */
    font-size: 100%; /* Reset font-size */
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

.logo {
    background-image: url('images/logo.png');
}

section {
    padding: 20px 75px;
}

/* Utility classes */
.full-width {
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


header, .headline, footer {
    width: 100vw; /* Use the full viewport width */
    margin-left: calc(-50vw + 50%); /* Center and break out of max-width */
}

.header-bg {
    background: url('images/banner.jpg');
    background-position: center;
}
.headline {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: flex-start;
    height: 275px;
    color: white;
    text-align: center;
    text-shadow:3px 3px #333;
    max-width:100%; 
    margin:auto;
}

.headline h1 {
    font-size: 2.5rem;
    border-bottom: 5px solid white;
}

.headline p {
    font-size: 1.75rem;
    margin: 0;
}
.one-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.one-column .text, .one-column .image {
    flex: 1 1 95%; 
    min-width: 300px; /* Prevent columns from becoming too narrow on smaller screens */
    background-color: #fff;
    padding: 15px;
    margin-bottom:25px;
    border: 1px solid #ddd;
}

.one-column p {
    padding:10px 0;
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.two-column .text, .two-column .image {
    flex: 1 1 45%; /* Each column takes about half the width */
    min-width: 300px; /* Prevent columns from becoming too narrow on smaller screens */
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
}

/* ✅ Admin buttons for member actions */


.triple-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.triple-column .text, .triple-column .image {
    flex: 1 1 30%; 
    min-width: 300px; /* Prevent columns from becoming too narrow on smaller screens */
    background-color: #fff;
    padding: 15px;
    margin-bottom:25px;
    border: 1px solid #ddd;
}

.triple-column p {
    padding:10px 0;
}

/* ✅ Ensure all admin section headings look the same */
.triple-column .text h3 {
    margin-bottom: 10px;
}

/* ✅ Admin buttons for member actions */
.triple-column .button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.triple-column button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    transition: 0.3s ease;
    width: 45%; /* ✅ Ensures full width inside column */
}


/* ✅ Adds slight spacing to text inside admin panels */
.triple-column p {
    padding: 10px 0;
}

.quad-column {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quad-column .text, .quad-column .image {
    flex: 1 1 22%; 
    min-width: 200px; /* Prevent columns from becoming too narrow on smaller screens */
    background-color: #fff;
    padding: 15px;
    margin-bottom:25px;
    border: 1px solid #ddd;
}

.quad-column p {
    padding:5px 0;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    justify-content: center;
    align-items: center;
    display: flex; /* Enable flexbox */
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}


.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

a[target="_blank"]::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('images/new-window.png');
    background-size: cover;
    margin-left: 2px;
    margin-right:6px;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    border: 1px solid #ccc;
    background-color: #f4f4f4;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #e0e0e0;
}

.pagination a.current {
    background-color: #367C1A;
    color: white;
    font-weight: bold;
    border-color: #367C1A;
}
