.bloc-video__titre {
    display: block;
    margin: 0 auto;
}

.bloc-video__titre > h2 {
    color: var(--blue, #324852);
    font-family: "Josefin Sans";
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25; /* 125% */
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 48px 0;
}

.bloc-video__liste {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: auto;
    column-gap: 16px;
    row-gap: 16px;
}

.bloc-video__liste .bloc-video__item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: 0.3s all ease;
}

.bloc-video__liste .bloc-video__item:hover {
    cursor: pointer;
    transition: 0.3s all ease;
}

.bloc-video__liste .bloc-video__item .bloc-video__videopart {
    position: relative;
    width: 100%;
    height: 250px;
}

.bloc-video__liste .bloc-video__item .bloc-video__content {
    position: relative;
    overflow: hidden;
    display: flex;
    width: 100%;
    height: auto;
    padding: 32px;
    background: var(--green-dark, #566E3D);
}

.bloc-video__liste .bloc-video__item .bloc-video__content::before {
    content: "";
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    background-image: url("https://dimgrey-ram-921172.hostingersite.com/wp-content/uploads/2025/09/MotifRiles.png");
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
}

.bloc-video__liste .bloc-video__item .bloc-video__content h3 {
    z-index: 1;
    position: relative;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    margin: 0;
    overflow: hidden;
    color: var(--cream, #FEFAE0);
    text-overflow: ellipsis;

    /* Headlines/headline-4-desktop */
    font-family: "Josefin Sans";
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3; /* 133.333% */
    text-transform: uppercase;
}

.bloc-video__liste .bloc-video__item .bloc-video__videopart .imgcropCtn {
    width: 100%;
    height: 100%;
    transition: 0.3s all ease;
}

.bloc-video__liste .bloc-video__item .bloc-video__videopart .playbouton {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background-image: url(https://dimgrey-ram-921172.hostingersite.com/wp-content/uploads/2025/09/btnplay.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%) translateY(-50%);
    transition: 0.3s all ease;
}

.bloc-video__liste .bloc-video__item:hover .playbouton {
    transform: scale(0.95) translateX(-50%) translateY(-50%);
    transition: 0.3s all ease;
}

.bloc-video__liste .bloc-video__item:hover .imgcropCtn {
    transform: scale(1.05);
    transition: 0.3s all ease;
}

.bloc-video__liste .bloc-video__item:first-child .bloc-video__content {
    background-color: transparent;
}

.bloc-video__liste .bloc-video__item:first-child .bloc-video__content::before {
    display: none;
}

.bloc-video__liste .bloc-video__item:first-child .bloc-video__videopart .playbouton {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-image: url(https://dimgrey-ram-921172.hostingersite.com/wp-content/uploads/2025/09/btnplay.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%) translateY(-50%);
    transition: 0.3s all ease;
}

.bloc-video__liste .bloc-video__item:first-child {
    position: relative;
    display: block;
    width: 100%;
    height: 650px;
    grid-column: 1 / 4;
}

.bloc-video__liste .bloc-video__item:first-child .bloc-video__videopart {
    z-index: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.bloc-video__liste .bloc-video__item:first-child .bloc-video__content {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 32px;
}

.bloc-video__liste .bloc-video__item:first-child .bloc-video__videopart .imgcropCtn {
    width: 100%;
    height: 100%;
}

.bloc-video__liste .bloc-video__item:first-child .bloc-video__content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    overflow: hidden;
    color: var(--cream, #FEFAE0);
    text-overflow: ellipsis;
    /* Headlines/headline-4-desktop */
    font-family: "Josefin Sans";
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3; /* 133.333% */
    text-transform: uppercase;
    margin: 0;
}

.bloc-video .popUpBlack {
    z-index: 999999999;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.bloc-video .popupVideo-Container {
    padding: 32px;
    background-color: white;
    border-radius: 12px;
}

.bloc-video .video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    cursor: pointer;
}
  
.bloc-video .video-modal-close::before,
.bloc-video .video-modal-close::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 2px;
    background: #000;
}
  
.bloc-video .video-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
  
.bloc-video .video-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}