﻿.axaYoutube, .axaYoutube .play-button, .axaYoutube img {
    cursor: pointer
}

    .axaYoutube iframe, .axaYoutube img {
        height: 100%;
        top: 0;
        left: 0;
        width: 100%
    }

#pdfIcon {
    background: url(/Ektron/Images/pdfIcon_20x20.gif) 0 4px no-repeat;
    padding: 4px 0 4px 30px !important
}

.pdfLinks {
    text-decoration: none
}

.axaYoutube {
    background-color: #000;
    margin-bottom: 5%;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    height: 315px
}

    .axaYoutube img {
        opacity: .7
    }

    .axaYoutube .play-button {
        width: 68px;
        height: 48px;
        background-color: #333;
        display: block;
        box-shadow: 0 0 30px rgba(0,0,0,.6);
        z-index: 1;
        opacity: .8;
        border-radius: 6px
    }

        .axaYoutube .play-button:before {
            content: "";
            border-style: solid;
            border-width: 15px 0 15px 26px;
            border-color: transparent transparent transparent #fff
        }

        .axaYoutube .play-button, .axaYoutube .play-button:before, .axaYoutube iframe, .axaYoutube img {
            position: absolute
        }

            .axaYoutube .play-button, .axaYoutube .play-button:before {
                top: 50%;
                left: 50%;
                transform: translate3d(-50%,-50%,0)
            }

    .axaYoutube:hover .play-button {
        background-color: #dc0b12
    }

.contentItem {
    display: block;
    padding: 14px;
    background-color: #f2f2f2
}

.navbar-right, .navbar-right-desktop {
    padding: 20px 0;
    position: absolute;
    right: 0;
    margin-right: 72px
}

@media only screen and (min-device-width:768px) {
    .axaYoutube {
        width: 500px
    }
}

.navbar-right {
    margin-top: -30px
}

.logo-bar .co-branding {
    border: none;
    width: 170px;
    display: block;
    padding-top: 18px
}

.navbar-right-desktop {
    margin-top: -4px
}

.navbar-right-ie, .navbar-right-ie-desktop {
    padding: 20px 0;
    position: absolute;
    right: 0;
    margin-right: 107px
}

.navbar-right-ie {
    margin-top: -86px
}

.navbar-right-ie-desktop {
    margin-top: -61px
}

@media (max-width:480px) {
    .navbar-right {
        padding: 20px 0;
        position: absolute;
        right: 0
    }
}

.FormFileUpload__Label:focus:after, .FormResetButton:focus:after, .FormSubmitButton:focus:after, .btn:focus:after, button:focus:after {
    width: 100%;
    opacity: 1
}

@media(pointer:fine) {
    .FormFileUpload__Label:hover:after, .FormResetButton:hover:after, .FormSubmitButton:hover:after, .btn:hover:after, button:hover:after {
        width: 100%;
        opacity: 1
    }
}

@media only screen and (max-width:64em)and (min-width:45em) {
    .article-banner {
        padding: 255px 20px 0;
        margin-bottom: 90px
    }

    .article-banner__image {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: inherit
    }

    .article-banner__image-opacity {
        display: block
    }

    .article-banner__content {
        padding: 60px 40px 0;
        width: 100%;
        margin-left: 20px;
        margin-right: 20px;
        background-attachment: fixed
    }

    .article-banner__author {
        margin-bottom: 40px
    }

    .article-banner__title {
        margin-bottom: 60px
    }
}

.FormCaptcha .FormTextbox__Input {
    font-family: SourceSansPro,Arial,sans-serif;
    font-weight: 400;
    font-size: .95rem;
    line-height: 1.5em;
    letter-spacing: .02em;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    outline-offset: -2px;
    vertical-align: top !important;
    max-width: 100%;
    width: 9rem !important;
    margin-left: 10px;
    margin-top: 10px;
    min-width: 22.3%
}

.FormCaptcha .FormCaptcha__Refresh {
    max-width: 100% !important;
    vertical-align: top !important
}

@media only screen and (max-device-width:480px) {
    .FormCaptcha .FormTextbox__Input {
        margin-left: 0 !important
    }
}

@media only screen and (device-width:768px) {
    .FormCaptcha .FormTextbox__Input {
        margin-left: 0 !important
    }
}

@media only screen and (device-width:1024px) {
    .FormCaptcha .FormTextbox__Input {
        margin-left: 0 !important
    }
}

.data-aos-fade-up-search {
    opacity: 1;
    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    transform: translate(0)
}

