/**
 * Old Georgians Association — modern alumni site theme
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --oga-navy: #0c2d4a;
    --oga-blue: #1a4f7a;
    --oga-blue-mid: #2563a8;
    --oga-blue-light: #3b82c4;
    --oga-gold: #c9a227;
    --oga-gold-light: #e8c547;
    --oga-cream: #faf8f4;
    --oga-white: #ffffff;
    --oga-text: #1e293b;
    --oga-text-muted: #64748b;
    --oga-border: #e2e8f0;
    --oga-shadow: 0 4px 24px rgba(12, 45, 74, 0.08);
    --oga-shadow-lg: 0 12px 40px rgba(12, 45, 74, 0.12);
    --oga-radius: 12px;
    --oga-radius-sm: 8px;
    --oga-font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --oga-font-serif: 'Libre Baskerville', Georgia, serif;
    --oga-max-width: 1200px;
    --oga-sidebar-width: 240px;
    --oga-header-height: 72px;
    --oga-transition: 0.2s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--oga-font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--oga-text);
    background: var(--oga-cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--oga-blue-mid);
    transition: color var(--oga-transition);
}

a:hover {
    color: var(--oga-navy);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: var(--oga-gold);
    color: var(--oga-navy);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* ---- Site header ---- */

.oga-site-header {
    background: linear-gradient(135deg, var(--oga-navy) 0%, var(--oga-blue) 55%, var(--oga-blue-mid) 100%);
    color: var(--oga-white);
    box-shadow: var(--oga-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.oga-header-inner {
    max-width: var(--oga-max-width);
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.oga-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.oga-brand:hover {
    color: inherit;
}

.oga-brand-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--oga-gold);
    background: var(--oga-white);
}

.oga-brand-text {
    min-width: 0;
}

.oga-brand-title {
    margin: 0;
    font-family: var(--oga-font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.oga-brand-tagline {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
    line-height: 1.35;
}

.oga-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-left: auto;
}

.oga-auth-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    font-size: 0.875rem;
}

.oga-auth-bar a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
}

.oga-auth-bar a:hover {
    color: var(--oga-gold-light);
}

.oga-auth-bar .oga-auth-divider {
    opacity: 0.4;
    user-select: none;
}

.oga-auth-user {
    font-weight: 600;
    color: var(--oga-gold-light);
}

.oga-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--oga-white);
    border-radius: var(--oga-radius-sm);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
}

.oga-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main horizontal nav */

.oga-main-nav {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.oga-main-nav-inner {
    max-width: var(--oga-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.oga-main-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: background var(--oga-transition), border-color var(--oga-transition), color var(--oga-transition);
}

.oga-main-nav-link:hover {
    color: var(--oga-white);
    background: rgba(255, 255, 255, 0.08);
}

.oga-main-nav-link.is-active {
    color: var(--oga-white);
    border-bottom-color: var(--oga-gold);
    background: rgba(255, 255, 255, 0.06);
}

.oga-nav-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--oga-gold-light);
    animation: oga-pulse 1.5s ease-in-out infinite;
}

@keyframes oga-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* Announcement strip (classic look + single collapsible panel) */

.oga-announcement-strip {
    background: linear-gradient(90deg, var(--oga-gold) 0%, var(--oga-gold-light) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.oga-announcement-inner {
    max-width: var(--oga-max-width);
    margin: 0 auto;
    padding: 0.65rem 1.25rem 0.75rem;
}

.oga-announcement-collapse {
    margin: 0;
}

.oga-announcement-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    list-style: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--oga-navy);
    background-color: var(--oga-gold);
    border-radius: var(--oga-radius-sm) var(--oga-radius-sm) 0 0;
}

.oga-announcement-heading::-webkit-details-marker {
    display: none;
}

.oga-announcement-heading-link {
    flex: 1;
    color: var(--oga-navy);
    text-decoration: none;
    font-weight: 700;
}

.oga-announcement-heading-link:hover {
    text-decoration: underline;
    color: #000;
}

