/* --- НАЧАЛО: Отформатированный оригинальный CSS --- */

.sprint-content .content-wrapper {
    position: static;
}
.sprint-header {
    background-position: 50% 0;
    background-repeat: no-repeat;
    box-sizing: border-box;
    color: #fff;
    padding: 0;
    position: relative;
    width: 100%;
}
.sprint-header-overlay {
    background: rgba(0, 0, 0, 0.75);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
}
.sprint-header .content-wrapper {
    position: relative;
    height: 100%;
}
.sprint-header__title {
    text-align: center;
    z-index: 7;
}
.sprint__label {
    display: inline-block;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 1px 5px 5px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}
.sprint__label-hint {
    background: #fff;
    bottom: 105%;
    border-radius: 5px;
    color: #333;
    left: 50%;
    letter-spacing: normal;
    margin-left: -75px;
    padding: 3px 5px;
    position: absolute;
    visibility: hidden;
    text-transform: none;
    width: 150px;
}
.sprint__label-hint:hover {
    cursor: default;
}
.sprint__label:hover .sprint__label-hint {
    visibility: visible;
}
.sprint__label-icon {
    background-image: url(../img/icon_sprint-label.png);
    -webkit-background-size: 8px 9px;
    background-size: 8px 9px;
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
    height: 9px;
    width: 8px;
}
.sprint__book-title {
    font-family: 'Lora', serif;
    font-weight: 400;
}
.sprint__book-title b {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}
.sprint__book-category {
    display: block;
    position: relative;
    z-index: 7;
    max-width: 650px;
}
.sprint__book-category a {
    border-bottom: 1px solid rgba(255, 228, 91, 0.5);
    color: #ffe45b;
    text-decoration: none;
    transition: 0.2s;
}
.sprint__book-category a:hover {
    border-bottom-color: rgba(204, 182, 73, 0.5);
    color: #ccb649;
}
.sprint__right-btns .btn-bookmarks-wrap {
    display: inline-block;
}
.sprint-header .btn-toggle-bookmarks {
    border: 1px solid transparent;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    line-height: 35px;
    padding: 0 10px 0 40px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
    z-index: 110;
}
.sprint-header .btn-toggle-bookmarks_add:after {
    background: url(../img/sprite-icon-bookmark.png) no-repeat 0 0;
    content: '';
    height: 21px;
    margin-top: -10px;
    position: absolute;
    left: 10px;
    top: 50%;
    width: 21px;
}
.sprint-header .btn-toggle-bookmarks:hover {
    background: #f6f6f6;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
}
.sprint-header .btn-toggle-bookmarks_remove {
    display: none;
}
.sprint-header .btn-toggle-bookmarks_remove:after {
    background: url(../img/sprite-icon-bookmark.png) no-repeat -21px 0;
    content: '';
    height: 21px;
    margin-top: -10px;
    position: absolute;
    left: 10px;
    top: 50%;
    width: 21px;
}
.sprint-header .btn-toggle-bookmarks_remove:hover:after {
    background: url(../img/sprite-icon-bookmark.png) no-repeat -42px 0;
    content: '';
    height: 21px;
    margin-top: -10px;
    position: absolute;
    right: 10px;
    top: 50%;
    width: 21px;
}
.sprint__header-btns {
    display: block;
    position: relative;
    z-index: 7;
}
.sprint__header-btns .btn-bookmarks-wrap {
    display: inline-block;
}
.sprint-header .download-links {
    display: inline-block;
}
.sprint-content .download-links a {
    border-bottom: 1px solid rgba(255, 228, 91, 0.5);
    color: #ffe45b;
    text-decoration: none;
    transition: 0.2s;
    margin: 0 5px;
}
.sprint-content .download-links a:hover {
    border-bottom-color: rgba(204, 182, 73, 0.5);
    color: #ccb649;
}
.sprint__intro {
    background: #efefef;
}
.sprint__inner-intro-text h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 0 14px;
}
.sprint__inner-intro-text em {
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 22px;
}
.sprint__inner-intro-text p {
    font-size: 20px;
    line-height: 32px;
    margin: 0 0 20px;
}
.sprint__main-text {
    background: #fff;
    padding: 115px 0 0;
    position: relative;
}
.sprint__inner-main-text h2 {
    font-weight: 700;
    line-height: 40px;
    margin: 0 0 20px;
    position: relative;
}
.sprint__inner-main-text h2:before {
    content: '';
    position: absolute;
    height: 24px;
    width: 1px;
    background: #ccc;
    left: -45px;
    top: 8px;
}
.sprint__inner-main-text h2:after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    left: -44px;
    top: 9px;
    border-width: 8px 0 8px 15px;
    border-style: solid;
    border-color: transparent transparent transparent #ffdd2e;
}
.sprint__inner-main-text h2 em {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 700;
}
.sprint__inner-main-text p {
    color: #000;
    line-height: 32px;
    margin: 0 0 16px;
    position: relative;
    font: 400 20px Lora;
}
.sprint__inner-main-text p .sprint-note {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-style: italic;
    line-height: 22px;
    top: 7px;
    width: 250px;
}
.sprint__inner-main-text p .sprint-note img {
    display: block;
    margin-bottom: 10px;
}
.sprint__inner-main-text p span.sprint-note a {
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 149, 173, 0.5);
    color: #4a95ad;
}
.sprint__inner-main-text p span.sprint-note a:hover {
    text-decoration: none;
    border-bottom: 1px solid rgba(24, 90, 112, 0.5);
    color: #185a70;
}

