

/* Start:/local/components/darsy/news.detail/templates/customizer/style.css?179474724836436*/
/* Darsy Box / RЭT editorial case landing. All selectors are locally scoped. */
@font-face {
    font-family: 'Raleway';
    src: url('/local/components/darsy/news.detail/templates/customizer/./fonts/Raleway.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Stepovik';
    src: url('/local/components/darsy/news.detail/templates/customizer/./fonts/StepovikSPBasic-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'StalinistOne';
    src: url('/local/components/darsy/news.detail/templates/customizer/./fonts/StalinistOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.ret-case {
    --ret-ink: #282730;
    --ret-paper: #eff0f8;
    --ret-red: #890813;
    --ret-red-text: #B70522;
    --ret-red-light: #ca1531;
    --ret-line: rgba(40, 39, 48, .14);
    --ret-max: 1320px;
    --ret-max-img: 1376px;
    color: var(--ret-ink);
    background: var(--ret-paper);
    overflow: clip;
    /*font-family: inherit;*/
    font-size: 18px;
    line-height: 1.47;
    text-rendering: optimizeLegibility;
    font-family: Raleway, Arial, sans-serif;
}

.ret-case *, .ret-case *::before, .ret-case *::after {
    box-sizing: border-box;
}

.ret-case img {
    /*position: relative;*/
    display: block;
    max-width: 100%;
    object-fit: cover;
}

.ret-case figure, .ret-case h1, .ret-case h2, .ret-case h3, .ret-case p {
    margin: 0;
}

.ret-case .ret-case__container {
    width: min(calc(100% - 64px), var(--ret-max));
    margin-inline: auto;
}

.ret-case__section {
    position: relative;
    font-family: 'Releway', Arial, sans-serif;
}

.ret-case__red {
    color: #fff;
    /*background: var(--ret-red);*/
    background: linear-gradient(to bottom, #890813, #990B15);
}

.ret-case__eyebrow {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 650;
    margin-bottom: 24px !important;
}

.ret-case__red .ret-case__eyebrow {
    color: #fff;
}

.ret-case__center {
    text-align: center;
}

.ret-case__center > p {
    max-width: 760px;
    margin-inline: auto;
}

.ret-case__folklore {
    font-family: 'Stepovik', Arial, sans-serif;
    font-weight: 700; /* Должно совпадать с @font-face */
    letter-spacing: -0.03em;
    line-height: .94;
    font-size: clamp(38px, 5vw, 45px);
    color: #3D3D4F;
}

.ret-case__folklore em {
    color: var(--ret-red-text);
    font-style: normal;
}

.ret-case__red .ret-case__folklore em {
    color: #fff;
}

.ret-case h2:not(.ret-case__folklore) {
    font-weight: 650;
    line-height: 1.13;
    letter-spacing: -.035em;
}

.ret-case__hero {
    /*position: relative;*/
    height: clamp(680px, 66vw, 1000px);
    min-height: 680px;
    background: var(--ret-paper);
}

.ret-case__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ret-case__hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}

.ret-case__breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 12px;
    max-width: 100%;
    padding-top: 110px;
    color: #4d4a51;
}

.ret-case__breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.ret-case__breadcrumb a:hover {
    text-decoration: underline;
}

.ret-case__hero-heading {
    font-family: 'Releway', Arial, sans-serif;
    letter-spacing: -0.03em;
    text-align: center;
    padding-bottom: 80px;
}

.ret-case__hero h1 {
    max-width: 1060px;
    margin: 0 auto 28px;
    font-size: clamp(32px, 4.7vw, 66px);
    font-weight: 600;
    letter-spacing: -.065em;
    line-height: 1.05;
    text-wrap: balance;
}

.ret-case__hero-heading p {
    font-size: clamp(12px, 1vw, 15px);
    text-transform: uppercase;
    line-height: 1.35;
    letter-spacing: .035em;
}

.ret-case__embroidery {
    display: block;
    color: var(--ret-red);
    font-size: 34px;
    letter-spacing: 13px;
    margin-top: 38px;
}

.ret-case__intro {
}

.ret-case__intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 48px;
    align-content: start;
    height: 590px;
}

.ret-case__intro-copy {
    font-family: 'Releway', Arial, sans-serif;
    max-width: 510px;
    padding-bottom: 70px;
    z-index: 2;
}

.ret-case__intro-copy h2 {
    font-size: clamp(40px, 5.3vw, 82px);
    margin-bottom: 32px;
}

.ret-case__intro-copy > p:last-child {
    max-width: 470px;
    font-size: clamp(18px, 1.6vw, 25px);
}

.ret-case__intro-photo {
    position: absolute;
    top: 30px;
    z-index: 10;
    width: 115%;
    max-width: none !important;
    align-self: end;
    margin-bottom: -2px;
    max-height: 840px;
    object-fit: contain !important;
    object-position: bottom center;
}

.ret-case__quote {
    padding: 175px 32px 80px;
    text-align: center;
    overflow: hidden;
    font-family: Raleway, Arial, sans-serif;
}

.ret-case__quote-inner {
    font-family: Raleway, Arial, sans-serif;
    font-size: 14px;
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.ret-case__quote-inner > p {
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.ret-case__quote-inner footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 56px;
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
}

.ret-case__quote-inner footer small {
    font-size: 12px;
    opacity: .85;
}

.ret-case__author-photo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
}

.ret-case__ornament {
    position: absolute;
    top: 80px;
    width: 25vw;
    height: 417px;
    /*opacity: .19;*/
    pointer-events: none;
    background-image: url("/local/components/darsy/news.detail/templates/customizer/./assets/images/frame_ornament.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.ret-case__ornament--left {
    left: 0;
}

.ret-case__ornament--right {
    right: 0;
    transform: scaleX(-1);
}

.ret-case__story {
    /*min-height: 1020px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*overflow: hidden;*/
}

.ret-case__story-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
}

.ret-case__story-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    padding-left: min(60%, 790px);
}