.oga-announcement-chevron {
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid var(--oga-navy);
    border-bottom: 2px solid var(--oga-navy);
    transform: rotate(-45deg);
    transition: transform var(--oga-transition);
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.oga-announcement-collapse[open] .oga-announcement-chevron {
    transform: rotate(45deg);
}

.oga-announcement-collapse:not([open]) .oga-announcement-heading {
    border-radius: var(--oga-radius-sm);
}

.oga-announcement-body {
    background: var(--oga-blue-mid);
    border-radius: 0 0 var(--oga-radius-sm) var(--oga-radius-sm);
    padding: 0.75rem 1rem;
}

.oga-announcement-body p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #fef9c3;
    line-height: 1.5;
}

.oga-announcement-body p:last-child {
    margin-bottom: 0;
}

.oga-announcement-body a,
.oga-announcement-link {
    color: #fef08a;
    font-weight: 600;
    text-decoration: underline;
}

.oga-announcement-body a:hover,
.oga-announcement-link:hover {
    color: var(--oga-white);
}

/* Page shell */

.oga-page-shell {
    flex: 1;
    max-width: var(--oga-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
    display: grid;
    grid-template-columns: var(--oga-sidebar-width) 1fr;
    gap: 1.75rem;
    align-items: start;
}

.oga-sidebar {
    position: sticky;
    top: calc(var(--oga-header-height) + 1rem);
}

.oga-sidebar-card {
    background: var(--oga-white);
    border-radius: var(--oga-radius);
    box-shadow: var(--oga-shadow);
    overflow: hidden;
    border: 1px solid var(--oga-border);
}

.oga-sidebar-header {
    background: linear-gradient(135deg, var(--oga-navy), var(--oga-blue));
    color: var(--oga-white);
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.oga-sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
}

.oga-sidebar-link {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--oga-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background var(--oga-transition), border-color var(--oga-transition), color var(--oga-transition);
}

.oga-sidebar-link:hover {
    background: var(--oga-cream);
    color: var(--oga-blue-mid);
}

.oga-sidebar-link.is-active {
    background: rgba(37, 99, 168, 0.08);
    border-left-color: var(--oga-gold);
    color: var(--oga-navy);
    font-weight: 600;
}

.oga-sidebar-link--external::after {
    content: ' ↗';
    font-size: 0.75rem;
    opacity: 0.6;
}

.oga-main {
    min-width: 0;
}

.oga-content-card {
    background: var(--oga-white);
    border-radius: var(--oga-radius);
    box-shadow: var(--oga-shadow);
    border: 1px solid var(--oga-border);
    padding: 1.5rem 1.75rem;
}

/* Footer */

.oga-site-footer {
    background: var(--oga-navy);
    color: rgba(255, 255, 255, 0.85);
    margin-top: auto;
}

.oga-footer-inner {
    max-width: var(--oga-max-width);
    margin: 0 auto;
    padding: 2rem 1.25rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.oga-footer-brand {
    font-family: var(--oga-font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--oga-white);
    margin: 0 0 0.5rem;
}

.oga-footer-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.85;
}

.oga-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem 1rem;
}

.oga-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
}

.oga-footer-links a:hover {
    color: var(--oga-gold-light);
}

.oga-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    opacity: 0.75;
}

/* Flash messages */

.oga-flash {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--oga-radius-sm);
    font-size: 0.9rem;
    border: 1px solid var(--oga-blue-light);
    background: #eff6ff;
}

.oga-flash-success {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.oga-flash-error {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

/* ---- Homepage ---- */

.oga-home-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.oga-home-featured {
    margin: 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--oga-shadow-lg);
    background: var(--oga-white);
    border: 2px solid var(--oga-navy);
}

.oga-home-featured-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 1rem 1.25rem;
    background: var(--oga-cream);
    border-radius: 14px 14px 0 0;
    box-shadow:
        inset 0 0 0 1px var(--oga-gold),
        inset 0 0 0 6px var(--oga-cream),
        inset 0 0 0 7px rgba(12, 45, 74, 0.35);
}

.oga-home-featured img {
    display: block;
    max-width: 100%;
    max-height: min(75vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(12, 45, 74, 0.12);
}

.oga-home-featured figcaption {
    padding: 0.85rem 1.25rem;
    background: var(--oga-navy);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.45;
    text-align: center;
    margin: 0;
    border-top: 2px solid var(--oga-gold);
}

.oga-home-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.oga-home-intro h1 {
    margin: 0 0 0.75rem;
    font-family: var(--oga-font-serif);
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    color: var(--oga-navy);
    line-height: 1.25;
}

.oga-home-intro p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--oga-text-muted);
    line-height: 1.75;
}

