/*
Theme Name: Estate Assurance Inc.
Theme URI: https://estateassuranceinc.com
Author: Estate Assurance Inc.
Author URI: https://estateassuranceinc.com
Description: Professional financial services theme for Estate Assurance Inc. in Latrobe, PA. Prairie Sage Minimalism design with sage green, warm cream, and terracotta accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estate-assurance
Tags: financial-services, professional, custom-colors, custom-menu, featured-images, full-width-template, theme-options

/* ============================================================
   PRAIRIE SAGE MINIMALISM DESIGN SYSTEM
   Primary: Sage Green #5C7A5C
   Background: Warm Cream #FAF7F2
   Accent: Terracotta #B85C38
   Headings: Deep Charcoal #2A2A2A
   Fonts: Lora (serif) + Nunito Sans (sans-serif)
   ============================================================ */

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2A2A2A;
    background-color: #FAF7F2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    line-height: 1.25;
    color: #2A2A2A;
}

a {
    color: #5C7A5C;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #B85C38;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    padding-left: 1.5rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-narrow {
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-terra {
    display: inline-block;
    background-color: #B85C38;
    color: #FAF7F2 !important;
    padding: 0.65rem 1.6rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-decoration: none !important;
}

.btn-terra:hover {
    background-color: #9a4d2e;
    transform: translateY(-1px);
    color: #FAF7F2 !important;
}

.btn-sage {
    display: inline-block;
    background-color: #5C7A5C;
    color: #FAF7F2 !important;
    padding: 0.65rem 1.6rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-decoration: none !important;
}

.btn-sage:hover {
    background-color: #4a6349;
    transform: translateY(-1px);
    color: #FAF7F2 !important;
}

.btn-outline-white {
    display: inline-block;
    background-color: transparent;
    color: #FAF7F2 !important;
    padding: 0.65rem 1.6rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 2px solid #FAF7F2;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none !important;
}

.btn-outline-white:hover {
    background-color: rgba(250,247,242,0.15);
    color: #FAF7F2 !important;
}

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.top-bar {
    background-color: #5C7A5C;
    color: #FAF7F2;
    font-size: 0.78rem;
    padding: 0.45rem 0;
    font-family: 'Nunito Sans', sans-serif;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-bar a {
    color: #FAF7F2;
    text-decoration: none;
}

.top-bar a:hover {
    color: #d4e8d4;
}

.top-bar svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3rem;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#masthead {
    background-color: #FAF7F2;
    border-bottom: 1px solid #E0D8CC;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

#masthead.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.site-logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.site-title {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2A2A2A;
    line-height: 1.2;
    margin: 0;
}

.site-tagline {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5C7A5C;
    margin: 0;
}

/* Primary Navigation */
#primary-navigation {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#primary-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

#primary-navigation ul li a {
    display: block;
    padding: 0.5rem 0.85rem;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #3A3A3A;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

#primary-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background-color: #5C7A5C;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item > a,
#primary-navigation ul li.current_page_item > a {
    color: #5C7A5C;
}

#primary-navigation ul li a:hover::after,
#primary-navigation ul li.current-menu-item > a::after,
#primary-navigation ul li.current_page_item > a::after {
    transform: scaleX(1);
}

.brokercheck-link {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5C7A5C !important;
    border: 1px solid #5C7A5C;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.brokercheck-link:hover {
    background-color: #5C7A5C;
    color: #FAF7F2 !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: #2A2A2A;
}

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */
@media (max-width: 1023px) {
    .menu-toggle {
        display: block;
    }

    #primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #F2EDE4;
        border-top: 1px solid #E0D8CC;
        border-bottom: 1px solid #E0D8CC;
        padding: 1rem 0;
        z-index: 999;
    }

    #primary-navigation.open {
        display: block;
    }

    #primary-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    #primary-navigation ul li a {
        padding: 0.75rem 1.5rem;
        border-left: 3px solid transparent;
    }

    #primary-navigation ul li a::after {
        display: none;
    }

    #primary-navigation ul li a:hover,
    #primary-navigation ul li.current-menu-item > a {
        border-left-color: #5C7A5C;
        background-color: #E8E0D4;
    }

    .brokercheck-link {
        display: block;
        margin: 0.75rem 1.5rem 0;
        text-align: center;
    }
}

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,28,15,0.82) 0%, rgba(15,28,15,0.55) 55%, rgba(15,28,15,0.15) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 5rem 0 3rem;
}

.page-hero-label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8ab88a;
    margin-bottom: 0.75rem;
}

.page-hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #F5F0E8;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #C8C0B0;
    margin-bottom: 0;
}

.page-hero-rule {
    width: 64px;
    height: 2px;
    background-color: #B85C38;
    margin-top: 1rem;
}

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20,35,20,0.84) 0%, rgba(20,35,20,0.58) 50%, rgba(20,35,20,0.12) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 5rem 0;
}