/*ЦИТАТЫ*/


.sprint-content .sprint__inner-main-text blockquote.quote-typography {
    padding: 2em 3em;
    margin: 2em 0;
    text-align: center;
    position: relative;
    font-size: 1.1em;
    line-height: 1.4;
    background: #fff;
    border: none;
    
}
.sprint-content .sprint__inner-main-text blockquote.quote-typography::before,
.sprint-content .sprint__inner-main-text blockquote.quote-typography::after {
    content: "※";
    display: flex;
    justify-content: center;
    color: #7d5d3b;
    font-size: 1.1em;
    margin: 0 10px;
    opacity: 0.6;
}

/* 2. Акварельная цитата */
.sprint-content .sprint__inner-main-text blockquote.quote-watercolor {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    padding: 1.5em 2em;
    margin: 2em 0;
    border-radius: 0 15px 15px 0;
    border-left: 5px solid #7986cb;
    font-style: italic;
    font-size: 1.1em;
    position: relative;
    line-height: 1.4;
    font-family: 'Georgia', serif;
}

/* 3. Рукописная цитата */
.sprint-content .sprint__inner-main-text blockquote.quote-manuscript {
    background: #fffaf0;
    padding: 2em;
    margin: 2em 0;
    border: 1px solid #deb887;
    font-family: 'Georgia', serif;
    font-size: 1.1em;
    position: relative;
    line-height: 1.4;
    border-left: 5px solid #deb887;
}

.sprint-content .sprint__inner-main-text blockquote.quote-manuscript::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #f4a460;
    pointer-events: none;
    opacity: 0.3;
}

/* 4. Цитата с желтым маркером */
.sprint-content .sprint__inner-main-text blockquote.quote-marker-yellow {
    padding: 1.5em;
    margin: 1.5em 0;
    position: relative;
    font-size: 1.1em;
    line-height: 1.8;
    background: transparent;
    border: none;
    font-style: normal;
}

.sprint-content .sprint__inner-main-text blockquote.quote-marker-yellow p {
    display: inline;
    background: linear-gradient(180deg, transparent 60%, #fff9c2 60%);
    box-shadow: 0 0 10px rgba(255, 241, 118, 0.3);
    padding: 0.2em 0.1em;
    font-size: 1.1em;
}

/* 5. Цитата с отступом */
.sprint-content .sprint__inner-main-text blockquote.quote-margin {
    background: #fff9c4;
    padding: 1em 1.5em;
    margin: 1.5em -1em;
    border-left: 3px solid #ffd54f;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    font-size: 1.1em;
    line-height: 1.4;
}

/* 6. Винтажная цитата */
.sprint-content .sprint__inner-main-text blockquote.quote-vintage {
    background: #f8f3e6;
    border: 1px solid #e8dcbf;
    padding: 1.5em;
    margin: 1.5em 0;
    position: relative;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.4;
}

.sprint-content .sprint__inner-main-text blockquote.quote-vintage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #b8860b, #d4af37);
}