.oga-home-intro .oga-highlight {
    color: var(--oga-blue-mid);
    font-weight: 600;
}

.oga-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.oga-news-card {
    background: var(--oga-white);
    border-radius: var(--oga-radius);
    box-shadow: var(--oga-shadow);
    border: 1px solid var(--oga-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.oga-news-card-header {
    background: linear-gradient(135deg, var(--oga-blue-mid), var(--oga-blue));
    color: var(--oga-white);
    padding: 0.85rem 1.15rem;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    min-height: 3.25rem;
    line-height: 1.3;
}

.oga-news-card-header em {
    font-style: normal;
    opacity: 0.92;
    font-weight: 500;
    font-size: 0.85rem;
}

.oga-news-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem;
    overflow-y: auto;
    flex: 1;
    max-height: 240px;
}

.oga-news-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--oga-border);
}

.oga-news-list li:last-child {
    border-bottom: none;
}

.oga-news-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--oga-text);
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 500;
}

.oga-news-list a::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--oga-gold);
}

.oga-news-list a:hover {
    color: var(--oga-blue-mid);
}

.oga-stat-banner {
    background: linear-gradient(135deg, var(--oga-gold) 0%, #d4af37 100%);
    border-radius: var(--oga-radius);
    padding: 1rem 1.25rem;
    text-align: center;
    font-weight: 700;
    color: var(--oga-navy);
    font-size: 1rem;
    box-shadow: var(--oga-shadow);
}

.oga-stat-banner span {
    font-family: var(--oga-font-serif);
    font-size: 1.35rem;
}

/* ---- Legacy content compatibility ---- */

.oga-main .headertitle,
.oga-content-card .headertitle {
    font-family: var(--oga-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--oga-navy);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--oga-gold);
}

.oga-main .imagevdiv,
.oga-content-card .imagevdiv {
    background: var(--oga-cream);
    border: 1px solid var(--oga-border);
    border-left: 4px solid var(--oga-gold);
    border-radius: var(--oga-radius-sm);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.65;
}

.oga-main .curved-boxmypro,
.oga-content-card .curved-boxmypro {
    padding: 0.5rem 0;
}

.oga-main .btn,
.oga-content-card .btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--oga-blue-mid);
    color: var(--oga-white) !important;
    border: none;
    border-radius: var(--oga-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--oga-transition);
}

.oga-main .btn:hover,
.oga-content-card .btn:hover {
    background: var(--oga-navy);
    color: var(--oga-white) !important;
}

.oga-main .textarear,
.oga-content-card .textarear {
    width: 100%;
    max-width: 320px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--oga-border);
    border-radius: var(--oga-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
}

.oga-main table,
.oga-content-card table {
    border-collapse: collapse;
}

/* Data tables (reunion schedule, notice board, search, etc.) */

.oga-main table.mGrid,
.oga-content-card table.mGrid,
.oga-main table.tableGrid,
.oga-content-card table.tableGrid {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 1.5rem;
    border: 1px solid var(--oga-border);
    border-radius: var(--oga-radius-sm);
    overflow: hidden;
    box-shadow: var(--oga-shadow);
    background: var(--oga-white);
    font-size: 0.92rem;
}

.oga-main table.mGrid th,
.oga-content-card table.mGrid th,
.oga-main table.tableGrid th,
.oga-content-card table.tableGrid th,
.oga-main table.tableGrid td.th,
.oga-content-card table.tableGrid td.th {
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--oga-white);
    background: linear-gradient(135deg, var(--oga-navy), var(--oga-blue-mid));
    border-bottom: 2px solid var(--oga-gold);
}

.oga-main table.mGrid td,
.oga-content-card table.mGrid td,
.oga-main table.tableGrid td,
.oga-content-card table.tableGrid td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--oga-border);
    color: var(--oga-text);
    vertical-align: top;
    line-height: 1.5;
}

.oga-main table.mGrid tr:last-child td,
.oga-content-card table.mGrid tr:last-child td,
.oga-main table.tableGrid tr:last-child td,
.oga-content-card table.tableGrid tr:last-child td {
    border-bottom: none;
}

