/*
Theme Name: Bones
Author: Deeper Blue
Description: Custom Stripped Back Shell Theme
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bare-boilerplate
*/

/*
CONTENTS
* Homepage Custom Code
* Subpage Custom Code
1. Global defaults
2. Page layout
3. Accessibility
4. Header and logo
5. Primary navigation
6. Footer
7. Desktop dropdowns — 768px and above
8. Mobile header and navigation — 767px and below
9. Mobile footer — 600px and below
*/

/* ==========================================================================
   SUBPAGE CUSTOM CODE
   ========================================================================== */

/* Level Up Futures cookie policy table */
.luf-cookie-table {
    width: 100%;
    margin: 24px 0 32px;
    border-collapse: collapse;
    border: 1px solid #c6d8e2;
    font-family: Lato, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #252a34;
}

.luf-cookie-table th,
.luf-cookie-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.luf-cookie-table thead th {
    background: #002A78;
    color: #fff;
    border-bottom: 3px solid #01D2BC;
    font-weight: 700;
}

.luf-cookie-table tbody td {
    border-bottom: 1px solid #c6d8e2;
    background: #fff;
}

.luf-cookie-table tbody tr:nth-child(even) td {
    background: #D6F9FD;
}

.luf-cookie-table td code {
    padding: 0.1em 0.3em;
    border-radius: 3px;
    background: #eef5f8;
    color: #002A78;
    font-size: 0.85em;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .luf-cookie-table {
        table-layout: fixed;
        font-size: 14px;
    }

    .luf-cookie-table th,
    .luf-cookie-table td {
        padding: 10px 8px;
        overflow-wrap: anywhere;
    }
}

/* Level Up Futures contact form */
.luf-contact-card {
    padding: clamp(20px, 3vw, 36px);
    background: #fff;
    border: 1px solid #d8dce2;
    border-radius: 6px;
    color: #252a34;
    font-family: Lato, sans-serif;
}

.luf-contact-card h2 {
    margin: 0 0 8px;
    color: #002A78;
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 900;
    line-height: 1.15;
}

.luf-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
}

.luf-contact-field {
    min-width: 0;
}

.luf-contact-field br { display: none; }

.luf-contact-field.luf-field-wide {
    grid-column: 1 / -1;
}

.luf-contact-field label {
    display: block;
    margin-bottom: 6px;
    color: #002A78;
    font-weight: 700;
}

.luf-contact-field .wpcf7-form-control-wrap {
    display: block;
}

.luf-contact-field input,
.luf-contact-field select,
.luf-contact-field textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #788397;
    border-radius: 4px;
    background: #fff;
    color: #252a34;
    font: inherit;
    font-size: 16px;
}

.luf-contact-field textarea {
    height: 132px;
    resize: vertical;
}

.luf-contact-card .luf-form-note,
.luf-contact-card .luf-privacy-note {
    font-size: 14px;
    line-height: 1.5;
}

.luf-contact-card .luf-form-note {
    margin: 0 0 12px;
}

.luf-contact-card .luf-privacy-note {
    margin: 16px 0;
}

.luf-privacy-note a {
    color: #002A78;
    text-decoration: underline;
}

.luf-contact-submit input[type="submit"] {
    min-height: 46px;
    padding: 12px 26px;
    border: 0;
    border-radius: 5px;
    background: #01D2BC;
    color: #002A78;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.luf-contact-submit input[type="submit"]:hover {
    background: #00bfae;
}

.luf-contact-card :is(input, select, textarea, a):focus-visible {
    outline: 2px solid #002A78;
    outline-offset: 3px;
}

.luf-contact-card .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #a12626;
    font-size: 14px;
}

.luf-contact-card [aria-invalid="true"] {
    border-color: #a12626;
}

@media (max-width: 767px) {
    .luf-contact-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

.futures-cta .futures-cta-button.inline { display: inline-block !important; margin-top: 25px; margin-right: 10px; }
.animation-right { min-height: 47px; }

/* Get Involved audience cards */
.luf-involved-cards.vc_row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 40px;
}

/* WPBakery adds clearfix pseudo-elements to rows. */
.luf-involved-cards.vc_row::before,
.luf-involved-cards.vc_row::after {
    display: none;
}

.luf-involved-cards > .wpb_column {
    display: flex;
    width: 100%;
    min-width: 0;
    float: none;
}

.luf-involved-cards > .wpb_column > .vc_column-inner {
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d8dce2;
    border-radius: 5px;
}

/* Shallow photos that span each card. */
.luf-involved-cards .wpb_single_image {
    margin: 0;
}

.luf-involved-cards .wpb_single_image .vc_figure,
.luf-involved-cards .wpb_single_image .vc_single_image-wrapper {
    display: block;
    width: 100%;
}

.luf-involved-cards .wpb_single_image img {
    display: block;
    width: 100%;
    height: clamp(100px, 9vw, 140px);
    object-fit: cover;
    object-position: center 45%;
}

/* Card text */
.luf-involved-cards .luf-involved-copy {
    margin: 0;
    padding: 20px 24px 24px;
}

.luf-involved-cards .luf-involved-copy h2 {
    margin: 0 0 12px;
    color: #002A78;
    font-size: 25px;
    font-weight: 900;
	font-family: 'Lato', sans-serif;
    line-height: 1.18;
}

