/*
Theme Name:   Mooch Creative Boilerplate
Theme URI:    http://www.moochcreative.com/
Description:  A boilerplate site utilising 'Advanced Custom Fields PRO - Flexible Content' to create a page builder. Made for Mooch Creative Clients.
Author:       Kane Greenway
Author URI:   https://www.moochcreative.co.uk/
Version:      2.0.0
*/

/*

   ____                      _      
  / ___| ___ _ __   ___ _ __(_) ___ 
 | |  _ / _ \ '_ \ / _ \ '__| |/ __|
 | |_| |  __/ | | |  __/ |  | | (__ 
  \____|\___|_| |_|\___|_|  |_|\___|

*/

html {
	overflow-x: clip;
    width: 100vw;
    font-size: 62.5%;
}

body {
	margin: unset;
	font-size: 1.7rem;
    line-height: 1.2;
	font-family: "bonnie", sans-serif;
	font-weight: 400;
	font-style: normal;
}

h1 {
    font-size: 4.2rem; /* ~42px */
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: 3.2rem; /* 32px */
    font-weight: 6700;
    line-height: 1.1;
}

h3 {
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.1;
}

strong,
b {
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

a[href="#"] {
    opacity: 0.5 !important;
    cursor: not-allowed;
}

a.custom-dec {
    color: inherit;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

a.custom-dec::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    background-color: black;
    height: 1px;
    width: 100%;
    transition: transform 300ms;
    transform: scaleX(0);
    transform-origin: right;
}

a.custom-dec:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

strong a.custom-dec::after,
b a.custom-dec::after {
    hieght: 1.5px;
}

.button {
    color: white;
    background-color: #008C69;
    border: unset;
    cursor: pointer;
    transition: background-color 200ms, color 200ms, transform 200ms;
    padding: 18px 40px;
    border-radius: 28px;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.button.alt {
    background-color: #2B90A5;
}

.button.white {
    background-color: white;
    color: #008C69;
}

.button:hover,
.button.alt:hover,
.button.white:hover {
    background-color: black;
	transform: scale(1.05);
    color: white;
}

.buttons-area {
    display: flex;
    gap: 18px;
}

.buttons-area.centre-buttons {
    justify-content: center;
}

ul li,
ol li {
    font-size: 2rem;
}

:root {
    --container-width: 85%;
    --container-max:   1800px;
    --container-narrow-max: 900px;
}

section {
    width: 100vw;
}

section > .container,
.margin-container {
    width: var(--container-width);
    max-width: var(--container-max);
    margin-inline: auto;
}

section > .container--narrow,
.margin-container-narrow {
    width: var(--container-width);
    max-width: var(--container-narrow-max);
    margin-inline: auto;
}

.circle-highlight,
.circle-highlight-alt {
    position: relative;
}

.circle-highlight::after,
.circle-highlight-alt::after {
    content: "";
    position: absolute;
    height: 95%;
    width: 120%;
    top: 7%;
    left: -10%;
    z-index: 2;
    background-image: url('./assets/images/circle-highlight.svg');
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
}

.circle-highlight::after {
    background-image: url('./assets/images/circle-highlight.svg');
}
.circle-highlight-alt::after {
    background-image: url('./assets/images/circle-highlight-alt.svg');
}

.lines-highlight::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 130px;
    right: calc(100% - 115px);
    bottom: calc(100% - 40px);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('./assets/images/lines-highlight.svg');
}

.waves-highlight {
    position: relative;
}

.waves-highlight::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 160px;
    right: 120px;
    top: -35px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('./assets/images/waves-highlight.svg');
}

.curved-lines-highlight {
    position: relative;
}

.curved-lines-highlight::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 50px;
    left: 360px;
    top: -90px;
    transform: rotate(180deg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    background-image: url('./assets/images/curved-line.svg');
}

@media only screen and (max-width: 1400px) {
    .curved-lines-highlight::after {
        left: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .curved-lines-highlight::after {
        left: 30px;
        top: -45px;
        height: 40px;
    }
}

@media only screen and (max-width: 1920px) {  
    .waves-highlight::after {
        right: -50px;
    }
}

@media only screen and (max-width: 1024px) {  
    .waves-highlight::after {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .lines-highlight::after {
        width: 180px;
        height: 90px;
    }
}

.lines-highlight-alt {
    position: relative;
}

.lines-highlight-alt::after {
    content: "";
    position: absolute;
    height: 90px;
    width: 140px;
    top: -55px;
    right: -30px;
    z-index: 2;
    background-image: url('./assets/images/lines-highlight-alt.svg');
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
}

@media only screen and (max-width: 480px) {
    .lines-highlight-alt::after {
        right: -50px;
    }
}

.underline-highlight {
    position: relative;
}

.underline-highlight::after {
    content: "";
    position: absolute;
    height: 30px;
    width: 135%;
    bottom: -17px;
    left: -25%;
    z-index: 2;
    background-image: url('./assets/images/underline-highlight.svg');
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
}

@media only screen and (max-width: 782px) {
    .underline-highlight::after {
        height: 15px;
        width: 115%;
        left: -10%;
        bottom: -14px;
    }
}

.underline-highlight-2 {
    position: relative;
}

.underline-highlight-2::after {
    content: "";
    position: absolute;
    height: 30px;
    width: 110%;
    bottom: -27px;
    left: -10%;
    z-index: -1;
    background-image: url('./assets/images/underline-highlight-2.svg');
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Laptop — 1200px */
@media ( max-width: 1200px ) {
    :root {
        --container-width: 90%;
    }
}

/* Tablet landscape — 1024px */
@media ( max-width: 1024px ) {
    :root {
        --container-width: 90%;
    }
}

/* Tablet portrait — 768px */
@media ( max-width: 768px ) {
    :root {
        --container-width: 90%;
    }
}

/* Mobile — 480px */
@media ( max-width: 480px ) {
    :root {
        --container-width: 90%;
    }
}

html {
    scroll-padding-top: 400px;
}

/* Swiper */
.swiper-container {
	position: relative;
}

.swiper-button-prev img, .swiper-button-next img {
    height: 50px !important;
    width: 50px !important;
}

.swiper {
	width: 600px;
	height: 300px;
}

.swiper {
    padding-bottom: 100px !important;
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 1px;
    bottom: 55px !important;
}

.swiper-pagination-bullet {
    border-radius: 1px !important;
    width: 60px !important;
    height: 2px !important;
}

.swiper-pagination-bullet-active {
    background-color: #2B90A5 !important;
}

@media only screen and (max-width: 500px) {
    .swiper-pagination-bullet {
        width: 40px !important;
    }
}

.swiper-button-container {
    position: absolute;
    width: 100px;
    left: 50%;
    bottom: 15px;
    transform: translatex(-50%);
    display: flex;
    gap: 20px;
    height: 0px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.swiper-button-prev {
    top: 50% !important;
    left: 0 !important;
}

.swiper-button-next {
    top: 50% !important;
    right: 0 !important;
}

.swiper-button-prev img,
.swiper-button-next img {
    width: 50px !important;
    object-fit: contain !important;
}

/* Accordion */
section .ac .ac-trigger:focus {
	color: inherit;
}

.ac .ac-panel {
    visibility: visible !important;
}

/* Generic */
.pill-card {
    display: flex;
    flex-direction: column;
    background-color: #008C69;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.pill-card .image-wrapper {
    width: 100%;
    height: 17.4vw;
    flex-shrink: 0;
    max-height: 340px;
}

.pill-card .image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pill-card .content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1rem, 3.8vw, 54px)
         clamp(1rem, 3.8vw, 54px)
         clamp(1.2rem, 4vw, 60px)
         clamp(1rem, 3.8vw, 54px);
}

.pill-card .content h3 {
    color: white;
    margin: 0;
    margin-bottom: 20px;
    font-size: clamp(2rem, 1.7vw, 3.2rem);
}

.pill-card .content p {
    color: white;
    margin: 0;
    font-size: 1.4rem;
    font-size: clamp(1.4rem, 1.1vw, 2rem);
    font-weight: 300;
    margin-bottom: 35px;
}

.pill-card .content .buttons-area {
    margin-top: auto;
}

@media only screen and (max-width: 1024px) {
    .pill-card .content {
        padding: 3.1vw 3.1vw 3.3vw 3.1vw;
    }
}

@media only screen and (max-width: 768px) {
    .pill-card {
        /* max-width: 358px; */
        width: 100%;
    }
    
    .pill-card .image-wrapper {
        height: 56vw;
        max-height: unset;
    }
    
    .pill-card .content {
        padding: 9vw 9vw 9.4vw 9vw;
    }
    
    .pill-card .content h3 {
        font-size: clamp(2rem, 5vw, 10rem);
    }
    
    .pill-card .content p {
        font-size: clamp(1.4rem, 1.1vw, 10rem);
    }
}

/* Spacing */
@media only screen and (min-width: 1025px) { /* Desktop */
	.d-p-t-35 {
		padding-top: 35px;
	}
	.d-p-b-35 {
		padding-bottom: 35px;
	}
	.d-m-t-35 {
		margin-top: 35px;
	}
	.d-m-b-35 {
		margin-bottom: 35px;
	}

	.d-p-t-70 {
		padding-top: 70px;
	}
	.d-p-b-70 {
		padding-bottom: 70px;
	}
	.d-m-t-70 {
		margin-top: 70px;
	}
	.d-m-b-70 {
		margin-bottom: 70px;
	}

	.d-p-t-140 {
		padding-top: 140px;
	}
	.d-p-b-140 {
		padding-bottom: 140px;
	}
	.d-m-t-140 {
		margin-top: 140px;
	}
	.d-m-b-140 {
		margin-bottom: 140px;
	}
}

@media only screen and (min-width: 769px) and (max-width: 1024px) { /* Tablet */
	.t-p-t-35 {
		padding-top: 35px;
	}
	.t-p-b-35 {
		padding-bottom: 35px;
	}
	.t-m-t-35 {
		margin-top: 35px;
	}
	.t-m-b-35 {
		margin-bottom: 35px;
	}

	.t-p-t-70 {
		padding-top: 70px;
	}
	.t-p-b-70 {
		padding-bottom: 70px;
	}
	.t-m-t-70 {
		margin-top: 70px;
	}
	.t-m-b-70 {
		margin-bottom: 70px;
	}

	.t-p-t-140 {
		padding-top: 140px;
	}
	.t-p-b-140 {
		padding-bottom: 140px;
	}
	.t-m-t-140 {
		margin-top: 140px;
	}
	.t-m-b-140 {
		margin-bottom: 140px;
	}
}

@media only screen and (max-width: 768px) { /* Mobile */
	.m-p-t-35 {
		padding-top: 35px;
	}
	.m-p-b-35 {
		padding-bottom: 35px;
	}
	.m-m-t-35 {
		margin-top: 35px;
	}
	.m-m-b-35 {
		margin-bottom: 35px;
	}

	.m-p-t-70 {
		padding-top: 70px;
	}
	.m-p-b-70 {
		padding-bottom: 70px;
	}
	.m-m-t-70 {
		margin-top: 70px;
	}
	.m-m-b-70 {
		margin-bottom: 70px;
	}

	.m-p-t-140 {
		padding-top: 140px;
	}
	.m-p-b-140 {
		padding-bottom: 140px;
	}
	.m-m-t-140 {
		margin-top: 140px;
	}
	.m-m-b-140 {
		margin-bottom: 140px;
	}
}

/* === Header ==== */
/* Header Bar */
.site-header-bar {
    background-color: #008C69;
}

.site-header-bar .margin-container {
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
}

#site-header {
    position: sticky;
    top: -78px; /* height final */
    z-index: 1000;
}

.main-header {
    position: static;
    background-color: #fff;
}

.site-header-bar {
    position: static;
}

@media only screen and (max-width: 1280px) {
    #site-header {
        top: -58px; /* height final mobile */
    }
}

