#introOverlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    /* Base: no transition, hold size — this is the painted starting state */
    #introOverlay img {
        width: var(--logo-hold-vw);
        max-width: none;
        height: auto;
        opacity: 1;
        will-change: width, opacity;
        transition: none;
    }

    /* Phase 1: animate to expanded size */
    #introOverlay.phase1 img {
        width: var(--logo-expand1-vw);
        transition: width var(--phase1-ms) ease;
    }

    /* Phase 2: hold at expanded size, still no transition */
    #introOverlay.phase2 img {
        width: var(--logo-expand1-vw);
        transition: none;
    }

    /* Phase 3: animate to large + fade */
    #introOverlay.phase3 img {
        width: var(--logo-expand2-vw);
        opacity: 0;
        transition: width var(--phase3-ms) ease, opacity var(--phase3-ms) ease;
    }

@media (prefers-reduced-motion: reduce) {
    #introOverlay img,
    #introOverlay.phase1 img,
    #introOverlay.phase2 img,
    #introOverlay.phase3 img {
        transition: none !important;
    }
}

a {
    text-decoration: none;
    color: #3181CA;
}

body {
    color: #333333;
    background-color: #f4f7fa !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

main{
    width: 100%;
}

h1 {
    color: #163172 !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

.small-nav {
    color: #163172;
    margin-bottom:5px;
}

.small-nav a{
    color: #163172;
}

    .small-nav a:hover {
        color: #163172;
    }

.h4,
h4 {
    font-size: 1.5rem;
}

.container-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1800px;
    margin: 25px auto 0;
    flex: 1 0 auto;
    overflow-x: visible;
}

.section {
    flex-grow: 1;
    background: #266dcb;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hp-icons {
    list-style: none; /* Remove default bullet points */
    padding-left: 0;
}

    .hp-icons li {
        margin-bottom: 10px; 
        display: flex;
        align-items: flex-start; 
        gap: 8px;
        color: #0e1f47;
    }

        .hp-icons li i {
            color: #266dcb; 
            margin-top: 0.25em;
        }

        .hp-icons li span {
            flex: 1; 
            display: flex;
            flex-wrap: wrap; 
            align-items: baseline;
        }

        .hp-icons li span,
        .hp-icons li strong {
            display: inline; 
            white-space: normal; 
        }

            .hp-icons li span strong {
                white-space: nowrap; 
                margin-right: 4px; 
            }

.hp-sub-icons {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

    .hp-sub-icons li {
        margin-bottom: 6px;
        display: flex;
        align-items: flex-start;
        gap: 6px;
        color: #0e1f47;
        font-size: 0.95rem;
    }

        .hp-sub-icons li i {
            color: #999; 
            margin-top: 0.25em;
        }


.il-hl {
    font-weight: 500;
    color: #1e56a0;
}

.text-color-210407-color {
    color: #266dcb;
}

.section:nth-child(2) {
    background: #0e1f47;
}

@media screen and (min-width: 793px) {
    .container {
        flex-wrap: nowrap;
    }
}

@media (min-width: 768px) and (max-width: 1185px) {
    .hide-sp {
        display: none !important;
    }
}

.fund-centre-banner {
    display: flex;
    justify-content: flex-start;
    background-color: #163172;
    min-height: 100px;
    max-height: 210px;
    overflow: hidden;
}

.fund-centre-banner-image {
    max-height: 100%;
    max-width: 100%;
    min-height: 100px;
    min-width: 420px;
    overflow: hidden;
}

.service-card {
    filter: drop-shadow(0 5px 10px 0 #ffffff);
    min-width: 265px;
    min-height: 265px;
    background: rgb(188,207,232);
    background: linear-gradient(0deg, rgba(188,207,232,1) -45%, rgba(255,255,255,1) 40%);
    padding: 10px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: 0.6s ease-in;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#triangle-topleft {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 100px solid #163172; /* Triangle color */
    border-right: 100px solid transparent;
    z-index: 1; /* Ensure it appears above the card background */
    transition: transform 0.6s ease-in-out; /* Smooth transformation */
    transform-origin: top left;
}

.service-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
}

    .service-card-content h3 {
        margin: 0;
        color: #163172;
        font-size: 1.75rem !important;
        flex-grow: 1;
        text-align: left; /* Align to the right */
        transition: color 0.3s ease;
    }

    .service-card-content h3 {
        font-size: 1.5rem;
        margin: 10px 0;
        color: #163172; /* Default color for titles */
        transition: color 0.3s ease;
    }

.service-card:hover #triangle-topleft {
    transform: scale(20); /* Scale the triangle to cover the whole card */
}

.service-card:hover h3 {
    color: #fff; /* Change title color on hover */
}

.service-card p {
    padding: 10px;
    color: #163172; /* Default color for text */
    transition: color 0.3s ease;
    z-index: 2;
}

.service-card:hover p {
    color: #fff; /* Change paragraph text to white */
}

.service-card-icon {
    color: #fff;
    font-size: 2.25em;
    margin: 0 35px 10px 0;
    transition: color 0.3s ease;
}

.service-card:hover a, .service-card:hover button {
    background-color: #fff;
    color: #163172;
}

.service-card a, .service-card button {
    margin-top: auto;
    align-self: center; /* Center the button horizontally */
    position: absolute;
    bottom: 20px; /* Align to bottom of the card */
    background-color: #163172;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

    .service-card a:hover, .service-card button:hover {
        background-color: #6399e0;
        color: white;
    }

.service-card-blue {
    filter: drop-shadow(0 5px 10px 0 #ffffff);
    min-width: 265px;
    min-height: 265px;
    background: rgb(22,34,42);
    background: linear-gradient(0deg, rgba(22,34,42,1) -40%, rgba(22,49,114,1) 40%);
    padding: 10px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: 0.6s ease-in;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#triangle-topleft-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 100px solid #6399e0; /* Triangle color */
    border-right: 100px solid transparent;
    z-index: 1; /* Ensure it appears above the card background */
    transition: transform 0.6s ease-in-out; /* Smooth transformation */
    transform-origin: top left;
}

.service-card-content-blue {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
}

    .service-card-content-blue h3 {
        margin: 0;
        color: #fff;
        font-size: 1.75rem !important;
        flex-grow: 1;
        text-align: left; /* Align to the right */
        transition: color 0.3s ease;
    }

    .service-card-content-blue h3 {
        font-size: 1.5rem;
        margin: 10px 0;
        color: #fff; /* Default color for titles */
        transition: color 0.3s ease;
    }

.service-card-blue:hover #triangle-topleft-blue {
    transform: scale(20); /* Scale the triangle to cover the whole card */
}

.service-card-blue:hover h3 {
    color: #163172; /* Change title color on hover */
}

.service-card-blue p {
    padding: 10px;
    color: #fff; /* Default color for text */
    transition: color 0.3s ease;
    z-index: 2;
}

.service-card-blue:hover p {
    color: #163172; /* Change paragraph text to white */
}

.service-card-icon-blue {
    color: #163172;
    font-size: 2.25em;
    margin: 0 35px 10px 0;
    transition: color 0.3s ease;
}

.service-card-blue:hover button {
    background-color: #163172;
    color: #fff;
}

.service-card-blue button {
    margin-top: auto;
    align-self: center; /* Center the  button horizontally */
    position: absolute;
    bottom: 20px; /* Align to bottom of the card */
    background-color: #fff;
    color: #163172;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

    .service-card-blue button:hover {
        background-color: #1e56a0;
        color: white;
    }


.bottom-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 equal columns */
    grid-template-rows: auto auto; /* Auto size rows */
    gap: 20px; /* Space between grid items */
    margin: 20px auto 0 auto;
}

/* Blue sections */
.blue-section {
    background: #0e1f47;
    color: white;
    text-align: left;
    padding: 20px;
    border-top: 4px solid #91b5e4;
    font-size: 1rem;
    z-index: 0;
    position: relative;
}

.blue-section-title {
    font-size: 22px;
    margin-bottom: 5px;
    display: inline-block; /* Ensure title takes up only its natural width */
    position: relative;
    width: fit-content;
    z-index: 1;
}

.white-section-title {
    font-size: 22px;
    margin-bottom: 5px;
    display: inline-block; /* Ensure title takes up only its natural width */
    position: relative;
    width: fit-content;
    z-index: 1;
}

    .blue-section h3 {
        color: #fff; /* Heading color for blue sections */
        margin-bottom: 10px; /* Space below the heading */
        display: flex; /* Use flexbox for alignment */
        align-items: center; /* Vertically align icon and text */
        gap: 10px; /* Space between icon and text */
    }

.blue-section-title::after,
.white-section-title::after {
    content: "";
    display: block;
    width: 100%; /* Matches the title width */
    height: 3px; /* Thickness of the underline */
    margin-top: 5px; /* Space between the title and the underline */
    position: absolute;
    left: 0;
    bottom: 0px; /* Position below the title */
    z-index: 2;
    margin-bottom: 5px;
}

        .blue-section > .bottom-sub > i {
            color: #91b5e4; /* Icon color matches the heading */
            font-size: 30px; /* Adjust icon size as needed */
            margin-right: 10px;
        }

.bottom-sub {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* White sections */
.white-section {
    background: #fff;
    color: #163172;
    text-align: left;
    padding: 20px;
    border-top: 4px solid #163172;
    font-size: 1rem;
    z-index: 0;
    position: relative;
}

    .white-section h3 {
        color: #0e1f47; /* Heading color for white sections */
        margin-bottom: 10px; /* Space below the heading */
        display: flex; /* Use flexbox for alignment */
        align-items: center; /* Vertically align icon and text */
        gap: 10px; /* Space between icon and text */
    }

.white-section > .bottom-sub > i {
    color: #163172; /* Icon color matches the heading */
    font-size: 30px; /* Adjust icon size as needed */
    margin-right: 5px;
}

.service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

    .service-cards-container.sc-centered {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        padding: 20px 0;
    }

@media (max-width: 1264px) {
    .service-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .service-cards-container {
        grid-template-columns: 1fr;
    }
}

.res-service-cards-container {
    display: grid;
    gap: 20px;
    padding: 20px 0;
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1770px) and (min-width: 1401px) {
    .res-service-cards-container {
        grid-template-columns: repeat(4, 1fr);
    }

        .res-service-cards-container > :nth-child(5) {
            grid-column: 2 / span 2; /* centers in 4-column layout */
            justify-self: center;
            width: calc(50% - 10px);
        }
}

@media (max-width: 1400px) and (min-width: 1051px) {
    .res-service-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

        .res-service-cards-container > :nth-child(4) {
            grid-row: 2;
            grid-column: 1 / span 2;
            justify-self: center;
            width: calc(50% - 10px);
        }

        .res-service-cards-container > :nth-child(5) {
            grid-row: 2;
            grid-column: 2 / span 2;
            justify-self: center;
            width: calc(50% - 10px);
        }
}

@media (max-width: 1050px) and (min-width: 701px) {
    .res-service-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

        .res-service-cards-container > :nth-child(5) {
            grid-column: 1 / 3;
            justify-self: center;
            width: calc(50% - 10px);
        }
}

@media (max-width: 700px) {
    .res-service-cards-container {
        grid-template-columns: 1fr;
    }

        .res-service-cards-container > :nth-child(5) {
            grid-column: auto;
            width: 100%;
        }
}

    .fund-service-card {
        position: relative;
        min-width: 265px;
        min-height: 240px;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
    }

.blue-card {
    background: linear-gradient(to bottom right, #163172 50%, #1e56a0 120%);
    color: #fff;
    z-index: 0;
}

    .fund-service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

    .fund-service-card-top-border {
        height: 5px;
        width: 100%;
    }

    .fund-service-card-spacer {
        flex-grow: 1; /* Push the button to the bottom */
    }


    .fund-service-card-image {
        position: relative;
        height: 150px;
        overflow: hidden;
    }

        .fund-service-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
        }

    .fund-service-card-content {
        padding: 5px 20px 20px 20px;
        text-align: left;
        z-index: 2;
    }

    .fund-service-card-icon {
        font-size: 28px;
    }

    .fund-service-card-sub {
        display: flex;
        align-items: center;
        gap: 10px; /* Space between the icon and subheading */
        padding: 5px 20px 0 20px;
    }

    .fund-service-card-subheading {
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        color: white;
        padding: 2px 5px;
        border-radius: 4px;
    }

    .fund-service-card-title {
        font-size: 22px;
        margin-bottom: 5px;
        display: inline-block; /* Ensure title takes up only its natural width */
        position: relative;
        margin-left: 20px;
        width: fit-content;
    }



        .fund-service-card-title::after {
            content: "";
            display: block;
            width: 100%; /* Matches the title width */
            height: 3px; /* Thickness of the underline */
            margin-top: 5px; /* Space between the title and the underline */
            position: absolute;
            left: 0;
            bottom: -8px; /* Position below the title */
        }

    .lb-ul::after {
        background-color: #6399e0; /* Underline color */
    }

    .vlb-ul::after {
        background-color: #91b5e4;
    }

    .lg-ul::after {
        background-color: #BCCFE8; /* Underline color */
        z-index: 2;
    }

    .mb-ul::after {
        background-color: #1e56a0; /* Underline color */
        z-index: 2;
    }


    .bl-ul::after {
        background-color: #163172; /* Underline color */
        z-index: 2;
    }

    .ye-ul::after {
        background-color: #FFB921; /* Underline color */
        z-index: 2;
    }

    .fund-service-card-text {
        font-size: 1rem;
        line-height: 1.6;
        color: #0e1f47;
        margin-top: 10px;
    }

    .blue-card .fund-service-card-text {
        color: #fff;
    }

    .fund-service-card-hover-content {
        padding: 20px;
        color: #0e1f47;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        display: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .blue-card .fund-service-card-hover-content {
        color: #fff;
    }

    .fund-service-card-hover-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left;
        font-size: 1rem;
    }

    .fund-service-card-hover-content li {
        margin-bottom: 5px;
    }

    .fund-service-card:hover .fund-service-card-hover-content {
        display: block;
    }

    .fund-service-card:hover .fund-service-card-content {
        display: none;
    }


    /* Grid placement for default (3-column) layout */
    .bottom-container > .blue-section:nth-child(1) {
        grid-column: 1; /* Left blue section */
        grid-row: 1 / span 2; /* Spans both rows */
    }

    .bottom-container > .white-section:nth-child(2) {
        grid-column: 2; /* Top white section in the middle */
        grid-row: 1;
    }

    .bottom-container > .white-section:nth-child(3) {
        grid-column: 2; /* Bottom white section in the middle */
        grid-row: 2;
    }

    .bottom-container > .blue-section:nth-child(4) {
        grid-column: 3; /* Right blue section */
        grid-row: 1 / span 2; /* Spans both rows */
    }

    /* 2-column layout for medium screens */
    @media (max-width: 1185px) and (min-width: 769px) {
        .bottom-container {
            grid-template-columns: 1fr 1fr; /* Two equal-width columns */
            grid-template-rows: auto auto; /* Two rows */
            gap: 20px; /* Add gap between rows and columns */
        }

            .bottom-container > .blue-section:nth-child(1) {
                grid-column: 1; /* First column */
                grid-row: 1; /* First row */
                height: 100%; /* Full height of the row */
            }

            .bottom-container > .white-section:nth-child(2) {
                grid-column: 2; /* Second column */
                grid-row: 1; /* First row */
                height: 100%; /* Full height of the row */
            }

            .bottom-container > .blue-section:nth-child(4) {
                grid-column: 2; /* Second column */
                grid-row: 2; /* Second row */
                height: 100%; /* Full height of the row */
            }

            .bottom-container > .white-section:nth-child(3) {
                grid-column: 1; /* First column */
                grid-row: 2; /* Second row */
                height: 100%; /* Full height of the row */
            }
    }


    /* 1-column layout for small screens */
    @media (max-width: 839px) {
        .container-content {
            margin: 0 auto 0;
        }

        .bottom-container {
            grid-template-columns: 1fr; /* Single column layout */
            grid-template-rows: auto auto auto auto; /* Four rows for proper stacking */
            gap: 20px; /* Ensure consistent spacing between rows */
        }

            .bottom-container > .blue-section:nth-child(1) {
                grid-column: 1; /* Ensure it spans the single column */
                grid-row: 1; /* Place this in the first row */
            }

            .bottom-container > .white-section:nth-child(2) {
                grid-column: 1; /* Ensure it spans the single column */
                grid-row: 2; /* Place this in the second row */
            }

            .bottom-container > .blue-section:nth-child(4) {
                grid-column: 1; /* Ensure it spans the single column */
                grid-row: 3; /* Place this in the third row */
            }

            .bottom-container > .white-section:nth-child(3) {
                grid-column: 1; /* Ensure it spans the single column */
                grid-row: 4; /* Place this in the fourth row */
            }
    }


    /* End Section Styles */

    /* Home Section */
    .section-background {
        position: relative;
        width: 100vw; /* Set the width to be 100% of the viewport width */
        left: 50%; /* Move the center of the element to the center of the viewport */
        right: 50%;
        transform: translateX(-50%); /* Offset the element by 50% of its width to align properly */
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        margin: 0 auto;
        background-color: #C6CCD2; /* Dark background color */
    }

    .find-out {
        background-color: #266dcb; /* Normal state color */
        border-color: #266dcb;
    }

        .find-out:hover,
        .find-out:focus {
            background-color: #0e1f47; /* Normal state color */
            border-color: #0e1f47;
        }

    h2 {
        font-size: 30px;
        margin-bottom: 8px;
        color: #163172;
    }

    .text {
        text-align: justify;
        padding: 40px 80px;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }
    /* End Home Section */



.rf-header {
    background-color: #0e1f47;
    width: 100%;
    padding: 10px 20px 10px;
    display: grid;
    grid-template-columns: auto 1fr;
}

    .rf-header h5, .rf-header h3, .rf-header h4 {
        color: #fff;
    }

    .rf-header-row {
        display: contents;
        align-items: center;
        padding-bottom: 5px;
    }

    .rf-header-column {
        text-align: left;
        word-wrap: break-word;
    }

        .rf-header-column h3,
        .rf-header-column h4,
        .rf-header-column h5 {
            margin: 0; 
            text-align: left;
        }

    @media (max-width: 600px) {
        .rf-header {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .rf-header-row {
            display: grid;
            grid-template-columns: 1fr;
        }

        .rf-header-column.rf-desc {
            text-align: center;
            margin-bottom: 5px; 
        }

        .rf-header-column {
            text-align: center;
        }

            .rf-header-column h3,
            .rf-header-column h4,
            .rf-header-column h5,
            .rf-header-column h6 {
                margin: 0;
                text-align: center;
                font-size: 1.25rem;
            }

        .fund-text-container {
            flex: 1 1 100% !important;
        }

        .fund-info-row {
            width: 100%;
        }
    }

    @media (max-width: 399px) {
        .fund-logo-container {
            display: none !important;
        }
    }

    .fund-info-card {
        background-color: white;
        margin-bottom: 16px;
        width: 100%;
    }

    .fund-info-card-body {
        padding: 10px;
        display: flex;
        flex-wrap: wrap; /* Allow wrapping of elements */
    }

        .fund-info-card-body p {
            margin-bottom: 10px;
            color: #163172;
            font-weight: normal;
        }

    .fund-info-row {
        display: flex;
        align-items: center; /* Align items vertically */
    }

    .info-row,
    .portfolio-info-row {
        display: flex;
        align-items: center !important; /* Vertically center the text */
        margin-bottom: 10px; /* Space between rows */
        flex-wrap: wrap;
    }

        .info-row:last-child,
        .portfolio-info-row:last-child {
            margin-bottom: 0; /* Remove margin from the last row */
        }

    .fund-info-card-subtitle {
        margin: 0 !important; /* Remove margin from h6 */
        flex-shrink: 0; /* Prevent h6 from shrinking */
        color: #1e56a0;
    }

    .info-row h6,
    .portfolio-info-row h6 {
        flex: 0 0 auto; /* Ensure the heading does not stretch */
        margin-right: 10px; /* Add spacing between h6 and p */
    }

    .info-row p {
        flex: 1 1 auto;
        margin: 0; /* Remove margin from p */
        padding: 2px 0 0 5px;
        color: #163172;
        font-weight: lighter;
        font-size: 16px;
        flex-grow: 1; /* Allow the p to take up remaining space if needed */
    }

    .portfolio-info-row p {
        flex: 1 1 auto;
        margin: 0; /* Remove margin from p */
        padding: 0 0 0 5px;
        color: #163172;
        font-weight: lighter;
        font-size: 16px;
        flex-grow: 1; /* Allow the p to take up remaining space if needed */
    }

    @media (max-width: 600px) {
        .info-row,
        .portfolio-info-row {
            flex-direction: column; /* Stack the h6 and p vertically */
            align-items: flex-start; /* Align items to the left */
        }

            .info-row h6,
            .portfolio-info-row h6 {
                margin-right: 0; /* Remove right margin when stacked */
                margin-bottom: 5px; /* Add spacing below the heading */
                text-align: center;
            }

            .info-row p,
            .portfolio-info-row p {
                text-align: center; /* Center-align text */
                flex-grow: 0; /* Prevent stretching */
            }
    }

    @media (max-width: 378px) {
        .fund-info-card-body {
            flex-direction: column; /* Stack items vertically */
            align-items: center; /* Center items horizontally */
        }

        .fund-manager-logo,
        .organisation-logo {
            margin-bottom: 15px; /* Add space below the logo */
        }

        .fund-text-container {
            width: 100%; /* Ensure the text container takes full width */
            text-align: center; /* Optional: center-align text */
        }
    }


    .fund-logo-container {
        flex-shrink: 0; /* Prevent the column from growing */
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 10px; /* Space between image and text */
    }

    .fund-manager-logo,
    .organisation-logo {
        max-width: 100%; /* Ensure the image doesn't exceed its natural size */
        height: auto;
    }

    .fund-text-container {
        text-align: left; /* Align text content to the left */
        align-self: center; /* Vertically center the text */
        flex: 1; /* Allow the text to take up remaining space */
    }

    .fund-info-card-body p:last-child {
        margin-bottom: 0;
    }

    .fund-info-card-subtitle {
        color: #1e56a0;
        margin-bottom: 5px;
    }

    .icon-cell {
        text-align: center;
        vertical-align: middle;
    }

    .file-icon, .export-icon {
        height: 45px;
        object-fit: contain;
    }

        .file-icon:hover, .export-icon:hover {
            transform: scale(1.1);
        }

    .export-icons {
        display: flex;
        justify-content: flex-start;
        padding: 0px;
        gap: 10px;
    }

    .pdf-modal {
        color: #163172 !important;
    }

    .pdf-modal-content {
        text-align: center;
    }

    .report-loader-modal .modal-dialog {
        margin-top: 80px;
        max-width: 560px;
    }

    .report-loader-modal__header {
        min-height: 56px;
        padding: 1rem 1rem 0;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        position: relative;
    }

    .report-loader-modal__header .btn-close {
        background: none;
        border: none;
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .report-loader-modal__body {
        padding: 0 2rem 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
    }

    .report-loader-modal__title {
        margin: 0;
        color: #163172;
        font-size: 1.7rem;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        max-width: 420px;
    }

    .report-loader-modal__message {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 16px;
        color: #0e1f47;
    }

    .report-loader-modal__footer {
        justify-content: center;
        gap: 10px;
        padding-top: 0 !important;
    }

    .report-action-modal .modal-dialog {
        max-width: 560px;
    }

    .report-action-modal__header {
        min-height: 56px;
    }

    .report-action-modal__body {
        padding: 0 2rem 1.5rem;
    }

    .report-action-modal__hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .report-action-modal__icon {
        font-size: 52px;
        color: #6399e0;
    }

    .report-action-modal__title {
        margin: 0;
        color: #163172;
        font-size: 1.7rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .report-action-modal__intro,
    .report-action-modal__question {
        color: #0e1f47;
        margin-bottom: 1rem;
    }

    .report-action-modal__intro {
        font-size: 15px;
    }

    .report-action-modal__question {
        font-size: 16px;
    }

    .report-action-modal__options {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .report-action-modal .export-radio {
        margin-bottom: 0;
    }

    .report-action-modal .export-radio label {
        font-size: 15px;
        text-align: left;
    }

    .report-action-modal__footer {
        justify-content: center;
        gap: 10px;
        padding-top: 0 !important;
    }

    .progressive-loader {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 20px;
    }

    .progressive-loader__message {
        margin: 0;
        font-size: 16px;
        color: #0e1f47;
    }

    @media (max-width: 575px) {
        .report-loader-modal__body {
            padding: 0 1.25rem 1rem;
        }

        .report-loader-modal__title {
            font-size: 1.45rem;
        }

        .report-action-modal__body {
            padding: 0 1.25rem 1.25rem;
        }

        .report-action-modal__title {
            font-size: 1.45rem;
        }
    }

    .eri-drop-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: flex-start;
        margin-top: 1rem;
    }

    .fund-subhead-style {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.5;
        color: #163172;
        margin-top: 0px;
        margin-bottom: 10px;
        padding-top: 0px;
        padding-bottom: 0px;
        white-space: nowrap;
    }

    .no-padding-hrz {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .eri-col-md-4 {
        width: 230px;
        flex: 0 0 auto;
    }

    .eri-col-md-8 {
        flex: 1 1 auto;
        min-width: 300px;
    }

    @media (max-width: 1220px) {
        .eri-drop-row {
            flex-direction: row;
        }

        .eri-col-md-4 {
            flex: 0 0 100%;
            margin-bottom: 10px;
        }

        .eri-col-md-8:nth-of-type(2) {
            order: 1;
        }

        .eri-col-md-8:nth-of-type(3) {
            order: 2;
        }
    }

    @media (max-width: 625px) {

        .eri-drop-row {
            flex-direction: column;
        }

        .eri-col-md-4,
        .eri-col-md-8 {
            flex: 0 100% 100%;
        }

        .fund-subhead-style {
            white-space: normal;
        }

        .eri-col-md-8 {
            min-width: 250px;
        }
    }

    .export-icons a img {
        width: 45px; 
    }

    .alert-warning {
        background: rgba(255, 185, 33, .6) !important;
        color: rgba(14, 31, 71, .9) !important;
        border-color: rgba(14, 31, 71, 1) !important;
    }

    .alert-info {
        background: rgba(152, 195, 250, .6) !important;
        color: rgba(22, 49, 114, .9) !important;
        border-color: rgba(127, 180, 250, 1) !important;
    }

    .search-title {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #0e1f47;
        padding: 10px 10px 0 10px;
    }

        .search-title h1 {
            font-size: 2.5rem;
            color: #fff !important;
            margin: 0;
        }

    .search-icon {
        width: 50px;
        height: auto;
    }

    @media (max-width: 370px) {
        .search-icon {
            width: 25px;
        }

        .search-title h1 {
            font-size: 32px;
        }
    }

.tab-content {
    position: relative;
    width: 100%;
    min-width: 320px;
    height: auto;
    background: #0e1f47;
    color: #fff;
    z-index: 800;
    padding: 10px;
    margin-bottom: 20px;
}

        .tab-content button {
            border-radius: 15px;
            width: 100px;
            margin: 0 auto;
            float: right;
        }

    .ui-autocomplete {
        z-index: 950 !important;
    }

    .fund-search {
        min-width: 350px;
        display: flex;
        overflow: hidden;
    }

    @media (min-width: 1355px) {
        .fund-search {
            width: 50%;
        }
    }

    @media (max-width: 375px) {
        .login-logo {
            display: none;
        }

        .login-title {
            padding-top: 15px;
        }
    }

    @media (min-width: 1000px) and (max-width: 1354px) {
        .fund-search {
            width: 60%;
        }
    }

    @media (min-width: 768px) and (max-width: 999px) {
        .fund-search {
            width: 75%;
        }
    }

    @media (min-width: 661px) and (max-width: 767px) {
        .fund-search {
            width: 85%;
        }
    }

    @media (max-width: 660px) {
        .fund-search {
            width: 100%;
        }

        .main-search-btn-search-text {
            display: none;
        }

        .main-search-btn-search-icon {
            display: inline;
            color: #fff;
        }

        .tab-content button {
            width: 50px;
        }
    }

    @media (min-width: 661px) {
        .main-search-btn-search-icon {
            display: none;
        }

        .main-search-btn-search-text {
            display: inline !important;
            color: #fff;
        }

        .tab-content button {
            width: 100px;
        }
    }

    @media (max-width: 410px) {
        .fund-search {
            min-width: 100%;
        }
    }

    @media (max-width: 375px) {
        .fund-search {
            min-width: 100%;
        }

        .tab-content {
        }
    }

    #searchInput:focus, #searchInput:active {
        outline: none !important;
        box-shadow: none !important;
    }

    #searchInput:focus {
        border-color: #6399e0 !important;
    }

    .btn-primary {
        color: #fff;
        background-color: #6399e0;
        border-color: #6399e0;
    }

        .btn-primary:hover {
            background-color: #266dcb;
            border-color: #266dcb;
        }

    .btn.btn-primary:focus, .btn.btn-primary:active {
        outline: none;
        box-shadow: none;
        background-color: #ffb921;
        color: #163172 !important;
    }

    .fund-search .btn.btn-primary:focus,
    .fund-search .btn.btn-primary:active {
        background-color: #ffb921;
        border-color: #ffb921;
        color: #163172 !important;
    }

        .fund-search .btn.btn-primary:focus span,
        .fund-search .btn.btn-primary:active span {
            color: #163172 !important;
        }

    .fund-search .rounded-input {
        border-radius: 5px;
    }

    .fund-search input {
        flex: 0;
    }

        .fund-search input.pre-animate {
            opacity: 0;
            transform: scaleX(0.2);
            transform-origin: left;
        }

        .fund-search input.animate-in {
            animation: growSearchBar 1.2s ease-out forwards;
            opacity: 1;
            transform: scaleX(1);
        }

@keyframes growSearchBar {
    from {
        opacity: 0;
        transform: scaleX(0.2);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

    .fund-search .search-btn {
        border-radius: 50px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: nowrap;
        overflow: hidden;
        transition: width 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    .fund-search .search-btn.search-btn--loading {
        background-color: #ffb921;
        border-color: #ffb921;
        color: #163172 !important;
        box-shadow: none !important;
        outline: none !important;
        padding-left: calc(0.75rem + 25px);
        padding-right: calc(0.75rem + 25px);
    }

    .fund-search .search-btn.search-btn--loading span {
        color: #163172 !important;
    }

    .fund-search .search-btn .search-btn-spinner {
        --eri-blue: #163172;
        margin-left: 0;
        flex: 0 0 auto;
    }

    @keyframes growSearchBar {
        from {
            flex: 0;
        }

        to {
            flex: 1;
        }
    }

    .btn-white {
        background-color: #fff;
        color: #163172;
    }

        .btn-white:hover {
            background-color: #6399e0;
            color: #fff;
        }

    .cookie-accept:hover,
    .cookie-accept:focus {
        background-color: #163172;
        color: #fff;
        border-color: #163172;
    }

    .btn-dark {
        background-color: #163172;
        border-color: #163172;
        color: #fff;
    }

        .btn-dark:hover {
            background-color: #0e1f47;
            color: #fff;
            border-color: #0e1f47;
        }

.btn-white-hov:hover {
    background-color: #fff;
    color: #0e1f47;
    border-color: #fff;
}

        .btn-dark:active,
        .btn-dark:focus {
            background-color: #ffb921;
            color: #163172;
            border-color: #163172;
        }

    .btn-lgt {
        background-color: #6399e0;
        color: #fff;
    }

        .btn-lgt:hover {
            background-color: #163172;
            color: #fff;
            border-color: #163172;
        }

        .btn-lgt:focus,
        .btn-lgt:active {
            background-color: #0e1f47;
            color: #fff;
            outline: none !important;
            box-shadow: none !important;
        }

    .btn-yel {
        background-color: #FFB921;
        color: #163172;
    }

        .btn-yel:hover {
            background-color: #f5a802;
            color: #163172;
            border-color: #f5a802;
        }

        .btn-yel:focus,
        .btn-yel:active {
            background-color: #e69100;
            color: #fff;
            outline: none !important;
            box-shadow: none !important;
        }

    .btn-vlg {
        background-color: #BCCFE8;
        color: #0e1f47;
    }

        .btn-vlg:hover {
            background-color: #91b5e4;
            color: #0e1f47;
            border-color: #91b5e4;
        }

        .btn-vlg:focus,
        .btn-vlg:active {
            background-color: #6399e0;
            color: #fff;
            border-color: #6399e0;
            outline: none !important;
            box-shadow: none !important;
        }

    .btn-dark:focus,
    .btn-dark:active {
        background-color: #6399e0;
        border-color: #6399e0;
        color: #fff;
        outline: none !important;
        box-shadow: none !important;
    }

    .fund-manager-logo {
        max-width: 158px;
        height: auto;
    }

    .organisation-logo {
        max-width: 194px;
        height: auto;
    }

    .action-row {
        font-size: 14px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 10px;
        column-gap: 15px;
        margin-top: -5px;
        margin-bottom: 10px;
        justify-content: flex-start;
    }

    .action-item {
        display: flex;
        align-items: center;
        cursor: pointer;
        color: #163172;
        transition: color 0.3s ease, transform 0.3s ease;
        flex: 0 0 auto;
        text-align: left;
        white-space: normal;
    }

        .action-item i {
            margin-left: 5px;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .action-item:hover i {
            color: #6399e0;
            transform: scale(1.2);
        }

    @media (max-width: 600px) {

        .action-item {
            flex: 1 1 45%;
        }
    }

    .add-to-favorites-icon:hover {
        color: #6399e0;
    }

    .add-to-portfolio-icon:hover {
        color: #6399e0;
    }

    .action-item:hover .add-to-favorites-icon::before {
        content: "\f004";
        font-family: "FontAwesome";
    }

    .action-item:hover .notifications-icon::before {
        content: "\f0f3";
        font-family: "FontAwesome";
    }

    .rf-desc {
        color: #c5d5eb !important;
        padding-right: 5px;
    }

    .rf-row {
        font-weight: bold;
        color: #163172;
    }

    .text-right {
        text-align: right;
    }

    .text-left {
        text-align: left;
    }

    .rf-row {
        display: flex;
        align-items: center; 
        justify-content: start; 
    }

    .col-md-2 {
        flex: 0 0 auto; 
    }

    .col-md-2, .col-md-8 {
        padding-right: 0; 
        padding-left: 0;
    }

    .col-md-8 {
        flex: 1; 
    }

    .no-pad {
        padding: 0px;
    }

    .select2-container--default .select2-selection--single {
        height: 33px !important;
        padding: 1px 0 6px 3px !important;
        min-width: 250px !important;
        max-width: 500px !important;
        background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>') no-repeat right .75rem center/8px 10px;
        padding-right: 1.5rem !important;
        border-radius: 10px !Important;
        -webkit-overflow-scrolling: touch !important;
    }

    .select2-container {
        width: min(100%, 500px) !important;
        min-width: 250px !important;
    }

    .select2-selection__arrow {
        visibility: hidden !important;
    }

    .select2-container--default .select2-search--dropdown .select2-search__field,
    .select2-container,
    .select2-container--default .select2-dropdown,
    .select2-container--default .select2-selection {
        border-radius: 10px !important;
    }

    .select2-container--default .select2-search--dropdown .select2-search__field {
        outline: 2px solid #163172 !important;
        outline-offset: -1px !important;
    }

    .select2-results__option strong {
        font-weight: 500 !important;
    }

    .select2-container--default .select2-results__option--highlighted {
        background-color: #163172 !important;
        color: white !important;
        border-left: 3px solid #6399e0 !important;
    }

        .select2-container--default .select2-results__option--highlighted span {
            color: #91b5e4 !important;
        }

.fund-dropdown {
    display: block;
    min-width: 200px !important;
    max-width: 500px !important;
    background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>') no-repeat right .75rem center/8px 10px;
    padding-right: 1.5rem !important;
    border-radius: 10px !Important;
    font-size: 14px;
    -webkit-overflow-scrolling: touch;
    cursor: pointer;
}

    .fund-dropdown:focus {
        border-color: #ced4da;
        outline: 0 !important;
        box-shadow: 0 !important;
    }

    .select2-container:active,
    .select2-container:focus {
        outline: 2px solid #91b5e4;
        box-shadow: none;
    }

    select .fund-dropdown::-webkit-scrollbar, .select2-container--default .select2-results__options::-webkit-scrollbar {
        width: 12px;
    }

    select.fund-dropdown::-webkit-scrollbar-track,
    .select2-container--default .select2-results__options::-webkit-scrollbar-track {
        background-color: transparent;
        border: 1.5px solid #bccfe8;
        border-radius: 8px; 
    }

    select.fund-dropdown::-webkit-scrollbar-thumb,
    .select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
        background-color: #163172; 
        border: 2px solid #0e1f47; 
        border-radius: 8px; 
    }

    select.fund-dropdown::-webkit-scrollbar-button:vertical:decrement,
    .select2-container--default .select2-results__options::-webkit-scrollbar-button:vertical:decrement {
        background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="6,2 2,6 10,6"/></svg>') no-repeat center;
        background-size: 10px 10px;
        cursor: pointer;
        height: 20px;
    }

    select.fund-dropdown::-webkit-scrollbar-button:vertical:increment,
    .select2-container--default .select2-results__options::-webkit-scrollbar-button:vertical:increment {
        background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="2,6 10,6 6,10"/></svg>') no-repeat center;
        background-size: 10px 10px;
        cursor: pointer;
        height: 20px;
    }

    select.fund-dropdown:not(:hover)::-webkit-scrollbar-thumb,
    .select2-container--default .select2-results__options:not(:hover)::-webkit-scrollbar-thumb {
        background-color: #163172;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .share-classes-dropdown {
        display: none;
    }

    @media (max-width: 768px) {
        .fund-dropdown .fund-search {
            width: 100%;
        }
    }

    .col-md-8 > .form-group:first-child, .col-md-4 > h3 {
        margin-top: 0;
    }

    .search-validation-message {
        color: #FFB921;
        font-size: 14px;
        margin-top: 5px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-style: italic;
    }

        .search-validation-message i {
            font-size: 16px;
        }

    .ui-autocomplete {
        max-height: 300px;
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 0 0 8px 8px;
        border: 1px solid #ccc;
        background-color: white;
    }

    .ui-autocomplete-header {
        font-family: 'Manrope', sans-serif !important;
        font-style: italic;
        font-size: 1rem;
        color: #bfbfbf;
        padding: 5px 10px;
    }

    .ui-widget {
        font-family: 'Manrope', sans-serif !important;
    }

.ui-menu-item:hover {
    background-color: #1e349d;
    border-left: 5px solid #6399e0;
    margin-left: -2px;
}

    .ui-menu .ui-menu-item .ui-state-active {
        background-color: #1e349d;
        border: 0px;
        border-radius: 4px;
        cursor: pointer;
    }

        .ui-menu .ui-menu-item .ui-state-active .line1 {
            color: white;
            font-weight: 500;
        }

        .ui-menu .ui-menu-item .ui-state-active .line2 {
            color: #c5d5eb;
        }

    .ui-autocomplete::-webkit-scrollbar {
        width: 12px;
    }

    .ui-autocomplete::-webkit-scrollbar-track {
        background-color: transparent;
        border: 1.5px solid #bccfe8;
        border-radius: 8px;
    }

    .ui-autocomplete::-webkit-scrollbar-thumb {
        background-color: #163172;
        border: 2px solid #0e1f47;
        border-radius: 8px;
        cursor: pointer;
    }

        .ui-autocomplete::-webkit-scrollbar-thumb:hover {
            background-color: #6399e0;
            cursor: pointer;
        }

    .ui-autocomplete::-webkit-scrollbar-button:vertical:decrement {
        background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="6,2 2,6 10,6"/></svg>') no-repeat center;
        background-size: 10px 10px;
        cursor: pointer;
    }

    .ui-autocomplete::-webkit-scrollbar-button:vertical:increment {
        background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="2,6 10,6 6,10"/></svg>') no-repeat center;
        background-size: 10px 10px;
        cursor: pointer;
    }


    .ui-menu-item {
        padding: 8px 10px;
        cursor: pointer;
    }

    .thin-ctrl {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .hmrc-toggle, .result-toggle {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        width: 3em !important;
        height: 1.5em !important;
        margin-right: 10px;
        border: 1px solid #ced4da !important;
        min-width: 40px;
    }

    .fund-tree-hmrc-toggle {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        width: 2.5em !important;
        height: 1.25em !important;
        margin-right: 10px;
        border: 1px solid #ced4da !important;
        min-width: 30px;
    }

        .hmrc-toggle:checked, .result-toggle:checked, .fund-tree-hmrc-toggle:checked {
            background-color: #1e56a0;
        }

    .toggle-container, .fund-tree-toggle-container {
        display: flex;
        align-items: center;
    }

    .fund-tree-toggle-container {
        align-items: flex-start;
        padding-bottom: 10px;
    }

    .toggle-container div {
        margin-top: 5px;
        font-size: 15px;
    }

    .fund-tree-toggle-container div {
        margin-top: 5px;
        font-size: 12px;
    }

    .fa-info-circle {
        cursor: pointer;
    }

    .tooltip.show {
        opacity: 1;
    }

    .tooltip-inner {
        background-color: #fff !important;
        color: #163172;
        border: 1px solid #163172;
        border-radius: 4px;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    }

    #user-icon-tooltip + .tooltip {
        z-index: 9999999 !important; 
    }

    .tooltip.bs-tooltip-top .tooltip-arrow::before {
        border-top-color: #163172 !important;
    }

    .tooltip.bs-tooltip-bottom .tooltip-arrow::before {
        border-bottom-color: #163172 !important;
    }

    .tooltip.bs-tooltip-start .tooltip-arrow::before {
        border-left-color: #163172 !important;
    }

    .tooltip.bs-tooltip-end .tooltip-arrow::before {
        border-right-color: #163172 !important;
    }

    .video-container {
        background: #FFF;
        width: 100%;
        margin: 20px auto;
        margin-top: 20px;
        padding: 20px;
        box-sizing: border-box;
    }

    .video-content-wrapper {
        display: flex;
        justify-content: space-between; 
        align-items: start; 
        flex-wrap: wrap; 
        gap: 0 20px; 
        width: 100%;
    }

    .video-content-text {
        flex: 1;
        max-width: 50%;
    }

        .video-content-text h2 {
            color: #163172;
            margin-bottom: 15px;
        }

        .video-content-text ul {
            list-style: disc;
            padding-left: 20px;
            margin: 0;
        }

    .content-video {
        flex: 1; 
        width: 100%;
        text-align: right; 
    }

        .content-video video {
            width: 100%; 
            height: auto;
            border-radius: 8px; 
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
        }

    @media (max-width: 768px) {
        .video-content-wrapper {
            flex-direction: column;
            width: 100%;
            margin-top: 20px;
        }

        .video-content-text, .content-video {
            max-width: 100%;
        }

            .content-video video {
                width: 100%;
            }

        .content-video {
            flex: 1 1 100%
        }
    }

    .container-animated, .container-animated-immediate {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

        .container-animated.visible,
        .container-animated-immediate.visible {
            opacity: 1;
            transform: translateY(0);
        }


        .container-animated.slide-from-right {
            transform: translateX(60px);
        }

        .container-animated.slide-from-left {
            transform: translateX(-60px);
        }

        .container-animated.visible.slide-from-right,
        .container-animated.visible.slide-from-left {
            transform: translateX(0);
        }

.container-fade-only {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

    .container-fade-only.visible {
        opacity: 1;
    }

    .about-banner-container {
        display: flex;
        justify-content: flex-start;
        background-color: #0e1f47;
        min-height: 100px;
        max-height: 210px;
        overflow: hidden;
    }

    .about-banner-image,
    .resources-banner-image,
    .contact-banner-image {
        max-height: 100%;
        max-width: 100%;
        min-height: 100px;
        min-width: 420px;
        overflow: hidden;
    }

    .resources-banner-container {
        display: flex;
        justify-content: flex-start;
        background-color: #0e1f47;
        min-height: 100px;
        max-height: 210px;
        overflow: hidden;
    }

    .contact-banner-container {
        display: flex;
        justify-content: flex-start;
        background-color: #0e1f47;
        min-height: 100px;
        max-height: 210px;
        overflow: hidden;
    }

    .page-banner {
        --page-banner-overlay:
            radial-gradient(circle at 77% 22%, rgba(255, 255, 255, 0.1), transparent 22%),
            linear-gradient(180deg, rgba(145, 181, 228, 0.05), transparent 40%);
        --page-banner-shape-1-right: -10%;
        --page-banner-shape-1-top: -12%;
        --page-banner-shape-1-width: min(60%, 360px);
        --page-banner-shape-1-background:
            radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 34%),
            linear-gradient(160deg, rgba(145, 181, 228, 0.3) 0%, rgba(99, 153, 224, 0.13) 55%, rgba(23, 43, 119, 0.04) 100%);
        --page-banner-shape-1-opacity: 0.82;
        --page-banner-shape-1-transform: rotate(16deg);
        --page-banner-shape-2-right: 25%;
        --page-banner-shape-2-top: 30%;
        --page-banner-shape-2-width: min(28%, 170px);
        --page-banner-shape-2-background:
            linear-gradient(205deg, rgba(255, 255, 255, 0.18) 0%, rgba(188, 207, 232, 0.08) 46%, rgba(188, 207, 232, 0) 100%);
        --page-banner-shape-2-opacity: 0.66;
        --page-banner-shape-2-transform: rotate(-24deg);
        position: relative;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        margin-left: calc((100vw - min(1800px, 95vw)) / -2);
        margin-right: calc((100vw - min(1800px, 95vw)) / -2);
        overflow: hidden;
        background: linear-gradient(90deg, #172b77 0%, #0e1f47 100%);
    }

    .page-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--page-banner-overlay);
        pointer-events: none;
    }

    .page-banner__inner {
        position: relative;
        width: 95%;
        max-width: 1800px;
        min-height: 210px;
        margin: 0 auto;
        padding: 28px 0 32px;
        display: flex;
        align-items: center;
    }

    .page-banner__copy {
        position: relative;
        z-index: 2;
        max-width: min(60%, 920px);
    }

    .page-banner__title {
        margin: 0;
        color: #fff !important;
        font-size: 5.3rem;
        line-height: 0.96;
        font-weight: 500;
        letter-spacing: -0.03em;
    }

    .page-banner__subtitle {
        margin: 0.55rem 0 0;
        color: #bccfe8;
        font-size: 3.15rem;
        line-height: 1.03;
        font-weight: 400;
    }

    .page-banner__visuals {
        position: absolute;
        inset: 0 0 0 auto;
        width: min(44%, 680px);
        pointer-events: none;
        z-index: 1;
    }

    .page-banner__visuals::before,
    .page-banner__visuals::after {
        content: "";
        position: absolute;
        transform-origin: center;
        pointer-events: none;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        -webkit-mask-image: url("/images/svg/Filled.svg");
        mask-image: url("/images/svg/Filled.svg");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .page-banner__visuals::before {
        right: var(--page-banner-shape-1-right);
        top: var(--page-banner-shape-1-top);
        width: var(--page-banner-shape-1-width);
        aspect-ratio: 1;
        background-image: var(--page-banner-shape-1-background);
        opacity: var(--page-banner-shape-1-opacity);
        transform: var(--page-banner-shape-1-transform);
    }

    .page-banner__visuals::after {
        right: var(--page-banner-shape-2-right);
        top: var(--page-banner-shape-2-top);
        width: var(--page-banner-shape-2-width);
        aspect-ratio: 1;
        background-image: var(--page-banner-shape-2-background);
        opacity: var(--page-banner-shape-2-opacity);
        transform: var(--page-banner-shape-2-transform);
    }

    .page-banner__shape-image,
    .page-banner__hero-image {
        position: absolute;
        max-width: none;
        height: auto;
        object-fit: contain;
    }

    .page-banner__shape-image {
        right: 1%;
        top: 18px;
        width: min(88%, 460px);
        opacity: 0.78;
        filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.16));
    }

    .page-banner__hero-image {
        right: 3%;
        bottom: 12px;
        width: min(76%, 430px);
        filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
    }

    .page-banner--with-primary-image {
        --page-banner-overlay:
            radial-gradient(circle at 74% 42%, rgba(255, 255, 255, 0.16), transparent 18%),
            linear-gradient(180deg, rgba(145, 181, 228, 0.05), transparent 40%);
    }

    .page-banner--with-primary-image .page-banner__visuals {
        width: min(40%, 480px);
    }

    .page-banner--with-primary-image .page-banner__hero-image {
        display: block;
        right: auto;
        left: 42%;
        top: 50%;
        bottom: auto;
        width: min(72%, 360px);
        max-height: 76%;
        transform: translate(-50%, -50%);
    }

    .page-banner + .white-tile {
        margin-top: 0 !important;
    }

    .page-banner + .contact-row {
        padding-top: 0;
    }

    .page-banner + .about-page-intro-band {
        margin-top: 0;
    }

    .page-banner + .pricing-container .pricing-page__intro-band {
        margin-top: 0;
    }

    .page-banner + .progress-step-container {
        margin-top: 0 !important;
    }

    @media (max-width: 1199.98px) {
        .page-banner__hero-image {
            display: none;
        }

        .page-banner__shape-image {
            top: 50%;
            right: 10px;
            width: min(95%, 260px);
            transform: translateY(-50%);
        }

        .page-banner--with-primary-image .page-banner__visuals {
            width: min(40%, 480px);
        }

        .page-banner--with-primary-image .page-banner__hero-image {
            display: block;
            left: 44%;
            width: min(74%, 250px);
        }
    }

    @media (max-width: 767.98px) {
        .page-banner__inner {
            min-height: auto;
            padding: 24px 0 26px;
        }

        .page-banner__copy {
            max-width: 100%;
        }

        .page-banner__visuals {
            display: none;
        }

        .page-banner__title {
            font-size: 3.5rem;
        }

        .page-banner__subtitle {
            font-size: 2.5rem;
        }

        .page-banner--with-primary-image .page-banner__visuals {
            display: block;
            width: min(34%, 200px);
        }

        .page-banner--with-primary-image .page-banner__hero-image {
            display: block;
            left: 44%;
            width: min(82%, 150px);
            max-height: 68%;
        }
    }

    @media (max-width: 524.98px) {
        .page-banner::before {
            display: none;
        }

        .page-banner--with-primary-image .page-banner__visuals,
        .page-banner--with-primary-image .page-banner__hero-image {
            display: none !important;
        }
    }

    .contact-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-left: 0;
        margin-right: 0;
        padding-top: 20px;
    }

    .contact-col {
        flex: 1 1 calc(50% - 10px);
        min-width: 300px;
        flex: 1;
        padding: 0;
    }

    .contact-col-left, .contact-col-right {
        max-width: 50%;
    }

    @media (max-width: 768px) {

        .contact-col {
            max-width: 100%;
        }

        .contact-col-left, .contact-col-right {
            max-width: 100%;
        }
    }

    .contact-form-control {
        display: block;
        width: 100%;
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #495057;
        background-color: #e4ebf5;
        background-clip: padding-box;
        border: 0;
        border-radius: .25rem;
        border-bottom: 1px solid #ced4da;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        height: 35px;
    }

        .contact-form-control:focus {
            outline: 0;
            border-bottom: 2px solid;
            margin-bottom: -1px;
            border-color: #6399e0;
            background-color: #fff;
        }

.contact-text-danger {
    color: #266dcb;
    font-style: italic;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

    .contact-form-container {
        background: white;
        border-top: 4px solid #163172;
        padding: 20px 20px 40px 20px;
        color: #0e1f47;
        font-size: 1rem;
    }

.contact-form-control:-webkit-autofill,
.contact-form-control:-webkit-autofill:hover,
.contact-form-control:-webkit-autofill:focus,
.contact-form-control textarea:-webkit-autofill,
.contact-form-control textarea:-webkit-autofill:hover,
.contact-form-control textarea:-webkit-autofill:focus,
.contact-form-control.contact-filled:-webkit-autofill,
.contact-form-control.contact-filled:-webkit-autofill:hover,
.contact-form-control.contact-filled:-webkit-autofill:focus,
.contact-form-control select:-webkit-autofill,
.contact-form-control select:-webkit-autofill:hover,
.contact-form-control select:-webkit-autofill:focus {
    background-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

    .contact-faq-container {
        background-color: #fff;
        border-top: 4px solid #91b5e4;
        color: #0e1f47;
        font-size: 1rem;
        height: 100%;
    }

    .contact-message-field {
        min-height: 75px;
        overflow-y: auto;
    }

        .contact-message-field::-webkit-scrollbar {
            width: 12px;
            background-color: #FFF;
        }

        .contact-message-field::-webkit-scrollbar-track {
            background-color: #FFF;
            border: 1.5px solid #bccfe8;
            border-radius: 8px;
        }

        .contact-message-field::-webkit-scrollbar-thumb {
            background-color: #163172;
            border: 2px solid #0e1f47;
            border-radius: 8px;
            cursor: pointer;
        }

            .contact-message-field::-webkit-scrollbar-thumb:hover {
                background-color: #6399e0;
                cursor: pointer;
            }

        .contact-message-field::-webkit-scrollbar-button:vertical:decrement {
            background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="6,2 2,6 10,6"/></svg>') no-repeat center;
            background-size: 10px 10px;
            cursor: pointer;
            height: 20px; 
        }

        .contact-message-field::-webkit-scrollbar-button:vertical:increment {
            background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="2,6 10,6 6,10"/></svg>') no-repeat center;
            background-size: 10px 10px;
            cursor: pointer;
            height: 20px;
        }

    #accordionPanelsStayOpen .accordion-item:first-child .accordion-header .accordion-button {
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }

    .accordion-item:first-of-type {
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }
    #accordionPanelsStayOpen .accordion-item:last-child .accordion-collapse .accordion-body {
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }

    .accordion-button {
        background-color: #1e56a0;
        color: #fff;
        border: 1px solid #006BDF;
    }

        .accordion-button:not(.collapsed) {
            background-color: #163172;
            color: #fff;
        }

        .accordion-button:hover {
            background-color: #0e1f47;
        }

        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }


        .accordion-button.collapsed::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }

    .cnct-btn-container {
        display: flex;
        justify-content: center;
        padding-top: 5px;
        margin-bottom: -10px;
    }

    .tax-year-checkbox-group input[type="checkbox"] {
        display: inline-block;
    }

    .btn.btn-tax-year-select {
        background-color: #fff;
        margin-bottom: 10px;
        margin-bottom: 7px;
    }


    .dropdown-menu {
        max-height: 200px;
        overflow-y: auto;
        width: fit-content !important;
        min-width: var(--dropdown-width, 100px);
    }

.btn-tax-year-select {
    display: block;
    min-width: 200px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-position: calc(100% - 10px) 55%;
    background-size: 16px 12px;
    background-repeat: no-repeat; 
    padding-right: 1.5rem;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #ced4da;
    text-align: left;
    height: 35px !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding-right: 1.5rem;
    border-radius: 10px;
    font-size: 14px;
}

        .dropdown-item input[type=checkbox] {
            display: inline-block !important;
            margin-right: 10px;
        }

    .form-control {
        appearance: none;
        -webkit-appearance: none;
    }

    .tax-year-card-row {
        margin-left: -7.5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 2.5px;
    }

    .tax-year-card {
        background-color: white;
        border-top: solid 5px #163172;
        border-left: 1px solid #ced4da;
        border-right: 1px solid #ced4da;
        border-bottom: 1px solid #ced4da;
        margin: 7.5px;
        flex: 1 1 calc(33.333% - 15px);
    }

    .close-tax-year-card {
        position: absolute;
        top: 0px;
        right: -5px;
        border: none;
        background: none;
        color: #163172;
        font-size: 20px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .close-tax-year-card:hover {
            transform: scale(1.1)
        }

    @media (max-width: 1200px) {
        .tax-year-card {
            flex: 1 1 calc(50% - 15px);
        }
    }

    @media (max-width: 768px) {
        .tax-year-card {
            flex: 1 1 100%;
        }
    }

    .tax-year-card-title-year {
        font-size: 1.5rem; 
        color: #163172;
        text-align: center;
    }

    .tax-year-card-title {
        font-size: 16px;
        color: #1e56a0;
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .tax-year-card-title span {
            display: inline-block;
        }

        .tax-year-card-title .distribution-date {
            font-size: 16px;
            font-weight: lighter;
            color: #163172;
        }

    .tax-year-card-body {
        padding: 10px;
        position: relative;
    }

    .input-group-inline {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

        .input-group-inline label {
            flex: 0 0 auto;
            white-space: nowrap; 
        }

        .input-group-inline input {
            flex: 1 1 250px;
            min-width: 200px; 
        }

    .shares-input-display, .shares-input-equalisation {
        min-width: 200px;
        max-width: 265px;
        font-size: 14px;
    }

    .input-warning {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

        .input-warning.show {
            opacity: 1;
        }

    .calculating-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100px;
    }

    .calculating-text {
        font-size: 1rem;
        color: #163172;
        margin-bottom: 10px;
    }

    .eri-result {
        margin: 15px;
    }

    .eri-calculation-table {
        border: 1px solid #163172;
        border-radius: 5px;
        background-color: #fff;
        padding: 10px;
    }

    .eri-calculation-heading {
        text-align: center;
        color: #0e1f47;
        margin-bottom: 10px;
    }

    .eri-calculation-table-content {
        width: 100%;
        border-collapse: collapse;
    }

        .eri-calculation-table-content td {
            padding: 5px 10px 5px 0;
            color: #0e1f47;
            border: none;
            vertical-align: top;
        }

    .eri-calculation-description {
        text-align: left;
        width: auto;
        vertical-align: middle !important;
    }

    .eri-calculation-value,
    .eri-calculation-result {
        text-align: right;
        white-space: nowrap;
        vertical-align: middle !important;
    }

    .eri-calculation-value {
        min-width: max-content;
        max-width: 120px;
    }

    .eri-calculation-result {
        min-width: max-content;
        max-width: 120px;
        font-weight: bold;
        vertical-align: middle !important;
    }

    .eri-calculation-value[style*="color: red"] {
        color: red !important;
    }

    .eri-calculation-description sup {
        color: #6399e0;
        font-size: 0.75em;
    }

    .btn-tax-year {
        border-radius: 10px;
        background-color: #163172 !important;
        border-color: #163172 !important;
    }

        .btn-tax-year:hover {
            border: 1px solid #163172 !important;
            background-color: #fff !important;
            color: #163172 !important;
        }

    .bg-primary {
        background-color: #163172 !important;
    }

    .eri-collapse-button {
        background-color: transparent !important;
        border: none !important;
        color: inherit;
        box-shadow: none !important;
        padding: 0;
        margin-right: -10px;
    }

        .eri-collapse-button:hover, .toggle-collapse-button:focus {
            background-color: transparent !important;
            outline: none !important;
            box-shadow: none !important;
        }

        .eri-collapse-button:active, .ericollapse-button:focus {
            background-color: transparent !important;
            box-shadow: none !important; 
            outline: none !important;
        }

        .eri-collapse-button .fa {
            font-size: 1.2em;
            padding-top: 4px;
        }

    .fund-details-accordion {
        margin-top: 20px;
    }

    .accordion-item {
        border: none;
        margin-bottom: 10px;
    }

.accordion .accordion-item:last-child,
.fund-details-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-header .accordion-button {
    background-color: white;
    color: #163172;
    font-size: 1.5rem;
    border-top: 2px solid #c5d5eb;
    border-bottom: 2px solid #c5d5eb;
    border-left: none;
    border-right: none;
    padding: 15px;
}

    .accordion-header .accordion-button-small {
        font-size: 1.25rem;
    }

.accordion-header .accordion-button[aria-expanded="true"] {
    color: #0e1f47 !important;
    border-bottom: none;
    border-color: #163172;
}

    .accordion-header .accordion-button[aria-expanded="false"] {
        color: #163172;
    }

    .accordion-header .accordion-button:focus {
        box-shadow: none;
        outline: none;
    }

    .accordion-header .accordion-button:not(.collapsed) {
        background-color: #c5d5eb !important;
        color: #163172;
    }

    .accordion-button.collapsed::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23163172'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230e1f47'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg)
    }

    .accordion-body {
        padding: 10px;
        background-color: #fff;
    }

    #collapseDistributions .accordion-header .accordion-button {
        background-color: #c5d5eb;
    }

    #collapseDistributions .accordion-body {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding-top: 20px;
    }

        #collapseDistributions .accordion-body .col-md-4 {
            flex: 1;
            min-width: 310px;
        }

        #collapseDistributions .accordion-body .col-md-8 {
            flex: 0 1 580px;
        }