.home-hero-eyebrow {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8ab88a;
    margin-bottom: 1rem;
}

.home-hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #F5F0E8;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.home-hero h1 span {
    color: #8ab88a;
}

.home-hero-desc {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #D8D0C0;
    margin-bottom: 2rem;
    max-width: 440px;
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.home-hero-brokercheck {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.78rem;
    color: #A0B8A0;
}

.home-hero-brokercheck a {
    color: #8ab88a;
    text-decoration: underline;
}

.home-hero-brokercheck a:hover {
    color: #fff;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-eyebrow {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5C7A5C;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.5rem;
}

.section-rule {
    width: 48px;
    height: 2px;
    background-color: #B85C38;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section {
    padding: 5rem 0;
    background-color: #FAF7F2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-card {
    background-color: #F2EDE4;
    border: 1px solid #E0D8CC;
    border-top: 3px solid #5C7A5C;
    padding: 1.75rem;
    text-decoration: none !important;
    display: block;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.service-card-icon {
    width: 32px;
    height: 32px;
    color: #B85C38;
    margin-bottom: 1rem;
}

.service-card-eyebrow {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5C7A5C;
    margin-bottom: 0.35rem;
}

.service-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #5A5040;
    margin-bottom: 1rem;
}

.service-card-link {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #5C7A5C;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* ============================================================
   WHY US / STATS SECTION
   ============================================================ */
.why-section {
    padding: 5rem 0;
    background-color: #EDE7DC;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-text p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #4A4030;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background-color: #FAF7F2;
    border: 1px solid #E0D8CC;
    padding: 1.75rem;
    text-align: center;
}

.stat-number {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5C7A5C;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7A6A58;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
    padding: 5rem 0;
    background-color: #FAF7F2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.team-card {
    background-color: #F2EDE4;
    border: 1px solid #E0D8CC;
    padding: 1.75rem;
}

.team-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #5C7A5C;
    color: #FAF7F2;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.team-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.25rem;
}

.team-card-title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B85C38;
    margin-bottom: 0.75rem;
}

.team-card p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #5A5040;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background-color: #5C7A5C;
    padding: 4rem 0;
    text-align: center;
}

.cta-banner h2 {
    font-family: 'Lora', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #F5F0E8;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #C8D8C8;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ============================================================
   INTERIOR PAGE CONTENT
   ============================================================ */
.page-content-section {
    padding: 4rem 0;
    background-color: #FAF7F2;
}

.content-block {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #4A4030;
    margin-bottom: 1rem;
}

.content-block p {
    color: #4A4030;
}

.blockquote-sage {
    border-left: 4px solid #5C7A5C;
    padding: 1.5rem 1.75rem;
    background-color: #EDE7DC;
    margin: 2rem 0;
}

.blockquote-sage p {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: #3A3028;
    margin: 0;
}

.content-card {
    background-color: #F2EDE4;
    border: 1px solid #E0D8CC;
    border-left: 4px solid #5C7A5C;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.content-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.5rem;
}

.content-card .card-note {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    font-style: italic;
    color: #7A6A58;
    margin-bottom: 0.75rem;
}

.content-card p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4A4030;
    margin: 0;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.feature-card {
    background-color: #EDE7DC;
    border: 1px solid #E0D8CC;
    border-top: 3px solid #B85C38;
    padding: 1.5rem;
}

.feature-card h4 {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #5A5040;
    margin: 0;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin: 2rem 0;
}

.coverage-item {
    background-color: #EDE7DC;
    border: 1px solid #E0D8CC;
    border-top: 2px solid #5C7A5C;
    padding: 1rem;
    text-align: center;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #3A3028;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
}

.services-list-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    color: #4A4030;
}

.services-list-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #5C7A5C;
    flex-shrink: 0;
}

.section-divider {
    border: none;
    border-top: 1px solid #E0D8CC;
    margin: 2.5rem 0;
}

.subsection-heading {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5C7A5C;
    margin-bottom: 0.5rem;
}

.disclaimer-text {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.78rem;
    color: #7A6A58;
    font-style: italic;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E0D8CC;
}

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
    background-color: #3A5C3A;
    color: #D8E8D8;
}

.footer-main {
    padding: 3.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer-col-title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8ab88a;
    margin-bottom: 1rem;
}

