/* ===================================
   AIP Custom Styles
   =================================== */

/* ===================================
   Variables & Base Settings
   =================================== */
:root {
    --color-aqua: #00D2E3;
    --color-white: #FFFFFF;
    --color-neutral-darkest: #1A2332;
    --color-neutral-dark: #00D2E3;
    --color-lilac: #BABCC9;
    --container-width: 1280px;
    --font-family: 'Mulish', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-neutral-darkest);
    background-color: #F5F5F5;
}

/* ===================================
   Container
   =================================== */
.container-custom {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ===================================
   Typography
   =================================== */
h1 {
    font-size: 56px;
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: 0.25px;
}

h2 {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: 0.25px;
}

h3 {
    font-size: 40px;
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: 0.25px;
}

h4 {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.25px;
}

h5 {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.25px;
}

/* Responsive Typography */
@media (max-width: 991px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }
}

/* ===================================
   Header Section
   =================================== */
.header-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--color-neutral-darkest);
    overflow: hidden;
}

.header-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.header-image {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    opacity: 0.4;
    will-change: transform;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 44, 0.5);
    z-index: 1;
}

.header-angled-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    min-height: 100vh;
    z-index: 2;
    opacity: 0;
    transform: translateX(100px) scale(0.95);
    animation: angleSlideIn 1s ease-out 0.5s forwards;
}

@keyframes angleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Hide angled overlay on mobile */
@media (max-width: 991px) {
    .header-section .header-angled-overlay {
        display: none;
    }

    /* Reset parallax on mobile for better performance */
    .header-image {
        position: absolute;
        top: 0;
        height: 100%;
        will-change: auto;
        transform: none !important;
    }
}

/* About Page Header */
.about-header {
    min-height: 730px;
    max-height: 730px;
}

.about-header .header-angled-overlay {
    display: none;
}

.about-header .hero-content {
    min-height: calc(730px - 88px);
}

/* Hero size for 404, search, and category pages - match news header */
[data-page="404"] .about-header,
[data-page="search"] .about-header,
[data-page="category"] .about-header {
    min-height: 500px;
    max-height: 500px;
}

[data-page="404"] .about-header .hero-content,
[data-page="search"] .about-header .hero-content,
[data-page="category"] .about-header .hero-content {
    min-height: calc(500px - 88px);
}

.news-header {
    min-height: 500px;
    max-height: 500px;
}

.news-header .header-angled-overlay {
    display: none;
}

.news-header .hero-content {
    min-height: calc(500px - 88px);
    padding-top: 180px;
    padding-bottom: 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    min-height: 88px;
    display: flex;
    align-items: center;
    background-color: var(--color-neutral-darkest);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.navbar-visible {
    transform: translateY(0);
}

/* Hide mobile close button on desktop */
.mobile-nav-close {
    display: none;
}

.navbar-container-full {
    display: flex;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 100%;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-nav .nav-item {
    margin: 0;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-white) !important;
    padding: 0;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link-text {
    position: relative;
    display: inline-block;
}

.navbar-nav .nav-link-text:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: var(--color-aqua);
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--color-aqua) !important;
}

.navbar-nav .nav-link:hover .nav-link-text:after {
    width: 100%;
    left: 0;
}

.header-logo {
    height: 40px;
    width: auto;
}

/* Mega Menu Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .nav-link i {
    transform: rotate(180deg);
}

.mega-menu {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E4E2DF;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu .container-custom {
    padding-top: 32px;
    padding-bottom: 32px;
}

.mega-menu .row {
    height: 400px;
}

.mega-menu .col-lg-8,
.mega-menu .col-lg-4 {
    height: 400px;
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.mega-menu-links li a {
    color: var(--color-neutral-darkest);
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-menu-links li a .nav-link-text {
    position: relative;
    display: inline-block;
}

.mega-menu-links li a .nav-link-text:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: var(--color-aqua);
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.mega-menu-links li a:hover {
    color: var(--color-aqua);
}

.mega-menu-links li a:hover .nav-link-text:after {
    width: 100%;
    left: 0;
}

.mega-menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buttons */
.btn,
[class*="btn-"] {
    border-radius: 0;
}

/* Global button icon animation */
.btn i,
[class*="btn-"] i,
.btn .fa,
[class*="btn-"] .fa,
.btn .fas,
[class*="btn-"] .fas,
.btn .far,
[class*="btn-"] .far {
    transition: transform 0.3s ease;
}

.btn:hover i,
[class*="btn-"]:hover i,
.btn:hover .fa,
[class*="btn-"]:hover .fa,
.btn:hover .fas,
[class*="btn-"]:hover .fas,
.btn:hover .far,
[class*="btn-"]:hover .far {
    transform: translateX(4px);
}

/* Exception for back buttons - don't animate icon separately since parent moves */
[class*="back-to-"] i {
    transition: none;
}

[class*="back-to-"]:hover i {
    transform: none;
}

.btn-aqua {
    background-color: var(--color-aqua);
    color: var(--color-neutral-darkest);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: 1px solid var(--color-aqua);
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-aqua:hover {
    background-color: #00B8C7;
    color: var(--color-neutral-darkest);
    border-color: #00B8C7;
}

.btn-outline-light {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-neutral-darkest);
    border-color: var(--color-white);
}

.btn-aqua-ghost {
    background-color: transparent;
    border: 1px solid var(--color-aqua);
    color: var(--color-aqua);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-aqua-ghost:hover {
    background-color: var(--color-aqua);
    color: var(--color-neutral-darkest);
    border-color: var(--color-aqua);
}

.btn-white-ghost {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-white-ghost:hover {
    background-color: var(--color-white);
    color: var(--color-neutral-darkest);
    border-color: var(--color-white);
}

.btn-text-white {
    background-color: transparent;
    border: none;
    color: var(--color-white);
    font-weight: 600;
    padding: 0.75rem 0;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.btn-text-white:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: var(--color-aqua);
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
    bottom: 0.5rem;
}

.btn-text-white:hover {
    color: var(--color-aqua);
}

.btn-text-white:hover:after {
    width: 100%;
    left: 0;
}

.btn-text-white i {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn-text-white:hover i {
    transform: translateX(4px);
}

.our-firm-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 60px;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 88px);
    padding-bottom: 60px;
    padding-top: 4rem;
}

.hero-category {
    display: inline-block;
    background-color: #00D2E3;
    color: #0C162C;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 24px;
    position: relative;
    padding-top: 24px;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

/* Remove accent bar and padding when hero-category is present */
.hero-category ~ .hero-title {
    padding-top: 0;
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
}

.hero-category ~ .hero-title::before {
    display: none;
}

.hero-description {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
}

/* ===================================
   Our Firm Section
   =================================== */
.our-firm-section {
    background-color: var(--color-neutral-darkest);
}

.our-firm-title {
    color: var(--color-white);
    position: relative;
    padding-top: 24px;
}

.our-firm-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background-color: #00D2E3;
}

.our-firm-text {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.our-firm-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .our-firm-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
}

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    background-color: #1A2332;
    position: relative;
}

.stats-section .container-custom {
    position: relative;
    z-index: 1;
}

.stats-title {
    color: var(--color-white);
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    padding-top: 24px;
}

.stats-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background-color: #00D2E3;
}

.stats-description {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1.5rem;
}

.stats-description p {
    margin-bottom: 1.5rem;
}

.stats-description p:last-of-type {
    margin-bottom: 0;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    justify-items: start;
    padding-left: 80px;
}

.stat-item {
    text-align: left;
    border-left: 1px solid var(--color-aqua);
    padding-left: 30px;
    padding-top: 0;
    padding-bottom: 0;
}

.stat-number {
    font-size: 70px;
    font-weight: 200;
    line-height: 1.3;
    color: var(--color-white);
}

.stat-number::after {
    content: '+';
}

.stat-item:first-child .stat-number::before {
    content: '$';
}

/* Hero accent bar */
.accent-bar {
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
    margin-bottom: 1.5rem;
}

/* Hero stats - disable default formatting since we use data-prefix/suffix */
.hero-stats-grid .stat-number::before,
.hero-stats-grid .stat-number::after {
    content: none !important;
}

.hero-stats-grid .stat-item {
    padding-left: 30px;
}

/* Homepage hero - description after accent bar */
.header-section .hero-content .col-lg-6 .hero-description {
    margin-top: 1.5rem;
}

/* Sustainability page stats - custom formatting */
body[data-page="sustainability"] .stats-section .stat-number::after,
.sustainability-stats .stat-number::after {
    content: none; /* Remove default + */
}

body[data-page="sustainability"] .stats-section .stat-item:first-child .stat-number::before,
.sustainability-stats .stat-item:first-child .stat-number::before {
    content: none; /* Remove default $ from first item */
}

/* Sustainability stats - Item 1: 100% */
body[data-page="sustainability"] .stats-section .stat-item:nth-child(1) .stat-number::after,
.sustainability-stats .stat-item:nth-child(1) .stat-number::after {
    content: '%';
}

/* Sustainability stats - Item 2: 45% */
body[data-page="sustainability"] .stats-section .stat-item:nth-child(2) .stat-number::after,
.sustainability-stats .stat-item:nth-child(2) .stat-number::after {
    content: '%';
}

/* Sustainability stats - Item 3: $50m */
body[data-page="sustainability"] .stats-section .stat-item:nth-child(3) .stat-number::before,
.sustainability-stats .stat-item:nth-child(3) .stat-number::before {
    content: '$';
}

body[data-page="sustainability"] .stats-section .stat-item:nth-child(3) .stat-number::after,
.sustainability-stats .stat-item:nth-child(3) .stat-number::after {
    content: 'm';
}

/* Sustainability stats - Item 4: 2030 (no formatting) */
body[data-page="sustainability"] .stats-section .stat-item:nth-child(4) .stat-number::after,
.sustainability-stats .stat-item:nth-child(4) .stat-number::after {
    content: none;
}

.stat-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    margin-top: 0.5rem;
    display: block;
}

.stats-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 60px;
}

@media (max-width: 991px) {
    .stats-section .col-lg-6:first-child {
        margin-bottom: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding-left: 0;
    }

    .stat-number {
        font-size: 50px;
    }

    .team-section .row {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 40px;
    }

    .stats-buttons,
    .team-buttons,
    .text-image-block__buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .team-section .row {
        min-height: auto;
    }
}

/* Tablet - Side by side 6/6 */
@media (max-width: 991px) and (min-width: 768px) {
    .header-section .hero-content .col-md-6:last-child .stat-number {
        font-size: 56px;
    }
}

/* Mobile - Stack hero content */
@media (max-width: 767px) {
    /* Remove 100vh constraint on mobile */
    .header-section {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        align-items: flex-start;
        padding-top: 200px;
        padding-bottom: 80px;
    }

    .header-section .hero-content .hero-stats-grid {
        margin-top: 2.5rem;
    }

    .header-section .hero-content .stat-number {
        font-size: 48px;
    }

    .header-section .hero-content .stat-label {
        font-size: 14px;
    }

    .header-section .hero-content .stat-item {
        padding-left: 20px;
    }
}

/* ===================================
   Viewport Height Media Queries (Short Screens)
   =================================== */

/* For laptops with short viewport heights (e.g., 768px and below) */
@media (max-height: 768px) and (min-width: 768px) {
    .hero-content {
        padding-top: 2rem;
        padding-bottom: 40px;
    }

    .stat-number {
        font-size: 50px;
    }

    .stat-label {
        font-size: 14px;
        margin-top: 0.25rem;
    }

    .stats-grid {
        gap: 2rem 1.5rem;
        padding-left: 40px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 1.5rem;
    }
}

/* For very short viewport heights */
@media (max-height: 680px) and (min-width: 768px) {
    .hero-content {
        padding-top: 1.5rem;
        padding-bottom: 30px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 13px;
        margin-top: 0.25rem;
    }

    .stats-grid {
        gap: 1.5rem 1rem;
        padding-left: 30px;
    }

    .stat-item {
        padding-left: 20px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 1rem;
    }

    .hero-title {
        margin-bottom: 16px;
    }
}

/* ===================================
   Strategies Section
   =================================== */
.strategies-section {
    background-color: #1A2332;
    padding: 5rem 0;
}

.strategies-section .section-title {
    color: var(--color-white);
    margin-bottom: 3rem;
}

.section-title-with-accent {
    position: relative;
    display: inline-block;
    padding-top: 24px;
}

.section-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

/* Custom Tabs */
.custom-tabs {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0;
    margin-bottom: 3rem !important;
}

.custom-tabs .nav-item {
    margin: 0;
}

.custom-tabs .nav-link {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.custom-tabs .nav-link:hover {
    background-color: transparent;
    color: var(--color-white);
    border-bottom-color: rgba(0, 210, 227, 0.5);
}

.custom-tabs .nav-link.active {
    background-color: transparent;
    color: var(--color-white);
    border-bottom-color: var(--color-aqua);
}

/* Tab Content */
.tab-content {
    padding-top: 2rem;
}

.tab-content-title {
    font-size: 40px;
    font-weight: 200;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.tab-content-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.tab-content-list {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #FFFFFF;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.tab-content-list li {
    margin-bottom: 0.5rem;
}

.tab-content-list ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.tab-content-list ul li {
    margin-bottom: 0.25rem;
}

.tab-content-list ol[type="A"] {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: upper-alpha;
}

.tab-content-list ol[type="A"] li {
    margin-bottom: 0.25rem;
}

.tab-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-aqua);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    position: relative;
}

.tab-learn-more:hover {
    color: #00B8C7;
}

.tab-learn-more i {
    font-size: 14px;
}

.tab-content img {
    border-radius: 8px;
    padding-left: 40px;
}

@media (max-width: 991px) {
    .tab-content img {
        padding-left: 0;
    }
}

.strategies-overview-btn {
    margin-top: 6rem;
}

@media (max-width: 991px) {
    .strategies-overview-btn {
        margin-top: 4rem;
    }
}

@media (max-width: 991px) {
    .custom-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom-tabs .nav-link {
        font-size: 16px;
        padding: 0.75rem 1.5rem;
    }

    .tab-content .col-lg-6:first-child {
        margin-bottom: 2rem;
    }

    .tab-content img {
        padding-right: 0;
    }

    .tab-content-title {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .custom-tabs .nav-link {
        font-size: 14px;
        padding: 0.75rem 1rem;
    }
}

/* ===================================
   Investments Section
   =================================== */
.investments-section {
    background-color: var(--color-white);
    padding: 5rem 0;
}

.investments-section .row {
    justify-content: center;
}

.investments-section .section-description {
    font-size: 18px;
    line-height: 1.6;
    color: #364153;
    margin-top: 1rem;
}

.investment-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.investment-card-link:hover {
    transform: translateY(-8px);
}

.investment-card-link:hover .investment-card {
    background-color: #232E40;
}

.investment-card {
    background-color: var(--color-neutral-darkest);
    color: var(--color-white);
    padding: 1.5rem 1.5rem 3.5rem 1.5rem;
    border-radius: 0;
    height: 100%;
    position: relative;
    transition: background-color 0.3s ease;
}

.card-logo {
    margin-bottom: 32px;
    height: 60px;
    display: flex;
    align-items: center;
}

.card-logo img {
    max-height: 60px;
    max-width: 80%;
    width: auto;
    object-fit: contain;
}

/*.card-logo--wide {*/
/*    height: 80px;*/
/*}*/

/*.card-logo--wide img {*/
/*    max-height: 80px;*/
/*    max-width: 100%;*/
/*}*/

/* WP NOTE:
   Use .card-logo--wide on individual cards when a logo needs extra vertical space (e.g., text-only marks).
   Expose as a boolean/toggle in the CMS so editors can enable it per partnership card.
*/

.card-title {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: 8px;
}

.card-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #99A1AF;
    margin-bottom: 1.5rem;
}