#collapseEqualisation .accordion-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
}

        #collapseEqualisation .accordion-body .col-md-4 {
            flex: 1;
            min-width: 310px;
        }

#collapseEqualisation .accordion-body .col-md-8 {
    flex: 0 1 580px;
}

    .distributions-table {
        border-collapse: collapse;
        display: block;
        padding: 0 !important;
    }

    .distributions-table-wrapper {
        overflow-y: auto;
        padding-right: 2px;
        max-height: 550px;
        -webkit-overflow-scrolling: touch;
    }

        .distributions-table-wrapper::-webkit-scrollbar {
            width: 12px;
        }

        .distributions-table-wrapper::-webkit-scrollbar-track {
            background-color: transparent;
            border: 1.5px solid #bccfe8; 
            border-radius: 8px;
        }

        .distributions-table-wrapper::-webkit-scrollbar-thumb {
            background-color: #163172;
            border: 2px solid #0e1f47; 
            border-radius: 8px;
            cursor: pointer;
        }

            .distributions-table-wrapper::-webkit-scrollbar-thumb:hover {
                background-color: #6399e0;
                cursor: pointer;
            }

        .distributions-table-wrapper::-webkit-scrollbar-button:vertical:decrement {
            background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="6,2 2,6 10,6"/></svg>') no-repeat center;
            background-size: 10px 10px;
            cursor: pointer;
        }

        .distributions-table-wrapper::-webkit-scrollbar-button:vertical:increment {
            background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="2,6 10,6 6,10"/></svg>') no-repeat center;
            background-size: 10px 10px;
            cursor: pointer;
        }

    .dist-info {
        background-color: #fff !important;
        border-color: #163172 !important;
        color: #0e1f47 !important;
    }

    .results-table-wrapper {
        overflow-x: auto;
        padding-bottom: 2px;
        overflow-y: hidden;
        margin: 0;
        -webkit-overflow-scrolling: touch;
    }

        .results-table-wrapper::-webkit-scrollbar {
            width: 12px;
        }

        .results-table-wrapper::-webkit-scrollbar-track {
            background-color: transparent;
            border: 1.5px solid #bccfe8;
            border-radius: 8px;
        }

        .results-table-wrapper::-webkit-scrollbar-thumb {
            background-color: #163172;
            border: 2px solid #0e1f47;
            border-radius: 8px;
            cursor: pointer;
        }

            .results-table-wrapper::-webkit-scrollbar-thumb:hover {
                background-color: #6399e0;
                cursor: pointer;
            }

        .results-table-wrapper::-webkit-scrollbar-button:horizontal:decrement {
            background: #f4f7fa url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="6,2 6,10 2,6"/></svg>') no-repeat center;
            background-size: 10px 10px;
            cursor: pointer;
        }

        .results-table-wrapper::-webkit-scrollbar-button:horizontal:increment {
            background: #f4f7fa url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="2,2 6,6 2,10"/></svg>') no-repeat center;
            background-size: 10px 10px;
            cursor: pointer;
        }

    #collapseDistributions .accordion-body .alert {
        margin: 0;
        padding: 15px;
    }

    .distributions-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .distributions-table tbody td,
    .distributions-table tbody th {
        padding: 8px;
        vertical-align: top;
    }

    .distributions-table td[rowspan] {
        vertical-align: middle;
        text-align: center;
    }

    .distributions-table tbody .group-top td {
        border-top: 2px solid #0e1f47;
    }

    .distributions-table tbody .group-bottom td {
        border-bottom: 2px solid #0e1f47;
    }

    .pagination .page-item:first-child .page-link {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .pagination .page-item:last-child .page-link {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .pagination .page-item.active .page-link {
        background-color: #163172 !important;
        border-color: #163172 !important;
        color: white;
    }

    .pagination {
        margin-left: 10px;
    }

        .pagination .page-link {
            color: #1e349d;
        }

        .pagination .page-item .page-link:hover {
            background-color: #BCCFE8;
            border-color: #BCCFE8;
            color: white;
        }

        .pagination .page-item .page-link:active,
        .pagination .page-item .page-link:focus {
            background-color: #FFB921;
            border-color: #163172;
            color: #163172;
            outline: none;
            box-shadow: none;
        }

    .pagination-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

        .pagination-container span,
        .pagination-container select {
            color: #163172;
        }

    .select-dropdown {
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 10px;
        font-size: 14px;
    }

    select.dropdown-chevron {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>') no-repeat right .75rem center/8px 10px;
        padding-right: 1.5rem;
        border-radius: 10px;
        font-size: 14px;
    }

    .shares-input-display:focus,
    .shares-input-display:active,
    .shares-input-equalisation:focus,
    .shares-input-equalisation:active,
    .fund-dropdown:focus,
    .fund-dropdown:active,
    .btn-tax-year-select:focus,
    .btn-tax-year-select:active,
    .dropdown-chevron:focus,
    .dropdown-chevron:active,
    .hmrc-toggle:focus,
    .hmrc-toggle:active,
    .fund-tree-hmrc-toggle:focus,
    .fund-tree-hmrc-toggle:active {
        outline: 2px solid #91b5e4;
        box-shadow: none;
    }

    .fa-close:hover {
        color: #6399e0;
    }

    .modal-header .close {
        padding: 1rem;
        margin: -1rem -1rem -1rem auto;
    }

        .modal-header .close i {
            font-size: 1.5rem;
        }

input.form-control.datepick-input {
    background: url('/images/calendar.png') no-repeat right 12px center;
    background-size: 20px 20px;
    background-color: #fff;
    background-position: calc(100% - 10px) center;
    background-repeat: no-repeat;
    cursor: pointer;
}

    .input-rounded {
        border-radius: 10px !important;
    }

    .input-group .input-group-append .input-group-text {
        border-left: none;
        background: #fff;
    }

        .input-group .input-group-append .input-group-text i {
            color: #1e56a0;
            cursor: pointer;
        }

        .input-group .input-group-append .input-group-text:hover i {
            color: #6399e0;
        }

    .dropdown-menu {
        border: 1px solid rgba(0,0,0,.1);
        box-shadow: 0 6px 12px rgba(0,0,0,.175);
    }

    .login-modal {
        color: #0e1f47;
        padding: 1.35rem 1rem;
    }

    .login-input-group {
        position: relative;
        overflow: visible;
    }

    .login-input-group-text {
        background-color: transparent;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        color: #6B7995;
    }

        .login-input-group-text i {
            font-size: 1.25rem;
        }

        .login-input-group-text:first-child {
            position: absolute;
            top: 18px;
            left: 0.75rem;
            color: #6B7995;
            z-index: 2;
        }

        .login-input-group-text.toggle-password {
            position: absolute;
            top: 18px;
            right: 0.75rem !important;
            cursor: pointer; 
            color: #6B7995;
            z-index: 2;
            width: 1.5rem;
            height: 1.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            pointer-events: auto;
            background: none;
            border: none;
        }

    .login-form-control {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        width: 100%;
    }

    .login-form-check-input {
        display: inline-block !important;
        margin-right: 0.15rem;
        margin-top: -2px;
        vertical-align: middle;
    }
/* Ensure autofilled login password field shows as filled/white */
#loginModal #passwordField:-webkit-autofill,
#loginModal #passwordField:-webkit-autofill:hover,
#loginModal #passwordField:-webkit-autofill:focus,
#loginModal #passwordField:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #0e1f47 !important;
    caret-color: #0e1f47;
}


    .user-info-modal .modal-dialog {
        min-width: 300px;
        width: auto;
        max-width: 500px;
    }

    .login-modal-header,
    .user-info-modal-header,
    .session-warning-modal-header {
        border: none;
        padding: 1rem; 
        color: #0e1f47;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .user-info-modal-header,
    .session-warning-modal-header {
        justify-content: flex-start;
        padding-bottom: 0;
    }

    .user-info-logo {
        font-size: 40px;
        color: #163172;
    }

    .session-warning-icon {
        font-size: 40px;
        color: #6399e0;
    }

    .user-info-title,
    .session-warning-title {
        color: #163172;
        padding-left: 10px;
        padding-right: 45px;
    }

    .user-info-modal .user-info-label {
        font-weight: 500;
        display: inline-block;
        color: #0e1f47;
    }

    .user-info-modal p {
        margin-bottom: 10px;
        color: #6399e0;
    }

    .user-info-footer {
        display: inline-flex;
        justify-content: space-between;
    }

    .login-modal-header h3 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        margin-top: 20px;
        color: #163172;
    }

    .login-modal-header .btn-close,
    .tax-year-card-body .btn-close,
    .fund-tree-panel .btn-close,
    .user-info-modal-header .btn-close,
    .session-warning-modal-header .btn-close,
    .session-expiry-modal-header .btn-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: none;
        border: none;
        padding: 0.5rem; 
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: color 0.3s ease, opacity 0.3s ease;
        font-size: 1.25rem;
        color: #163172;
        opacity: 1;
    }

