:root {
    --bcso-green: #0f3929;
    --bcso-green-dark: #08281e;
    --bcso-gold: #d4a44c;
    --bcso-gold-light: #edc97b;
    --bcso-cream: #f4f1e9;
    --bcso-text: #11261e;
    --bcso-border: #ddd8cd;
}

html { font-size: 16px; }
body {
    margin: 0;
    color: var(--bcso-text);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }

.utility-bar {
    background: #0a291f;
    color: #f7d681;
    border-bottom: 1px solid rgba(212, 164, 76, .45);
}
.utility-login { color: #fff; text-decoration: none; }
.main-nav { background: var(--bcso-green); min-height: 108px; }
.navbar-brand img { width: min(310px, 56vw); height: 88px; object-fit: cover; object-position: left center; }
.main-nav .nav-link { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .86rem; padding: 1rem .8rem; }
.main-nav .nav-link:hover, .main-nav .nav-link:focus { color: var(--bcso-gold-light); }
.navbar-toggler { border-color: rgba(255,255,255,.55); background: #fff; }
.dropdown-menu { border-radius: 0; border-top: 3px solid var(--bcso-gold); }
.dropdown-item:active { background: var(--bcso-green); }
.mobile-menu { display: grid; gap: .55rem; }
.mobile-menu strong { margin-top: 1rem; color: var(--bcso-gold); text-transform: uppercase; }
.mobile-menu a { text-decoration: none; color: var(--bcso-text); padding: .35rem 0; }

.hero-section {
    min-height: 480px;
    position: relative;
    background: var(--bcso-green-dark) url('../images/hero.jpg') center right / cover no-repeat;
    color: #fff;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,40,30,.97) 0%, rgba(8,40,30,.86) 30%, rgba(8,40,30,.2) 63%, rgba(8,40,30,.05) 100%); }
.hero-content { position: relative; z-index: 1; min-height: 480px; display: flex; align-items: center; }
.hero-copy { max-width: 480px; padding: 3rem 0 6rem; }
.hero-copy h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.5rem, 5.2vw, 4.7rem); font-weight: 700; line-height: 1.02; }
.hero-copy h1 span { color: var(--bcso-gold); }
.hero-copy p { max-width: 420px; line-height: 1.75; margin: 1.5rem 0; }
.btn-outline-gold { border: 2px solid var(--bcso-gold); color: var(--bcso-gold-light); border-radius: .3rem; text-transform: uppercase; font-weight: 800; padding: .75rem 1.1rem; }
.btn-outline-gold:hover { background: var(--bcso-gold); color: #10261e; }
.btn-green { background: var(--bcso-green); color: #fff; border-radius: .25rem; text-transform: uppercase; font-weight: 800; }
.btn-green:hover { background: var(--bcso-green-dark); color: #fff; }
.btn-gold { background: var(--bcso-gold); color: #12271f; text-transform: uppercase; font-weight: 800; }

.quick-services { position: relative; z-index: 2; margin-top: -70px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: .75rem; overflow: hidden; box-shadow: 0 9px 28px rgba(0,0,0,.12); border: 1px solid var(--bcso-border); }
.service-card { min-height: 160px; padding: 1.6rem 1rem; text-align: center; text-decoration: none; border-right: 1px solid var(--bcso-border); border-bottom: 1px solid var(--bcso-border); display: flex; flex-direction: column; justify-content: center; transition: background .2s, transform .2s; }
.service-card:hover { background: #f6f3eb; transform: translateY(-2px); }
.service-icon { font-size: 2.9rem; line-height: 1; color: var(--bcso-green); }
.service-card h2 { font-size: .95rem; font-weight: 800; text-transform: uppercase; margin: .85rem 0 .35rem; }
.service-card p { font-size: .86rem; margin: 0; line-height: 1.45; color: #333; }

.widget-message { border-left: 5px solid var(--bcso-gold); background: var(--bcso-cream); padding: 1rem 1.2rem; display: grid; gap: .3rem; }
.feature-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; padding-top: 1.5rem; }
.donate-card { min-height: 330px; position: relative; overflow: hidden; border-radius: .65rem; background: #090b0b url('../images/donate.jpg') center / cover no-repeat; color: #fff; }
.donate-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.97), rgba(0,0,0,.72) 56%, rgba(0,0,0,.2)); }
.donate-content { position: relative; z-index: 1; padding: 2rem; max-width: 75%; display: flex; flex-direction: column; gap: .7rem; }
.eyebrow { color: var(--bcso-gold); font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.donate-content h2, .event-card h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.donate-content small { margin-top: auto; }
.event-card { min-height: 330px; border: 1px solid var(--bcso-border); border-radius: .65rem; padding: 2rem; background: linear-gradient(135deg, #fff 0%, #faf7ef 100%); display: flex; flex-direction: column; }
.event-kicker { color: var(--bcso-green); font-family: Georgia, 'Times New Roman', serif; text-transform: uppercase; font-weight: 800; font-size: 1.15rem; }
.event-card h2 { font-size: 2rem; margin: 1rem 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; margin-bottom: .75rem; }

.latest-news { padding-top: 2rem; padding-bottom: 3rem; }
.section-heading-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.section-heading-row h2 { font-size: 1.2rem; text-transform: uppercase; font-weight: 900; margin: 0; }
.section-heading-row a, .news-card a { color: #9e6e19; text-transform: uppercase; text-decoration: none; font-weight: 800; font-size: .82rem; }
.news-card { height: 100%; border: 1px solid var(--bcso-border); background: #fff; }
.news-card img { width: 100%; height: 145px; object-fit: cover; }
.news-card-body { padding: 1rem; }
.news-card small { color: #777; text-transform: uppercase; }
.news-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; font-weight: 700; margin: .55rem 0; }
.news-card p { font-size: .9rem; min-height: 66px; }

.internal-hero { background: linear-gradient(120deg, var(--bcso-green-dark), var(--bcso-green)); color: #fff; padding: 4.5rem 0; border-bottom: 5px solid var(--bcso-gold); }
.internal-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 5vw, 4rem); }
.content-panel { max-width: 850px; padding: 2rem; border: 1px solid var(--bcso-border); border-radius: .5rem; }
.login-section { background: var(--bcso-cream); min-height: 620px; padding: 5rem 0; }
.login-card { max-width: 980px; margin: auto; background: #fff; padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 5px solid var(--bcso-gold); box-shadow: 0 12px 30px rgba(0,0,0,.1); }

.site-footer { background: var(--bcso-green); color: #fff; border-top: 5px solid var(--bcso-gold); }
.site-footer a { display: block; text-decoration: none; color: #fff; margin-bottom: .35rem; font-size: .9rem; }
.site-footer a:hover { color: var(--bcso-gold-light); }
.footer-brand { width: 290px; max-width: 100%; height: 95px; object-fit: cover; object-position: left; }
.footer-heading { color: #fff; font-size: .95rem; text-transform: uppercase; font-weight: 900; margin-bottom: 1rem; }
.social-links { display: flex; gap: .6rem; }
.social-links a { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--bcso-green); display: inline-flex; justify-content: center; align-items: center; font-weight: 900; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: .75rem; }
.newsletter-form .form-control { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.75); }
.footer-bottom { background: #0a291f; border-top: 1px solid rgba(255,255,255,.2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-legal a { display: inline; margin: 0; font-size: .78rem; }

@media (max-width: 991.98px) {
    .utility-bar .container-xl { justify-content: center !important; text-align: center; }
    .hero-section, .hero-content { min-height: 520px; }
    .hero-overlay { background: linear-gradient(90deg, rgba(8,40,30,.96), rgba(8,40,30,.65)); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; }
    .login-card { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .utility-bar { display: none; }
    .main-nav { min-height: 82px; }
    .navbar-brand img { width: 220px; height: 65px; }
    .hero-section { background-position: 58% center; }
    .hero-content { align-items: end; }
    .hero-copy { padding: 3rem 0 7rem; }
    .hero-copy h1 { font-size: 2.6rem; }
    .quick-services { margin-top: -50px; padding-left: 1rem; padding-right: 1rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 135px; border-right: 0; }
    .donate-content { max-width: 100%; }
    .event-card, .donate-content { padding: 1.5rem; }
    .section-heading-row { align-items: flex-start; gap: 1rem; }
    .newsletter-form { grid-template-columns: 1fr; }
}
.public-alert-banner {
    background: #b02a37;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.public-alert-banner-icon {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: #b02a37;
    display: inline-flex;
    flex: 0 0 2rem;
    font-size: 1.2rem;
    font-weight: 800;
    height: 2rem;
    justify-content: center;
}

.public-alert-banner-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-alert-banner-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.public-alert-banner-title:hover,
.public-alert-banner-title:focus {
    color: #fff;
    text-decoration: underline;
}

.alert-severity-bar {
    border-left: 0.45rem solid var(--alert-color, #dc3545);
}

.alert-gallery-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.alert-update-timeline {
    border-left: 3px solid #dee2e6;
    margin-left: 0.5rem;
    padding-left: 1.5rem;
}

.alert-update-item {
    position: relative;
}

.alert-update-item::before {
    background: #b02a37;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #b02a37;
    content: "";
    height: 0.85rem;
    left: -2rem;
    position: absolute;
    top: 0.35rem;
    width: 0.85rem;
}