.investment-card-link-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-aqua);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    margin-top: 1rem;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

.investment-card-link:hover .investment-card-link-text {
    color: #00B8C7;
}

.investment-card-link-text i {
    font-size: 14px;
}

/* ===================================
   Team Section
   =================================== */
.team-section {
    position: relative;
    overflow: hidden;
    will-change: transform;
    padding-top: 220px !important;
    padding-bottom: 100px !important;
}

.team-section__media {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    z-index: 0;
}

.team-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 44, 0.7);
    z-index: 1;
}

.team-section .container-custom {
    position: relative;
    z-index: 2;
}

.team-section .row {
    min-height: auto;
}

.team-title {
    color: var(--color-white);
    margin-bottom: 2rem;
    text-align: left;
}

.team-title-with-accent {
    position: relative;
    padding-top: 24px;
}

.team-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.team-description {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

.team-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 60px;
}

/* Team section responsive padding */
@media (max-width: 991px) {
    .team-section {
        padding-top: 130px !important;
        padding-bottom: 70px !important;
    }
}

@media (max-width: 767px) {
    .team-section {
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
}

/* ===================================
   Connect Section
   =================================== */
.connect-section {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.connect-section__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.connect-section__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.connect-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 44, 0.7);
    z-index: 1;
}

.connect-section .container-custom {
    position: relative;
    z-index: 2;
}

.connect-title {
    color: var(--color-white);
    margin-bottom: 2rem;
    text-align: center;
}

