.min-vh-100 {
    justify-content: start;
}

    .min-vh-100 > section {
        overflow: hidden;
    }

.home-grid-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    padding-bottom: 10px;
    justify-items: center;
}

.home-videos {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 16px;
    cursor: pointer;
    min-height: 440px;
    width: 100%;
    max-width: 300px;
    transition: all 0.2s ease-in-out;
}

    .home-videos:hover {
        border: 2px solid var(--primary-color);
    }

.home-Banner-Titulo {
    color: white;
    max-width: 380px;
    font-size: 36px !important;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.home-tituloVideo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    color: var(--text-padrao);
}

    .home-tituloVideo h3 {
        font-size: 18px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-tituloVideo span {
        font-size: 14px;
        color: var(--text-color);
    }

.home-descVideo {
    font-size: 14px;
    color: var(--text-color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
}

.home-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

    .home-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mud-alert-filled-error {
    background-color: red !important;
}

.mud-alert-filled-success {
    background-color: green !important;
}

.mud-carousel {
    height: 340px;
}

.mud-carousel-item {
    border-radius: 16px;
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.banner-padrao {
    width: 100%;
    height: 340px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding-left: 40px;
    padding-right: 20px;
    max-width: 60%;
}

.banner-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .home-grid-videos {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .home-videos {
        min-height: 400px;
        padding: 12px;
    }

    .home-image-wrapper {
        height: 180px;
    }

    .mud-carousel {
        height: 600px;
    }

    .banner-padrao {
        height: 220px;
    }

    .banner-content {
        padding-left: 16px;
        max-width: 100%;
    }

    .banner-actions {
        margin-top: 20px;
    }

    .home-Banner-Titulo {
        font-size: 24px !important;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .banner-padrao {
        height: 280px;
    }

    .banner-content {
        padding-left: 28px;
        max-width: 40%;
    }

    .home-Banner-Titulo {
        font-size: 26px !important;
    }
}

@media (min-width: 1024px) {

    .home-grid-videos {
        gap: 20px;
        width: 100%;
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        overflow-y: hidden;
        padding-bottom: 10px;
        justify-content: flex-start;
        align-items: stretch;
        scroll-behavior: smooth;
    }

    .home-videos {
        flex: 0 0 auto;
        display: grid;
        padding: 22px;
        border: none;
        min-width: 300px;
        max-width: 300px;
        align-items: center;
        justify-items: stretch;
        justify-content: start;
        align-content: space-between;
    }

        .home-videos:hover {
            border: 2px solid var(--primary-color);
        }

    .home-tituloVideo {
        display: grid;
    }

    .home-descVideo {
        font-size: 14px;
    }

    .home-image-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
        object-fit: cover;
        border-radius: 12px;
    }

        .home-image-wrapper img {
            width: 100%;
            height: 100%;
        }

    .banner-padrao {
        height: 340px;
    }

    .banner-content {
        padding-left: 48px;
        max-width: 55%;
    }

    .home-Banner-Titulo {
        font-size: 36px !important;
    }
}