.cookieConsentBanner .cookie-close-button,
.fund-tree-panel .cookie-close-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

    .cookieConsentBanner .cookie-close-icon,
    .fund-tree-panel .cookie-close-icon {
        width: 24px;
        height: 24px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

.cookieConsentBanner .cookie-close-button:hover .cookie-close-icon,
.fund-tree-panel .cookie-close-button:hover {
    transform: scale(1.2);
    opacity: 1;
}

        .login-modal-header .btn-close:hover,
        .fund-tree-panel .btn-close:hover,
        .user-info-modal-header .btn-close:hover,
        .session-warning-modal-header .btn-close:hover,
        .session-expiry-modal-header .btn-close:hover {
            color: #266dcb !important;
            opacity: 1;
            transform: scale(1.1)
        }

        .login-modal-header .btn-close:active,
        .login-modal-header .btn-close:focus,
        .fund-tree-panel .btn-close:active,
        .fund-tree-panel .btn-close:focus,
        .user-info-modal-header .btn-close:active,
        .user-info-modal-header .btn-close:focus,
        .session-warning-modal-header .btn-close:active,
        .session-warning-modal-header .btn-close:focus,
        .session-expiry-modal-header .btn-close:active,
        .session-expiry-modal-header .btn-close:focus {
            color: #266dcb;
            outline: none;
            box-shadow: none;
            opacity: 1
        }

    .cookieConsentBanner {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #0e1f47;
        color: white;
        padding: 0 0 0 20px;
        z-index: 9999;
        display: flex;
        align-items: center !important;
        justify-content: space-between !important;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.4);
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .CookieButtons {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: 40px;
        flex: 0;
    }

    .CookieText {
        display: flex;
        align-items: center;
        padding-top: 20px;
        margin-right: 10px;
        flex: 1;
        padding-bottom: 20px;
    }

        .CookieText img {
            height: 60px;
            margin-right: 20px;
        }

    @media (max-width: 968px) {
        .cookieConsentBanner {
            flex-direction: column;
            align-items: flex-start;
            padding: 0 10px;
        }

        .CookieButtons {
            margin-right: 0;
            margin-bottom: 10px;
            justify-content: center;
            width: 100%;
        }
    }

    .cookie-preferences-modal__dialog {
        max-width: 760px;
    }

    .cookie-preferences-modal {
        border-top: 4px solid #163172;
    }

    .cookie-preferences-modal__body {
        padding: 0 1.5rem 1.5rem;
    }

    .cookie-preferences-modal__body .cookie-preferences-panel {
        padding-left: 0;
        padding-right: 0;
    }

    .cookie-preferences-modal__header .login-title {
        font-size: clamp(1.35rem, 4.8vw, 1.9rem);
        line-height: 1.2;
    }

    .cookie-preferences-panel {
        background: #fff;
        padding: 20px;
    }

    .cookie-preferences-panel__intro {
        margin-bottom: 10px;
    }

    .cookie-preferences-panel__title {
        margin: 0 0 8px;
        color: #163172;
        font-size: 1.9rem;
        font-weight: 500;
        text-align: center;
    }

    .cookie-preferences-panel__text,
    .cookie-preferences-panel__option-text {
        margin: 0;
        color: #0e1f47;
        font-size: 1rem;
        line-height: 1.6;
    }

    .cookie-preferences-panel__list {
        display: flex;
        flex-direction: column;
        margin-top: 6px;
    }

    .cookie-preferences-panel__option {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        padding: 18px 0;
        border-top: 1px solid #d9dfe9;
    }

    .cookie-preferences-panel__option--locked {
        border-top: none;
        padding-top: 8px;
    }

    .cookie-preferences-panel__option-title {
        margin: 0 0 6px;
        color: #0e1f47;
        font-size: 1.15rem;
        font-weight: 500;
    }

    .cookie-preferences-panel__switch {
        position: relative;
        display: inline-flex;
        width: 56px;
        min-width: 56px;
        height: 32px;
        margin-top: 4px;
    }

    .cookie-preferences-panel__switch input {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        margin: 0;
    }

    .cookie-preferences-panel__switch--locked input {
        cursor: default;
    }

    .cookie-preferences-panel__slider {
        width: 100%;
        height: 100%;
        border-radius: 999px;
        background: #bccfe8;
        transition: background-color 0.2s ease;
    }

    .cookie-preferences-panel__slider::before {
        content: "";
        position: absolute;
        top: 4px;
        left: 4px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 4px rgba(14, 31, 71, 0.2);
        transition: transform 0.2s ease;
    }

    .cookie-preferences-panel__switch input:checked + .cookie-preferences-panel__slider {
        background: #163172;
    }

    .cookie-preferences-panel__switch input:checked + .cookie-preferences-panel__slider::before {
        transform: translateX(24px);
    }

    .cookie-preferences-panel__switch--locked .cookie-preferences-panel__slider {
        background: #0e1f47;
    }

    .cookie-preferences-panel__switch--locked .cookie-preferences-panel__slider::before {
        transform: translateX(24px);
    }

    .cookie-preferences-panel__actions {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-top: 18px;
        border-top: 1px solid #d9dfe9;
        margin-top: 6px;
    }

    .cookie-preferences-panel__feedback {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
        flex-wrap: nowrap;
    }

    .cookie-preferences-panel__status {
        margin: 0;
        color: #5f6f8c;
        font-size: 0.95rem;
        line-height: 1.4;
        min-height: 0;
        flex: 0 1 auto;
    }

    .cookie-preferences-panel__status--success {
        color: #6399e0 !important;
    }

    .cookie-preferences-panel__status--error {
        color: #6399e0 !important;
    }

    @media (max-width: 767.98px) {
        .cookie-preferences-panel {
            padding: 20px 18px;
        }

        .cookie-preferences-panel__title {
            font-size: 1.6rem;
        }

        .cookie-preferences-panel__option {
            flex-direction: column;
        }

        .cookie-preferences-panel__switch {
            margin-top: 0;
        }

        .cookie-preferences-panel__actions {
            align-items: flex-start;
        }

        .cookie-preferences-panel__feedback {
            flex-wrap: wrap;
        }
    }

    @media (max-width: 399.98px) {
        .white-tile-band__inner {
            font-size: 1rem;
        }

        .cookie-preferences-panel__option {
            gap: 10px;
            padding-bottom: 10px;
        }

        .cookie-preferences-panel__option-text {
            font-size: 0.75rem;
            line-height: 1.2;
        }
    }

    .login-button {
        background-color: #163172;
        color: #fff;
        border: 1px solid #163172;
        transition: all 0.3s ease-in-out;
    }

        .login-button:hover {
            background-color: #266dcb;
            color: #fff;
            border: 1px solid #266dcb;
        }

        .login-button:active,
        .login-button:focus {
            background-color: #0e1f47 !important;
            color: #fff !important;
            border: 1px solid #0e1f47 !important;
            outline: none !important;
            box-shadow: none !important;
        }

    .login-form-check-input {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 16px;
        height: 16px;
        border: 1px solid #0e1f47;
        border-radius: 4px;
        background-color: transparent;
        cursor: pointer;
        position: relative;
    }

        .login-form-check-input:checked {
            background-color: #163172;
            border-color: #163172;
        }

        .login-form-check-input::before {
            content: "\2713";
            color: #fff;
            font-size: 12px;
            font-weight: bold;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
        }

        .login-form-check-input:checked::before,
        .login-form-check-input:focus::before,
        .login-form-check-input:active::before,
        .login-form-check-input:hover::before {
            opacity: 1;
        }

        .login-form-check-input:hover {
            background-color: #266dcb;
            border-color: #266dcb;
        }

    .login-form-control::placeholder,
    .contact-form-control::placeholder {
        color: #495057;
        opacity: 1;
    }

    .login-form-control,
    .contact-form-control {
        color: #0e1f47;
    }

        .login-form-control:focus,
        .contact-form-control:focus {
            color: #0e1f47;
        }

.contact-filled {
    background-color: #fff !important;
}

    .modal-footer:before,
    .modal-footer:after {
        content: "";
        position: absolute;
        top: 0; 
        height: 1px;
        background-color: #ddd;
        width: calc(50% - 16px);
    }

.pdf-modal .modal-footer::before,
.pdf-modal .modal-footer::after {
    height: 0;
    background: none;
}

#successModal .modal-footer::before,
#successModal .modal-footer::after,
#confirmRemoveModal .modal-footer::before,
#confirmRemoveModal .modal-footer::after {
    content: none !important;
    display: none !important;
}

    .modal-footer:before {
        left: 16px;
    }

    .modal-footer:after {
        right: 16px;
    }

    .modal-footer.js-overridden:before,
    .modal-footer.js-overridden:after {
        content: none;
    }

    .modal-footer {
        border-top: none !important;
        position: relative;
        text-align: center;
    }

    .no-backdrop ~ .modal-backdrop {
        display: none !important;
    }