Sitemap .scheme--wild-sands > div:first-of-type, Sitemap .scheme--wild-sands > div:first-of-type > div:first-of-type, Sitemap .scheme--wild-sands > div > div > div:nth-child(2) {
    margin-top: 0
}

Sitemap .scheme--wild-sands div:first-child {
    width: 100%;
    margin: 0
}

Sitemap .scheme--wild-sands > div:first-of-type > div:first-of-type .three-column-text__container {
    margin-top: 20px
}

.three-column-text__column.richtext ul {
    padding: 0 0 5px
}

    .three-column-text__column.richtext ul ul {
        display: contents
    }

.three-column-text__column:nth-of-type(3n-1):after, .three-column-text__column:nth-of-type(3n-1):before {
    height: 0
}

@media (min-width:60em) {
    .scheme--wild-sands div:first-child {
        margin: 0 auto
    }
}

@media (hover:hover) and (pointer:fine) {
    a[href^="tel:"] {
        text-decoration: none;
        pointer-events: none
    }
}

@media (min-width:62em) {
    .telephone-link {
        pointer-events: none
    }
}

.hero-banner-image-wrapper {
    display: none
}

    .hero-banner-image-wrapper img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        transform: scaleX(1)
    }

.ticklist--green li {
    background: url(https://www.axa.co.uk/assets/images/icons/tick--green.png) no-repeat;
    list-style-type: none;
    padding: 0 0 1px 10%;
    position: relative;
    vertical-align: middle
}

.hero-banner-text-wrapper {
    position: relative;
    width: 100%;
    z-index: 1
}

.banner-content--overlay-text-box {
    background: rgba(255,255,255,.9);
    padding: 30px;
    width: 100%
}

    .banner-content--overlay-text-box .two-ctas {
        padding: 0;
        display: flex;
        flex-direction: column
    }

.banner-content--overlay-text-box {
    padding: 20px
}

    .banner-content--overlay-text-box .car-icon {
        width: 50%;
        max-width: 150px;
        margin: 0 auto
    }

    .banner-content--overlay-text-box h1 {
        text-align: center
    }

.content-wrapper.hero-banner-text-wrapper > div > div:nth-child(4) > div {
    width: 100%
}

    .content-wrapper.hero-banner-text-wrapper > div > div:nth-child(4) > div > a {
        width: 100%
    }

.banner-content--overlay-text-box .two-ctas a {
    margin: 0
}

    .banner-content--overlay-text-box .two-ctas a:last-of-type {
        margin-top: 20px
    }

    .banner-content--overlay-text-box .two-ctas a:first-of-type {
        margin: 0
    }

.banner-content--overlay-text-box p.typo-20 {
    text-align: center;
    margin-bottom: 1em
}

.banner-content--overlay-text-box ul {
    margin: 1.5em auto
}

@media (min-width:37.5em) {
    .banner-content--overlay-text-box .car-icon {
        display: none
    }

    .hero-banner-image-wrapper {
        display: block
    }

    .banner-content--overlay-text-box p.typo-20 {
        margin-bottom: 20px
    }

    .banner-content--overlay-text-box ul {
        margin: 1em auto
    }

    .banner-content--overlay-text-box .two-ctas {
        display: flex;
        flex-direction: row
    }

        .banner-content--overlay-text-box .two-ctas a {
            margin: 0;
            margin-right: 20px;
            width: 50%
        }

    .two-ctas.vertical a:nth-of-type(1).btn {
        margin-right: 20px !important
    }

    .banner-content--overlay-text-box .two-ctas a:last-of-type {
        margin: 0
    }
}

@media (min-width:48em) {
    .banner-content {
        overflow: hidden;
        padding: 0;
        position: relative
    }

    .hero-banner-image-wrapper {
        height: 100%;
        width: 100%;
        position: absolute
    }

    .content-wrapper.hero-banner-text-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        max-width: 1200px;
        margin: 0 auto
    }

    .defaqto-banner-content-wrapper .banner-content--overlay-text-box {
        padding: 60px;
        width: 70%
    }

    .banner-content--overlay--left, .banner-content--overlay--right {
        margin: 4% 30px
    }

    .content-wrapper.hero-banner-text-wrapper > div > div:nth-child(4) > div {
        width: auto
    }

    .banner-content--overlay-text-box h1 {
        text-align: left;
        margin-top: 0
    }

    .banner-content--overlay-text-box p.typo-20 {
        text-align: left
    }

    .banner-content--overlay-text-box .two-ctas a {
        width: auto
    }

    .banner-content--overlay-text-box .two-ctas.vertical a.btn {
        display: flex
    }

    .hero-banner--cover .banner-content .two-ctas.vertical .btn-wrapper a.btn:first-of-type {
        margin-top: 0
    }
}