#search-button {
    color: white;
    text-decoration: none;
    display: flex;
    margin: auto 0;
    align-items: center;
    font-size: 1.8rem;
}

#search-button svg {
    height: 23px;
    margin: auto 0;
    margin-right: 6px;
    transition: transform 200ms;
}

#search-button:hover svg {
    transform: scale(1.1);
}

#header-phone-no {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
}

#header-phone-no::after {
    background-color: white;
}

/* Main Header */
.main-header {
    height: 140px;
    box-shadow: 0px 1px 5px #0000000f;
}

.main-header .margin-container {
    display: flex;
    height: 100%;
    align-items: center;
}

.header-logo-area {
    width: 20%;
    flex-shrink: 0;
}

.header-logo-area .mobile {
    display: none;
}

.header-logo-area a {
    display: block;
    max-width: 300px;
    height: 50px;
}

.header-logo-area a img {
    transition: transform 200ms;
}

.header-logo-area a img:hover {
    transform: scale(1.05);
}

.header-logo-area .desktop img {
    width: 100%;
}

.header-logo-area img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.header-nav-area {
    width: 60%;
}

#main-nav ul {
    display: flex;
    list-style: none;
    margin: unset;
    padding: unset;
    justify-content: center;
    gap: 20px;
}

#main-nav ul li {
    white-space: nowrap;
    position: relative;
}

#main-nav ul li.menu-item-has-children a {
    padding-right: 20px;
}

#main-nav ul li .submenu-chevron {
    position: absolute;
    width: 8px;
    right: 2px;
    top: 55%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 200ms;
    fill: #008C69;
}

#main-nav ul li a {
    color: #575757;
    transition: color 200ms;
}

#main-nav ul li a:hover {
    color: black;
}

#main-nav ul li.menu-item-has-children:hover .submenu-chevron {
    transform: translateY(-45%) rotate(180deg);
}

#main-nav > ul > li.current-menu-item {
    color: inherit;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

#main-nav > ul > li.current-menu-item > a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    background-color: #008C69;
    height: 1px;
    width: 100%;
    transition: transform 300ms;
}

#main-nav > ul > li.current-menu-item.menu-item-has-children > a::after {
    width: calc(100% - 20px);
}

.header-extra-buttons-area {
    width: 20%;
    display: flex;
    justify-content: right;
    gap: 20px;
    flex-shrink: 1;
    align-items: center;
}

.header-extra-buttons-area .button {
    padding: 13px 38px;
}

#burger-menu-button-label {
    display: none;
}

@media only screen and (max-width: 1750px) {
    #main-nav ul {
        gap: 12.5px;
    }
    
    .header-nav-area {
        width: 70%;
    }
    
    .header-extra-buttons-area {
        width: 10%;
    }
}

@media only screen and (max-width: 1400px) {
    .header-logo-area {
        width: 10%;
    }
    
    .header-logo-area .desktop {
        display: none;
    }
    
    .header-logo-area .mobile {
        display: block;
        height: 35px;
    }
    
    .header-nav-area {
        width: 80%;
    }
    
    .header-extra-buttons-area {
        width: 10%;
    }
}

@media only screen and (max-width: 1280px) {
    .header-logo-area {
        width: 50%;
    }
    
    .header-nav-area {
        display: none;
    }
    
    .header-extra-buttons-area {
        width: 50%;
    }
    
    .site-header-bar .margin-container {
        padding: 16px 0;
    }
    
    .main-header {
        height: 100px;
    }
    
    #burger-menu-button-label {
        display: block;
    }

    .header-extra-buttons-area .button {
        padding: 13px 32px;
    }

    .header-extra-buttons-area {
        gap: 10px;
    }

    #search-button {
        color: #008C69;
    }
}

/* Dropdown Menu */
#main-nav .submenu {
    position: absolute;
    left: calc(50% - 10px);
    transform: translateX(-50%);
    top: 100%;
    padding-top: 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

#main-nav ul li.menu-item-has-children:hover .submenu,
#main-nav ul li.menu-item-has-children:focus-within .submenu {
    opacity: 1;
    visibility: visible;
}

#main-nav .submenu ul {
    background-color: #2B90A5;
    padding: 25px 20px;
    border-radius: 22px;
    position: relative;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#main-nav .submenu ul::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #2B90A5;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 4px;
}

#main-nav .submenu ul li {
    text-align: center;
}

#main-nav .submenu ul li a {
    padding: 0;
    color: white;
}

#main-nav .submenu ul li a:hover {
    color: #d5d5d5
}

#main-nav .submenu.large-submenu {
    left: calc(200% - 10px);
}

#main-nav .submenu.large-submenu ul {
    padding: 45px 70px;
    columns: 2;
    column-gap: 80px;
    display: block;
}

#main-nav .submenu.large-submenu ul::before {
    left: 18%;
}

#main-nav .submenu.large-submenu ul li {
    text-align: left;
}

/* Burger Menu (Mobile) */
#burger-menu-button {
    display: none;
}

#burger-menu-button-label,
#burger-menu-button-label-close {
    width: 30px;
    height: 40px;
    cursor: pointer;
    position: relative;
    transition: transform 200ms;
}

#burger-menu-button-label:hover,
#burger-menu-button-label-close:hover {
    transform: scale(1.1);
}

#burger-menu-button-label::before,
#burger-menu-button-label::after,
#burger-menu-button-label-close::before,
#burger-menu-button-label-close::after {
    content: "";
    width: 25px;
    height: 2.5px;
    border-radius: 10px;
    background-color: #2B90A5;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: top 200ms, transform 200ms;
}

#burger-menu-button-label::before {
    top: calc(50% - 5px);
}

#burger-menu-button-label::after {
    top: calc(50% + 5px);
}

#burger-menu {
    position: fixed;
    width: 500px;
    height: 100vh;
    top: 0;
    right: -100%;
    background-color: #2B90A5;
    transition: right 200ms;
    display: flex;
    z-index: 200;
}

