@charset "utf-8";
/* CSS Document - The Deanery School of Music */

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #1a1a2e;
    background-color: #ffffff;
    line-height: 1.6;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #1e2d5a;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #c0392b;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   LAYOUT CONTAINER
   ========================================= */
.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav {
    display: flex;
    align-items: center;
    padding: 0 40px;
    height: 90px;
    max-width: 1800px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
    text-decoration: none;
}

.nav-logo img {
    height: 70px;
    width: auto;
}

/* Fallback text logo if image not available */
.nav-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e2d5a;
}

.nav-logo-name {
    line-height: 1.2;
}

.nav-logo-name .the {
    font-size: 11px;
    font-weight: 400;
    color: #1e2d5a;
    letter-spacing: 0.05em;
    display: block;
    text-transform: uppercase;
}

.nav-logo-name .deanery {
    font-size: 26px;
    font-weight: 900;
    color: #1e2d5a;
    letter-spacing: 0.02em;
    display: block;
    line-height: 1;
}

.nav-logo-name .school {
    font-size: 10px;
    font-weight: 400;
    color: #1e2d5a;
    letter-spacing: 0.08em;
    display: block;
    text-transform: uppercase;
}

/* Nav links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
}

.nav-links li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1e2d5a;
    white-space: nowrap;
}

.nav-links > li > a:hover {
    color: #c0392b;
}

.nav-links > li > a .caret {
    font-size: 10px;
    margin-left: 4px;
    display: inline-block;
}

/* Dropdown menus */
.nav-links .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-top: 3px solid #1e2d5a;
    z-index: 100;
    list-style: none;
    padding: 8px 0;
}

.nav-links li:hover > .dropdown {
    display: block;
}

.nav-links .dropdown li a {
    display: block;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1e2d5a;
}

.nav-links .dropdown li a:hover {
    background-color: #f4f4f8;
    color: #c0392b;
}

/* Nav buttons */
.nav-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
    background-color: #c0392b;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #a93226;
    color: #ffffff;
}

.btn-secondary {
    background-color: #c0392b;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #a93226;
    color: #ffffff;
}

/* =========================================
   HERO / BANNER
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 30, 70, 0.35);
}

.hero-content {
    position: absolute;
    z-index: 2;
    background: rgba(30, 45, 90, 0.82);
    color: #ffffff;
    padding: 10px 30px;
    max-width: 680px;
    width: 90%;
    text-align: left;
    bottom:0%;
}

.hero-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero-content p {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
}

/* =========================================
   SECTION HEADINGS (gold divider style)
   ========================================= */
.section-header {
    text-align: center;
    padding: 60px 20px 30px;
    position: relative;
}

.section-header::before,
.section-header::after {
    content: '';
    display: block;
    height: 2px;
    background-color: #b8952a;
    width: 60%;
    margin: 0 auto;
}

.section-header::before {
    margin-bottom: 20px;
}

.section-header::after {
    margin-top: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1e2d5a;
}

/* =========================================
   UPCOMING EVENTS
   ========================================= */
.upcoming-events {
    padding: 0 20px 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.event-date {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 10px;
}

.event-name {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 14px;
    line-height: 1.15;
}

.event-detail {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
   
    color: #1e2d5a;
    line-height: 1.5;
}

.events-divider {
    display: block;
    height: 2px;
    background-color: #b8952a;
    width: 60%;
    margin: 30px auto;
}

/* =========================================
   PROGRAMS SECTION
   ========================================= */
.programs-section {
    padding: 20px 0 80px;
}

.programs-section .section-header {
    padding-bottom: 40px;
}

.programs-section .section-header h2 {
    color: #b8952a;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.program-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.program-card img {
    width: 100%;
    height: 250px;
    display: block;
}

.program-card-img-placeholder {
    width: 100%;
    height: 320px;
    background-color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

.program-card-body {
    background-color: #1e2d5a;
    color: #ffffff;
    padding: 30px 24px 40px;
    text-align: center;
    flex: 1;
}

.program-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
}

.program-card-body p {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
}

/* =========================================
   GENERIC PAGE CONTENT
   ========================================= */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.page-content h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 30px;
    border-bottom: 3px solid #b8952a;
    padding-bottom: 16px;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e2d5a;
    margin: 36px 0 14px;
    letter-spacing: 0.05em;
}

.page-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

.page-content ul, .page-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.page-content li {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 6px;
}

/* Contact form */
.contact-form {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: #333333;
    padding: 10px 14px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b8952a;
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    background-color: #eef6ec;
    border-left: 4px solid #3d7a3a;
    color: #2b5a29;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 15px;
}

.form-errors {
    background-color: #fbeaea;
    border-left: 4px solid #c0392b;
    color: #8c2a20;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 15px;
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =========================================
   EVENTS PAGE
   ========================================= */
.events-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.events-list h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e2d5a;
    text-align: center;
    margin-bottom: 10px;
}

