/* BANNER */
.banner-production {
    position: relative;
    width: 100%;
    height: 200px;
    background: #7c5d30 url("../images/production/about.jpg") no-repeat center / cover;
}
.banner-production::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* BREADCRUMBS */
.breadcrumbs {
    padding-top: 31px;
    padding-bottom: 20px;
}
.breadcrumbs__list {
    margin-inline: auto;
    padding-left: 80px;
    padding-right: 30px;
    max-width: 1820px;
    display: flex;
    flex-wrap: wrap;
}
.breadcrumbs__item {
    position: relative;
    display: flex;
    align-items: center;
    color: #b0b0b0;
    transition: color 0.15s ease-in-out;
}
.breadcrumbs__link {
    display: inline-block;
    margin-right: 5px;
    padding-block: 2px;
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
}
.breadcrumbs__item span {
    margin-right: 5px;
}
@media (any-hover: hover) {
    .breadcrumbs__item:not(:last-child):hover {
        color: var(--black);
    }
}

/* ABOUT */
.production {
    padding-bottom: 83px;
}
.production-container {
    padding: 11px 30px 0 79px;
}
.production__title-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin-bottom: 34px;
}
.production__title {
    margin-right: 23px;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-red);
}
.production__line {
    position: relative;
}
.production__line::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100vw;
    height: 1px;
    background-color: var(--black);
}
.production__descr {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
}
.production__wrap {
    display: grid;
    grid-template-columns: 65% 1fr;
    grid-template-areas:
    "big small"
    "big slider";
    gap: 46px 47px;
}
.production__big-video-wrap {

    position: relative;
}
.production__slide img:last-child {
    margin-top: 40px;
}
.production__big-video-wrap::before {
    content: "";
    display: block;
    padding-top: 64.5%;
}
.production__wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.production__small-video-wrap {

    position: relative;
}
.production__small-video-wrap::before {
    content: "";
    display: block;
    padding-top: 65%;
}
.production__slider-wrap {

    position: relative;
    margin-bottom: 54px;
}
.production__slider-wrap::before {
    content: "";
    display: block;
    padding-top: 65%;
}
.production__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 54px;
}

.production__btn-play {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 62px;
    height: 62px;
    border: none;
    background-color: #7b7575;
    mask: url(../images/play.svg) no-repeat center / 62px 62px;
    transition: background-color 0.15s ease-in-out;
}
.production__btn-play--small {
    top: 41%;
}
@media (any-hover: hover) {
    .production__btn-play:hover {
        background-color: var(--accent-red);
    }
}
.production__btn-play:active {
    background-color: var(--accent-red);
}
.production__slide {
    position: relative;
}
.production__prev,
.production__next {
    top: auto;
    bottom: 16px;
    width: 40px;
    height: 24px;
    transition: transform 0.15s ease-in-out;
}
.production__prev,
.production__next {
    top: auto;
    bottom: -67px;
    width: 40px;
    height: 24px;
    transition: transform 0.15s ease-in-out;
}
.production__next {
    left: 52%;
    transform: translateY(1px);
}
.production__prev {
    left: 40%;
}
.production__prev:after,
.production__next:after {
    content: "";
    font-family: initial;
    width: 40px;
    height: 24px;
    background-color: var(--accent-red);
    mask: url("../images/arrow-left.svg") no-repeat center / 40px 12px;
    transition: background-color 0.15s ease-in-out;
}
.production__next:after {
    transform: rotate(180deg);
}
@media (any-hover: hover) {
    .production__prev:hover:after,
    .production__next:hover:after {
        background-color: #881020;
    }
    .production__prev:hover {
        transform: translateX(-5px);
    }
    .production__next:hover {
        transform: translateX(5px) translateY(1px);
    }
}
.production__prev:active:after,
.production__next:active:after {
    background-color: #881020;
}
.production__prev:active {
    transform: translateX(-5px);
}
.production__next:active {
    transform: translateX(5px) translateY(1px);
}
.poster {
    padding-top: 39px;
    padding-bottom: 73px;
    background: linear-gradient(84.86deg, #7B1E2B 2.5%, #AA1D37 99.12%);
}
.poster__container {
    margin-inline: auto;
    padding-inline: 15px;
    max-width: 1860px;
}
.poster__title {
    margin-bottom: 51px;
    font-size: 38px;
    font-weight: 700;
    line-height: 63px;
    text-align: center;
    color: var(--white);
}
.poster__wrap {
    position: relative;
    display: grid;
    grid-template-columns: 212px 100px 212px 100px 212px 100px 212px;
    row-gap: 64px;
    margin-inline: auto;
    max-width: 1149px;
}
.poster__line-long {
    position: absolute;
    top: 21%;
    right: -6%;
    bottom: 21%;
    left: -20%;
    display: grid;
    grid-template-columns: 207px 1fr 1fr 198px;
    grid-template-areas:
    ". border-bottom border-bottom top-right"
    "bot-left . . .";
}
.poster__border-bottom {
    grid-area: border-bottom;
    border-bottom: 3px solid var(--white);
}
.poster__top-right {
    grid-area: top-right;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
}
.poster__bot-left {
    grid-area: bot-left;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    border-top: 3px solid var(--white);
    border-left: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: translateY(-3px);
}
.poster__big--left {
    position: relative;
    grid-column: 1 / 4;
    justify-self: end;
    min-width: 374px;
}
.poster__big-line {
    position: absolute;
    top: 50%;
    right: 108%;
    transform: translateY(-50%);
    display: block;
    height: 16px;
}
.poster__big-line::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: var(--white);
}
.poster__big-line::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 100%;
    background-color: var(--white);
}
.poster__line--top {
    grid-column: 4 / 5;
}
.poster__big--right {
    grid-column: 5 / -1;
    justify-self: left;
    min-width: 374px;
}
.poster__small {
    min-width: 212px;
}
.poster__subtitle {
    margin-bottom: 12px;
    font-size: 60px;
    font-weight: 700;
    line-height: 63px;
    text-align: center;
    color: var(--white);
}
.poster__subtitle span {
    font-size: 50px;
}
.poster__subtitle sup {
    font-size: 29px;
    font-weight: 700;
}
.poster__item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 39px 2px 0 2px;
    border: 5px solid #FF0023;
    border-bottom: none;
    min-height: 215px;
}
.poster__item::before,
.poster__item::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 21px;
    height: 3px;
    background-color: #FF0023;
}
.poster__item::before {
    left: -1px;
}
.poster__item::after {
    right: -1px;
}
.poster__name {
    margin-top: auto;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    line-height: 23px;
    color: var(--white);
    transform: translateY(7px);
}
.poster__line {
    position: relative;
}
.poster__line::before {
    content: "";
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 3px;
    background-color: var(--white);
}
.poster__small--last {
    position: relative;
}
.poster__line-right {
    position: absolute;
    left: 113%;
    top: 45%;
    display: block;
    height: 16px;
}
.poster__line-right::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    height: 16px;
    width: 16px;
    background: url("../images/arrow-line.svg") no-repeat center / 13px 14px;
}
.poster__line-right::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 100%;
    background-color: var(--white);
}