@media (min-width:60em) {
    .hero-banner-content-wrapper .banner-content--overlay-text-box {
        width: 50%
    }

    .banner-content--overlay--left {
        margin: 4% 50px
    }
}

@media (min-width:62em) {
    .banner-content--overlay-text-box h1.typo-48-serif {
        font-size: 3rem
    }
}

@media (min-width:62em) {
    .btn-mb {
        padding-right: 225px
    }
}

.typo-78-stats-panel__number, h1 {
    font-family: "Publico Headline",Georgia,stats-panel__number;
    font-weight: 700;
    font-size: 2.875rem;
    line-height: 1.13em;
    letter-spacing: .02em;
    margin-bottom: 21px
}

@media (min-width:48em) {
    .typo-78-stats-panel__number, h1 {
        font-size: 4.875rem;
        line-height: 1.05em;
        letter-spacing: .02em
    }
}

@media (min-width:62em) {
    .typo-78-stats-panel__number, h1 {
        font-size: 4.875rem;
        line-height: 1.05em;
        letter-spacing: .02em
    }
}

@media (min-width:75em) {
    .typo-78-stats-panel__number, h1 {
        font-size: 4.875rem;
        line-height: 1.05em;
        letter-spacing: .02em
    }
}

@media (min-width:48em) {
    .typo-78-stats-panel__number, h1 {
        margin-bottom: 28px
    }
}

.typo-62-stats-panel__number, h2 {
    font-family: "Publico Headline",Georgia,stats-panel__number;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.1em;
    letter-spacing: .02em;
    margin-bottom: 16px
}

@media (min-width:48em) {
    .typo-62-stats-panel__number, h2 {
        font-size: 3rem;
        line-height: 1.16em;
        letter-spacing: .02em
    }
}

@media (min-width:62em) {
    .typo-62-stats-panel__number, h2 {
        font-size: 3.875rem;
        line-height: 1.16em;
        letter-spacing: .02em
    }
}

@media (min-width:75em) {
    .typo-62-stats-panel__number, h2 {
        font-size: 3.875rem;
        line-height: 1.16em;
        letter-spacing: .02em
    }
}

@media (min-width:48em) {
    .typo-62-stats-panel__number, h2 {
        margin-bottom: 26px
    }
}

.typo-48-stats-panel__number, h3 {
    font-family: "Publico Headline",Georgia,stats-panel__number;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 1.13em;
    letter-spacing: .02em;
    margin-bottom: 13px
}

@media (min-width:48em) {
    .typo-48-stats-panel__number, h3 {
        font-size: 3rem;
        line-height: 1.13em;
        letter-spacing: .02em
    }
}

@media (min-width:62em) {
    .typo-48-stats-panel__number, h3 {
        font-size: 3rem;
        line-height: 1.13em;
        letter-spacing: .02em
    }
}

@media (min-width:75em) {
    .typo-48-stats-panel__number, h3 {
        font-size: 3rem;
        line-height: 1.13em;
        letter-spacing: .02em
    }
}

@media (min-width:48em) {
    .typo-48-stats-panel__number, h3 {
        margin-bottom: 18px
    }
}

.typo-36-stats-panel__number, h4 {
    font-family: "Publico Headline",Georgia,stats-panel__number;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.17em;
    letter-spacing: .02em;
    margin-bottom: 11px
}

@media (min-width:48em) {
    .typo-36-stats-panel__number, h4 {
        font-size: 2.25rem;
        line-height: 1.17em;
        letter-spacing: .02em
    }
}

@media (min-width:62em) {
    .typo-36-stats-panel__number, h4 {
        font-size: 2.25rem;
        line-height: 1.17em;
        letter-spacing: .02em
    }
}

@media (min-width:75em) {
    .typo-36-stats-panel__number, h4 {
        font-size: 2.25rem;
        line-height: 1.17em;
        letter-spacing: .02em
    }
}

@media (min-width:48em) {
    .typo-36-stats-panel__number, h4 {
        margin-bottom: 17px
    }
}

.typo-28-stats-panel__number, h5 {
    font-family: "Publico Headline",Georgia,stats-panel__number;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.5em;
    letter-spacing: .02em;
    margin-bottom: 16px
}

