/* ========================================
   MARION COUNTY PUBLIC HEALTH DEPARTMENT
   Global Stylesheet
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --primary-blue: #1D60E0;
    --primary-blue-dark: #0d3f8f;
    --primary-blue-light: #B0E3FD;
    --secondary-hero-blue: #2150E2;
    --secondary-yellow: #E8FFAB;
    --text-dark: #000000;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-gray: #f3f3f3;
    --bg-light-blue: #e8f4fd;
    --bg-beige: #F4F1E4;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    --tanGradient: linear-gradient(90deg,rgba(248, 246, 238, 1) 0%, rgba(255, 255, 255, 1) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-md-plus: 2.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4.25rem;
    --spacing-xxl: 5rem;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', serif;
    --font-heading: 'Roboto Slab', serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;   /* 12px */
    --text-sm: 0.875rem;  /* 14px */
    --text-base: 1rem;    /* 16px */
    --text-lg: 1.125rem;  /* 18px */
    --text-xl: 1.375rem;   /* 22px */
    --text-2xl: 1.625rem;  /* 26px */
    --text-3xl: 2rem;     /* 32px */
    --text-4xl: 3rem;     /* 48px */
    --text-5xl: 4.5rem;   /* 72px */
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-full: 50%;

    /* Containers */
    --max-container-width: 1624px; 
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    width: 100%;
    
}

.site-container{
overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p, ul, ol {
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-lg);
    line-height: 1.8;
}

a {
    text-decoration: none;
    transition: color var(--transition-base);
    color: var(--text-dark);
}

p a{
    /* font-weight: 600; */
    /* text-decoration: underline; */
    color: var(--text-dark);
}

a:hover,
a:focus {
    color: var(--primary-blue);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

/* CSS custom properties for heights — used to offset fixed elements */
:root {
    --alert-banner-height: 50px;
    --header-height: 99px;
}

.alert-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    transition: top 0.35s ease;
}

header {
    background: var(--white);
    position: fixed;
    top: 0; /* default: no banner */
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: top 0.35s ease;
}

/* When alert banner is present, push header down */
header.alert-banner-active {
    top: var(--alert-banner-height);
}

body {
    padding-top: var(--header-height) !important;
}

body.alert-banner-visible {
    padding-top: calc(var(--alert-banner-height) + var(--header-height)) !important;
}

.header-container {
    background: var(--white);
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 12;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo img {
    width: 185px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
}

nav > ul > li {
    position: static;
}

nav a {
    color: var(--text-dark);
    font-size: 0.938rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    padding: 2.25rem var(--spacing-xs);
    display: block;
}

nav a:hover,
nav a:focus {
    text-shadow: .7px 0 0 var(--primary-blue);
    outline: none;
}

/* Level 2 - Full Width Dropdown Bar */
.mega-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), 
                transform var(--transition-base), 
                visibility var(--transition-base);
    width: 100%;
}

nav > ul > li:hover .mega-dropdown,
nav > ul > li:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-dropdown-inner {
    width: 100%;
    padding: 0;
}

/* Level 2 Navigation - Full Width Inline Bar */
.level-2-nav {
    display: flex;
    justify-content: center;
    background: #024388;
    box-shadow: var(--shadow-sm);
}


.level-2-item > a {
    text-transform: none;
    font-weight: 500;
    padding: 1.5rem;
    border-radius: 0;
    white-space: nowrap;
    color: #fff;
}

.level-2-item > a:hover,
.level-2-item > a:focus,
.level-2-item:hover > a,
.level-2-item:focus-within > a,
.level-2-item > a:active,
.level-2-item.active > a
 {
    background: var(--white);
    background: #f0eded;
    color: #000;
    outline: none;
    text-shadow: .7px 0 0 #000;
}

/* Level 3 - Mega Menu Content */
.level-3-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f0eded;
    padding: 2rem 0;
    display: none;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    min-height: 250px;
    width: 100%;
}

.level-2-item:hover .level-3-content,
.level-2-item:focus-within .level-3-content {
    display: flex;
}

.level-3-content-inner {
    max-width: var(--max-container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.level-3-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-gray);
    height: 250px;
}


/* Image slide: wraps the img + text overlay */
.level-3-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: 6px;
    overflow: hidden;
}

.level-3-image-slide.active {
    opacity: 1;
}

.level-3-image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.level-3-image-slide span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.35;
    border-radius: 6px;
}

/* Retain parent nav link hover state when dropdown is open */
nav > ul > li:hover > a,
nav > ul > li:focus-within > a,
 nav > ul > li.active a,
 nav > ul > li a.active{
    text-shadow: .7px 0 0 var(--primary-blue);
    color: var(--primary-blue);
}

.level-3-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    max-width: 900px;
    gap: .375rem;
    align-self: start;
}

.level-3-links a {
    color: var(--text-dark);
    text-transform: none;
    font-size: var(--text-base);
    font-weight: 500;
    margin: .5rem;
    padding: 0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 15px;
}

.level-3-links a:hover,
.level-3-links a:focus,
.level-3-links a:active {
    color: var(--primary-blue);
    outline: none;
    text-shadow: .7px 0 0 var(--primary-blue);
}

/* Simple Dropdown - Also Full Width Bar */
.simple-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #024388;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    /* transform: translateY(-10px); */
    transition: opacity var(--transition-base), 
                transform var(--transition-base), 
                visibility var(--transition-base);
    z-index: 999;
}

.simple-dropdown a{
    color: #fff;
}

nav > ul > li:hover .simple-dropdown,
nav > ul > li:focus-within .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-dropdown-inner {
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.simple-dropdown a, .level-2-item > a {
    padding: 1rem 2rem;
    text-transform: none;
    font-weight: 500;
    white-space: nowrap;
}

.simple-dropdown a:hover,
.simple-dropdown a:focus {
    background: var(--white);
    color: var(--primary-blue-dark);
}

/* ========================================
   VERTICAL DROPDOWN - Single-level card style
   (used for About, Data, and any nav item
    with only one level of children)
   ======================================== */
nav > ul > li.has-vertical-dropdown {
    position: relative;
}

.vertical-dropdown {
    position: absolute;
    top: 100%;
    left: -.85rem;
    transform: translateX(0) translateY(-6px);
    background: #fff;
    border: 1px solid #e2e4e0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.07);
    /* min-width: 245px; */
    width: auto;
    z-index: 999;
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
}

nav > ul > li:hover .vertical-dropdown,
nav > ul > li:focus-within .vertical-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
    pointer-events: auto;
}

.vertical-dropdown a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: 0;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.vertical-dropdown a:hover,
.vertical-dropdown a:focus {
    color: var(--primary-blue);
    text-shadow: .7px 0 0 var(--primary-blue);
    outline: none;
}

.nav-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    border-radius: 3px;
    padding: 0.1em 0.4em;
    margin-left: 0.5rem;
    line-height: 1.4;
    vertical-align: middle;
    text-shadow: none !important;
    font-family: var(--font-primary);
}

.layout-sidebar .nav-badge{
    padding: 0.2em 0.4em .1em .4em;
}

.header-icons {
    display: flex;
    gap: var(--spacing-sm);
    position: relative;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: var(--spacing-xs);
    transition: color var(--transition-fast);
    outline: none;
}

.icon-btn i{
    font-size: 1.625rem;
}


.icon-btn:hover,
.icon-btn:focus {
    /* transform: scale(1.1); */
    color: var(--primary-blue-dark);
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */
.search-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 85%;
    max-width: 1400px;
    height: 100%;
    background: #E7EFF4;
    display: flex;
    align-items: center;
    padding: 0 5rem 0 2rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s;
    z-index: 15;
    transform-origin: right center;
}

header.search-active, header.search-active .header-container{
    background: #E7EFF4;
}

.search-overlay.active {
    transform: translateX(144px);
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    max-width: var(--max-container-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.search-overlay-inner .icon-btn{
    background: var(--primary-blue);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background var(--transition-base), transform var(--transition-fast);
    flex-shrink: 0;
}

.search-overlay-inner .icon-btn i{
    font-size: 1.5rem;
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}



.search-input {
    flex: 1;
    border: none;
    padding: 1rem 0;
    font-size: var(--text-xl);
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--text-dark);
    background: transparent;
    outline: none;
    transition: border-color var(--transition-base);
    letter-spacing: .04em;
}

.search-overlay .seperator{
   width: 2px;
   height: 50px; 
   border-radius: 2px;
   background: var(--primary-blue);
}

.search-input::placeholder {
    color: var(--text-light);
}



.search-submit-btn,
.search-close-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: .6rem 1.05rem;
    border-radius: 1.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    text-transform: uppercase;
    transition: all var(--transition-base);
    font-weight: 600;
    letter-spacing: .04em;
    width: 112px;
    height: 39px;
}

.search-close-btn i{
    font-size: var(--text-lg);
    font-weight: 600;
    margin-left: .4rem;
}

.search-submit-btn{
    border: 2px solid var(--primary-blue);
}


.search-submit-btn:hover, .search-submit-btn:focus{
    background: none;
    color: var(--primary-blue);
}

.search-close-btn{
    border: 1px solid #fff;
} 

.search-close-btn:hover,
.search-close-btn:focus {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.search-close-btn {
    color: #000;
    background: #ffffff;
}

.search-close-btn:hover,
.search-close-btn:focus {
    background: #000;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

.mobileMenuButton, .mNav {
    display: none;
}
.mNav {
    display: block;
    background: #fff;
    width: 100%;
    height: calc(100% - var(--header-height));
    z-index: 11;
    position: fixed;
    top: var(--header-height);
    right: -100%;
    transition: right .5s ease, top 0.35s ease;
    overflow-y: auto;
    overflow-x: hidden;
}
.alert-banner-active .mNav {
    top: calc(var(--alert-banner-height) + var(--header-height));
    height: calc(100% - var(--alert-banner-height) - var(--header-height));
}

.mNav.is-active{
    right: 0;
}
.mNav .social-icons {
    margin-top: 1.5rem;
}
.mHeader {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid #E2E2E2;
    height: 78px;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 10;
    top: 0;
}
.mNavLogo{
    width:80px;
}
.bannerLinks.mNavFixedLinks{
    display: block;
    height: auto;
}
.bannerLinks.mNavFixedLinks .btn{
    display: block;
    border-radius: 0;
    text-align: center;
    padding: 1.25rem;
    background: var(--primary-blue);
    color: #fff;
    font-size: 1rem;
    width: 100%;
}

.bannerLinks.mNavFixedLinks .btn.green{
    background: var(--secondary-yellow);
    color: var(--primary-blue)
}

/* Mobile Nav Inner Container */
.mNav-inner-container {
    height: calc(100vh - 210px);
    position: relative;
}

/* Mobile Nav Panel System */
.mNavScrollContainer{
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.mNav-inner-container {
    height: auto;
    position: relative;
}

/* Panel container for all levels */
.mNav-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--header-height));
    overflow: auto;
    background: #fff;
    transition: transform 0.3s ease-in-out, top 0.35s ease;
    transform: translateX(0);
}

.alert-banner-active .mNav-panel{
     top: calc(var(--alert-banner-height) + var(--header-height));
     height: calc(100vh - var(--alert-banner-height) - var(--header-height));
} 

.mNav-inner-container .mNav-panel:first-of-type {
    position: relative;
    height: auto;
    top: 0;
}
.mNav-inner-container .mNav-panel:first-of-type .mNavScrollContainer{
    background: #fff;
}

/* Panels underneath stay put — slide-left is intentionally a no-op */
.mNav-panel.slide-left {
    transform: translateX(0);
}

/* New panels slide in from the right, on top */
.mNav-panel.slide-right {
    transform: translateX(100%);
}

/* Back button header */
.mNav-back {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #E2E2E2;
    background: #f0eded;
    cursor: pointer;
    color: var(--primary-blue);
    font-size: var(--text-lg);
    font-weight: 500;
    text-transform: uppercase;
}

.mNav-back strong{
    font-weight: 600;
}

.mNav-back i {
    margin-right: 10px;
    font-size: 2rem;
}

/* .mNav-back:hover {
    background: #f5f5f5;
} */

/* Menu lists */
.mNavScrollContainer ul{
    padding: 0;
    margin: 0;
}

.mNavScrollContainer ul li{
    list-style: none;
    padding: 0;
}

.mNavScrollContainer ul li a{
    color: var(--text-dark);
    font-size: var(--text-lg);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E2E2E2;
    transition: background 0.2s ease;
}

.mNavScrollContainer ul li a:hover {
    background: #f5f5f5;
}

/* Arrow icon for items with submenus */
.mNavScrollContainer ul li a.hasDropdown:after{
    content: "\E06C";
    font-family: "Phosphor";
    font-weight: 500;
    display: inline-block;
    color: var(--primary-blue);
    font-size: 1.625rem;
    line-height: 1;
}

/* Level 2 and 3 links (not uppercase, smaller font) */
.mNav-panel[data-level="2"] ul li a,
.mNav-panel[data-level="3"] ul li a {
    text-transform: none;
    font-size: var(--text-lg);
}

/* Overview link at top of mobile sub-panels */
.mNavScrollContainer ul li.mobile-parent-overview a {
    color: var(--primary-blue);
}
/* .mNavScrollContainer ul li.mobile-parent-overview a:hover {
    background: #e0edf8;
} */
/* .mNavScrollContainer ul li.mobile-parent-overview a::after {
    content: "\E044";
    font-family: "Phosphor";
    font-weight: 500;
    display: inline-block;
    color: var(--primary-blue);
    font-size: 1.625rem;
    line-height: 1;
} */


/* ========================================
   DESKTOP LANGUAGE SELECTOR
   ======================================== */
