.resources-and-support {
    padding-top: 60px;
    padding-bottom: 60px;
}

.resources-and-support .content {
    text-align: center;
    color: #182A51;
}

.resources-and-support h2 {
    font-size: 34px;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 10px;
}

.resources-and-support .subtitle h3 {
    font-size: 24px;
    line-height: 1.6;
    font-weight: 400;
}

.resources-and-support .tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resources-and-support .tab-item {
    display: none;
}

.resources-and-support .tab-item.active-tab {
    display: block;
}

.resources-and-support .tab-headers,
.resources-and-support .tab-content {
    padding: 20px 0 0;
    width: 100%;
    max-width: 1280px;
}

.resources-and-support .tab-headers,
.resources-and-support .tab-content .tab-posts {
    display: flex;
    gap: 10px;
    list-style: none;
}

.resources-and-support .tab-headers li {
    cursor: pointer;
    padding: 20px;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #1E51EB;
    flex: 1;
    justify-content: center;
    transition: all 0.4s ease-in-out;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.resources-and-support .tab-headers li h3 {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}
.resources-and-support .tab-headers li a {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

.rtl .resources-and-support .tab-headers li a {
    left: unset;
    right: 0;
}

.resources-and-support .tab-headers li img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

.resources-and-support .tab-headers li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 7px;
    width: 100%;
    background: #2B5CED;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.rtl .resources-and-support .tab-headers li::after {
    left: unset;
    right: 0;
}

.resources-and-support .tab-headers li.active::after,
.resources-and-support .tab-headers li:hover::after {
    opacity: 1;
    visibility: visible;
}

.resources-and-support .tab-content .tab-posts {
    flex-direction: column;
}

.resources-and-support .tab-content .tab-posts li {
    padding: 5px 0 5px 30px;
}

.resources-and-support .tab-content .tab-posts li img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.resources-and-support .tab-content .tab-posts li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    color: #182A51;
    line-height: 1;
    font-weight: 500;
}

@media screen and (max-width: 1024px) {
    .resources-and-support .tab-headers li {
        padding: 20px 10px;
        font-size: 24px;
        gap: 10px;
    }

    .resources-and-support .tab-headers li img {
        width: 40px;
    }

    .resources-and-support .tab-content .tab-posts li a {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {

    .resources-and-support .content {
        margin-bottom: 50px;
    }

    .resources-and-support h2 {
        font-size: 27px;
    }

    .resources-and-support .tab-headers {
        flex-direction: column;
    }

    .resources-and-support .tab-headers li {
        flex-direction: column;
        gap: 20px;
    }

    .resources-and-support .tab-headers li::after {
        display: none;
    }

    .resources-and-support .tab-headers li img {
        width: 85px;
        max-height: 85px;
    }

    .resources-and-support .tab-content {
        display: none;
    }

    .resources-and-support .tab-headers li a {
        display: block;
    }
}