.luf-involved-cards .luf-involved-copy p {
    margin: 0;
    color: #1A2DB5;
    font-family: 'Lato', sans-serif;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .luf-involved-cards.vc_row {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .luf-involved-cards .wpb_single_image img {
        height: 125px;
    }
}

.progression-section.white .progression-card .vc_column-inner .wpb_text_column { border: 1px solid #dcdcdc; border-radius: 15px; }
.progression-section.white .progression-card .progression-content { border-radius: 0px; background: initial !important; }
.progression-section.white .progression-card .progression-content p { font-size: 19px !important; }
.progression-section.white .progression-card .progression-content h3 { font-size: 25px; }
.progression-section.white .progression-card .progression-content .support-icons { max-width: 130px; text-align: center; margin: 10px auto; }
.progression-section.white .progression-card .progression-content::after { display: none; }

.progression-section .progression-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
}

.progression-section .progression-number img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}


/* Important boundary panel */
.financial-boundary {
    margin: 20px 0 0;
    padding: 20px 26px;
    border-left: 8px solid #01D2BC;
    border-radius: 8px;
    background: #D6F9FD;
}

.financial-boundary h3 {
    margin: 0 0 8px;
    color: #002A78;
    font-family: 'Lato', sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.3;
}

.financial-boundary p {
    margin: 0;
    color: #1A2DB5;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 767px) {
    .financial-boundary {
        padding: 18px;
        border-left-width: 6px;
    }

    .financial-boundary h3 {
        font-size: 20px;
    }
}

/* Section heading */
.progression-section h2 {
    margin: 0 0 20px;
    color: #002A78;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
}

/* Remove WPBakery's default gap below the heading */
.progression-section > .wpb_column
> .vc_column-inner > .wpb_wrapper
> .wpb_text_column {
    margin-bottom: 0;
}

/* Two cards per row */
.progression-section .progression-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -8px 16px;
}

.progression-section .progression-row:last-child {
    margin-bottom: 0;
}

.progression-row::before,
.progression-row::after {
    display: none;
}

/* Card columns */
.progression-row > .progression-card {
    display: flex;
    float: none;
    width: 50%;
    padding: 0 8px;
}

.progression-row > .progression-card > .vc_column-inner {
    display: flex;
    width: 100%;
    padding: 0;
}

.progression-card > .vc_column-inner > .wpb_wrapper {
    display: flex;
    width: 100%;
}

.progression-card .wpb_text_column,
.progression-card .wpb_text_column > .wpb_wrapper {
    display: flex;
    width: 100%;
    margin-bottom: 0;
}

/* White card */
.progression-content {
    position: relative;
    width: 100%;
    padding: 22px 44px 22px 76px;
    border-radius: 10px;
    background: #FFFFFF;
}