.transaction-group {
    border-top: solid 5px #163172;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    padding: 10px;
}

.transaction-group-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 10px 10px 10px;
}

.radio-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

    .radio-option input[type="radio"] {
        flex-shrink: 0;
        margin-right: 8px;
        margin-top: 3px;
    }

    .radio-option label {
        white-space: normal;
        flex: 1;
        min-width: 0;
    }

.transaction-label {
    color: #6399e0;
    font-weight: 500;
    font-size: 15px;
}

.p-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
}

.custom-gbp-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 220px;
}

    .custom-gbp-input-group .input-gbp-group-text {
        position: absolute;
        left: 10px;
        background: transparent;
        border: none;
        font-size: 18px;
        color: #a3a3a3;
        pointer-events: none;
    }

    .custom-gbp-input-group input {
        padding-left: 25px;
        height: 35px;
        font-size: 14px;
    }

.portfolio-selected-sec {
    background-color: #0e1f47;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    font-weight: 500;
    display: grid;
    grid-template-columns: auto 1fr;
}

.pf-dates {
    background-color: #fff;
    color: #163172;
    font-size: 16px;
    padding: 10px 20px;
    font-weight: 500;
    display: grid;
    grid-template-columns: auto 1fr;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}

.pf-header-row,
.pf-sub-header-row {
    display: contents;
    align-items: center;
    padding-bottom: 5px;
}

