.tabs-stories {
    position: relative;
    margin: 0 auto;
}

.tabs-stories .tabs {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    cursor: pointer;
    justify-content: space-between;
    width: 100%;
    border-bottom: 2px solid #d9d9d9;
    margin-bottom: 80px;
}

.tabs-stories .tab-story {
    padding: 16px 16px 48px;
    position: relative;
    flex: 1 1 0;
    text-align: center;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-content: center;
}

.tabs-stories .tab-story img {
    filter: brightness(0) saturate(100%) invert(84%) sepia(12%) saturate(256%) hue-rotate(176deg) brightness(86%) contrast(88%);
    max-height: 36px;
    max-width: 180px;
    width: auto;
    transition: filter 0.3s ease;
}

.tabs-stories .tab-story.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E96822;
}

.tabs-stories .tab-story:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E96822;
    transition: all 0.3s ease;
}

.tabs-stories .tab-story.active img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(36%) saturate(5099%) hue-rotate(202deg) brightness(101%) contrast(95%);
}

.tabs-stories .tab-story:hover img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(36%) saturate(5099%) hue-rotate(202deg) brightness(101%) contrast(95%);
    transition: filter 0.3s ease;
}

.tabs-stories .tab-slide {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-gap: 60px;
    align-items: center;
}

.tabs-stories .tab-slide blockquote,
.tabs-stories .tab-slide .callout {
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 136%;
    letter-spacing: -0.6px;
    margin-bottom: 40px;
}

.tabs-stories .tab-slide .cite {
    line-height: 1.36;
}

.tabs-stories .tab-slide .points ul {
    list-style: none;
    padding: 6px 0;
}

.tabs-stories .tab-slide .points ul li {
    padding-left: 20px;
    font-size: 20px;
    position: relative;
    margin-bottom: 20px;
}

.tabs-stories .tab-slide .points ul li b,
.tabs-stories .tab-slide .points ul li strong {
    font-weight: 500;
    font-size: 24px;
}

.tabs-stories .tab-slide .points ul li:before {
    position: absolute;
    content: '';
    background-color: #0A376D;
    width: 2px;
    height: 20px;
    left: 0;
    top: 8px;
}

.tabs-stories .tab-slide .btn {
    border-radius: 4px;
    color: #0A376D !important;
    background: #ffffff;
    border: 1px solid #0A376D;
    padding: 16px 24px;
    font-weight: 500;
}

.tabs-stories .tab-slide .btn:hover {
    background-color: #E4F0FF;
}

.tabs-stories .video-wrapper {
    margin: 0 auto;
    position: relative;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    width: 100%;
    height: 100%;
}

.tabs-stories .video-placeholder,
.tabs-stories .text-story-image {
    padding-bottom: 56.25%;
    position: relative;
    display: block;
    z-index: 0;
}

.tabs-stories .text-story-image {
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    border-radius: 4px;
}

.tabs-stories .video-placeholder.active {
    background-color: transparent;
}

.tabs-stories .video-inner {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    flex-direction: column;
}

.tabs-stories .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.tabs-stories .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius: 4px;
}

.tabs-stories .video-thumbnail img {
    border-radius: 4px;
}

.tabs-stories .play-button {
    content: '';
    display: block !important;
    width: 48px;
    height: 48px;
    z-index: 2;
    left: calc(50% - 24px) !important;
    top: calc(50% - 24px) !important;
    position: absolute;
    background-color: transparent;
    border: none;
    background-image: url('orange-play.svg');
    transition: opacity 0.3s ease;
}

.tabs-stories .play-button:hover {
    background: none;
    border: none;
    opacity: 0.8;
}

.tabs-stories .story-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 16px;
    text-align: left !important;
    width: auto;
    box-sizing: border-box;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    background: none;
    z-index: 1;
    overflow: hidden;
}

.tabs-stories .story-title::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.00) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.tabs-stories .story-title h5 {
    color: var(--white);
    font-size: 16px;
    font-weight: 300;
    line-height: 136%; 
    letter-spacing: -0.32px;
}
  

.tabs-stories .story-title-mobile {
    display: none;
}

@media screen and (max-width: 992px) {
    .tabs-stories .tabs {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        white-space: nowrap;
        position: relative;
        margin-bottom: 42px;
        border-bottom: none;
        justify-content: flex-start;
    }
    .tabs-stories .tab-story {
        border-bottom: 2px solid #d9d9d9;
        margin-right: -1px;
    }   
    .tabs-stories .tab-story.active,
    .tabs-stories .tab-story:hover {
        border-color: #E96822;
    }
    .tabs-stories .tab-story {
        width: 220px;
        flex: 0 0 220px;
        overflow: visible;
        text-align: center;
        position: relative;
    }
    .tabs-stories .tab-slide {
        display: block;
    }

    .tabs-stories .tab-slide blockquote,
    .tabs-stories .tab-slide .callout {
        font-size: 24px;
        margin-bottom: 36px;
    }

    .tabs-stories .tab-slide .tab-content {
        margin-bottom: 34px;
    }

    .tabs-stories .play-button {
        width: 24px;
        height: 24px;
        background-size: contain;
        left: calc(50% - 12px) !important;
        top: calc(50% - 12px) !important;
    }

    .tabs-stories .story-title {
        display: none;
    }

    .tabs-stories .story-title-mobile {
        display: block;
        margin-top: 18px;
        text-align: left;
    }

    .tabs-stories .story-title-mobile h3 {
        color: #0A376D;
        font-weight: 500;
        font-size: 20px;
        max-width: 600px;
    }
}