#burger-menu-backdrop {
    position: fixed;
    z-index: 150;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vw;
    background-color: black;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms, visibility 300ms;
}


#burger-menu-button-label-close {
    z-index: 50;
    position: absolute;
    top: 40px;
    right: 40px;
}

#burger-menu-button-label-close::before {
    top: 50%;
    transform: translateX(-50%) rotate(-135deg);
    background-color: white !important;
}

#burger-menu-button-label-close::after {
    top: 50%;
    transform: translateX(-50%) rotate(135deg);
    background-color: white !important;
}

#burger-menu-button:checked ~ #burger-menu {
    right: 0;
}

#burger-menu-button:checked ~ #burger-menu-backdrop {
    opacity: 0.4;
    visibility: visible;
}

#burger-menu .wrapper {
    width: 90%;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}

#mobile-nav {
    max-height: 90%;
    width: 90%;
    overflow: scroll;
    margin: auto;
}

#mobile-nav ul {
    list-style: none;
    margin: unset;
    padding: unset;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

#mobile-nav ul li a,
#mobile-nav ul li label {
    color: white;
    cursor: pointer;
    font-size: 2.4rem;
}

#mobile-nav ul li input {
    display: none;
}

#mobile-nav ul li svg {
    height: 10px;
    width: 10px;
    margin-left: 10px;
    fill: white;
    transition: transform 200ms;
}


#mobile-nav ul li input:checked ~ label svg {
    transform: rotate(180deg);
}

#mobile-nav ul li .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms;
    margin-left: 25px;
}

#mobile-nav ul li .submenu > ul {
    padding-top: 10px;
}

#mobile-nav ul li input:checked ~ .submenu {
    max-height: 700px;
}

@media only screen and (max-width: 782px) {
    #burger-menu {
        width: 100%;
    }
    
    #burger-menu-backdrop {
        display: none;
    }
    
    #mobile-nav ul li {
        /* text-align: center; */
    }
    
    
    #mobile-nav {
        width: 100%;
        max-width: 350px;
    }

    #search-button,
    #header-phone-no {
        font-size: 1.7rem;
    }
}

#search-button {
    background: unset;
    border: unset;
    font-family: "bonnie", sans-serif;
    cursor: pointer;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.search-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.search-overlay-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #fff;
}

.search-overlay-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 28px;
    padding: 12px 0;
    font-family: "bonnie", sans-serif;
}

.search-overlay-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-overlay-submit {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 28px;
    height: 28px;
}

.search-overlay-close {
    position: absolute;
    top: -48px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

body.search-overlay-open {
    overflow: hidden;
}

/* === Footer === */

#site-footer {
    background-color: #2B90A5;
    width 100vw;
    min-height: 300px;
    border-radius: 65px 65px 0 0;
    box-sizing: border-box;
}

#site-footer .split {
    padding-top: 140px;
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 2.2rem;
}

#site-footer .split .main-column {
    position: relative;
}

#site-footer .split .main-column::after {
    content: "";
    position: absolute;
    z-index: 2;
    background-image: url('./assets/images/curved-line.svg');
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
}

#site-footer .split .main-column::after {
    bottom: 36px;
    right: -68px;
    width: 190px;
    height: 70px;
    z-index: 2;
}

@media only screen and (max-width: 1280px) {
    #site-footer .split .main-column::after {
        right: unset;
        left: 190px;
        bottom: -15px;
        width: 160px;
    }
}

#site-footer .split h3 {
    margin-top: unset;
    margin-bottom: 10px;
    font-size: 5.0rem;
}

#site-footer .custom-dec::after {
    background-color: white;
}

#site-footer .footer-text {
    max-width: 400px;
}

#site-footer .footer-header {
    color: #EDDD59;
    font-weight: 600;
    font-size: 2.8rem;
}

#footer-nav ul {
    list-style: none;
    margin: unset;
    padding: unset;
    columns: 2;
    column-gap: 100px;
}

#site-footer .misc {
    padding-top: 50px;
    color: white;
}

#site-footer .footer-logo {
    width: 375px;
    display: block;
    transition: transform 200ms;
}

#site-footer .footer-logo:hover {
    transform: scale(1.05);
}

#site-footer .footer-logo img {
    width: 100%;
    display: block;
}

#site-footer .footer-tagline {
    padding-top: 30px;
    font-weight: 300;
}

#site-footer .links {
    color: white;
    font-weight: 300;
    padding-bottom: 80px;
    display: flex;
    justify-content: space-between;
}

#site-footer .ind-links {
    margin-bottom: 0;
}

#site-footer .bullet-space {
    padding: 0 12px;
}

#site-footer .footer-socials {
    display: flex;
    gap: 10px;
    padding-right: 50px;
    margin-top: -10px;
}

#site-footer .footer-social {
    background-color: white;
    width: 58px;
    height: 58px;
    display: flex;
    border-radius: 10px;
}

#site-footer .footer-social img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    margin: auto;
    display: block;
    transition: transform 200ms;
}

#site-footer .footer-social:hover img {
    transform: scale(1.1);
}

#site-footer .footer-socials-mobile {
    display: none;
}

@media only screen and (max-width: 1280px) {
    #site-footer .split {
        flex-direction: column;
    }
    
    #site-footer .footer-socials {
        display: none;
    }
    
    #site-footer .footer-socials-mobile {
        display: flex !important;
        gap: 5px;
    }
    
    #site-footer .footer-socials-mobile .footer-social {
        height: 31px;
        width: 31px;
        margin: 15px 0 20px 0;
    }
    
    #site-footer .split {
        margin-bottom: 25px;
        padding-top: 80px;
        font-size: 1.9rem;
    }

    #site-footer .split h3 {
        font-size: 4.0rem;
    }
}

@media only screen and (max-width: 782px) {
    #footer-nav ul {
        columns: 1;
    }
    
    #site-footer .footer-logo {
        width: 100%;
        max-width: 250px;
    }
}

#footer-nav ul > li > a {
    display: inline-block;
    vertical-align: top;
}

/* === Posts Page === */
.single-post #site-content .main {
    width: var(--container-width);
    max-width: var(--container-max);
    margin-inline: auto;
    margin-bottom: 80px;
    font-size: 2rem;
}


.single-post .related-posts {
    width: var(--container-width);
    max-width: var(--container-max);
    margin-inline: auto;
    margin-bottom: 60px;
}

.single-post .related-posts > h2 {
    color: #2b90a5;
    margin-top: unset;
}

.single-post .related-posts #related-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

@media only screen and (max-width: 768px) {
    .single-post .related-posts #related-results {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 30px;
    }
}

/* === Search Page === */
body.search main {
    width: var(--container-width);
    max-width: var(--container-max);
    margin-inline: auto;
}

body.search #search-results {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

body.search #search-results .pill-card .content h3 {
    line-height: 1;
}

body.search #search-results .pill-card .content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1rem, 2vw, 54px) clamp(1rem, 2vw, 54px) clamp(1.2rem, 2.2vw, 60px) clamp(1rem, 2vw, 54px);

}

body.search #search-results .pill-card .content p {
    margin-bottom: 20px;
}

body.search #search-results .pill-card .image-wrapper {
    height: 12.4vw;
}

body.search .button-area {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 70px;
}

body.search #search-results .pill-card:nth-child(even) {
    background-color: #eddd59;
}

body.search #search-results .pill-card:nth-child(even) .content h3,
body.search #search-results .pill-card:nth-child(even) .content p {
    color: #008C69;
}

body.search #search-results .pill-card:nth-child(even) .content a {
    color: white;
    background-color: #008C69;
}

body.search #search-results .pill-card:nth-child(even) .content a:hover {
    background-color: black;
    color: white;
}

@media only screen and (max-width: 1248px) {
    body.search #search-results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
    
    body.search #search-results .pill-card .image-wrapper {
        height: 17.4vw;
    }
}

@media only screen and (max-width: 768px) {
    body.search #search-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    
    body.search #search-results .pill-card .content h3 {
        font-size: 2.3rem !important;
    }
    
    body.search #search-results .pill-card .image-wrapper {
        height: 28.4vw;
    }
}

@media only screen and (max-width: 600px) {
    body.search #search-results {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
    }
    
    body.search #search-results .pill-card .content h3 {
        font-size: 2.3rem !important;
    }
    
    body.search #search-results .pill-card .image-wrapper {
        height: 56.8vw;
    }
    
    body.search #search-results .pill-card .content {
        padding: 30px;
    }
    
    body.search .page-title {
        font-size: 3.8rem;
    }
}