.pf-header-column,
.pf-sub-header-column {
    text-align: left;
    word-wrap: break-word;
}

.pf-desc {
    color: #c5d5eb;
    margin-right: 5px;
}

.pf-sub-desc {
    color: #1e56a0;
    margin-right: 5px;
}

.Historic-Table tbody tr {
    background-color: #ebebeb;
}

    .Historic-Table tbody tr:nth-child(even) {
        background-color: #bcc6d4;
    }

.Historic-Table thead th {
    background-color: #0e1f47;
}

input:-webkit-autofill {
    animation-name: autofill;
    animation-fill-mode: both;
    background-color: #fff !important;
}

#taxYearDropdownMenu::-webkit-scrollbar {
    width: 12px;
}

#taxYearDropdownMenu::-webkit-scrollbar-track {
    background-color: #fff;
    border: 1.5px solid #bccfe8;
    border-radius: 8px;
}

#taxYearDropdownMenu::-webkit-scrollbar-thumb {
    background-color: #163172;
    border: 2px solid #0e1f47;
    border-radius: 8px;
    cursor: pointer;
}

    #taxYearDropdownMenu::-webkit-scrollbar-thumb:hover {
        background-color: #6399e0;
        cursor: pointer;
    }

#taxYearDropdownMenu::-webkit-scrollbar-button:vertical:decrement {
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="6,2 2,6 10,6"/></svg>') no-repeat center;
    background-size: 10px 10px;
    cursor: pointer;
}