.ret-case__story-copy h2 {
    font-size: clamp(24px, 2.8vw, 39px);
    max-width: 530px;
    margin-bottom: 26px;
}

.ret-case__story-copy > p:last-child {
    max-width: 490px;
    font-size: 17px;
}

.ret-case__craft-intro {
    /*min-height: 1100px;*/
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ret-case__craft-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
}

.ret-case__craft-copy {
    position: relative;
    z-index: 2;
    padding-right: 58%;
    padding-bottom: 180px;
}

.ret-case__craft-copy h2 {
    font-size: clamp(27px, 2.8vw, 42px);
    margin-bottom: 24px;
    max-width: 480px;
}

.ret-case__craft-copy > p:last-child {
    max-width: 490px;
    font-size: 17px;
}

.ret-case__concept {
    padding: 160px 0 95px;
}
.ret-case__concept > img {
    width: 100%;
}

.ret-case__lead {
    max-width: 500px !important;
    font-size: 19px;
    margin-bottom: 40px !important;
}

.ret-case__concept h2 {
    max-width: 1010px;
    margin: 0 auto 110px;
}

.ret-case__showcase {
    overflow: hidden;
}

.ret-case__showcase-track {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px max(24px, calc((100vw - var(--ret-max)) / 2)) 30px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.ret-case__showcase-track::-webkit-scrollbar {
    display: none;
}

.ret-case__showcase-track figure {
    position: relative;
    min-width: clamp(240px, 24vw, 370px);
    flex: 0 0 clamp(240px, 24vw, 370px);
    height: clamp(340px, 36vw, 520px);
    background: var(--ret-red);
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: center;
}

.ret-case__showcase-track figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ret-case__showcase-track figure figcaption {
    position: absolute;
    bottom: 20px;
    left: 18px;
    right: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 1px 6px #000a;
}

.ret-case__carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 16px auto 55px;
}

.ret-case__carousel-controls button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--ret-line);
    border-radius: 50%;
    background: #fff;
    font-size: 21px;
    color: var(--ret-ink);
    cursor: pointer;
    transition: background .18s, color .18s;
}

.ret-case__carousel-controls button:hover {
    background: var(--ret-red);
    color: #fff;
}

.ret-case__horse-border {
    height: 100px;
    width: 100%;
    background: url("/local/components/darsy/news.detail/templates/customizer/./assets/images/horse_line.png");
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center;
    opacity: .9;
    animation: horseScroll 4s linear infinite;
}

.ret-case__tiles {
    padding: 120px 0 0;
    margin-bottom: 120px;
}