@media (min-width:48em) {
    .typo-28-stats-panel__number, h5 {
        font-size: 1.75rem;
        line-height: 1.14em
    }
}

@media (min-width:48em) {
    .typo-28-stats-panel__number, h5 {
        margin-bottom: 13px
    }
}

@media(max-width:991px) {
    .table-block__viewport {
        overflow-x: auto;
    }
}
/* Solid White CTA */
.btn--White {
    background-color: white;
    border: 2px solid #00008f;
    color: #00008f;
    -webkit-transition: border .3, color .3;
    transition: border .3, color .3;
}

    .btn--White:hover, .btn--White:focus {
        background-color: #e5e5e5;
        color: #00008f;
    }


    .btn--White:after {
        content: "";
        width: 0;
        height: 1000%;
        position: absolute;
        display: block;
        opacity: 0;
        top: 50%;
        left: 50%;
        -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
        transform: translate3d(-50%, -50%, 0) rotate(45deg);
        -webkit-transition: width .3s, opacity .3s;
        transition: width .3s, opacity .3s;
        background-color: #ffffff6b;
        color: #fff;
        z-index: -1;
    }

    .btn--White:focus:after, .btn--White:hover:after {
        width: 100%;
        opacity: 1;
    }

.btn--White {
    border-color: #ffffff00;
}


.FormChoice__Input:checked + .FormChoice__Label::after {
    background-color: #00008f !important;
    border: 1px solid #00008f !important;
}
/*sonarqube @@media custom styles added*/
@media screen and (max-width:800px) {
    .video-layout {
        flex-direction: column;
        align-items: center;
    }

    .video-wrapper,
    .video-content {
        flex: 1 1 100%;
        text-align: center;
    }
}

@media (max-width:767px) {
    .videoUpload {
        width: 100% !important;
        height: auto !important;
    }

    .video-content {
        display: block;
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }
}

@media (min-width: 48em) {
    .loginlogo {
        width: 50%;
        padding-right: 40px;
    }

    @media (min-width: 60em) {
        .loginlogo {
            padding: 0px 120px;
        }
    }
}

@media (max-width: 45em) {
    .breadcrumbs {
        display: block;
    }
}

@media (max-width: 45em) {
    .breadcrumbs {
        display: block;
    }
}

@@media (max-width: 48em) {
    .three-column-text__column {
        width: 100%;
        height: auto;
        position: initial !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        padding-left: 19px !important;
    }
}

@media (min-width: 48em) {
    .sitemapcol_1 {
        width: 100%;
        height: auto;
        padding: 30px 40px;
        position: initial !important;
        padding-top: 0px !important;
    }

    .sitemapcol_2 {
        width: 50%;
        padding: 0px 30px;
        padding-left: 43px !important;
        position: initial !important;
        padding-top: 0px !important;
    }

    .sitemapcol_3 {
        padding: 0px 30px;
        padding-left: 43px !important;
        position: initial !important;
        padding-top: 0px !important;
    }
}