.events-list .gold-rule {
    display: block;
    height: 2px;
    background-color: #b8952a;
    width: 60%;
    margin: 0 auto 50px;
}

.event-item {
    border-top: 2px solid #b8952a;
    padding: 36px 0;
}

.event-item:last-child {
    border-bottom: 2px solid #b8952a;
}

.event-item .event-item-date {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 8px;
}

.event-item .event-item-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 8px;
}

.event-item .event-item-sub {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 14px;
}

.event-item p {
    font-size: 14px;
    line-height: 1.75;
    color: #444444;
}

/* =========================================
   SUPPORT PAGE
   ========================================= */
.support-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.support-content h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e2d5a;
    margin-bottom: 10px;
    text-align: center;
}

.support-subtitle {
    text-align: center;
    font-size: 16px;
    font-style: italic;
    color: #b8952a;
    margin-bottom: 18px;
}

.support-content .gold-rule {
    display: block;
    height: 2px;
    background-color: #b8952a;
    width: 60%;
    margin: 0 auto 40px;
}

.support-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

.donate-box {
    background-color: #1e2d5a;
    color: #ffffff;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.donate-box h2 {
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.donate-box p {
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
}

.donate-note {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 24px 0 0;
}

.donate-note a {
    color: #ffffff;
}

.support-closing {
    text-align: center;
    font-style: italic;
    color: #1e2d5a;
    margin-top: 40px;
}

.eeo-statement {
    font-size: 12px;
    line-height: 1.7;
    color: #777777;
    margin-top: 24px;
}

.register-links {
    margin: 24px 0 32px;
}

@media (max-width: 600px) {
    .register-links {
        flex-direction: column;
    }
    .register-links .btn {
        text-align: center;
    }
}

/* =========================================
   VISIT PAGE
   ========================================= */
.visit-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.visit-content h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e2d5a;
    text-align: center;
    margin-bottom: 10px;
}

.visit-content .gold-rule {
    display: block;
    height: 2px;
    background-color: #b8952a;
    width: 60%;
    margin: 0 auto 40px;
}

.visit-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.visit-info-block h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e2d5a;
    border-bottom: 2px solid #b8952a;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.visit-info-block p, .visit-info-block address {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    font-style: normal;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #1e2d5a;
    color: #ffffff;
    padding: 50px 60px 28px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr 1fr 180px;
    gap: 40px;
    align-items: start;
}

/* Footer logo */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-logo-name .the {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
}

.footer-logo-name .deanery {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    display: block;
    line-height: 1;
}

.footer-logo-name .school {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
}

/* Footer contact */
.footer-contact h3 {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-contact address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
}

.footer-contact a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    line-height: 1.9;
    display: block;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.footer-social a:hover {
    color: #ffffff;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Footer nav */
.footer-nav h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-nav ul li a:hover {
    color: #ffffff;
}

/* Footer buttons */
.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
    padding-top: 4px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: right;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
}

/* =========================================
   HAMBURGER (mobile)
   ========================================= */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #1e2d5a;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .programs-grid {
        padding: 0 20px;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .visit-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 20px;
        height: 70px;
        flex-wrap: wrap;
    }
    .nav-toggle {
        display: block;
    }
    .nav-links, .nav-buttons {
        display: none;
        width: 100%;
    }
    .nav-links.open, .nav-buttons.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: #ffffff;
        padding: 10px 0 20px;
    }
    .nav-links > li > a {
        padding: 10px 20px;
    }
    .nav-buttons.open {
        flex-direction: row;
        padding: 10px 20px 20px;
        gap: 10px;
    }
    .hero {
        min-height: 400px;
    }
    .hero-content {
        padding: 28px 24px;
        transform: translateY(100px);
        margin: 20px;
        overflow:visible;
    }
    .hero-content h2 {
        font-size: 20px;
    }
    .event-name {
        font-size: 26px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer {
        padding: 40px 30px 24px;
    }
    .page-content,
    .events-list,
    .support-content,
    .visit-content {
        padding: 40px 20px 60px;
    }
}

/* =====================================================================
   Peaople page: FACULTY / STAFF / BOARD
   ===================================================================== */
