.videoaulas-container {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    margin-top: 1.5rem;
}

.videoaula-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;

    &:hover {
        border-color: rgba(1, 68, 245, .2);
    }
}

.videoaula-item.active {
    border-color: rgba(1, 68, 245, .3);
    box-shadow: 0 0 0 3px rgba(1, 68, 245, .06);
}

.videoaula-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.125rem 1.25rem;
    cursor: pointer;
    user-select: none;
    gap: 1rem;
    background: transparent;
    transition: background .2s ease;

    &:hover {
        background: var(--primary-bg);
    }
}

.videoaula-item.active .videoaula-question {
    background: var(--primary-bg);
}

.videoaula-question-main {
    display: flex;
    align-items: center;
    gap: .875rem;
    flex: 1;

    & i {
        color: var(--primary);
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    & h4 {
        color: var(--text-dark);
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
        line-height: 1.5;
    }
}

.videoaula-item.active .videoaula-question-main h4 {
    color: var(--primary);
}

.videoaula-icon {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform .25s ease;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    opacity: .7;
}

.videoaula-item.active .videoaula-icon {
    transform: rotate(45deg);
    opacity: 1;
}

.videoaula-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 1.25rem;
}

.videoaula-answer-content {
    padding: .875rem 0 1.25rem;
    border-top: 1px solid var(--border);
}

.videoaula-item.active .videoaula-answer {
    max-height: 1200px;
}

.base-video {
    border-radius: calc(var(--radius) - .25rem);
    overflow: hidden;
    background-color: #000;
}

.base-video iframe {
    display: block;
}

.btn-link-direto-video {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    background-color: #FF0033;
    color: #FFF;
    text-decoration: none;
    padding: .625rem 1rem;
    border-radius: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: background-color .2s ease, transform .2s ease;

    &:hover {
        background-color: #CC0026;
        transform: translateY(-1px);
    }

    &::after {
        content: "↗";
        font-size: .9rem;
    }
}

.link-ver-playlist {
    display: inline-block;
    margin-top: 1rem;
    font-size: .875rem;
    text-decoration: underline;

    &:hover {
        text-decoration: none;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .videoaula-question {
        padding: 1rem;
    }

    .videoaula-question-main {
        align-items: flex-start;
    }

    .base-video iframe {
        height: 240px;
    }
}