.custom-tab-widget {
    background-color: #ffffff;
    padding: 1rem;
    border: 2px solid #D9D9D9;
    border-radius: .5rem;
}
.custom-tab-widget .nav-tabs {
    border-bottom: solid 1px #D9D9D9;
    margin-left: 0;
    margin-bottom: 20px;
}

.custom-tab-widget .nav-tabs .nav-link {
    color: #888;
    border: none;
    padding: 1rem;
    font-weight: normal;
}

@media (max-width: 768px) {
    .custom-tab-widget .nav-tabs .nav-link {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

.custom-tab-widget .nav-tabs .nav-link.active {
    color: #000;
    font-weight: bold;
    border: none;
    border-bottom: 3px solid #0056b3; /* Underline for active tab */
    border-radius: -5px;
    background: transparent;
}

.custom-tab-widget .nav-tabs .nav-link:hover {
    color: #0056b3;
}

.custom-tab-widget .accordion-item{
    border: none;
    border-bottom: solid 1px #D9D9D9;
}

.custom-tab-widget .accordion-button {
    background-color: #ffffff;
    color: #333;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 0.625rem 0.313rem;
}

.custom-tab-widget .accordion-button:not(.collapsed) {
    background-color: #f4f4f4;
    color: #000;
}

.custom-tab-widget .accordion-button .chevron-icon {
    font-size: 0.75rem;
}

.custom-tab-widget .accordion-button.collapsed .chevron-icon {
    transform: rotate(180deg);
}

/* Estilos para o número do item */
.custom-tab-widget .accordion-button .item-number {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.625rem;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 50%;
    font-weight: normal;
    background: #EEEEEE;
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
}

/* Estilo quando o toggler está ativo */
.custom-tab-widget .accordion-button:not(.collapsed) .item-number {
    background-color: var(--e-global-color-primary); /* Cor primária do Elementor */
    color: #ffffff;
}

.custom-tab-widget .accordion-body {
    background-color: #ffffff;
    padding: 0.938rem;
}

.custom-tab-widget .accordion-body ul {
    margin-left: 0;
}
.custom-tab-widget .vantagens-content ol {
    margin: 0;
}

.custom-tab-widget .vantagens-content-container .show-more-btn {
    color: #000000;
    border-bottom: solid 1px #000000;
    margin-top: 0.625rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.vantagens-content-container {
    position: relative;
}

.vantagens-content {
    max-height: 250px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}


/* Fade effect for content overflow */
.vantagens-content-container::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #fff 90%);
    width: 100%;
    height: 3em;
    display: none;
}

.vantagens-content-container.show-full .vantagens-content {
    max-height: none; /* Remove limite de altura ao expandir */
}

.vantagens-content-container.show-full::after {
    display: none; /* Remove o fade quando expandido */
}

.vantagens-content-container.collapsed::after {
    display: block;
}


.custom-tab-widget .details-tab {
    padding: 0 1rem ;
}
.custom-tab-widget .detail-item {
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 1em;
}

.custom-tab-widget .detail-item i {
    margin-right: 0.5em;
}
.custom-tab-widget .course-target {
 padding: 0.6rem 0;
}
.custom-tab-widget .course-target h3 {
    margin:0;
    color:#191c1f;
    font-size:1.25rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .custom-tab-widget .course-target h3 {
        font-size:1.15rem;
        padding-bottom: .5rem ;
    }
}
.custom-tab-widget .course-target p {
    color: #333;
    font-size:1rem;;
    margin: 0;
}