/* Odometer */
.odometer.odometer-auto-theme, .odometer.odometer-theme-default {
    display: -moz-inline-box;
    -moz-box-orient: vertical;
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    position: relative;
}
.odometer.odometer-auto-theme, .odometer.odometer-theme-default {
    *display: inline;
}
.odometer.odometer-auto-theme .odometer-digit, .odometer.odometer-theme-default .odometer-digit {
    display: -moz-inline-box;
    -moz-box-orient: vertical;
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    position: relative;
}
.odometer.odometer-auto-theme .odometer-digit, .odometer.odometer-theme-default .odometer-digit {
    *display: inline;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-digit-spacer, .odometer.odometer-theme-default .odometer-digit .odometer-digit-spacer {
    display: -moz-inline-box;
    -moz-box-orient: vertical;
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    visibility: hidden;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-digit-spacer, .odometer.odometer-theme-default .odometer-digit .odometer-digit-spacer {
    *display: inline;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-digit-inner, .odometer.odometer-theme-default .odometer-digit .odometer-digit-inner {
    text-align: left;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon, .odometer.odometer-theme-default .odometer-digit .odometer-ribbon {
    display: block;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon-inner, .odometer.odometer-theme-default .odometer-digit .odometer-ribbon-inner {
    display: block;
    -webkit-backface-visibility: hidden;
}
.odometer.odometer-auto-theme .odometer-digit .odometer-value, .odometer.odometer-theme-default .odometer-digit .odometer-value {
    display: block;
    -webkit-transform: translateZ(0);
}
.odometer.odometer-auto-theme .odometer-digit .odometer-value.odometer-last-value, .odometer.odometer-theme-default .odometer-digit .odometer-value.odometer-last-value {
    position: absolute;
}
.odometer.odometer-auto-theme.odometer-animating-up .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-up .odometer-ribbon-inner {
    -webkit-transition: -webkit-transform 2s;
    -moz-transition: -moz-transform 2s;
    -ms-transition: -ms-transform 2s;
    -o-transition: -o-transform 2s;
    transition: transform 2s;
}
.odometer.odometer-auto-theme.odometer-animating-up.odometer-animating .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-up.odometer-animating .odometer-ribbon-inner {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
}
.odometer.odometer-auto-theme.odometer-animating-down .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-down .odometer-ribbon-inner {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
}
.odometer.odometer-auto-theme.odometer-animating-down.odometer-animating .odometer-ribbon-inner, .odometer.odometer-theme-default.odometer-animating-down.odometer-animating .odometer-ribbon-inner {
    -webkit-transition: -webkit-transform 2s;
    -moz-transition: -moz-transform 2s;
    -ms-transition: -ms-transform 2s;
    -o-transition: -o-transform 2s;
    transition: transform 2s;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.odometer.odometer-auto-theme, .odometer.odometer-theme-default {
    font-family: "bonnie", sans-serif;
    font-weight: 700;
    line-height: 1.1em;
}
.odometer.odometer-auto-theme .odometer-value, .odometer.odometer-theme-default .odometer-value {
    text-align: center;
}


/*

  ____  _                       _       _       
 | __ )| |_   _  ___ _ __  _ __(_)_ __ | |_ ___ 
 |  _ \| | | | |/ _ \ '_ \| '__| | '_ \| __/ __|
 | |_) | | |_| |  __/ |_) | |  | | | | | |_\__ \
 |____/|_|\__,_|\___| .__/|_|  |_|_| |_|\__|___/
                    |_|       

*/

/* Standard Content */
.section-standard-content h4 {
    margin: unset;
    font-weight: 300;
    margin-bottom: 10px;
    text-align: center;
}

.section-standard-content h2 {
    margin: unset;
    color: #2B90A5;
    margin-bottom: 15px;
    text-align: center;
    font-size: 4.4rem;
    margin-inline: auto;
    line-height: 1;
    margin-bottom: 30px;
}

.section-standard-content.align-left h2 {
    text-align: left;
}

.section-standard-content.align-left .content {
    margin-left: unset;
    max-width: unset;
}

.section-standard-content .content {
    max-width: 750px;
    margin-inline: auto;
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.2;
    position: relative;
}

.section-standard-content.wide-content .content {
    max-width: 1100px;
}

.section-standard-content.flow .content {
    max-width: 1200px;
}

.section-standard-content .buttons-area {
    margin-top: 30px;
}

@media only screen and (max-width: 768px) {
    .section-standard-content h2 {
        font-size: 4rem;
    }
}

.section-standard-content.title-max-width-600 h2 {
    max-width: 600px;
}

.section-standard-content.floating-lines .content::after { 
    content: "";
    width: 220px;
    height: 80px;
    transform: rotate(180deg);
    position: absolute;
    z-index: 2;
    background-image: url('./assets/images/curved-line.svg');
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
    bottom: 0;
    left: 700px;
}

@media only screen and (max-width: 1024px) {
    .section-standard-content.floating-lines .content::after { 
        display: none;
    }
}

/* Text & Image */

.section-text-and-image .container,
.section-text-and-image-reg .container {
    display: flex;
}

.section-text-and-image .text,
.section-text-and-image-reg .text  {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.section-text-and-image-reg .text {
    width: 60%;
}

.section-text-and-image h1 {
    color: #2B90A5;
    margin: unset;
    font-size: clamp(1.5rem, 6vw, 10rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-text-and-image p {
    margin: unset;
    font-size: clamp(1.8rem, 1.55vw, 2.6rem);
    max-width: 700px;
}

.section-text-and-image .buttons-area,
.section-text-and-image-reg .buttons-area {
    margin-top: 40px;
}

.section-text-and-image .image,
.section-text-and-image-reg .image {
    width: 35%;
    position: relative;
}

.section-text-and-image-reg .image {
    width: 40%;
}

.section-text-and-image .image img,
.section-text-and-image-reg .image img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 32px;
    height: 40vw;
    max-height: 650px;
}

@media only screen and (max-width: 1400px) {
    .section-text-and-image p {
        max-width: 42vw;
    }
}

@media only screen and (max-width: 768px) {
    .section-text-and-image .container,
    .section-text-and-image-reg .container {
        flex-direction: column;
    }
    
    .section-text-and-image .text,
    .section-text-and-image-reg .text {
        width: 100%;
        margin-bottom: 56px;
    }
    
    .section-text-and-image .image,
    .section-text-and-image-reg .image {
        width: 100%;
    }
    
    .section-text-and-image h1 {
        font-size: clamp(1.5rem, 10vw, 10rem);
    }
    
    .section-text-and-image p {
        max-width: unset;
        font-size: 1.8rem;
    }
    
    .section-text-and-image .image img,
    .section-text-and-image-reg .image img {
        height: auto;
    }
}

.section-text-and-image-reg .text {
    padding-right: 8vw;
    box-sizing: border-box;
    position: relative;
}

.section-text-and-image-reg .text > h2 {
    color: #2B90A5;
    margin-top: unset;
    font-size: 3.7rem;
}

.section-text-and-image-reg .image img {
    height: 100%;
}

.section-text-and-image-reg .text .content {
    line-height: 1.3;
    font-weight: 400;
    font-size: 2rem;
}

.section-text-and-image-reg .text .content > p:first-child {
    margin-top: 0;
}

.section-text-and-image-reg .text.floating-lines::after { 
    content: "";
    width: 200px;
    height: 50px;
    transform: rotate(180deg);
    position: absolute;
    z-index: 2;
    background-image: url('./assets/images/curved-line.svg');
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
    bottom: -30px;
    right: 25%;
}

@media only screen and (max-width: 1248px) {
    .section-text-and-image-reg .text {
        padding-right: 50px;
    }
    
    .section-text-and-image-reg .text {
        width: 50%;
    }
    
    .section-text-and-image-reg .image {
        width: 50%;
    }
}

@media only screen and (max-width: 1024px) {
    .section-text-and-image-reg .container {
        flex-direction: column;
    }
    
    .section-text-and-image-reg .text {
        padding-right: 0;
        width: 100%;
        margin-bottom: 56px;
    }
    
    .section-text-and-image-reg .image {
        width: 100%;
        margin-top: 20px;
    }
    
    .section-text-and-image-reg .text.floating-lines::after { 
        right: 0;
        bottom: 0px;
    }
}

/* About Hero - Top Cards */
.section-about-hero .container-fw {
    background-color: #2B90A5;
    border-radius: 65px;
    margin-top: 10vw;
    margin-bottom: 14vw;
}

.section-about-hero .wrapper {
    width: var(--container-width);
    max-width: var(--container-max);
    margin-inline: auto;
}

.section-about-hero .wrapper.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: translateY(-35%);
    gap: 3vw;
    justify-content: center;
    margin-bottom: -5vw;
}

@media only screen and (max-width: 768px) {
    .section-about-hero .wrapper.cards {
        display: block;
        padding: 0 10px;
        box-sizing: border-box;
        margin-bottom: -22vw;
    }

    .section-about-hero .container-fw {
        margin-top: 38vw;
        margin-bottom: 226vw;
    }

    .section-about-hero .cards .card:not(:first-child) {
        display: none;
    }
}

/* About Hero - Main */

.section-about-hero .wrapper.main {
    display: flex;
    justify-content: space-between;
    padding-left: 50px;
    box-sizing: border-box;
}

.section-about-hero .wrapper.main .content {
    display: flex;
    flex-direction: column;
    width: 65%;
    padding-right: 50px;
    box-sizing: border-box;
}

.section-about-hero .wrapper.main h4 {
    margin: unset;
    color: white;
    font-weight: 300;
    margin-bottom: 15px;
}

.section-about-hero .wrapper.main h2 {
    margin: unset;
    color: white;
    font-size: 5.8rem;
    line-height: 1;
    max-width: 700px;
    margin-bottom: 25px;
}

.section-about-hero .wrapper.main p {
    margin: unset;
    color: white;
    margin-bottom: 25px;
    font-size: 2.3rem;
    max-width: 750px;
    font-weight: 300;
}

.section-about-hero .wrapper.main a {
    align-self: start;
}

.section-about-hero .wrapper.main .stats {
    display: flex;
    flex-direction: column;
    width: 30%;
    justify-content: center;
}

.section-about-hero .wrapper.main .ind-stat {
    font-size: 5.8rem;
    font-weight: 600;
    margin: unset;
}

.section-about-hero .wrapper.main hr {
    border: unset;
    border-top: 2px solid white;
}

.section-about-hero .wrapper.main .name {
    margin-top: 15px;
}

@media only screen and (max-width: 1400px) {
    .section-about-hero .wrapper.main h2 {
        line-height: 1.2;
    }

    .section-about-hero .wrapper.main {
        padding-left: unset;
    }
}

@media only screen and (max-width: 1024px) {
    .section-about-hero .wrapper.main h2 {
        font-size: 5.2rem;
    }
}

@media only screen and (max-width: 782px) {
    .section-about-hero .wrapper.main {
        flex-direction: column;
    }

    .section-about-hero .wrapper.main .content {
        width: 100%;
        padding-right: unset;
    }

    .section-about-hero .wrapper.main h2 {
        font-size: 3.4rem;
        line-height: 1;
    }

    .section-about-hero .wrapper.main .stats {
        margin-top: 57px;
        width: 100%;
    }
}

/* About Hero - Bottom Cards */

.section-about-hero .bot-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3vw;
    margin-top: -11vw;
    transform: translateY(63%);
}

.section-about-hero .bot-cards .card {
    position: relative;
    height: 26.2vw;
    max-height: 550px;
    border-radius: 32px;
    overflow: hidden;
    z-index: 1;
    display: flex;
}

.section-about-hero .bot-cards .card::after {
    content: "";
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: transparent linear-gradient(180deg, #00000000 0%, #18424AD0 100%) 0% 0% no-repeat padding-box;
}

.section-about-hero .bot-cards .card .image-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.section-about-hero .bot-cards .card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.section-about-hero .bot-cards .content {
    z-index: 1;
    margin-top: auto;
    box-sizing: border-box;
    padding: 0 2.2vw 2.8vw;
}

.section-about-hero .bot-cards h3 {
    color: white;
    margin: unset;
    margin-bottom: 10px;
    font-size: clamp(2rem, 1.4vw, 3rem);
}

.section-about-hero .bot-cards p {
    color: white;
    margin: unset;
    font-size: clamp(1.4rem, 1.1vw, 2.2rem);
    max-width: 70%;
}

@media only screen and (max-width: 1024px) {
    .section-about-hero .bot-cards p {
        max-width: 95%;
    }
}

@media only screen and (max-width: 768px) {
    .section-about-hero .bot-cards {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 26px;
        transform: translateY(85%);
        margin-top: -209vw;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .section-about-hero .bot-cards .card {
        height: 84.5vw;
    }
    
    .section-about-hero .bot-cards .content {
        padding: 0 8vw 8.6vw;
    }
    
    .section-about-hero .bot-cards h3 {
        font-size: 3rem;
        margin-bottom: 10px;
        font-size: clamp(2rem, 6vw, 10rem);
    }

    .section-about-hero .bot-cards p {
        font-size: clamp(1.4rem, 5vw, 10rem);
        max-width: 80%;
    }
}

/* Features Grid */
.section-features-grid .wrapper.desktop {
    display: grid;
    row-gap: 50px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-features-grid .wrapper.desktop .feature {
    width: 90%;
    margin-inline: auto;
    text-align: center;
}

.section-features-grid .wrapper.mobile .feature-slide {
    margin-inline: auto;
    text-align: center;
}

.section-features-grid .wrapper .icon-wrapper {
    height: 90px;
}

.section-features-grid .wrapper img {
    display: block;
    margin-inline: auto;
    height: 100%;
    max-width: 110px;
}

.section-features-grid .wrapper h3 {
    color: #2B90A5;
    margin: 20px auto 20px auto;
    font-size: 2.8rem;
}

.section-features-grid .wrapper p {
    margin: 0 auto 0 auto;
    max-width: 320px;
    font-size: 2rem;
    line-height: 1.4;
}

.section-features-grid .wrapper.mobile {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .section-features-grid .wrapper.desktop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 768px) {
    .section-features-grid .wrapper.desktop {
        display: none;
    }
    
    .section-features-grid .wrapper.mobile {
        display: block;
    }
    
    .section-features-grid > .container {
        max-width: unset !important;
        width: 100% !important;
    }
    
    .section-features-grid .swiper {
        width: 100% !important;
        height: auto !important;
    }
    
    .section-features-grid .wrapper .icon-wrapper {
        height: 100px;
    }
    
    .section-features-grid .wrapper img {
        max-width: unset;
    }
}

/* Carousel */
.section-carousel {
    overflow: hidden;
}

.section-carousel .swiper {
    width: 150% !important;
    height: auto !important;
    margin-left: -25%;
}

.section-carousel .swiper-wrapper {
    
}

.section-carousel .swiper-slide {
    height: auto;
}

.section-carousel .pill-card {
    background-color: #EDDD59;
    height: 100%;
}

.section-carousel .pill-card .content h3 {
    color: #008C69;
}

.section-carousel .pill-card .content p {
    color: #008C69;
}

.section-carousel .pill-card .content p:last-child {
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 768px) {
    .section-carousel .pill-card {
        width: 90%;
        margin-inline: auto;
    }
    
    .section-carousel .swiper {
        width: 100% !important;
        margin-left: unset !important;
    }
    
    .section-carousel .container-fw {
        width: 100%;
        margin-inline: auto;
        box-sizing: border-box;
    }
}

/* Trust Bar */
.section-trust-bar .container-fw {
    background-color: #2B90A5;
    border-radius: 62px;
}

.section-trust-bar .wrapper {
    width: var(--container-width);
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 90px 0;
}

.section-trust-bar h4 {
    color: white;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 300;
    margin: 0;
    margin-bottom: 15px;
}

.section-trust-bar h2 {
    color: white;
    text-align: center;
    font-size: 4.6rem;
    font-weight: 600;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 60px;
    max-width: 790px;
    margin-inline: auto;
}

.section-trust-bar .logos {
    display: flex;
    justify-content: center;
    column-gap: 45px;
    row-gap: 20px;
}

.section-trust-bar .logos img {
    height: 60px;
    align-self: center;
}

.section-trust-bar .logos img.large {
    height: 100px;
}

.section-trust-bar .buttons-area {
    margin-top: 55px;
    justify-content: center;
}

.section-trust-bar .container-fw.blank-style{
    background-color: unset !important;   
}

.section-trust-bar .container-fw.blank-style .wrapper {
    padding: 0 !important;
}

@media only screen and (max-width: 1500px) {
    .section-trust-bar .logos img {
        height: 45px;
    }

    .section-trust-bar .logos img.large {
        height: 80px;
    }
}

@media only screen and (max-width: 1200px) {
    .section-trust-bar .logos {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 768px) {
    .section-trust-bar .logos {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 60px;
        column-gap: 25px;
    }
    .section-trust-bar .logos img {
        margin-inline: auto;
        width: 100%;
    }
    
    .section-trust-bar h2 {
        font-size: 4rem;
    }
}

/* Text & Image Block */
.section-text-and-image-block .circle-highlight::after {
    width: 125%;
    height: 105%;
    top: 3%;
    left: -13%;
}

.section-text-and-image-block .block {
    display: flex;
    border-radius: 32px;
    overflow: hidden;
}

.section-text-and-image-block .text {
    align-content: center;
    width: 50%;
    box-sizing: border-box;
    padding: clamp(1rem, 3.8vw, 140px)
         clamp(1rem, 3.8vw, 110px)
         clamp(1.2rem, 4vw, 140px)
         clamp(1rem, 3.8vw, 110px);
}

.section-text-and-image-block h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0;
    margin-bottom: 15px;
}

.section-text-and-image-block h2 {
    color: white;
    font-size: 6rem;
    font-weight: 600;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 15px;
}

.section-text-and-image-block p {
    color: white;
    font-weight: 300;
    margin-top: 35px;
    margin-bottom: 35px;
    font-size: 2.2rem;
    max-width: 90%;
}

.section-text-and-image-block .image {
    width: 50%;
}

.section-text-and-image-block .image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: clamp(150px, 37vw, 700px);
}

.section-text-and-image-block.low-height .image img {
    min-height: unset !important;
}

.section-text-and-image-block.smaller-title h2 {
    font-size: 4rem !important;
}

.section-text-and-image-block .green h4,
.section-text-and-image-block .green h2,
.section-text-and-image-block .green p {
    color: #008C69;
}

.section-text-and-image-block .block.image-left {
    flex-direction: row-reverse;
}

.section-text-and-image-block .larger-text-size .block .text {
    width: 60%;
    box-sizing: border-box;
}

.section-text-and-image-block .larger-text-size .block .image {
    width: 40%;
}

@media only screen and (max-width: 1248px) {
    .section-text-and-image-block .text {
        padding: 100px 70px;
    }

    .lines-highlight-alt::after {
        display: none !important;
    }
}

@media only screen and (max-width: 1024px) {
    .section-text-and-image-block .block {
        flex-direction: column-reverse;
    }
    
    .section-text-and-image-block .block.image-left {
        flex-direction: column-reverse;
    }
    
    .section-text-and-image-block .text {
        width: 100% !important;
        padding: 45px 40px;
    }
    
    .section-text-and-image-block h2 {
        font-size: 4rem;
    }
    
    .section-text-and-image-block .image {
        width: 100% !important;
        height: 50vw;
        max-height: 500px;
        min-height: 300px;
    }

    .section-text-and-image-block p {
        max-width: unset;
    }
}

/* Page Header */
h1 {
    color: #2b90a5;
    font-size: 6rem;
}

.section-page-header .container {
    display: flex;
    justify-content: space-between;
}

.section-page-header h1 {
    margin: unset;
}

.section-page-header .breadcrumb {
    display: flex;
    gap: 4px;
    align-items: center;
    color: #575757;
    flex-shrink: 0;
}

.section-page-header .breadcrumb .custom-dec::after {
    background-color: #575757;
}

.section-page-header .breadcrumb-current {
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .section-page-header .container {
        flex-direction: column-reverse;
    }
    
    .section-page-header h1 {
        width: 100%;
    }
    
    .section-page-header .breadcrumb {
        width: 100%;
    }
}

 /* News Section */
 .styled-select {
    border: unset;
    background-color: #FAFAFA;
    border-radius: 10px;
    position: relative;
    padding-right: 20px;
}

.styled-select select {
    padding: 20px 30px;
    border: unset;
    background-color: unset;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    font-family: "bonnie", sans-serif;
    font-size: 1.6rem;
}

.styled-select svg {
    fill: black !important;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.section-news-section #post-controls {
    display: flex;
    justify-content: right;
    gap: 20px;
    margin-bottom: 60px;
}

.section-news-section #posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2vw;
}

.section-news-section #posts .post a {
    font-size: clamp(1.4rem, 1.1vw, 1.9rem);
    color: white;
    font-weight: 500;
    margin-bottom: 20px;
    align-self: start;
}
 
.section-news-section #posts .post a::after {
    background-color: white;
}

.section-news-section #posts .post p.date {
    font-size: clamp(1.4rem, 1.1vw, 1.9rem);
    color: #16BF95;
    opacity: 0.87;
    margin-bottom: unset;
    margin-top: auto;
}

.section-news-section #posts .post .content {
    padding: 2.5vw 2.5vw 2.2vw 2.5vw;
}

.section-news-section .button-area {
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

.posts-spinner,
.search -spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #008c69;
    border-radius: 50%;
    animation: posts-spin 0.8s linear infinite;
    pointer-events: none;
}

@keyframes posts-spin {
    to { transform: rotate(360deg); }
}

@media only screen and (max-width: 1024px) {
    .section-news-section #posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .section-news-section #posts .pill-card .image-wrapper {
        height: 26vw;
    }
}

@media only screen and (max-width: 768px) {
    .section-news-section #posts {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
    }
    
    .section-news-section #posts .pill-card .image-wrapper {
        height: 56vw;
    }
    
    .section-news-section #posts .post .content {
        padding: 7.5vw 7.5vw 7.2vw 7.5vw;
    }

    .section-news-section #post-controls {
        justify-content: left;
        flex-direction: column;
        margin-bottom: 20px;
    }
}

