.youtube-video-button-wrapper {
    margin: 1rem 0;
}

.youtube-video-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: none!important;
    color: #ffffff!important;
    background-color: #373D41!important;
    border: 3px solid #373D41!important;
    border-radius: 999px;
    margin-top: -5px;
    margin-bottom: -5px;
}

.youtube-video-button::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  background-image: url("https://presi.dosedev.fr/img/cms/Brand/iconYoutube.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.youtube-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.youtube-video-modal.is-visible {
    display: flex;
}

.youtube-video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.youtube-video-modal__content {
    position: relative;
    width: 100%;
    max-width: 900px;
    z-index: 1;
}

.youtube-video-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.youtube-video-modal__iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.youtube-video-modal__iframe-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.youtube-video-modal-open {
    overflow: hidden;
}
