.row-interval{
    margin-top: 30px;
}
/*Иконки под заголовком*/
.icon {
    display: flex;
    justify-content: center;
}

.share,
.full-screen {
    display: flex;
    width: 30px;
    height: 30px;
    margin: 0 12px 0 12px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.share {
    background-image: url("../img/3.svg");
}

.full-screen {
    background-image: url("../img/4.svg");
}

/*Большой плакат на подробной странице странице*/
.plakate-full-on-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    margin-top: 45px;
    background-color: var(--color-grey);
}

.plakate-full-on-page-fs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-top: 0px;
    background-color: var(--color-grey);
}

.plakate-full-on-page img {
    max-width: 100%;
    max-height: 100vh;
    margin-left: auto;
    margin-right: auto;
}

.plakate-full-on-page-fs img {
    max-width: 100%;
    max-height: 80vh;
    margin-left: auto;
    margin-right: auto;
}

.detail-page-plakate-caption {
    margin: 45px 60px 50px 60px;
    font-weight: 500;
    align-self: flex-start;
}

.detail-page-plakate-caption-fs {
    margin: 20px 50px 20px 50px;
    font-weight: 500;
    align-self: flex-start;
}

.detail-page-plakate-number {
    margin: 0px 0px 0px 60px;
    font-weight: 400;
}

.detail-page-plakate-number-fs {
    margin: 0px 0px 0px 50px;
    font-weight: 400;
}

/*Текстовая карточка*/
.text-card {
    display: flex;
    flex-direction: column;
    flex: 3;
    background-color: var(--color-grey);
    padding: 30px;
}

.text-card-caption {
    flex: 3;
    margin-top: 25px;
    color: var(--color-black);
}

.text-card-caption:hover{
    color: var(--color-black);
}

/*Видеокарточка*/
.video-card {
    display: flex;
    flex-direction: column;
    flex: 3;
    background-color: var(--color-grey);
    padding: 0 0 30px 0;
}

.video-card-image {
    width: 100%;
}

.video-card .pleer {
    padding: 10px 30px 0 30px;
}

.video-card-caption {
    flex: 3;
    padding: 25px 30px 30px 30px;
}

/*Плеер в карточках*/
.pleer {
    font-size: 12px;
    color: var(--color-dark-grey);
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.pleer:hover {
    color: var(--color-dark-grey);
}

.pleer:before {
    content: "";
    display: flex;
    width: 25px;
    height: 20px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    background-image: url("../img/play.svg");
}

/* Стили для текстового поля с кнопкой "Далее" */
.limiter {
    max-height: 140px;
    overflow: hidden;
    position: relative;
    width: 80%
}

.limiter .bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    opacity: 1;
    transition: 0.3s;
}

.read-more-checker {
    opacity: 0;
    position: absolute;
}

.read-more-button {
    cursor: pointer;
    display: inline-block;
    color: var(--color-black);
    background-color: var(--color-grey);
    text-decoration: none;
    position: absolute;
    bottom: -50px;
    left: 0;
    padding: 5px 20px;
}

.painer-more {
    display: flex;
}

.painter-photo {
    position: absolute;
    right: 0;
    top: -135px;
    height: 200px;
}

[data-more-checker^="read-more"] {
    opacity: 0;
    position: absolute;
}

[data-more-checker^="read-more"]:checked ~ .limiter {
    max-height: none;
}

[data-more-checker^="read-more"]:checked ~ .limiter .bottom {
    opacity: 0;
    transition: 0.3s;
}

[data-more-checker^="read-more"] ~ .read-more-button:before {
    content: "weiterlesen";
}

[data-more-checker^="read-more"]:checked ~ .read-more-button:before {
    content: "weniger zeigen";
}

[data-more-checker="read-more-1"] ~ .limiter {
    max-height: 140px;
}

[data-more-checker="read-more-1"] ~ .read-more-button {
    bottom: -50px;
}


@media all and (max-width: 1100px) {
    .painter-photo {
        position: relative;
        right: 0;
        top: 0;
        margin-right: 10px;
    }
}

@media all and (max-width: 767px) {
    .row-interval{
        margin-top: 0;
    }

    .detail-page-caption h1 {
        line-height: 130%;
    }

    .painer-more {
        flex-direction: column;
    }

    .painter-photo {
        position: relative;
        left: 0;
        top: 0;
        object-fit: contain;
        margin-bottom: 10px;
    }

    [data-more-checker="read-more-1"] ~ .limiter,
    [data-more-checker="read-more-2"] ~ .limiter {
        margin-bottom: 30px;
    }

    [data-more-checker="read-more-1"] ~ .read-more-button,
    [data-more-checker="read-more-2"] ~ .read-more-button {
        bottom: -20px;
    }

    .limiter ol {
        padding: 0 0 0 30px;
    }

    .limiter {
        width: 100%;
    }

    .plakate-full-on-page, .plakate-full-on-page-fs {
        padding: 0;
        background-color: var(--color-white);
    }

    .detail-page-plakate-caption, .detail-page-plakate-caption-fs {
        margin-top: 10px;
        margin-bottom: 0;
    }

    .video-card,
    .text-card {
        height: auto;
        margin: 10px 0 10px 0;
    }

}