/* Numbered circle */
.progression-number {
    position: absolute;
    top: 20px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #01D2BC;
    color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

/* Stage heading */
.progression-content h3 {
    margin: 0 0 9px;
    color: #002A78;
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.3;
}

/* Stage description */
.progression-content p {
    margin: 0;
    color: #1A2DB5;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

/* Decorative arrow */
.progression-content::after {
    content: "";
    position: absolute;
    top: 27px;
    right: 17px;
    width: 20px;
    height: 18px;
    background: #01D2BC;
    clip-path: polygon(
        0 43%,
        73% 43%,
        43% 10%,
        53% 0,
        100% 50%,
        53% 100%,
        43% 90%,
        73% 57%,
        0 57%
    );
	transform: rotate(90deg);
}

/* Mobile */
@media (max-width: 767px) {
    .progression-section h2 {
        font-size: 25px;
    }

    .progression-row > .progression-card {
        width: 100% !important;
    }

    .progression-row > .progression-card
    + .progression-card {
        margin-top: 16px;
    }

    .progression-content {
        padding: 20px 38px 20px 66px;
    }

    .progression-number {
        top: 19px;
        left: 15px;
        width: 36px;
        height: 36px;
        font-size: 23px;
    }

    .progression-content h3 {
        font-size: 19px;
    }

    .progression-content::after {
        top: 25px;
        right: 13px;
        width: 18px;
        height: 16px;
    }
}

/* Align the pathway section with the surrounding content */
.progression-section > .wpb_column > .vc_column-inner {
    padding-left: 15px !important;
    padding-right: 15px !important;
}


.living-help.borders .living-help-row .living-help-card .vc_column-inner { border: 1px solid #cccccc; border-radius: 5px; padding: 8px 18px 8px 68px; min-height: 54px; }

/* Independent Living page banner */
.pillar-header {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 38px;
    padding-bottom: 38px;
}

/* Remove WPBakery clearfix items from the flex layout */
.pillar-header::before,
.pillar-header::after {
    display: none !important;
}

/* Remove default element spacing */
.pillar-header .wpb_text_column,
.pillar-header .wpb_single_image {
    margin-bottom: 0;
}

/* Pillar number */
.pillar-header .pillar-label {
    margin: 0 0 8px;
    color: #01d2bc;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

/* Description */
.pillar-header .pillar-description {
    margin: 0;
    color: #002A78;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
}

/* Right-hand icon */
.pillar-header .pillar-header-icon {
    text-align: center;
}

.pillar-header .pillar-header-icon img {
    width: 160px !important;
    max-width: 100%;
    height: auto !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {

    .pillar-header .pillar-description {
        font-size: 19px;
    }

    .pillar-header .pillar-header-icon img {
        width: 130px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pillar-header {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .pillar-header > .wpb_column {
        width: 100% !important;
    }

    .pillar-header .pillar-description {
        font-size: 17px;
    }

    .pillar-header .pillar-header-icon {
        margin-top: 22px;
    }

    .pillar-header .pillar-header-icon img {
        width: 110px !important;
    }
}

/* Crop the oversized artwork at the banner edges */
.pillar-header {
    position: relative;
    overflow: hidden;
}

/* Position artwork relative to the whole banner */
.pillar-header > .wpb_column:last-child,
.pillar-header > .wpb_column:last-child > .vc_column-inner,
.pillar-header > .wpb_column:last-child > .vc_column-inner > .wpb_wrapper {
    position: static;
}

.pillar-header .pillar-header-icon {
    position: absolute;
    top: 36%;
    right: 167px;
    width: 23%;
    margin: 0;
    transform: translateY(-47%);
    pointer-events: none;
}

.pillar-header .pillar-header-icon .vc_figure,
.pillar-header .pillar-header-icon .vc_single_image-wrapper {
    display: block;
    width: 100%;
}

.pillar-header .pillar-header-icon img {
    display: block;
    width: 100% !important;
    max-width: none;
    height: auto !important;
}

/* Mobile: display beneath the text */
@media (max-width: 767px) {
    .pillar-header .pillar-header-icon {
        position: relative;
        top: auto;
        right: auto;
        width: 180px;
        margin: 22px auto 0;
        transform: none;
    }
}

.subpage-intro p { font-size: 30px; line-height: 44px; color: #1A2DB5; }

/* ==================================================
   WHAT WE HELP WITH
   ================================================== */

/* Section heading */
.living-help h2 {
    margin: 0 0 18px;
    color: #002A78;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
}

/* Heading Text Block spacing */
.living-help > .wpb_column > .vc_column-inner
> .wpb_wrapper > .wpb_text_column {
    margin-bottom: 0;
}

/* Rows of cards */
.living-help .living-help-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -6px 12px;
}

.living-help .living-help-row::before,
.living-help .living-help-row::after {
    display: none;
}

.living-help .living-help-row:last-child {
    margin-bottom: 0;
}

/* Card columns */
.living-help-row > .living-help-card {
    display: flex;
    float: none;
    padding: 0 6px;
    box-sizing: border-box;
}

/* White card surface */
.living-help-row > .living-help-card > .vc_column-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 76px;
    padding: 16px 18px 16px 68px;
    background: #FFFFFF;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Turquoise circle */
.living-help-card > .vc_column-inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    display: block;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: #01BFAE;
}

/* White tick */
.living-help-card > .vc_column-inner::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    display: block;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M11 18.5l5 5 9-11' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}

/* Card copy */
.living-help-card .wpb_text_column {
    margin: 0;
}

.living-help-card p {
    margin: 0;
    color: #1A2DB5;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
}

/* Mobile: stack the boxes */
@media (max-width: 767px) {
    .living-help h2 {
        font-size: 25px;
    }

    .living-help-row > .living-help-card {
        width: 100% !important;
        margin-bottom: 12px;
    }

    .living-help-row > .living-help-card:last-child {
        margin-bottom: 0;
    }

    .living-help-row > .living-help-card > .vc_column-inner {
        padding-right: 16px;
    }
}

/* How support could look */
.living-support h2 {
    margin: 0 0 18px;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    color: #002A78;
}

/* Remove default spacing below the heading */
.living-support > .wpb_column > .vc_column-inner
> .wpb_wrapper > .wpb_text_column {
    margin-bottom: 0;
}

/* Image and text side by side */
.living-support-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.living-support-row::before,
.living-support-row::after {
    display: none;
}

.living-support-row > .wpb_column {
    float: none;
    width: 50%;
}

/* Photograph */
.living-support-image {
    margin-bottom: 0;
}

.living-support-image .vc_figure,
.living-support-image .vc_single_image-wrapper {
    display: block;
    width: 100%;
}

.living-support-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Supporting text */
.living-support-row .wpb_text_column {
    margin-bottom: 0;
}

.living-support-row p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.6;
    color: #1A2DB5;
}

/* Mobile: photograph above text */
@media (max-width: 767px) {
    .living-support h2 {
        font-size: 25px;
    }

    .living-support-row > .wpb_column {
        width: 100% !important;
    }

    .living-support-row > .wpb_column + .wpb_column {
        margin-top: 20px;
    }

    .living-support-row p {
        font-size: 16px;
    }
}

/* The difference we want to make */
.living-difference {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.living-difference::before,
.living-difference::after {
    display: none;
}

/* Icon column */
.living-difference > .living-difference-icon {
    float: none;
    flex: 0 0 200px;

}

.living-difference-icon .wpb_single_image {
    margin-bottom: 0;
    text-align: center !important;
}

.living-difference-icon .vc_figure,
.living-difference-icon .vc_single_image-wrapper {
    display: inline-block;
    max-width: 100%;
}

.living-difference-icon img {
    display: block;
    width: 100%;
    height: auto;
}

/* Text column */
.living-difference > .living-difference-copy {
    float: none;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.living-difference-copy .wpb_text_column {
    margin-bottom: 0;
}

.living-difference-copy h2 {
    margin: 0 0 8px;
    color: #002A78;
    font-family: 'Lato', sans-serif;
    font-size: 47px;
    font-weight: 900;
    line-height: 1.2;
}

.living-difference-copy p {
    margin: 0;
    color: #1A2DB5;
    font-family: 'Lato', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 767px) {
    .living-difference {
        flex-direction: column;
        align-items: center;
    }

    .living-difference > .living-difference-icon {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 0px;
		text-align: center;
    }

    .living-difference > .living-difference-copy {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }

    .living-difference-icon .vc_figure,
    .living-difference-icon .vc_single_image-wrapper {
        width: 150px;
    }
	
	.living-difference-icon .vc_single_image-wrapper img { text-align: center !important; }

    .living-difference-copy h2 {
        font-size: 25px;
    }

    .living-difference-copy p {
        font-size: 16px;
    }
}

body.page-template-subpage-template .site-main { border-top: 2px solid #efefef; }

/* Subpage breadcrumbs */
.subpage-breadcrumbs {
    box-sizing: border-box;
    width: 100%;
    padding: 16px 0;
    background: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* Match the content width used elsewhere on the site */
.subpage-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;

    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
    list-style: none;
}

.subpage-breadcrumbs li {
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

/* Blue slash separators */
.subpage-breadcrumbs li + li::before {
    content: "/";
    color: #1A2DB5;
    font-weight: 700;
}

/* Parent-page links */
.subpage-breadcrumbs a {
    color: #1A2DB5;
    text-decoration: none;
}

.subpage-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Current page */
.subpage-breadcrumbs li[aria-current="page"] {
    color: #444444;
    font-weight: 400;
}

.subpage-breadcrumbs a:focus-visible {
    outline: 2px solid #002A78;
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 767px) {
    .subpage-breadcrumbs {
        padding: 12px 0;
        font-size: 13px;
    }

    .subpage-breadcrumbs ol {
        padding-inline: 20px;
        column-gap: 10px;
    }

    .subpage-breadcrumbs li {
        gap: 10px;
    }
}

/* Full browser-width breadcrumb background */
.subpage-breadcrumbs {
    position: relative;
    isolation: isolate;
    background: transparent;
}

.subpage-breadcrumbs::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #FFFFFF;
    box-shadow: 0 0 0 100vmax #FFFFFF;
    clip-path: inset(0 -100vmax);
    pointer-events: none;
}

/* ==========================================================================
   HOMEPAGE CUSTOM CODE
   ========================================================================== */

@media screen and (max-width: 620px) {
	.site-main { padding: 0 2rem !important; }
}

/* Responsive Switch-Out for Slider on Homepage */

@media screen and (min-width: 769px) and (max-width: 1920px) {
	body.home .highres-slider { display: none; }
	body.home .mobile-slider { display: none; }
	body.home .standard-slider { display: block; }
}

@media screen and (min-width: 1921px) {
	body.home .highres-slider { display: block; }
	body.home .standard-slider { display: none; }
	body.home .mobile-slider { display: none; }
}

@media screen and (max-width: 768px) {
	body.home .mobile-slider { display: block; }
	body.home .standard-slider { display: none; }
	body.home .highres-slider { display: none; }
}


.four-pillars-home .wpb_single_image { margin-bottom: 15px !important; }
.four-pillars-home img { max-width: 110px !important; }
.four-pillars-home .vc_column-inner { border-radius: 10px; padding-bottom: 15px; }
.four-pillars-home h3 { font-size: 25px !important; }
.read-more { margin-top: 20px !important; }
.read-more a { background-color: initial !important; color: #01D2BC !important; font-weight: 900; padding: 0px 53px !important; font-size: 21px !important; margin-right: 27px; font-family: 'Lato', sans-serif; }
.four-pillars-home .vc_btn3-icon { line-height: 19px !important; }

@media screen and (max-width: 1492px) and (min-width:768px) {
	.four-pillars-home .vc_column_container.vc_col-xl-3 { width: 50% !important; }
}


.who-we-support img { border-radius: 15px; }

@media screen and (max-width: 1399px) and (min-width:992px) {
	.who-we-support .vc_column_container.vc_col-xl-6 { width: 50% !important; }
	
}


@media screen and (max-width: 1399px) and (min-width:992px) {
	.who-we-support .vc_col-xl-2 { width: 25%; }
	.who-we-support .vc_col-xl-10 { width: 75%; }
	
}

@media screen and (max-width: 991px) and (min-width:320px) {
	.who-we-support .vc_col-xl-2 { width: 25%; }
	.who-we-support .vc_col-xl-2 .wpb_single_image.vc_align_right { text-align: center !important; }
	.who-we-support .vc_col-xl-10 { width: 75%; }
	.who-we-support { padding-bottom: 30px !important; }
	.who-we-support .vc_column-inner { padding-top: 0px !important; }
	.who-we-support .bullseye-wrapper .vc_column-inner { padding-top: 30px !important; }
}


.how-it-works p { margin-top: 0px; }

/* How it works: card spacing */
.how-it-works-steps {
    --step-gap: 44px;

    display: flex;
    flex-wrap: wrap;
}

/* Three equal columns */
.how-it-works-steps > .how-it-works-step {
    position: relative;
    float: none;
    width: 33.333333%;
    padding: 0 calc(var(--step-gap) / 2);
    overflow: visible;
}

/* White card */
.how-it-works-steps > .how-it-works-step > .vc_column-inner {
    height: 100%;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
}

/* Arrow between cards */
.how-it-works-steps > .how-it-works-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -13px;
    width: 26px;
    height: 22px;
    transform: translateY(-50%);
    background: #01BFAE;
    clip-path: polygon(
        0 44%,
        76% 44%,
        48% 10%,
        57% 0,
        100% 50%,
        57% 100%,
        48% 90%,
        76% 56%,
        0 56%
    );
    pointer-events: none;
    z-index: 2;
}

/* Mobile: stack cards and hide arrows */
@media (max-width: 1178px) {
    .how-it-works-steps > .how-it-works-step {
        width: 100%;
        margin-bottom: 16px;
    }

    .how-it-works-steps > .how-it-works-step:last-child {
        margin-bottom: 0;
    }

    .how-it-works-steps > .how-it-works-step::after {
        display: none;
    }
}

/* Number and text inside each card */
.how-it-works-step > .vc_column-inner > .wpb_wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Number circle */
.how-it-works-step .step-number {
    flex: 0 0 44px;
    width: 44px;
    margin: 0;
}

.how-it-works-step .step-number img {
    display: block;
    width: 44px;
    height: 44px;
}

/* Text beside the number */
.how-it-works-step .step-copy {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.how-it-works-step .step-copy h3 {
    margin: 0 0 8px;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.3;
    color: #1A2DB5;
}

.how-it-works-step .step-copy p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
    color: #7B85D5;
}

/* Align the cards with the heading and introduction */
.how-it-works-steps {
    margin-left: -22px !important;
    margin-right: -22px !important;
}


.privacy-copy h2 { margin: 42px 0 8px;
    font-family: 'Lato', sans-serif;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.3;
    color: #1A2DB5; }

.privacy-copy h3 { margin: 42px 0 8px;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #1A2DB5; }

.privacy-copy p, .privacy-copy ul li, .privacy-copy ol li { margin: 0 0 15px 0;
    color: #1A2DB5;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 26px; }

/* ==================================================
   SUPPORT FOR DIFFERENT AUDIENCES
   Inner Row:    audience-cards
   Each column:  audience-card
   Single Image: audience-image
   Text Block:   audience-copy
   Button:       audience-button
   ================================================== */

/* Three equal card columns */
.audience-cards {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: -12px !important;
    margin-right: -12px !important;
}

.audience-cards::before,
.audience-cards::after {
    display: none;
}

.audience-cards > .audience-card {
    display: flex;
    float: none;
    width: 33.333333%;
    padding: 0 12px;
    box-sizing: border-box;
}

/* White card surface */
.audience-cards > .audience-card > .vc_column-inner {
    display: flex;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0 2px 12px rgba(0, 42, 120, 0.08);
}

/* Photo on the left; text and button on the right */
.audience-card > .vc_column-inner > .wpb_wrapper {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    width: 100%;
    min-height: 180px;
}

/* Photograph spans both rows */
.audience-card .audience-image {
    grid-column: 1;
    grid-row: 1 / 3;
    min-width: 0;
    height: 100%;
    margin: 0;
}

.audience-card .audience-image .wpb_wrapper,
.audience-card .audience-image .vc_figure,
.audience-card .audience-image .vc_single_image-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

.audience-card .audience-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

/* Heading and paragraph */
.audience-card .audience-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    padding: 16px 16px 0;
}

.audience-card .audience-copy h3 {
    margin: 0 0 7px;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.3;
    color: #1A2DB5;
}

.audience-card .audience-copy p {
    margin: 0 0 16px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #7B85D5;
}

/* Separate WPBakery Button element
   Button colours and appearance retain your existing settings */
.audience-card .audience-button {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    min-width: 0;
    margin: 0;
    padding: 0 16px 16px;
}

.audience-card .audience-button .vc_btn3 {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
}

.audience-card .audience-button .vc_btn3 i { right: -23px !important; top: 11px !important; }

/* Tablet and mobile: stack cards vertically */
@media (max-width: 1023px) {
    .audience-cards > .audience-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .audience-cards > .audience-card:last-child {
        margin-bottom: 0;
    }
}

/* Smaller phones */
@media (max-width: 479px) {
    .audience-card > .vc_column-inner > .wpb_wrapper {
        grid-template-columns: 30% minmax(0, 1fr);
    }

    .audience-card .audience-copy {
        padding: 14px 12px 0;
    }

    .audience-card .audience-button {
        padding: 0 12px 14px;
    }
}

/* Read more buttons */
.audience-card .read-more .vc_btn3 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #01D2BC !important;
    font-family: 'Lato', sans-serif;
    font-weight: 900 !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: normal;
}

/* Smaller text within audience cards */
.audience-card .read-more .vc_btn3 {
    font-size: 15px !important;
}

/* Working in partnership */
.partnership-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #D6F9FD;
    padding-top: 30px;
    padding-bottom: 30px;
}

.partnership-section::before,
.partnership-section::after {
    display: none;
}

.partnership-section .wpb_single_image,
.partnership-section .wpb_text_column {
    margin-bottom: 0;
}

/* Icon centred in the left column */
.partnership-section .wpb_single_image {
    text-align: center;
}

.partnership-section .wpb_single_image img {
    display: inline-block;
    height: auto;
}

/* Heading aligned to the left */
.partnership-section h2 {
    margin: 0 0 14px;
    font-family: 'Lato', sans-serif;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
    color: #002A78;
    text-align: left;
}

/* Paragraph centred across the text column */
.partnership-section p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: #7B85D5;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    .partnership-section > .wpb_column {
        width: 100%;
    }

    .partnership-section .wpb_single_image {
        margin-bottom: 20px;
    }

    .partnership-section h2 {
        font-size: 25px;
        text-align: center;
    }
}

/* Working in partnership: mobile */
@media (max-width: 767px) {
    .partnership-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 28px;
        padding-bottom: 28px;
        text-align: center;
    }

    .partnership-section > .wpb_column {
        float: none;
        width: 100% !important;
        min-width: 0;
    }

    .partnership-section .wpb_single_image {
        margin-bottom: 18px;
        text-align: center;
    }

    .partnership-section .wpb_single_image img {
        width: 75px;
        height: auto;
    }

    .partnership-section h2 {
        margin: 0 0 12px;
        font-size: 25px;
        line-height: 1.25;
        text-align: center;
    }

    .partnership-section p {
        max-width: 480px;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.6;
        text-align: center;
    }

    .partnership-section .wpb_text_column {
        margin-bottom: 0;
    }
}

/* Smaller phones */
@media (max-width: 479px) {
    .partnership-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .partnership-section > .wpb_column {
        width: 100% !important;
    }

    /* Centre the image and its wrappers */
    .partnership-section .wpb_single_image,
    .partnership-section .wpb_single_image .wpb_wrapper,
    .partnership-section .wpb_single_image .vc_figure {
        width: 100%;
        text-align: center !important;
    }

    .partnership-section .wpb_single_image {
        margin: 0 0 16px !important;
    }

    .partnership-section .vc_single_image-wrapper {
        display: inline-block !important;
    }

    .partnership-section .wpb_single_image img {
        display: block;
        width: 75px;
        height: auto;
        margin: 0 auto;
    }

    .partnership-section h2 {
        margin: 0 0 12px !important;
        font-size: 24px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    .partnership-section p {
        margin: 0 auto !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }
}

@media (min-width: 769px) and (max-width: 1399px) {
    .partnership-section .wpb_single_image img,
    .partnership-section .vc_single_image-wrapper {
        width: 90px !important;
        max-width: 90px !important;
        height: auto !important;
    }
	.partnership-section .wpb_single_image, .partnership-section h2, .partnership-section p { text-align: center !important; }
}

/* ==================================================
   FINAL CONTACT SECTION
   ================================================== */

.futures-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;

    padding-top: 36px;
    padding-bottom: 36px;
    margin-top: 0;
    margin-bottom: 0;

    background: linear-gradient(
        110deg,
        #00307C 0%,
        #002A78 100%
    );
}

/* Remove WPBakery clearfix items from flex layout */
.futures-cta::before,
.futures-cta::after {
    display: none;
}

.futures-cta > .wpb_column {
    float: none;
    box-sizing: border-box;
}

/* Heading and supporting text */
.futures-cta-copy {
    position: relative;
    z-index: 2;
}

.futures-cta-copy .wpb_text_column {
    margin-bottom: 0;
}

.futures-cta-copy h2 {
    margin: 0 0 8px;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    color: #FFFFFF;
}

.futures-cta-copy p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
}

/* Button column */
.futures-cta-action {
    position: relative;
    z-index: 2;
}

.futures-cta .futures-cta-button {
    margin: 0;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    .futures-cta {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .futures-cta > .wpb_column {
        width: 100%;
    }

    .futures-cta-copy h2 {
        font-size: 25px;
    }

    .futures-cta-action {
        margin-top: 22px;
    }

    .futures-cta .futures-cta-button {
        text-align: left;
    }
}


/* Contact Us button */
.futures-cta .futures-cta-button .vc_btn3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 46px;
    padding: 12px 26px !important;
    margin: 0 !important;

    background: #01D2BC !important;
    background-image: none !important;
    border: 2px solid #01D2BC !important;
    border-radius: 5px !important;
    box-shadow: none !important;

    font-family: 'Lato', sans-serif;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;

    transition: background-color 0.2s ease,
                border-color 0.2s ease;
}

/* Hover */
.futures-cta .futures-cta-button .vc_btn3:hover {
    background: #00BBA7 !important;
    border-color: #00BBA7 !important;
    color: #FFFFFF !important;
}

/* Keyboard focus */
.futures-cta .futures-cta-button .vc_btn3:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
}

/* Thin arrow matching the visual */
.futures-cta .futures-cta-button .vc_btn3::after {
    content: "";
    position: static;
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 16px;
    margin: 0;
    border: none;
    background: currentColor;
    transform: none;

    clip-path: polygon(
        0 44%,
        78% 44%,
        48% 10%,
        57% 0,
        100% 50%,
        57% 100%,
        48% 90%,
        78% 56%,
        0 56%
    );
}

/* Oversized background logo */
.futures-cta {
    position: relative;
    overflow: hidden;
}

.futures-cta .luf-art {
    top: 50%;
    left: 0;
    width: auto;
    height: 150%;
    aspect-ratio: 1000 / 804;
    transform: translateY(-50%);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.futures-cta .luf-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Keep text and button above the logo */
.futures-cta .futures-cta-copy,
.futures-cta .futures-cta-button {
    position: relative;
    z-index: 2;
}

/* Mobile positioning */
@media (max-width: 767px) {
    .futures-cta .luf-art {
        height: 130%;
        left: 0px;
        opacity: 0.2;
    }
}

/* Final section: mobile layout */
@media (max-width: 767px) {
    .futures-cta {
        display: flex;
        flex-wrap: wrap;
        padding-top: 32px;
        padding-bottom: 32px;
        overflow: hidden;
    }

    /* Stack both columns */
    .futures-cta > .wpb_column {
        width: 100% !important;
        float: none;
    }

    /* Text above the background logo */
    .futures-cta .futures-cta-copy {
        position: relative;
        z-index: 2;
    }

    .futures-cta-copy h2 {
        font-size: 25px;
        line-height: 1.25;
        overflow-wrap: break-word;
    }

    .futures-cta-copy p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Button beneath the paragraph */
    .futures-cta-action {
        margin-top: 22px;
    }

    .futures-cta .futures-cta-button {
        position: relative;
        z-index: 2;
        text-align: left;
    }

    .futures-cta .futures-cta-button .vc_btn3 {
        max-width: 100%;
        min-height: 46px;
        font-size: 16px !important;
        padding: 12px 24px !important;
    }

    /* Oversized logo, cropped behind the content */
    .futures-cta .luf-art {
        top: 50%;
        left: 0px;
        width: auto;
        height: 130%;
        aspect-ratio: 1000 / 804;
        transform: translateY(-50%);
        opacity: 0.15;
        z-index: 0;
        pointer-events: none;
    }

    .futures-cta .luf-art svg {
        display: block;
        width: 100%;
        height: 100%;
    }
}

/* Smaller phones */
@media (max-width: 479px) {
    .futures-cta-copy h2 {
        font-size: 22px;
    }

    .futures-cta .luf-art {
        right: -130px;
        opacity: 0.12;
    }
}

/* ==========================================================================
   1. GLOBAL DEFAULTS
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

p { font-size: 19px; font-weight: 400; line-height: 26px; color: #7B85D5; }
.bullseye-text p { font-size: 15px !important; }
.bullseye-wrapper { border-radius: 15px; }

/* ==========================================================================
   2. PAGE LAYOUT
   Flex layout keeps the footer at the bottom of short pages.
   ========================================================================== */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
}

.site-header,
.site-footer {
    flex-shrink: 0;
}

.site-main {
    flex: 1;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
	background-color: #f3f3f3;
}

@media screen and (min-width: 1921px) {
	.site-main { padding: 0 17rem; }
}

@media screen and (max-width: 1920px) {
	.site-main { padding: 0 6rem; }
}

@media screen and (max-width: 1730px) {
	.site-main { padding: 0 11rem; }
}

@media screen and (max-width: 1200px) {
	.site-main { padding: 0 6rem; }
}


/* ==========================================================================
   3. ACCESSIBILITY
   Hide descriptive text visually; reveal the skip link on keyboard focus.
   ========================================================================== */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: auto;
    height: auto;
    margin: 0;
    padding: 1rem;
    clip-path: none;
    background: #fff;
    color: #000;
}


/* ==========================================================================
   4. HEADER AND LOGO
   ========================================================================== */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 3rem;
}

.site-branding {
    flex: 0 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    display: block;
    width: auto;
    max-width: min(240px, 55vw);
    max-height: 80px;
}


/* ==========================================================================
   5. PRIMARY NAVIGATION
   Dropdown positioning and mobile behaviour are defined in sections 7 and 8.
   ========================================================================== */

.site-navigation {
    min-width: 0;
    margin-inline-start: auto;
}

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

.site-navigation > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.site-navigation li {
    position: relative;
    overflow-wrap: anywhere;
}

.site-navigation ul#primary-menu li a { color: #1A2DB5 !important; font-weight: bold; }

.site-navigation a,
.site-navigation a:hover,
.site-navigation a:focus {
    text-decoration: none;
}

.site-navigation ul#primary-menu li.current-menu-item { font-weight: bold; }

/* Parent links: text followed by a down arrow. */
.site-navigation .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.site-navigation .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

/* Hidden on desktop; enabled for mobile when JavaScript is available. */
.menu-toggle {
    display: none;
}


/* ==========================================================================
   6. FOOTER
   Display order: logo, footer navigation, copyright.
   The footer logo is selected separately in Customise > Site Identity.
   ========================================================================== */

.site-footer {
    padding: 1rem 3rem;
    background: #151d2b;
    color: #fff;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.site-footer a {
    color: inherit;
}

/* Footer logo */
.site-footer__branding {
    order: 1;
    flex-shrink: 0;
}

.site-footer__branding .footer-logo-link {
    display: block;
}

.site-footer__branding .footer-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 140px;
    max-height: 47px;
}