.ret-case__tiles-grid {
    display: grid;
    grid-template-columns: 1.32fr .68fr;
    align-items: center;
    gap: 70px;
    min-height: 830px;
}

.ret-case__tiles-main {
    width: 108%;
    max-width: none !important;
    object-fit: contain !important;
}

.ret-case__tiles-copy h2 {
    font-size: clamp(32px, 3.7vw, 58px);
    max-width: 570px;
    margin-bottom: 30px;
}

.ret-case__tiles-copy > p:last-child {
    font-size: 18px;
    max-width: 440px;
}

.ret-case__two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 90px;
    padding-top: 80px;
    padding-bottom: 90px;
}
.ret-case__two-col h3 {
    font-size: 29px;
    margin-bottom: 16px;
}

.ret-case__two-col p:last-child {
    font-size: 16px;
    max-width: 390px;
}

.ret-case__three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 90px;
    align-items: end;
    padding-top: 80px;
    padding-bottom: 150px;
    width:76% !important;
    color: #fff;
    font-family: Raleway, Arial, sans-serif;
}

.ret-case__three-col div:first-child {
    margin: 0 30px;
}

.ret-case__three-col p:first-child {
    opacity:.5;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

.ret-case__three-col h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.ret-case__three-col p:last-child {
    font-size: 14px;
    max-width: 264px;
}

.ret-case__triptych {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;      /* было: end */
    gap: 26px;
    width: 90% !important;
}
.ret-case__handmade .ret-case__triptych {
    padding-top: 60px;
    width: 95% !important;
    gap: 20px;
}

.ret-case__triptych div {
    max-width: 100%;
    /*object-fit: cover;*/
}

.ret-case__triptych div > img {
    width: 100%;
    border-radius: 14px;
}

.ret-case__triptych div > video {
    border-radius: 15px;
}
/* Замена старого правила img:nth-child(2) с transform */
.ret-case__triptych div:nth-child(1) {
    align-self: center;        /* первое — по центру блока */
}

.ret-case__triptych div:nth-child(2) {
    align-self: start;         /* второе — к верху */
    transform: none;           /* убираем старый сдвиг -48px */
    margin-bottom: 80px;
}

.ret-case__triptych div:nth-child(3) {
    align-self: end;           /* третье — к низу */
}

/*.ret-case__tiles > .ret-case__triptych {*/
/*    margin-bottom: -115px;*/
/*}*/

.ret-case__booklet {
    padding: 440px 0 60px;
}

.ret-case__booklet .ret-case__story-block {
    font-family: Raleway, Arial, sans-serif;
    color: #414146;
    font-weight: 700;
    letter-spacing: -0.01em;
    width: 43%;
    max-width: 620px;
    top: 27%;
}

.ret-case__booklet .ret-case__story-block .ret-case__folklore {
    color: #3D3D4F;
    font-size: 37px;
    font-weight: bold;
    letter-spacing: 0;
    padding: 20px 0;
}

.ret-case__booklet .ret-case__story-block div {
    width: 49%;
    color: #3D3D4F;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0;
}

.ret-case__booklet .ret-case__story-block div p {
    padding-top: 30px;
}
.ret-case__booklet .ret-right {
    right: 32px;
    z-index: 0;
}

.ret-case__booklet > img{
    position: relative;
}

.ret-case__booklet-copy {
    max-width: var(--ret-max);
}

.ret-case__booklet-copy h2 {
    max-width: 780px;
    margin-bottom: 40px;
}

.ret-case__booklet-copy > p:not(.ret-case__eyebrow) {
    max-width: 560px;
    font-size: 18px;
    margin-bottom: 24px;
}

.ret-case__booklet-art {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    padding: 0 32px;
    padding-top: 80px;
    z-index: 10;
}

.ret-case__handmade {
    padding-top: 130px;
}

.ret-case__handmade > .ret-case__center h2 {
    margin-bottom: 36px;
}

.ret-case__handmade > .ret-case__center p {
    font-family: Raleway, Arial, sans-serif;
    color: #3D3D4F;
    font-size: 24px;
    line-height: 1.4;
    max-width: 615px;
    padding-top: 30px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/*.ret-case__triptych--craft {*/
/*    margin-top: 100px;*/
/*}*/

/*.ret-case__triptych--craft img {*/
/*    height: 590px;*/
/*}*/

.ret-case__handmade .ret-case__quote--second {
    margin-top: -10px;
    padding-top: 170px;
}

.ret-case__handmade .ret-case__red {
    height: 438px;
    margin-top: -17%;
    background: var(--ret-red);
    background-image: url('/local/components/darsy/news.detail/templates/customizer/./assets/images/Vector.webp');
    background-repeat: repeat;
}

@media (max-width: 1440px) {
    .ret-case__handmade .ret-case__red {
        margin-top: -22%;
    }
}
.ret-case__quote-context {
    max-width: 417px;
    margin: 0 auto 75px !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.ret-case__scarf {
    padding: 0 0 100px;
    background: linear-gradient(to bottom, var(--ret-red) 0%, var(--ret-red) 37%, var(--ret-paper) 37%, var(--ret-paper) 100%);
}

.ret-case__scarf-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr 1fr;
    gap: 50px;
    align-items: center;
}

.ret-case__scarf-grid > p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 240px;
}

.ret-case__scarf-grid > p:first-child {
    justify-self: start;
}

.ret-case__scarf-grid > p:last-child {
    justify-self: end;
}

.ret-case__scarf-photo {
    position: relative;
    aspect-ratio: 1;
}

.ret-case__scarf-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ret-case__arc-text {
    position: absolute;
    z-index: 2;
    top: -28%;
    left: -5%;
    width: 110%;
    overflow: visible;
    fill: white;
    font: 900 25px Georgia, serif;
    letter-spacing: -.5px;
}

.ret-case__game {
    padding: 100px 0 120px;
}

.ret-case__game-copy {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 10vw;
    align-items: end;
    width: 81%;
    margin: 0 auto;
    margin-bottom: 90px !important;
}

.ret-case__game-copy .ret-case__folklore {
    width: 80%;
    font-size: 37px;
}

.ret-case__game-copy .ret-case__eyebrow {
    font-size: 14px;
}

.ret-case__game-copy h2 {
    max-width: 850px;
    font-size: clamp(33px, 4.4vw, 66px);
}

.ret-case__game-copy > p {
    font-family: Raleway, Arial, sans-serif;
    font-weight:600;
    max-width: 93%;
}

.ret-case__game-photo {
    position: relative;
    padding: 0 32px;
}

.ret-case__game-photo img {
    width: 100%;
    /*max-height: 720px;*/
    border-radius: 14px;
}

.ret-case__game-photo strong {
    position: absolute;
    right: 9%;
    top: 8%;
    font: 700 37px/100% 'Stepovik', sans-serif;
    letter-spacing: 0;
    color: #fff;
}

.ret-case__packaging {
    padding: 130px 0 100px;
}

.ret-case__packaging-copy {
    font: 600 16px 'Raleway', sans-sarif;
    letter-spacing: 0;
}

.ret-case__packaging-copy h2 {
    max-width: 850px;
    margin-bottom: 35px;
}

.ret-case__packaging-copy > p:not(.ret-case__eyebrow) {
    max-width: 42%;
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.ret-case__packaging-photo {
    position: relative;
    z-index: 10;
    margin: 0 32px;
    margin-top: 75px !important;
    margin-bottom: 90px !important;
}

.ret-case__packaging-photo img {
    width: 100%;
    max-height: 450px;
    border-radius: 14px;
    overflow: visible;
    margin: 0 auto;
}

.ret_case-packing-img {
    position: absolute;
    top: 100px;
    right: 3%;
    z-index: 0;
}

.ret-case__personal {
    padding: 170px 0 150px;
}

.ret-case__personal h2 {
    margin-bottom: 110px;
}

.ret-case__personal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
}

.ret-case__personal-grid figure {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.ret-case__personal-grid figure:nth-child(2) {
    transform: translateY(50px);
}

.ret-case__personal-grid img {
    width: 100%;
    /*height: 560px;*/
    object-fit: cover;
}

.ret-case__personal-grid figcaption {
    position: absolute;
    bottom: 20px;
    left: 18px;
    background: var(--ret-red);
    padding: 10px 17px;
    font-size: 14px;
    color: white;
    border-radius: 25px;
}

.ret-case__recipients {
    margin-top: 160px !important;
}

.ret-case__recipients > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid var(--ret-line);
}

.ret-case__recipients h3 {
    font-size: 24px;
    font-weight: 570;
    line-height: 1.25;
}

.ret-case__recipients p {
    max-width: 590px;
    font-size: 17px;
}

.ret-case__result {
    padding: 150px 0 140px;
    background-image: url("/local/components/darsy/news.detail/templates/customizer/./assets/images/Union.webp");
    background-repeat: repeat-x;
    background-position: center top; /* Выравниваем по центру (или top center, bottom center) */
    /*background-size: cover;*/
    color: #fff;
}

.ret-case__result .ret-case__eyebrow {
    color: #fff;
    opacity: .5;
}

.ret-case__result .ret-case__folklore {
    color: #fff;
    font-size: 54px;
}

.ret-case__result .ret-res-block {
    width: 100%;
    height: 180px;
    background-image: url("/local/components/darsy/news.detail/templates/customizer/./assets/images/Group_12.webp");
    background-repeat: repeat-x;
    background-position: center top; /* Выравниваем по центру (или top center, bottom center) */
    background-size: contain;
    /*overflow: visible;*/
}

.ret-case__result h2 {
    /*font-size: clamp(44px, 5.8vw, 82px);*/
    margin-bottom: 30px;
}

.ret-case__result .ret-case__center > p:not(.ret-case__eyebrow) {
    max-width: 442px;
    margin-bottom: 20px;
    font-size: 14px;
}

.ret-case__result-track {
    display: flex;
    gap: 24px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    /* 💡 Включаем скролл и центрирование */
    overflow-x: auto;
    overflow-y: visible;
    justify-content: safe center;

    margin-bottom: 110px;

    /* 💡 Отступы: оставляем ваши боковые, добавляем сверху/снизу для фона */
    padding: 40px 24px 60px;

    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    /* Фон с паттерном */
    background-image: url("/local/components/darsy/news.detail/templates/customizer/./assets/images/Vector_end.webp");
    background-repeat: repeat-x;
    background-position: center bottom;
}


.ret-case__result-track img:first-child {
    margin-left: auto;
}
.ret-case__result-track img:last-child {
    margin-right: auto;
}

.ret-case__result-track img {
    width: 340px;
    height: 460px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 14px;
    scroll-snap-align: center;
    transform: translateY(20px);
}

/* 💡 Поднимаем ВВЕРХ */
.ret-case__result-track img:nth-child(1),
.ret-case__result-track img:nth-child(4) {
    transform: translateY(-40px);
}

.ret-case__result-track img:nth-child(3) {
    transform: translateY(-20px);
}

.ret-case__outro {
    padding: 180px 0 0;
}

.ret-case__outro h2 {
    font-size: 24px;
    margin-bottom: 24px;
}

.ret-case__outro p {
    max-width: 360px !important;
    font-size: 14px;
}

.ret-case__cta-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 38px;
    padding: 16px 26px;
    border-radius: 40px;
    text-decoration: none;
    background: var(--ret-red);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.ret-case__cta-button:hover {
    background: #81051b;
    color: #fff;
}

.ret-case__outro .ret-case__horse-border {
    margin-top: 80px;
    transform: scaleX(-1);
}

/* Only apply reveal hiding after JS actually initialises. */
.ret-case.ret-case--js .ret-reveal {
    opacity: 0;
    transform: translate3d(0, -34px, 0);
    transition: opacity 720ms ease, transform 720ms cubic-bezier(.23, 1, .32, 1);
}

.ret-case.ret-case--js .ret-reveal.ret-visible {
    opacity: 1;
    transform: none;
}

.ret-case__embroidery {
    animation: ret-ornament-sway 7s ease-in-out infinite;
    transform-origin: 50% 50%;
}

/*.ret-case__game-photo strong {*/
/*    animation: ret-word-rock 5s ease-in-out infinite;*/
/*}*/

.ret-case__arc-text {
    animation: ret-arc-sway 14s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes ret-ornament-sway {
    0%, 100% {
        transform: rotate(-2deg)
    }
    50% {
        transform: rotate(2deg)
    }
}

@keyframes ret-word-rock {
    0%, 100% {
        transform: rotate(-3deg)
    }
    50% {
        transform: rotate(1deg)
    }
}

@keyframes ret-arc-sway {
    0%, 100% {
        transform: rotate(-6deg)
    }
    50% {
        transform: rotate(6deg)
    }
}

@media (max-width: 1100px) {
    .ret-case {
        font-size: 16px;
    }

    /*.ret-case__intro, .ret-case__intro-grid { min-height: 700px; }*/
    .ret-case__story {
        min-height: 790px;
    }

    .ret-case__craft-intro {
        min-height: 820px;
    }

    .ret-case__tiles-grid {
        min-height: 680px;
        gap: 28px;
    }

    .ret-case__triptych img {
        /*height: 460px;*/
    }

    .ret-case__personal-grid img {
        height: 440px;
    }

    .ret-case__scarf-grid {
        gap: 14px;
    }
}

@media (max-width: 760px) {
    .ret-case .ret-case__container {
        width: min(calc(100% - 36px), 560px);
    }

    .ret-case__hero {
        height: 690px;
        min-height: 0;
    }

    .ret-case__hero-image {
        object-position: 52% 0;
    }

    .ret-case__breadcrumb {
        font-size: 11px;
        padding-top: 78px;
    }

    .ret-case__hero-heading {
        padding-bottom: 80px;
    }

    .ret-case__hero h1 {
        font-size: clamp(31px, 7vw, 46px);
    }

    .ret-case__desktop-break {
        display: none;
    }

    .ret-case__embroidery {
        font-size: 23px;
        margin-top: 24px;
    }

    .ret-case__intro {
        min-height: initial;
        padding-top: 90px;
    }

    .ret-case__intro-grid {
        display: flex;
        flex-direction: column;
        min-height: 0;
        gap: 25px;
    }

    .ret-case__intro-copy {
        padding-bottom: 0;
    }

    .ret-case__intro-copy h2 {
        font-size: clamp(39px, 10vw, 60px);
    }

    .ret-case__intro-photo {
        align-self: center;
        width: 120%;
        max-height: 580px;
    }

    .ret-case__quote {
        padding: 145px 18px 95px;
    }

    .ret-case__quote-inner > p {
        font-size: 28px;
        white-space: unset;
        white-space: pre-line;
    }

    .ret-case__quote-inner footer {
        margin-top: 28px;
        font-size: 14px;
    }

    .ret-case__story {
        min-height: 790px;
        align-items: flex-end;
    }

    .ret-case__story-backdrop {
        object-position: 33% center;
        opacity: .62;
    }

    .ret-case__story::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, var(--ret-red) 0%, transparent 90%);
    }

    .ret-case__story-copy {
        padding: 0 0 80px;
        position: relative;
        z-index: 3;
    }

    .ret-case__story-copy h2 {
        font-size: 27px;
    }

    .ret-case__craft-intro {
        min-height: 790px;
        align-items: flex-start;
    }

    .ret-case__craft-backdrop {
        object-position: 57% center;
        opacity: .8;
    }

    .ret-case__craft-intro::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, var(--ret-red) 0%, transparent 65%);
    }

    .ret-case__craft-copy {
        padding: 70px 0 0;
        z-index: 3;
    }

    .ret-case__craft-copy h2 {
        font-size: 30px;
    }

    .ret-case__concept {
        padding-top: 95px;
    }

    .ret-case__concept h2 {
        font-size: clamp(35px, 9vw, 59px);
        margin-bottom: 60px;
    }

    .ret-case__lead {
        font-size: 16px;
    }

    .ret-case__showcase-track {
        padding-inline: 18px;
    }

    .ret-case__showcase-track figure {
        flex-basis: 78vw;
        min-width: 78vw;
        height: 420px;
    }

    .ret-case__tiles {
        padding: 95px 0 0;
    }

    .ret-case__tiles-grid {
        display: flex;
        flex-direction: column-reverse;
        min-height: initial;
        gap: 15px;
    }

    .ret-case__tiles-main {
        width: 125%;
        align-self: center;
    }

    .ret-case__tiles-copy h2 {
        font-size: 38px;
    }

    .ret-case__two-col {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0 80px;
    }

    .ret-case__two-col h3 {
        font-size: 24px;
    }

    .ret-case__triptych {
        display: flex;
        overflow-x: auto;
        align-items: stretch;
        gap: 12px;
        scroll-snap-type: x mandatory;
    }

    /*.ret-case__triptych img {*/
    /*    flex: 0 0 72vw;*/
    /*    width: 72vw;*/
    /*    height: 470px;*/
    /*    scroll-snap-align: center;*/
    /*}*/

    /*.ret-case__triptych img:nth-child(2) {*/
    /*    transform: none;*/
    /*}*/

    .ret-case__tiles > .ret-case__triptych {
        margin-bottom: -65px;
    }

    .ret-case__booklet {
        padding: 145px 0 35px;
    }

    .ret-case__booklet-copy h2 {
        font-size: 41px;
    }

    .ret-case__booklet-copy p {
        font-size: 16px !important;
    }

    .ret-case__booklet-art {
        width: 100%;
    }

    .ret-case__handmade {
        padding-top: 85px;
    }

    .ret-case__handmade h2 {
        font-size: 42px;
    }

    .ret-case__handmade > .ret-case__center p {
        font-size: 17px;
    }

    /*.ret-case__triptych--craft {*/
    /*    margin-top: 65px;*/
    /*}*/

    /*.ret-case__triptych--craft img {*/
    /*    height: 440px;*/
    /*}*/

    .ret-case__handmade .ret-case__quote--second {
        padding-top: 105px;
    }

    .ret-case__scarf {
        padding: 10px 0 100px;
    }

    .ret-case__scarf-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ret-case__scarf-grid > p {
        max-width: none;
    }

    .ret-case__scarf-grid > p:last-child {
        justify-self: start;
    }

    .ret-case__scarf-photo {
        order: -1;
    }

    .ret-case__arc-text {
        top: -25%;
    }

    .ret-case__game {
        padding: 95px 0;
    }

    .ret-case__game-copy {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 55px !important;
    }

    .ret-case__game-copy h2 {
        font-size: 42px;
    }

    .ret-case__game-photo img {
        height: 420px;
    }

    .ret-case__game-photo strong {
        right: 8%;
        top: 9%;
        font-size: 36px;
    }

    .ret-case__packaging {
        padding-top: 100px;
    }

    .ret-case__packaging h2 {
        font-size: 44px;
    }

    .ret-case__packaging-copy > p:not(.ret-case__eyebrow) {
        font-size: 16px;
    }

    .ret-case__packaging-photo {
        margin-top: 90px !important;
    }

    .ret-case__packaging-photo img {
        min-height: 320px;
    }

    .ret-case__personal {
        padding: 95px 0;
    }

    .ret-case__personal h2 {
        font-size: 40px;
        margin-bottom: 65px;
    }

    .ret-case__personal-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
    }

    .ret-case__personal-grid figure {
        flex: 0 0 80vw;
        scroll-snap-align: center;
    }

    .ret-case__personal-grid figure:nth-child(2) {
        transform: none;
    }

    .ret-case__personal-grid img {
        height: 430px;
    }

    .ret-case__recipients {
        margin-top: 75px !important;
    }

    .ret-case__recipients > div {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ret-case__recipients h3 {
        font-size: 22px;
    }

    .ret-case__recipients p {
        font-size: 15px;
    }

    .ret-case__result {
        padding: 105px 0 75px;
    }

    .ret-case__result h2 {
        font-size: 49px;
    }

    .ret-case__result-track {
        margin-top: 60px;
        padding-inline: 18px;
    }

    .ret-case__result-track img {
        width: 70vw;
        height: 390px;
    }

    .ret-case__outro {
        padding-top: 110px;
    }

    .ret-case__outro .ret-case__horse-border {
        margin-top: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ret-case *, .ret-case *::before, .ret-case *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .ret-case.ret-case--js .ret-reveal {
        opacity: 1;
        transform: none;
    }
}

.section-pt-0 {
    padding-top: 0
}

.section-pt-10 {
    padding-top: 10px
}

.section-pb-0 {
    padding-bottom: 0
}

.section-pb-10 {
    padding-bottom: 10px
}

.section-pb-100 {
    padding-bottom: 100px
}

/* Контейнер секции */
.ornament-section {
    display: flex;
    justify-content: center; /* Выравнивание по центру */
    align-items: center; /* Центрирование по вертикали */
    gap: 15px; /* Отступ между элементами (настройте под себя) */
    padding: 0; /* Внешние отступы секции */
}

/* Обертка для каждого SVG */
.ornament {
    width: 90px; /* Ширина иконки (настройте под себя) */
    height: 100px; /* Высота иконки */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .ornament-section {
        gap: 15px;
    }
}

/* Сами SVG */
.ornament svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Поворот боковых элементов на 180 градусов */
.ornament--left,
.ornament--right {
    transform: rotate(180deg);
}

/* Добавить, если нужна плавная анимация до 180 градусов при загрузке */
.ornament--left {
    animation: rotateLeftTo180 7s ease-in-out infinite;
}

.ornament--right {
    animation: rotateRightTo180 7s ease-in-out infinite;
}

@keyframes rotateLeftTo180 {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes rotateRightTo180 {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.font-stalinist-one {
    font-family: 'StalinistOne', Arial, sans-serif;
    font-weight: 400;
}



/* --- Родительский блок --- */
.ret-case__red.ret-case__story {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

/* Накладываем видео и текст друг на друга */
.ret-case__video-native,
.ret-case__story-copy {
    grid-area: 1 / 1;
}

/* --- 1. Видео --- */
.ret-case__video-native {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* --- 2. Блок с текстом --- */
.ret-case__story-block {
    position: absolute;
    z-index: 1;
    top: 33%;
    width: 360px;
    color: #fff;
}

.ret-case__story-block .ret-case__eyebrow {
    opacity: .5

}

.ret-case__story-block > h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.001em;
    margin-bottom: 24px;
}

.ret-case__story-block >p:last-child {
    font-size: 15px;
    font-weight: 400;
}

.ret-left {
    left: 10%;
}

.ret-right {
    right: 15%;
}
.babuska .ret-case__story-block {
    width: 340px;
}
.babuska > img {
    width: 100%
}
.ret-case__rectagle {
    background: linear-gradient(to bottom, #aa0e18, #a00d13);
}

.h-50 {
    height: 50px;
}

.ret-case__concept .ret-case__story-block {
    top: 60%;
    right: 25%;
}
.ret-case__concept, .ret-case__tiles > img {
    width: 100% !important;
}

.ret-case__horse .ret-case__horse-border {
    margin-top: 80px;
}
.ret-case__horse {
    padding-bottom: 10px;
}

.cacheli {
    transform-origin: 50% 70%;

    /* Запускаем анимацию */
    animation: horseSwing 2s ease-in-out infinite alternate;
}

@keyframes horseScroll {
    from { background-position: -100px center; }
    to   { background-position: -300px center; } /* Сдвиг ровно на ширину картинки (200px) */
}

@keyframes horseSwing {
    0% {
        transform: rotate(-6deg); /* Наклон влево */
    }
    100% {
        transform: rotate(28deg);  /* Наклон вправо */
    }
}

.ret-custom-1 {
    top: 19%;
    right: 14%;
}
.ret-custom-1 > h2{
    font-size: 44px;
}
.ret-case__circular {
    background: linear-gradient(to bottom, #990b15 0%, #990b15 50%, var(--ret-paper) 50%, var(--ret-paper) 100%);
}

.circular-wrapper {
    position: relative;
    width: 825px; /* Размер круга */
    height: 825px;
    margin: 0 auto;
}

/* --- Центральное ВИДЕО --- */
.circular-center-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Видео чуть меньше контейнера */
    height: 90%;

    /* 💡 Ключевые свойства для идеального круга из видео */
    border-radius: 50%;
    object-fit: cover; /* Заполняет круг без искажений (обрезает края) */
    display: block;    /* Убирает лишние отступы снизу */
}

/* --- Текстовая картинка (WebP) --- */
.circular-text-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spinText 25s linear infinite;
    will-change: transform;
    z-index: 2; /* Текст поверх видео */
}

@keyframes spinText {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}
.ret-case__scarf-grid {
    /* 💡 Вырываем из потока и ставим ровно по центру секции */
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Releway', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0;
    /* Ширина контейнера */
    width: 100%;
    /*max-width: 1440px;*/

    /* Расталкиваем тексты по краям */
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 4%;
    box-sizing: border-box;
    z-index: 5; /* Поверх круга с видео */

    /* 💡 Важно: клики проходят сквозь пустое место контейнера к видео */
    pointer-events: none;
}
/* End */
/* /local/components/darsy/news.detail/templates/customizer/style.css?179474724836436 */
