/* =============================================================================
   HOME PAGE STYLING
   Styles the homepage
============================================================================= */


/* =============================================================================
   HOME HERO
============================================================================= */

.tbe-home-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #0f172a;
    color: #ffffff;
}

.tbe-home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Mobile hero: use the ACF background image instead of video */

@media (max-width: 900px) {
    .tbe-home-hero__video {
        display: none;
    }
}

.tbe-home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 82, 75, 0.88) 0%,
        rgba(0, 130, 119, 0.62) 52%,
        rgba(0, 130, 119, 0.28) 100%
    );
    z-index: 2;
}

.tbe-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(0, 46, 42, 0.58) 0%,
        rgba(0, 82, 75, 0.28) 42%,
        rgba(0, 130, 119, 0) 100%
    );
    pointer-events: none;
}

.tbe-home-hero__inner {
    position: relative;
    z-index: 3;
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 120px 0 90px;
}

.tbe-home-hero__content {
    width: min(980px, 100%);
}

.tbe-home-hero__content h1 {
    max-width: 900px;
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.tbe-home-hero__content p {
    max-width: 820px;
    margin: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.tbe-home-hero__finder {
    width: min(980px, 100%);
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.tbe-home-hero__finder .tbe-home-finder {
    margin: 0;
}

@media (max-width: 900px) {
    .tbe-home-hero {
        min-height: auto;
    }

    .tbe-home-hero__inner {
        gap: 32px;
        padding: 100px 0 70px;
    }

    .tbe-home-hero__content h1,
    .tbe-home-hero__content p {
        max-width: none;
    }

    .tbe-home-hero__finder {
        width: 100%;
    }
}

/* Homepage experience finder */
.tbe-home-experience-finder {
    margin: 30px 0;
    padding: 28px;
    background: #f7fafa;
    border: 1px solid #dcebea;
    border-radius: 22px;
}

.tbe-home-experience-finder__intro {
    margin-bottom: 22px;
}

.tbe-home-experience-finder__intro h2 {
    margin: 0 0 8px;
}

.tbe-home-experience-finder__intro p {
    margin: 0;
    color: #4b5563;
}

.tbe-home-experience-finder__fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 16px;
    align-items: end;
}

.tbe-home-experience-finder__field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #1f2933;
    font-size: 0.95rem;
}

.tbe-home-experience-finder__field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cdd8d7;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2933;
    font-size: 0.95rem;
}

.tbe-home-experience-finder__actions {
    margin-top: 20px;
}

.tbe-home-experience-finder__submit {
    width: 100%;
    min-height: 52px;
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .tbe-home-experience-finder__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tbe-home-experience-finder {
        padding: 20px;
    }

    .tbe-home-experience-finder__fields {
        grid-template-columns: 1fr;
    }

    .tbe-home-experience-finder__actions .tbe-button {
        width: 100%;
    }
}

/* =============================================================================
   CORPORATE TEAM BUILDING MADE SIMPLE
   Styles the homepage explanation section without relying on icons.
============================================================================= */

.tbe-simple-section {
    position: relative;
    overflow: visible;
}

.tbe-simple-section::before {
    content: "";
    position: absolute;
    top: 40px;
    right: -140px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(0, 130, 119, 0.08);
    pointer-events: none;
    z-index: 0;
}

.tbe-simple-section::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: 40px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(186, 0, 2, 0.06);
    pointer-events: none;
    z-index: 0;
}

/* Keep content above background circles */

.tbe-simple-section > * {
    position: relative;
    z-index: 2;
}

/* The Row Layout that contains the four cards */

.tbe-simple-cards {
    position: relative;
    z-index: 2;
}

/* Style each Kadence column inside the four-card row */

/* Style each card column inside the four-card row */

.tbe-simple-cards .kt-row-column-wrap > .wp-block-kadence-column,
.tbe-simple-cards .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col,
.tbe-simple-cards > .wp-block-kadence-column,
.tbe-simple-cards > .wp-block-kadence-column > .kt-inside-inner-col {
    height: 100%;
    min-height: 340px;
    padding: 34px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 130, 119, 0.14) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

/* Remove extra inner Kadence spacing so the card does not look nested */

.tbe-simple-cards .wp-block-kadence-column > .kt-inside-inner-col {
    margin: 0 !important;
}

/* Hover */