/* Footer navigation */
.site-footer__navigation {
    order: 2;
    margin-inline-start: 0;
}

.site-footer__navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.site-footer__navigation a {
    text-decoration: none;
}

.site-footer__navigation a:hover,
.site-footer__navigation a:focus-visible {
    text-decoration: underline;
}

/* Copyright */
.site-footer__copyright {
    order: 3;
    margin-inline-start: auto;
    font-size: 12px;
}


/* ==========================================================================
   7. DESKTOP DROPDOWNS — 768px AND ABOVE
   Open on mouse hover or keyboard focus within the parent item.
   ========================================================================== */

@media (min-width: 768px) {
    .site-navigation .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        min-width: 300px;
		font-size: 15px;
        margin: 0;
        padding: 8px 0;
        list-style: none;
        background: #fff;
        color: #151d2b;
		border-left: 1px solid #efefef;
		border-right: 1px solid #efefef;
		border-bottom: 1px solid #efefef;
    }

    .site-navigation .sub-menu a {
        display: flex;
        padding: 10px 16px;
    }

    .site-navigation li:hover > .sub-menu,
    .site-navigation li:focus-within > .sub-menu {
        display: block;
    }

    /* Nested dropdowns open to the right. */
    .site-navigation .sub-menu .sub-menu {
        top: 0;
        left: 100%;
    }

    /* Align the final item's dropdown to its right edge. */
    .site-navigation > ul > li:last-child > .sub-menu {
        left: auto;
        right: 0;
    }

    /* Nested dropdowns under the final item open to the left. */
    .site-navigation > ul > li:last-child .sub-menu .sub-menu {
        left: auto;
        right: 100%;
    }
}