@media (min-width: 48em) {
    .loginlogo {
        width: 50%;
        padding-right: 40px;
    }

    @media (min-width: 60em) {
        .loginlogo {
            padding: 0px 120px;
        }
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*mind Health blocks*/

/* ====== Full-bleed background section ====== */
.mind-health-section-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


/* ====== Desktop container (centered, max 1200px) ====== */
.Mind-Health-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    /* Mobile default gets padding via responsive rules below */
}

@media (min-width: 769px) {
    .Mind-Health-wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* ====== Left and Right columns ====== */
.mindHealthleft {
    width: 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}


@media only screen and (min-width: 1200px) {

    .Mind-Health-right-container {
        width: 50%;
        padding: 4rem;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

/* ====== Typography / Utility ====== */
.Mind-Health-right {
    text-align: left;
}

.mind-health-image {
    max-width: 100%;
    height: auto;
    text-align: center;
}

.mind-health-content {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.mindhealth-item__title {
    display: none;
}

/* ====== Tabs (left side) ====== */
.mindhealthtab {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    opacity: 0.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 25px;
    letter-spacing: 0.2px;
    transition: opacity 0.25s ease;
}

    .mindhealthtab:last-child {
        border-bottom: none;
    }

    .mindhealthtab.active {
        opacity: 1;
        font-weight: 600;
        color: rgba(255, 255, 255, 1);
    }

    .mindhealthtab:hover {
        opacity: 1;
    }

/* ====== Panels (right side) ====== */
.mindhealthpanel {
    position: relative; /* for absolute-positioned arrows on mobile */
    display: none; /* hidden by default */
}

    .mindhealthpanel.active {
        display: block;
    }

    .mindhealthpanel p {
        font-weight: 700;
        font-size: 1.5rem;
    }
/* ====== Dots (mobile carousel indicators) ====== */
.mindhealth-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

    .mindhealth-dots .dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.65);
        display: inline-block;
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease;
        outline: none;
    }

        .mindhealth-dots .dot.active {
            background: #ffffff;
            transform: scale(1.25);
        }

/* ====== Arrows (hidden on desktop, shown on mobile) ====== */
.mh-arrow {
    display: none;
}

.mh-arrow--left .mh-arrow-icon {
    transform: rotate(180deg);
}

/* ====== Utilities ====== */
.flex-shrink-0 {
    flex-shrink: 0;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.hover\:opacity-100:hover {
    opacity: 1;
}

.ui-selected\:opacity-100[data-headlessui-state~="selected"] {
    opacity: 1;
}

.duration-\[250ms\] {
    transition-duration: 0.25s;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.cursor-pointer {
    cursor: pointer;
}

.opacity-60 {
    opacity: 0.6;
}

/* ====== Responsive: Tablets & below (<=768px) ====== */
@media (max-width: 768px) {
    /* Stack columns */
    .Mind-Health-wrapper {
        flex-direction: column;
        padding: 0; /* outer wrapper already pads child containers below */
    }

    .mindHealthleft
     {
        width: 100%;
        padding: 24px;
    }
    .Mind-Health-right-container {
        padding: 24px;
    }
    /* Show title on mobile inside item card if needed */
    .mindhealth-item__title {
        display: block;
        margin-top: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Tabs are hidden on mobile; carousel UX instead */
    .mindhealthtab {
        display: none;
        font-size: 18px; /* kept for safety if shown */
    }

    .mindHealthLeft p,
    .Mind-Health-right-container p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Right side becomes horizontal scroll container for cards */
    .Mind-Health-right-container {
        position: relative;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        scrollbar-width: none; /* Firefox */
        margin-left: 20px;
        overflow:hidden;
    }

        .Mind-Health-right-container::-webkit-scrollbar {
            display: none; /* WebKit */
        }

    /* Each panel is a snap card, visible on mobile */
    .mindhealthpanel {
        display: block !important; /* show all */
        flex: 0 0 85%;
        width: 100%;
        scroll-snap-align: start;
        margin-top: 16px; /* reduce top gap on mobile */
        background: var(--panel-bg, rgba(255, 255, 255, 0.08));
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18);
        margin: 16px;
        padding: 16px;
        box-sizing: border-box;
    }

    .right-bg {
        display: none;
    }
    /* Arrows inside each card (for assisted navigation) */
    /* Base arrow styling */
    .mh-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        bottom: -5px; /* Sit on the content near the bottom */
        width: 36px;
        height: 36px;
        border-radius: 9999px;
        color: #fff;
        border: none;
        cursor: pointer;
        z-index: 2;
        outline: none;
        transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
    }

        /* Hover/active states */
        .mh-arrow:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .mh-arrow:active {
            transform: scale(0.96);
        }

    /* Right arrow sits at the far right bottom corner */
    .mh-arrow--right {
        right: 12px;
    }

    /* Left arrow sits just to the left of the right arrow */
    .mh-arrow--left {
        right: 56px; /* 36px width + ~8-12px gap */
    }

        /* Flip the icon for the left arrow */
        .mh-arrow--left .mh-arrow-icon {
            transform: rotate(180deg);
        }

    /* Make sure the card provides a positioning context and doesn't clip the arrows */
    .mindhealthpanel {
        position: relative;
        overflow: visible; /* avoid clipping the absolutely positioned arrows */
    }

        /* If your panel has tight padding, you may want a bit more space at the bottom
   to ensure content is not hidden behind arrows */
        .mindhealthpanel .panel-content {
            padding-bottom: 56px; /* optional: so text doesn't sit under the arrows */
        }

    /* Show arrows only on mobile if desired */
    @media (min-width: 768px) {
        .mh-arrow {
            display: none;
        }
    }

    /* Improve hit area on mobile screen readers (optional) */
    .mh-arrow:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    /* SVG sizing (inherit color) */
    .mh-arrow-icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
        display: block;
    }

    /* Hover/active states */
    .mh-arrow:hover {
        background: rgba(0, 0, 0, 0.8);
    }

    .mh-arrow:active {
        transform: scale(0.96);
    }

    /* Right arrow sits at the far right bottom corner */
    .mh-arrow--right {
        right: 12px;
    }

    /* Left arrow sits just to the left of the right arrow */
    .mh-arrow--left {
        right: 56px; /* 36px width + ~8-12px gap */
    }

        /* Flip the icon for the left arrow */
        .mh-arrow--left .mh-arrow-icon {
            transform: rotate(180deg);
        }

    /* Make sure the card provides a positioning context and doesn't clip the arrows */
    .mindhealthpanel {
        position: relative;
        overflow: visible; /* avoid clipping the absolutely positioned arrows */
    }

        /* If your panel has tight padding, you may want a bit more space at the bottom
   to ensure content is not hidden behind arrows */
        .mindhealthpanel .panel-content {
            padding-bottom: 56px; /* optional: so text doesn't sit under the arrows */
        }

    /* Show arrows only on mobile if desired */
    @media (min-width: 768px) {
        .mh-arrow {
            display: none;
        }
    }

    /* Improve hit area on mobile screen readers (optional) */
    .mh-arrow:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    /* SVG sizing (inherit color) */
    .mh-arrow-icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
        display: block;
    }

    .mh-arrow--left {
        left: 12px;
    }

    .mh-arrow--right {
        right: 12px;
    }

    .mh-arrow:hover,
    .mh-arrow:focus-visible {
        background: rgba(0,0,0,0.55);
    }

    .mh-arrow[disabled] {
        opacity: 0.4;
        cursor: default;
        pointer-events: none;
    }

    /* Dots visible on mobile */
    .mindhealth-dots {
        display: flex;
        padding: 8px 0 16px;
    }

        .mindhealth-dots .dot {
            width: 10px;
            height: 10px;
        }
}

@media (max-width: 768px) {
    .Mind-Health-right-container .mindhealthpanel {
        background: var(--panel-bg, transparent) !important;
    }
}

/* ====== Small phones (<=420px) fine-tuning ====== */
@media (max-width: 420px) {
    .mindhealthpanel {
        margin: 12px;
        padding: 35px;
        border-radius: 14px;
    }
    .mindhealthpanel:last-child{
        margin-right:25px;
    }
}

/*skills container */

.skills {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.skills__inner {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 400px; /* content left, image right on desktop */
    align-items: start;
}

.skills__title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.skills__desc {
    margin-bottom: 25px;
}

.skills__media img {
    height: 208px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    margin-left: 40px;
    margin-top: 40px;
}

.skills__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skills__tab {
    background: #f3f3f3;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    border: 0;
}

    .skills__tab:hover {
        background: #e9e9e9;
    }

    .skills__tab.active {
        background: #0a2a66;
        color: #fff;
    }

.skills__tabs-select {
    display: none; /* hidden on desktop, shown on mobile */
    width: 100%;
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid #d6d6d6;
    background: #fff;
    font-size: 16px;
    margin-top: 12px;
}

.skills__videos {
    margin-top: 40px;
}

.skills__video {
    display: none;
}

    .skills__video.active {
        display: block;
    }

/* Ensure no reordering on desktop */
.skills__content {
    order: 0;
}

.skills__media {
    order: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .skills {
        padding: 60px 24px;
    }

    .skills__inner {
        grid-template-columns: 1fr 360px;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .skills {
        padding: 40px 16px;
    }

    .skills__inner {
        grid-template-columns: 1fr; /* stack */
        margin-left: 5px;
    }

    .skills__media {
        order: -1; /* move image to top only on mobile */
    }

        .skills__media img {
            height: auto; /* allow natural height on mobile */
            padding: 0px 50px;
            margin-left: -5px;
        }
    /* Swap tabs with dropdown on mobile */
    .skills__tabs {
        display: none;
    }

    .skills__tabs-select {
        display: block;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        /* Space for the arrow on the right */
        padding-right: 42px;
        /* Custom SVG arrow as background */
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
        background-repeat: no-repeat;
        background-position: right 12px center; /* position the chevron */
        background-size: 18px 18px;
    }
    .skillstext,
    .skillstext1{
        display:none;
    }
}

/* Optional: screen-reader only helper */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (min-width: 992px) {
    .lg\:block {
        display: block;
    }
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem;
}

.text-end {
    text-align: end;
}

.pt-4 {
    padding-top: 1rem;
}

.mt-auto {
    margin-top: auto;
}
