/* =========================================================
   TABBY RESPONSIVE TABS — CLEAN FLAT STYLE
========================================================= */

.responsive-tabs-wrapper {
    width: 100%;
    margin: 40px 0;
    position: relative;
}

.responsive-tabs {
    position: relative;
    padding-top: 26px;
}

/* =========================================================
   SCROLL HINT ARROW
========================================================= */

.responsive-tabs::after {
    content: "↔";

    position: absolute;
    top: -2px;
    right: 0;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #2852A0;

    opacity: 0.75;

    pointer-events: none;

    z-index: 5;
}

/* =========================================================
   TAB LIST
========================================================= */

.responsive-tabs ul.responsive-tabs__list {
    display: flex;
    flex-wrap: nowrap;

    overflow-x: auto;
    overflow-y: hidden;

    gap: 3px;

    margin: 0;
    padding: 0 0 10px 0;

    list-style: none;

    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: #2852A0 #eaeaea;
}

/* Webkit scrollbar */
.responsive-tabs ul.responsive-tabs__list::-webkit-scrollbar {
    height: 6px;
}

.responsive-tabs ul.responsive-tabs__list::-webkit-scrollbar-track {
    background: #eaeaea;
}

.responsive-tabs ul.responsive-tabs__list::-webkit-scrollbar-thumb {
    background: #2852A0;
}

/* =========================================================
   TAB ITEMS
========================================================= */

.responsive-tabs .responsive-tabs__list__item {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 14px 22px;

    background: #2BAAE2;
    color: #ffffff;

    border: none;
    border-radius: 0;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;

    text-align: center;
    white-space: nowrap;

    cursor: pointer;
    user-select: none;

    transition:
        background 0.25s ease,
        opacity 0.2s ease;
}

/* Hover */
.responsive-tabs .responsive-tabs__list__item:hover {
    background: #2499cc;
    color: #ffffff;
}

/* Active */
.responsive-tabs .responsive-tabs__list__item--active,
.responsive-tabs .responsive-tabs__list__item--active:hover {
    background: #2852A0;
    color: #ffffff;
}

/* Reset plugin offsets */
.responsive-tabs .responsive-tabs__list__item,
.responsive-tabs .responsive-tabs__list__item--active {
    top: 0;
    margin: 0;
    padding-bottom: 14px;
}

/* =========================================================
   PANEL
========================================================= */

.responsive-tabs .responsive-tabs__panel {
    background: #ffffff;
    color: inherit;

    border: none;

    padding: 34px;
    margin: 0;

    box-shadow: none;
}

.responsive-tabs .responsive-tabs__panel p {
    margin: 0;
    line-height: 1.8;
}

/* =========================================================
   DESKTOP ACCORDION OFF
========================================================= */

.responsive-tabs .responsive-tabs__heading {
    display: none;
}

.tab-layout {
    align-items: flex-start;
}

.tab-layout__image img {
    display: block;
}

.responsive-tabs {
	padding-top: 22px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .responsive-tabs {
        padding-top: 22px;
    }

    .responsive-tabs::after {
        font-size: 14px;
    }

    .responsive-tabs .responsive-tabs__heading {
        display: none !important;
    }

    .responsive-tabs ul.responsive-tabs__list {
        display: flex !important;

        overflow-x: auto;
        overflow-y: hidden;

        gap: 3px;

        scroll-snap-type: x proximity;
    }

    .responsive-tabs .responsive-tabs__list__item {
        scroll-snap-align: start;

        font-size: 14px;

        padding: 12px 18px;

        min-height: 48px;
    }

    .responsive-tabs .responsive-tabs__panel {
        padding: 24px;
    }
}