.desktopLanguageOptions {
    position: absolute;
    background: #fff;
    right: -2rem;
    top: 100%;
    width: 350px;
    border-top: 1px solid var(--border-gray);
    z-index: -1;
    margin-top: -500px;
    transition: margin var(--transition-base), opacity var(--transition-base);
    opacity: 0;
    box-shadow: var(--shadow-sm);
}
.desktopLanguageOptions.show{
    margin-top: 27px;
    opacity: 1;
}
.desktopLanguageOptions .lang-panel-note{
    font-size: var(--text-xs);
}
.desktopLanguageOptions .lang-panel-inner{
    overflow: auto;
    max-height: 500px;
}
.desktopLanguageOptions .lang-name{
    font-size: var(--text-sm);
}
.desktopLanguageOptions .lang-label{
    font-size: var(--text-xs);
}

/* ========================================
   MOBILE LANGUAGE SELECTOR
   ======================================== */
.mobile-language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: var(--font-primary);
}

.mobile-language-selector i {
    font-size: 1.25rem;
    line-height: 1;
}

/* Language Panel Inner Wrapper */
.lang-panel-inner {
    padding: 1.5rem 1.875rem;
}

.lang-panel-note {
    font-size: var(--text-sm);
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-family: var(--font-secondary);
}

/* Language List */
.lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #E2E2E2;
}

.lang-list li {
    border-bottom: 1px solid #E2E2E2;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    text-align: left;
    gap: 0.75rem;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: #f5f5f5;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin: 0 -0.5rem;
    width: calc(100% + 1rem);
    border-radius: var(--radius-sm);
}

.lang-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.lang-label {
    font-size: var(--text-sm);
    color: var(--text-medium);
    font-weight: 400;
    white-space: nowrap;
}

.lang-check {
    font-size: 1.375rem;
    color: var(--primary-blue);
    opacity: 0;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

/* Active language state */
.lang-list li.lang-active .lang-option .lang-name {
    color: var(--primary-blue);
}

.lang-list li.lang-active .lang-check {
    opacity: 1;
}



/* Hide default subnavs (we'll use panels instead) */
ul.subnav {
    display: none !important;
}

body.activateStickyHeader{
    padding-top: 0;
}


  /*========= Animated Mobile Menu ============*/
html.with-scrollbarComp {
    width: auto;
    overflow: visible;
    scroll-behavior: auto;
}

body.hide-scrollbar {
    /* padding-right: 15px; */
    width: auto;
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    overscroll-behavior-y: none;
}

.c-hamburger {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 30px;
  font-size: 0;
  text-indent: -9999px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

.c-hamburger:focus {
  outline: none;
}

.c-hamburger span {
  display: block;
  position: absolute;
  top: 14px;
  left: 0;
  right: 18px;
  background: var(--primary-blue);
  border-radius: 10px;
  height: 2px;
  width: 100%;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  background: var(--primary-blue);
  content: "";
  border-radius: 10px;
  height: 2px;
  width: 100%;
}

.c-hamburger span::before {
  top: -9px;
}

.c-hamburger span::after {
  bottom: -9px;
}

.c-hamburger--htx {
  background:none;
}

.c-hamburger--htx span {
  -webkit-transition: background 0s 0.2s;
          transition: background 0s 0.2s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  -webkit-transition-duration: 0.2s, 0.2s;
          transition-duration: 0.2s, 0.2s;
  -webkit-transition-delay: 0.2s, 0s;
          transition-delay: 0.2s, 0s;
}

.c-hamburger--htx span::before {
  -webkit-transition-property: top, -webkit-transform;
          transition-property: top, transform;
}

.c-hamburger--htx span::after {
  -webkit-transition-property: bottom, -webkit-transform;
          transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
  background:none;
}

.c-hamburger--htx.is-active span {
  background: none;
}

.c-hamburger--htx.is-active span::before {
  top: 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  -webkit-transition-delay: 0s, 0.2s;
          transition-delay: 0s, 0.2s;
}


/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    background: var(--secondary-hero-blue);
    color: var(--white);
    font-size: var(--text-base);
    font-weight: 500;
}

.breadcrumb .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.breadcrumb a {
    color: var(--white);
}


.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .seperator {
    margin: 0 0.5rem;
}



/* ========================================
   CALL BUTTON (Floating)
   ======================================== */
.call-btn {
    position: fixed;
    right: 0;
    top: 33%;
    transform: translateX(70%);
    background: var(--secondary-yellow);
    color: var(--primary-blue);
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    width: 270px;
    padding: .875rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1.438rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    z-index: 10;
    display: flex;
    gap: 35px;
    align-items: center;
    font-weight: 600;
}
.call-btn .call-btn-flex span{
    display: block;
}
.call-btn .call-btn-flex span:first-of-type{
    font-size: .75rem;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--primary-blue);;
}

.call-btn:hover,
.call-btn:focus {
    transform: translateX(0%);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
}

.btn-primary, .umbraco-forms-navigation .btn-primary {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-primary:hover,
.btn-primary:focus,
.umbraco-forms-navigation .btn-primary:hover,
.umbraco-forms-navigation .btn-primary:focus {
    
    background: var(--primary-blue);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: .75rem 2.25rem;
    font-size: var(--text-lg);
    min-width: 185px;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary-blue);
    border-radius: var(--radius-md);
}

.card h3, .card p{
    transition: color var(--transition-base);
}

.card:hover h3, .card:hover p{
    color: #fff;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    text-transform: uppercase;
}


.card-content {
    background: #fff;
    padding: var(--spacing-md);
    border-top: none;
    height: 100%;
    transition: all var(--transition-base);
}

.card:hover .card-content {
    background: var(--primary-blue);
}