/* Accordion */
.section-accordion .ac {
    border: unset;
    border-bottom: 2px solid #E6E6E6;
    margin-top: unset;
    max-width: 1400px;
    margin-inline: auto;
}

.section-accordion .ac:last-child {
    border: unset;
    border-bottom: unset;
}

.section-accordion .ac .ac-header {
    position: relative;
}

.section-accordion .ac h3.ac-header .ac-trigger {
    margin: unset;
    color: #2B90A5;
    font-size: 3.2rem;
    font-weight: 600;
    margin-inline: auto;
    line-height: 1.3;
    font-family: "bonnie", sans-serif;
    padding: 30px 0;
}

.section-accordion .ac h3.ac-header .ac-trigger::after {
    display: none;
}

.section-accordion .ac svg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 300ms ease;
    height: 40px;
    width: 40px;
}

.section-accordion .ac.is-active svg {
    transform: translateY(-50%) rotate(180deg);
}

.section-accordion .ac .ac-panel .ac-text {
    margin: unset;
    font-family: "bonnie", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    padding-top: 10px;
    padding-bottom: 20px;
}

.section-accordion .ac .ac-panel .ac-text p {
    margin: unset;
    font-size: 2.2rem;
}

@media only screen and (max-width: 768px) {
    .section-accordion .ac h3.ac-header .ac-trigger {
        font-size: 2.8rem;
        padding-right: 50px;
    }
}