.directory { max-width: 1100px; margin: 0 auto; padding: 60px 40px 40px; }
.directory > h1 {
    font-size: 32px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
    color: #1e2d5a; text-align: center; margin-bottom: 14px;
}
.directory .gold-rule { display: block; height: 2px; background-color: #b8952a; width: 60%; margin: 0 auto 30px; }
.directory-intro { text-align: center; max-width: 680px; margin: 0 auto; font-size: 15px; line-height: 1.8; color: #444444; }

/* instrument / sub-group header — left-aligned engraved nameplate */
.group-title { display: flex; align-items: center; gap: 22px; margin: 0 0 26px; }
.group-title h3 { font-size: 19px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: #1e2d5a; white-space: nowrap; }
.group-title .rule { flex: 1; height: 2px; background-color: #b8952a; }
.group-title .count { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b8952a; white-space: nowrap; }

.group { max-width: 980px; margin: 0 auto 54px; padding: 0 40px; }

/* a single person row */
.person { display: grid; grid-template-columns: 200px 1fr; gap: 36px; padding: 32px 0; }
.person + .person { border-top: 1px solid #e8e8e8; }

.person-photo { width: 200px; height: 260px; background-color: #1e2d5a; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .initials { font-size: 50px; font-weight: 900; color: #b8952a; letter-spacing: 0.04em; }

.person-name { font-size: 24px; font-weight: 900; color: #1e2d5a; letter-spacing: 0.01em; margin-bottom: 6px; }
.person-mode { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b8952a; margin-bottom: 16px; }
.person-bio p { font-size: 15px; line-height: 1.8; color: #333333; margin-bottom: 14px; }
.person-bio p:last-child { margin-bottom: 0; }
.person-philosophy { border-left: 3px solid #b8952a; padding-left: 18px; margin-top: 16px; font-style: italic; color: #1e2d5a; font-size: 15px; line-height: 1.7; }

/* leadership rows (slightly grander, gold separators) */
.leader { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 44px 0; }
.leader + .leader { border-top: 2px solid #b8952a; }
.leader .person-photo { width: 220px; height: 286px; }
.leader-role { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b8952a; margin-bottom: 6px; }
.leader-name { font-size: 28px; font-weight: 900; color: #1e2d5a; margin-bottom: 18px; }
.archive-callout { background-color: #1e2d5a; color: #ffffff; padding: 30px 32px; margin-top: 26px; }
.archive-callout .label { font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: #b8952a; display: block; margin-bottom: 12px; }
.archive-callout p { color: rgba(255,255,255,0.9); font-style: italic; font-size: 15px; line-height: 1.7; margin: 0; }
.credit { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #999999; margin-top: 12px; }
.archive-callout .credit { color: rgba(255,255,255,0.5); }

/* board */
.board { max-width: 980px; margin: 0 auto; padding: 0 40px 20px; }
.board-officers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 52px; }
.officer-card { border: 1px solid #e8e8e8; border-top: 4px solid #b8952a; padding: 28px 22px; text-align: center; }
.officer-role { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b8952a; margin-bottom: 12px; }
.officer-name { font-size: 20px; font-weight: 900; color: #1e2d5a; line-height: 1.2; }
.board-directors { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 30px; margin: 0 0 52px; padding: 0; }
.board-directors li { font-size: 18px; font-weight: 700; color: #1e2d5a; padding-bottom: 12px; border-bottom: 1px solid #e8e8e8; }
.board-honors { display: flex; flex-wrap: wrap; gap: 50px; }
.honor-role { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b8952a; margin-bottom: 6px; }
.honor-name { font-size: 20px; font-weight: 900; color: #1e2d5a; }
.honor-name small { font-size: 14px; font-weight: 400; font-style: italic; color: #888888; }

/* responsive (mirrors your site's breakpoints) */
@media (max-width: 900px) {
    .board-officers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { padding: 0 20px; height: 70px; flex-wrap: wrap; }
    .nav-toggle { display: block; }
    .nav-links, .nav-buttons { display: none; width: 100%; }
    .nav-links.open, .nav-buttons.open { display: flex; flex-direction: column; align-items: flex-start; background: #ffffff; padding: 10px 0 20px; }
    .nav-links.open .dropdown { position: static; box-shadow: none; border-top: none; padding: 0 0 0 16px; }
    .nav-links.open li:hover > .dropdown { display: block; }
    .nav-buttons.open { flex-direction: row; padding: 10px 20px 20px; gap: 10px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer { padding: 40px 30px 24px; }

    .directory { padding: 40px 20px 20px; }
    .group { padding: 0; }
    .person, .leader { grid-template-columns: 1fr; gap: 18px; }
    .person-photo, .leader .person-photo { width: 160px; height: 208px; }
    .board { padding: 0 20px 20px; }
    .board-officers { grid-template-columns: 1fr; }
    .board-honors { gap: 30px; }
}
/* =========================================
   RENTAL GALLERY
   ========================================= */
.rental-gallery, .photo-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; gap: 24px; margin: 30px 0 10px; }
.rental-gallery img, .photo-gallery img { display: block; width: 100%; height: 260px; object-fit: cover; justify-self: center; }

@media (max-width: 768px) {
    .rental-gallery, .photo-gallery { grid-template-columns: 1fr; gap: 18px; }
    .rental-gallery img, .photo-gallery img { height: 220px; }
}

/* =========================================
   RESPONSIVE FIXES
   ========================================= */

/* Nav: the horizontal links + Donate button need ~1030px, so the
   collapsed menu has to take over well before the old 768px point. */
@media (max-width: 1100px) {
    .nav { flex-wrap: wrap; }
    .nav-toggle { display: block; }
    .nav-links, .nav-buttons { display: none; width: 100%; }
    .nav-links.open, .nav-buttons.open { display: flex; flex-direction: column; align-items: flex-start; background: #ffffff; padding: 10px 0 20px; }
    .nav-links.open .dropdown { position: static; box-shadow: none; border-top: none; padding: 0 0 0 16px; }
    .nav-links.open li:hover > .dropdown { display: block; }
    .nav-buttons.open { flex-direction: row; padding: 10px 20px 20px; gap: 10px; }
}

/* Group headings on People: the nowrap title + count cannot share one
   line on a phone, so let them wrap and drop the rule to its own row. */
@media (max-width: 600px) {
    .group-title { flex-wrap: wrap; gap: 6px 14px; }
    .group-title h3 { white-space: normal; }
    .group-title .count { white-space: normal; }
    .group-title .rule { flex: 1 1 100%; order: 3; }
}

/* Footer credit link — inherits the muted footer tone, brightens on hover
   (default link blue is unreadable on the dark footer). */
.footer-bottom a { color: inherit; text-decoration: underline; }
.footer-bottom a:hover { color: #ffffff; }

/* Faculty groups sat flush against the screen edge on phones. */
@media (max-width: 768px) {
    .group { padding: 0 20px; }
}

/* =========================================
   VISUAL POLISH — SPACING & ALIGNMENT
   ========================================= */

/* 1. Home: removing the event left ~170px of dead space before Programs.
   .upcoming-events is index.php only; the sibling selector cannot match
   on Programs.php, which has no "Upcoming Events" section. */
.upcoming-events { padding-bottom: 0; }
section[aria-label="Upcoming Events"] + .programs-section { padding-top: 0; }

/* 3. Scholarships (Programs.php only): close the gap above the heading
   and stop the application button colliding with the footer. */
.scholarships-section .section-header { padding-top: 0; }
.scholarships-section { padding-bottom: 80px; }

/* 4. Support.php only: separate the supporters block from Register. */
.donors-section { margin-bottom: 60px; }

/* 5. Board officers (People.php only): 3 cards, 3 columns; cards sit at
   the top rather than stretching; body copy left-aligned for legibility
   while name and role stay centred via .officer-card. */
.board-officers { grid-template-columns: repeat(3, 1fr); align-items: start; }
.officer-title { text-align: left; }

/* 6. Executive committee (People.php only): items stretched to the row
   height, so short entries had their underline orphaned far below the
   text. Hugging the content removes that and tightens the rows. */
.board-directors { align-items: start; row-gap: 10px; }
.board-directors li { font-weight: 400; }
.board-directors li strong { font-weight: 900; }

/* 7. Emeritus block (People.php only): clear the footer. */
.board { padding-bottom: 80px; }

/* 8. Programs intro (Programs.php only — index.php has no direct-child
   h3): match the .programs-grid container so the edges line up. */
.programs-section > h3 { max-width: 1300px; margin-left: auto; margin-right: auto; padding: 0 40px; }
@media (max-width: 1100px) {
    .programs-section > h3 { padding: 0 20px; }
}

/* Re-assert the officer-grid collapse: the 3-column rule above is
   declared after the original breakpoints, so it would otherwise win
   on phones and tablets. */
@media (max-width: 900px) {
    .board-officers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .board-officers { grid-template-columns: 1fr; }
}

/* =========================================
   CONTACT CTA (Rental)
   ========================================= */

/* A single clickable row: circular icon + one line of text, linking
   straight to email rather than routing through the contact page. */
.contact-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    background-color: #f4f4f8;
    padding: 28px 40px;
    margin: 40px 0;
    color: #1e2d5a;
    transition: background-color 0.2s ease;
}

.contact-cta:hover,
.contact-cta:focus-visible {
    background-color: #e9e9f2;
    color: #1e2d5a;
}

.contact-cta-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #1e2d5a;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.contact-cta:hover .contact-cta-icon {
    background-color: #b8952a;
}

.contact-cta-icon svg {
    width: 32px;
    height: 32px;
}

.contact-cta-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .contact-cta { gap: 18px; padding: 22px 24px; }
    .contact-cta-icon { width: 56px; height: 56px; }
    .contact-cta-icon svg { width: 26px; height: 26px; }
    .contact-cta-text { font-size: 17px; }
}