#taxYearDropdownMenu::-webkit-scrollbar-button:vertical:increment {
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%230e1f47"><polygon points="2,6 10,6 6,10"/></svg>') no-repeat center;
    background-size: 10px 10px;
    cursor: pointer;
}

.export-radio input[type="radio"] {
    display: none;
}

.export-radio {
    padding-left: 0;
}

.export-radio label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #0e1f47;
    cursor: pointer;
}

    .export-radio label::before {
        content: "";
        display: inline-block;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 2px solid #0e1f47;
        margin-right: 8px;
    }

    .export-radio input[type="radio"]:checked + label::before {
        background-color: #6399e0;
        border: 2px solid #0e1f47;
    }

.export-radio input[type="radio"]:focus + label::before {
    outline: none;
    box-shadow: none;
}

.white-tile {
    background-color: #fff;
    padding: 20px;
}

.white-tile-band {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin: 0;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #fff;
}

.white-tile-band__inner {
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px 0 40px;
    font-size: 1.2rem;
}

.section-card-heading {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.section-card-heading__accent {
    width: 6px;
    min-width: 6px;
    background: linear-gradient(180deg, #163172 0%, #1e56a0 100%);
}

.section-card-heading__body {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    flex: 1;
    min-width: 0;
}

.section-card-heading__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.section-card-heading__content {
    min-width: 0;
}

.section-card-heading__title {
    margin: 0;
    color: #163172;
    font-size: 1.6rem;
    font-weight: 600;
}

.section-card-heading__meta {
    display: inline-flex;
    align-items: center;
    margin-top: 0.6rem;
    padding: 0.38rem 0.9rem;
    border-radius: 4px;
    background: #163172;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .section-card-heading__body {
        gap: 0.75rem;
    }

    .section-card-heading__icon {
        width: 52px;
        height: 52px;
    }

    .section-card-heading__title {
        font-size: 1.35rem;
    }
}

.back-to-top-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #808080;
    margin: 10px 0;
}

    .back-to-top-link i {
        font-size: 1rem;
        transition: transform 0.2s ease, color 0.2s ease;
        color: #1e56a0;
    }

    .back-to-top-link:hover {
        color: #6399e0;
    }

    .back-to-top-link:hover i {
        transform: scale(1.25);
        color: #6399e0;
    }

