/* --- Meeting Dates Page --- */
.meetings-section {
    padding: 80px 32px 90px;
    background-color: #0e0e0e;
}

.meetings-container {
    max-width: 1040px;
    margin: 0 auto;
}

/* Next meeting feature */
.next-meeting {
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 1px solid rgba(229, 169, 60, 0.4);
    background: linear-gradient(135deg, rgba(229, 169, 60, 0.08), rgba(22, 22, 22, 0.6) 55%);
    margin-bottom: 70px;
}

.next-meeting-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    border-right: 1px solid rgba(229, 169, 60, 0.3);
    font-family: 'Cinzel', Georgia, serif;
    color: #e5a93c;
    text-transform: uppercase;
}

.next-meeting-month { font-size: 1rem; letter-spacing: 0.3em; }
.next-meeting-day { font-size: 4.4rem; line-height: 1; font-weight: 600; margin: 6px 0; color: #ffffff; }
.next-meeting-year { font-size: 0.85rem; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.55); }

.next-meeting-body {
    padding: 36px 40px;
}

.next-meeting-eyebrow {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #e5a93c;
    display: block;
    margin-bottom: 10px;
}

.next-meeting-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin: 0 0 8px;
}

.next-meeting-countdown {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 14px;
    min-height: 1em;
}

.next-meeting-venue {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 26px;
}

.next-meeting-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Annual rhythm strip */
.rhythm {
    text-align: center;
    margin-bottom: 70px;
}

.rhythm-heading,
.meeting-year-head h2 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 14px;
    font-weight: 600;
}

.rhythm-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    margin: 0 auto 30px;
}

.rhythm-text strong { color: #ffffff; font-weight: 500; }

.rhythm-strip {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
    max-width: 720px;
}

.rhythm-month {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.85rem;
    padding: 14px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
}

.rhythm-month.is-meeting {
    border-color: rgba(229, 169, 60, 0.55);
    background: rgba(229, 169, 60, 0.12);
    color: #e5a93c;
    font-weight: 600;
}

/* Year grids */
.meeting-year {
    margin-bottom: 60px;
}

.meeting-year-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.meeting-year-head h2 { margin: 0; }

.meeting-year-tag {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e5a93c;
    border: 1px solid rgba(229, 169, 60, 0.5);
    padding: 4px 10px;
}

.meeting-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.meeting-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(22, 22, 22, 0.6);
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
    scroll-margin-top: 100px;
}

.meeting-card:hover { border-color: rgba(229, 169, 60, 0.5); transform: translateY(-2px); }

.meeting-weekday {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.meeting-day {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.1;
    color: #ffffff;
    margin: 4px 0;
}

.meeting-month {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.meeting-status {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 10px;
    min-height: 1em;
    color: rgba(255, 255, 255, 0.4);
}

.meeting-card.is-past { opacity: 0.42; }
.meeting-card.is-past:hover { transform: none; border-color: rgba(255, 255, 255, 0.12); }

.meeting-card.is-next {
    border-color: #e5a93c;
    background: rgba(229, 169, 60, 0.1);
}

.meeting-card.is-next .meeting-day { color: #e5a93c; }
.meeting-card.is-next .meeting-status { color: #e5a93c; font-weight: 600; }

/* Notes */
.meetings-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.meetings-note {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 30px 30px 28px;
    background: rgba(22, 22, 22, 0.6);
}

.meetings-note h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 12px;
}

.meetings-note p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 16px;
}

.meetings-note a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e5a93c;
    text-decoration: none;
}

.meetings-note a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
    .meeting-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .meetings-section { padding: 56px 16px 64px; }
    .next-meeting { grid-template-columns: 1fr; }
    .next-meeting-date {
        flex-direction: row;
        gap: 14px;
        padding: 22px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(229, 169, 60, 0.3);
    }
    .next-meeting-day { font-size: 3rem; margin: 0; }
    .next-meeting-body { padding: 26px 22px; }
    .next-meeting-title { font-size: 1.3rem; }
    .next-meeting-actions .callout-btn { flex: 1 1 100%; text-align: center; }
    .rhythm-strip { gap: 3px; }
    .rhythm-month { font-size: 0.72rem; padding: 10px 0; }
    .meeting-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .meetings-notes { grid-template-columns: 1fr; }
}

/* --- Light Theme --- */
html[data-theme="light"] .meetings-section { background-color: #fbf9f4; }

html[data-theme="light"] .next-meeting {
    border-color: rgba(181, 124, 23, 0.45);
    background: linear-gradient(135deg, rgba(181, 124, 23, 0.1), #ffffff 55%);
}
html[data-theme="light"] .next-meeting-date { border-color: rgba(181, 124, 23, 0.3); color: #9a6b15; }
html[data-theme="light"] .next-meeting-day,
html[data-theme="light"] .next-meeting-title,
html[data-theme="light"] .rhythm-heading,
html[data-theme="light"] .meeting-year-head h2,
html[data-theme="light"] .meeting-day,
html[data-theme="light"] .meetings-note h3,
html[data-theme="light"] .rhythm-text strong { color: #141414; }
html[data-theme="light"] .next-meeting-year,
html[data-theme="light"] .meeting-weekday,
html[data-theme="light"] .meeting-status { color: #71717a; }
html[data-theme="light"] .next-meeting-eyebrow,
html[data-theme="light"] .meeting-year-tag,
html[data-theme="light"] .meetings-note a { color: #9a6b15; }
html[data-theme="light"] .meeting-year-tag { border-color: rgba(181, 124, 23, 0.5); }
html[data-theme="light"] .next-meeting-countdown,
html[data-theme="light"] .next-meeting-venue,
html[data-theme="light"] .rhythm-text,
html[data-theme="light"] .meetings-note p,
html[data-theme="light"] .meeting-month { color: #3f3f46; }
html[data-theme="light"] .rhythm-month { border-color: rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.3); }
html[data-theme="light"] .rhythm-month.is-meeting { border-color: rgba(181, 124, 23, 0.55); background: rgba(181, 124, 23, 0.12); color: #9a6b15; }
html[data-theme="light"] .meeting-year-head { border-color: rgba(0, 0, 0, 0.12); }
html[data-theme="light"] .meeting-card,
html[data-theme="light"] .meetings-note { background: #ffffff; border-color: rgba(0, 0, 0, 0.12); }
html[data-theme="light"] .meeting-card:hover { border-color: rgba(181, 124, 23, 0.5); }
html[data-theme="light"] .meeting-card.is-next { border-color: #b57c17; background: rgba(181, 124, 23, 0.08); }
html[data-theme="light"] .meeting-card.is-next .meeting-day,
html[data-theme="light"] .meeting-card.is-next .meeting-status { color: #9a6b15; }

/* Ordinal suffixes (5th, 3rd, 2nd) */
.ordinal {
    font-size: 0.4em;
    font-weight: 500;
    letter-spacing: 0.04em;
    vertical-align: super;
    margin-left: 0.06em;
}