@media (max-width: 1600px) {
    .poster__line-long {
        right: -4%;
        left: -8%;
        grid-template-columns: 71px 1fr 1fr 179px;
    }
}

@media (max-width: 1500px) {
    /* BREADCRUMBS */
    .breadcrumbs__list {
        padding-left: 30px;
    }

    /* production */
    .production-container {
        padding: 11px 30px 10px 30px;
    }
    .production__next {
        left: 57%;
    }
    .production__prev {
        left: 33%;
    }
}

@media (max-width: 1360px) {
    .poster__wrap {
        grid-template-columns: 212px 30px 212px 30px 212px 30px 212px;
        max-width: 939px;
    }
    .poster__line-long {
        right: 0;
        left: -7%;
        grid-template-columns: 68px 1fr 1fr 80px;
    }
}

@media (max-width: 1100px) {
    .poster__wrap {
        grid-template-columns: 212px 20px 212px 20px 212px 20px 212px;
        max-width: 910px;
    }
    .poster__line-long {
        right: 0;
        left: -4%;
        grid-template-columns: 37px 1fr 1fr 71px;
    }
    .poster__line-right {
        left: 105%;
    }
    .poster__big-line {
        right: 104%;
    }
}

@media (max-width: 1024px) {
    .production__wrap {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "big big"
            "small slider";
        gap: 30px 30px;
    }
    .production__prev,
    .production__next {
        bottom: -43px;
    }
    .poster__line-long {
        display: none;
    }
    .poster__subtitle {
        font-size: 43px;
    }
    .poster__wrap {
        grid-template-columns: 1fr 70px 1fr;
        row-gap: 45px;
        max-width: 100%;
    }
    .poster__item {
        padding: 20px 2px 0 2px;
        min-height: 185px;
    }
    .poster__big--left {
        grid-column: 1 / 2;;
        min-width: 285px;
        justify-self: initial;
    }
    .poster__big--right {
        grid-column: 3 / 4;
        min-width: 285px;
        justify-self: initial;
    }
    .poster__line--top {
        grid-column: 2 / 3;
    }
    .poster__big-line {
        display: none;
    }
    .poster__line-right {
        display: none;
    }
    .poster__line--third {
        display: none;
    }
}

@media (max-width: 768px) {
    /* BANNER */
    .banner-production {
        height: 100px;
    }

    /* BREADCRUMBS */
    .breadcrumbs {
        padding-top: 21px;
        padding-bottom: 5px;
    }
    .breadcrumbs__list {
        padding-left: 12px;
    }

    /* production */
    .production {
        padding-bottom: 0;
    }
    .production-container {
        padding: 11px 12px 20px 12px;
    }
    .production__title-wrap {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    .production__title {
        grid-column: 1 / -1;
        margin-right: 20px;
        font-size: 34px;
    }
    .production__line {
        display: none;
    }
    .production__wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
            "big"
            "small"
            "slider";
        gap: 20px 0;
    }
    .production__prev,
    .production__next {
        bottom: -38px;
    }
    .production__slider {
        margin-bottom: 40px;
    }
    .production__prev {
        left: 35%;
        transform: none;
    }
    .production__next {
        left: 52%;
    }
    .production__btn-play {
        top: 39%;
    }

    /* POSTER */
    .poster__container {
        padding-inline: 12px;
    }
    .poster__title {
        margin-bottom: 30px;
        font-size: 32px;
        line-height: 44px;
    }
    .poster__wrap {
        grid-template-columns: 1fr 30px 1fr;
        row-gap: 35px;
    }
    .poster__line::before {
        width: 75%;
    }
    .poster__subtitle {
        margin-bottom: 0;
        font-size: 34px;
        line-height: 50px;
    }
    .poster__subtitle span {
        font-size: 34px;
    }
    .poster__subtitle sup {
        font-size: 19px;
    }
    .poster__name {
        font-size: 15px;
        line-height: 20px;
    }
    .poster__item {
        padding: 10px 2px 0 2px;
        min-height: 140px;
    }
    .poster__big--left,
    .poster__big--right {
        min-width: auto;
    }
    .poster__small {
        min-width: auto;
    }
}

@media (max-width: 500px) {
    .poster__wrap {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .poster__big--right {
        grid-column: 1 / 2;
    }
    .poster__line {
        display: none;
    }
}