.oga-main table.mGrid tr.alt,
.oga-content-card table.mGrid tr.alt,
.oga-main table.tableGrid tr.alt,
.oga-content-card table.tableGrid tr.alt,
.oga-main table.tableGrid td.alt,
.oga-content-card table.tableGrid td.alt {
    background: var(--oga-cream);
}

.oga-main table.tableGrid tr.alt0 td,
.oga-content-card table.tableGrid tr.alt0 td,
.oga-main table.tableGrid td.alt0,
.oga-content-card table.tableGrid td.alt0 {
    background: var(--oga-white);
}

.oga-main table.mGrid tbody tr:hover td,
.oga-content-card table.mGrid tbody tr:hover td,
.oga-main table.tableGrid tbody tr:hover td,
.oga-content-card table.tableGrid tbody tr:hover td {
    background: rgba(37, 99, 168, 0.06);
}

.oga-main table.mGrid details,
.oga-content-card table.mGrid details,
.oga-main table.tableGrid details,
.oga-content-card table.tableGrid details {
    margin: 0;
}

.oga-main table.mGrid details summary,
.oga-content-card table.mGrid details summary,
.oga-main table.tableGrid details summary,
.oga-content-card table.tableGrid details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--oga-blue-mid);
    list-style: none;
}

.oga-main table.mGrid details summary::-webkit-details-marker,
.oga-content-card table.mGrid details summary::-webkit-details-marker,
.oga-main table.tableGrid details summary::-webkit-details-marker,
.oga-content-card table.tableGrid details summary::-webkit-details-marker {
    display: none;
}

.oga-main table.mGrid details summary::before,
.oga-content-card table.mGrid details summary::before,
.oga-main table.tableGrid details summary::before,
.oga-content-card table.tableGrid details summary::before {
    content: '+ ';
    color: var(--oga-gold);
    font-weight: 700;
}

.oga-main table.mGrid details[open] summary::before,
.oga-content-card table.mGrid details[open] summary::before,
.oga-main table.tableGrid details[open] summary::before,
.oga-content-card table.tableGrid details[open] summary::before {
    content: '− ';
}

.oga-main table.mGrid details summary:hover,
.oga-content-card table.mGrid details summary:hover,
.oga-main table.tableGrid details summary:hover,
.oga-content-card table.tableGrid details summary:hover {
    color: var(--oga-navy);
}

.oga-main table.mGrid details > div,
.oga-content-card table.mGrid details > div,
.oga-main table.tableGrid details > div,
.oga-content-card table.tableGrid details > div {
    margin-top: 0.65rem;
    padding: 0.75rem;
    background: var(--oga-cream);
    border-radius: var(--oga-radius-sm);
    border: 1px solid var(--oga-border);
    font-size: 0.88rem;
}

.oga-main table.mGrid details > div > div,
.oga-content-card table.mGrid details > div > div {
    margin-bottom: 0.35rem;
}

