/* ===== General content section styling ===== */
.content-section {
    padding: 10rem 0 4rem;
    background-color: #ffffff;
}

.content-section .mbr-section-title {
    color: #232323;
    margin-bottom: 2rem;
    text-align: center;
}

.content-section p {
    color: #232323;
    line-height: 1.7;
    text-align: justify;
    font-family: 'Liter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.content-section a {
    color: #ED463F;
}

.content-section a:hover {
    color: #c43630;
}

/* ===== Officers table ===== */
.officers-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.officers-table th {
    background-color: #ED463F;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-family: 'Liter', sans-serif;
    text-align: left;
}

.officers-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    font-family: 'Liter', sans-serif;
}

.officers-table tr:hover td {
    background-color: #FDEDEE;
}

.officers-table a {
    color: #ED463F;
    text-decoration: none;
}

.officers-table a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .officers-table td,
    .officers-table th {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* ===== Newsletter archive ===== */
.newsletter-section .accordion-item {
    border: none;
    margin-bottom: 0.5rem;
}

.newsletter-section .accordion-button {
    background-color: #ED463F;
    color: #ffffff;
    font-family: 'Liter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 4px !important;
}

.newsletter-section .accordion-button:not(.collapsed) {
    background-color: #ED463F;
    color: #ffffff;
    box-shadow: none;
}

.newsletter-section .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(237, 70, 63, 0.25);
}

.newsletter-section .accordion-button::after {
    filter: brightness(0) invert(1);
}

.newsletter-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border: 2px solid #3B6FB6;
    border-radius: 4px;
    color: #1a3a5c;
    font-family: 'Liter', sans-serif;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 80px;
    text-align: center;
}

.newsletter-link:hover {
    background-color: #3B6FB6;
    color: #ffffff;
    text-decoration: none;
}

/* ===== Gallery grid ===== */
.gallery-grid .gallery-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.gallery-grid .gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gallery-grid .gallery-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.gallery-grid .gallery-card .card-body {
    padding: 1rem;
}

.gallery-grid .gallery-card .card-title {
    font-family: 'Liter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #232323;
}

.gallery-grid .gallery-card .card-text {
    font-family: 'Liter', sans-serif;
    font-size: 0.875rem;
    color: #666;
}

.gallery-card-link {
    text-decoration: none;
    color: inherit;
}

.gallery-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.gallery-year-header {
    font-family: 'Liter', sans-serif;
    color: #ED463F;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3B6FB6;
}

/* ===== Standalone lightbox photos ===== */
.standalone-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 2rem 0;
}

.standalone-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.standalone-gallery img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 4px;
}

.standalone-gallery a:hover img {
    transform: scale(1.05);
}

/* ===== Monuments grid ===== */
.monuments-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

/* ===== Namesake photos grid ===== */
.namesake-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.namesake-photos img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== Events page ===== */
.event-card {
    border: none;
    border-left: 4px solid #ED463F;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.event-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 1rem;
    background-color: #FDEDEE;
    border-radius: 8px;
}

.event-date-block .event-month {
    font-family: 'Liter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ED463F;
    text-transform: uppercase;
}

.event-date-block .event-day {
    font-family: 'Liter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #232323;
}

.event-card .card-title {
    font-family: 'Liter', sans-serif;
    font-weight: 700;
    color: #232323;
}

.event-card .card-text {
    font-family: 'Liter', sans-serif;
    color: #555;
}

/* ===== Contact form ===== */
.contact-section .form-control,
.contact-section .form-select {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-family: 'Liter', sans-serif;
    transition: border-color 0.2s;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: #3B6FB6;
    box-shadow: 0 0 0 0.2rem rgba(59, 111, 182, 0.25);
}

.contact-section .form-label {
    font-family: 'Liter', sans-serif;
    font-weight: 500;
}

/* ===== Gallery sub-page titles ===== */
.content-section h1 {
    font-family: 'Liter', sans-serif;
    font-size: 1.75rem;
    line-height: 1.3;
    color: #232323;
    margin-bottom: 1.5rem;
}