/* 7. Светящаяся цитата */
.sprint-content .sprint__inner-main-text blockquote.quote-glow {
    background: #fff;
    padding: 2em;
    margin: 2em 0;
    font-size: 1.1em;
    line-height: 1.4;
    border-radius: 8px;
    box-shadow: 
        0 0 0 1px #e0e0e0,
        0 4px 20px rgba(121, 85, 72, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.sprint-content .sprint__inner-main-text blockquote.quote-glow:hover {
    box-shadow: 
        0 0 0 1px #5d4037,
        0 6px 25px rgba(121, 85, 72, 0.15);
    transform: translateY(-2px);
}

.sprint__inner-main-text blockquote {
    background: #f9f9f9;
    border-left: 5px solid #4a95ad;
    margin: 1.5em 0;
    padding: 1em 1.5em;
    font-style: italic;
    color: #555;
    position: relative;
    font-size: 1.1em;
    line-height: 1.4;
}

/* ================================================================
    АДАПТАЦИЯ ЦИТАТ ДЛЯ ТЕМНОЙ ТЕМЫ
================================================================
*/

/* 1. Типографская цитата */
.dark-theme .sprint__inner-main-text blockquote.quote-typography {
    background: #1f2428;
    color: #e2e8f0;
}

.dark-theme .sprint__inner-main-text blockquote.quote-typography::before,
.dark-theme .sprint__inner-main-text blockquote.quote-typography::after {
    color: #f5deb3;
    opacity: 0.5;
}

/* 2. Акварельная цитата */
.dark-theme .sprint__inner-main-text blockquote.quote-watercolor {
    background: linear-gradient(135deg, #1a2a3a, #2a1f2a);
    border-left: 5px solid #9fa8da;
    color: #e2e8f0;
}

/* 3. Рукописная цитата */
.dark-theme .sprint__inner-main-text blockquote.quote-manuscript {
    background: #1f2428;
    border: 1px solid #b8860b;
    border-left: 5px solid #b8860b;
    color: #e2e8f0;
}

.dark-theme .sprint__inner-main-text blockquote.quote-manuscript::before {
    border: 1px solid #d4a373;
    opacity: 0.2;
}

/* 4. Цитата с желтым маркером */
.dark-theme .sprint__inner-main-text blockquote.quote-marker-yellow {
    background: transparent;
    color: #e2e8f0;
}

.dark-theme .sprint__inner-main-text blockquote.quote-marker-yellow p {
    background: linear-gradient(180deg, transparent 60%, rgba(245, 222, 179, 0.2) 60%);
    box-shadow: 0 0 10px rgba(245, 222, 179, 0.15);
    color: #f5deb3;
}

/* 5. Цитата с отступом */
.dark-theme .sprint__inner-main-text blockquote.quote-margin {
    background: #2d2a1f;
    border-left: 3px solid #ffb74d;
    color: #e2e8f0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

/* 6. Винтажная цитата */
.dark-theme .sprint__inner-main-text blockquote.quote-vintage {
    background: #1f2428;
    border: 1px solid #665c47;
    color: #e2e8f0;
}

.dark-theme .sprint__inner-main-text blockquote.quote-vintage::before {
    background: linear-gradient(90deg, #b8860b, #8b6913, #b8860b);
    opacity: 0.7;
}

/* 7. Светящаяся цитата */
.dark-theme .sprint__inner-main-text blockquote.quote-glow {
    background: #1f2428;
    color: #e2e8f0;
    box-shadow: 
        0 0 0 1px #4a5568,
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.dark-theme .sprint__inner-main-text blockquote.quote-glow:hover {
    box-shadow: 
        0 0 0 1px #f5deb3,
        0 6px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Дополнительные настройки для текста внутри цитат */
.dark-theme .sprint__inner-main-text blockquote.quote-typography p,
.dark-theme .sprint__inner-main-text blockquote.quote-watercolor p,
.dark-theme .sprint__inner-main-text blockquote.quote-manuscript p,
.dark-theme .sprint__inner-main-text blockquote.quote-marker-yellow p,
.dark-theme .sprint__inner-main-text blockquote.quote-margin p,
.dark-theme .sprint__inner-main-text blockquote.quote-vintage p,
.dark-theme .sprint__inner-main-text blockquote.quote-glow p {
    color: inherit;
}

/* Ссылки внутри цитат в темной теме */
.dark-theme .sprint__inner-main-text blockquote a {
    color: #f5deb3;
    border-bottom: 1px solid rgba(245, 222, 179, 0.3);
}

.dark-theme .sprint__inner-main-text blockquote a:hover {
    border-bottom-color: rgba(245, 222, 179, 0.8);
}
/*КОНЕЦ ЦИТАТ*/

.sprint__inner-main-text hr {
    border: 0;
    height: 1px;
    background: #ccc;
}
.sprint__inner-main-text p.center {
    color: #D24D57;
    text-align: center;
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 700;
    position: relative;
}
.sprint__inner-main-text p.begin {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-style: italic;
    line-height: 22px;
    position: absolute;
    text-align: center;
    top: 20px;
}
.sprint__inner-main-text p.center:before {
    content: '\002A  \002A  \002A';
    position: absolute;
    color: #E74C3C;
    font-style: normal;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.sprint__finish {
    background: #fff6cb;
    margin-top: 85px;
}
.sprint__inner-finish-text h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 50px 0 0;
    position: relative;
}
.sprint__inner-finish-text h2:before {
    background: url(../img/icon_finish.png) 0 0 no-repeat;
    content: '';
    position: absolute;
    top: -74px;
    left: 0;
    height: 24px;
    width: 15px;
}
.sprint__inner-finish-text p {
    font-size: 20px;
    line-height: 32px;
    margin: 0 0 20px;
}
.sprint__rezult {
    padding: 55px 0 0;
}
.sprint__rezult-dignity h3 {
    color: #009e8e;
}
.sprint__rezult-limitations h3 {
    color: #db7454;
}
.sprint__inner-rezult-text h3 {
    font-size: 24px;
    line-height: 32px;
    margin: 0 0 10px;
    font-weight: 500;
}
.sprint__inner-rezult-text p {
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 10px;
    font-weight: 300;
}
.social-share__caption {
    display: block;
    margin-bottom: 10px;
}
.social-share--sptint {
    margin-top: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}
.sprint__inner-main-text ul,
.sprint__inner-main-text ol {
    font-family: 'Lora', serif;
    font-size: 20px;
    line-height: 32px;
}
.sprint__inner-rezult-text ul,
.sprint__inner-rezult-text ol {
    font-size: 16px;
    line-height: 24px;
}
.sprint__inner-rezult-text ul,
.sprint__inner-main-text ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.sprint__inner-rezult-text ul li,
.sprint__inner-main-text ul li {
    margin: 0 0 5px 20px;
    position: relative;
}
.sprint__inner-rezult-text ul li:before,
.sprint__inner-main-text ul li:before {
    background: #E74C3C;
    content: '';
    height: 1px;
    left: -20px;
    position: absolute;
    top: 16px;
    width: 12px;
}
.sprint__control-inner {
    position: relative;
}
.sprint__btn-item {
    display: inline-block;
    margin-right: 25px;
}
.sprint__icon-back {
    vertical-align: middle;
}
.sprint__btn-item a {
    border-bottom: 1px solid rgba(74, 149, 173, 0.5);
    color: #4a95ad;
    text-decoration: none;
}
.sprint__btn-item a:hover {
    border-bottom-color: rgba(204, 182, 73, 0.5);
    color: #ccb649;
}
.sprint__check-finish {
    position: absolute;
    width: 280px;
}
.sprint__check-finish .btn-check-read {
    background: #f6f6f6;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    color: #333;
    line-height: 42px;
    font-size: 16px;
    padding: 0 13px 0 45px;
    position: relative;
    text-align: center;
    transition: color 0.2s;
}
.sprint__check-finish .btn-check-read_active {
    pointer-events: none;
    width: 70%;
}
.sprint__check-finish .btn-check-read:before {
    background: url(../img/sprite-btn-free.png) no-repeat 0 0;
    content: '';
    height: 21px;
    left: 13px;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 21px;
}
.sprint__check-finish .btn-check-read:hover {
    color: #4a95ad;
    cursor: pointer;
}
.sprint__check-finish .btn-check-read_active {
    display: none;
}
.sprint__check-finish .btn-check-read_active:before {
    background: url(../img/sprite-btn-free.png) no-repeat -21px 0;
}
.sprint__right-btns .btn-toggle-bookmarks {
    border: 1px solid transparent;
    border-radius: 5px;
    display: inline-block;
    color: #4a95ad;
    cursor: pointer;
    font-size: 15px;
    line-height: 35px;
    padding: 0 10px 0 40px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
}
.sprint__right-btns .btn-toggle-bookmarks_remove {
    display: none;
}
.sprint__right-btns .btn-toggle-bookmarks_add:after {
    background: url(../img/sprite-icon-bookmark.png) no-repeat 0 0;
    content: '';
    height: 21px;
    margin-top: -10px;
    position: absolute;
    left: 10px;
    top: 50%;
    width: 21px;
}
.sprint__right-btns .btn-toggle-bookmarks:hover {
    background: #f6f6f6;
    border: 1px solid #ccc;
    color: #ccb649;
    cursor: pointer;
}
.sprint__right-btns .btn-toggle-bookmarks span:hover {
    border-bottom-color: rgba(204, 182, 73, 0.5);
}
.sprint__right-btns .btn-toggle-bookmarks_remove {
    display: none;
}
.sprint__right-btns .btn-toggle-bookmarks_remove:after {
    background: url(../img/sprite-icon-bookmark.png) no-repeat -21px 0;
    content: '';
    height: 21px;
    margin-top: -10px;
    position: absolute;
    left: 10px;
    top: 50%;
    width: 21px;
}
.sprint__right-btns .btn-toggle-bookmarks_remove:hover:after {
    background: url(../img/sprite-icon-bookmark.png) no-repeat -42px 0;
    content: '';
    height: 21px;
    margin-top: -10px;
    position: absolute;
    right: 10px;
    top: 50%;
    width: 21px;
}
.sprint__right-btns .download-links {
    display: inline-block;
    max-width: 207px;
}
.download-links img {
    margin-right: 5px;
}
.sprint__right-btns .download-links a {
    border-bottom: 1px solid rgba(74, 149, 173, 0.5);
    color: #4a95ad;
}

@media screen and (max-device-width: 1024px) {
    .sprint__main-text {
        padding-top: 175px;
    }
    .sprint__inner-intro-text p,
    .sprint__inner-main-text p {
        font-size: 24px;
        line-height: 34px;
    }
    .sprint__inner-main-text p.begin {
        font-size: 22px;
        line-height: 26px;
    }
    .sprint__inner-main-text blockquote {
        font-size: 24px;
        line-height: 34px;
    }
    .sprint__inner-finish-text p {
        font-size: 24px;
        line-height: 34px;
    }
    .sprint__inner-rezult-text p {
        font-size: 22px;
        line-height: 30px;
    }
    .sprint__inner-main-text p .sprint-note {
        font-size: 20px;
        line-height: 28px;
    }
}

@media screen and (max-device-width: 767px) {
    .sprint__main-text {
        padding-top: 115px;
    }
    .sprint__inner-intro-text p,
    .sprint__inner-main-text p {
        font-size: 20px;
        line-height: 32px;
    }
    .sprint__inner-main-text p.begin {
        font-size: 16px;
        line-height: 22px;
    }
    .sprint__inner-main-text blockquote {
        font-size: 20px;
        line-height: 32px;
    }
    .sprint__inner-finish-text p {
        font-size: 20px;
        line-height: 32px;
    }
    .sprint__inner-rezult-text p {
        font-size: 16px;
        line-height: 24px;
    }
    .sprint__inner-main-text p .sprint-note {
        font-size: 16px;
        line-height: 22px;
    }
}

/* --- КОНЕЦ: Отформатированный оригинальный CSS --- */

/*ПЕЙВОЛ перенесен из style.css*/
.pay-subscribe-block {
    margin-bottom: 135px;
    position: relative;
    top: -20px
    z-index: 10;
}

.pay-subscribe-block:before {
    content: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0) 0%, #fff 80%);
    height: 200px;
    display: block;
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    pointer-events: none
}

.pay-subscribe-block::after {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  width: min(960px, 120%);
  height: 180px;
  transform: translateX(-50%);
  background: conic-gradient(
    from 110deg,
    rgba(82, 211, 154, 0.44),
    rgba(255, 211, 102, 0.45),
    rgba(255, 159, 67, 0.45),
    rgba(82, 211, 154, 0.44)
  );
  filter: blur(78px);
  opacity: 0.88;
  pointer-events: none;
  mix-blend-mode: normal;
  animation: paywallBlurFlow 16s ease-in-out infinite alternate;
  z-index: 1;
}

.pay-subscribe-block .mr-cta__wrapper {
    padding: 40px;
    position: relative;
    z-index: 1;
}

@keyframes paywallBlurFlow {
  0% {
    transform: translateX(-52%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-48%) scale(1.06) rotate(3deg);
    opacity: 0.8;
  }
  100% {
    transform: translateX(-50%) scale(1.02) rotate(-3deg);
    opacity: 0.9;
  }
}

.pay-subscribe-block .mr-shell {
    padding: 0;
}

.pay-subscribe-block .border-line {
    background: transparent url(../img/wave.png) repeat-x;
    content: '';
    display: block;
    height: 6px;
    margin-bottom: 35px;
    width: 100%
}

.pay-subscribe-title {
    font-family: 'PFBeauSansPro-ProLight';
    font-size: 24px;
    margin: 0 0 30px;
    text-align: center
}

.pay-subscribe-title span {
    position: relative;
    padding: 0 0 0 25px
}

.pay-subscribe-title span:before {
    background: url(../img/icon-lock.png) 0 0 no-repeat;
    content: '';
    height: 17px;
    left: 0;
    margin-top: -7px;
    position: absolute;
    top: 50%;
    width: 13px
}

.pay-subscribe-block .page-sub-title {
    display: block;
    font-family: 'PFBeauSansPro-ProLight';
    font-size: 24px;
    font-weight: 400;
    margin: 0 auto 35px;
    padding: 0;
    text-align: center;
    width: 300px
}

.pay-subscribe-block {
    font-size: 0;
}

.pay-subscribe-block .title {
    border-bottom: none
}

.pay-subscribe-block .duration {
    line-height: 70px
}

.pay-subscribe-block .duration span {
    font-size: 40px;
    line-height: 70px
}

@media screen and (min-width: 768px) {
     .pay-subscribe-block {
        width: 900px
    }
    
    .kanban-content .pay-subscribe-block {
        width: 700px
    }
}

@media (max-width: 1024px) {
    .pay-subscribe-block {
    margin-bottom: 120px;
    top: -12px;
    }
  
    .pay-subscribe-block::after {
    top: -140px;
    width: min(860px, 120%);
    height: 180px;
    filter: blur(68px);
  }

  .pay-subscribe-block::before {
    height: 160px;
    top: -160px;
  }

  .pay-subscribe-block .mr-cta__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 32px;
  }

  .pay-subscribe-block .mr-cta__right {
    order: -1;
  }

  .pay-subscribe-block .mr-cta__image {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
    .pay-subscribe-block {
    margin-bottom: 90px;
    top: 0;
    }
  
    .pay-subscribe-block::after {
    top: -120px;
    width: min(740px, 130%);
    height: 160px;
    filter: blur(64px);
  }

  .pay-subscribe-block .mr-cta__wrapper {
    padding: 36px 24px;
    gap: 28px;
  }

  .pay-subscribe-block .mr-cta__title {
    font-size: 2rem;
  }

  .pay-subscribe-block .mr-cta__text {
    font-size: 1rem;
  }

  .pay-subscribe-block .mr-cta__checklist {
    gap: 12px;
  }

  .pay-subscribe-block .mr-cta__checklist li {
    font-size: 1rem;
  }

  .pay-subscribe-block .mr-cta__features {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding: 0;
  }
}

@media (max-width: 480px) {
    .pay-subscribe-block {
    margin-bottom: 72px;
    }
  
    .pay-subscribe-block::after {
    top: -110px;
    width: 100%;
    height: 140px;
    filter: blur(60px);
    }

  .pay-subscribe-block::before {
    height: 120px;
    top: -120px;
  }

  .pay-subscribe-block .mr-cta__wrapper {
    padding: 28px 18px;
    gap: 24px;
    border-radius: 18px;
    margin: 5px;
  }

  .pay-subscribe-block .mr-cta__badge {
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .pay-subscribe-block .mr-cta__title {
    font-size: 1.75rem;
  }

  .pay-subscribe-block .mr-cta__checklist li {
    font-size: 0.9375rem;
  }

  .pay-subscribe-block .mr-cta__stat {
    position: static;
    margin: 220px 10px 10px 170px;
    width: 100%;
    justify-content: flex-start;
  }
  
  .pay-subscribe-block .mr-cta-btn--large {
    margin-left: 20px;
  }
  
  .pay-subscribe-block .mr-cta__features {
    margin: 30px 5px;
  }
}

@media (max-width: 400px) {
  .pay-subscribe-block {
    margin-bottom: 64px;
  }
  
  .pay-subscribe-block::after {
    top: -100px;
    width: 100%;
    height: 130px;
    filter: blur(56px);
  }

  .pay-subscribe-block .mr-cta__wrapper {
    padding: 24px 16px;
    margin: 5px;
  }

  .pay-subscribe-block .mr-cta__title {
    font-size: 1.6rem;
  }

  .pay-subscribe-block .mr-cta__text {
    font-size: 0.975rem;
  }

  .pay-subscribe-block .mr-cta__feature {
    padding: 26px 18px;
  }
}

@media (max-width: 360px) {
    .pay-subscribe-block {
    margin-bottom: 56px;
    }
  
    .pay-subscribe-block::after {
    top: -92px;
    width: 100%;
    height: 120px;
    filter: blur(52px);
    }

  .pay-subscribe-block .mr-cta__wrapper {
    padding: 22px 14px;
    gap: 20px;
  }

  .pay-subscribe-block .mr-cta__badge {
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .pay-subscribe-block .mr-cta__title {
    font-size: 1.45rem;
  }

  .pay-subscribe-block .mr-cta__text {
    font-size: 0.9375rem;
  }

  .pay-subscribe-block .mr-cta__features {
    gap: 16px;
  }

  .pay-subscribe-block .mr-cta__feature {
    padding: 24px 16px;
  }
}


/* ================================================================
================================================================
    НАЧАЛО: СТИЛИ ПЕРЕКЛЮЧАТЕЛЯ И ТЕМНОЙ ТЕМЫ
================================================================
================================================================
*/

/* --- Вспомогательный класс для скрытия чекбокса --- */
.hidden-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* --- 1. Стили самого переключателя (Вариант 2) --- */
.toggle-2-label {
    cursor: pointer;
    width: 60px;
    height: 30px;
    background: #f0e68c; /* Солнечный */
    display: flex;
    align-items: center;
    border-radius: 100px;
    position: relative;
    transition: background-color 0.3s;
    border: 1px solid rgba(0,0,0,0.1); /* Легкая рамка для контраста */
}

.toggle-2-knob {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px; /* (30 - 24) / 2 = 3. Учтем 1px border, ставим 2px */
    left: 2px;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.toggle-2-knob::before {
    content: '☀️';
}

#theme-toggle:checked + .toggle-2-label {
    background: #4a5568; /* Темно-серый */
}

#theme-toggle:checked + .toggle-2-label .toggle-2-knob {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

#theme-toggle:checked + .toggle-2-label .toggle-2-knob::before {
    content: '🌙';
}


/* --- 2. Позиционирование переключателя --- */
.theme-toggle-wrapper {
    /* --- Десктоп: правый верхний угол --- */
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 7; /* Выше оверлея (100) и заголовка (110) */
}

@media screen and (max-device-width: 767px) {
    /* --- Мобильная: по центру, над заголовком --- */
    .theme-toggle-wrapper {
        position: relative; /* Сбрасываем 'absolute' */
        top: auto;
        right: auto;
        display: flex;
        justify-content: center;
        padding-top: 20px; /* Отступ от верха */
        margin-bottom: 15px; /* Отступ до .sprint__label */
        z-index: 7;
    }
}


/* --- 3. Стили темной темы --- */

/* Контейнер-обертка */
main.sprint-content.dark-theme {
    background-color: #121517;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

/* Переопределяем фон для дочерних секций */
.dark-theme .sprint__main-text,
.dark-theme .sprint__finish,
.dark-theme .sprint__rezult {
    background: #121517;
}

.dark-theme .sprint__intro {
    background: #1F2428; /* Немного светлее, чем основной #121517 */
    border-top: 1px solid #f5deb3; 
    border-bottom: 1px solid #f5deb3;
}

/* Затемняем оверлей в шапке */
.dark-theme .sprint-header-overlay {
    background: rgb(0 0 0 / 85%);
    transition: background-color 0.3s;
}

/* Цвет цитаты (em) в интро */
.dark-theme .sprint__inner-intro-text em {
    color: #f5deb3; /* wheat */
}

/* Текст внутри .sprint__inner-main-text */
.dark-theme .sprint__inner-main-text p {
    color: #fff;
}

/* Блок цитаты blockquote */
.dark-theme .sprint__inner-main-text blockquote {
    color: #f5deb3;
    /* Если у blockquote нет своего фона, он станет #121517 от родителя. 
       Если есть (напр. светлый), мы его принудительно меняем. */
    background: #121517; 
}

/* Ссылки */
.dark-theme .sprint__inner-main-text p span.sprint-note a {
    color: #f5deb3;
    border-bottom: 1px solid rgba(245, 222, 179, 0.5); /* wheat c alpha */
}
.dark-theme .sprint__inner-main-text p span.sprint-note a:hover {
    border-bottom-color: rgba(245, 222, 179, 0.8);
}

/* Заголовки +/- */
.dark-theme .sprint__rezult-dignity h3 {
    color: #58c5b9; /* Ярче зеленый */
}
.dark-theme .sprint__rezult-limitations h3 {
    color: #e08f75; /* Ярче красный */
}

/* Разделители в тексте */
.dark-theme .sprint__inner-main-text hr {
    background: #4a5568; /* Темно-серый */
}
.dark-theme .sprint__inner-main-text h2:before {
    background: #4a5568;
}

/* --- Сброс стилей для секций, которые должны остаться светлыми ---
("все, что после .sprint__rezult-inner")
*/
.dark-theme section[clsass="social-row"], /* В XSLT опечатка clsass */
.dark-theme .sprint__control-row {
    background: #fff; /* Возвращаем белый фон */
    color: #333; /* Возвращаем темный текст */
    border-top: 1px solid #eee; /* Добавляем разделитель */
}

/* Сброс ссылок в этих блоках */
.dark-theme .sprint__control-row .sprint__btn-item a,
.dark-theme .sprint__control-row .download-links a,
.dark-theme .sprint__control-row .sprint__right-btns .btn-toggle-bookmarks {
    color: #4a95ad; /* Оригинальный синий */
}
.dark-theme .sprint__control-row .sprint__btn-item a {
    border-bottom: 1px solid rgba(74, 149, 173, 0.5);
}
.dark-theme .sprint__control-row .download-links a {
    border-bottom: 1px solid rgba(74, 149, 173, 0.5);
}
.dark-theme .sprint__control-row .sprint__right-btns .btn-toggle-bookmarks:hover {
     color: #ccb649; /* Оригинальный hover */
}

/* Сброс для блока "поделиться" */
.dark-theme .social-share__caption {
    color: #333;
}
.dark-theme .social-share--sptint {
     border-bottom-color: #ccc;
}

/* Темная тема для pay-subscribe block */
.dark-theme .pay-subscribe-block .mr-cta__wrapper {
  background: #1f2428;
  border-color: #4a5568;
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.dark-theme .pay-subscribe-block .mr-cta__wrapper::before {
  background: linear-gradient(90deg, #58c5b9, #f5deb3);
}

.dark-theme .pay-subscribe-block .mr-cta__badge {
  background: linear-gradient(135deg, rgba(88, 197, 185, 0.18), rgba(245, 222, 179, 0.12));
  color: #f5deb3;
}

.dark-theme .pay-subscribe-block .mr-cta__title {
  color: #fff;
}

.dark-theme .pay-subscribe-block .mr-cta__text,
.dark-theme .pay-subscribe-block .mr-cta__note {
  color: #e2e8f0;
}

.dark-theme .pay-subscribe-block .mr-cta__checklist li {
  color: #f8fafc;
}

.dark-theme .pay-subscribe-block .mr-cta__checklist svg,
.dark-theme .pay-subscribe-block .mr-cta__stat svg,
.dark-theme .pay-subscribe-block .mr-cta__feature svg {
  color: #58c5b9;
}

.dark-theme .pay-subscribe-block .mr-cta__stat {
  background: #121517;
  border-color: #4a5568;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.dark-theme .pay-subscribe-block .mr-cta__stat strong {
  color: #f5deb3;
}

.dark-theme .pay-subscribe-block .mr-cta__stat span {
  color: #cbd5e1;
}

.dark-theme .pay-subscribe-block .mr-cta__feature {
  background: #1f2428;
  border-color: #4a5568;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.dark-theme .pay-subscribe-block .mr-cta__feature:hover {
  border-color: #58c5b9;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .mr-cta__feature span {
    color: #fff;
}


/* ================================================================
    КОНЕЦ: СТИЛИ ПЕРЕКЛЮЧАТЕЛЯ И ТЕМНОЙ ТЕМЫ
================================================================
*/

/* ================================================================
    НАЧАЛО: ФИКС БАГА С !IMPORTANT ИЗ STYLE.CSS
================================================================
*/

/* Этот медиа-запрос зеркалит запрос из style.css (min-width: 768px),
   который вызывает баг.
*/
@media screen and (min-width: 768px) {

    main.sprint-content.dark-theme .sprint__finish {
        border-top: 1px solid #f5deb3; 
        border-bottom: 1px solid #f5deb3;
        background: #121517 url(../img/bg_finish.png) -250px 100% no-repeat !important
    }
}

@media screen and (min-width: 320px) {

    main.sprint-content.dark-theme .sprint__finish {
        border-top: 1px solid #f5deb3; 
        border-bottom: 1px solid #f5deb3;
    }
}

/* ================================================================
    КОНЕЦ: ФИКС БАГА
================================================================
*/

/* ================================================================
    НАЧАЛО: ФИКС: Исключение контейнера подписки из темной темы
================================================================
*/

/* 1. Сброс контейнера */
.dark-theme .subscriptions-container {
    color: #333; 
}

/* 2. Сброс дочерних элементов */
.dark-theme .subscriptions-container p,
.dark-theme .subscriptions-container h1,
.dark-theme .subscriptions-container h2,
.dark-theme .subscriptions-container h3,
.dark-theme .subscriptions-container a,
.dark-theme .subscriptions-container label,
.dark-theme .subscriptions-container div {
    color: #333;
}

/* 3. Опциональный сброс */
.dark-theme .subscriptions-container a {
    color: #4a95ad; 
}

.dark-theme .page-sub-title {
    color: #333;
}

.dark-theme .pay-subscribe-info {
    color: #fff;
}

.dark-theme .pay-subscribe-info a {
    color: #f5deb3;
}

.dark-theme .pay-subscribe-block:before {
    background-image: linear-gradient(rgb(147 146 146 / 0%) 0%, #4b4b4b 80%);

/* ================================================================
    КОНЕЦ: ФИКС: Исключение контейнера подписки из темной темы
================================================================
*/

/* Цитата по умолчанию (если класс не указан) */


/* 1. Типографская цитата */
.sprint-content .sprint__inner-main-text blockquote.quote-typography {
    padding: 2em 3em;
    margin: 2em 0;
    text-align: center;
    position: relative;
    font-size: 1.1em;
    line-height: 1.4;
    background: #fff;
    border: none;
    
}



/* Адаптивность для цитат */
@media (max-width: 768px) {
    blockquote.quote-default,
    blockquote.quote-typography,
    blockquote.quote-watercolor,
    blockquote.quote-manuscript,
    blockquote.quote-marker-yellow,
    blockquote.quote-margin,
    blockquote.quote-vintage,
    blockquote.quote-glow {
        font-size: 1.1em;
        padding: 1.2em;
        margin: 1.5em 0;
    }
    
    blockquote.quote-margin {
        margin: 1.5em 0;
    }
    
    blockquote.quote-typography::before,
    blockquote.quote-typography::after {
        font-size: 1em;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    blockquote.quote-default,
    blockquote.quote-typography,
    blockquote.quote-watercolor,
    blockquote.quote-manuscript,
    blockquote.quote-marker-yellow,
    blockquote.quote-margin,
    blockquote.quote-vintage,
    blockquote.quote-glow {
        font-size: 1.1em;
        padding: 1em;
    }
}