.tbe-simple-cards .kt-row-column-wrap > .wp-block-kadence-column:hover,
.tbe-simple-cards > .wp-block-kadence-column:hover {
    transform: translateY(-5px);
    border-color: rgba(186, 0, 2, 0.22) !important;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.13) !important;
}

/* Subtle variation */

.tbe-simple-cards .kt-row-column-wrap > .wp-block-kadence-column:nth-child(even),
.tbe-simple-cards > .wp-block-kadence-column:nth-child(even) {
    background: #f7fafa !important;
}

/* Card text */

.tbe-simple-cards h2,
.tbe-simple-cards h3,
.tbe-simple-cards h4,
.tbe-simple-cards .wp-block-heading {
    margin: 0 0 16px !important;
    color: #111827;
    font-size: 1.45rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tbe-simple-cards p {
    max-width: 280px;
    margin: 0 auto !important;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.65;
}

/* Mobile */

@media (max-width: 600px) {
    .tbe-simple-cards .wp-block-kadence-column > .kt-inside-inner-col {
        min-height: auto;
        padding: 28px 24px !important;
        border-radius: 20px;
    }
}


/* =============================================================================
   HOMEPAGE SHORTLIST BANNER
   Styles the shortlist explainer section as a feature banner.
============================================================================= */

.tbe-shortlist-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #005751 !important;
    color: #ffffff;
}

.tbe-shortlist-banner::before {
    content: none;
}

.tbe-shortlist-banner::after {
    content: "";
    position: absolute;
    left: -110px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(186, 0, 2, 0.18);
    pointer-events: none;
    z-index: 2;
}
.tbe-shortlist-banner__inner {
    position: relative;
    z-index: 2;
}

.tbe-shortlist-banner h2 {
    max-width: 780px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.tbe-shortlist-banner p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.08rem;
    line-height: 1.7;
}

.tbe-shortlist-banner .tbe-button,
.tbe-shortlist-banner .kt-button,
.tbe-shortlist-banner .kb-button {
    margin-top: 18px;
}

/* Right-hand step cards */

.tbe-shortlist-steps {
    position: relative;
    display: grid;
    gap: 16px;
    overflow: visible;
}

.tbe-shortlist-steps::before {
    content: "";
    position: absolute;
    top: -175px;
    right: -350px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(0, 150, 137, 0.34);
    pointer-events: none;
    z-index: 2;
}

.tbe-shortlist-step {
    position: relative;
        z-index: 2;
    display: block;
    padding: 26px 28px 26px 96px;
    min-height: 118px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.tbe-shortlist-step:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.105);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.tbe-shortlist-step::before {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ba0002;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(186, 0, 2, 0.24);
}

.tbe-shortlist-step--one::before {
    content: "1";
}

.tbe-shortlist-step--two::before {
    content: "2";
}

.tbe-shortlist-step--three::before {
    content: "3";
}

.tbe-shortlist-step h3,
.tbe-shortlist-step h4,
.tbe-shortlist-step .wp-block-heading {
    margin: 0 0 8px !important;
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tbe-shortlist-step p {
    margin: 0 !important;
    max-width: none;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .tbe-shortlist-step {
        padding: 24px;
        padding-top: 82px;
        min-height: auto;
    }

    .tbe-shortlist-step::before {
        left: 24px;
        top: 24px;
        transform: none;
    }
}

/* =============================================================================
   SHORTLIST BANNER MOBILE BACKGROUND POSITIONING
   Keeps decorative circles consistent when the banner stacks on mobile.
============================================================================= */

@media (max-width: 900px) {
    .tbe-shortlist-banner::after {
        left: -95px;
        bottom: -95px;
        width: 220px;
        height: 220px;
    }

    .tbe-shortlist-steps::before {
        top: -70px;
        right: -70px;
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 600px) {
    .tbe-shortlist-banner {
        overflow: hidden;
    }

    .tbe-shortlist-banner::after {
        left: -85px;
        bottom: -75px;
        width: 180px;
        height: 180px;
    }

    .tbe-shortlist-steps {
        margin-top: 28px;
    }

    .tbe-shortlist-steps::before {
        top: -55px;
        right: -55px;
        width: 170px;
        height: 170px;
    }
}

/* =============================================================================
   HOME CATEGORY CARDS
   Image-led category cards with title overlay.
============================================================================= */

.tbe-home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin: 34px 0;
}

.tbe-home-category-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 260px;
    border-radius: 24px;
    text-decoration: none;
    color: #ffffff;
    background: #111827;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.tbe-home-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.34) 0%,
        rgba(0, 0, 0, 0.44) 48%,
        rgba(0, 0, 0, 0.68) 100%
    );
}

