:root {
    --gray-2: #151518;
    --dark: #3b4255;
    --blue-color: #00b0f0;
    --dark-blue-color: #006f9e;
    --red-color: #E6252D;
}

.policy-wrapper {
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.mediamint {
    margin-top: 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.footer .mediamint {
    text-transform: none;
}

.mediamint img {
    margin-left: 15px;
}

@media screen and (max-width: 639px) {
    .policy-wrapper {
        margin-left: 0;
    }
}

.content > p {
    margin: 0 0 1em;
}

.content > ul,
.content > ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

.content > table {
    width: 100%;
    margin: 0 0 1.5em;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Legal pages без aside-nav: не сжимать до 67% */
.content.content--full {
    width: 100%;
    max-width: 1410px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 100px;
    padding-right: 100px;
    box-sizing: border-box;
}

@media screen and (max-width: 1599px) {
    .content.content--full {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media screen and (max-width: 959px) {
    .content.content--full {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 639px) {
    .content.content--full {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Cookie banner — Figma 3702:153 / 3702:157 */
.cookies-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 50px;
    z-index: 10050;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.cookies-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cookies-popup-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1554px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cookies-popup-text {
    margin: 0;
    max-width: 960px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--dark);
}

.cookies-popup-text a {
    color: #e6252d;
    text-decoration: none;
}

.cookies-popup-text a:hover,
.cookies-popup-text a:focus {
    opacity: 0.85;
}

.cookies-popup-btn.btn {
    flex-shrink: 0;
    margin: 0;
    padding: 14px 20px;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

@media screen and (max-width: 767px) {
    .cookies-popup {
        bottom: 20px;
    }

    .cookies-popup-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }

    .cookies-popup-text {
        max-width: none;
        font-size: 14px;
    }

    .cookies-popup-btn.btn {
        width: 100%;
        text-align: center;
        padding: 10px 18px;
        font-size: 12px;
        letter-spacing: 3px;
    }
}

.linked-container {
	padding: 100px;
}

@media screen and (max-width: 1599px) {
	.linked-container {
		padding: 100px 50px;
	}
}

@media screen and (max-width: 959px) {
	.linked-container {
		padding: 40px 20px;
	}
}

@media screen and (max-width: 639px) {
	.linked-container {
		padding: 30px 15px;
	}
}

.linked {
    max-width: 100%;
}

.linked:not(:last-of-type) {
    margin-bottom: 100px;
}

.content .linked {
    margin-top: 100px;
}

@media screen and (max-width: 1599px) {
	.linked:not(:last-of-type) {
        margin-bottom: 60px;
    }

    .content .linked {
        margin-top: 60px;
    }
}

@media screen and (max-width: 959px) {
	.linked:not(:last-of-type) {
        margin-bottom: 40px;
    }

    .content .linked {
        margin-top: 40px;
    }
}

@media screen and (max-width: 639px) {
	.linked:not(:last-of-type) {
        margin-bottom: 35px;
    }

    .content .linked:first-of-type {
        margin-top: 35px;
    }
}

.linked .slick-track {
    display: flex;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
}

.linked__title.content-title {
    margin-bottom: 50px;
}

@media only screen and (max-width: 639px) {
    .linked__title.content-title {
        margin-bottom: 30px;
    }
}

.linked__slider {
    padding-left: 92px;
    padding-right: 70px;
}

.linked .slick-arrow {
    width: 70px;
    height: 70px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="29" viewBox="0 0 28 29" fill="none"><g clip-path="url(%23clip0_818_239)"><path d="M7.73313 28.4225L21.1284 15.0273C21.3661 14.7895 21.3661 14.4041 21.1284 14.1663L7.73313 0.771043C7.49127 0.537406 7.1058 0.544085 6.87216 0.785998C6.76251 0.899513 6.70122 1.05117 6.70122 1.209C6.70122 1.36683 6.76251 1.51849 6.87216 1.63201L19.8363 14.5962L6.87096 27.5603C6.63733 27.8022 6.644 28.1877 6.88586 28.4213C7.12184 28.6492 7.49595 28.6492 7.73187 28.4213L7.73313 28.4225Z" fill="black"/><path d="M6.69337 27.9914C6.69322 27.9114 6.70885 27.8321 6.73936 27.7582C6.76987 27.6842 6.81467 27.617 6.87118 27.5603L19.8365 14.5962L6.87119 1.63201C6.63755 1.39015 6.64423 1.00468 6.88614 0.771043C6.99965 0.661387 7.15132 0.600097 7.30915 0.600097C7.46698 0.600097 7.61864 0.661387 7.73215 0.771043L21.1274 14.1663C21.3651 14.404 21.3651 14.7895 21.1274 15.0273L7.73215 28.4225C7.494 28.6599 7.10847 28.6593 6.87107 28.4211C6.75732 28.307 6.69343 28.1525 6.69337 27.9914Z" fill="%233B4255"/></g><defs><clipPath id="clip0_818_239"><rect width="28" height="28" fill="black" transform="translate(28 0.600098) rotate(90)"/></clipPath></defs></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    background-color: transparent;
    border: 1px solid #000;
    transition: .3s;
}

.linked .slick-arrow:hover,
.linked .slick-arrow:focus-visible {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="29" viewBox="0 0 28 29" fill="none"><g clip-path="url(%23clip0_818_218)"><path d="M7.73313 27.9225L21.1284 14.5273C21.3661 14.2895 21.3661 13.9041 21.1284 13.6663L7.73313 0.271043C7.49127 0.0374063 7.1058 0.0440849 6.87216 0.285998C6.76251 0.399513 6.70122 0.551174 6.70122 0.709004C6.70122 0.866833 6.76251 1.01849 6.87216 1.13201L19.8363 14.0962L6.87096 27.0603C6.63733 27.3022 6.644 27.6877 6.88586 27.9213C7.12184 28.1492 7.49595 28.1492 7.73187 27.9213L7.73313 27.9225Z" fill="white"/><path d="M6.69337 27.4914C6.69322 27.4114 6.70885 27.3321 6.73936 27.2582C6.76987 27.1842 6.81467 27.117 6.87118 27.0603L19.8365 14.0962L6.87119 1.13201C6.63755 0.890154 6.64423 0.50468 6.88614 0.271043C6.99965 0.161387 7.15132 0.100097 7.30915 0.100097C7.46698 0.100097 7.61864 0.161387 7.73215 0.271043L21.1274 13.6663C21.3651 13.904 21.3651 14.2895 21.1274 14.5273L7.73215 27.9225C7.494 28.1599 7.10847 28.1593 6.87107 27.9211C6.75732 27.807 6.69343 27.6525 6.69337 27.4914Z" fill="white"/></g><defs><clipPath id="clip0_818_218"><rect width="28" height="28" fill="white" transform="translate(28 0.100098) rotate(90)"/></clipPath></defs></svg>');
    background-color: #E6252D;
    border-color: #E6252D;
}

.linked .slick-arrow.slick-disabled {
    opacity: .5;
    border-color: #00000050;
    pointer-events: none;
}

.linked .slick-prev {
    left: 0;
    transform: translate(0, -50%) scale(-1, 1);
}

.linked .slick-next {
    right: 0;
}

.linked .slick-arrow::before {
    display: none;
}

.linked .slick-initialized .slick-slide {
    height: auto;
    margin-right: 22px;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1200px) {
    .linked__slider {
        padding-left: 72px;
        padding-right: 50px;
    }

    .linked .slick-arrow {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 768px) {
    .linked__slider {
        padding-left: 52px;
        padding-right: 30px;
    }

    .linked .slick-arrow {
        width: 30px;
        height: 30px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* ------- SEO-текст в разделах и на главной каталога ------------- */
.catalog__seo-text {
    margin-top: 100px;
}
@media screen and (max-width: 640px) {
    .catalog__seo-text {
        margin-top: 60px;
    }
}

.catalog__seo-text {
    font-family: "Montserrat", sans-serif;

    font-weight: 400;
    font-size: 18px;
    color: var(--gray-2);
}

.catalog__seo-text p,
.catalog__seo-text ul,
.catalog__seo-text ol
{
    margin-bottom: 2em;
}

.catalog__seo-text a {
    color: var(--blue-color);

    transition: color .3s;
}
@media screen and (hover: hover) {
    .catalog__seo-text a:hover {
        color: var(--dark-blue-color);
    }
}
.catalog__seo-text a:focus-visible {
    color: var(--dark-blue-color);
}

.catalog__seo-text h2,
.catalog__seo-text h3,
.catalog__seo-text h4,
.catalog__seo-text h5,
.catalog__seo-text h6 {
    font-weight: 600;

    margin: 0 0 20px;
}

.catalog__seo-text h2 {
    font-size: 30px;
}
.catalog__seo-text h3 {
    font-size: 26px;
}
.catalog__seo-text h4 {
    font-size: 24px;
}
.catalog__seo-text h5 {
    font-size: 22px;
}
.catalog__seo-text h6 {
    font-size: 20px;
}

.catalog__seo-text ol li,
.catalog__seo-text ul li {
    margin-bottom: 0.3em !important;
}

.catalog__seo-text .no-margin-bottom {
    margin-bottom: 0;
}

/* ------ Статьи в разделах и на главной каталоага --------- */
.catalog__linked-articles {
    margin-top: 100px;
}
@media screen and (max-width: 640px) {
    .catalog__linked-articles {
        margin-top: 60px;
    }
}


ul,
li > ol {
    padding-left: 15px;
}

ul, ol {
    margin: 15px 0;
}

ul > li {
    list-style-type: disc;
}

li {
    margin-bottom: 10px;
}

li:last-of-type {
    margin-bottom: 0;
}

.swiper {
    width: 100%;
}

.article__text a {
    color: #406EBD;
}

.line-list {
    margin: 40px 0;
    padding-left: 0;
}

.line-list > li {
    margin-bottom: 25px;
    padding-left: 31px;
    position: relative;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 31.5px;
    list-style-type: none;
}

.line-list > li::before {
    width: 21px;
    height: 1px;
    content: '';
    background-color: #406EBD;
    position: absolute;
    left: 0;
    top: 16px;
}

.line-list > li:last-of-type {
    margin-bottom: 0;
}

@media screen and (max-width: 640px) {
    .line-list > li {
        margin-bottom: 15px;
        padding-left: 20px;
        font-size: 18px;
        line-height: normal;
    }

    .line-list > li::before {
        width: 12px;
        top: 12px;
    }
}

.bg-block {
    margin: 20px 0;
    padding: 20px 30px;
    border-left: 2px solid #406EBD;
    background: rgba(64, 110, 189, 0.10);
}

.text-block {
    margin: 20px 0;
    padding-left: 43px;
    position: relative;
}

@media screen and (max-width: 640px) {
    .bg-block {
        padding: 15px 20px;
    }

    .text-block {
        padding-left: 33px;
    }
}

.text-block.quote {
    font-style: italic;
}

.text-block::before {
    width: 22px;
    height: 22px;
    content: '';
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.text-block.info::before {
    background-image: url(/upload/mm_upload/icons/info.svg);
}

.text-block.quote::before {
    background-image: url(/upload/mm_upload/icons/quote.svg);
}

.bg-block > *:first-child,
.text-block > *:first-child {
    margin-top: 0;
}

.bg-block > *:last-child,
.text-block > *:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 639px) {
    .menu {
        min-height: unset;
        height: 100vh;
    }
}

.modal-policy span {
    margin-left: 20px;
}

.modal-policy span a {
    color: #406ebd;
}