.oga-main p.mGrid,
.oga-content-card p.mGrid {
    padding: 1rem;
    background: var(--oga-cream);
    border: 1px dashed var(--oga-border);
    border-radius: var(--oga-radius-sm);
    color: var(--oga-text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .oga-main table.mGrid,
    .oga-content-card table.mGrid,
    .oga-main table.tableGrid,
    .oga-content-card table.tableGrid {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.oga-main a.black,
.oga-content-card a.black {
    color: var(--oga-blue-mid);
    text-decoration: none;
    font-weight: 500;
}

.oga-main a.black:hover,
.oga-content-card a.black:hover {
    text-decoration: underline;
}

.oga-main a.sixx,
.oga-content-card a.sixx {
    color: var(--oga-blue-mid);
    text-decoration: none;
    font-weight: 500;
}

.oga-main a.sixx:hover,
.oga-content-card a.sixx:hover {
    text-decoration: underline;
}

.oga-main font[color],
.oga-content-card font[color] {
    color: var(--oga-blue-mid) !important;
}

.oga-main .underline {
    border-bottom: 1px solid var(--oga-border);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.oga-main .red1,
.oga-content-card .red1 {
    color: #dc2626;
}

.oga-main .img-desc {
    width: 100% !important;
    max-width: 100%;
    border-radius: var(--oga-radius-sm);
    overflow: hidden;
}

.oga-main .img-desc img {
    width: 100%;
    height: auto;
}

/* Photo album page */
.oga-main .photo-album-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.oga-main .photo-album-sidebar {
    width: 220px;
    flex: 0 0 220px;
    border: 1px solid var(--oga-border);
    border-radius: var(--oga-radius-sm);
    padding: 0.75rem;
    background: var(--oga-cream);
    max-height: 750px;
    overflow: auto;
}

.oga-main .photo-album-main {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--oga-border);
    border-radius: var(--oga-radius-sm);
    padding: 1rem;
    background: var(--oga-cream);
    min-height: 400px;
}

@media (max-width: 768px) {
    .oga-main .photo-album-layout {
        flex-direction: column;
    }

    .oga-main .photo-album-sidebar {
        width: 100%;
        flex: none;
        max-height: none;
    }
}

/* ---- Office bearers page ---- */

.oga-office-bearers {
    max-width: 980px;
    margin: 0 auto;
}

.oga-office-bearers .headertitle {
    text-align: center;
    margin-bottom: 1.75rem;
}

.oga-ob-section + .oga-ob-section {
    margin-top: 2.5rem;
}

.oga-ob-section-title {
    margin: 0 0 1.25rem;
    padding: 0.65rem 1rem;
    font-family: var(--oga-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--oga-white);
    text-align: center;
    background: linear-gradient(135deg, var(--oga-navy), var(--oga-blue-mid));
    border-radius: var(--oga-radius-sm);
    border-bottom: 2px solid var(--oga-gold);
}

.oga-ob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.oga-ob-card {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    background: var(--oga-white);
    border: 1px solid var(--oga-border);
    border-radius: var(--oga-radius);
    box-shadow: var(--oga-shadow);
    transition: box-shadow var(--oga-transition), transform var(--oga-transition);
}

.oga-ob-card:hover {
    box-shadow: var(--oga-shadow-lg);
    transform: translateY(-2px);
}

.oga-ob-photo {
    flex-shrink: 0;
    width: 112px;
}

.oga-ob-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--oga-radius-sm);
    border: 2px solid var(--oga-border);
    background: var(--oga-cream);
    object-fit: cover;
}

.oga-ob-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.oga-ob-role {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--oga-blue-mid);
}

.oga-ob-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--oga-navy);
    line-height: 1.35;
}

.oga-ob-committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.oga-ob-committee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    background: var(--oga-white);
    border: 1px solid var(--oga-border);
    border-radius: var(--oga-radius);
    box-shadow: var(--oga-shadow);
    transition: box-shadow var(--oga-transition), transform var(--oga-transition);
}

.oga-ob-committee-card:hover {
    box-shadow: var(--oga-shadow-lg);
    transform: translateY(-2px);
}

.oga-ob-committee-photo {
    width: 88px;
    margin-bottom: 0.75rem;
}

.oga-ob-committee-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--oga-radius-sm);
    border: 2px solid var(--oga-border);
    background: var(--oga-cream);
    object-fit: cover;
}

.oga-ob-committee-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--oga-navy);
    line-height: 1.4;
}

@media (max-width: 640px) {
    .oga-ob-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .oga-ob-photo {
        width: 120px;
    }

    .oga-ob-committee-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Hide legacy layout chrome when inside modern shell */
.oga-main .menu,
.oga-main .menuSS,
.oga-main .menu2 {
    display: none;
}

/* ---- Responsive ---- */

@media (max-width: 960px) {
    .oga-page-shell {
        grid-template-columns: 1fr;
    }

    .oga-sidebar {
        position: static;
        display: none;
    }

    .oga-sidebar.is-mobile-open {
        display: block;
    }

    .oga-nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .oga-home-featured img {
        max-height: 55vh;
    }

    .oga-home-grid {
        grid-template-columns: 1fr;
    }

    .oga-footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .oga-main-nav-inner {
        display: none;
        flex-direction: column;
        padding-bottom: 0.75rem;
    }

    .oga-main-nav-inner.is-open {
        display: flex;
    }

    .oga-main-nav-link {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .oga-main-nav-link.is-active {
        border-left-color: var(--oga-gold);
    }

    .oga-content-card {
        padding: 1.15rem;
    }

    .oga-auth-bar {
        font-size: 0.8rem;
    }
}