/* ==========================================================================
   8. MOBILE HEADER AND NAVIGATION — 767px AND BELOW
   Without JavaScript, navigation remains visible.
   Submenu links remain visible when the main menu is expanded.
   ========================================================================== */

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

    .site-navigation {
        flex-basis: 100%;
        margin-inline-start: 0;
    }

    .site-navigation > ul {
        flex-direction: column;
        align-items: stretch;
    }

    .js .menu-toggle:not([hidden]) {
        display: inline-block;
        margin-inline-start: auto;
    }

    .js .site-navigation:not(.is-open) {
        display: none;
    }

    .site-navigation .sub-menu {
        position: static;
        display: block;
        padding: 8px 0 0 16px;
    }

    .site-navigation .sub-menu li + li {
        margin-top: 8px;
    }
}


/* ==========================================================================
   9. MOBILE FOOTER — 600px AND BELOW
   Footer navigation moves onto its own row.
   ========================================================================== */

@media (max-width: 600px) {
    .site-footer {
        padding: 12px 16px;
    }

    .site-footer__inner {
        gap: 10px 16px;
    }

    .site-footer__navigation {
        flex-basis: 100%;
    }

    .site-footer__copyright {
        margin-inline-start: 0;
    }
}

/* ==========================================================================
   MOBILE MENU — 767px AND BELOW
   ========================================================================== */