.connect-description {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.connect-buttons {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* ===================================
   Component: Vision Statement Block

   A centered text block for vision/mission statements.

   WordPress/CMS Settings to Configure:

   1. Title (required):
      - Text input for main heading
      - Font: 32px, weight 300

   2. Description (required):
      - Large text area for vision statement
      - Default: 40px, weight 300, line-height 1.2
      - Light theme: 18px, weight 400, line-height 1.5

   3. Theme (required):
      - Default (dark): Background #0C162C, Title aqua, Description white
      - Light (.vision-section--light): Background #EEEEEE, Title and description #1A2332

   4. Layout (fixed):
      - Centered content (col-lg-8)
      - Large padding top/bottom (padding-section-large)

   Example: See "AIP Capital Vision" sections on about page
   =================================== */
.vision-section {
    background-color: #0C162C;
    position: relative;
}

.vision-title {
    color: var(--color-aqua);
    font-size: 32px;
    font-weight: 200;
    margin-bottom: 24px;
    text-align: center;
}

.vision-description {
    color: var(--color-white);
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
}

/* Light Theme Modifier for Vision Section */
.vision-section--light {
    background-color: #EEEEEE;
}

.vision-section--light .vision-title,
.vision-section--light .vision-description {
    color: #1A2332;
}

.vision-section--light .vision-description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
}

/* ===================================
   Component: Values Section with Icon Cards

   A unified section combining a centered intro (title + description)
   with icon-based cards below.

   WordPress/CMS Settings to Configure:

   1. Section Background:
      - Default: #EEEEEE (light gray)

   2. Title & Description:
      - Title: Text input (48px, weight 300, line-height 1.2, color #1A2332)
      - Description: Text area (18px, weight 400, line-height 1.5, color #1A2332)
      - Centered: col-lg-7 (desktop), col-md-10 (tablet), full width (mobile)

   3. Cards (repeatable, 1-6 recommended):
      - Icon: Image upload (SVG/PNG recommended, 48px width)
      - Title: Text input (h3, 32px, weight 300, line-height 1.4)
      - Description: Text area (p, 16px, weight 400, line-height 1.5)

   4. Layout:
      - Centered intro at top
      - 80px gap between description and cards
      - Cards: 3 columns on desktop, 2 on tablet, 1 on mobile

   Example: See "Our Values" section on about page
   =================================== */
.values-section {
    background-color: #EEEEEE;
    position: relative;
}

.values-section__title {
    color: #1A2332;
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
}

.values-section__description {
    color: #1A2332;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 0;
}

.values-section__cards {
    margin-top: 80px;
}

.icon-card {
    text-align: center;
    padding: 2rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-card__icon {
    width: 48px;
    height: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.icon-card__title {
    font-size: 32px;
    font-weight: 200;
    color: #1A2332;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.icon-card__description {
    font-size: 16px;
    font-weight: 300;
    color: #1A2332;
    line-height: 1.5;
    margin: 0;
}

/* Team Member Cards */
.team-member-card {
    text-align: left;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

.team-member-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.team-member-card__name {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    color: #1A2332;
    margin-bottom: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.team-member-card__role {
    font-family: Mulish;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    color: #1A2332;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.team-member-card__link {
    color: #AAA;
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.team-member-card__link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    left: auto;
    right: 0;
    bottom: 2px;
    background: var(--color-aqua);
    transition: width 0.3s ease;
}

.team-member-card__link i {
    margin-left: 0.25rem;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Refined hover effects - subtle and professional */
.team-member-card:hover .team-member-card__name {
    color: var(--color-aqua);
}

.team-member-card:hover .team-member-card__link {
    color: var(--color-aqua);
}

.team-member-card:hover .team-member-card__link:after {
    width: 100%;
}

.team-member-card:hover .team-member-card__link i {
    transform: translateX(3px);
}

/* ===================================
   STAFF TABLE COMPONENT - WORDPRESS READY
   ===================================

   Full documentation: staff-table.md

   This section styles the filterable, sortable staff directory table.

   WORDPRESS CUSTOMIZATION POINTS:
   - Background color: .team-directory-section background-color
   - Title/Description: .team-directory-title, .team-directory-description
   - Table colors: thead background, sort icon colors
   - Column widths: .team-directory-table thead th:nth-child(n) width
   - Hover effects: .team-directory-table tbody tr:hover

   All styles use BEM methodology for easy maintenance.
   =================================== */

/* Section Background */
.team-directory-section {
    background-color: #EEEEEE;
}

.team-directory-title {
    font-size: 48px;
    font-weight: 200;
    color: #1A2332;
    margin-bottom: 0;
    line-height: 1.2;
}

.team-directory-description {
    font-size: 18px;
    font-weight: 300;
    color: #1A2332;
    line-height: 1.5;
    margin-bottom: 0;
}

.team-directory-table {
    font-family: Mulish;
    table-layout: fixed;
    width: 100%;
    border: 1px solid #DEE2E6;
    border-collapse: separate;
    border-spacing: 0;
}

.team-directory-table thead {
    background-color: #1A2332 !important;
}

.team-directory-table thead th {
    font-size: 16px;
    font-weight: 600;
    padding: 1rem;
    border: none;
    color: #FFFFFF !important;
    background-color: #1A2332 !important;
}

.team-directory-table thead th:nth-child(1) {
    width: 20%;
}

.team-directory-table thead th:nth-child(2) {
    width: 50%;
}

.team-directory-table thead th:nth-child(3) {
    width: 17.5%;
}

.team-directory-table thead th:nth-child(4) {
    width: 12.5%;
}

.team-directory-table thead th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.team-directory-table thead th.sortable:hover {
    background-color: #2A3342 !important;
}

.team-directory-table thead th.sortable.asc,
.team-directory-table thead th.sortable.desc {
    color: var(--color-aqua) !important;
}

.sort-icon {
    margin-left: 0.5rem;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.team-directory-table thead th.sortable.asc .sort-icon {
    color: var(--color-aqua);
}

.team-directory-table thead th.sortable.desc .sort-icon {
    color: var(--color-aqua);
}

.team-directory-table-wrapper {
    position: relative;
}

.team-directory-table-wrapper .team-directory-filter-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 210, 227, 0.18);
    box-shadow: 0 10px 24px rgba(26, 35, 50, 0.08);
    color: #1A2332;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 3;
}

.team-directory-table-wrapper.is-filtering .team-directory-filter-status {
    opacity: 1;
    transform: translateY(0);
}

.team-directory-filter-status__spinner {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid rgba(0, 210, 227, 0.2);
    border-top-color: var(--color-aqua);
    border-radius: 50%;
    animation: team-directory-filter-spin 0.75s linear infinite;
}

@keyframes team-directory-filter-spin {
    to {
        transform: rotate(360deg);
    }
}

.team-directory-table tbody td {
    font-size: 16px;
    font-weight: 300;
    padding: 1rem;
    color: #1A2332;
    vertical-align: top;
    border: none;
}

.team-directory-table tbody {
    transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.team-directory-table tbody tr {
    opacity: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.team-directory-table tbody tr.hidden {
    display: none;
}

/* Pagination: Hide rows not on current page */
.team-directory-table tbody tr.pagination-hidden {
    display: none;
}

.team-directory-table.is-filtering tbody {
    opacity: 0.4;
    transform: translateY(4px);
    filter: saturate(0.85);
}

.team-directory-table tbody tr[data-href] {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Override Bootstrap's .table-hover default */
.team-directory-table.table-hover tbody tr[data-href]:hover {
    background-color: #E0F7FA !important;
}

.team-directory-table.table-hover tbody tr[data-href]:hover td {
    color: var(--color-aqua) !important;
}

/* Keep cell backgrounds neutral so JS-controlled row striping is consistent after filter/sort/pagination */
.team-directory-table tbody tr > * {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Manual striping for the currently visible rows */
.team-directory-table tbody tr.table-stripe-odd > * {
    background-color: #f4f4f4 !important;
}

.team-directory-table tbody tr.table-stripe-even > * {
    background-color: #ffffff !important;
}

/* No results row */
.team-directory-table tbody tr.no-results-row td {
    padding: 2rem 1rem;
    font-size: 18px;
    color: #888;
    font-style: italic;
}

.team-directory-table tbody tr.no-results-row {
    background-color: transparent !important;
}

/* Table Controls - Search and Filter */
.table-controls {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.table-search {
    flex: 1;
    max-width: 250px;
}

.table-filter {
    flex: 1;
    max-width: 320px;
}

.table-search .form-control,
.table-filter .form-select {
    font-family: Mulish;
    font-size: 16px;
    padding: 0.625rem 1rem;
    border: 1px solid #CCC;
    border-radius: 4px;
}

.table-search .form-control:focus,
.table-filter .form-select:focus {
    border-color: var(--color-aqua);
    box-shadow: 0 0 0 0.2rem rgba(0, 210, 227, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .team-directory-table-wrapper .team-directory-filter-status,
    .team-directory-table tbody,
    .team-directory-table tbody tr {
        transition: none;
    }

    .team-directory-filter-status__spinner {
        animation: none;
    }
}

/* ===================================
   Table Pagination
   =================================== */
.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    font-family: Mulish;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pagination-text {
    font-size: 14px;
    color: #666;
}

.pagination-rows-per-page {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-rows-per-page label {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.pagination-rows-per-page .form-select {
    width: auto;
    min-width: 80px;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    font-size: 14px;
    border: 1px solid #CCC;
    border-radius: 4px;
}

.pagination-rows-per-page .form-select:focus {
    border-color: var(--color-aqua);
    box-shadow: 0 0 0 0.2rem rgba(0, 210, 227, 0.25);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pagination {
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 500;
    color: #1A2332;
    background-color: transparent;
    border: 1px solid #DEE2E6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Mulish;
}

.btn-pagination:hover:not(:disabled) {
    background-color: #F8F9FA;
    border-color: var(--color-aqua);
    color: var(--color-aqua);
}

.btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.btn-page-number {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    font-size: 14px;
    font-weight: 500;
    color: #1A2332;
    background-color: transparent;
    border: 1px solid #DEE2E6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Mulish;
}

.btn-page-number:hover {
    background-color: #F8F9FA;
    border-color: var(--color-aqua);
    color: var(--color-aqua);
}

.btn-page-number.active {
    background-color: var(--color-aqua);
    border-color: var(--color-aqua);
    color: white;
}

.pagination-ellipsis {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .table-pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination-controls {
        width: 100%;
        justify-content: center;
    }

    .pagination-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Team member container - Centers all rows */
.team-member-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Team member grid - Flexbox layout with specific widths */
.team-member-grid {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 48px;
    justify-content: center;
}

.team-member-card-wrapper {
    width: 394px;
    flex-shrink: 0;
}

/* Spacing between team member rows */
.team-member-row {
    margin-top: 64px;
}

/* Mobile adjustments for values section and icon cards */
@media (max-width: 991px) {
    .values-section__cards {
        margin-top: 60px;
    }

    .icon-card {
        padding: 1.5rem 1rem;
    }

    .icon-card__icon {
        width: 40px;
        height: auto;
        margin-bottom: 1rem;
    }

    .icon-card__title {
        font-size: 24px;
    }

    .icon-card__description {
        font-size: 15px;
    }

    .team-member-card__name {
        font-size: 24px;
    }

    .team-member-card__role {
        font-size: 16px;
    }

    .team-member-card__link {
        font-size: 15px;
    }

    .team-member-card-wrapper {
        width: 100%;
        max-width: 394px;
    }

    .team-member-grid {
        flex-wrap: wrap;
        row-gap: 48px;
        column-gap: 32px;
    }

    .team-member-row {
        margin-top: 48px;
    }

    .team-directory-title {
        font-size: 36px;
    }

    .team-directory-description {
        font-size: 16px;
    }

    .team-directory-table thead th,
    .team-directory-table tbody td {
        font-size: 14px;
        padding: 0.75rem 0.5rem;
    }

    /* Hide location column on mobile */
    .team-directory-table thead th:nth-child(4),
    .team-directory-table tbody td:nth-child(4) {
        display: none;
    }

    /* Adjust column widths for mobile */
    .team-directory-table thead th:nth-child(1) {
        width: 22.5%;
    }

    .team-directory-table thead th:nth-child(2) {
        width: 52.5%;
    }

    .team-directory-table thead th:nth-child(3) {
        width: 25%;
    }

    .table-controls {
        flex-direction: column;
    }

    .table-search,
    .table-filter {
        max-width: 100%;
    }
}

/* ===================================
   Text-Image Block Component (Unified)

   This is a reusable component for text + image layouts.
   Both sections use the same HTML structure with modifier classes.

   WordPress/CMS Settings to Configure:

   1. Theme (required):
      - light: White background (#FFFFFF), dark text (#1A2332)
      - dark: Dark blue background (#0C162C), white text
      Classes: .text-image-block--light OR .text-image-block--dark

   2. Layout (required):
      - text-left: Text content on left, image on right (default)
      - text-right: Text content on right, image on left

      Implementation:
      - text-left: Standard column order, 4rem padding-right on content
      - text-right: Add .text-image-block--text-right class + use Bootstrap order classes
                    (order-lg-2 on content, order-lg-1 on image)
                    4rem padding-left on content (padding-right removed)
      Default: text-left

   3. Vertical Alignment (required):
      - align-start: Content aligned to top (use align-items-start on row)
      - align-center: Content vertically centered (use align-items-center on row)
      Default: align-start

   4. Content Type (required):
      - paragraph: One or more paragraphs (wrap <p> tags in .text-image-block__description div)
      - paragraph-intro: Intro + paragraph (use .text-image-block__intro)
      - bullet-list: Intro + bullet list (use .text-image-block__list)

      IMPORTANT: For paragraph content, always use a div wrapper:
      <div class="text-image-block__description">
          <p>First paragraph...</p>
          <p>Second paragraph if needed...</p>
      </div>

   5. Accent Bar (optional):
      - true: Show aqua accent bar above title (add .text-image-block__title--accent)
      - false: No accent bar
      Default: true

   6. Image (required):
      - Upload image file
      - Alt text for accessibility

   Example Usage:
   - Light theme with bullet list (text-left): See "Pre-Eminent Dedicated Asset-Based Finance Investor"
   - Dark theme with paragraph (text-left): See "Our Mission"

   HTML Structure for text-right layout:
   <section class="text-image-block text-image-block--dark text-image-block--text-right">
       <div class="row align-items-center">
           <div class="col-lg-6 order-lg-2 text-image-block__content">
               <!-- Title, text content -->
           </div>
           <div class="col-lg-6 order-lg-1 text-image-block__image">
               <!-- Image -->
           </div>
       </div>
   </section>
   =================================== */

/* Base Component Styles */
.text-image-block {
    position: relative;
}

.text-image-block__content {
    padding-right: 4rem;
}

/* Text Right Layout - Remove right padding, add left padding */
.text-image-block--text-right .text-image-block__content {
    padding-right: 0;
    padding-left: 4rem;
}

.text-image-block__title {
    margin-bottom: 2rem;
    text-align: left;
    font-size: 48px;
    font-weight: 200;
}

.text-image-block__title--accent {
    position: relative;
    padding-top: 24px;
}

.text-image-block__title--accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.text-image-block__intro,
.text-image-block__description,
.text-image-block__intro p,
.text-image-block__description p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

.text-image-block__intro,
.text-image-block__description {
    margin-bottom: 2rem;
}

.text-image-block__description {
    margin-bottom: 0;
}

.text-image-block__intro p,
.text-image-block__description p {
    margin-bottom: 1rem;
}

.text-image-block__intro p:last-child,
.text-image-block__description p:last-child {
    margin-bottom: 0;
}

.text-image-block__description ol,
.text-image-block__description ul {
    padding-left: 1.5em;
    margin-left: 0;
    list-style-position: outside;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.text-image-block__description ol:last-child,
.text-image-block__description ul:last-child {
    margin-bottom: 0;
}

.text-image-block__description ol li,
.text-image-block__description ul li {
    margin-bottom: 0.5rem;
}

.text-image-block__description ol li:last-child,
.text-image-block__description ul li:last-child {
    margin-bottom: 0;
}

/* Buttons container (optional) - matches team-buttons styling */
.text-image-block__buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 40px;
}

.text-image-block__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-image-block__list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.text-image-block__list-item:last-child {
    margin-bottom: 0;
}

.text-image-block__bullet-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.text-image-block__list-item p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

/* Parallax Image - Container-based approach */
.parallax-img-container {
    position: relative;
    overflow: hidden;
    height: 750px;
}

.parallax-img {
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: -25%;
    left: 0;
    will-change: transform;
    transition: none;
}

@media (max-width: 991px) {
    .parallax-img-container {
        height: 500px;
        margin-top: 2rem;
    }

    .parallax-img {
        height: 100%;
        top: 0;
        position: relative;
    }
}

@media (max-width: 575px) {
    .parallax-img-container {
        height: 350px;
    }
}

/* Light Theme (White background, Dark text) */
.text-image-block--light {
    background-color: #FFFFFF;
}

.text-image-block--light .text-image-block__title,
.text-image-block--light .text-image-block__intro,
.text-image-block--light .text-image-block__description,
.text-image-block--light .text-image-block__list-item p {
    color: #1A2332;
}

/* Dark Theme (Dark blue background, White text) */
.text-image-block--dark {
    background-color: #0C162C;
}

.text-image-block--dark .text-image-block__title,
.text-image-block--dark .text-image-block__intro,
.text-image-block--dark .text-image-block__description,
.text-image-block--dark .text-image-block__list-item p {
    color: var(--color-white);
}

/* Grey Theme (Grey background, Dark text) */
.text-image-block--grey {
    background-color: #EEEEEE;
}

.text-image-block--grey .text-image-block__title,
.text-image-block--grey .text-image-block__intro,
.text-image-block--grey .text-image-block__description,
.text-image-block--grey .text-image-block__list-item p {
    color: #364153;
}

/* ===================================
   Value Framework Section
   =================================== */
.value-framework-section {
    background-color: #FFFFFF;
}

.value-framework-section--light {
    background-color: #FFFFFF;
}

.value-framework-section--grey {
    background-color: #EEEEEE;
}

.value-framework-section__title {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    color: #364153;
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 24px;
}

.value-framework-section__title--accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.value-framework-section__description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #364153;
    margin-bottom: 0;
}

.value-framework-section__cards {
    margin-top: 80px;
}

/* Value Framework Card Items */
.value-framework-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-left: 4px solid var(--color-aqua);
    height: 100%;
}

.value-framework-card__title {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.4;
    color: #364153;
    margin-bottom: 1rem;
}

.value-framework-card__description {
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    color: #364153;
    margin-bottom: 0;
}

/* Dark variant - navy cards with white text */
.value-framework-section--dark .value-framework-card {
    background-color: #1A2332;
    border-left-color: #00D2E3;
}

.value-framework-section--dark .value-framework-card__title {
    color: var(--color-white);
}

.value-framework-section--dark .value-framework-card__description {
    color: var(--color-white);
}

@media (max-width: 991px) {
    .value-framework-section__title {
        font-size: 36px;
    }

    .value-framework-section__description {
        font-size: 16px;
    }

    .value-framework-section__cards {
        margin-top: 60px;
    }

    .value-framework-card__title {
        font-size: 28px;
    }

    .value-framework-card__description {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .value-framework-section__title {
        font-size: 28px;
    }

    .value-framework-section__description {
        font-size: 15px;
    }

    .value-framework-section__cards {
        margin-top: 40px;
    }

    .value-framework-card__title {
        font-size: 24px;
    }

    .value-framework-card__description {
        font-size: 14px;
    }
}

/* ===================================
   Product Offerings Section
   =================================== */
.product-offerings-section {
    background-color: #0C162C;
}

.product-offerings-section .section-title {
    font-family: Mulish;
    font-size: 56px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    color: var(--color-white);
}

.product-card {
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.product-card__icon {
    font-size: 48px;
    color: #00D2E3;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.product-card__icon i {
    width: 48px;
    height: 48px;
}

.product-card__icon img {
    width: 125px;
    height: auto;
}

.product-card__title {
    font-family: Mulish;
    font-size: 24px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .product-card {
        padding: 30px 15px;
        min-height: auto;
    }

    .product-card__icon {
        font-size: 36px;
        min-height: 80px;
    }

    .product-card__title {
        font-size: 18px;
    }
}

/* ===================================
   Asset Types Section
   =================================== */
.asset-types-section {
    background-color: #FFFFFF;
}

.asset-type-card {
    text-align: center;
    padding: 30px 15px;
}

.asset-type-card__icon {
    font-size: 125px;
    color: #00D2E3;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.asset-type-card__icon i {
    width: 125px;
    height: 125px;
}

.asset-type-card__icon img {
    width: 125px;
    height: auto;
}

.asset-type-card__title {
    font-family: Mulish;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    color: #364153;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .asset-type-card {
        padding: 20px 10px;
    }

    .asset-type-card__icon {
        font-size: 32px;
    }

    .asset-type-card__title {
        font-size: 16px;
    }
}

/* ===================================
   Featured Platform Block

   USAGE:
   - Default background: #0C162C (dark navy)
   - Alternative backgrounds:
     * .featured-platform-block--bg-alt: #1A2332 (lighter navy)
     * Or use inline style: style="background-color: #1A2332;"

   LAYOUT OPTIONS:
   - Normal: Image left, content right
   - Reversed: Use Bootstrap order classes on columns:
     * Content: order-lg-1 order-2
     * Image: order-lg-2 order-1

   EXAMPLE:
   <section class="featured-platform-block">...</section>
   <section class="featured-platform-block featured-platform-block--bg-alt">...</section>
   <section class="featured-platform-block" style="background-color: #1A2332;">...</section>
   =================================== */
.featured-platform-block {
    background-color: #0C162C;
    padding: 160px 0;
}

/* Alternative background color */
.featured-platform-block--bg-alt {
    background-color: #1A2332;
}

.featured-platform-block__logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.featured-platform-block__logo--wide {
    max-width: 320px;
}

.featured-platform-block__logo--larger {
    max-width: 400px;
}

/* WP NOTE:
   Add a toggle for featured-platform logos that need extra width (apply .featured-platform-block__logo--wide).
*/

.featured-platform-block__label {
    font-family: Mulish;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #00D2E3;
    margin-bottom: 1.5rem;
}

.featured-platform-block__title {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.featured-platform-block__description {
    margin-bottom: 0;
}

.featured-platform-block__description p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.featured-platform-block__description p:last-child {
    margin-bottom: 0;
}

.featured-platform-block__description ol,
.featured-platform-block__description ul {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.featured-platform-block__description li {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.featured-platform-block__description li:last-child {
    margin-bottom: 0;
}

.featured-platform-block__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.featured-platform-block__stats .stat-item {
    text-align: left;
}

.featured-platform-block__stats .stat-number {
    font-size: 70px;
    font-weight: 200;
    line-height: 1.3;
    color: #00D2E3;
}

/* Remove default stat formatting for featured platform */
.featured-platform-block__stats .stat-item .stat-number::before,
.featured-platform-block__stats .stat-item .stat-number::after,
.featured-platform-block__stats .stat-item:first-child .stat-number::before {
    content: none !important;
}

.featured-platform-block__stats .stat-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    margin-top: 0.5rem;
    display: block;
}

.featured-platform-block__buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 40px;
}

.featured-platform-block__image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-platform-block__content {
    padding-left: 80px;
}

/* Mobile styles */
@media (max-width: 991px) {
    .featured-platform-block__logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .featured-platform-block__label,
    .featured-platform-block__title,
    .featured-platform-block__description {
        text-align: center;
    }

    .featured-platform-block__stats {
        justify-content: center;
    }

    .featured-platform-block__stats .stat-item {
        text-align: center;
    }

    .featured-platform-block__buttons {
        justify-content: center;
    }

    .featured-platform-block__content,
    .featured-platform-block--text-right .featured-platform-block__content {
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 2rem;
    }

    .featured-platform-block__image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .featured-platform-block__title {
        font-size: 36px;
    }

    .featured-platform-block__description p,
    .featured-platform-block__description ol,
    .featured-platform-block__description ul {
        font-size: 16px;
    }

    .featured-platform-block__stats .stat-number {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .featured-platform-block__stats .stat-number {
        font-size: 40px;
    }
}

/* Mobile styles - center everything and add spacing when stacked */
@media (max-width: 991px) {
    .text-image-block__content,
    .text-image-block--text-right .text-image-block__content {
        padding-right: 15px;
        padding-left: 15px;
        padding-bottom: 3rem;
        text-align: center;
    }

    .text-image-block__title {
        text-align: center !important;
    }

    /* Center the accent bar on mobile */
    .text-image-block__title--accent::before {
        left: 50% !important;
        transform: translateX(-50%);
    }

    /* Center intro and description text */
    .text-image-block__intro,
    .text-image-block__description {
        text-align: center;
    }

    /* Center bullet list items on mobile */
    .text-image-block__list {
        text-align: center;
    }

    .text-image-block__list-item {
        justify-content: center;
        text-align: left; /* Keep text left-aligned within the bullet */
    }

    /* Center buttons on mobile */
    .text-image-block__buttons {
        justify-content: center;
    }

    /* Center images on mobile and make full width */
    .text-image-block__image {
        text-align: center;
    }

    .text-image-block__image img {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
}

/* Legacy class support for buttons */
.about-stats-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 60px;
    flex-wrap: wrap;
}

.btn-text-dark {
    background-color: transparent;
    border: none;
    color: #1A2332;
    font-weight: 600;
    padding: 0.75rem 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.btn-text-dark:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: var(--color-aqua);
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
    bottom: 0.5rem;
}

.btn-text-dark:hover {
    color: var(--color-aqua);
}

.btn-text-dark:hover:after {
    width: 100%;
    left: 0;
}

.btn-text-dark i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-text-dark:hover i {
    transform: translateX(4px);
}

/* ===================================
   Component: Stats Cards Grid

   A grid of statistic cards with large numbers.

   WordPress/CMS Settings to Configure:

   1. Section Title (required):
      - Text input for heading
      - Accent bar: Yes (always shown)
      - Font: 48px, weight 300, color #1A2332

   2. Cards (repeatable, 1-6 recommended):
      Each card has:
      - Card Title: Text at top (20px, white)
      - Stat Value: Large number at bottom (80px, weight 200, aqua)
      - Can include text prefix/suffix ($, +, etc.)

   3. Grid Layout:
      - Desktop: 3 columns (col-lg-4)
      - Tablet: 2 columns (col-md-6)
      - Mobile: 1 column

   4. Background (fixed):
      - #EEEEEE (light gray)

   5. Card Style (fixed):
      - Dark background (#1A2332)
      - Min height: 300px
      - Padding: 1.5rem
      - Hover: Lift effect with aqua shadow

   6. Count-up Animation:
      - Stats automatically count up when scrolled into view
      - Use data-count attribute for target value

   Example: See "Platform Snapshot" section
   =================================== */
.platform-snapshot-section {
    background-color: #EEEEEE;
    padding: 5rem 0;
}

.snapshot-title {
    color: #1A2332;
    margin-bottom: 3rem;
    text-align: left;
}

.snapshot-title-with-accent {
    position: relative;
    padding-top: 24px;
}

.snapshot-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.snapshot-card {
    background-color: var(--color-neutral-darkest);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 0;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.snapshot-card-title {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-white);
    margin: 0;
}

.snapshot-card-stat {
    font-size: 80px;
    font-weight: 200;
    line-height: 1.2;
    color: var(--color-aqua);
    margin: 0;
}

.snapshot-card-stat .stat-number {
    color: var(--color-aqua);
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.snapshot-card-stat .stat-number::after {
    content: none;
}

.snapshot-card-stat .stat-number::before {
    content: none;
}

/* ===================================
   Featured Post Section
   =================================== */
.featured-post-section {
    background-color: #0C162C;
}

.featured-post-section-title {
    color: #FFFFFF;
    font-family: Mulish;
    font-size: 40px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 3rem;
    position: relative;
    padding-top: 24px;
}

.featured-post-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background-color: #00D2E3;
}

.featured-post-card {
    background-color: #EEEEEE;
    overflow: hidden;
    border-radius: 0;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.featured-post-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-post-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00D2E3;
    color: #0C162C;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
    transition: all 0.3s ease;
}

.featured-post-card:hover .featured-post-image {
    filter: brightness(1.2);
}

.featured-post-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
    min-height: 400px;
}

.featured-post-title {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.4;
    color: #364153;
    margin-bottom: 1.5rem;
}

.featured-post-excerpt {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #364153;
    margin-bottom: auto;
}

.featured-post-date {
    font-size: 14px;
    font-weight: 300;
    color: #AAAAAA;
    margin-top: auto;
    padding-top: 1rem;
}

@media (max-width: 991px) {
    .featured-post-image {
        min-height: 300px;
    }

    .featured-post-content {
        padding: 20px;
        min-height: auto;
        gap: 1.25rem;
    }

    .featured-post-title {
        font-size: 28px;
    }

    .featured-post-excerpt {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .featured-post-content {
        padding: 15px;
        gap: 1rem;
    }

    .featured-post-title {
        font-size: 24px;
    }
}

/* ===================================
   News Filter Section
   =================================== */
.news-filter-section {
    background-color: #FFFFFF;
    padding: 40px 0;
    border-bottom: 1px solid #E5E5E5;
    scroll-margin-top: 128px;
}

.news-filter-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.news-filter-categories {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
    gap: 12px;
    max-width: calc(100% - 300px);
}

.filter-btn {
    background-color: transparent;
    border: 1px solid #CCCCCC;
    color: #364153;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    display: inline-block;
    text-decoration: none;
}

.filter-btn:hover {
    border-color: #00D2E3;
    color: #00D2E3;
    text-decoration: none;
}

.filter-btn.active {
    background-color: #00D2E3;
    border-color: #00D2E3;
    color: #FFFFFF;
}

.filter-btn.active:hover {
    background-color: #00D2E3;
    border-color: #00D2E3;
    color: #FFFFFF;
}

.news-filter-search {
    position: relative;
    min-width: 280px;
}

.news-search-form {
    position: relative;
    width: 100%;
}

.filter-search-input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 1px solid #CCCCCC;
    font-size: 14px;
    color: #364153;
    border-radius: 0;
}

.filter-search-input:focus {
    outline: none;
    border-color: #00D2E3;
}

.filter-search-input::placeholder {
    color: #999999;
}

.news-filter-search button {
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.news-filter-search button i {
    color: #999999;
}

.news-filter-search button:hover i {
    color: #00D2E3;
}

@media (max-width: 991px) {
    .news-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .news-filter-categories {
        max-width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .news-filter-search {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .news-filter-categories {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .filter-btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    .news-filter-section {
        padding: 30px 0;
    }
}

/* ===================================
   News Section & Pagination
   =================================== */
.news-section {
    background-color: #FFFFFF;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: block;
}

.page-link {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 400;
    color: #364153;
    background-color: transparent;
    border: 1px solid #CCCCCC;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #00D2E3;
    color: #FFFFFF;
    border-color: #00D2E3;
}

.page-item.active .page-link {
    background-color: #00D2E3;
    color: #FFFFFF;
    border-color: #00D2E3;
}

@media (max-width: 767px) {
    .pagination {
        flex-wrap: wrap;
    }

    .page-link {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* ===================================
   Newsletter Signup Component

   USAGE:
   - Full-width white section containing centered navy signup box
   - Email-only signup with subscribe button
   - Desktop: horizontal layout (email + button side-by-side)
   - Mobile/Tablet: vertical layout (stacked)

   STRUCTURE:
   <section class="newsletter-signup">
       <div class="container-custom">
           <div class="newsletter-signup__box">
               <h2 class="newsletter-signup__title">
                   Title text<br class="newsletter-signup__title-break"> More text
               </h2>
               <p class="newsletter-signup__description">Description text</p>
               <form class="newsletter-signup__form">
                   <div class="newsletter-signup__inputs">
                       <input type="email" class="newsletter-signup__input" placeholder="Email">
                       <button type="submit" class="btn btn-aqua">Subscribe</button>
                   </div>
               </form>
               <p class="newsletter-signup__terms">
                   Text with <a href="#">link</a>.
               </p>
           </div>
       </div>
   </section>

   NOTES:
   - .newsletter-signup__title-break: Line break hidden on mobile for natural text flow
   - Button uses global .btn .btn-aqua classes
   - Terms link automatically styled with underline
   - All content centered within navy box

   GRAVITY FORMS INTEGRATION:
   - Component includes styles for Gravity Forms with Mailchimp addon
   - Gravity Forms fields automatically match design system
   - Form markup can be replaced with [gravityform] shortcode
   - Submit button inherits aqua button styling
   - Hidden labels for cleaner appearance
   =================================== */

/* Section wrapper */
.newsletter-signup {
    background-color: #FAFAFA;
}

/* Navy container box */
.newsletter-signup__box {
    background-color: #0C162C;
    padding: 100px 60px;
    text-align: center;
}

/* Title styling */
.newsletter-signup__title {
    font-family: Mulish;
    font-size: 48px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

/* Description text */
.newsletter-signup__description {
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    color: #FFFFFF;
    margin-bottom: 2.5rem;
}

/* Form wrapper */
.newsletter-signup__form {
    margin-bottom: 1.5rem;
}

/* Input and button container */
.newsletter-signup__inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}

/* Email input field */
.newsletter-signup__input {
    flex: 1;
    max-width: 400px;
    padding: 14px 20px;
    font-size: 16px;
    color: #364153;
    border: 1px solid #CCCCCC;
    border-radius: 0;
    background-color: #FFFFFF;
}

.newsletter-signup__input:focus {
    outline: none;
    border-color: #00D2E3;
}

.newsletter-signup__input::placeholder {
    color: #999999;
}

/* Terms and conditions text */
.newsletter-signup__terms {
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    color: #FFFFFF;
    margin: 1.5rem 0 0 0;
}

/* Terms link styling - matches inline link pattern */
.newsletter-signup__terms a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.newsletter-signup__terms a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: #FFFFFF;
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.newsletter-signup__terms a:hover:after {
    width: 100%;
    left: 0;
}

.newsletter-signup__terms a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Gravity Forms integration */
.newsletter-signup .gform_wrapper {
    margin: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.newsletter-signup .gform_wrapper form {
    margin: 0 !important;
    padding: 0 !important;
}

.newsletter-signup .gform_body {
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: contents !important;
}

.newsletter-signup .gform_wrapper .gform_fields {
    margin-bottom: 0 !important;
}

/* Desktop layout: input and button side by side */
.newsletter-signup .gform_wrapper form {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
}

.newsletter-signup .gform_fields {
    display: contents !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.newsletter-signup .gfield,
.newsletter-signup .gform_wrapper .gfield {
    flex: 1 1 400px !important;
    max-width: 400px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 200px !important;
    list-style: none !important;
}

.newsletter-signup .gfield .ginput_container,
.newsletter-signup .gform_wrapper .gfield .ginput_container {
    margin-top: 0 !important;
}

/* Hide Gravity Forms labels (use placeholders instead) */
.newsletter-signup .gfield_label {
    display: none !important;
}

.newsletter-signup .ginput_container,
.newsletter-signup .ginput_container_email {
    margin: 0 !important;
    padding: 0 !important;
}

/* Style Gravity Forms email input */
.newsletter-signup .gform_wrapper input[type="email"],
.newsletter-signup .gform_wrapper input[type="text"],
.newsletter-signup input[type="email"],
.newsletter-signup input[type="text"] {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    color: #364153 !important;
    border: 1px solid #CCCCCC !important;
    border-radius: 0 !important;
    background-color: #FFFFFF !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    font-family: inherit !important;
    height: auto !important;
    text-align: left !important;
}

.newsletter-signup .gform_wrapper input[type="email"]:focus,
.newsletter-signup .gform_wrapper input[type="text"]:focus,
.newsletter-signup input[type="email"]:focus,
.newsletter-signup input[type="text"]:focus {
    outline: none !important;
    border-color: #00D2E3 !important;
    box-shadow: none !important;
}

.newsletter-signup .gform_wrapper input::placeholder,
.newsletter-signup input::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
}

/* Override browser autofill styling */
.newsletter-signup .gform_wrapper input[type="email"]:-webkit-autofill,
.newsletter-signup .gform_wrapper input[type="text"]:-webkit-autofill,
.newsletter-signup input[type="email"]:-webkit-autofill,
.newsletter-signup input[type="text"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
    -webkit-text-fill-color: #364153 !important;
    box-shadow: 0 0 0 1000px #FFFFFF inset !important;
}

/* Style Gravity Forms submit button */
.newsletter-signup .gform_footer,
.newsletter-signup .gform_wrapper .gform_footer {
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
    flex: 0 0 auto !important;
}

.newsletter-signup .gform_wrapper .gform_button,
.newsletter-signup .gform_button,
.newsletter-signup input[type="submit"] {
    background-color: #00D2E3 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    text-align: center !important;
    margin: 0 !important;
    height: auto !important;
}

.newsletter-signup .gform_wrapper .gform_button:hover,
.newsletter-signup .gform_button:hover,
.newsletter-signup input[type="submit"]:hover {
    background-color: #00B8C7 !important;
}

/* Hide Gravity Forms field descriptions and required asterisks */
.newsletter-signup .gfield_description,
.newsletter-signup .gfield_required {
    display: none !important;
}

/* Style validation messages */
.newsletter-signup .validation_message {
    color: #dc3545 !important;
    font-size: 12px !important;
    margin-top: 0.5rem !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
}

/* Bootstrap-style error alert */
.newsletter-signup .gform_validation_errors {
    padding: 1rem 1.25rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid #f5c2c7 !important;
    border-radius: 4px !important;
    background-color: #f8d7da !important;
    color: #842029 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.newsletter-signup .gform_validation_errors .gform_submission_error {
    color: #842029 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.newsletter-signup .gform_validation_errors .gform-icon {
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.newsletter-signup .gform_validation_errors .hide_summary {
    display: flex !important;
}

.newsletter-signup .gfield_error input[type="email"],
.newsletter-signup .gfield_error input[type="text"] {
    border-color: #dc3545 !important;
}

/* Remove any conflicting margins or padding from Gravity Forms */
.newsletter-signup .gfield_label,
.newsletter-signup .ginput_container_email {
    margin: 0 !important;
    padding: 0 !important;
}

/* Success message styling - Bootstrap-style green alert */
.newsletter-signup .gform_confirmation_wrapper,
.newsletter-signup .gform_confirmation_message {
    padding: 1rem 1.25rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid #badbcc !important;
    border-radius: 4px !important;
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.newsletter-signup .gform_confirmation_wrapper {
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
}

/* Tablet breakpoint */
@media (max-width: 991px) {
    .newsletter-signup__box {
        padding: 80px 40px;
    }

    .newsletter-signup__title {
        font-size: 36px;
    }

    .newsletter-signup__inputs {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-signup__input {
        width: 100%;
        max-width: 400px;
    }

    /* Gravity Forms responsive */
    .newsletter-signup .gform_wrapper form {
        flex-direction: column !important;
        align-items: center !important;
    }

    .newsletter-signup .gfield,
    .newsletter-signup .gform_wrapper .gfield {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 400px !important;
        min-width: auto !important;
    }

    .newsletter-signup .gform_footer,
    .newsletter-signup .gform_wrapper .gform_footer {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .newsletter-signup .gform_wrapper .gform_button,
    .newsletter-signup .gform_button,
    .newsletter-signup input[type="submit"] {
        width: 100% !important;
    }

    .newsletter-signup .gform_confirmation_message,
    .newsletter-signup .gform_validation_errors {
        max-width: 400px !important;
    }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
    .newsletter-signup__box {
        padding: 60px 30px;
    }

    .newsletter-signup__title {
        font-size: 32px;
    }

    /* Hide line break on mobile for natural text flow */
    .newsletter-signup__title-break {
        display: none;
    }

    .newsletter-signup__description {
        font-size: 16px;
    }

    /* Gravity Forms mobile styles */
    .newsletter-signup .gfield,
    .newsletter-signup .gform_wrapper .gfield {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }

    .newsletter-signup .gform_footer,
    .newsletter-signup .gform_wrapper .gform_footer {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .newsletter-signup .gform_wrapper .gform_button,
    .newsletter-signup .gform_button,
    .newsletter-signup input[type="submit"] {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }

    .newsletter-signup .gform_confirmation_message,
    .newsletter-signup .gform_validation_errors {
        max-width: 100% !important;
        padding: 0.875rem 1rem !important;
        font-size: 13px !important;
    }

    .newsletter-signup .gform_validation_errors .gform_submission_error {
        font-size: 13px !important;
    }
}

/* ===================================
   Article Content (News Single Page)
   =================================== */

/* Article container */
.article-content {
    background-color: #FFFFFF;
}

/* Page Content - For static pages like Terms & Conditions, Privacy Policy, etc. */
/* Uses the same .article-body WYSIWYG styles for content formatting */
.page-content {
    background-color: #FFFFFF;
}

/* Article header */
.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-category {
    display: inline-block;
    background-color: #00D2E3;
    color: #0C162C;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.article-date {
    font-size: 14px;
    color: #AAAAAA;
    font-weight: 300;
}

.article-title {
    font-family: Mulish;
    font-size: 48px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    color: #1A2332;
    margin: 0;
}

/* Featured image */
.article-featured-image {
    margin-bottom: 3rem;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article body typography - All styles target clean HTML from WordPress WYSIWYG */
.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #364153;
}

/* First paragraph with strong tag acts as lead/intro */
.article-body > p:first-child strong {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.6;
    color: #1A2332;
}

.article-body > p:first-child {
    margin-bottom: 2rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h1 {
    font-family: Mulish;
    font-size: 40px;
    font-weight: 200;
    line-height: 1.2;
    color: #1A2332;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.article-body h2 {
    font-family: Mulish;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.3;
    color: #1A2332;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    font-family: Mulish;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    color: #1A2332;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    font-family: Mulish;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #1A2332;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body h5 {
    font-family: Mulish;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #1A2332;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-body h6 {
    font-family: Mulish;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1A2332;
    letter-spacing: 0.75px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-body a {
    color: #00D2E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-body a:hover {
    color: #00B8C7;
}

.article-body a:not([class*="btn"]),
.text-link {
    position: relative;
    display: inline-block;
}

.article-body a:not([class*="btn"]):after,
.text-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: #00D2E3;
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.article-body a:not([class*="btn"]):hover:after,
.text-link:hover:after {
    width: 100%;
    left: 0;
}

.text-link {
    color: #00D2E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #00B8C7;
}

.article-body strong {
    font-weight: 600;
    color: #1A2332;
}

.article-body em {
    font-style: italic;
}

/* Lists */
.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body ul {
    list-style-type: disc;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Blockquote styling */
.article-body blockquote {
    background-color: #F5F5F5;
    border-left: 4px solid #00D2E3;
    padding: 2rem 2.5rem;
    margin: 3rem 0;
}

.article-body blockquote p {
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: #1A2332;
    margin-bottom: 1rem;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body blockquote cite {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    color: #364153;
    margin-top: 1rem;
}

/* Images and figures */
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
}

.article-body figure {
    margin: 3rem 0;
    background-color: #F5F5F5;
    padding: 0;
}

.article-body figure img {
    margin: 0;
    width: 100%;
    display: block;
}

.article-body figcaption {
    font-size: 14px;
    font-style: italic;
    color: #666666;
    padding: 1rem 1.5rem;
    line-height: 1.5;
    background-color: #F5F5F5;
    margin-top: 0;
}

/* WordPress block images - inline images with border */
.article-body .wp-block-image img {
    border: 1px solid #EEE;
}

.article-body .wp-block-image figcaption {
    margin-top: 0;
}

/* WordPress image alignment classes */
.article-body .alignleft {
    float: left;
    margin: 0.5rem 2rem 1.5rem 0;
    max-width: 50%;
}

.article-body .alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 2rem;
    max-width: 50%;
}

.article-body .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Ensure figures with alignment classes don't have excessive margin */
.article-body figure.alignleft,
.article-body figure.alignright {
    margin-top: 0.5rem;
}

.article-body figure.alignleft {
    margin-left: 0;
}

.article-body figure.alignright {
    margin-right: 0;
}

/* Clear floats after aligned images */
.article-body::after {
    content: "";
    display: table;
    clear: both;
}

/* Horizontal rule */
.article-body hr {
    border: 0;
    border-top: 1px solid #E5E5E5;
    margin: 3rem 0;
}

/* Disclaimer/notice boxes - using nested div without class (to avoid WordPress block divs) */
.article-body > div:not([class]):not([id]) {
    background-color: #FAFAFA;
    border: 1px solid #E5E5E5;
    padding: 1.5rem;
    margin-top: 3rem;
}

.article-body > div:not([class]):not([id]) p {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 0.75rem;
}

.article-body > div:not([class]):not([id]) p:last-child {
    margin-bottom: 0;
}

/* Tables */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 16px;
}

.article-body table th,
.article-body table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #E5E5E5;
}

.article-body table th {
    background-color: #F5F5F5;
    font-weight: 600;
    color: #1A2332;
    border-bottom: 2px solid #CCCCCC;
}

.article-body table td {
    color: #364153;
}

.article-body table tbody tr:hover {
    background-color: #FAFAFA;
}

.article-body table tr:last-child td {
    border-bottom: none;
}

/* Responsive table - horizontal scroll on small screens */
@media (max-width: 767px) {
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 14px;
    }

    .article-body table th,
    .article-body table td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

/* Article footer */
.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #E5E5E5;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-share-label {
    font-size: 16px;
    font-weight: 600;
    color: #364153;
}

.article-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #F5F5F5;
    color: #364153;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-share-link:hover {
    background-color: #00D2E3;
    color: #FFFFFF;
}

.article-back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 600;
    color: #00D2E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-back-link:hover {
    color: #00B8C7;
}

/* Responsive article styles */
@media (max-width: 991px) {
    .article-title {
        font-size: 36px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body > p:first-child strong {
        font-size: 20px;
    }

    .article-body h1 {
        font-size: 32px;
    }

    .article-body h2 {
        font-size: 28px;
    }

    .article-body h3 {
        font-size: 22px;
    }

    .article-body h4 {
        font-size: 18px;
    }

    .article-body h5 {
        font-size: 16px;
    }

    .article-body h6 {
        font-size: 14px;
    }

    .article-body blockquote p {
        font-size: 18px;
    }

    .article-body blockquote {
        padding: 1.5rem 2rem;
    }

    .article-body .alignleft,
    .article-body .alignright {
        max-width: 40%;
    }
}

@media (max-width: 767px) {
    .article-title {
        font-size: 28px;
    }

    .article-header {
        margin-bottom: 2rem;
    }

    .article-featured-image {
        margin-bottom: 2rem;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .article-footer {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .article-body blockquote {
        padding: 1.5rem;
    }

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

    .article-body h1 {
        font-size: 28px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body h3 {
        font-size: 20px;
    }

    .article-body h4 {
        font-size: 18px;
    }

    /* Remove float on mobile for better readability - make all images full width blocks */
    .article-body .alignleft,
    .article-body .alignright,
    .article-body .aligncenter {
        float: none;
        margin: 2rem 0;
        max-width: 100%;
        width: 100%;
        display: block;
    }

    .article-body figure.alignleft,
    .article-body figure.alignright,
    .article-body figure.aligncenter {
        margin: 2rem 0;
        width: 100%;
        display: block;
    }

    .article-body .wp-block-image.alignleft,
    .article-body .wp-block-image.alignright,
    .article-body .wp-block-image.aligncenter {
        float: none;
        margin: 2rem 0;
        width: 100%;
        display: block;
    }

    .article-body .wp-block-image img {
        width: 100%;
        height: auto;
    }

    .article-body figcaption {
        padding: 0.75rem 1rem;
        font-size: 13px;
    }
}

/* ===================================
   Related Articles Section
   =================================== */
.related-articles {
    background-color: #FFFFFF;
}

.related-articles-title {
    font-family: Mulish;
    font-size: 40px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    color: #1A2332;
    margin-bottom: 3rem;
}

@media (max-width: 991px) {
    .related-articles-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .related-articles-title {
        font-size: 28px;
    }
}

/* ===================================
   Contact Form Section
   =================================== */
.contact-form-section {
    background-color: #1A2332;
}

.contact-form-section__title {
    font-family: Mulish;
    font-size: 40px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.contact-form-section__description {
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 3rem;
}

/* Left column with padding */
.contact-form-section .col-lg-6:first-child {
    padding-right: 60px;
}

/* Right column with image - full height */
.contact-form-section .col-lg-6:last-child {
    display: flex;
    align-items: stretch;
}

.contact-form-section .col-lg-6:last-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contact Form Styling */
.contact-form {
    margin-bottom: 2rem;
}

.contact-form .row {
    margin-bottom: 1.5rem;
}

.contact-form .row:last-child {
    margin-bottom: 0;
}

.contact-form .form-control {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    padding: 14px 20px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: transparent;
    border-color: #00D2E3;
    color: #FFFFFF;
    box-shadow: none;
    outline: none;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Select dropdown */
.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFFFFF' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.contact-form select.form-control option {
    background-color: #1A2332;
    color: #FFFFFF;
}

/* Textarea */
.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Checkbox */
.contact-form .form-check {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-form .form-check-input {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background-color: transparent;
    margin: 0;
    flex-shrink: 0;
}

.contact-form .form-check-input:checked {
    background-color: #00D2E3;
    border-color: #00D2E3;
}

.contact-form .form-check-input:focus {
    box-shadow: none;
    border-color: #00D2E3;
}

.contact-form .form-check-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.contact-form .form-check-label a {
    color: #00D2E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-form .form-check-label a:hover {
    color: #FFFFFF;
}

/* Submit Button */
.btn-white-ghost {
    background-color: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-white-ghost:hover {
    background-color: #FFFFFF;
    color: #1A2332;
}

/* Field-level error styling for static form */
.contact-form .gfield_error .validation_message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
    padding: 0;
    background: none;
    border: none;
}

.contact-form .gfield_error input,
.contact-form .gfield_error select,
.contact-form .gfield_error textarea {
    border-color: #dc3545;
}

/* Success and Error Messages */
.contact-form-message {
    padding: 20px 24px;
    border-radius: 4px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-form-message i {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-form-message p {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

.contact-form-message--success {
    background-color: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

.contact-form-message--error {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Gravity Forms Compatibility */
.contact-form-section .gform_wrapper {
    margin: 0;
}

.contact-form-section .gform_wrapper .gform_body {
    margin-bottom: 0;
}

.contact-form-section .gform_wrapper .gform_fields {
    grid-row-gap: 1.5rem !important;
    row-gap: 1.5rem !important;
    grid-column-gap: 0.75rem !important;
    column-gap: 0.75rem !important;
}

.contact-form-section .gform_wrapper .gfield {
    margin-bottom: 0 !important;
}

.contact-form-section .gform_wrapper .ginput_complex,
.contact-form-section .gform_wrapper .gfield_time,
.contact-form-section .gform_wrapper .gfield_date {
    gap: 0.75rem !important;
    row-gap: 0.5rem !important;
}

.contact-form-section .gform_wrapper .ginput_complex > span,
.contact-form-section .gform_wrapper .gfield_time > div,
.contact-form-section .gform_wrapper .gfield_date > div {
    margin: 0 !important;
    margin-bottom: 0 !important;
}

.contact-form-section .gform_wrapper .ginput_full,
.contact-form-section .gform_wrapper .ginput_left,
.contact-form-section .gform_wrapper .ginput_right {
    margin-bottom: 0 !important;
}

.contact-form-section .gform_wrapper .gfield_label,
.contact-form-section .gform_wrapper .label--type-sub,
.contact-form-section .gform_wrapper .ginput_complex label,
.contact-form-section .gform_wrapper .gfield_time_hour label,
.contact-form-section .gform_wrapper .gfield_time_minute label,
.contact-form-section .gform_wrapper .gfield_date_month label,
.contact-form-section .gform_wrapper .gfield_date_day label,
.contact-form-section .gform_wrapper .gfield_date_year label,
.contact-form-section .gform_wrapper .name_first label,
.contact-form-section .gform_wrapper .name_last label {
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    display: block;
}

.contact-form-section .gform_wrapper .gfield_required {
    color: #00D2E3;
}

.contact-form-section .gform_wrapper .gfield_description,
.contact-form-section .gform_wrapper .gfield_label .gfield_required_text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 300;
    margin-top: 4px;
    margin-bottom: 8px;
    display: block;
}

.contact-form-section .gform_wrapper .ginput_container_checkbox label,
.contact-form-section .gform_wrapper .ginput_container_radio label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 300;
}

.contact-form-section .gform_wrapper .ginput_container_checkbox input[type="checkbox"],
.contact-form-section .gform_wrapper .ginput_container_radio input[type="radio"] {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    margin-right: 10px;
    cursor: pointer;
}

.contact-form-section .gform_wrapper .ginput_container_checkbox input[type="checkbox"]:checked,
.contact-form-section .gform_wrapper .ginput_container_radio input[type="radio"]:checked {
    background-color: #00D2E3;
    border-color: #00D2E3;
}

.contact-form-section .gform_wrapper .ginput_container_checkbox label a,
.contact-form-section .gform_wrapper .ginput_container_radio label a {
    color: #00D2E3;
    text-decoration: none;
}

.contact-form-section .gform_wrapper .ginput_container_checkbox label a:hover,
.contact-form-section .gform_wrapper .ginput_container_radio label a:hover {
    color: #FFFFFF;
}

.contact-form-section .gform_wrapper .gfield_consent_label,
.contact-form-section .gform_wrapper .gfield_consent_description,
.contact-form-section .gform_wrapper .ginput_container_consent label {
    color: #FFFFFF !important;
    font-size: 14px !important;
}

.contact-form-section .gform_wrapper .gfield_consent_label a,
.contact-form-section .gform_wrapper .gfield_consent_description a,
.contact-form-section .gform_wrapper .ginput_container_consent label a {
    color: #00D2E3 !important;
    text-decoration: none;
}

.contact-form-section .gform_wrapper .gfield_consent_label a:hover,
.contact-form-section .gform_wrapper .gfield_consent_description a:hover,
.contact-form-section .gform_wrapper .ginput_container_consent label a:hover {
    color: #FFFFFF !important;
}

.contact-form-section .gform_wrapper input[type="text"],
.contact-form-section .gform_wrapper input[type="email"],
.contact-form-section .gform_wrapper input[type="tel"],
.contact-form-section .gform_wrapper select,
.contact-form-section .gform_wrapper textarea {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #FFFFFF;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 6px 16px !important;
    height: auto !important;
    width: 100%;
}

.contact-form-section .gform_wrapper input::placeholder,
.contact-form-section .gform_wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.contact-form-section .gform_wrapper select {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form-section .gform_wrapper select option {
    background-color: #1A2332;
    color: #FFFFFF;
}

.contact-form-section .gform_wrapper input[type="text"]:focus,
.contact-form-section .gform_wrapper input[type="email"]:focus,
.contact-form-section .gform_wrapper input[type="tel"]:focus,
.contact-form-section .gform_wrapper select:focus,
.contact-form-section .gform_wrapper textarea:focus {
    border-color: #00D2E3;
    box-shadow: none;
}

.contact-form-section .gform_wrapper .gform_button {
    background-color: transparent !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    padding: 0.75rem 2rem !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 16px !important;
}

.contact-form-section .gform_wrapper .gform_button:hover {
    background-color: #FFFFFF !important;
    color: #0C162C !important;
    border-color: #FFFFFF !important;
}

/* Gravity Forms Success Message - Bootstrap-style success alert */
.contact-form-section .gform_confirmation_wrapper {
    margin-top: 2rem;
}

.contact-form-section .gform_confirmation_message {
    padding: 1rem 1.25rem !important;
    border-radius: 4px !important;
    background-color: #d1e7dd !important;
    border: 1px solid #badbcc !important;
    color: #0f5132 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

/* Gravity Forms Error Messages - Bootstrap-style error alert */
.contact-form-section .gform_wrapper .validation_error,
.contact-form-section .gform-theme--framework .gform_validation_errors,
.contact-form-section .gform_validation_errors {
    padding: 1rem 1.25rem !important;
    border-radius: 4px !important;
    background-color: #f8d7da !important;
    border: 1px solid #f5c2c7 !important;
    color: #842029 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
    text-align: left !important;
}

.contact-form-section .gform_validation_errors .gform_submission_error {
    color: #842029 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 0 0.75rem 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.contact-form-section .gform_validation_errors .gform-icon {
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.contact-form-section .gform_validation_errors ol {
    margin: 0 !important;
    padding-left: 1.5rem !important;
    list-style-position: outside !important;
}

.contact-form-section .gform_validation_errors ol li {
    color: #842029 !important;
    font-size: 14px !important;
    margin-bottom: 0.5rem !important;
}

.contact-form-section .gform_validation_errors ol li:last-child {
    margin-bottom: 0 !important;
}

.contact-form-section .gform_validation_errors ol a,
.contact-form-section .gform-theme--framework .gform_validation_errors ol a {
    color: #842029 !important;
    text-decoration: underline !important;
}

.contact-form-section .gform_validation_errors ol a:hover {
    color: #58151c !important;
}

/* Field-specific error messages */
.contact-form-section .gform_wrapper .gfield_error .validation_message {
    color: #dc3545 !important;
    font-size: 14px;
    margin-top: 0.5rem;
    padding: 0;
    background: none;
    border: none;
}

.contact-form-section .gform_wrapper .gfield_error input,
.contact-form-section .gform_wrapper .gfield_error select,
.contact-form-section .gform_wrapper .gfield_error textarea {
    border-color: #dc3545 !important;
}


/* Responsive */
@media (max-width: 991px) {
    .contact-form-section__title {
        font-size: 32px;
    }

    .contact-form-section__description {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    /* Reset image height on tablet/mobile */
    .contact-form-section .col-lg-6:last-child {
        display: block;
        margin-top: 3rem;
    }

    .contact-form-section .col-lg-6:last-child img {
        height: auto;
    }
}

@media (max-width: 767px) {
    .contact-form-section__title {
        font-size: 28px;
    }

    .contact-form-section__description {
        font-size: 16px;
    }

    .contact-form-section .col-lg-6:first-child {
        padding-right: 15px;
    }

    .contact-form .form-control {
        padding: 12px 16px;
        font-size: 14px;
    }

    .contact-form .btn-white-ghost {
        width: 100%;
        padding: 14px 30px;
    }
}

/* ===================================
   Global Offices Cards Section
   ===================================

   OVERVIEW:
   Card-based layout displaying global office locations with addresses.
   Similar structure to Our Strategies section but adapted for office information.

   STRUCTURE:
   - Section title with accent bar (BEM: global-offices-cards-section)
   - Description with email contact
   - Grid of office cards (3 per row, 6 total)
   - Each card contains office name and address

   WORDPRESS NOTES:
   - Can be converted to ACF Repeater field for office locations
   - Office name, address lines stored as custom fields
   - Easy to add/remove offices via admin panel

   RESPONSIVE:
   - Desktop: 3 cards per row (col-lg-4)
   - Tablet: 2 cards per row (col-md-6)
   - Mobile: 1 card per row (full width)

   =================================== */

.global-offices-cards-section {
    background-color: #FFFFFF;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Section Title */
.global-offices-cards-title {
    font-family: Mulish;
    font-size: 40px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    color: #1A2332;
    margin-bottom: 2rem;
    text-align: left;
}

/* Title with accent bar */
.global-offices-cards-title-with-accent {
    position: relative;
    padding-top: 2rem;
}

.global-offices-cards-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

/* Description */
.global-offices-cards-description {
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    color: #364153;
    text-align: left;
    margin-bottom: 4rem;
}

.global-offices-cards-description a {
    color: #4A5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.global-offices-cards-description a:hover {
    color: #00D2E3;
}

/* Office Card */
.office-card {
    background-color: transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.office-card:hover {
    transform: translateY(-4px);
}

/* Office Image */
.office-card__image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Office Content */
.office-card__content {
    padding: 24px 0 30px 0;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Office Name (City) */
.office-card__name {
    font-family: Mulish;
    font-size: 40px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.2;
    color: #1A2332;
    margin-top: 0;
    margin-bottom: 12px;
}

/* Office Address */
.office-card__address {
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.44;
    color: #364153;
    white-space: pre-line;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .global-offices-cards-title {
        font-size: 32px;
    }

    .global-offices-cards-description {
        font-size: 16px;
        margin-bottom: 3rem;
    }

    .office-card__image {
        height: 240px;
    }

    .office-card__content {
        padding: 20px 0 24px 0;
    }

    .office-card__name {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .office-card__address {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .global-offices-cards-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .global-offices-cards-title {
        font-size: 28px;
    }

    .global-offices-cards-description {
        font-size: 16px;
    }

    .office-card__image {
        height: 200px;
    }

    .office-card__content {
        padding: 16px 0 20px 0;
    }

    .office-card__name {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .office-card__address {
        font-size: 16px;
    }
}

/* ===================================
   Global Reach Section
   =================================== */
.global-reach-section {
    --global-reach-crossfade: 0.6s;
    background-image: url('../img/global-reach.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.global-reach-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.global-reach-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.global-reach-video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--global-reach-crossfade, 0.6s) ease;
    pointer-events: none;
}

.global-reach-video-layer.is-active {
    opacity: 1;
}

.global-reach-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.global-reach-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (max-width: 991px) {
    .global-reach-video-iframe {
        width: 300%;
        height: 300%;
        min-width: 100%;
        min-height: 100%;
    }
}

@media (max-width: 575px) {
    .global-reach-video-iframe {
        width: 400%;
        height: 400%;
        min-width: 100%;
        min-height: 100%;
    }
}

.global-reach-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 44, 0.5);
    z-index: 1;
}

.global-reach-section .container-custom {
    position: relative;
    z-index: 2;
}

.global-reach-title {
    color: var(--color-white);
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 9rem;
    text-align: left;
}

.global-reach-title-with-accent {
    position: relative;
    padding-top: 24px;
}

.global-reach-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.global-reach-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3rem 2rem;
}

.location-item {
    border-left: 1px solid var(--color-aqua);
    padding-left: 10px;
}

.location-name {
    /* font-size: 24px; */
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 0;
    line-height: 1.2;
}

@media (max-width: 990px) {
    .location-name  {
        font-size: 24px;
    }
}

@media (min-width: 1400px) {
    .location-name  {
        font-size: 24px;
    }
}

.location-time {
    /* font-size: 24px; */
    font-weight: 300;
    color: #BABCC9;
}

@media (max-width: 990px) {
    .location-time {
        font-size: 24px;
    }
}

@media (min-width: 1400px) {
    .location-time {
        font-size: 24px;
    }
}

.time-colon {
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    5% {
        opacity: 0;
    }
    15% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .global-reach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 575px) {
    .global-reach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .global-reach-title {
        font-size: 32px;
    }
}

/* ===================================
   News Section
   =================================== */
.news-section {
    background-color: #FAFAFA;
    padding: 5rem 0;
}

.news-section-title {
    color: var(--color-neutral-darkest);
    margin-bottom: 1.5rem;
    text-align: left;
}

.news-title-with-accent {
    position: relative;
    padding-top: 24px;
}

.news-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.news-section-description {
    color: var(--color-neutral-darkest);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
}

.news-section-description p {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .news-section-description {
        margin-bottom: 1.5rem;
    }
}

.news-view-all {
    color: var(--color-aqua);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.news-view-all:hover {
    color: #00B8C7;
}

.news-view-all i {
    margin-left: 0.5rem;
    font-size: 14px;
}

.news-view-all:after,
.tab-learn-more:after,
.strategies-contact-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    right: 0;
    background: var(--color-aqua);
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.news-view-all:hover:after,
.tab-learn-more:hover:after,
.strategies-contact-link:hover:after {
    width: 100%;
    left: 0;
}

.news-card {
    background-color: #EEEEEE;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.news-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00D2E3;
    color: #0C162C;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.news-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.news-card:hover .news-image {
    filter: brightness(1.2);
    transform: translateY(-5px);
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 240px;
}

.news-date {
    font-size: 14px;
    color: #AAAAAA;
    font-weight: 300;
    margin-top: auto;
    padding-top: 1rem;
}

.news-title {
    font-family: Mulish;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    color: #1A2332;
    margin-bottom: 1rem;
}

.news-title span,
.featured-post-title span {
    display: inline;
}

.news-title-line,
.featured-post-title-line {
    display: inline-block;
    background-image: linear-gradient(var(--color-aqua), var(--color-aqua));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.news-title-line {
    padding-bottom: 4px;
    transition-delay: calc(var(--line-index, 0) * 0.12s);
}

.featured-post-title-line {
    padding-bottom: 6px;
    transition-delay: calc(var(--line-index, 0) * 0.12s);
}

.strategy-title-line {
    display: inline-block;
    padding-bottom: 4px;
    background-image: linear-gradient(var(--color-aqua), var(--color-aqua));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
    transition-delay: calc(var(--line-index, 0) * 0.12s);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.news-card:hover .news-title-line,
.featured-post-card:hover .featured-post-title-line,
.strategy-card:hover .strategy-title-line {
    background-size: 100% 1px;
}

.news-link {
    color: var(--color-aqua);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ===================================
   Key Initiatives Section
   =================================== */
/*
   Component: Key Initiatives Section

   Used on: Sustainability page

   A left-aligned section with title, description, and 6 initiative items.
   Similar to stats section but with white background and text content.

   Settings for WordPress:
   - Title: Text input for section title
   - Description: Text area for intro paragraph
   - Background: White (#FFFFFF)
   - Text Color: #364153
   - Accent Bar: Yes (aqua, left-aligned)
   - Items: Repeatable (6 recommended)
     - Title: Text input (e.g., "Carbon Neutrality Goals")
     - Description: Text area

   Layout: Left-aligned intro (8 cols) with 6 items in 3 columns below
*/

.key-initiatives-section {
    background-color: #FFFFFF;
}

.key-initiatives-section--light {
    background-color: #FFFFFF;
}

.key-initiatives-section--grey {
    background-color: #EEEEEE;
}

.key-initiatives-section--dark {
    background-color: #0C162C;
}

.key-initiatives-section--dark .key-initiatives-section__title,
.key-initiatives-section--dark .key-initiatives-section__description {
    color: #FFFFFF;
}

.key-initiatives-section--dark .key-initiative-stat {
    border-color: #00D2E3;
}

.key-initiatives-section--dark .key-initiative-stat__title,
.key-initiatives-section--dark .key-initiative-stat__description {
    color: #FFFFFF;
}

.key-initiatives-section__title {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    color: #364153;
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 24px;
}

.key-initiatives-section__title--accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.key-initiatives-section__description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #364153;
    margin-bottom: 0;
}

.key-initiatives-section__stats {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.key-initiatives-section__stats > [class*="col-"] {
    display: flex;
}

/* Key Initiative Stat Items */
.key-initiative-stat {
    text-align: left;
    border-left: 1px solid var(--color-aqua);
    padding: 30px 30px 30px 30px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.key-initiative-stat__title {
    font-family: Mulish;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    color: #364153;
    margin-bottom: 1rem;
}

.key-initiative-stat__description {
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    color: #364153;
    margin-bottom: 0;
}

/* ===================================
   Open Positions Section
   =================================== */

.open-positions-section {
    background-color: #FFFFFF;
}

.open-positions-section__title {
    font-family: Mulish;
    font-size: 48px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.2;
    color: #364153;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0;
}

.open-positions-section__title--accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: -20px;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.open-positions-section__description {
    font-family: Mulish;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    color: #364153;
    margin-bottom: 0;
}

.open-positions-section__jobs {
    margin-top: 60px;
}

/* Job Card */
.job-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 40px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.job-card:hover {
    border-color: #00D2E3;
    box-shadow: 0 4px 12px rgba(0, 210, 227, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.job-card__header {
    margin-bottom: 20px;
}

.job-card__title {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.3;
    color: #1A2332;
    margin-bottom: 12px;
}

.job-card__description {
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 24px;
    flex-grow: 1;
}

.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.job-card__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Mulish;
    font-size: 14px;
    font-weight: 300;
    color: #364153;
}

.job-card__meta-icon {
    color: #00D2E3;
    font-size: 16px;
}

.job-card__footer {
    margin-top: auto;
}

.job-card__apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: #1A2332;
    color: #FFFFFF;
    border: 1px solid #1A2332;
    font-family: Mulish;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: none;
}

.job-card:hover .job-card__apply-btn {
    background-color: #00D2E3;
    border-color: #00D2E3;
    color: #1A2332;
}

.job-card__apply-btn i {
    transition: transform 0.3s ease;
}

.job-card:hover .job-card__apply-btn i {
    transform: translateX(4px);
}

.no-positions-message {
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 4rem 2rem;
}

.no-positions-message__title {
    font-size: 24px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 1rem;
}

.no-positions-message__description {
    font-size: 18px;
    font-weight: 300;
    color: #364153;
    margin-bottom: 2rem;
}

/* ===================================
   Job Single Page
   =================================== */

.job-single-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Job Sidebar */
.job-sidebar {
    position: sticky;
    top: 100px;
    background-color: #FAFAFA;
    padding: 40px;
    border-left: 2px solid #00D2E3;
}

.job-sidebar__item {
    margin-bottom: 32px;
}

.job-sidebar__item:last-child {
    margin-bottom: 0;
}

.job-sidebar__label {
    font-family: Mulish;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #6B7280;
    margin-bottom: 8px;
}

.job-sidebar__value {
    font-family: Mulish;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #1A2332;
}

.job-sidebar__apply {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
}

.job-sidebar__apply .btn {
    width: 100%;
    justify-content: center;
}

/* Back to Careers Link */
.back-to-careers {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: Mulish;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-aqua);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 60px;
}

.back-to-careers:hover {
    color: #1A2332;
    transform: translateX(-5px);
}

.back-to-careers i {
    font-size: 14px;
}

/* Job Content Body */
.job-content-body {
    font-family: Mulish;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: #364153;
}

.job-content-body h2 {
    font-size: 36px;
    font-weight: 200;
    line-height: 1.3;
    color: #1A2332;
    margin-top: 48px;
    margin-bottom: 24px;
}

.job-content-body h2:first-child {
    margin-top: 0;
}

.job-content-body h3 {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.4;
    color: #1A2332;
    margin-top: 40px;
    margin-bottom: 20px;
}

.job-content-body h4 {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    color: #1A2332;
    margin-top: 32px;
    margin-bottom: 16px;
}

.job-content-body p {
    margin-bottom: 24px;
}

.job-content-body ul,
.job-content-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.job-content-body ul li,
.job-content-body ol li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.job-content-body ul li {
    list-style-type: disc;
}

.job-content-body strong {
    font-weight: 600;
}

.job-content-body a {
    color: #00D2E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-content-body a:not([class*="btn"]) {
    position: relative;
    display: inline-block;
}

.job-content-body a:not([class*="btn"]):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 2px;
    left: 0;
    background: #00D2E3;
    transition: width 0.2s ease;
    -webkit-transition: width 0.2s ease;
}

.job-content-body a:hover {
    color: #00B8C7;
}

.job-content-body a:not([class*="btn"]):hover:after {
    width: 100%;
}

/* ===================================
   ESG Pillars Section
   =================================== */
/*
   Component: ESG Pillars Section

   Used on: Sustainability page

   A card-based layout displaying three ESG pillars (Environmental, Social, Governance)
   with images and descriptions. Cards have dark background (#1A2332) with white text.

   Settings for WordPress:
   - Title: Text input for section title
   - Description: Text area for intro paragraph
   - Background: Light gray (#EEEEEE)
   - Cards: 3 cards (fixed)
     - Image: Upload (recommended 800x480px)
     - Title: Text input (Environmental, Social, Governance)
     - Description: Text area

   Layout: Centered intro with 3 equal-width cards below
*/

.esg-pillars-section {
    background-color: #EEEEEE;
}

.esg-pillars-section__title {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    color: #1A2332;
    margin-bottom: 1.5rem;
}

.esg-pillars-section__description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #1A2332;
    margin-bottom: 0;
}

.esg-pillars-section__cards {
    margin-top: 80px;
}

/* ESG Pillar Cards */
.esg-pillar-card {
    background-color: #1A2332;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.esg-pillar-card__icon {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.esg-pillar-card__content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.esg-pillar-card__title {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.esg-pillar-card__description {
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-white);
    margin-bottom: 0;
}

.news-link:hover {
    color: #00B8C7;
}

/* ===================================
   COMMUNITY LOGOS SECTION
   ===================================
   WordPress/CMS Component: Community Partner Logos

   FEATURES:
   - Flexible grid layout supporting 1-6 logos per row
   - Centered alignment when fewer than 6 logos
   - Max image height: 134px
   - Responsive: 3 columns on tablet, 2 on mobile
   - Maintains aspect ratio

   WORDPRESS SETTINGS:
   - Repeatable logo field (1-6 logos)
   - Each logo: Image upload, Alt text
   - Background: White (default)

   PHP IMPLEMENTATION:
   - Loop through logo array
   - Output image with community-logo class
   - Grid auto-adjusts based on number of items
*/

.community-logos-section {
    background-color: #FFFFFF;
}

.community-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6rem;
}

.community-logo-item {
    flex: 0 0 auto;
    max-width: 134px;
    min-width: 134px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-logo {
    width: auto;
    height: auto;
    max-width: 134px;
    max-height: 134px;
    object-fit: contain;
}

/* ===================================
   CHARITIES SECTION
   ===================================
   WordPress/CMS Component: Charities We Support

   FEATURES:
   - Grey background (#EEEEEE)
   - Title with aqua accent bar
   - 3 columns per row (5 cards total)
   - Card height: 240px
   - Large title text: 32px, weight 300
   - Hover effects on images

   WORDPRESS SETTINGS:
   - Section Title: Text input
   - Section Description: Text area
   - Repeatable charity card field (1-6 cards)
   - Each card: Image upload, Title, Link URL

   PHP IMPLEMENTATION:
   - Loop through charity cards array
   - Output cards with charity-card class
   - Grid auto-adjusts: 3 per row on desktop, 2 on tablet, 1 on mobile
*/

.charities-section {
    background-color: #EEEEEE;
}

.charities-section__title {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    color: #1A2332;
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 24px;
}

.charities-section__title--accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.charities-section__description {
    margin-bottom: 0;
}

.charities-section__description p {
    font-family: Mulish;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    color: #1A2332;
    margin-bottom: 0;
}

.charity-card {
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.charity-card__image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.charity-card:hover .charity-card__image {
    filter: brightness(1.2);
    transform: translateY(-5px);
}

.charity-card__content {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
}

.charity-card__title {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: 140%;
    color: #1A2332;
    margin-bottom: 0;
}

.charity-card__title span {
    display: inline;
}

.charity-card__title-line {
    display: inline-block;
    padding-bottom: 4px;
    background-image: linear-gradient(var(--color-aqua), var(--color-aqua));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
    transition-delay: calc(var(--line-index, 0) * 0.12s);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.charity-card:hover .charity-card__title-line {
    background-size: 100% 1px;
}

/* ===================================
   Strategies Overview Section
   =================================== */
.strategies-overview-section {
    background-color: #FAFAFA;
    padding: 5rem 0;
}

.strategies-overview-title {
    color: var(--color-neutral-darkest);
    margin-bottom: 1.5rem;
    text-align: left;
}

.strategies-title-with-accent {
    position: relative;
    padding-top: 24px;
}

.strategies-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.strategies-overview-description {
    color: var(--color-neutral-darkest);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
}

.strategy-card {
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.strategy-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.strategy-card:hover .strategy-image {
    filter: brightness(1.2);
    transform: translateY(-5px);
}

.strategy-content {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
}

.strategy-title {
    font-size: 18px;
    font-weight: 500;
    color: #1A2332;
    margin-bottom: 0;
    line-height: 1.4;
}

.strategy-title span {
    display: inline;
}

.strategies-actions {
    margin-top: 80px;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-black-ghost {
    background-color: transparent;
    border: 1px solid #1A2332;
    color: #1A2332;
    padding: 0.75rem 2rem;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-black-ghost:hover {
    background-color: #1A2332;
    color: var(--color-white);
}

.strategies-contact-link {
    color: #1A2332;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.strategies-contact-link:hover {
    color: var(--color-aqua);
}

.strategies-contact-link i {
    font-size: 12px;
}

/* ===================================
   Global Offices Section - Interactive Map Component

   PLUGIN READY - See interactive-map.md for full plugin specification

   This component creates an interactive map with clickable location markers.
   When clicked, markers display detailed information in a modal popup.

   Key Features:
   - Customizable map image
   - Configurable marker positions (top/left percentages)
   - Customizable marker colors
   - Modal popup with location details
   - Pulsing animation on markers
   - Fully responsive design
   - Mobile optimized with larger touch targets

   =================================== */
.global-offices-section {
    background-color: #EEEEEE;
    position: relative;
}

.global-offices-title {
    color: #1A2332;
    font-size: 48px;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
}

.global-offices-title-with-accent {
    position: relative;
    padding-top: 24px;
    display: inline-block;
}

.global-offices-title-with-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 2px;
    background-color: #00D2E3;
}

.global-offices-description {
    color: #1A2332;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 0;
}

.global-offices-map-row {
    margin-top: 80px;
}

/* Map Container - Relative positioning allows absolute marker placement */
.global-offices-map-wrapper {
    position: relative;
    width: 100%;
    display: inline-block;
}

/* Base Map Image - Full width, maintains aspect ratio */
.global-offices-map {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ===================================
   Office Markers

   Markers are positioned using top/left percentages (0-100%)
   This allows them to scale with the map image

   PLUGIN NOTE: These positions should be configurable in admin
   =================================== */
.office-marker {
    position: absolute;
    transform: translate(-50%, -50%); /* Centers the dot on the exact coordinates */
    cursor: pointer;
    z-index: 10;
}

/* Marker Dot - The visible circular indicator
   PLUGIN NOTE: Colors should be customizable */
.office-marker-dot {
    width: 16px;
    height: 16px;
    background-color: var(--color-aqua); /* PLUGIN: Make this customizable */
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 210, 227, 0.4); /* PLUGIN: Shadow should match dot color */
}

/* Hover Effect - Enlarges and changes shade */
.office-marker:hover .office-marker-dot {
    width: 20px;
    height: 20px;
    background-color: #00B8C7; /* PLUGIN: Hover color should be configurable */
    box-shadow: 0 4px 12px rgba(0, 210, 227, 0.6);
}

/* Pulsing Animation - Creates expanding ring effect for visibility
   PLUGIN NOTE: Animation should be optional/disableable */
.office-marker-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-aqua); /* PLUGIN: Should match marker color */
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* ===================================
   Office Details Modal

   Modal displays when a marker is clicked
   Shows: Location name, address, phone number

   PLUGIN NOTE: Modal fields should be customizable
   =================================== */
.office-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay */
    animation: fadeIn 0.3s ease;
}

/* Active state shows modal centered on screen */
.office-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content Box - White card with rounded corners */
.office-modal-content {
    background-color: #FFFFFF;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    border-radius: 8px; /* Rounded edges for premium look */
}

/* Fade in animation for modal background */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slide up animation for modal content */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button - X in top right corner */
.office-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 32px;
    font-weight: 300;
    color: #1A2332;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: color 0.3s ease;
}

.office-modal-close:hover {
    color: var(--color-aqua); /* Changes to brand color on hover */
}

/* Modal Title - Bold heading with tighter spacing */
.office-modal-title {
    font-size: 28px;
    font-weight: 500; /* Bold for emphasis */
    color: #1A2332;
    margin-bottom: 1.5rem; /* Tighter spacing */
    line-height: 1.2;
}

.office-modal-body {
    color: #1A2332;
}

/* Address Text - Normal weight, multi-line support */
.office-modal-address {
    font-size: 16px;
    font-weight: 300; /* Normal weight */
    line-height: 1.5; /* Tighter line height */
    margin-bottom: 0.75rem; /* Reduced spacing */
    white-space: pre-line; /* Preserves line breaks from \n */
}

/* Phone Number - Aqua color for visibility */
.global-offices-cta {
    margin-top: 60px;
}

/* ===================================
   Mobile Responsive Adjustments

   Optimizes the interactive map for mobile devices:
   - Larger touch targets (bigger dots)
   - Adjusted modal sizing
   - Better text readability
   =================================== */
@media (max-width: 575px) {
    /* Modal adjustments for mobile */
    .office-modal-content {
        padding: 2rem 1.5rem;
        width: 95%; /* More screen space on mobile */
    }

    .office-modal-title {
        font-size: 24px;
        margin-bottom: 1.25rem;
        padding-right: 2rem; /* Prevents overlap with close button */
    }

    .office-modal-address {
        font-size: 15px;
        line-height: 1.6;
    }

    .office-modal-tel {
        font-size: 15px;
    }

    /* Larger markers for better mobile touch targets */
    .office-marker-dot {
        width: 20px;
        height: 20px;
        border: 4px solid #FFFFFF;
    }

    .office-marker:hover .office-marker-dot {
        width: 24px;
        height: 24px;
    }
}

/* ===================================
   Footer Section
   =================================== */
.footer-section {
    background-color: #0C162C;
    color: var(--color-white);
    padding: 4rem 0 2rem;
    border-bottom: 4px solid var(--color-aqua);
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

.footer-description {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-contact {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-email-link {
    color: var(--color-aqua);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-email-link:hover {
    color: #00B8C7;
}

.footer-link-line {
    display: inline;
    position: relative;
}

.footer-link-line:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    right: 0;
    background: var(--color-aqua);
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.footer-links a:hover .footer-link-line:after,
.footer-email-link:hover .footer-link-line:after {
    width: 100%;
    left: 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-aqua);
    font-size: 32px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #00B8C7;
}

.footer-heading {
    font-size: 18px;
    font-weight: 500;
    color: #00D2E3;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #99A1AF;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-aqua);
}

.footer-divider {
    border-color: #E4E2DF;
    margin: 1rem 0;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.4;
    margin: 4rem 0 1rem 0;
    text-align: left;
}

.footnote-link {
    color: var(--color-aqua);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0;
    transition: color 0.3s ease;
}

.footnote-link:hover {
    color: #00B8C7;
}

.footnote-link sup {
    font-size: 0.75em;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
    text-align: left;
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-legal-links li {
    display: inline;
}

.footer-legal-links a {
    color: #99A1AF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.footer-legal-links a:hover {
    color: var(--color-aqua);
}

.footer-legal-link-line {
    display: inline-block;
    padding-bottom: 2px;
    background-image: linear-gradient(var(--color-aqua), var(--color-aqua));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
    transition-delay: calc(var(--line-index, 0) * 0.12s);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.footer-legal-links a:hover .footer-legal-link-line {
    background-size: 100% 1px;
}

@media (max-width: 991px) {
    .footer-legal-links {
        justify-content: flex-start;
    }
}

/* ===================================
   Utilities
   =================================== */
.padding-section-large {
    padding-top: 160px;
    padding-bottom: 160px;
}

.no-padding-top {
    padding-top: 0 !important;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 1400px) {
    :root {
        --container-width: 1140px;
    }
}

/* Navigation Tightening - Before Mobile Breakpoint */
@media (max-width: 1195px) {
    .navbar-nav {
        gap: 18px;
    }

    .navbar-nav .nav-link {
        font-size: 15px;
    }

    .btn-aqua {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .navbar {
        min-height: 70px;
    }

    .navbar-container-full {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-collapse {
        background-color: var(--color-neutral-darkest);
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 1.5rem 20px 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-collapse.collapsing {
        transition: height 0.35s ease;
    }

    .navbar-nav {
        gap: 0;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 1rem 0;
        width: 100%;
        font-size: 18px;
        color: var(--color-white);
        display: block;
    }

    .navbar-nav .nav-link-text:after {
        display: none;
    }

    .navbar-nav .nav-item:last-child {
        margin-top: 1.5rem;
        border-bottom: none;
    }

    .navbar-nav .btn-aqua {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }

    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .nav-dropdown .nav-link i {
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .nav-link i {
        transform: rotate(180deg);
    }

    .mega-menu {
        position: static;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        top: auto;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mega-menu.active {
        max-height: 400px;
        padding: 0.5rem 0 1rem 0;
    }

    .mega-menu .container-custom {
        padding: 0;
    }

    .mega-menu .row {
        height: auto;
        padding: 0;
        margin: 0;
    }

    .mega-menu .col-lg-8,
    .mega-menu .col-lg-4 {
        height: auto;
        padding: 0;
    }

    .mega-menu .col-lg-4 {
        display: none;
    }

    .mega-menu-image {
        display: none;
    }

    .mega-menu-links {
        gap: 0;
        padding-left: 1.5rem;
        list-style: none;
    }

    .mega-menu-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mega-menu-links li:last-child {
        border-bottom: none;
    }

    .mega-menu-links li a {
        font-size: 16px;
        padding: 0.75rem 0;
        color: rgba(255, 255, 255, 0.8);
        display: block;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .mega-menu-links li a:hover {
        color: var(--color-aqua);
        padding-left: 0.5rem;
    }

    .mega-menu-links li a .nav-link-text:after {
        display: none;
    }

    .team-section .row {
        align-items: center !important;
    }

    .hero-content {
        min-height: calc(100vh - 70px);
        padding-bottom: 60px;
    }

    .about-header {
        min-height: 500px;
        max-height: 500px;
    }

    .about-header .hero-content {
        min-height: calc(500px - 70px);
    }

    /* Hero size for 404, search, and category pages - Tablet */
    [data-page="404"] .about-header,
    [data-page="search"] .about-header,
    [data-page="category"] .about-header {
        min-height: 300px;
        max-height: 300px;
    }

    [data-page="404"] .about-header .hero-content,
    [data-page="search"] .about-header .hero-content,
    [data-page="category"] .about-header .hero-content {
        min-height: calc(300px - 70px);
    }

    .news-header {
        min-height: 300px;
        max-height: none;
    }

    .news-header .hero-content {
        min-height: calc(300px - 70px);
        padding-top: 140px;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 1.5rem;
    }

    .hero-category {
        font-size: 13px;
        padding: 7px 18px;
        margin-bottom: 1.5rem;
    }

    .hero-category ~ .hero-title {
        font-size: 34px;
        font-weight: 200;
    }

    .hero-description {
        font-size: 16px;
        max-width: 100%;
    }

    .padding-section-large {
        padding-top: 100px;
        padding-bottom: 90px;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .vision-title {
        font-size: 28px;
    }

    .vision-description {
        font-size: 32px;
    }

    .about-stats-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .text-image-block__list-item {
        gap: 0.75rem;
    }

    .text-image-block__bullet-icon {
        width: 20px;
        height: 20px;
    }

    .text-image-block__list-item p,
    .text-image-block__intro {
        font-size: 16px;
    }

    .text-image-block__title {
        font-size: 36px;
    }

    .text-image-block__description {
        font-size: 16px;
    }

    .snapshot-card-stat {
        font-size: 60px;
    }

    .snapshot-card {
        min-height: 250px;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 16px;
    }

    .container-custom {
        padding-left: 20px;
        padding-right: 20px;
    }

    .padding-section-large {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .hero-content {
        padding-top: 200px;
        padding-bottom: 80px;
        min-height: auto;
    }

    .about-header {
        min-height: 400px;
        max-height: 400px;
    }

    .about-header .hero-content {
        min-height: calc(400px - 60px);
    }

    /* Hero size for 404, search, and category pages - Mobile */
    [data-page="404"] .about-header,
    [data-page="search"] .about-header,
    [data-page="category"] .about-header {
        min-height: 280px;
        max-height: 280px;
    }

    [data-page="404"] .about-header .hero-content,
    [data-page="search"] .about-header .hero-content,
    [data-page="category"] .about-header .hero-content {
        min-height: calc(280px - 60px);
    }

    .news-header {
        min-height: 280px;
        max-height: none;
    }

    .news-header .hero-content {
        min-height: calc(280px - 60px);
        padding-top: 130px;
        padding-bottom: 15px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        padding-top: 20px;
        margin-bottom: 1rem;
    }

    .hero-title::before {
        width: 48px;
        height: 2px;
    }

    .hero-category {
        font-size: 11px;
        padding: 5px 14px;
        margin-bottom: 1.25rem;
    }

    .hero-category ~ .hero-title {
        font-size: 26px;
        font-weight: 200;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.5;
    }

    .navbar {
        min-height: 60px;
    }

    .btn-outline-light {
        padding: 0.5rem 1.5rem;
    }

    .vision-title {
        font-size: 24px;
    }

    .vision-description {
        font-size: 24px;
    }

    .about-stats-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .text-image-block__list-item {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .text-image-block__bullet-icon {
        width: 18px;
        height: 18px;
    }

    .text-image-block__list-item p {
        font-size: 15px;
    }

    .text-image-block__intro {
        font-size: 16px;
    }

    .text-image-block__title {
        font-size: 28px;
        margin-bottom: 1.5rem;
    }

    .text-image-block__description {
        font-size: 15px;
    }

    .snapshot-card-stat {
        font-size: 48px;
    }

    .snapshot-card {
        min-height: 200px;
        padding: 1.25rem;
    }

    .snapshot-card-title {
        font-size: 18px;
    }
}

/* ===================================
   Smooth Scrolling
   =================================== */
html {
    scroll-behavior: smooth;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ===================================
   Team Member Single Page
   =================================== */

/* Team Member Hero - 500px height */
.team-member-hero {
    min-height: 500px;
    max-height: 500px;
    height: 500px;
    overflow: visible;
}

.team-member-hero .header-angled-overlay {
    display: none;
}

.team-member-hero .hero-content {
    position: relative;
    z-index: 5;
    height: auto;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 200px;
    overflow: visible;
}

.team-member-hero .hero-content .container-custom {
    width: 100%;
}

.team-member-hero .row {
    overflow: visible;
}

.team-member-hero .hero-description {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
}

/* Team Member Bio Section */
.team-member-bio-section {
    background-color: #FFFFFF;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.team-member-bio p {
    font-family: Mulish;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #1A2332;
    margin-bottom: 1.5rem;
}

.team-member-bio {
    min-height: 300px;
}

.back-to-team {
    margin-top: 3rem;
}

.team-member-back-bar {
    background-color: #FFFFFF;
    padding: 1.25rem 0;
}

.team-member-back-bar .back-to-team {
    margin-top: 0;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: Mulish;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-aqua);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-link:hover {
    color: #1A2332;
    transform: translateX(-5px);
}

.btn-back-link i {
    font-size: 14px;
}

/* Team Member Photo in Hero */
.team-member-photo-hero {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.team-member-hero .col-lg-5 {
    overflow: visible;
}

.team-member-photo-hero img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.team-member-meta {
    font-family: Mulish;
    font-size: 16px;
    font-weight: 300;
    color: #FFFFFF;
    line-height: 1.6;
}

.team-member-meta__item strong {
    font-weight: 600;
}

.team-member-social {
    margin-top: 2rem;
    pointer-events: auto;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: Mulish;
    font-size: 16px;
    font-weight: 500;
    color: #1A2332;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: 1px solid #DEE2E6;
    border-radius: 4px;
    background-color: #FFFFFF;
}

.linkedin-link:hover {
    color: var(--color-aqua);
    border-color: var(--color-aqua);
    background-color: rgba(0, 210, 227, 0.05);
}

.linkedin-link i {
    font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .key-initiatives-section__title {
        font-size: 36px;
    }

    .key-initiatives-section__description {
        font-size: 16px;
    }

    .key-initiatives-section__stats {
        margin-top: 60px;
    }

    .key-initiative-stat__title {
        font-size: 22px;
    }

    .key-initiative-stat__description {
        font-size: 15px;
    }

    .esg-pillars-section__title {
        font-size: 36px;
    }

    .esg-pillars-section__description {
        font-size: 16px;
    }

    .esg-pillars-section__cards {
        margin-top: 60px;
    }

    .esg-pillar-card__title {
        font-size: 28px;
    }

    .esg-pillar-card__description {
        font-size: 15px;
    }

    .open-positions-section__title {
        font-size: 36px;
    }

    .open-positions-section__description {
        font-size: 18px;
    }

    .job-card {
        padding: 32px;
    }

    .job-card__title {
        font-size: 28px;
    }

    .charities-section__title {
        font-size: 36px;
    }

    .charities-section__description {
        font-size: 16px;
    }

    .charity-card__title {
        font-size: 28px;
    }

    .team-member-hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        position: relative;
    }

    .team-member-hero .header-video-wrapper {
        position: absolute;
        height: 100%;
        min-height: 100%;
    }

    .team-member-hero .hero-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
        min-height: auto;
        display: block;
        position: relative;
        z-index: auto;
    }

    .team-member-hero .hero-title {
        font-size: 36px;
        margin-bottom: 0.5rem;
    }

    .team-member-hero .hero-description {
        font-size: 24px;
        margin-top: 0.5rem !important;
    }

    .team-member-hero .row {
        overflow: visible;
    }

    .team-member-hero .col-lg-7,
    .team-member-hero .col-lg-5 {
        position: relative;
        z-index: auto;
    }

    .team-member-photo-hero {
        margin-top: 2rem;
        margin-bottom: 0;
        position: relative;
        z-index: auto;
    }

    .team-member-hero .col-lg-5 {
        overflow: visible;
    }

    .team-member-bio-section {
        padding-top: 60px;
        position: relative;
        z-index: auto;
    }

    .team-member-bio {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767px) {
    .key-initiatives-section__title {
        font-size: 28px;
    }

    .key-initiatives-section__description {
        font-size: 15px;
    }

    .key-initiatives-section__stats {
        margin-top: 40px;
    }

    .key-initiative-stat__title {
        font-size: 20px;
    }

    .key-initiative-stat__description {
        font-size: 14px;
    }

    .open-positions-section__title {
        font-size: 28px;
    }

    .open-positions-section__description {
        font-size: 16px;
    }

    .job-card {
        padding: 24px;
    }

    .job-card__title {
        font-size: 24px;
    }

    .job-card__description {
        font-size: 15px;
    }

    .job-card__meta {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card__meta-item {
        font-size: 13px;
    }

    .job-card__apply-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 15px;
    }

    .job-sidebar {
        position: static;
        margin-top: 40px;
        padding: 30px;
    }

    .job-sidebar__value {
        font-size: 16px;
    }

    .job-content-body {
        font-size: 16px;
    }

    .job-content-body h2 {
        font-size: 28px;
    }

    .job-content-body h3 {
        font-size: 24px;
    }

    .job-content-body h4 {
        font-size: 20px;
    }

    .esg-pillars-section__title {
        font-size: 28px;
    }

    .esg-pillars-section__description {
        font-size: 15px;
    }

    .esg-pillars-section__cards {
        margin-top: 40px;
    }

    .esg-pillar-card__title {
        font-size: 24px;
    }

    .esg-pillar-card__description {
        font-size: 14px;
    }

    .esg-pillar-card__content {
        padding: 1.5rem;
    }

    .charities-section__title {
        font-size: 28px;
    }

    .charities-section__description {
        font-size: 15px;
    }

    .charity-card__title {
        font-size: 24px;
    }

    .community-logos-grid {
        gap: 2rem;
    }

    .community-logo-item {
        max-width: 100px;
        min-width: 100px;
    }

    .community-logo {
        max-width: 100px;
        max-height: 100px;
    }

    .team-member-hero .hero-title {
        font-size: 28px;
    }

    .team-member-hero .hero-description {
        font-size: 20px;
    }

    .team-member-bio-section {
        padding-top: 40px;
    }
}

/* ===================================
   Back to Top Button
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #1A2332;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #00D2E3;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 210, 227, 0.3);
}

.back-to-top i {
    color: #FFFFFF;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .back-to-top {
        bottom: 30px;
        right: 30px;
        width: 45px;
        height: 45px;
    }

    .back-to-top i {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .back-to-top i {
        font-size: 16px;
    }
}

/* ===================================
   404 Page
   =================================== */
.error-404-section {
    background-color: #FFFFFF;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.error-404-link-card {
    display: block;
    text-decoration: none;
    background-color: #F8F8F8;
    padding: 2.5rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    height: 100%;
}

.error-404-link-card-inner {
    text-align: center;
}

.error-404-link-card-inner h4 {
    color: #1A2332;
    transition: color 0.3s ease;
}

.error-404-link-card-inner p {
    color: #666;
    transition: color 0.3s ease;
}

.error-404-link-card-inner i {
    color: var(--color-aqua);
    transition: color 0.3s ease;
}

.error-404-link-card:hover {
    background-color: var(--color-neutral-darkest);
    transform: translateY(-8px);
}

.error-404-link-card:hover i {
    color: var(--color-aqua);
}

.error-404-link-card:hover h4 {
    color: var(--color-white);
}

.error-404-link-card:hover p {
    color: var(--color-white);
}

@media (max-width: 767px) {
    .error-404-actions {
        flex-direction: column;
    }

    .error-404-actions .btn {
        width: 100%;
        margin: 0 0 1rem 0 !important;
    }
}

/* ===================================
   Search Results Page
   =================================== */
.search-results-section {
    background-color: #FFFFFF;
}

/* Filters Sidebar */
.search-filters {
    background-color: #F8F8F8;
    padding: 2rem;
    border-radius: 0;
    position: sticky;
    top: 120px;
}

.search-filters__title {
    font-size: 24px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 2rem;
}

.search-filter-group {
    margin-bottom: 1.5rem;
}

.search-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-filter-input,
.search-filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #DDDDDD;
    border-radius: 0;
    font-size: 16px;
    font-family: Mulish;
    color: #1A2332;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease;
}

.search-filter-input:focus,
.search-filter-select:focus {
    outline: none;
    border-color: var(--color-aqua);
}

.search-filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231A2332' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.search-clear-filters {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    padding: 0.75rem 0;
    margin-top: 1rem;
    cursor: pointer;
    text-align: center;
    transition: color 0.3s ease;
}

.search-clear-filters:hover {
    color: var(--color-aqua);
}

/* Search Summary */
.search-summary {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEEEEE;
}

.search-summary__text {
    font-size: 18px;
    color: #1A2332;
    margin: 0;
}

/* Search Results Grid */
.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-result-card {
    display: block;
    background-color: #F8F8F8;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.search-result-card:hover {
    background-color: var(--color-neutral-darkest);
    border-left-color: var(--color-aqua);
    transform: translateX(8px);
}

.search-result-card__category {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-aqua);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.search-result-card__title {
    font-size: 24px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.search-result-card__excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.search-result-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-aqua);
    transition: all 0.3s ease;
}

.search-result-card__link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.search-result-card:hover .search-result-card__title {
    color: var(--color-white);
}

.search-result-card:hover .search-result-card__excerpt {
    color: #CCCCCC;
}

.search-result-card:hover .search-result-card__link {
    color: var(--color-aqua);
}

.search-result-card:hover .search-result-card__link i {
    transform: translateX(4px);
}

/* Pagination */
.search-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #EEEEEE;
}

.search-pagination__info {
    font-size: 14px;
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
}

.search-pagination__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-pagination__button {
    background-color: #F8F8F8;
    border: 1px solid #DDDDDD;
    color: #1A2332;
    padding: 0.5rem 1rem;
    font-size: 16px;
    font-family: Mulish;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.search-pagination__button:hover:not(:disabled) {
    background-color: var(--color-aqua);
    border-color: var(--color-aqua);
    color: var(--color-white);
}

.search-pagination__button--active {
    background-color: var(--color-neutral-darkest);
    border-color: var(--color-neutral-darkest);
    color: var(--color-white);
}

.search-pagination__button--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .search-filters {
        position: static;
        margin-bottom: 2rem;
    }

    .search-result-card {
        padding: 1.5rem;
    }

    .search-result-card__title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .search-pagination__controls {
        gap: 0.25rem;
    }

    .search-pagination__button {
        padding: 0.5rem 0.75rem;
        font-size: 14px;
    }
}

/* ===================================
   Category Results Page
   =================================== */
.category-results-section {
    background-color: #FFFFFF;
}

/* Category Header */
.category-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.category-header__meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-header__separator {
    margin: 0 0.5rem;
}

.category-header__title {
    font-size: 48px;
    font-weight: 200;
    color: #1A2332;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.category-results-section .hero-title {
    font-weight: 200;
}

.category-header__description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Category Filters Sidebar */
.category-filters {
    background-color: #F8F8F8;
    padding: 2rem;
    border-radius: 0;
    position: sticky;
    top: 120px;
}

.category-filters__title {
    font-size: 24px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 2rem;
}

.category-filter-group {
    margin-bottom: 2rem;
}

.category-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #DDDDDD;
    border-radius: 0;
    font-size: 16px;
    font-family: Mulish;
    color: #1A2332;
    background-color: #FFFFFF;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231A2332' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    transition: border-color 0.3s ease;
}

.category-filter-select:focus {
    outline: none;
    border-color: var(--color-aqua);
}

/* Category Tags */
.category-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #FFFFFF;
    color: #1A2332;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #DDDDDD;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background-color: var(--color-aqua);
    border-color: var(--color-aqua);
    color: var(--color-white);
}

.category-tag--small {
    padding: 0.375rem 0.75rem;
    font-size: 13px;
}

/* Category Results Grid */
.category-results-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-result-card {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 2rem;
}

.category-result-card:last-child {
    border-bottom: none;
}

.category-result-card__link {
    display: flex;
    gap: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-result-card__image {
    flex: 0 0 300px;
    overflow: hidden;
    background-color: #F8F8F8;
}

.category-result-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-result-card__link:hover .category-result-card__image img {
    transform: scale(1.05);
}

.category-result-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-result-card__meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-result-card__separator {
    margin: 0 0.5rem;
}

.category-result-card__category {
    color: var(--color-aqua);
    font-weight: 600;
}

.category-result-card__title {
    font-size: 28px;
    font-weight: 300;
    color: #1A2332;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.category-result-card__excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.category-result-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-aqua);
    margin-top: auto;
    transition: all 0.3s ease;
}

.category-result-card__read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.category-result-card__link:hover .category-result-card__title {
    color: var(--color-aqua);
}

.category-result-card__link:hover .category-result-card__read-more {
    gap: 0.75rem;
}

.category-result-card__link:hover .category-result-card__read-more i {
    transform: translateX(4px);
}

/* Category Pagination */
.category-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #EEEEEE;
}

.category-pagination__info {
    font-size: 14px;
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
}

.category-pagination__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-pagination__button {
    background-color: #F8F8F8;
    border: 1px solid #DDDDDD;
    color: #1A2332;
    padding: 0.5rem 1rem;
    font-size: 16px;
    font-family: Mulish;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.category-pagination__button:hover:not(:disabled) {
    background-color: var(--color-aqua);
    border-color: var(--color-aqua);
    color: var(--color-white);
}

.category-pagination__button--active {
    background-color: var(--color-neutral-darkest);
    border-color: var(--color-neutral-darkest);
    color: var(--color-white);
}

.category-pagination__button--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .category-header__title {
        font-size: 36px;
    }

    .category-filters {
        position: static;
        margin-bottom: 2rem;
    }

    .category-result-card__link {
        flex-direction: column;
        gap: 1.5rem;
    }

    .category-result-card__image {
        flex: 0 0 auto;
        width: 100%;
    }

    .category-result-card__title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .category-header__title {
        font-size: 28px;
    }

    .category-header__description {
        font-size: 16px;
    }

    .category-result-card__title {
        font-size: 20px;
    }

    .category-pagination__controls {
        gap: 0.25rem;
    }

    .category-pagination__button {
        padding: 0.5rem 0.75rem;
        font-size: 14px;
    }
}

/* ===================================
   Product Offerings & Asset Types - Side by Side (Compact)
   =================================== */
.offerings-assets-split-section {
    background-color: #FFFFFF;
}

.offerings-assets-split-section__column {
    padding: 160px 40px;
    position: relative;
}

.offerings-assets-split-section__column--products {
    background-color: #0C162C;
}

.offerings-assets-split-section__column--assets {
    background-color: #F0F4F8;
}

.offerings-assets-split-section__content {
    max-width: 900px;
    margin: 0 auto;
}

.offerings-assets-split-section__title {
    font-family: Mulish;
    font-size: 32px;
    font-style: normal;
    font-weight: 200;
    line-height: 1.3;
    color: #1A2332;
    margin-bottom: 2rem;
    text-align: center;
}

.offerings-assets-split-section__column--products .offerings-assets-split-section__title {
    color: #FFFFFF;
}

.offerings-assets-split-section__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.offering-compact-card,
.asset-compact-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 250px;
    min-height: 160px;
}

/* Medium-wide screens - 2 columns */
@media (max-width: 1400px) {
    .offering-compact-card,
    .asset-compact-card {
        flex: 0 0 calc(50% - 15px);
    }

    .offerings-assets-split-section__content {
        max-width: 700px;
    }
}

/* Compact Product Offering Cards */
.offering-compact-card {
    text-align: center;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.offering-compact-card__icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.offering-compact-card__icon img {
    width: 80px;
    height: auto;
}

.offering-compact-card__title {
    font-family: Mulish;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    color: #FFFFFF;
    margin-bottom: 0;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

/* Compact Asset Type Cards */
.asset-compact-card {
    text-align: center;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.asset-compact-card__icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.asset-compact-card__icon img {
    width: 80px;
    height: auto;
}

.asset-compact-card__title {
    font-family: Mulish;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.4;
    color: #364153;
    margin-bottom: 0;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

/* Tablet and below - keep 2 columns */
@media (max-width: 991px) {
    .offerings-assets-split-section__column {
        padding: 100px 30px 90px;
    }

    .offerings-assets-split-section__title {
        font-size: 28px;
    }

    .offerings-assets-split-section__grid {
        gap: 20px;
    }

    .offering-compact-card,
    .asset-compact-card {
        flex: 0 0 calc(50% - 10px);
        padding: 20px 10px;
    }

    .offering-compact-card__title,
    .asset-compact-card__title {
        font-size: 16px;
        min-height: 46px;
    }
}

/* Mobile - stack columns vertically, keep 2 per row */
@media (max-width: 767px) {
    .offerings-assets-split-section__column {
        padding: 80px 20px 70px;
    }

    .offerings-assets-split-section__content {
        max-width: 100%;
    }

    .offerings-assets-split-section__title {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    .offerings-assets-split-section__grid {
        gap: 15px;
    }

    .offering-compact-card,
    .asset-compact-card {
        flex: 0 0 calc(50% - 7.5px);
    }

    .offering-compact-card__icon,
    .asset-compact-card__icon {
        min-height: 60px;
    }

    .offering-compact-card__icon img,
    .asset-compact-card__icon img {
        width: 60px;
    }

    .offering-compact-card__title,
    .asset-compact-card__title {
        font-size: 14px;
        min-height: 42px;
    }
}

/* ===================================
   reCAPTCHA Badge
   =================================== */
.grecaptcha-badge {
    display: none;
    visibility: hidden;
}