.faq-category-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 5px 20px;
    text-decoration: none;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #0e1f47;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 300px;
}

    .faq-category-tile:hover,
    .faq-category-tile.active {
        background: #0e1f47;
        color: #fff;
    }

        .faq-category-tile:hover img,
        .faq-category-tile.active img {
            filter: brightness(0) invert(1);
        }

.faq-category-icon {
    width: 58px;
    height: auto;
    transition: filter 0.2s ease;
}

.faq-sub-cont {
    border: 2px solid #163172;
    border-radius: 5px;
    padding: 10px;
}

.FM-upload-dropzone {
    border: 3px dashed #6399e0;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f4f7fa;
    transition: background-color 0.3s;
    min-height: 120px;
    text-align: center;
}

    .FM-upload-dropzone:hover {
        background-color: #e9f0f9;
    }

    .FM-dropzone-hover {
    background-color: #e9f0f9 !important;
}

#FM-preview-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.FM-thumbnail {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    width: 150px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background: white;
}

.FM-thumbnail-icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.FM-thumbnail-info {
    text-align: center;
    font-size: 0.8rem;
    word-break: break-word;
}

.FM-remove-btn {
    position: absolute;
    top: -5px;
    right: 5px;
    color: #0e1f47;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.2s;
}

.FM-thumbnail-preview {
    object-fit: contain;
}

.FM-thumbnail-canvas {
    display: flex;
    align-items: center;
    justify-content: center;
}

.FM-thumbnail-preview,
.FM-thumbnail-canvas {
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    width: 100%;
    height: 130px;
}

.FM-remove-btn:hover {
    transform: scale(1.3);
    color: #6399e0;
}