@media (max-width: 767px) {
    .site-header {
        gap: 16px;
        padding: 16px;
    }

    /* Menu button */
    .js .menu-toggle:not([hidden]) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid #151d2b;
        border-radius: 4px;
        background: #fff;
        color: #151d2b;
        font: inherit;
        font-size: 14px;
        cursor: pointer;
    }

    /* Hamburger icon */
    .menu-toggle::before {
        content: "";
        width: 18px;
        height: 12px;
        background: linear-gradient(
            to bottom,
            currentColor 0 2px,
            transparent 2px 5px,
            currentColor 5px 7px,
            transparent 7px 10px,
            currentColor 10px 12px
        );
    }

    /* Close icon when expanded */
    .menu-toggle[aria-expanded="true"]::before {
        height: 18px;
        background:
            linear-gradient(
                45deg,
                transparent 46%,
                currentColor 46% 54%,
                transparent 54%
            ),
            linear-gradient(
                -45deg,
                transparent 46%,
                currentColor 46% 54%,
                transparent 54%
            );
    }

    /* Expanded menu panel */
    .site-navigation {
        flex-basis: 100%;
        width: 100%;
        margin: 0;
        padding: 8px 16px;
        border: 1px solid #e1e5eb;
        border-radius: 6px;
        background: #f5f7fa;
        color: #151d2b;
    }

    .site-navigation > ul {
        gap: 0;
    }

    .site-navigation > ul > li + li {
        border-top: 1px solid #e1e5eb;
    }

    /* Large tap areas */
    .site-navigation a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 8px;
        color: inherit;
        font-size: 16px;
        line-height: 1.5;
        text-decoration: none;
    }

    .site-navigation a:hover,
    .site-navigation a:focus-visible {
        background: #e8edf3;
        text-decoration: none;
    }

    .site-navigation a:focus-visible,
    .menu-toggle:focus-visible {
        outline: 2px solid #151d2b;
        outline-offset: 3px;
    }

    .site-navigation .current-menu-item > a {
        font-weight: 700;
    }

    /* Submenu links remain visible beneath their parent */
    .site-navigation .sub-menu {
        margin: 0 0 12px 8px;
        padding: 0 0 0 12px;
        border-left: 2px solid #d5dce5;
    }

    .site-navigation .sub-menu li + li {
        margin-top: 0;
    }

    .site-navigation .sub-menu a {
        min-height: 44px;
        padding: 10px 8px;
        font-size: 15px;
    }

    /* No dropdown arrow needed while submenu links are visible */
    .site-navigation .menu-item-has-children > a::after {
        display: none;
    }

}

/* ==========================================================================
   MOBILE FOOTER NAVIGATION — 600px AND BELOW
   ========================================================================== */

@media (max-width: 600px) {
    .site-footer {
        padding: 20px 3rem;
    }

    .site-footer__inner {
        gap: 20px;
    }

    .site-footer__navigation {
        width: 100%;
        flex-basis: 100%;
    }

    .site-footer__navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .site-footer__navigation li {
        min-width: 0;
    }

    .site-footer__navigation a {
        display: flex;
        align-items: center;
        min-height: 48px;
        height: 100%;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        text-decoration: none;
    }

    .site-footer__navigation a:hover,
    .site-footer__navigation a:focus-visible {
        background: rgba(255, 255, 255, 0.14);
        text-decoration: none;
    }

    .site-footer__navigation a:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }

    .site-footer__navigation .current-menu-item > a {
        background: rgba(255, 255, 255, 0.14);
        font-weight: 700;
    }

    .site-footer__copyright {
        width: 100%;
        margin-inline-start: 0;
        line-height: 1.6;
    }
}

/* Navigation typography */
.site-navigation,
.menu-toggle,
.site-footer__navigation, .site-footer__copyright, p {
    font-family: "Lato", Arial, sans-serif;
}



