/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.grid-video {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-video .row{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-bottom:10px;
}

.grid-video .bloc_video{
    width: 290px;
    height: 190px;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display:flex;
    flex-direction:column;
    align-items: flex-start;
    justify-content: flex-end;
    padding:10px;
}

/* Desktop: 2 lignes de 4 blocs */
@media (min-width: 1200px) {
    .grid-video {
        max-width: 1240px; /* 4 * 290px + 3 * 20px gap */
    }
}

/* Tablette: 4 lignes de 2 blocs */
@media (max-width: 1199px) and (min-width: 768px) {
    .grid-video {
        max-width: 620px; /* 2 * 290px + 1 * 20px gap */
    }
}

/* Mobile: chaque bloc en dessous des autres */
@media (max-width: 767px) {
    .grid-video {
        max-width: 290px;
        flex-direction: column;
        align-items: center;
    }

    .bloc-video {
        width: 100%;
        max-width: 290px;
    }
}


.grid-video .bloc_video h2{
    font-size:18px;
    font-weight: 300;
    color:#fff;
    text-transform: initial;
    margin-bottom: 0px;
}

.grid-video .bloc_video p.doctor{
    margin-bottom: 0px;
    color:#fff;
    font-size: 14px;
}