.footer-col address,
.footer-col p,
.footer-col li {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #C0D4C0;
    font-style: normal;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #C0D4C0;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    background-color: rgba(0,0,0,0.15);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.footer-disclaimer {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    color: #c8d8c8;
    max-width: 680px;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.footer-disclaimer p {
    margin-bottom: 0.4rem;
    color: #c8d8c8;
}

.footer-disclaimer strong {
    color: #e0ece0;
    font-weight: 700;
}

.footer-copyright {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    color: #c8d8c8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-copyright a {
    color: #c8d8c8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.footer-sep {
    color: rgba(255,255,255,0.3);
}

/* ============================================================
   FORM CRS PAGE
   ============================================================ */
.form-crs-hero {
    background-color: #5C7A5C;
    padding: 4rem 0 3rem;
}

.form-crs-hero h1 {
    color: #F5F0E8;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.form-crs-hero p {
    color: #C0D4C0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    margin: 0;
}

.form-crs-hero .page-hero-label {
    color: #8ab88a;
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-block-image {
    margin-bottom: 1.5rem;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .home-hero {
        min-height: 70vh;
    }

    .home-hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

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

    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar-right {
        display: none;
    }
}

/* ============================================================
   ABOUT US — TEAM CARDS
   ============================================================ */
.team-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    border: 1px solid #e0d9ce;
    background: #f5f1ea;
    margin-bottom: 2rem;
    overflow: hidden;
}

.team-card-sidebar {
    background: #ede8df;
    border-right: 1px solid #e0d9ce;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.team-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #2A2A2A;
}

.team-asterisk {
    font-size: 1rem;
}

.team-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 1.25rem;
}

.team-credentials {
    list-style: none;
    text-align: left;
    width: 100%;
}

.team-credentials li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #5a5040;
    margin-bottom: 0.5rem;
    font-family: 'Nunito Sans', sans-serif;
}

.cred-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.team-card-bio {
    padding: 2.5rem;
}

.team-card-bio p {
    color: #4a3f30;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.team-quote {
    margin-top: 1.5rem;
    padding-left: 1.25rem;
    border-left: 3px solid #4a7c59;
    font-style: italic;
    font-family: 'Lora', serif;
    font-size: 0.92rem;
    color: #6a5a45;
}

.section-intro p {
    color: #4a3f30;
    font-size: 0.97rem;
}

@media (max-width: 768px) {
    .team-card {
        grid-template-columns: 1fr;
    }
    .team-card-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0d9ce;
    }
}


/* ============================================================
   Legal Pages (Privacy Policy and Terms and Conditions)
   ============================================================ */

.legal-page-hero {
    background-color: #3a5c3a;
    color: #f5f0e8;
    padding: 3rem 0 2.5rem;
}
.legal-page-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.legal-eyebrow {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8ab88a;
    margin-bottom: 0.5rem;
}
.legal-page-hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: #f5f0e8;
}
.legal-meta {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    color: #c8d8c8;
}
.legal-page-content {
    background-color: #faf8f3;
    min-height: 60vh;
    padding: 3rem 0;
}
.legal-page-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #3a5c3a;
    margin-bottom: 0.875rem;
    margin-top: 0;
}
.legal-section p, .legal-section li {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.975rem;
    line-height: 1.9;
    color: #2d4a2d;
    margin-bottom: 0.75rem;
}
.legal-section ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.legal-section ul li { margin-bottom: 0.25rem; }
.legal-divider { border: none; border-top: 1px solid #d8e8d8; margin: 0 0 2.5rem; }
.legal-table { width: 100%; border-collapse: collapse; font-family: 'Nunito Sans', sans-serif; font-size: 0.9rem; margin-bottom: 1rem; }
.legal-table thead tr { background-color: #3a5c3a; color: white; }
.legal-table thead th { padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.legal-table tbody tr:nth-child(odd) { background-color: #f5f2ec; }
.legal-table tbody tr:nth-child(even) { background-color: white; }
.legal-table tbody td { padding: 0.75rem 1rem; border-bottom: 1px solid #e8ede8; color: #2d4a2d; line-height: 1.7; vertical-align: top; }
.legal-contact-box { background-color: #eef5ee; border: 1px solid #c8dcc8; border-radius: 8px; padding: 1.5rem; font-family: 'Nunito Sans', sans-serif; font-size: 0.95rem; line-height: 1.9; color: #2d4a2d; margin-top: 1rem; }
.legal-contact-box p { margin-bottom: 0.25rem; }
.legal-contact-box a { color: #4a7a4a; text-decoration: underline; }
.legal-regulatory-box { background-color: #3a5c3a; color: #c8d8c8; border-radius: 8px; padding: 1.5rem; font-family: 'Nunito Sans', sans-serif; font-size: 0.85rem; line-height: 1.8; margin-bottom: 2rem; }
.legal-regulatory-box p:first-child { font-weight: 700; color: white; margin-bottom: 0.5rem; }
.legal-regulatory-box a { color: #8ab88a; text-decoration: underline; }
.legal-back-links { display: flex; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 2rem; }
.legal-back-links a { font-family: 'Nunito Sans', sans-serif; font-size: 0.9rem; color: #4a7a4a; text-decoration: underline; }
.legal-back-links a:hover { color: #3a5c3a; }
@media (max-width: 640px) {
    .legal-table { font-size: 0.8rem; }
    .legal-table thead th, .legal-table tbody td { padding: 0.5rem 0.75rem; }
}
