:root {
    --lec-green: #00703c;
    --lec-green-dark: #00562f;
    --lec-white: #fff;
    --lec-text: #3f4347;
    --lec-muted: #6e7378;
    --lec-light: #f5f5f5;
    --lec-border: #e5e7e9;
    --lec-focus: #ffbf47;
}

html { min-width: 320px; }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--lec-text);
    background: var(--lec-white);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--lec-green); }
a:hover { color: var(--lec-green-dark); }

.site-header {
    position: relative;
    z-index: 1030;
    background: var(--lec-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.site-header .navbar {
    min-height: 166px;
    padding-block: 1.25rem;
    background: var(--lec-green);
}

.site-header .navbar-brand { display: inline-flex; align-items: center; padding: 0; }
.site-logo { display: block; width: 290px; max-width: 65vw; height: auto; }
.site-header .navbar-nav { gap: 1.1rem; }

.site-header .nav-link {
    padding: 0.75rem 0.25rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 150ms ease-in-out, opacity 150ms ease-in-out;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus { color: #fff; opacity: 0.7; }
.site-header .nav-link.active,
.site-header .nav-link[aria-current="page"] { color: #fff; font-weight: 600; }
.site-header .navbar-toggler { border-color: rgba(255, 255, 255, 0.65); }
.site-header .navbar-toggler:focus { box-shadow: 0 0 0 0.25rem rgba(255, 191, 71, 0.65); }

.site-footer {
    flex-shrink: 0;
    color: var(--lec-muted);
    background: #fff;
    border-top: 1px solid var(--lec-border);
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: -9999px;
    z-index: 2000;
    padding: 0.75rem 1rem;
    color: #222;
    background: var(--lec-focus);
    border-radius: 0.25rem;
    font-weight: 700;
}
.skip-link:focus { left: 0.75rem; }

.page-heading {
    background: #f4f4f4;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
}

.page-heading__inner {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.page-heading h1 {
    margin: 0;
    color: #16191c;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    color: #96999c;
    font-size: 0.82rem;
    list-style: none;
    text-transform: uppercase;
}

.page-breadcrumb li:nth-child(n + 3)::before {
    margin-inline: 0.3rem;
    content: "/";
}

.page-breadcrumb a {
    color: #676b70;
    text-decoration: none;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus {
    color: var(--lec-green);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .site-header .navbar { min-height: auto; padding-block: 1rem; }
    .site-logo { width: 235px; }
    .site-header .navbar-collapse { padding: 1rem 0 0.5rem; }
    .site-header .navbar-nav { gap: 0; }
    .site-header .nav-link { padding: 0.75rem 0; }
}

@media (max-width: 575.98px) {
    .site-logo { width: 210px; max-width: 68vw; }

    .page-heading__inner {
        min-height: 88px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }

    .page-breadcrumb { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
