.txt-media {
    background: var(--beige)
}

.txt-media--container {
    padding: 56px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 50px
}

@media screen and (min-width: 992px) {
    .txt-media--container {
        padding: 56px 0;
        gap: 0;
        flex-direction: row-reverse
    }
}

.txt-media--img {
    display: flex
}

@media screen and (min-width: 992px) {
    .txt-media--img {
        width: 50%;
        flex-shrink: 0
    }
}

.txt-media--img img {
    width: 100%;
    height: 328px;
    -o-object-fit: cover;
    object-fit: cover
}

@media screen and (min-width: 768px) {
    .txt-media--img img {
        height: clamp(0px, 57.43vw, 827px)
    }
}

@media screen and (min-width: 992px) {
    .txt-media--wrapper {
        padding: 0 80px
    }
}

.txt-media .video-wrapper {
    position: relative;
    display: flex;
    width: calc(100% - 36px);
    height: 160px
}

@media screen and (min-width: 768px) {
    .txt-media .video-wrapper {
        width: 50%
    }
}

@media screen and (min-width: 992px) {
    .txt-media .video-wrapper {
        height: 224px;
        width: 400px
    }
}

.txt-media .video-wrapper img {
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%
}

.txt-media .video-wrapper span {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    width: 72px;
    right: -36px;
    top: calc(50% - 36px);
    border-radius: 50%;
    background: var(--light-green);
    transition: all .4s ease
}

.txt-media .video-wrapper span::before {
    content: '';
    width: 24px;
    height: 24px;
    -webkit-mask: url("../images/play.svg") no-repeat center;
    mask: url("../images/play.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: var(--dark-green)
}

.txt-media .video-wrapper:hover span {
    height: 82px;
    width: 82px;
    right: -41px;
    top: calc(50% - 41px)
}

.txt-media .content {
    margin-top: 50px
}

@media screen and (min-width: 992px) {
    .txt-media .content {
        margin-top: 80px
    }
}

.txt-media .content h2 {
    margin-bottom: 40px
}

.txt-media .content .btn {
    margin-top: 40px
}

.txt-media .content p+p {
    margin-top: 16px
}

section.txt-media #cookie-message {
    display: none;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-basis: 100%;
    padding-bottom: 24px;
}

@media screen and (min-width: 768px) {
    section.txt-media #cookie-message {
        grid-template-columns: 32px 400px 1fr;
        text-align: left;
        vertical-align: middle;
    }
}

section.txt-media #cookie-message span {
    -webkit-mask: url(../images/icons/icon-cookies.svg) no-repeat;
    mask: url(../images/icons/icon-cookies.svg) no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #3ea2f7;
    width: 32px;
    height: 32px;
}

section.txt-media #cookie-message .btn {
    justify-self: center;
}

@media screen and (min-width: 768px) {
    section.txt-media #cookie-message .btn {
        justify-self: flex-end;
    }
}

section.txt-media #cookie-message .btn::after {
    content: none;
}