.section-accordion .alternate-style .ac {
    background-color: #2B90A5;
    border-bottom: unset;
    max-width: unset;
    border-radius: 30px;
    margin-bottom: 30px;
    padding: 42px 10px 42px 50px;
}

.section-accordion .alternate-style .ac:last-child {
    margin-bottom: 0;
}

.section-accordion .alternate-style .ac h3.ac-header .ac-trigger {
    color: white;
    padding: 0;
}

.section-accordion .alternate-style .ac svg {
    fill: white !important;
    right: 50px;
}

.section-accordion .alternate-style .ac .ac-panel .ac-text {
    color: white;
    padding: unset;
    padding-bottom: 6px;
    padding-top: 20px;
    font-size: 1.9rem;
}

.section-accordion .ac .ac-panel .ac-text .custom-dec {
    font-weight: 500;
}

.section-accordion .ac .ac-panel .ac-text .custom-dec::after {
    background-color: white;
}

@media only screen and (max-width: 768px) {
    .section-accordion .alternate-style .ac {
        padding: 24px 5px 24px 25px;
    }
    
    .section-accordion .alternate-style .ac svg {
        right: 15px;
    }
}

/* Text & Image Box */
.section-text-and-box > .container {
    display: flex;
    justify-content: space-between;
    gap: 150px;
}

.section-text-and-box h2 {
    margin: unset;
    color: #2B90A5;
    margin-bottom: 15px;
    font-size: 3.8rem;
    line-height: 1;
    margin-bottom: 30px;
}

.section-text-and-box .main {
    width: 50%;
    font-size: 2.1rem;
}

.section-text-and-box .box {
    width: 50%;
}

.section-text-and-box .box .wrapper {
    width: 100%;
    background-color: #2B90A5;
    color: white;
    box-sizing: border-box;
    padding: 45px;
    border-radius: 30px;
    position: relative;
    font-size: 2.1rem;
}

.section-text-and-box .box h2 {
    color: white;
}

.section-text-and-box .box .custom-dec {
    font-weight: 500;
}

.section-text-and-box .box .custom-dec::after {
    background-color: white;
}

