/* LHC Minutes Portal — custom overrides on top of Pelican */

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
}

/* ── Content links (WCAG AAA — 7:1 minimum) ────────────── */

main a {
    color: #0040a0; /* 8.03:1 on #f7f8f8 accordion body (WCAG AAA) */
}

main a:hover {
    color: #002d75;
    text-decoration: underline;
}

/* ── LHC Navbar ─────────────────────────────────────────── */

.lhc-header {
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.lhc-navbar {
    background-color: #ffffff;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.lhc-navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.lhc-logo {
    height: 56px;
    width: auto;
}

.lhc-nav-link {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a3a5c;
    text-decoration: none;
    transition: color 0.15s ease;
}

.lhc-nav-link:hover,
.lhc-nav-link:focus {
    color: #008282;
}

/* dropdown inherits Pelican/Bootstrap styles but align with LHC colors */
.lhc-navbar .dropdown-menu {
    border-radius: 0;
    border-top: 3px solid #008282;
    font-size: 0.875rem;
}

.lhc-navbar .dropdown-item:hover,
.lhc-navbar .dropdown-item:focus {
    background-color: #f0f8f8;
    color: #008282;
}

/* ── LHC Footer ─────────────────────────────────────────── */

.lhc-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    font-size: 0.875rem;
}

.lhc-footer-address {
    color: #333;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.lhc-footer-address a {
    color: #005050; /* darkened from #008282 — 7.64:1 on #f5f5f5 (WCAG AAA) */
    text-decoration: none;
}

.lhc-footer-address a:hover {
    text-decoration: underline;
}

.lhc-footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.lhc-footer-logo {
    height: 52px;
    width: auto;
}

.lhc-footer-eho {
    height: 52px;
    width: auto;
}

.lhc-footer-right {
    color: #333;
}

.lhc-footer-social-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #444; /* darkened from #555 — 7.82:1 on #f5f5f5 (WCAG AAA) */
}

.lhc-footer-social {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.lhc-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #aaa;
    color: #444;
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.lhc-footer-social a:hover {
    border-color: #008282;
    color: #008282;
}

.lhc-footer-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.lhc-footer-links a {
    color: #444; /* darkened from #555 — 7.82:1 on #f5f5f5 (WCAG AAA) */
    font-size: 0.8rem;
    text-decoration: none;
}

.lhc-footer-links a:hover {
    color: #005050;
    text-decoration: underline;
}

/* ── Sidebar cards ──────────────────────────────────────── */

.card .list-group-item-action {
    color: inherit;
}

.card .list-group-item-action::after {
    display: none;
}

/* Previous Year accordion year links */
#previousYearsAccordion .list-group-item-action {
    color: inherit;
}

#previousYearsAccordion .list-group-item-action::after {
    display: none;
}

/* ── Sidebar accordion ──────────────────────────────────── */

.lhc-sidebar-accordion-btn,
.lhc-sidebar-accordion-btn.collapsed {
    background-color: rgb(204, 212, 219) !important;
    color: inherit;
}

.lhc-sidebar-accordion-btn:after {
    filter: none;
}

/* ── Footer bottom ──────────────────────────────────────── */

.lhc-footer-bottom {
    background-color: #e8e8e8;
    border-top: 1px solid #ccc;
    color: #333;
    font-size: 0.8rem;
}

.lhc-footer-bottom small {
    color: #333; /* explicit override — Pelican sets small to #46585d (6.08:1), need 7:1 for WCAG AAA */
}