.card-title {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.card-text {
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar-box {
    background: var(--bg-beige);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.sidebar-nav{
    background-color: #E2F5FE;
}

.mobile-sidebar-nav, .mobile-top-container{
    display: none;
}

.sidebar-box.primary {
    background: var(--primary-blue);
    color: var(--white);
}

.sidebar-box.primary h3,
.sidebar-box.primary h4,
 .sidebar-newsletter-signup h3,
 .sidebar-newsletter-signup h4{
    color: var(--white);
}

.sidebar-box h3,
.sidebar-box h4 {
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    /* margin-bottom: 1.5rem; */
    font-weight: 400;
}

.sidebar-box.primary h3,
.sidebar-box.primary h4 {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-box p,
.sidebar-box ul,
.sidebar-box a {
    font-size: var(--text-lg);
    line-height: 1.8;
    font-family: var(--font-secondary);
}

.sidebar-box p i.ph-caret-right{
    display: none;
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box ul li {
    padding: .625rem 0;
    /* margin-bottom: 0.625rem; */
}

.sidebar-box a {
    font-weight: normal;
}

.sidebar-box.primary a {
    color: var(--white);
}

.sidebar-box.primary a:hover{
    text-decoration: underline;
}




/* ========================================
   FORMS
   ======================================== */

.form-group {
    margin-bottom: var(--spacing-md);
    width: 100%;
}
.form-group.physicalnewsletterheader, .form-group.digitalnewsletter{
    margin-bottom: 0;
}



.page-form label, .umbraco-forms-field label{
    display: block;
    margin-bottom: 0.375rem;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 0.938rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-dark);
}

.page-form .checkbox label, .umbraco-forms-field .checkbox label{
    text-transform: none;
    font-size: var(--text-base);
}

.form-group.umbraco-forms-field.city.shortanswer {
    min-width: 220px;
}

.page-form input,
.umbraco-forms-page input,
.page-form select,
.umbraco-forms-page select,
.page-form textarea,
.umbraco-forms-page textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #D1E4ED;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    background: #D1E4ED;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.page-form textarea, .umbraco-forms-page textarea{
    background: #E5F0F5;
    resize: none;
    height: 250px;
}

.page-form input:focus,
.umbraco-forms-page input:focus,
.page-form select:focus,
.umbraco-forms-pageselect:focus,
.page-form textarea:focus,
.umbraco-forms-page textarea:focus{
    outline: none;
    border-color: var(--primary-blue);
    background: #fff;
}

.page-form select,
.umbraco-forms-page select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #D1E4ED url(/media/hqibwmnz/caret-down.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    cursor: pointer;
}
.page-form select:focus,
.umbraco-forms-page select:focus{
    background: #fff url(/media/hqibwmnz/caret-down.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

/* Custom Checkbox */
.check-container {
  display: block;
  position: relative;
  padding-left: 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
  width: 35px;
  border: 1px solid #000;
  border-radius: 3px;
}

.check-container:hover input ~ .checkmark {
  background-color: #f1f1f1;
}

.check-container input:checked ~ .checkmark {
  background-color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.check-container input:checked ~ .checkmark:after {
  display: block;
}

.check-container .checkmark:after {
    left: 12px;
    top: 3px;
    width: 7px;
    height: 17px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
fieldset{
    border: none;
}




/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h3{
    color: var(--primary-blue);
    margin: 0;
}

.section-flex{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.dotted-border{
    width: 100%;
    height: 2px;
    /* background: url(../images/dotted-border.svg) repeat-x; */
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2210%22 height=%224%22%3E%3Ccircle cx=%222%22 cy=%222%22 r=%221.5%22 fill=%22rgba(2,91,118,0.4)%22/%3E%3C/svg%3E');
    background-size: contain;
    margin: 15px 0;
}
.dotted-border.blue{
    /* background: url(../images/dotted-border-primaryBlue.svg) repeat-x; */
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2210%22 height=%224%22%3E%3Ccircle cx=%222%22 cy=%222%22 r=%221.5%22 fill=%22rgba(29,96,224,1)%22/%3E%3C/svg%3E');
    background-size: contain;
}
.section-title {
    font-size: var(--text-3xl);
    color: var(--text-dark);
}

.view-all {
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
}

.view-all:hover,
.view-all:focus {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Background Variations */
.section-white {
    background: var(--white);
}

.section-gray {
    background: var(--bg-gray);
}

.section-blue {
    background: var(--primary-blue);
    color: var(--white);
}

.section-blue h2,
.section-blue h3 {
    color: var(--white);
}

.section-light-blue {
    background: var(--bg-light-blue);
}

.fullGrid .grid-3{
    margin-top: var(--spacing-lg);
}



/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid {
    display: grid;
    gap: 1.25rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Sidebar Layout */
.layout-sidebar {
    /* display: grid;
    grid-template-columns: 470px 1fr; */
    display: flex;
    gap: var(--spacing-lg);
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.layout-sidebar aside{
    width: 30%;
    min-width: 300px;
}

/* ========================================
   ACCORDIONS
   ======================================== */
.accordion {
    border-bottom: 1px solid #000;
    overflow: hidden;
}

.accordion-header {
    padding: 1.75rem var(--spacing-sm) 1.75rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    font-weight: normal;
    transition: background var(--transition-base);
    border: none;
    width: 100%;
    text-align: left;
    background: none;
    color: #000;
}


.accordion-icon {
    font-size: var(--text-3xl);
    transition: transform var(--transition-base);
    font-family: var(--font-secondary);
    font-weight: 300;
    line-height: 1;
    /* text-indent: -9999px;
    background: url(/media/l12lt0gs/icon-plus.svg) center no-repeat; */
    background-size: contain;
    width: 20px;
}

.accordion.active .accordion-icon{
    /* background: url(/media/hsdnccc3/icon-minus.svg) center no-repeat; */
    background-size: contain;
    font-size: var(--text-2xl);
}

/* .sidebar-accordion .accordion-icon {
    background: url(/media/121a1j22/icon-plus_white.svg) center no-repeat;
    background-size: contain;
} */

.sidebar-accordion.accordion.active .accordion-icon{
    background: url(/media/hqfdj2my/icon-minus_white.svg) center no-repeat;
    background-size: contain;
}

.accordion-header:hover, .accordion.active .accordion-header,
.accordion-header:hover .accordion-icon, .accordion.active .accordion-icon{
    font-weight: 600;
}

.accordion-header:hover .accordion-icon {
    font-weight: 400;
}

.accordion.active .accordion-icon {
    font-weight: 600;
    margin-bottom: -7px;
}


.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-family: var(--font-secondary);
}

.accordion-content h4{
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    font-weight: 500;
    margin-bottom: 0.625rem;
}

.content-section .accordion-content p{
    font-weight: 400;
    font-family: var(--font-secondary);
}

.accordion-content a{
    color: #000;
    text-decoration: underline;
}

.accordion-content a:hover{
    color: var(--primary-blue);
}

.accordion.active .accordion-content {
    max-height: 2000px;
}

.accordion-body {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 0;
    border-bottom: 2px solid #000;
}

/* ========================================
   ALPHA NAVIGATION
   ======================================== */
.alpha-nav {
    background: var(--white);
    padding: 0.625rem;
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alpha-nav-container{
    margin-bottom: var(--spacing-xl);
}
.alpha-nav-container .section-header{
    margin-bottom: 0;
}

.alpha-nav a {
    display: inline-block;
    padding: .5rem 0.25rem;
    font-size: var(--text-base);
    color: var(--text-dark);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.alpha-nav a:before {
    content: attr(data-content);
    font-weight: 900;
    display: block;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

.alpha-nav a:hover,
.alpha-nav a:focus {
    color: var(--primary-blue);
    font-weight: 900;
}

/* ========================================
   EMERGENCY SECTION
   ======================================== */
.emergency-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    margin-top: 0.875rem;
}

.emergency-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.emergency-section p {
    font-size: var(--text-lg);
    max-width: 650px;
    margin: 0 auto var(--spacing-md);
}
/* ========================================
   FOOTER
   ======================================== */


.footer-banner {
    background: #aee1fb;
    text-align: center;
    padding: 1rem var(--spacing-md);
}

.footer-banner p{
    margin: 0;
    font-size: var(--text-base);
}

.footer-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
    display: flex;
    gap: 5%;
    padding: 5rem var(--spacing-md) 1rem;
}
.footer-section h4 {
    font-size: 0.938rem;
    margin-bottom: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section a, .footer-section li {
    color: var(--text-dark);
    font-size: var(--text-base);
    display: block;
    margin-bottom: 0.438rem;
    transition: all var(--transition-fast);
    font-weight: 500;
    outline: none;
}

/* Bold Hover Text Shift Fix */
.footer-section a:before{
  content: attr(data-content); /* Duplicates the text content */
  font-weight: bold;
  display: block;
  height: 0; 
  visibility: hidden; 
  overflow: hidden; 
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--primary-blue);
    font-weight: 600;
}

.footer-center {
    text-align: center;
    margin: 2.5rem 0;
    font-size: var(--text-base);
}

.footer-center strong{
    text-transform: uppercase;
    padding-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    background: #F3F4F4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.875rem var(--spacing-md);
}

.footer-bottom p{
    margin-bottom: 0;
    font-size: var(--text-sm);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.section-header .social-icons {
    margin-left: 10px;
}

.social-icons a {
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: color var(--transition-base);
}

.social-icons a:hover,
.social-icons a:focus {
    color: var(--primary-blue);
}


/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

/* Homepage Styles */
.hero {
    color: white;
    text-align: center;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.hero:before{
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0, 0, 0, .2);
    z-index: 2;
}
.hero:after{
    content: "";
    width: 60%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: #0245C3;
    background: linear-gradient(90deg,rgba(2, 69, 195, 1) 0%, rgba(2, 69, 195, 0) 60%);
    z-index: 3;
    opacity: .7;
}
.hero video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.hero h1 {
    font-size: var(--text-5xl);
    font-weight: normal;
    margin-bottom: 0;
    color: white;
    font-family: var(--font-heading);
    position: relative;
    z-index: 4;
    line-height: 1.2;
    padding: 0 1rem;
}

.drop-links-section {
    background: var(--primary-blue);
    padding: var(--spacing-xl) var(--spacing-md);
}

.drop-links-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
}

.drop-links-title {
    color: white;
    margin-bottom: 2.5rem;
    font-weight: normal;
}

.drop-links-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-selected {
    padding: var(--spacing-md);
    background: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-lg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow var(--transition-base);
    font-family: var(--font-primary);
    color: var(--text-dark);
}

.dropdown-selected:hover, .dropdown-selected:focus {
    background-color: var(--secondary-yellow);
}

.mobile-sidebar-nav .dropdown-selected{
    background-color: #2150e2;
    color: #fff;
}

.dropdown-option .active {
    font-weight: 600;
}

/*.dropdown-option:last-of-type{
    font-style: italic;
    padding-right: 10%;
    line-height: 1.4;
    pointer-events:none;
}*/

.dropdown-arrow {
    transition: transform var(--transition-base);
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-arrow i {
    font-size: 26px;
    font-weight: 500;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: calc(100% - 3px);
    left: 0;
    right: 0;
    background: white;
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: none; 
    overflow-y: auto;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-base), 
    transform var(--transition-base), 
    visibility var(--transition-base);
}

.newsletter-form .dropdown-options{
    max-height: 234px;
    overflow: auto;
}

.custom-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 0.625rem var(--spacing-md);
    cursor: pointer;
    transition: background var(--transition-fast);
    font-family: var(--font-primary);
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-gray);
}

.dropdown-option:last-child {
    border-bottom: none;
    line-height: 1.4;
    pointer-events: none;
    font-style: italic;
}
.custom-dropdown:last-child .dropdown-option:last-child{
    line-height: 1.6;
    pointer-events: all;
    font-style: normal;
}

.dropdown-option:hover,
.dropdown-option:focus {
    background: var(--secondary-yellow);
    outline: none;
}

.dropdown-option.selected {
    background: var(--secondary-yellow);
    font-weight: 600;
    color: var(--primary-blue);
}

/* Scrollbar styling for dropdown */
.dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
}

.dropdown-options::-webkit-scrollbar-thumb {
    border-radius: var(--radius-sm);
    background: #d0d0d0;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #b7b7b7;
}

.welcome-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.welcome-image {
    position: relative;
    overflow: hidden;
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-content {
    background: var(--primary-blue-light);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-content h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.welcome-content h3 {
    font-size: var(--text-3xl);
    font-family: var(--font-heading);
    margin-bottom: 1.85rem;
    color: var(--text-dark);
    font-weight: normal;
    line-height: 1.3;
}

.welcome-content .container {
    max-width: 650px;
    margin: 0;
}

.welcome-content p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: var(--text-lg);
}

.news-section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-container-width);
    margin: var(--spacing-lg) auto 0;
}

.news-card {
    background-color: var(--bg-beige);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    transition: margin var(--transition-base), background-color var(--transition-slow);
}

.news-image-wrapper {
    height: 260px;
    overflow: hidden;
    position: relative;
    transition: height var(--transition-base);
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.news-card:hover{
    margin-top: -20px;
    background-color: var(--primary-blue-light);
}

.news-card:hover .news-image-wrapper,
.news-card:focus-within .news-image-wrapper{
    height: 270px; 
}
.news-content {
    padding: var(--spacing-md);
    /* height: calc(100% - 250px);
    display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

.news-content h3 {
    color: var(--text-dark);
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-size: var(--text-xl);
    font-weight: 500;
}

.news-content p {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    overflow: hidden;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Number of lines to show before truncating */
    -moz-box-orient: vertical;
    line-clamp: 3;
}
.services-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem 6rem;
    margin-top: var(--spacing-lg);
}

.service-card {
    text-align: left;
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: background var(--transition-base), color var(--transition-base);
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
    background: #d6f1fe;
}

.service-card:hover h3,
.service-card:focus-within h3 {
    color: var(--primary-blue);
}

/* .service-card:hover .learn-more,
.service-card:focus-within .learn-more {
    border-bottom: 2.5px solid var(--primary-blue);
} */

.service-icon svg {
    width: 60%;
}

.service-icon img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.service-card .learn-more{
    text-transform: uppercase;
    font-size: var(--text-sm);
    color: var(--primary-blue);
    font-weight: bold;
    padding-bottom: 0.25rem;
    border-bottom: 3px solid transparent;
    margin-top: auto;
    display: none;
}

.service-card .service-icon svg path,
.service-card .service-icon svg path{
    transition: fill var(--transition-base), stroke var(--transition-base);
}

.service-card:hover .service-icon svg path,
.service-card:focus-within .service-icon svg path{
    stroke: #1D60E0;
    fill: #fff;
}

.service-card h3 {
    font-size: var(--text-base);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--text-dark);
    font-weight: 600;
    transition: color var(--transition-base);
    text-align: center;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--text-medium);
    max-width: 450px;
}

.programs-section {
    background: var(--tanGradient);
    padding: var(--spacing-xl) var(--spacing-md);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.program-card {
    transition: transform var(--transition-base);
}


.program-card:hover h3,
.program-card:focus-within h3{
    color: var(--primary-blue);
}

.program-image-wrapper {
    height: 13vw;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 285px;
    max-height: 285px;
}

.program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.program-content {
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-content h3 {
    font-size: var(--text-base);
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.program-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;

     display: none;   /* TEMP GET RID OF ACUTAL ELEMENT */
}

.events-section {
    padding: 4rem 2rem;
    background: white;
}

.events-wrapper {
    max-width: var(--max-container-width);
    margin: 0 auto;
    background: var(--bg-light-blue);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-md);
}

.events-container {
    display: flex;
    gap: 6%;
    align-items: start;
    padding: 1rem;
}

.featured-event, .slide-event {
    display: flex;
    gap: 10%;
    align-items: flex-start;
    width: 55%;
}

.featured-event img, .slide-event img {
    width: 35%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.event-info h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-transform: capitalize;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: normal;
    letter-spacing: .08em;
    line-height: 1;
}

.event-info h4 {
    font-size: var(--text-xl);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: .01em;
}

.event-info p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 500;
}

.event-list {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #1D60E0;
    -webkit-box-shadow: 0 3px 20px 1px rgba(29,96,224,.12);
    box-shadow: 0 3px 20px 1px rgba(29,96,224,.12);
    width: 39%;
}

.event-list h3 {
    color: var(--primary-blue);
    font-size: 1.063rem;
    font-weight: 700;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-list .event-date, .event-list .event-time{
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
    color: #000;
}
.event-list .event-time{
    margin-bottom: .6rem;
}


.event-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    display: block;
}

.event-item span{
    display: block;
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: var(--text-base);
    transition: font-weight var(--transition-base);
}

.single-event-date{
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    font-size: var(--text-lg);
    display: block;
    text-transform: uppercase;
}

.event-date strong{
    font-weight: 700;
}


.event-item:hover span{
    color: #000;
}

.event-item:hover .event-title{
    color: var(--primary-blue);
}

.event-item span:last-child {
    color: var(--text-medium);
    font-size: var(--text-base);
}

.resources-section {
    background: var(--primary-blue);
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.resources-section h3 {
    color: white;
}

.resources-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(133px, 1fr));
    gap: 12%;
    max-width: 920px;
    margin: var(--spacing-lg) auto 0;
}

.resource-card {
    border-radius: var(--radius-md);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: #B1E5FF;
    transition: background var(--transition-base);
    width: 100%;
    height: 200px;
    border: 2px solid #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon img {
    width: 32%;
    height: auto;
}

.resource-card:hover .resource-icon,
.resource-card:focus-within .resource-icon{
    background: #e8ffab;
    border: 2px solid #e8ffab;
}

.resource-card h3 {
    font-size: var(--text-lg);
    text-transform: uppercase;
    color: white;
    letter-spacing: .02em;
}

/* Environmental Health Department Page */
.landing-page-hero {
    padding: 4.5rem 0;
    background: white;
    color: var(--primary-blue);
}

.landing-page-hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.landing-page-hero h1 {
    color: var(--primary-blue);
    font-weight: 500;
}

.landing-page-icon {
    background: var(--bg-beige);
    min-width: 100px;
    max-width: 100px;
    min-height: 100px;
    max-height: 100px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.landing-page-icon img{
    width: 50%;
    height: auto;
}

.blue-banner {
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    justify-content: flex-end;
    position: relative;
    height: auto;
    min-height: 400px;
}


.banner-copy {
    width: 100%;
    display: flex;
    align-items: center;
}

.banner-copy p {
    font-size: var(--text-xl);
    max-width: 800px;
    font-weight: 500;
}

.banner-image{
    width: 60%;
    height: 100%;
    position: absolute;
}

.banner-inner {
    max-width: 420px;
    width: 34%;
    padding: 1rem 0;
}

.banner-image img{
    mix-blend-mode: soft-light;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    object-position: 80%;
}


/* Department Sidebar Navigation */
.section-nav {
    list-style: none;
    padding: 0;
    margin-top: 1.25rem;
}

.section-nav li {
    padding: 0.5rem 0;
}

.section-nav li:last-child {
    border-bottom: none;
        margin-bottom: 0;
    padding-bottom: 0;
}

.section-nav a {
    color: var(--text-dark);
    font-size: var(--text-lg);
    font-family: var(--font-secondary);
    letter-spacing: .01em;
    max-width: 350px;
    display: block;
    transition: all var(--transition-fast);
    line-height: 1.5;
}

.section-nav a:hover, .section-nav a.active{
    font-weight: 600;
}

/* Medical Disclaimer Box */
.callout-container{
    background: var(--bg-gray);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-blue);
    margin: 1.5rem 0 3rem;
}

.callout-container p:last-child {
    margin-bottom: 0;
}

/* Filter Bar */
.filter-bar {
    background: var(--bg-beige);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    font-family: var(--font-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: var(--text-lg);
}

.filter-bar-left-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-bar-left-button:hover, .filter-bar-left-button.active{
    color: var(--primary-blue);
}

.filter-bar-left-button i{
    font-size: 1.75rem;
    display: inline-block;
    transform: translateY(3px);
}

.filter-sort-caret {
    font-size: 1rem !important;
    transform: translateY(2px) !important;
    transition: transform 0.2s ease;
    margin-left: -0.25rem;
}

.filter-bar-left-button.active .filter-sort-caret {
    transform: translateY(2px) rotate(180deg) !important;
}

.filter-bar {
    position: relative;
}

.filter-sort-dropdown {
    position: absolute;
    top: calc(100% + -2px);
    /* top: 100%; */
    left: 0;
    background: #fff;
    border: 1px solid #e2e4e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
    /* box-shadow: var(--shadow-sm); */
    min-width: 220px;
    z-index: 2;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.filter-sort-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.filter-sort-section {
    padding: 0.35rem 0;
}

.filter-sort-section-label {
    font-size: 0.65rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    padding: 0.4rem 1.1rem 0.2rem;
}

.filter-sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 1.1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body, inherit);
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-dark, #222);
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.12s ease;
}

.filter-sort-option:hover {
    background: #f5f5f3;
}

.filter-sort-check {
    font-size: 1.25rem;
    color: var(--primary-blue);
    opacity: 0;
    transition: opacity 0.12s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.filter-sort-option.selected .filter-sort-check {
    opacity: 1;
}

.filter-sort-divider {
    height: 1px;
    background: #e8e8e5;
    margin: 0.3rem 0;
}


/* Resources List */
.content-block {
    margin: var(--spacing-xl) 0;
}

.content-block p a{
    font-weight: 600;
}

.resource-list {
    list-style: none;
    padding: 0;
}

.resource-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-list a{
    display: block;
    padding: 0.5rem 0;
    transition: none;
}

.resource-list a:hover {
    font-weight: 600;
}

/* Event Calendar */
.blue-section-header {
    margin-bottom: 1rem;
    background: #D1E4ED;
    padding: 2rem;
    text-align: center;
    text-transform: uppercase;
    max-width: none !important;
}

.content-section .calendar-month {
    font-size: var(--text-2xl);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--text-dark);
    text-transform: uppercase;
    font-weight: 700;
}

.event-listing, .highlight-block {
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 1.75rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
    display: block;
}

.event-listing:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.highlight-block:last-child  {
    margin-bottom: 0;
}

.event-listing .event-title, .calendar-accordion .accordion-content .event-title {
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
}
.calendar-accordion .accordion-content .event-listing{
    text-decoration: none;
    margin-bottom: 2rem;
}
.calendar-accordion .accordion-content .event-listing:last-child{
    margin-bottom: 0;
}
.calendar-accordion  .accordion-header{
    font-size: var(--text-2xl);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 0;
}

.calendar-accordion .accordion{
   border-bottom: 1.5px solid #0389FC; 
}

.calendar-accordion .accordion-body{
   border-bottom: 2px solid #0389FC;
   padding-top: var(--spacing-sm); 
}

.highlight-block .highlight-title {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}
.highlight-block .highlight-block-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.highlight-block .highlight-date{
    font-size: 0.938rem;
    margin: 0;
}

.highlight-block h4{
    transition: color var(--transition-base);
}

.highlight-block:hover h4{
    color: var(--primary-blue);
}

.event-listing .event-details, .highlight-block .hightlight-details {
    margin-bottom:0;
    font-weight: 400;
    max-width: 600px;
}

.event-listing .event-link, .highlight-block .hightlight-link {
    font-weight: 500;
    font-size: var(--text-base);
    display: block;
    margin-top: 2.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.beige-content-block {
    padding: 2rem;
    background: var(--bg-beige);
}

.inner-container a:hover{
    font-weight: 600;
}


/* Sidebar Image Boxes */
.sidebar-img-box {
    padding: 0;
    overflow: hidden;
    background: none;
    width: 100%;
    height: 24vw;
    min-height: 250px;
}

.sidebar-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--radius-md);
}

.sidebar-img-content {
    padding: 1.5rem 0;
    background: #fff;
}


.sidebar-img-content p:last-child {
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    margin-bottom: var(--spacing-xl);
    width: 70%;
    max-width: 950px;
}
.content-section.full-width{
    margin-bottom: var(--spacing-md);
}

.content-section p, .content-section ul, .content-section ol{
    max-width: 850px;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}
.content-section ul, .content-section ol{
    padding-left: 20px;
}
ol ::marker {
    font-weight: 600;
}

.content-section p strong{
    font-weight: 600;
}

.content-section .btn{
    margin: 2rem 0 0;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2{
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    font-size: var(--text-2xl);
    letter-spacing: .03em;
    max-width: 850px;
}

.content-section h3{
    font-weight: 500;
    margin-bottom: var(--spacing-md-plus);
}

h4.section-header{
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 1.25rem;
    text-transform: uppercase;
    font-size: var(--text-lg);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

h4.section-header.noBorder {
    border: none;
    margin-bottom: 0;
}

.content-block-alternate:first-of-type {
    margin-top: var(--spacing-xxl);
}

.content-section .content-block:first-of-type{
    margin-top: 0;
}


.section-divider {
    border: none;
    border-top: 2px solid var(--primary-blue);
    margin: 1.5rem 0;
}

.text-center-section {
    text-align: center;
    margin: 3rem 0;
}

.arrow-link, .learn-more-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--text-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.arrow-link i{
    font-size: 1.875rem;
}

/* ========================================
   PAGE HERO / BANNER
   ======================================== */
.page-hero {
    background: var(--secondary-hero-blue);
    color: var(--white);
    padding: var(--spacing-lg) 0 3.875rem;
    position: relative;
    min-height: 240px;
}

.page-hero h1 {
    color: var(--white);
    max-width: 1100px;
    font-size: var(--text-4xl);
    font-weight: 500;
    padding-top: var(--spacing-md);
    margin-bottom: 0;
}

.page-hero h2.hero-subhead {
    color: #fff;
    text-transform: uppercase;
    font-size: var(--text-3xl);
    margin: 0;
    letter-spacing: .025em;
    font-weight: 500;
}

.page-hero p {
    max-width: 600px;
    font-size: var(--text-lg);
    opacity: 0.95;
}

/* Page Hero Variations */
.page-hero.simple {
    padding: 4rem 2rem;
}


/* Footer Logo */
.footer-logo {
    margin-bottom: 1rem;
    width: 170px;
}

.footer-section a.footer-link-primary {
    color: var(--primary-blue) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.footer-section a.footer-link-primary:hover{
    font-weight: 800;
    border-bottom: 2px solid var(--primary-blue);
}

.footer-hours {
    margin-top: 1rem;
}
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.container {
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   MOBILE FOOTER ACCORDION STYLES
   Add these styles to your global-styles.css
   ======================================== */

/* Mobile Footer Accordion */
.mobile-footer {
    flex-direction: column;
    padding: 2rem var(--spacing-md) 0;
    display: none;
}
.mobile-footer .footer-section {
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mobile-footer-logo .footer-logo {
    width: 150px;
}

/* ========================================
   MOBILE FOOTER ACCORDION STYLES
   ======================================== */

/* Mobile Footer Accordion */
.mobile-footer {
    flex-direction: column;
    padding: 2rem var(--spacing-md) 0;
}

.mobile-footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mobile-footer-logo .footer-logo {
    width: 150px;
}

/* Footer Accordion Container */
.footer-accordion {
    border-bottom: 1px solid var(--border-gray);
}

/* Footer Accordion Header */
.footer-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    text-align: left;
}

.footer-accordion-header:hover {
    color: var(--primary-blue);
}

/* Footer Accordion Caret Icon */
.footer-accordion-icon {
    font-size: 1.25rem;
    transition: transform 0.2s ease-out;
    color: var(--primary-blue);
}

.footer-accordion.active .footer-accordion-icon {
    transform: rotate(180deg);
}

/* Footer Accordion Content */
.footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.footer-accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom: 1rem;
}

.footer-accordion-content ul li {
    padding: 0.5rem 0;
    font-size: var(--text-sm);
    color: var(--text-dark);
}

.footer-accordion-content ul li a {
    color: var(--text-dark);
    font-size: var(--text-base);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-accordion-content ul li a:hover {
    color: var(--primary-blue);
}

.footer-accordion-content .footer-link-primary {
    color: var(--primary-blue) !important;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
    display: inline-block;
}






/* ========================================
   LEADERSHIP GREEN BLOCK (Director's Message, etc.)
   ======================================== */
.leadership-block {
    background: #E8FFAB;
    color:#000;
    padding: 2.5rem;
    border-radius: var(--radius-md);
}

.leadership-block h4 {
    color: #000;
    font-size: var(--text-lg);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.leadership-block p {
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.leadership-block p strong {
    font-weight: 700;
}

.leadership-block p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CAREER TESTIMONIALS (3 column green section)
   ======================================== */
.three-col-section, .interactiveGrid.desktopGrid {
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
}

.three-col-section.green-bg, .interactiveGrid.desktopGrid.green-bg{
    background: #E8FFAB;
}

.three-col-section .section-container, .interactiveGrid.desktopGrid .section-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
    text-align: center;
}

.three-col-section h3, .interactiveGrid.desktopGrid h3 {
    color: #000;
    font-size: var(--text-3xl);
    margin-bottom: 0.75rem;
}

.three-col-section .section-intro, .interactiveGrid.desktopGrid .section-intro {
    color: #000;
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-md);
}

.three-col-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.three-col-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.three-col-content {
    padding: 2.25rem 3.5rem;
    border: 1px solid var(--primary-blue);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    flex: auto;
    position: relative;
}

.three-col-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    text-align: center;
}

.three-col-content p {
    font-size: var(--text-base);
    line-height: 1.6;
    text-align: center;
}

.three-col-section.green-bg .three-col-content {
    border: none;
}

.add-download-button .three-col-content {
    padding: 2.25rem 4rem 4rem;
}

.download-link {
    position: absolute;
    right: 2rem;
    bottom: 1.25rem;
    font-size: var(--text-base);
    text-transform: uppercase;
    font-family: var(--font-secondary);
    font-weight: 500;
    letter-spacing: .03em;
}

/* ========================================
   HISTORY TIMELINE (Horizontal Scroll)
   ======================================== */
.timeline-section {
    background: #E8FFAB;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.timeline-section .section-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.timeline-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto var(--spacing-xxl);
}

.timeline-header a{
    font-weight: 500;
}

.timeline-header-left h3 {
    color: #000;
    font-size: var(--text-3xl);
    font-family: var(--font-heading);
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.timeline-header-left p {
    color: #000;
    font-size: var(--text-base);
    max-width: 500px;
}

.timeline-header-left p a {
    color: #000;
    text-decoration: underline;
}

.timeline-header-right {
    color: #E8FFAB;
    font-size: var(--text-sm);
    font-style: italic;
    max-width: 250px;
    text-align: right;
}

.timeline-wrapper {
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.5rem;
    user-select: none;
}

.timeline-wrapper::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

.timeline-wrapper::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.timeline-wrapper:active {
    cursor: grabbing;
}

.timeline-track {
    display: flex;
    gap: 2rem;
    padding: 0 var(--spacing-md);
    min-width: max-content;
    position: relative;
}


.timeline-item {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
    transition: transform var(--transition-base);
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-year {
    color: #000;
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.timeline-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 3rem;
}

/* Timeline content wrapper - height set by JS to prevent layout shift */
.timeline-content {
    min-height: var(--timeline-content-height, 0px);
}

.timeline-title {
    color: #000;
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.timeline-description {
    color: #000;
    font-size: var(--text-sm);
    line-height: 1.5;
    min-height: var(--timeline-desc-height, 0px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.timeline-item.active .timeline-title,
.timeline-item.active .timeline-description {
    opacity: 1;
    visibility: visible;
}

/* Timeline Scrollbar Styling */
.timeline-wrapper::-webkit-scrollbar {
    height: 5px;
}

/* .timeline-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
} */

.timeline-wrapper::-webkit-scrollbar-thumb {
    background: var(--white);
    border-radius: 4px;
}

.timeline-wrapper::-webkit-scrollbar-thumb:hover {
    background: #E8FFAB;
}

/* Firefox scrollbar */
.timeline-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #838383 #cee29a;
    border-radius: 10px;
}



/* .dropdown-options::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
}

.dropdown-options::-webkit-scrollbar-thumb {
    border-radius: var(--radius-sm);
    background: #d0d0d0;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #b7b7b7;
} */


/* ========================================
   ICON GRID (Mission/Vision Highlights)
   ======================================== */
.icon-grid-section {
    background: #E2F5FE;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
}


.icon-grid-section .section-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
    text-align: center;
}

.icon-grid-section h3 {
    font-size: var(--text-3xl);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.icon-grid-section .section-intro {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 4rem;
    max-width: 1250px;
    margin: 0 auto;
}

.icon-grid-item {
    text-align: center;
    transition: transform var(--transition-base);
}

.icon-grid-icon {
    width: 100px;
    height: 100px;
    border: 3.5px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all var(--transition-base);
}

/* .icon-grid-item:hover .icon-grid-icon {
    background: var(--primary-blue);
    color: var(--white);
} */

.icon-grid-item h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: 0;
}

.icon-grid-item p {
    font-size: var(--text-sm);
    line-height: 1.6;
}

.icon-grid-icon i {
    font-size: 3rem;
}

/* ========================================
   PILLARS/PUBLICATIONS IMAGE GRID
   ======================================== */
.pillars-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--white);
}

.pillars-section .section-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
}

.pillars-section h3 {
    text-align: center;
    font-size: var(--text-3xl);
    font-family: var(--font-heading);
    font-weight: normal;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 4%;
    margin: var(--spacing-xxl) auto 0;
    max-width: 800px;
}

.two-column-dashboard .pillars-grid{
    max-width: none;
}

.pillar-card {
    text-align: center;
}

.pillar-card-image {
    height: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.pillar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.pillar-card:hover h4{
    transition: all var(--transition-base);
}

.pillar-card:hover h4{
    color: var(--primary-blue);
}

.two-column-dashboard .pillar-card{
    background-color: #EDE8D2;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: background-color var(--transition-base);
}

.two-column-dashboard .pillar-card:hover{
    background-color: #2150E2;
}

.two-column-dashboard .pillar-card:hover .pillar-card-image img {
    transform: none;
}

.two-column-dashboard .pillar-card h4{
    transition: color var(--transition-base);
}

.two-column-dashboard .pillar-card:hover h4{
    color: #fff;
}

.two-column-dashboard h4{
    font-size: var(--text-lg);
    text-align: center;
    margin: .75rem 0 0;
}

.pillar-card-image img{
    border-radius: var(--radius-md);
}

.pillar-card-content {
    padding: 1.5rem 0 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    text-align: left;
}

.pillar-card-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.pillar-card-content p {
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pillar-card-content .download-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--text-sm);
}




/* ========================================
   NEWSROOM HIGHLIGHTS (Banner Headings)
   ======================================== */

.highlight-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.calendar-accordion .highlight-header {
    margin-bottom: 0;
}

.highlight-header h3 {
    color: var(--white);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin: 0;
}

.highlight-header .see-all {
    color: var(--white);
    text-transform: uppercase;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.highlight-header .see-all:hover {
    text-decoration: underline;
}

.highlight-content {
    background: var(--white);
    padding: 0;
}

.highlight-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.highlight-item h4 {
    font-size: var(--text-xl);
    font-family: var(--font-heading);
    font-weight: normal;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlight-item .date {
    font-size: var(--text-sm);
    color: var(--text-medium);
    white-space: nowrap;
    margin-left: 1rem;
}

.highlight-item p {
    font-size: var(--text-base);
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.highlight-item .read-more {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.03em;
}

.highlight-item .read-more:hover {
    color: var(--primary-blue);
}

/* ========================================
   SIDEBAR ACCORDION (Newsroom Single)
   ======================================== */
.sidebar-accordion{
    border: none;
    margin: var(--spacing-md) 0;
}

.sidebar-accordion-header {
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-base);
    font-weight: 600;
    transition: background var(--transition-base);
    border: none;
    width: 100%;
    text-align: left;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 0;
    font-family: var(--font-primary);
}

.sidebar-accordion .accordion-icon{
    margin-top: -2px;
    font-size: var(--text-2xl);
}

.sidebar-accordion .accordion-content{
    border:none;
    border: 2px solid var(--primary-blue);
    border-top: none;
}

.sidebar-accordion-header:hover {
    background: #1a54c4;
}

.sidebar-accordion.active .accordion-content{
    display: block;
}

.sidebar-accordion-icon {
    font-size: var(--text-xl);
    transition: transform var(--transition-base);
}

.sidebar-accordion.active .sidebar-accordion-icon {
    transform: rotate(45deg);
}

.sidebar-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}

.sidebar-accordion.active .sidebar-accordion-content {
    max-height: 1000px;
}

.sidebar-accordion-body {
    padding: 1rem 1.25rem;
}

.sidebar-accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nested-accordion-item {
    cursor: pointer;
    user-select: none;
}
.accordion-parent-label {
    margin-right: 4px;
    font-weight: 400;
    float: right;
    font-size: var(--text-xl);
    margin-top: -5px;
}
.nested-accordion-content {
    list-style: none; /* optional: inherits from your existing styles */
    font-weight: 400;
}

.sidebar-accordion-body .nested-accordion-item{
    max-width: none;
    padding: .75rem 0;
    font-weight: 500;
    font-size: var(--text-lg);
}

.sidebar-accordion-body li {
    padding: .75rem 0;
    max-width: 250px;
}

.sidebar-accordion-body li:last-child {
    border-bottom: none;
}

.nested-accordion-content li {
    padding-left: 10px;
    max-width: none;
}

.sidebar-accordion-body a {
    color: var(--text-dark);
    font-size: var(--text-base);
    display: block;
    line-height: 1.4;
    text-decoration: none;
    font-family: var(--font-secondary);
    transition: all var(--transition-fast);
}

.sidebar-accordion-body a:hover, .sidebar-accordion-body a.active {
     text-shadow: .5px 0 0 #000;
     color: #000;
}

.sidebar-accordion-body .article-date {
    display: inline;
    margin-top: 0;
    color: inherit;
    font-size: inherit;
}

/* ========================================
   ARTICLE NAVIGATION (Prev/Next)
   ======================================== */
.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-md) 0;
    border-top: 2px solid var(--primary-blue);
    margin-top: var(--spacing-lg);
    font-family: var(--font-secondary);
}

.article-nav-item {
    display: flex;
    flex-direction: column;
    max-width: 45%;
    padding: 0;
    transition: all var(--transition-fast);
}

.article-nav-item:hover,
.article-nav-item:focus {
    text-shadow: .7px 0 0 #000;
    color: #000;
}

.article-nav-item.next {
    text-align: right;
    align-items: flex-end;
    margin-left: auto;
}

.article-nav-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.article-nav-label i{
    font-size: 1.875rem;
}
.article-nav-label .ph-caret-left {
    margin-left: -7px;
}
.article-nav-label .ph-caret-right {
    margin-right: -7px;
}

.article-nav-title {
    font-size: var(--text-lg);
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.4;
    transition: color var(--transition-base);
    text-transform: none;
}


/* ========================================
   MEDIA INQUIRY FORM
   ======================================== */

.page-form .form-row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.row-fluid .umbraco-forms-container.col-md-12{
    display: flex;
    gap: 1rem;
}

.page-form .form-row-3, .umbraco-forms-page .form-row-3 {
    display: flex;
    gap: 1rem;
}

.page-form .form-row-3 .form-group:first-of-type,
.umbraco-forms-page .form-row-3 .form-group:first-of-type{
    width: 49%;
    min-width: 49%;
}

.media-form .captcha-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.captcha-row label{
    margin: 0;
    cursor: pointer;
}

.media-form .captcha-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.media-form .btn-submit {
    display: block;
    margin: 0 auto;
    min-width: 200px;
}

/* ========================================
   MEDIA KITS SECTION
   ======================================== */
.media-kits-section {
    background: var(--secondary-yellow);
    padding: var(--spacing-xl) var(--spacing-md);
}

.media-kits-section .section-container {
    max-width: var(--max-container-width);
    margin: 0 auto;
    text-align: center;
}

.media-kits-section h3 {
    font-size: var(--text-2xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.media-kits-section .section-intro {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.media-kits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.media-kit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
}

.media-kit-card-image {
    height: 180px;
    overflow: hidden;
}

.media-kit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-kit-card-content {
    padding: 1.5rem;
    text-align: center;
}

.media-kit-card-content h4 {
    font-size: var(--text-lg);
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.media-kit-card-content p {
    font-size: var(--text-sm);
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.media-kit-card-content .download-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-sm);
    letter-spacing: 0.03em;
}

/* ========================================
   CALENDAR EVENTS ACCORDION
   ======================================== */
.calendar-section {
    margin: var(--spacing-lg) 0;
}

.calendar-month-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
    border-bottom: 4px solid var(--primary-blue);
}

.calendar-event {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.calendar-event:last-child {
    border-bottom: none;
}

.calendar-event h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.calendar-event .event-datetime {
    font-size: var(--text-base);
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.calendar-event .view-details {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.03em;
}

.calendar-event .view-details:hover {
    color: var(--primary-blue);
}


/* ========================================
   SEARCH RESULTS
   ======================================== */
.search-results-section {
    margin: 0;
}

.search-results-header {
    margin-bottom: var(--spacing-md);
}

.search-results-header h2 {
    font-size: var(--text-3xl);
    font-family: var(--font-heading);
    font-weight: normal;
    margin-bottom: 0;
}

.search-results-header h2 strong {
    font-weight: 700;
}

.search-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-beige);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.filter-sort-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-dark);
}

.filter-sort-btn i {
    font-size: 1.25rem;
}

.results-count {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-dark);
}

.search-result-item {
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--primary-blue);
    display: block;
}

.search-result-item:hover h3{
    color: var(--primary-blue);
}

.search-result-item:hover p{
    color: var(--primary-blue);
}

.search-result-item:hover .read-more{
    color: var(--primary-blue);
}

.search-result-item:first-child {
    border-top: 2px solid #E8FFAB;
}

.search-result-item h3 {
    font-size: var(--text-xl);
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.search-result-item p {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.search-result-item .read-more {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.03em;
    margin-top: 2.25rem;
    display: block;
    transition: color var(--transition-fast);
}

.search-results-section .load-more-btn {
    margin-top: var(--spacing-xl);
}

/* ========================================
   PUBLICATIONS ACCORDION
   ======================================== */
.publications-accordion {
    border-bottom: 1px solid var(--border-gray);
    margin-bottom: 0;
}

.publications-accordion-header {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-xl);
    font-weight: normal;
    transition: font-weight var(--transition-base);
    border: none;
    width: 100%;
    text-align: left;
    background: none;
    color: var(--text-dark);
}

.publications-accordion-header:hover,
.publications-accordion.active .publications-accordion-header {
    font-weight: 600;
}

.publications-accordion-icon {
    font-size: var(--text-2xl);
    transition: transform var(--transition-base);
    font-weight: 300;
}

.publications-accordion.active .publications-accordion-icon {
    transform: rotate(45deg);
}

.publications-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.publications-accordion.active .publications-accordion-content {
    max-height: 2000px;
}

.publications-accordion-body {
    padding: 0 0 var(--spacing-md);
}

.publications-accordion-body p {
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.publications-accordion-body img {
    max-width: 250px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ========================================
   ARTICLES
   ======================================== */
.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.content-block.article-main {
    margin-top: 0;
}

.content-block.article-main figcaption {
    max-width: 725px;
}

.article-header-inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.article-header-inner h2{
    font-family: var(--font-primary);
}

.article-date {
    font-size: var(--text-lg);
    display: block;
    margin: .5rem 0 .75rem;
    white-space: nowrap;
}

.article-share {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.article-share a {
    color: var(--text-dark);
    font-size: 1.25rem;
    transition: color var(--transition-base);
}
.article-share a i{
    text-align: right;
}

.article-share a:hover {
    color: var(--primary-blue);
}

.article-download {
    margin-bottom: var(--spacing-md);
    letter-spacing: .02em;
}

figcaption {
    font-weight: 500;
    font-style: italic;
    padding: .75rem 0 0;
}

.article-download a {
    font-size: var(--text-base);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

.article-download a:hover {
    color: var(--primary-blue);
}

.learn-more-link {
    margin: 1rem 0;
}

/* Article Author Info */
.article-author {
    margin-top: var(--spacing-sm);
}

.article-author h4 {
    font-size: var(--text-base);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.article-author p {
    margin-bottom: 0;
}


/* Featured Breakout Story */
.featured-story {
    margin-bottom: var(--spacing-xxl);
}

.featured-story-image {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.featured-story-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    max-width: 550px;
    /* object-fit: cover;
    height: 360px;
    object-position: center 20%; */
}

.featured-story h3 {
    font-size: var(--text-2xl);
    font-family: var(--font-heading);
    font-weight: normal;
    margin-bottom: 1rem;
}

.featured-story p {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.no-margin{
    margin: 0 !important;
}
.mobile-sidebar-nav {
    margin-bottom: 0;
}

ul.section-nav {
    padding-left: 0;
}
.alert-banner {
    background: #B0E3FD;
    padding: .75rem 0;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    height: var(--alert-banner-height);
    justify-content: space-between;
}
.alert-banner .container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.alert-banner-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 .7rem;
    font-size: 1.3rem;
    line-height: 1;
    color: inherit;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.2s ease;
}
.alert-banner-close:hover {
    opacity: .7;
}
.alert-banner p{
    padding: 0;
    margin: 0;
    font-size: 0.938rem;
}
.img-box-mobile{
    display: none;
}
.mobile-swiper-container{
    display: none;
    position: relative;
}
.mobile-swiper .swiper-wrapper, .mobile-swiper .swiper-slide{
    height: auto;
}
.mobile-swiper .news-card{
    height: 100%;
}

/* ========================================
   CONNECT CTA SECTION
   ======================================== */
.connect-cta {
    text-align: left;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-md);
}

.connect-cta h4 {
    font-size: var(--text-xl);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.connect-cta p {
    font-size: var(--text-base);
    margin-bottom: 0;
    font-weight: 400;
}
.connect-cta p strong{
    font-weight: 600;
}

.download-thumb {
    max-width: 300px;
    display: block;
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-base);
}
.download-thumb img{
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04);
}

.download-thumb:hover{
    opacity: .8;
}



/* ========================================
       WEATHER SECTION
       ======================================== */
    .weather-section {
        /* background-color: #0f3460;
        background-image: linear-gradient(135deg, #0a2744 0%, #1a4a7a 60%, #0f3460 100%); */
        background: var(--primary-blue);
        color: #ffffff;
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .weather-section h3{
        color: #fff;
        text-align: center;
        padding: 0 var(--spacing-md);
    }
 
    .weather-container {
        max-width: var(--max-container-width, 1624px);
        margin: 0 auto;
        padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
        display: flex;
        align-items: center;
        gap: 2rem;
    }
 
    /* Current Conditions */
    .weather-current {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-shrink: 0;
    }
 
    .weather-location {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 130px;
    }
 
    .weather-city {
        font-family: var(--font-primary, 'Montserrat', sans-serif);
        font-weight: 700;
        font-size: var(--text-lg);
        letter-spacing: 0.05em;
        color: #ffffff;
        line-height: 1.2;
    }
 
    .weather-county {
        font-family: var(--font-primary, 'Montserrat', sans-serif);
        font-size: var(--text-base);
        font-weight: 400;
        color: rgba(255,255,255,0.7);
        line-height: 1.2;
    }
 
    .weather-now {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .weather-now img{
        width: 65px;
    }

    .weather-day img{
       width: 40px;
       height: 30px;
    }
 
    .weather-icon-lg {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }
 
    .weather-temp-block {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }
 
    .weather-temp {
        font-family: var(--font-primary, 'Montserrat', sans-serif);
        font-size: var(--text-3xl);
        font-weight: 300;
        color: #ffffff;
        line-height: 1;
    }
 
    .weather-desc {
        font-family: var(--font-primary, 'Montserrat', sans-serif);
        font-size: 0.75rem;
        letter-spacing: .04em;
        color: rgba(255,255,255,0.65);
        text-transform: capitalize;
        max-width: 225px;
    }
 
    /* Divider */
    .weather-divider {
        width: 1px;
        height: 50px;
        background: rgba(255,255,255,0.2);
        flex-shrink: 0;
    }
 
    /* 7-Day Forecast */
    .weather-forecast {
        display: flex;
        align-items: center;
        gap: 0;
        flex: 1;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
 
    .weather-forecast::-webkit-scrollbar {
        display: none;
    }
 
    .weather-day {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        padding: 0.4rem 1rem;
        flex: 1;
        min-width: 80px;
        border-right: 1px solid rgba(255,255,255,0.1);
    }
 
    .weather-day:last-child {
        border-right: none;
    }
 
    .weather-day-name {
        font-family: var(--font-primary, 'Montserrat', sans-serif);
        font-size: var(--text-lg);
        font-weight: 500;
        color: rgba(255,255,255,0.85);
        letter-spacing: 0.02em;
        text-align: center;
    }
 
    .weather-icon-sm {
        width: 28px;
        height: 28px;
    }
 
    .weather-temps {
        display: flex;
        gap: 0.4rem;
        align-items: center;
    }
 
    .weather-hi {
        font-family: var(--font-primary, 'Montserrat', sans-serif);
        font-size: var(--text-base);
        font-weight: 600;
        color: #E8C84A;
        letter-spacing: .05em;
    }
 
    .weather-lo {
        font-family: var(--font-primary, 'Montserrat', sans-serif);
        font-size: var(--text-base);
        font-weight: 400;
        color: rgba(255,255,255,0.55);
        letter-spacing: .05em;
    }
 

    @media (max-width: 1480px) {
        .weather-day-name{
            font-size: 1rem;
        }
        .weather-city{
            font-size: 1rem;
        }
        .weather-county{
            font-size: .85rem;
        }
        .weather-temp{
            font-size: 1.75rem;
        }
        .weather-desc{
            font-size: .7rem;
        }
        .weather-now img {
            width: 60px;
        }
        .weather-day img {
            width: 33px;
            height: 30px;
        }
        .weather-hi, .weather-lo{
            font-size: 0.938rem;
        }
    }

    @media (max-width: 1280px) {
        .weather-day-name{
            font-size: 0.875rem;
        }
        .weather-city{
            font-size: 0.875rem;
        }
        .weather-county{
            font-size: .75rem;
        }
        .weather-temp{
            font-size: 1.375rem;
        }
        .weather-desc{
            font-size: .625rem;
        }
        .weather-now img {
            width: 50px;
        }
        .weather-day img {
            width: 28px;
            height: 30px;
        }
        .weather-container{
            gap: 1.25rem;
            padding: 2.5rem 0;
        }
        .weather-hi, .weather-lo{
            font-size: 0.813rem;
        }
    }
 
    @media (max-width: 1024px) {
        .weather-section {
            padding: 1.25rem 0;
        }
 
        .weather-container {
            flex-direction: column;
            align-items: stretch;
            gap: 1rem;
            padding: 0 1rem;
        }
 
        .weather-current {
            justify-content: center;
            padding: 1.25rem 0;
        }
 
        .weather-divider {
            width: 100%;
            height: 1px;
        }
 
        .weather-forecast {
            gap: 0;
            justify-content: space-between;
        }
 
        .weather-day {
            padding: 0.4rem 0.3rem;
            min-width: 44px;
            border-right: none;
        }
 
        .weather-day-name {
            font-size: 0.75rem;
        }
 
        .weather-icon-sm {
            width: 22px;
            height: 22px;
        }
 
        .weather-hi, .weather-lo {
            font-size: .8rem;
        }
 
        .weather-temps {
            gap: 0.2rem;
            flex-direction: column;
            align-items: center;
        }
            .weather-city {
            font-size: 0.8rem;
        }
        .weather-temp {
            font-size: 1.5rem;
        }
    }
 
    @media (max-width: 600px) {
        .weather-location {
            min-width: auto;
        }
 
        .weather-temp {
            font-size: 1.4rem;
        }
 
        .weather-icon-lg {
            width: 40px;
            height: 40px;
        }
        .weather-hi, .weather-lo {
            font-size: .6rem;
        }
        .weather-day-name {
            font-size: 0.7rem;
        }
        .weather-temps{
            gap: .15rem;
        }
        .weather-desc {
            font-size: .55rem;
        }
    }

.iframe-embed  {
    width: 85%;
    height: 47vw;
    border: none;
    outline: none;
}
form#modal-newsletter-form {
    margin: 2rem 0 0;
}

.iframeWrapper, .iframe-embed {
    padding: var(--spacing-lg) 0;
}
.iframeWrapper iframe, .iframe-embed.container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ========================================
   Responsive 
   ======================================== */
@media (max-width: 1400px) {
   .logo img {
        width: 180px;
    } 
    nav ul{
        gap: 1.5rem;
    }
}
@media (max-width: 1280px) {
    :root{
        --text-sm: 0.813rem;   /* 13px */
        --text-base: 0.938rem;    /* 15px */
        --text-lg: 1rem;   /* 16px */
        --text-xl: 1.125rem;   /* 18px */
        --text-2xl: 1.375rem;  /* 22px */
        --text-3xl: 1.75rem;   /* 28px */
        --text-4xl: 2.625rem;       /* 42px */
        --text-5xl: 4rem;      /* 64px */
        --spacing-md-plus: 2.125rem;    /* 34px */
        --spacing-xl: 3.125rem;  /* 50px */
        --spacing-lg: 2.625rem;       /* 42px */
        --spacing-xxl: 4.5rem;       /* 72px */

         --header-height: 81px;
    }
    nav a{
        font-size: 0.875rem;
        padding: 1.75rem var(--spacing-xs);
    }
    header{
        height: 81px;
    }
    .icon-btn i{
        font-size: 1.438rem;
    }
    .header-icons{
        gap: 0.75rem;
    }
    nav ul{
        gap: 0.75rem;
    }
    .page-form label, .umbraco-forms-page label{
        font-size: 0.875rem;
        margin-bottom: .25rem;
    }
    .call-btn{
        padding: 1.25rem;
        font-size: 1.313rem;
        gap: 30px;
        width: 243px;
    }
    .hero{
        height: 580px;
    }
    .welcome-content{
        padding: 3.5rem 2rem;
    }
    .dotted-border{
        margin: 13px 0;
    }
    .services-grid{
        gap: 3rem 4rem;  
    }
    .service-icon {
        width: 90px;
        height: 90px;
        margin: 0 0 1.25rem;
    }
    .content-section .btn {
        margin: 2rem 0 0;
    }
    .three-col-content {
        padding: 2rem 3rem;
    }
    .two-column-dashboard .pillar-card {
        padding: 2.5rem;
    }
    .alert-banner p{
        font-size: 0.875rem;
    }
    .news-image-wrapper {
        height: 200px;
    }
    .news-card:hover .news-image-wrapper, .news-card:focus-within .news-image-wrapper {
        height: 220px;
    }
    .footer-section a, .footer-section li {
        font-size: var(--text-sm);
    }
    .dropdown-selected{
        padding: 1.75rem;
    }
    .alert-banner-close {
        padding: 0 .56rem;
    }
    .desktopLanguageOptions.show {
        margin-top: 19px;
    }
    .page-hero{
        padding-bottom: 3.5rem;
        min-height: 217px;
    }
    .iframe-embed  {
        width: 90%;
        height: 55vw;
    }
}
@media (max-width: 1130px) {
    :root{
         --header-height: 71px;
    }
    nav ul {
        gap: 0.625rem;
    }
    .icon-btn i {
        font-size: 1.25rem;
    }
    .logo img {
        width: 165px;
    }
    nav a {
        font-size: 0.813rem;
        padding: 1.5rem var(--spacing-xs);
    }
    header{
        height: 71px;
    }
    .alpha-nav{
        display: block;
    }
    .alert-banner-close {
        padding: 0 .45rem;
    }
    .desktopLanguageOptions.show {
        margin-top: 15px;
    }
}
@media (max-width: 1080px) {
    .logo img {
        width: 155px;
    }
    .search-overlay{
        width: 87%;
        right: 40px;
    }
    .two-column-dashboard .pillar-card {
        padding: 2rem;
    }
}
@media (max-width: 1042px) {
    .news-content h3{
        min-height: 0 !important;
    }
}

@media (min-width: 1024px) {
    .mobileMenuButton, .mNav {
        display: none;
    }
    body.hide-scrollbar{
        overflow: auto !important;
        position: relative;
        padding-right: 0;
        overscroll-behavior-y: auto;
    }
}
@media (max-width: 1024px) {
    :root{
        --text-sm: 0.75rem;       /* 12px */
        --text-base: 0.875rem;    /* 14px */
        --text-lg: 0.938rem;      /* 15px */
        --text-xl: 1.063rem;      /* 17px */
        --text-2xl: 1.5rem;      /* 20px */
        --text-3xl: 1.375rem;     /* 22px */
        --text-4xl: 2.25rem;       /* 36px */
        --text-5xl: 3.75rem;      /* 60px */
        --spacing-md: 1.75rem;    /* 26px */
        --spacing-md-plus: 1.75rem;    /* 28px */
        --spacing-lg: 2rem;         /* 32px */
        --spacing-xl: 2.5rem;      /* 40px */
        --spacing-xxl: 4rem;       /* 64px */

    }
    .hero {
        height: 520px;
    }
    .header-container{
        height: 67px;
    }
    .header-icons {
        gap: 1rem;
    }
    header .logo{
        position: absolute;
        margin: 0 auto;
        width: 145px;
        left: 0;
        right: 0;
    }
    header .logo img {
        width: 170px;
    }
    .icon-btn {
        font-size: 1rem;
        padding: 0.25rem;
    }
    .icon-btn i {
        font-size: 1.8rem;
    }
    header nav, .call-btn{
        display: none;
    }
    .mobileMenuButton{
        display: block;
    }
    .mNav .social-icons{
        gap: 2rem;
    }
    .mNav .social-icons a{
        font-size: 1.2rem;
    }
    .mNav .social-icons i.ph.ph-envelope {
        font-size: 1.5rem;
        padding-top: .29rem;
        display: block;
    }
    .section-header .social-icons a{
         font-size: var(--text-base);
    }
    .layout-sidebar {
        grid-template-columns: 250px 1fr;
    }
    .call-btn{
        display: none;
    }
    .icon-btn:last-of-type{
        display: none;
    }
    .drop-links-title{
        margin-bottom: 2rem;
    }
    .welcome-content .container{
        padding: 0;
    }
    .dotted-border {
        margin: 10px 0;
    }
    .service-card h3{
        font-size: var(--text-lg);
    }
    .news-grid{
        margin: var(--spacing-md) auto 0;   
    }
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    .program-content{
        padding: 1rem 0 0;
    }
    .programs-grid {
        gap: 1.5rem;
    }
    .resources-grid{
        gap: 8%;
    }
    .mobile-footer{
        display: block;
    }
    .desktop-footer{
        display: none;
    }
    .alpha-nav {
        margin: 3rem 0;
    }
    .search-overlay {
        width: 100%;
        right: 0;
        max-width: none;
        padding: 0 var(--spacing-md);
    }
    .search-overlay.active {
        transform: translateX(0);
    }
    .landing-page-icon {
        min-width: 90px;
        max-width: 90px;
        min-height: 90px;
        max-height: 90px;
    }
    .landing-page-hero {
        padding: 4.25rem 0;
    }
    .blue-banner{
        min-height: 360px;
    }
     .beige-content-block {
        margin: 0 0 4.5rem;
    }
    form.page-form, .umbraco-forms-page {
        margin: 3rem 0;
    }
    .search-submit-btn, .search-close-btn{
        width: 85px;
    }
    .accordion-header{
        padding: 1.5rem var(--spacing-sm) 1.5rem 0;
    }
    .sidebar-accordion-header{
        padding: 1rem;
    }
    .alert-banner-active .mNav{
        top: calc(var(--alert-banner-height) + var(--header-height));
    }
    .page-hero {
        min-height: 181px;
        padding-bottom: 2.75rem;
    }
    .timeline-image{
        height: 140px;
    }
    .header-icons .icon-btn{
        color: var(--primary-blue);
    }
    .dropdown-selected {
        padding: 1.25rem;
    }
    .footer-logo{
        width: 180px;
    }
    .desktopLanguageOptions{
        display: none;
    }
}
@media (max-width: 1000px) {
    .featured-event, .slide-event {
        flex-direction: column;
    }
    .featured-event img, .slide-event{
        width: 100%;
        max-width: 200px;
    }
    .slide-event img{
        margin-bottom: var(--spacing-lg);
    }
    .featured-event .event-info h3{
         margin-bottom: var(--spacing-md);
    }
    
}

@media (max-width: 942px) {
    .program-image-wrapper {
        height: 22vw;
    }
}
@media (max-width: 900px) {
    .events-section{
        padding: 0;
    }

    .events-wrapper{
        border-radius: 0;
    }
    
    .featured-event, .slide-event {
        flex-direction: column;
        width: 40%;
    }
    .event-list{
        width: 55%;
    }
    
    .featured-event img, .slide-event img {
        width: 100%;
        max-width: 200px;
    }
    .page-form .form-row-3, .umbraco-forms-page .form-row-3{
        display: block;
    }
    .page-form .form-row-3 .form-group:first-of-type,
    .umbraco-forms-page .form-row-3 .form-group:first-of-type {
        width: 100%;
        min-width: 100%;
    }
    .two-column-dashboard .pillar-card {
        padding: 1.5rem;
    }
    .filter-bar{
        font-size: var(--text-base);
    }
    .iframe-embed  {
        width: 90%;
        height: 62vw;
    }
}

@media (max-width: 768px) {
    :root{
         --text-base: 0.875rem;      /* 14px */
        --text-lg: 0.938rem;         /* 15px */
        --text-xl: 1.063rem;         /* 17px */
        --text-5xl: 3.375rem;        /* 54px */
        --text-3xl: 1.438rem;        /* 23px */
        --text-4xl: 2rem;            /* 32px */
        --spacing-lg: 1.625rem;      /* 26px */
        --spacing-xl: 2.5rem;        /* 40px */
        --spacing-md: 1.563rem;      /* 25px */
        --spacing-xxl: 3.5rem;       /* 56px */
    }
    nav ul {
        display: block;
    }
    .page-form label, .umbraco-forms-page label{
        font-size: 0.813rem;
    }
    .page-hero {
        min-height: 160px;
        padding-bottom: 2.5rem;
    }
    .hero {
        height: 480px;
    }
    .drop-links-title {
        margin-bottom: 1.75rem;
    }
    .layout-sidebar {
        grid-template-columns: 1fr;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .call-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .section {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .welcome-section {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    
    .welcome-content {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .search-form,
    .drop-links-form {
        grid-template-columns: 1fr;
    }
    .service-icon {
        border: 2.5px solid var(--primary-blue);
        margin: 0 0 1rem;
    }
    .services-grid {
        gap: 3rem 2rem;
    }
    .event-list{
        padding: 2rem;
    }
    .resources-grid {
        gap: 3%;
    }
    .resource-icon{
        height: 150px;
    }
    .landing-page-icon {
        min-width: 75px;
        max-width: 75px;
        min-height: 75px;
        max-height: 75px;
    }
    .landing-page-hero {
        padding: 3.5rem 0;
    }
    .blue-banner{
        min-height: 250px;
    }
    .alpha-nav {
        margin: 2rem 0;
    }
    .beige-content-block {
        margin: 0 0 4rem;
    }
    .sidebar-nav, .sidebar-box.primary{
        display: none;
    }
    .mobile-sidebar-nav, .mobile-top-container, .mobile-top-container .sidebar-box.primary{
        display: block;
    }
    .mobile-nav-container{
        padding: 0 0 var(--spacing-lg);
    }
    .layout-sidebar {
        flex-direction: column-reverse;
        gap: 0;
    }
    .content-section {
        max-width: none;
        width: 100%;
    }
    .layout-sidebar aside {
        width: 100%;
        min-width: 0;
    }
    .alpha-nav {
        margin: 2rem 0;
    }
    .sidebar-box.primary.mobile-sidebar-primary {
        margin-bottom: 2rem;
    }
    .sidebar-accordion-body li{
        padding: .75rem 0;
    }
    .page-form .form-row-3, .umbraco-forms-page .form-row-3 {
        display: grid;
    }
    .search-overlay-inner .icon-btn{
        width: 35px;
        height: 35px;
    }
    .search-overlay-inner .icon-btn i {
        font-size: 1.25rem;
    }
    .img-box-desktop, .news-grid{
        display: none;
    }
    .img-box-mobile{
        display: block;
        margin-top: var(--spacing-lg) ;
    }
    .mobile-swiper-container{
        display: block;
        margin-top: 1.5rem;
    }
    .mobile-swiper-container .btn-primary{
        margin: 1.25rem auto 0;
        display: block;
        max-width: 350px;
        padding: .8rem 2rem;
    }
    .view-all{
        display: none;
    }
    .services-grid{
        display: none;
    }
    .programs-grid{
        display: none;
    }
    .events-container{
        display: none;
    }
    .three-col-grid{
        display: none;
    }
    .icon-grid{
        display: none;
    }
    .service-card h3{
        font-size: 0.875rem;
        font-weight: 600;
    }
    .mobile-services-swiper .service-card{
        text-align: center;
        align-items: center;
        max-width: 350px;
        margin: 0 auto;
    }
    .service-card p{
        font-size: 0.875rem;
        margin-bottom: 0;
        display: none; /*Hide description on mobile slider*/
    }
    .section-header .section-flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .dotted-border{
        margin: 10px auto 30px;
        width: 100%;
        max-width: 550px;
    }
    .section-header .social-icons {
        transform: translateY(7px);
    }
    .section-header .social-icons a{
        font-size: 1.25rem;
    }
    .news-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    .news-section .section-header{
        position: relative;
    }
    .news-section .dotted-border {
        position: absolute;
        left: 0;
        right: 0;
        top: 38%;
    }
    .services-section{
        background: #e8f4fd;
    }
    .programs-grid {
        gap: 1rem;
    }
    .featured-event, .slide-event{
        max-width: none;
        width: 100%;
        align-items: center;
    }
    .mobile-event-swiper .event-info{
        max-width: 500px;
        margin: 0 auto;
    }
    .mobile-swiper-container .three-col-card {
        height: 100%;
    }
    .mobile-top-container{
        padding: 0;
    }
    /* .mobile-top-container .sidebar-box.primary.mobile-sidebar-primary{
        margin: var(--spacing-xl) 0 0;
    } */
    .program-content h3{
        font-size: 1rem;
                height: 100%;
    }
    .program-image-wrapper {
        height: 29vw;
    }
    .event-list {
        width: 100%;
        height: 100%;
    }
    .event-list h3{
        margin-bottom: 1rem;
        text-align: center;
    }
    .emergency-section {
        margin-top: 0.625rem;
    }
    .iframe-embed {
        width: 93%;
        height: 110vw;
    }
    .sidebar-img-box{
        height: 75vw;
    }
}
@media (max-width: 710px) {
    .news-content h3{
        min-height: 0 !important;
    }
}

@media (max-width: 650px) {
    .events-container {
        flex-direction: column;
        gap: 1.75rem;
        padding: 0;
    }
    .featured-event, .slide-event {
        flex-direction: column;
        width: 100%;
    }
    .event-list {
        width: 100%;
        padding: 1.5rem;
    }
    .featured-event img, .slide-event img {
        margin-bottom: 2rem;
    }
    .footer-center {
        margin: 2.25rem 0;
    }
    .footer-center strong {
        display: block;
        padding: 0 0 5px 0;
    }
    .footer-bottom{
        flex-direction: column-reverse;
        gap: 15px;
        padding-bottom: 1rem;
    }
    .article-header-inner{
        display: block;
    }
    .article-share {
        display: flex;
        gap: 0.75rem;
        justify-content: flex-start;
        margin-bottom: 1.5rem;
    }
    .article-header-inner h2 {
        margin-bottom: .25rem;
    }
    .program-content h3{
        font-size: 0.938rem;
    }
}

@media (max-width: 600px) {
    :root{
        --text-lg: 0.938rem;        /* 15px */
        --text-xl: 1rem;            /* 16px */
        --text-2xl: 1.25rem;        /* 20px */
        --text-3xl: 1.375rem;       /* 22px */
        --text-5xl: 2.875rem;       /* 46px */
         --text-4xl: 1.875rem;      /* 30px */
        --spacing-md: 1.25rem;      /* 20px */
        --spacing-xl: 2.25rem;      /* 36px */
         --spacing-xxl: 3rem;       /* 48px */

        --header-height: 67px;
    }
    header {
        height: 67px;
    }

    .hero {
        height: 400px;
    }
    .page-hero {
        min-height: 140px;
    }
    header .logo{
        width: 125px;
    }
    header .logo img {
        width: 100%;
        height: auto;
    }
    .icon-btn i {
        font-size: 1.5rem;
    }
    .services-grid {
        gap: 2rem 0;
    }
    .service-card{
        text-align: center;
    }
    .landing-page-hero {
        padding: 2.5rem 0;
    }
    .landing-page-icon {
        min-width: 50px;
        max-width: 50px;
        min-height: 50px;
        max-height: 50px;
    }
    .breadcrumb {
        font-size: 0.875rem;
    }
    .page-form .form-row-3,
    .umbraco-forms-page .form-row-3
    .page-form .form-row,
    .umbraco-forms-page .form-row
    .row-fluid .umbraco-forms-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    form.page-form, .umbraco-forms-page {
        margin: 2rem 0;
    }
    .form-group {
        margin-bottom: 1.2rem;
    }
    .page-form label, .umbraco-forms-page label {
        margin-bottom: .3rem;
    }
    .checkmark {
        height: 30px;
        width: 30px;
    }
    .check-container .checkmark:after {
        left: 11px;
        top: 3px;
        width: 5px;
        height: 15px;
    }
    .check-container {
        padding-left: 3.25rem;
    }
    .search-result-item h3{
        margin-bottom: 1.25rem;
    }
    .search-result-item .read-more{
        margin-top: 1.75rem;
    }
     .alert-banner p{
        font-size: 0.813rem;
    }
    .alert-banner{
        height: 45px;
    }
    :root {
        --alert-banner-height: 45px;
    }
    .alert-banner-active .mNav {
        top: calc(var(--alert-banner-height) + var(--header-height));
    }
    /* .swiper-pagination-bullet {
        width: 40px;
    } */
    .dropdown-selected {
        padding: 1rem;
    }
}
@media (max-width: 500px) {
    .resources-grid {
        gap: 3%;
    }
    .search-overlay-inner .icon-btn, .search-overlay .seperator{
        display: none;
    }
    .search-close-btn {
        color: #fff;
        width: 55px;
        font-size: 0;
    }
    .search-close-btn i{
        color: #000;
        margin: 0;
        font-size: 1.25rem;
    }
     .search-close-btn:hover i{
        color: #fff;
    }
    input.search-input {
        font-size: 0.938rem;
    }
    .search-form {
        gap: 0.313rem;
    }
}
@media (max-width: 480px) {
    :root{
         --text-4xl: 1.625rem;     /* 26px */
         --text-5xl: 2.625rem;       /* 42px */
    }
    .btn-large {
        font-size: 0.875rem;
    }
    .c-hamburger{
        width: 32px;
    }
    .resources-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 2rem;
    }
    .resource-card {
        max-width: 200px;
        width: 100%;
        margin: 0 auto;
    }
    .resource-icon img {
        width: 80px;
        height: auto;
    }
    .blue-banner{
        min-height: 200px;
    }
    .page-hero {
        min-height: 0;
        padding-top: 1.25rem;
        padding-bottom: 2.0rem;
    }
    .breadcrumb{
        font-size: 0.75rem;
    }
    .section-nav {
        margin-top: 1.5rem;
    }
    ul.section-nav li {
        margin-bottom: .25rem;
    }
    .sidebar-box{
        padding: 2rem;
    }
    .sidebar-img-box{
        padding: 0;
    }
    .filter-bar{
        padding: .75rem;
        font-size: 0.813rem;
    }
    .hero {
        height: 360px;
    }
    .accordion-header{
        padding: 1.25rem var(--spacing-sm) 1.25rem 0;
    }
    button.accordion-header.sidebar-accordion-header{
        padding: 1.25rem var(--spacing-sm);
    }
     .content-section .btn {
        margin: 2rem auto;
        display: block;
        max-width: 350px;
        width: 100%;
    }
    .clear-filter-container .btn {
        width: auto;
    }
    .check-container {
        padding-left: 2.5rem;
    }
    .checkmark {
        height: 25px;
        width: 25px;
    }
    .service-card p {
        font-size: 0.813rem;
    }
    .service-card h3 {
        font-size: 0.75rem;
    }
    .service-icon {
        width: 80px;
        height: 80px;
    }
    .service-icon svg {
        width: 50%;
    }
    .footer-accordion-header{
        font-size: 0.813rem;
    }
    .program-image-wrapper {
        height: 33vw;
    }
    .emergency-section {
        margin-top: 0.5rem;
    }
    .program-content h3 {
        font-size: 0.875rem;
    }
}
@media (max-width: 400px) {
    header .logo {
        position: relative;
    }
    .header-icons {
        gap: .75rem;
    }
    .row-fluid .umbraco-forms-container.col-md-12 {
        display: block;
    }
}
    


/* ========================================
   NEW SECTIONS RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .three-col-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
    
    .media-kits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .timeline-item {
        width: 160px;
        padding-bottom: 1.5rem;
    }
    
    .pillars-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .three-col-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: var(--spacing-md) auto 0;
    }
    
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
    
    .media-kits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-header-right {
        text-align: left;
        max-width: none;
    }
    
    .timeline-item {
        width: 150px;
    }
    
    
    .highlight-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .timeline-track{
        gap: 1rem;
    }
    
}

@media (max-width: 600px) {
    .icon-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .icon-grid-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .leadership-block {
        padding: 1.5rem;
    }
    
    .timeline-image {
        height: 120px;
    }
    
    .three-col-card img {
        height: 180px;
    }
    
    .three-col-content {
        padding: 1.25rem;
    }
}





/* Mission Unleaded Interactive Grid */
/* ============================================================
   Grid Styles: desktopGrid & mobileGrid sections
   Extracted from style.css
   ============================================================ */

/* --- Flex utility (shared, includes grid selectors) --- */
.selectionGroup .hoverBox .innerHoverText,
.displayBox {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  flex-direction: column;
}

.innerHoverText span{
    display: block;
}

/* --- Base section --- */
section.interactiveGrid {
  background: #F6F6F6;
  background: var(--secondary-yellow);
  padding: var(--spacing-xl) var(--spacing-md);
}

.interactiveGrid .container{
    width: 100%;
    display: flex;
}

/* --- Display Group --- */
.displayGroup {
  width: 25%;
  max-width: 425px;
  margin-right: 9%;
}
.displayGroup p a{
    font-weight: 600;
}

section.interactiveGrid .displayGroup {
  width: 32%;
  margin-right: auto;
}

.displayGroup .ttl {
  display: block;
  color: #000000;
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  line-height: 1.2;
  margin: 0;
}

.displayGroup .ttl.mb40 { margin: 0 0 40px; }

.displayGroup h2 {
  color: #000000;
  line-height: 1.2;
  margin: 0 0 var(--spacing-md);
  font-weight: 500;
}

.displayGroup img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 70px;
  margin-bottom: 20px;
}

.displayGroup ul {
  padding-left: 20px;
}

.displayGroup ul li {
  font-size: 1.375rem;
  padding-left: 10px;
}

.displayGroup h6 {
  font-size: 1rem;
  font-weight: normal;
}

/* --- Selection Group & Hover Boxes --- */
.selectionGroup {
  width: 100%;
  overflow: hidden;
  max-width: 950px;
  margin: 0 auto;
}

.selectionGroup .hoverBox {
  width: 33.33%;
  overflow: hidden;
  height: 0;
  padding-top: 25%;
  border: 2px solid #F6F6F6;
  border: 2px solid  var(--secondary-yellow);;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  float: left;
}

.selectionGroup .hoverBox .innerHoverBG {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #75796a;
  mix-blend-mode: multiply;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s ease;
}

.selectionGroup .hoverBox .innerHoverText {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: #fff;
  font-size: var(--text-xl);
  line-height: 1.3;
  text-align: center;
  z-index: 3;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  font-weight: 500;
}
.selectionGroup .hoverBox .innerHoverText .hoverText{
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.3;
    padding-top: var(--spacing-sm);
}
 

.selectionGroup .hoverBox:hover .innerHoverBG,
.selectionGroup .hoverBox:hover .innerHoverText {
  opacity: 1;
}

/* --- Display Box --- */
.displayBox {
  width: 100%;
  padding: 45px;
  box-sizing: border-box;
  min-height: 400px;
  color: #000000;
  margin-top: var(--spacing-md);
  justify-content: flex-start;
  align-items: baseline;
}

.displayBox .hoverInfo {
  display: none;
}

.displayBox .hoverInfo ul {
  padding-left: 0;
  margin-bottom: 0;
}

.displayBox h3 {
  margin-bottom: var(--spacing-sm);
  margin-top: 0;
  font-size: var(--text-xl);
}

.displayBox ul li {
  list-style: none;
  display: flex;
  position: relative; 
  align-items: baseline;
}

.displayBox ul li:before {
  display: block;
  margin-right: 15px;
 
  content: "●";
  font-size: var(--text-lg);
}

.teal .displayBox ul li:before  { color: #05A89F; }
.orange .displayBox ul li:before { color: #FCA502; }
.magenta .displayBox ul li:before { color: #EC008C; }
.green .displayBox ul li:before  { color: #1B9F62; }
.lime .displayBox ul li:before   { color: #92BB28; }
.red .displayBox ul li:before    { color: #F26A44; }

.displayBox ul li,
.displayBox p {
  font-size: var(--text-lg);
  margin: 0 0 var(--spacing-sm);
}

.displayBox ul li:last-of-type,
.displayBox p:last-of-type {
  margin-bottom: 0;
}

.displayBox .defaultInfo {
  text-align: center;
  line-height: 1.4;
  align-self: center;
}

.displayBox.active {
  align-items: baseline;
}

.displayBox.active .defaultInfo {
  display: none;
}

.hoverInfo.active {
  display: block;
}

/* --- interactiveBody overrides (displayGroup/displayBox inside interactiveBody) --- */
.interactiveBody .displayGroup { padding: 100px 0; }

.interactiveBody .displayGroup .ttl {
  color: #ffffff;
  font-size: 33px;
}

.interactiveBody .displayGroup h2 {
  color: #ffffff;
}

.interactiveBody .displayGroup p {
  color: #ffffff;
}


.lime .interactiveBody .displayGroup .displayBox    { color: #ffffff; background: #92BB28; }
.magenta .interactiveBody .displayGroup .displayBox { color: #ffffff; background: #EC008C; }

.interactiveBody .displayBox h3,
.interactiveBody .displayBox ul li { color: #ffffff; }

.interactiveBody .displayBox ul li:before { color: #000000; }

/* --- mobileGrid: hidden by default, shown via media query --- */
.interactiveGrid.mobileGrid {
  display: none;
}

.swiper-container{
    position: relative;
}
.swiper-button-next, .swiper-button-prev {
  width: 45px;
  height: 45px;
  border-radius: 100%;
  background: #fff;
  outline: none;
  top: calc(50% - 65px);
  color: var(--primary-blue);
  font-weight: bold;
}
.swiper-button-next{
    right: 0;
}
.swiper-button-prev {
    left: 0;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: white;
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 1.5rem;
    font-weight: 400;
}
.swiper-button-prev:after{
    margin-left: -3px;
}
.swiper-button-next:after {
    margin-right: -3px;
}
.swiper-pagination {
    top: 0 !important;
    bottom: 0 !important;
    position: relative;
    margin: 1rem 0 0;
    z-index: 1;
}
.mobile-swiper .swiper-pagination-bullets .swiper-pagination-bullet{
    width: 10px;
    height: 10px;
    margin: 0 5px;
}
/* .swiper-pagination-bullet {
    width: 50px;
    border-radius: 0;
    height: 3px;
} */
/* .swiper-button-prev:after, .swiper-button-next:after {
  content: "";
  background: url(./images/tealCaret.svg) no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
}
.swiper-button-next:after {
  transform: rotate(-90deg);
  margin-right: -2px;
}
.swiper-button-prev:after {
  transform: rotate(90deg);
  margin-left: -2px;
} */

/* ============================================================
   Responsive Overrides
   ============================================================ */


@media screen and (max-width: 1350px) {
 
  .displayGroup p {
    margin-bottom: 0;
  }


  .displayBox {
    padding: 40px;
  }

  .magenta .interactiveBody .displayGroup .displayBox { min-height: 300px; }

  .displayGroup {
    width: 29%;
    margin-right: 5%;
  }


}

@media screen and (max-width: 1240px) {

  .displayBox {
    padding: 30px;
    min-height: 350px;
  }


  section.interactiveBody .selectionGroup { width: 66%; }
}


/* Interacive Grid */
@media screen and (max-width: 768px) {
  /* Switch from desktop to mobile grid layout */
  .interactiveGrid.desktopGrid {
    display: none;
  }

  .interactiveGrid.mobileGrid {
    display: block;
  }

  .interactiveGrid.mobileGrid .swiper-button-next,
  .interactiveGrid.mobileGrid .swiper-button-prev { top: 50%; }

  .interactiveGrid.mobileGrid .selectionGroup {
    width: 100%;
  }

  .interactiveGrid.mobileGrid .selectionGroup .hoverBox {
    width: 100%;
    padding-top: 99.4%;
    min-height: 220px;
  }

  .interactiveGrid.mobileGrid .displayGroup {
    width: 100%;
    margin-right: 0;
    clear: both;
    max-width: none;
  }

  .displayGroup .ttl{
    font-size: var(--text-3xl);
  }

  .interactiveGrid.mobileGrid .grpMobileHeader {
    padding-top: 0;
    text-align: center;
    margin: 0 auto var(--spacing-lg);
     max-width: 550px;
  }

  .interactiveGrid.mobileGrid .grpMobileHeader p {
    text-align: center;
  }

  .interactiveGrid.mobileGrid .displayBox {
    min-height: 300px;
    justify-content: flex-start;
  }

  .interactiveGrid.mobileGrid .displayBox.active {
    display: block;
  }

  .interactiveGrid.mobileGrid .sliderInner {
    width: 80%;
    margin: 0 auto;
  }



  .selectionGroup .hoverBox {
    cursor: default;
  }

  .innerHoverBG,
  .innerHoverText {
    opacity: 0 !important;
  }

  .swiper-slide-active .innerHoverBG,
  .swiper-slide-active .innerHoverText {
    opacity: 1 !important;
  }

  .mobileGrid .displayBox .hoverInfo.active { display: block; }

  .selectionGroup .hoverBox .innerHoverText {
        font-size: var(--text-2xl);
    }
    
    .displayBox h3 {
        font-size: var(--text-2xl);
    }
}

@media screen and (max-width: 980px) {
  section.interactiveBody .displayGroup { margin-right: 2%; }
  section.interactiveBody .selectionGroup { width: 69%; }
}

@media screen and (max-width: 900px) {


  .displayGroup p,
  .displayGroup ul li,
  .displayGroup ol li {
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
 

  .displayBox .defaultInfo {
    font-size: 15px;
    width: 60%;
  }
  .interactiveGrid.mobileGrid .swiper-button-next, .interactiveGrid.mobileGrid .swiper-button-prev {
        transform: scale(.9);
    }
    /* .swiper-pagination-bullet {
        width: 35px;
    } */
}
/* @media screen and (max-width: 400px) {
.swiper-pagination-bullet {
        width: 25px;
    }
} */

/* ========================================
   NEWSLETTER FORMS
   ======================================== */

/* --- Sidebar Newsletter Form --- */
.sidebar-newsletter-signup{
    background: var(--primary-blue);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.newsletter-field-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.newsletter-email-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    border-radius: var(--radius-md);
}

.newsletter-email-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.newsletter-email-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.22);
}

.newsletter-submit-btn {
    width: 100%;
    background: #fff;
    color: var(--primary-blue);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, color 0.2s;
    border-radius: var(--radius-md);
}

.newsletter-submit-btn:hover,
.newsletter-submit-btn:focus {
    background: var(--primary-blue-dark);
    color: #fff;
}

/* Sidebar Success State */
.newsletter-success-msg {
    text-align: center;
    padding: 0.5rem 0;
    color: #fff;
    font-family: var(--font-secondary);
}

.newsletter-success-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.newsletter-success-msg p {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.newsletter-success-msg strong {
    color: #fff;
    font-weight: 700;
}

/* --- Newsletter Modal --- */
.newsletter-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 63, 143, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.newsletter-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.newsletter-modal-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem 2.5rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(13, 63, 143, 0.2);
    transform: translateY(18px);
    transition: transform 0.3s ease, opacity 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.newsletter-modal-overlay.is-open .newsletter-modal-box {
    transform: translateY(0);
}

.newsletter-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--bg-gray);
    border: none;
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-medium);
    transition: background 0.15s, color 0.15s;
}

.newsletter-modal-close:hover,
.newsletter-modal-close:focus {
    background: var(--primary-blue);
    color: #fff;
}

.newsletter-modal-eyebrow {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.newsletter-modal-header h2 {
    font-family: var(--font-secondary);
    font-size: var(--text-2xl);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.newsletter-modal-desc {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1.75rem;
}

.optional-label {
    font-size: var(--text-xs);
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* Digital Copy Divider */
.newsletter-fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.newsletter-fieldset-legend, .umbraco-forms-container h6 {
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.newsletter-digital-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.newsletter-digital-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.form-group.umbraco-forms-field.receiveadigitalcopy.titleanddescription {
    margin: 20px 0 30px;
    text-align: center;
}

.newsletter-digital-divider-text, .receiveadigitalcopy h2 {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-blue);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.newsletter-form-error {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    color: #c0392b;
    background: #fdf0ef;
    border: 1px solid #f0c6c1;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-top: 0.25rem;
    line-height: 1.5;
}

.newsletter-modal-submit, .umbraco-forms-navigation input[type="submit"] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: .5rem auto 0;
    max-width: 250px;
}
/* .homepageIntroPopup h2{
    text-transform: none;
} */
/* .homepageIntroPopup .newsletter-modal-box{
    min-height: 80vh;
} */
.newsletter-modal-box .dropdown-selected{
    width: 100%;
    padding: 1rem;
    border: 2px solid #D1E4ED;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    background: #D1E4ED;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    font-weight: normal;
}
.newsletter-modal-box .custom-dropdown.active .dropdown-selected{
    outline: none;
    border-color: var(--primary-blue);
    background: #fff;
}

.newsletter-modal-box .custom-dropdown .dropdown-option{
    padding: var(--spacing-sm);
    font-size: var(--text-base);
}
.newsletter-modal-box .custom-dropdown .dropdown-selected span{
    color: #000;
    
}
.newsletter-modal-box .custom-dropdown.active .dropdown-selected span{
    color: #000;
}


/* Modal Success State */
.newsletter-modal-success {
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.newsletter-modal-success-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.newsletter-modal-success-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    display: block;
}

.newsletter-modal-success h3 {
    font-family: var(--font-secondary);
    font-size: var(--text-2xl);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-dark);
}

.newsletter-modal-success p {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--text-dark);
    line-height: 1.7;
}

.newsletter-modal-success-note {
    font-size: var(--text-sm) !important;
    color: var(--text-medium) !important;
}

@media (max-width: 600px) {
    .newsletter-modal-box {
        padding: 2rem 1.5rem 1.75rem;
    }
}
/* ========================================
   ARTICLE EXPAND / COLLAPSE
   ======================================== */

.article-expandable {
    position: relative;
    max-height: 900px;
    overflow: hidden;
    transition: max-height 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-expandable.is-expanded {
    max-height: 9999px;
}

/* Gradient overlay — overlaps the bottom of the collapsed block */
.article-expand-overlay {
    position: relative;
    margin-top: -160px;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 25%,
        rgba(255, 255, 255, 0.88) 40%,
        rgba(255, 255, 255, 1) 100%
    );
    transition: opacity 0.35s ease, height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
    z-index: 2;
}

.article-expand-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
    height: 0;
    margin-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

/* Expand button */
.article-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
     background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition-fast),
                box-shadow var(--transition-fast),
                transform var(--transition-fast);
}

.article-expand-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

.article-expand-btn:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
}

.article-expand-icon {
    font-size: 1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Collapse row — sits below the article content once expanded */
.article-collapse-row {
    display: none;
    justify-content: center;
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.article-collapse-row.visible {
    display: flex;
}

.article-collapse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.article-collapse-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.article-collapse-btn:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
}

/* ========================================
   UMBRACO FORMS — CUSTOM CHECKBOX
   Mirrors .check-container / .checkmark styles
   for the Umbraco checkbox field pattern
   ======================================== */

/* Wrapper: hide the default checkbox */
.umbraco-forms-field-wrapper {
    position: relative;
}

.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* The label that sits next to (after) the hidden input acts as our clickable container */
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper {
    display: block;
    position: relative;
    padding-left: 3.5rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Custom checkbox box — injected via ::before on the label */
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 35px;
    width: 35px;
    border: 1px solid #000;
    border-radius: 3px;
    background-color: #fff;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

/* Hover state */
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper:hover label::before {
    background-color: #f1f1f1;
}

/* Checked state — box fill */
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper input[type="checkbox"]:checked + input[type="hidden"] + label::before,
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper input[type="checkbox"]:checked ~ label::before {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Checkmark tick — injected via ::after on the label */
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper label::after {
    content: "";
    position: absolute;
    display: none;
    left: 14px;
    top: 5px;
    width: 7px;
    height: 17px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Show tick when checked */
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper input[type="checkbox"]:checked + input[type="hidden"] + label::after,
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper input[type="checkbox"]:checked ~ label::after {
    display: block;
}

/* Focus ring for accessibility */
.umbraco-forms-field.checkbox .umbraco-forms-field-wrapper input[type="checkbox"]:focus-visible ~ label::before {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}
.checkbox label.col-sm-2.control-label.umbraco-forms-label {
    font-weight: 600;
    font-size: 1rem;
}
.field-validation-error {
    color: #c90909;
    font-size: .85em;
    font-family: var(--font-secondary);
}
 @media (max-width: 1280px) {
    .checkbox label.col-sm-2.control-label.umbraco-forms-label{
        font-size: 0.938rem;
    }
 }