.tbe-home-category-card::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 5px;
    z-index: 3;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #ba0002 0%, #008277 100%);
}

.tbe-home-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.tbe-home-category-card__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #f3f7f6;
}

.tbe-home-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.tbe-home-category-card:hover .tbe-home-category-card__image img {
    transform: scale(1.06);
}

.tbe-home-category-card__content {
    position: relative;
    z-index: 4;
    min-height: 260px;
    padding: 26px;
    text-align: center;
}

.tbe-home-category-card__content h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% - 44px);
    max-width: 95%;
    margin: 0;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.58);
}

.tbe-home-category-card__content p {
    display: none;
}

.tbe-home-category-card__content span {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 800;
    color: #ffffff;
    opacity: 0.92;
    white-space: nowrap;
}

.tbe-home-category-card__content span::after {
    content: "→";
    transition: transform 0.18s ease;
}

.tbe-home-category-card:hover .tbe-home-category-card__content span::after {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .tbe-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tbe-home-category-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tbe-home-category-card,
    .tbe-home-category-card__content {
        min-height: 230px;
    }

    .tbe-home-category-card {
        border-radius: 20px;
    }

    .tbe-home-category-card__content {
        padding: 22px;
    }
}


/* =============================================================================
   HOME VIDEO CAROUSEL
============================================================================= */

.tbe-home-video-carousel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 22px;
    margin: 28px 0;
}

.tbe-home-video-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.tbe-home-video-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.tbe-home-video-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.tbe-home-video-card:hover .tbe-home-video-card__media img {
    transform: scale(1.04);
}

.tbe-home-video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    background: rgba(186, 0, 2, 0.92);
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
}

.tbe-home-video-card h3 {
    margin: 14px 0 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .tbe-home-video-card {
        flex-basis: 82%;
    }
}

/* =============================================================================
   WHY BOOK SECTION FIX
   Prevents Kadence icon/list blocks from clipping decorative background circles.
============================================================================= */

.tbe-section.tbe-bg-pop {
    overflow: hidden;
}

.tbe-section.tbe-bg-pop .tbe-container,
.tbe-section.tbe-bg-pop .kt-row-column-wrap,
.tbe-section.tbe-bg-pop .wp-block-kadence-column,
.tbe-section.tbe-bg-pop .kt-inside-inner-col {
    overflow: visible !important;
}

/* =============================================================================
   CLIENT LOGOS
   Styles the scrolling homepage client logo strip.
============================================================================= */

.tbe-client-logos {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 18px 0;
}

.tbe-client-logos::before,
.tbe-client-logos::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tbe-client-logos::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.tbe-client-logos::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.tbe-client-logos__track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: tbe-logo-scroll 32s linear infinite;
}

.tbe-client-logos:hover .tbe-client-logos__track {
    animation-play-state: paused;
}

.tbe-client-logos__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 70px;
}

.tbe-client-logos__item img {
    max-width: 150px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.78;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.tbe-client-logos__item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes tbe-logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .tbe-client-logos__track {
        gap: 36px;
        animation-duration: 24s;
    }

    .tbe-client-logos__item {
        min-width: 120px;
    }

    .tbe-client-logos__item img {
        max-width: 120px;
        max-height: 46px;
    }

    .tbe-client-logos::before,
    .tbe-client-logos::after {
        width: 44px;
    }
}




/* =============================================================================
   HOME TESTIMONIALS
   Three-card carousel with expandable reviews.
============================================================================= */

.tbe-home-testimonials {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0 24px;
    margin: 30px 0;
    max-width: 100%;
}

/* TESTIMONIAL CARDS */

.tbe-home-testimonial-card {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid rgba(0, 130, 119, 0.14);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
}

/* STAR RATING */

.tbe-home-testimonial-card__stars {
    color: #ba0002;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 16px;
}

/* REVIEW TEXT */

.tbe-home-testimonial-card blockquote {
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.65;
    color: #1f2937;
}

/* COLLAPSED REVIEW */

.tbe-testimonial-review:not(.is-expanded) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}


/* READ MORE / READ LESS BUTTON */

