:root {
    --wn-navy: #234574;
    --wn-navy-dark: #172f52;
    --wn-green: #899b59;
    --wn-green-light: #e8eddd;
    --wn-purple: #7b2878;
    --wn-blue: #168dcc;
    --wn-cream: #f7f6f1;
    --wn-gray: #667085;
    --wn-border: #dfe3e8;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #26313d;
    background: #fff;
}

a {
    text-decoration: none;
}

.utility-bar {
    background: var(--wn-navy-dark);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.utility-bar a {
    color: #fff;
}

.utility-divider {
    opacity: 0.45;
    margin: 0 10px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e8ebef;
    position: relative;
    z-index: 10;
}

.navbar {
    padding: 8px 0;
}

.site-logo {
    display: block;
    width: 145px;
    height: 105px;
    object-fit: contain;
}

.nav-link {
    color: var(--wn-navy) !important;
    font-weight: 600;
    padding: 18px 14px !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--wn-green) !important;
}

.btn-primary-custom {
    background: var(--wn-navy);
    border: 2px solid var(--wn-navy);
    color: #fff;
    border-radius: 4px;
    padding: 10px 18px;
    font-weight: 700;
}

.btn-primary-custom:hover {
    background: var(--wn-green);
    border-color: var(--wn-green);
    color: #fff;
}

.hero {
    min-height: 650px;
    position: relative;
    background-image: url("/images/wadsworth-flag.jpg");
    background-size: cover;
    background-position: center 62%;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 42, 73, 0.88) 0%, rgba(17, 42, 73, 0.58) 43%, rgba(17, 42, 73, 0.08) 75%),
        linear-gradient(0deg, rgba(17, 42, 73, 0.30), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 620px;
    color: #fff;
    padding: 80px 0;
}

.eyebrow,
.section-kicker {
    color: var(--wn-green);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
}

.hero .eyebrow {
    color: #dbe6bd;
}

.hero h1 {
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    line-height: 0.98;
    font-weight: 800;
    margin: 0 0 24px;
    letter-spacing: -0.04em;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-light-custom,
.btn-outline-light-custom {
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-light-custom {
    background: #fff;
    color: var(--wn-navy);
    border: 2px solid #fff;
}

.btn-light-custom:hover {
    background: var(--wn-green-light);
    color: var(--wn-navy);
}

.btn-outline-light-custom {
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--wn-navy);
}

.intro-section {
    padding: 90px 0 75px;
}

.intro-section h2,
.category-section h2,
.events-section h2,
.about-section h2,
.newsletter-section h2 {
    color: var(--wn-navy);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.intro-section h2 {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.intro-section .lead {
    color: #596575;
    line-height: 1.75;
}

.category-section {
    background: var(--wn-cream);
    padding: 80px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin: 0;
    font-size: 2.4rem;
}

.text-link {
    color: var(--wn-navy);
    font-weight: 700;
    white-space: nowrap;
}

.text-link:hover {
    color: var(--wn-green);
}

.category-card {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 8px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.category-events {
    background: var(--wn-navy);
}

.category-community {
    background: var(--wn-green);
}

.category-business {
    background: var(--wn-purple);
}

.category-news {
    background: var(--wn-blue);
}

.category-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 35px;
}

.category-card h3 {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.category-card p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

.category-arrow {
    margin-top: auto;
    align-self: flex-end;
    font-size: 1.5rem;
}

.events-section {
    padding: 90px 0;
}

.event-card {
    height: 100%;
    display: flex;
    background: #fff;
    border: 1px solid var(--wn-border);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(25, 45, 70, 0.06);
}

.event-date {
    flex: 0 0 88px;
    background: var(--wn-navy);
    color: #fff;
    text-align: center;
    padding: 20px 10px;
}

.event-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.event-day {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
}

.event-body {
    padding: 22px;
}

.event-category {
    color: var(--wn-green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.event-body h3 {
    color: var(--wn-navy);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 8px 0 14px;
}

.event-meta,
.event-location {
    color: var(--wn-gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.event-link {
    display: inline-block;
    color: var(--wn-navy);
    font-weight: 700;
    margin-top: 12px;
}

.about-section {
    background: var(--wn-cream);
    padding: 90px 0;
}

.photo-frame {
    border: 10px solid #fff;
    box-shadow: 0 10px 35px rgba(30, 50, 70, 0.12);
}

.photo-frame img {
    width: 100%;
    display: block;
}

.about-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-section p:not(.section-kicker) {
    color: #596575;
    line-height: 1.7;
}

.newsletter-section {
    padding: 70px 0;
}

.newsletter-box {
    background: var(--wn-navy);
    color: #fff;
    padding: 55px;
    border-radius: 8px;
}

.newsletter-section h2 {
    color: #fff;
    font-size: 2.4rem;
}

.newsletter-section p:not(.section-kicker) {
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}

.section-kicker.light {
    color: #dbe6bd;
}

.btn-newsletter {
    background: var(--wn-green);
    color: #fff;
    border: 1px solid var(--wn-green);
    font-weight: 700;
    padding-left: 24px;
    padding-right: 24px;
}

.btn-newsletter:hover {
    background: #748747;
    color: #fff;
}

.site-footer {
    background: var(--wn-navy-dark);
    color: rgba(255,255,255,0.78);
    padding: 60px 0 20px;
}

.footer-logo {
    width: 220px;
    height: 155px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 10px;
}

.site-footer h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: rgba(255,255,255,0.78);
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 45px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .site-logo {
        width: 115px;
        height: 85px;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .hero {
        min-height: 600px;
        background-position: 57% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(17,42,73,0.88), rgba(17,42,73,0.45));
    }

    .hero-copy {
        padding: 70px 0;
    }

    .newsletter-box {
        padding: 40px 30px;
    }
}

@media (max-width: 575.98px) {
    .utility-bar {
        font-size: 0.75rem;
    }

    .utility-divider {
        margin: 0 5px;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .intro-section,
    .category-section,
    .events-section,
    .about-section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .newsletter-box {
        padding: 30px 22px;
    }

    .newsletter-form .input-group {
        display: block;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        width: 100%;
        border-radius: 4px !important;
    }

    .newsletter-form .btn {
        margin-top: 8px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