.FM-thumbnail-placeholder {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.FM-thumbnail-placeholder-icon {
    font-size: 40px;
    color: #1e56a0;
}

.FM-progress {
    height: 20px;
    background: #f4f7fa;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.FM-progress-bar {
    height: 100%;
    background-image: linear-gradient(to right, #91b5e4, #6399e0);
    width: 0%;
    transition: width 0.4s ease;
}

.FM-thumbnail-fallback-icon {
    font-size: 40px;
    color: #1e56a0;
}

.bl-li {
    color: #FFF;
}

    .bl-li:hover {
        color: #91b5e4;
    }

.guidance-section-divider {
    height: 4px;
    background-color: #163172;
    margin: 20px 0;
}

.guidance-contents-wrapper {
    background-color: #f2f5fa;
    border: 1px solid #d1dbe5;
    padding: 10px;
    border-radius: 5px;
}

.guidance-responsive-contents {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

    .guidance-responsive-contents li {
        width: 100%;
        margin-bottom: 5px;
    }

@media (min-width: 768px) {
    .guidance-responsive-contents li {
        width: 50%;
    }
}

.guidance-content-columns {
    display: flex;
    flex-wrap: wrap;
    color: #0e1f47;
}

.guidance-content-columns strong{
    font-weight: 500;
    color: #163172;
}

    .guidance-content-columns h5 {
        font-size: 1.5rem;
        color: #163172;
        margin-bottom: 0;
    }

    .guidance-content-columns .guidance-p1{
        margin-top: 15px;
    }

    .guidance-heading {
        margin-bottom: 5px;
        display: inline-block;
        position: relative;
        width: fit-content;
    }

    .guidance-heading::after {
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        margin-top: 5px;
        position: absolute;
        left: 0;
        bottom: -8px;
    }

        .guidance-content-columns > .guidance-left-col, .guidance-content-columns > .guidance-right-col {
        width: 100%;
    }

@media (min-width: 992px) {
    .guidance-content-columns > .guidance-left-col,
    .guidance-content-columns > .guidance-right-col {
        width: 48%;
    }

    .guidance-content-columns > .guidance-divider-col {
        width: 4%;
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    .guidance-vertical-divider {
        width: 2px;
        background-color: #BCCFE8;
        height: auto;
    }
}
.custom-modal-close img:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.video-thumbnail-wrapper {
    max-width: 650px;
    box-shadow: 8px 8px 12px rgba(0,0,0,0.3);
}

.custom-api-loader {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    min-height: 150px;
    padding: 20px 0;
    font-size: 1.2rem;
    color: #163172;
    text-align: center;
}

.redoc-wrap .menu-content {
    border: 2px solid #163172;
    border-radius: 4px;
}

.redoc-wrap {
    font-family: 'Manrope', sans-serif !important;
}

    .redoc-wrap h1,
    .redoc-wrap h2,
    .redoc-wrap h3,
    .redoc-wrap h4,
    .redoc-wrap h5,
    .redoc-wrap h6,
    .redoc-wrap p,
    .redoc-wrap span,
    .redoc-wrap div,
    .redoc-wrap li,
    .redoc-wrap a,
    .redoc-wrap code {
        font-family: 'Manrope', sans-serif !important;
    }

.lb-hov {
    color: #91b5e4 !important;
}

.lb-hov:hover {
    color: #6399e0 !important;
}

.protected-access-wrapper {
    position: relative;
}

.protected-content {
    filter: none;
    pointer-events: auto;
}

    .protected-content.blurred {
        filter: blur(4px) grayscale(0.3);
        pointer-events: none;
    }

.protected-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.protected-overlay.protected-overlay--suspended {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.skeleton-line {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 4px;
    margin: 15px 0;
}

    .skeleton-line.full {
        width: 100%;
    }

    .skeleton-line.short {
        width: 40%;
        height: 24px;
        margin-bottom: 20px;
    }

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.protected-split-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.protected-sidebar {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.protected-main {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.skeleton-line {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 4px;
    margin: 10px 0;
}

    .skeleton-line.short {
        width: 80%;
        height: 24px;
        margin-bottom: 15px;
    }

    .skeleton-line.sidebar-line {
        width: 100%;
        height: 18px;
    }

    .skeleton-line.table-header {
        height: 24px;
        width: 100%;
        margin-bottom: 15px;
    }

    .skeleton-line.table-row {
        height: 36px;
        width: 100%;
        margin-bottom: 10px;
    }

.guidance-section{
    margin-bottom: 25px;
}

.skeleton-block {
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 2.6s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-block--blue-light {
    background: linear-gradient(90deg, rgba(255,255,255,0.24) 25%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0.24) 75%);
    background-size: 400% 100%;
}

.skeleton-block--accent {
    background: linear-gradient(90deg, #91b5e4 25%, #c7dcf5 50%, #91b5e4 75%);
    background-size: 400% 100%;
}

.hmrc-protected-skeleton {
    padding: 0 0 20px 0;
}

.hmrc-protected-skeleton__search-shell {
    background: #132756;
    padding: 14px 14px 16px;
    margin-bottom: 14px;
}

.hmrc-protected-skeleton__search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.hmrc-protected-skeleton__search-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hmrc-protected-skeleton__title-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__title-line {
    width: 300px;
    max-width: calc(100vw - 260px);
    height: 30px;
}

.hmrc-protected-skeleton__mode-toggle {
    width: 190px;
    height: 32px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__search-bar {
    display: flex;
    gap: 0;
    width: 62%;
    min-width: 520px;
    max-width: 920px;
}

.hmrc-protected-skeleton__search-input {
    height: 38px;
    border-radius: 4px 0 0 4px;
    flex: 1 1 auto;
}

.hmrc-protected-skeleton__search-button {
    width: 100px;
    height: 38px;
    border-radius: 0 18px 18px 0;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
}

.hmrc-protected-skeleton__toggle-group {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.hmrc-protected-skeleton__toggle-switch {
    width: 48px;
    height: 26px;
    border-radius: 999px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 3px;
    background: linear-gradient(90deg, #214181 25%, #3662a7 50%, #214181 75%);
    background-size: 400% 100%;
}

.hmrc-protected-skeleton__toggle-knob {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__toggle-label {
    width: 440px;
    max-width: 100%;
    height: 18px;
    border-radius: 5px;
}

.hmrc-protected-skeleton__favourites-button {
    width: 164px;
    height: 30px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__favourites-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__favourites-label {
    width: 92px;
    height: 12px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__section-card {
    background: #132756;
    padding: 0;
    margin-top: 16px;
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
}

.hmrc-protected-skeleton__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 14px 12px;
}

.hmrc-protected-skeleton__section-title {
    width: 220px;
    height: 26px;
    margin: 0;
}

.hmrc-protected-skeleton__section-chevron {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.hmrc-protected-skeleton__section-body {
    padding: 0 14px 14px;
}

.hmrc-protected-skeleton__letter-strip-shell {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    padding: 0;
}

.hmrc-protected-skeleton__letter-strip {
    width: 100%;
    min-width: 420px;
    max-width: 1160px;
    height: 30px;
    margin: 0 auto;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255,255,255,0.18) 25%, rgba(255,255,255,0.30) 50%, rgba(255,255,255,0.18) 75%);
    background-size: 400% 100%;
}

.hmrc-protected-skeleton__results-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 6px 0;
}

.hmrc-protected-skeleton__results-count {
    width: 190px;
    height: 16px;
    border-radius: 4px;
}

.hmrc-protected-skeleton__results-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hmrc-protected-skeleton__results-meta--compact {
    padding-top: 0;
}

.hmrc-protected-skeleton__control-line {
    width: 88px;
    height: 16px;
    border-radius: 4px;
}

.hmrc-protected-skeleton__control-line--long {
    width: 180px;
}

.hmrc-protected-skeleton__table {
    border-radius: 4px;
    overflow: hidden;
}

.hmrc-protected-skeleton__table-head,
.hmrc-protected-skeleton__table-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    justify-items: center;
    align-items: center;
    padding: 0 12px;
}

.hmrc-protected-skeleton__table-head {
    background: #1f3d7b;
    min-height: 56px;
}

.hmrc-protected-skeleton__table-head-line {
    height: 18px;
    border-radius: 3px;
    width: 68%;
    max-width: 140px;
}

.hmrc-protected-skeleton__table-row {
    background: #fff;
    min-height: 48px;
}

.hmrc-protected-skeleton__table-row--alt {
    background: #dfe8f6;
}

.hmrc-protected-skeleton__cell-line {
    height: 16px;
    border-radius: 3px;
    width: 68%;
    max-width: 140px;
}

.hmrc-protected-skeleton__results-meta--bottom {
    padding-top: 10px;
}

.hmrc-protected-skeleton__results-meta--bottom-compact {
    padding-top: 0;
}

@media (max-width: 991px) {
    .hmrc-protected-skeleton__mode-toggle {
        width: 150px;
    }

    .hmrc-protected-skeleton__table-head,
    .hmrc-protected-skeleton__table-row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .hmrc-protected-skeleton__table-head-line:nth-child(6),
    .hmrc-protected-skeleton__table-row .hmrc-protected-skeleton__cell-line:nth-child(6) {
        display: none;
    }

    .hmrc-protected-skeleton__section-title {
        width: 190px;
    }

    .hmrc-protected-skeleton__letter-strip {
        min-width: 0;
    }

    .hmrc-protected-skeleton__letter-strip-shell {
        width: 76%;
        min-width: 0;
        padding: 0;
    }

    .hmrc-protected-skeleton__search-bar {
        width: 78%;
        min-width: 0;
    }

    .hmrc-protected-skeleton__toggle-label {
        width: 320px;
    }

    .hmrc-protected-skeleton__favourites-button {
        width: 154px;
    }
}

@media (max-width: 767px) {
    .hmrc-protected-skeleton__search-header {
        flex-direction: column;
        align-items: stretch;
    }

    .hmrc-protected-skeleton__mode-toggle {
        width: 140px;
        align-self: flex-end;
    }

    .hmrc-protected-skeleton__title-line {
        width: 220px;
        max-width: 100%;
    }

    .hmrc-protected-skeleton__search-button {
        width: 74px;
    }

    .hmrc-protected-skeleton__search-bar {
        width: 100%;
    }

    .hmrc-protected-skeleton__search-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .hmrc-protected-skeleton__toggle-group {
        width: 100%;
    }

    .hmrc-protected-skeleton__toggle-label {
        width: 100%;
    }

    .hmrc-protected-skeleton__favourites-button {
        width: 148px;
        align-self: flex-end;
    }

    .hmrc-protected-skeleton__results-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hmrc-protected-skeleton__table-head,
    .hmrc-protected-skeleton__table-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        padding: 0 8px;
    }

    .hmrc-protected-skeleton__table-head-line,
    .hmrc-protected-skeleton__cell-line {
        width: 60px;
    }

    .hmrc-protected-skeleton__table-head-line:nth-child(n+5),
    .hmrc-protected-skeleton__table-row .hmrc-protected-skeleton__cell-line:nth-child(n+5) {
        display: none;
    }

    .hmrc-protected-skeleton__section-title {
        width: 180px;
        height: 34px;
        margin-left: 0;
    }

    .hmrc-protected-skeleton__section-header {
        padding: 12px 12px 10px;
    }

    .hmrc-protected-skeleton__section-body {
        padding: 0 12px 12px;
    }

    .hmrc-protected-skeleton__letter-strip-shell {
        width: 100%;
        padding: 0;
    }

    .hmrc-protected-skeleton__letter-strip {
        width: 100%;
        height: 32px;
    }
}

.billing-pill-content {
    display: flex;
    flex-direction: column;
    color: #1e1e1e;
}

.badge-discount {
    background-color: #163172;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 6px 2px 6px;
    border-radius: 4px;
    margin-top: 5px;
    display: inline-block;
    width: fit-content;
}

.grid-2-col {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-edit {
    background-color: #fff;
    color: #163172;
    border: 1px solid #163172;
    outline: none;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .btn-edit:hover,
    .btn-edit:focus,
    .btn-edit:active {
        background-color: #163172;
        color: #fff;
        outline: none;
        box-shadow: none;
    }

        .btn-edit:hover i,
        .btn-edit:focus i,
        .btn-edit:active i {
            color: #fff;
        }

.no-focus-shadow,
.no-focus-shadow:focus,
.no-focus-shadow:active,
.no-focus-shadow:hover {
    box-shadow: none !important;
    outline: none !important;
}

.form-select {
    background-position: calc(100% - 10px) 55%;
}

#confirmExistingSelectionBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

body.site-mode-layout .container-animated,
body.site-mode-layout .container-animated-immediate,
body.site-mode-layout .container-fade-only {
    opacity: 1 !important;
    transform: none !important;
}

body.site-mode-layout .container-animated,
body.site-mode-layout .container-animated-immediate {
    transition: none !important;
}

body.site-mode-layout {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(99, 153, 224, 0.16), transparent 34%),
        linear-gradient(160deg, #f4f7fb 0%, #eef3fa 48%, #dfe8f4 100%);
    color: #0e1f47;
    font-family: "Manrope", sans-serif;
}

body.site-mode-layout .site-mode-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.site-mode-layout .site-mode-header {
    padding: 28px 20px 0;
    display: flex;
    justify-content: center;
}

body.site-mode-layout .site-mode-logo-link {
    display: inline-flex;
}

body.site-mode-layout .site-mode-logo {
    width: min(420px, 78vw);
    height: auto;
}

body.site-mode-layout .site-mode-main {
    flex: 1;
    display: block;
    padding: 0 0 56px;
}

body.site-mode-layout .small-nav,
body.site-mode-layout .terms-container,
body.site-mode-layout .privacy-policy-container,
body.site-mode-layout .cookies-container {
    width: 95%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

body.site-mode-layout .small-nav {
    margin-top: 10px;
}

body.site-mode-layout .site-mode-footer {
    padding: 0 20px 28px;
}

body.site-mode-layout .site-mode-footer__inner {
    width: min(100%, 920px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: #4b638f;
    font-size: 0.95rem;
}

body.site-mode-layout .site-mode-footer__meta {
    margin: 0;
}

body.site-mode-layout .site-mode-footer__links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

body.site-mode-layout .site-mode-footer__links a {
    color: #163172;
    text-decoration: none;
    font-weight: 700;
}

body.site-mode-layout .page-banner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body.site-mode-layout .page-banner__inner {
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
}

body.site-mode-layout .site-mode-main > .site-mode-card {
    width: min(100%, 920px);
    margin: 32px auto 0;
}