.tbe-home-testimonials .tbe-testimonial-read-more,
.tbe-home-testimonials .tbe-testimonial-read-more:visited {
    display: inline-block;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0;
    margin: 0 0 20px;
    color: #008277 !important;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

/* HOVER, CLICK AND FOCUS */

.tbe-home-testimonials .tbe-testimonial-read-more:hover,
.tbe-home-testimonials .tbe-testimonial-read-more:active,
.tbe-home-testimonials .tbe-testimonial-read-more:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #005e56 !important;
}

/* KEYBOARD ACCESSIBILITY */

.tbe-home-testimonials .tbe-testimonial-read-more:focus-visible {
    outline: 2px solid #008277;
    outline-offset: 4px;
}

/* HIDE WHEN NOT NEEDED */

.tbe-home-testimonials .tbe-testimonial-read-more[hidden] {
    display: none !important;
}


/* REVIEWER DETAILS */

.tbe-home-testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

.tbe-home-testimonial-card__meta strong {
    color: #111827;
}

.tbe-home-testimonial-card__meta span {
    color: #008277;
    font-weight: 700;
    font-size: 0.92rem;
}

/* =============================================================================
   TABLET - 2 CARDS
============================================================================= */

@media (max-width: 1024px) {
    .tbe-home-testimonial-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

/* =============================================================================
   MOBILE - 1 CARD
============================================================================= */

@media (max-width: 600px) {
    .tbe-home-testimonials {
        gap: 16px;
    }

    .tbe-home-testimonial-card {
        flex-basis: 100%;
        padding: 22px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .tbe-home-testimonials {
        scroll-behavior: auto;
    }
}

/* =============================================================================
   HOMEPAGE FEATURED EXPERIENCE CAROUSEL
   Makes homepage experience cards display as a polished horizontal carousel.
============================================================================= */

.home .tbe-experience-grid {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 12px 0 34px;
    margin: 34px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 130, 119, 0.45) rgba(0, 130, 119, 0.10);
}

.home .tbe-experience-grid .tbe-experience-card {
    flex: 0 0 calc((100% - 78px) / 4);
    scroll-snap-align: start;
}

/* Chrome / Edge / Safari scrollbar styling */

.home .tbe-experience-grid::-webkit-scrollbar {
    height: 10px;
}

.home .tbe-experience-grid::-webkit-scrollbar-track {
    background: rgba(0, 130, 119, 0.10);
    border-radius: 999px;
}

.home .tbe-experience-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #008277 0%, #ba0002 100%);
    border-radius: 999px;
}

.home .tbe-experience-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #00685f 0%, #ba0002 100%);
}

@media (max-width: 1100px) {
    .home .tbe-experience-grid .tbe-experience-card {
        flex-basis: calc((100% - 26px) / 2);
    }
}

@media (max-width: 600px) {
    .home .tbe-experience-grid {
        gap: 18px;
        padding-bottom: 28px;
    }

    .home .tbe-experience-grid .tbe-experience-card {
        flex-basis: 82%;
    }
}

/* =============================================================================
   HOMEPAGE FAQ ACCORDION
   Makes Kadence FAQ accordion match the TBE coded FAQ blocks.
============================================================================= */

.tbe-faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.tbe-faq-accordion .kt-accordion-panel {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 130, 119, 0.16);
    border-radius: 14px;
    background: #ffffff;
}

.tbe-faq-accordion .kt-blocks-accordion-header {
    padding: 18px 20px !important;
    background: #ffffff !important;
    border: 0 !important;
    color: #111827 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    text-align: left !important;
    box-shadow: none !important;
}

.tbe-faq-accordion .kt-blocks-accordion-header:hover {
    background: #f7fafa !important;
    color: #008277 !important;
}

.tbe-faq-accordion .kt-blocks-accordion-header.kt-accordion-panel-active {
    background: #f7fafa !important;
    color: #008277 !important;
}

.tbe-faq-accordion .kt-accordion-panel-inner {
    padding: 0 20px 20px !important;
    background: #ffffff !important;
    color: #4b5563;
    line-height: 1.65;
}

.tbe-faq-accordion .kt-accordion-panel-inner p {
    margin: 0 0 14px;
}

.tbe-faq-accordion .kt-accordion-panel-inner p:last-child {
    margin-bottom: 0;
}

.tbe-faq-accordion .kt-blocks-accordion-icon-trigger {
    color: #008277 !important;
}