/* Estilo automático para a página: institucional */
.tab-wrapper {
    display: flex;
    flex-direction: row;
    gap: 80px;
    position: relative;
}

.tab-access {
    flex: 1 1 calc(35% - 40px);
    border-radius: 10px;
    position: sticky;
    top: 192px;
    height: fit-content;

    .tab {
        border: 1px solid #E3E3E3;
        padding: 24px;

        p {
            margin: 0;
        }

        &:first-child {
            border-radius: 10px 10px 0px 0px;
            border-bottom: none;
        }

        &:last-child {
            border-radius: 0px 0px 10px 10px;
            border-top: none;
        }
    }
}

.tab-content {
    flex: 1 1 calc(65% - 40px);
}

.tab-pan-inner {
    /* display: none; */
    opacity: 0;
    pointer-events: none;
    transition: 300ms all ease-in-out;
}

.tab-pan-wrapper {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease;

    &.active {
        display: block;
        max-height: 100%;

        .tab-pan-inner {
            opacity: 1;
            pointer-events: auto;
        }
    }
}

.tab-access {
    .tab {
        cursor: pointer;

        h3 {
            font-weight: 500;
            font-size: 18px;
            line-height: 100%;
            color: #5A5A5A;
        }

        p {
            font-weight: 400;
            font-size: 13px;
            line-height: 100%;
            color: #5A5A5A;
        }
    }
}

.tab-content {
    h2 {
        color: #5A5A5A;
        font-weight: 400;
        font-size: 24px;
        line-height: 100%;
        margin: 30px 0;
    }

    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 160%;
        color: #5A5A5A;
    }
}

.tab-access .tab.active {
    border-left: 4px solid #E54344;
    background-color: #F8F8F8;
}