.section-text-and-box .box .content > *:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 1024px) {
    .section-text-and-box > .container { 
        gap: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .section-text-and-box > .container {
        flex-direction: column;
        gap: 60px;
    }
    
    .section-text-and-box .main {
        width: 100%;
    }
    
    .section-text-and-box .box {
        width: 100%;
    }
}

/* Contact Form */
.section-form form {
    max-width: 800px;
    margin-inline: auto;
}

.section-form .extra-text {
    max-width: 800px;
    margin-inline: auto;
    color: #7a7a7a;
    text-align: center;
    margin-top: 30px;
    margin-bottom: unset;
}

.gform_required_legend {
    display: none;
}

.gfield.gfield--input-type-text input,
.gfield.gfield--input-type-email input,
.gfield.gfield--input-type-phone input,
.gfield.gfield--input-type-select select,
.gfield.gfield--type-textarea textarea {
    border: unset !important;
    background-color: #F8F8F8 !important;
    box-shadow: unset !important;
    font-family: "bonnie", sans-serif !important;
    box-sizing: border-box !important;
    padding: 28px 20px !important;
    font-size: 1.8rem !important;
    border-radius: 10px !important;
}

.gfield.gfield--input-type-select select {
    padding: 0 20px !important;
    height: 56px !important;
    cursor: pointer;
}

.gfield.gfield--type-textarea textarea {
    padding: 10px 20px !important;
}

.gform-field-label {
    font-family: "bonnie", sans-serif !important;
    font-size: 1.7rem !important;
    font-weight: 400 !important;
    gap: 1px !important;
}

.gfield_required {
    color: black !important;
    font-family: "bonnie", sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
}

.gfield_description {
    color: black !important;
    font-family: "bonnie", sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    margin-top: 15px !important;
}

.gform_button[type="submit"] {
    color: white !important;
    background-color: #008C69 !important;
    border: unset !important;
    cursor: pointer !important;
    transition: background-color 200ms, color 200ms, transform 200ms !important;
    padding: 16px 32px !important;
    border-radius: 28px !important;
	-webkit-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
    font-size: 1.8rem !important;
    font-family: "bonnie", sans-serif !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.gform_button[type="submit"]:hover {
    background-color: black !important;
	transform: scale(1.05) !important;
    color: white !important;
}

.gform-theme--framework .gform_validation_errors {
    max-width: 800px;
    margin-inline: auto !important;
}

.gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    color: #c02b0a !important;
}

.gform_wrapper select:has(option.gf_placeholder:checked) {
    color: #999;
}

/* Gravity Forms: loading state on submit / next buttons */
.gform_wrapper .gform-has-spinner {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)) !important;
    cursor: progress;
    pointer-events: none;
}

.gform_wrapper .gform-has-spinner .gform-loader {
    width: 24px;
    height: 24px;
    border-width: 3px;
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}

/* Addresses */
.section-addresses > .container-fw {
    background-color: #2B90A5;
    border-radius: 62px;
}

.section-addresses .wrapper {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 90px 0;
    
    display: flex;
    flex-direction: column;
}

.section-addresses .wrapper > h2 {
    color: white;
    margin: unset;
    position: relative;
}

.section-addresses .wrapper > h2::after {
    content: "";
    background-image: url('./assets/images/curved-line.svg');
    width: 200px;
    height: 60px;
    transform: rotate(180deg);
    position: absolute;
    z-index: 2;
    background-position: center;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    pointer-events: none;
    bottom: -80px;
    left: 160px;
}

.section-addresses .addresses {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 140px;
    row-gap: 30px;
}

.section-addresses .content {
    color: white;
}

.section-addresses .content h3 {
    margin-top: unset;
}

.section-addresses .content p {
    font-size: 2rem;
}

.section-addresses .content .custom-dec::after {
    background-color: white;
}

@media only screen and (max-width: 1248px) {
    .section-addresses .addresses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 768px) {
    .section-addresses .addresses {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* Testimonials */
.section-testimonials .swiper {
    width: 100%;
    max-width: 1400px;
    height: auto;
}

.section-testimonials .swiper-slide {
    height: auto;
}

.section-testimonials .swiper-slide .wrapper {
    border: 2px solid #EDDD59;
    border-radius: 10px;
    height: 100%;
    box-sizing: border-box;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-testimonials .quote {
    font-size: 2.4rem;
    font-style: italic;
    font-weight: 400;
    text-align: center;
    margin: unset;
}

.section-testimonials .name {
    margin: unset;
    text-align: center;
    color: #2B90A5;
    font-size: 2.6rem;
    font-weight: 600;
    margin-top: 30px;
}

@media only screen and (max-width: 1248px) {
    .section-testimonials .swiper-slide .wrapper {
        padding: 30px 20px;
    }
}

@media only screen and (max-width: 768px) { 
    .section-testimonials > .container {
        width: 100% !important;
        max-width: unset !important;
    }
    
    .section-testimonials .swiper-slide .wrapper {
        margin: 0 20px;
    }
}

/* Timeline */
.section-timeline {
    width: 100vw;
    overflow: hidden;
}

.section-timeline .mobile {
    display: none !important;
}

.section-timeline .swiper {
    width: 150%;
    margin-left: -25%;
    height: auto;
}

.section-timeline .wrapper .date {
    color: #2B90A5;
    margin: 0;
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-timeline .wrapper .text {
    text-align: center;
    margin: 0;
    font-size: 2rem;
    font-weight: 400;
    max-width: 435px;
    margin-inline: auto;
    padding-bottom: 40px;
}

@media only screen and (max-width: 768px) {    
    .section-timeline .mobile {
        display: block !important;
    }
    
    .section-timeline .desktop {
        display: none !important;
    }
}

/* Bonus */
.title-max-width-500 h2 {
    max-width: 500px;
}

.title-max-width-530 h2 {
    max-width: 530px;
}

.title-max-width-400 h2 {
    max-width: 400px;
}

.title-max-width-630 h2 {
    max-width: 630px;
}

@media only screen and (max-width: 1520px) {
    .section-text-and-image-block h2 {
        font-size: 4.8rem;
    }
    
    .title-max-width-500 h2 {
        max-width: 400px !important;
    }
    
    .title-max-width-400 h2 {
        max-width: 300px !important;
    }

    .title-max-width-630 h2 {
        max-width: 500px;
    }
}

@media only screen and (max-width: 768px) {
    .section-text-and-image-block h2 {
        font-size: 3.7rem;
    }
}

.section-text-and-image-block .lines-highlight-alt::after {
    right: 20px;
}


@media only screen and (max-width: 1700px) {
    .section-text-and-image-block .lines-highlight-alt::after {
        right: -2vw;
    }
}

@media only screen and (max-width: 1520px) {
    .section-text-and-image-block .lines-highlight-alt::after {
        right: 0vw;
    }
}

/* =========================================================
   "A Day in the Life" story section
   Scoped to .section-standard-content.story only
   ========================================================= */

.section-standard-content.story .content {
    --story-bg: #f2f8f9;       /* soft teal tint for the mobile card */
    --story-accent: #2b90a5;   /* brand teal (matches the h2 colour) */
}

/* ---------- Shared typography ---------- */
.section-standard-content.story .content p {
    font-size: 19px;
    line-height: 1.55;
    margin: 0 0 0.85em;
}

/* "Beep-beep-beep" opening line as a teal kicker */
.section-standard-content.story .content h2 + p {
    color: var(--story-accent);
    font-size: 21px;
}

/* Drop cap on the first real paragraph */
.section-standard-content.story .content h2 + p + p::first-letter {
    float: left;
    font-size: 3.4em;
    line-height: 0.8;
    font-weight: 700;
    color: var(--story-accent);
    padding: 6px 10px 0 0;
}

/* "– A CM Care Support Worker" sign-off */
.section-standard-content.story .content p:last-child {
    color: var(--story-accent);
    margin-bottom: 0;
}


/* ---------- Desktop: full-width newspaper columns ---------- */
@media (min-width: 1025px) {
    .section-standard-content.story .content {
        max-width: none;
        margin: 0;
        text-align: left;
        columns: 3 320px;            /* 3 columns, drops to 2 when narrower */
        column-gap: clamp(40px, 4vw, 80px);
        column-rule: 1px solid rgba(43, 144, 165, 0.25);
    }

    .section-standard-content.story .content h2 {
        column-span: all;            /* headline spans every column */
        text-align: center;
        max-width: 1400px;
        margin: 0 auto 50px;
    }

    .section-standard-content.story .content p {
        break-inside: avoid;         /* never split a paragraph across columns */
    }
}


/* ---------- Tablet & mobile: contained "story card" ---------- */
@media (max-width: 1024px) {
    .section-standard-content.story .content {
        max-width: 750px;
        max-height: min(75svh, 720px);
        overflow-y: auto;
        overscroll-behavior-y: auto; /* hands scroll back to the page at the ends */
        text-align: left;
        background: var(--story-bg);
        border-radius: 20px;
        padding: 0 24px 60px;
        scrollbar-width: thin;
        scrollbar-color: var(--story-accent) transparent;
    }

    .section-standard-content.story .content h2 {
        text-align: left;
        font-size: clamp(24px, 6vw, 34px);
        line-height: 1.15;
        margin: 4px 0 20px;
    }

    .section-standard-content.story .content p {
        font-size: 17px;
    }

    .section-standard-content.story .content h2 + p {
        font-size: 18px;
    }

    /* Solid strip at the top so text scrolls cleanly underneath */
    .section-standard-content.story .content::before {
        content: "";
        position: sticky;
        top: 0;
        z-index: 2;
        display: block;
        height: 24px;
        margin: 0 -24px;
        background: linear-gradient(var(--story-bg) 55%, transparent);
    }

    /* Fade at the bottom hints there's more to read */
    .section-standard-content.story .content::after {
        content: "";
        position: sticky;
        bottom: -60px;
        display: block;
        height: 80px;
        margin: -20px -24px -60px;
        background: linear-gradient(transparent, var(--story-bg) 75%);
        pointer-events: none;
    }

    /* Reading progress bar in the top strip
       (progressive enhancement: browsers without scroll-driven
       animations just get the strip with no bar) */
    @supports (animation-timeline: scroll()) {
        .section-standard-content.story .content::before {
            background:
                linear-gradient(var(--story-accent), var(--story-accent)) top left / 0% 5px no-repeat,
                linear-gradient(var(--story-bg) 55%, transparent);
            animation: story-progress linear both;
            animation-timeline: scroll(nearest block);
        }

        @keyframes story-progress {
            from { background-size: 0% 5px, 100% 100%; }
            to   { background-size: 100% 5px, 100% 100%; }
        }
    }
}

/* Complianz */

/* =========================================================
   Complianz legal documents (Cookie Policy etc.)
   Brings #cmplz-document in line with the rest of the site.
   "body" prefix beats Complianz's own #cmplz-document rules.
   ========================================================= */

body #cmplz-document {
    --legal-accent: #2b90a5;    /* brand teal (headings) */
    --legal-green: #008c69;     /* brand green (buttons/toggles) */
    --legal-tint: #f2f8f9;      /* soft teal panel */

    width: var(--container-width);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 35px 0 70px;
    font-family: inherit;
    color: #000;
}

/* Keep a comfortable reading width, aligned to the site's left edge */
body #cmplz-document > * {
    max-width: 900px;
}

/* Page title (the page has no header block, so add one visually) */
body #cmplz-document.cookie-statement::before {
    content: "Cookie Policy";
    display: block;
    margin: 0 0 40px;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.1;
    font-weight: 700;
    color: var(--legal-accent);
}


/* ---------- Typography ---------- */
body #cmplz-document p,
body #cmplz-document li {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
}

body #cmplz-document > p {
    margin: 0 0 1em;
}

body #cmplz-document h2 {
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--legal-accent);
    margin: 50px 0 16px;
    padding: 0;
}

body #cmplz-document h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #000;
    margin: 30px 0 12px;
    padding: 0;
}

body #cmplz-document h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--legal-accent);
    margin: 18px 0 6px;
}

body #cmplz-document h5 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #575757;
    margin: 0;
}

body #cmplz-document a {
    color: var(--legal-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
}

body #cmplz-document a:hover {
    color: var(--legal-green);
}

body #cmplz-document ul {
    padding-left: 1.4em;
    margin: 0 0 1.2em;
}

body #cmplz-document ul li {
    list-style: disc;
    margin-bottom: 0.4em;
}

body #cmplz-document ul li::marker {
    color: var(--legal-accent);
}


/* ---------- "Placed cookies" dropdowns ---------- */
body #cmplz-document .cmplz-dropdown {
    background: var(--legal-tint);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
}

body #cmplz-document .cmplz-dropdown summary {
    background: transparent;
    padding: 16px 20px;
}

body #cmplz-document .cmplz-dropdown summary:hover {
    background: rgba(43, 144, 165, 0.08);
}

body #cmplz-document .cmplz-dropdown summary h3 {
    font-size: 18px;
    margin: 0;
}

body #cmplz-document .cmplz-dropdown summary p {
    font-size: 14px;
    color: #575757;
}

body #cmplz-document .cmplz-dropdown[open] summary {
    border-bottom: 1px solid rgba(43, 144, 165, 0.2);
}

body #cmplz-document .cmplz-dropdown > div:not(.cookies-per-purpose) {
    padding: 0 20px;
    box-sizing: border-box;
}

body #cmplz-document .cmplz-dropdown p,
body #cmplz-document .cookies-per-purpose div {
    font-size: 16px;
}

/* Cookie tables: Complianz draws the grid lines with a grey background,
   so recolour that to a soft teal and round the corners */
body #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
    background: rgba(43, 144, 165, 0.18);
    border: 1px solid rgba(43, 144, 165, 0.18);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    margin: 12px 20px;
}

body #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose:last-child {
    margin-bottom: 20px;
}

body #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose [class$="-header"] {
    background: var(--legal-tint);
}


/* ---------- "Manage your consent settings" ---------- */
body #cmplz-document #cmplz-manage-consent-container .cmplz-category {
    background: var(--legal-tint);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
}

body #cmplz-document #cmplz-manage-consent-container .cmplz-category-header {
    background: transparent;
    padding: 14px 20px;
}

body #cmplz-document #cmplz-manage-consent-container .cmplz-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

body #cmplz-document #cmplz-manage-consent-container .cmplz-always-active {
    color: var(--legal-green);
    font-weight: 600;
    font-size: 14px;
}

body #cmplz-document #cmplz-manage-consent-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--legal-green);
    cursor: pointer;
}

body #cmplz-document #cmplz-manage-consent-container .cmplz-description {
    padding: 0 20px 16px;
    font-size: 16px;
}


/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    body #cmplz-document {
        padding: 20px 0 50px;
    }

    body #cmplz-document p,
    body #cmplz-document li {
        font-size: 16px;
    }

    body #cmplz-document h2 {
        margin-top: 40px;
    }
}

/* =========================================================
   Privacy Policy: .section-standard-content.policy-doc
   Matches the Cookie Policy styling (left-aligned, readable
   width, teal headings, rounded tables).
   ========================================================= */

.section-standard-content.policy-doc .content {
    --policy-accent: #2b90a5;   /* brand teal */
    --policy-green: #008c69;    /* brand green */
    --policy-tint: #f2f8f9;     /* soft teal panel */

    max-width: 900px;
    margin: 0;                  /* align with the page title, not centred */
    text-align: left;
}


/* ---------- Typography ---------- */
.section-standard-content.policy-doc .content p,
.section-standard-content.policy-doc .content li {
    font-size: 18px;
    line-height: 1.6;
}

.section-standard-content.policy-doc .content p {
    margin: 0 0 1em;
}

/* Intro paragraph */
.section-standard-content.policy-doc .content > p:first-child {
    font-size: 21px;
    line-height: 1.5;
    color: var(--policy-accent);
    margin-bottom: 1.4em;
}

.section-standard-content.policy-doc .content h2 {
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.2;
    text-align: left;
    margin: 50px 0 16px;
}

.section-standard-content.policy-doc .content strong {
    font-weight: 600;
}

.section-standard-content.policy-doc .content a {
    color: var(--policy-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
}

.section-standard-content.policy-doc .content a:hover {
    color: var(--policy-green);
}


/* ---------- Lists ---------- */
.section-standard-content.policy-doc .content ul,
.section-standard-content.policy-doc .content ol {
    padding-left: 1.4em;
    margin: 0 0 1.2em;
    text-align: left;
}

.section-standard-content.policy-doc .content ul li {
    list-style: disc;
}

.section-standard-content.policy-doc .content ol li {
    list-style: decimal;
}

.section-standard-content.policy-doc .content li {
    margin-bottom: 0.4em;
}

.section-standard-content.policy-doc .content li::marker {
    color: var(--policy-accent);
    font-weight: 600;
}


/* ---------- Tables ---------- */
.section-standard-content.policy-doc .content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(43, 144, 165, 0.25);
    border-radius: 16px;
    overflow: hidden;
    margin: 10px 0 1.4em;
    text-align: left;
}

.section-standard-content.policy-doc .content th,
.section-standard-content.policy-doc .content td {
    padding: 14px 18px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid rgba(43, 144, 165, 0.15);
}

.section-standard-content.policy-doc .content th {
    background: var(--policy-tint);
    color: var(--policy-accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.section-standard-content.policy-doc .content td + td,
.section-standard-content.policy-doc .content th + th {
    border-left: 1px solid rgba(43, 144, 165, 0.15);
}

.section-standard-content.policy-doc .content tbody tr:last-child td {
    border-bottom: 0;
}

.section-standard-content.policy-doc .content tbody tr:nth-child(even) td {
    background: #fbfdfd;
}


/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .section-standard-content.policy-doc .content p,
    .section-standard-content.policy-doc .content li {
        font-size: 16px;
    }

    .section-standard-content.policy-doc .content > p:first-child {
        font-size: 18px;
    }

    .section-standard-content.policy-doc .content h2 {
        margin-top: 40px;
    }

    /* Tables scroll sideways instead of squashing */
    .section-standard-content.policy-doc .content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .section-standard-content.policy-doc .content table th,
    .section-standard-content.policy-doc .content table td {
        min-width: 160px;
        font-size: 15px;
        padding: 12px 14px;
    }
}

/* Single post: featured image */
.single-post .main .featured-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 640px;
    object-fit: cover;
    border-radius: 20px;
    margin: 30px 0 50px;
}

@media (max-width: 768px) {
    .single-post .main .featured-image {
        border-radius: 16px;
        margin: 20px 0 30px;
    }
}

.error404-content {
    text-align: center;
    padding: 120px 0;
}