/* =========================
   Courses & Preparation
   ========================= */

.courses,
.preparation {
    position: relative;
    padding-top: 48px;
    padding-bottom: 96px;
    align-items: center;
}

.courses {
    padding-top: 24px;
}

.courses__decor__img,
.preparation__decor__img {
    position: absolute;
    width: auto;
    height: auto;
    z-index: -1;
}

.courses__decor__img:nth-child(1),
.preparation__decor__img:nth-child(1) {
    top: 10px;
    left: 10px;
}

.courses__decor__img:nth-child(2),
.preparation__decor__img:nth-child(2) {
    top: 50px;
    right: 80px;
}

.courses__decor__img:nth-child(3),
.preparation__decor__img:nth-child(3) {
    bottom: 58px;
    left: -3px;
}

.courses__decor__img:nth-child(4),
.preparation__decor__img:nth-child(4) {
    bottom: 124px;
    right: -20px;
}

.courses__header,
.preparation__header {
    max-width: 940px;
    gap: 16px;
    margin-bottom: 16px;
}

.courses__subtitle,
.preparation__subtitle {
    margin-bottom: 24px;
    text-align: center;
}

.courses__badge,
.preparation__badge {
    border-radius: 8px;
    font-size: 16px;
}

.courses h2,
.preparation h2 {
    max-width: 704px;
}

.courses h2 {
    color: #C6C6C6;
}

.courses__content,
.preparation__content {
    max-width: 1008px;
    width: 100%;
}

.courses__content .level-cards--hero,
.preparation__content .level-cards--hero {
    --lc-col-max: 246px;
    --lc-gap: 8px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.courses .level-card.level-card--orange,
.preparation .level-card.level-card--orange {
    --card-hover-bg: var(--orange);
    --card-radius: 24px;
}

.courses__content .level-cards--hero .level-card__wrapper__link,
.preparation__content .level-cards--hero .level-card__wrapper__link {
    max-width: var(--lc-col-max);
    width: 100%;
    flex-shrink: 0;
}

.courses .level-card__inner,
.preparation .level-card__inner {
    --inner-padding: 24px;
}

.courses__content .level-card__title,
.preparation__content .level-card__title {
    --title-size: 28px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.courses__content .level-card__title::before,
.preparation__content .level-card__title::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #D5F5E3;
    border-radius: 50%;
    transition: background .4s ease;
}

.courses__content .level-card:hover .level-card__title::before,
.preparation__content .level-card:hover .level-card__title::before {
    background: #27AE60;
}

.courses__content .level-card__subtitle,
.preparation__content .level-card__subtitle {
    --subtitle-size: 14px;
    font-weight: 500;
}

.courses__content .level-card__primary-btn__link,
.preparation__content .level-card__primary-btn__link {
    --btn-height: 48px;
    margin-top: 44px;
    transition: all 0.4s;
    background: var(--bg);
    border: 1px solid #EBEDEF;
    color: var(--orange);
}

@media (hover: hover) and (pointer: fine) {

    .courses__content .level-card__primary-btn__link:hover,
    .preparation__content .level-card__primary-btn__link:hover {
        background: var(--orange);
        border-color: var(--orange);
        color: var(--bg);
    }
}

@media screen and (max-width: 1024px) {

    .courses__decor__img,
    .preparation__decor__img {
        display: none;
    }

    .courses__content .level-cards--hero,
    .preparation__content .level-cards--hero {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .courses__content .level-cards--hero .level-card__wrapper__link,
    .preparation__content .level-cards--hero .level-card__wrapper__link {
        max-width: none;
        width: auto;
        flex-shrink: 1;
    }
}

@media screen and (max-width: 768px) {

    .courses,
    .preparation {
        align-items: flex-start;
    }

    .courses {
        padding-top: 12px;
        padding-bottom: 24px;
    }

    .preparation {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .courses__badge,
    .preparation__badge {
        align-self: flex-start;
        border-radius: 99px;
    }

    .courses h2,
    .preparation h2 {
        text-align: start;
    }

    .courses .level-card__inner,
    .preparation .level-card__inner {
        --inner-padding: 12px;
    }

    .courses .level-card__inner,
    .preparation .level-card__inner {
        --inner-gap: 8px;
    }

    .courses__content .level-card__title,
    .preparation__content .level-card__title {
        --title-size: 18px;
        gap: 6px;
    }

    .courses__content .level-card__title::before,
    .preparation__content .level-card__title::before {
        width: 8px;
        height: 8px;
    }

    .courses__content .level-card__primary-btn__link,
    .preparation__content .level-card__primary-btn__link {
        --btn-height: 36px;
        --btn-font-size: 12px;

        background: var(--orange);
        border: 0;
        color: var(--bg);
    }
}


/* =========================
   Google Ads Banner
   ========================= */

.google-ads-banner {
    position: relative;
    padding: 0;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1246 / 280;
}

.google-ads-banner__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.google-ads-banner__text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--orange);
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .google-ads-banner {
        aspect-ratio: 1;
    }

    .google-ads-banner__img {
        border-radius: 0;
    }
}

/* ================================
   Online Preparation & About Exam
   ================================ */

.online-preparation__section,
.about-exam__section {
    background: #F8F9FA;
    border-radius: 38px;
}

.online-preparation,
.about-exam {
    padding-top: 48px;
    padding-bottom: 48px;
}

.online-preparation__sticky,
.about-exam__sticky {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.online-preparation__left,
.about-exam__left,
.online-preparation__right,
.about-exam__right {
    width: 100%;
}

.online-preparation__left,
.about-exam__left {
    gap: 16px;
}

.online-preparation__badge,
.about-exam__badge {
    align-self: flex-start;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.2;
}

.online-preparation h2,
.about-exam h2 {
    text-align: start;
    color: #C6C6C6;
}

.online-preparation__list,
.about-exam__list {
    gap: 16px;
}

.online-preparation__item,
.about-exam__item {
    align-items: baseline;
    gap: 6px;
}

.online-preparation__item .dot,
.about-exam__item .dot {
    flex-shrink: 0;
    display: inline-block;
    transform: translateY(-2px);
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

.about-exam .primary-btn {
    --btn-height: 48px;
}

.about-exam .primary-btn.desktop {
    --btn-width: max-content;
}

.about-exam .primary-btn.mobile {
    --btn-width: 100%;
    display: none;
}

.online-preparation__right,
.about-exam__right {
    max-width: 513px;
    height: 513px;
    overflow: hidden;
}

.online-preparation__right__wrapper,
.about-exam__right__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.online-preparation__right img,
.about-exam__right img {
    position: absolute;
    object-fit: cover;
    aspect-ratio: 1;
    max-width: 254px;
    width: 100%;
    height: auto;
    z-index: 1;
}

.online-preparation__right img:nth-child(1),
.about-exam__right img:nth-child(1) {
    top: 0;
    left: 0;
}

.online-preparation__right img:nth-child(2),
.about-exam__right img:nth-child(2) {
    top: 75px;
    right: 0;
}

.online-preparation__right img:nth-child(3),
.about-exam__right img:nth-child(3) {
    left: 46px;
    bottom: 0;
}

@media screen and (max-width: 1024px) {

    .online-preparation__sticky,
    .about-exam__sticky {
        position: sticky;
        top: -50px;
        overflow: hidden;
        height: auto;
        flex-direction: column;
        gap: 24px;
    }

    .online-preparation__right,
    .about-exam__right {
        max-width: none;
        height: 100%;
        overflow: visible;
    }

    .online-preparation__right__wrapper,
    .about-exam__right__wrapper {
        width: 100%;
        height: auto;
        display: flex;
        gap: 12px;
        will-change: transform;
        transform: translate3d(0, 0, 0);
    }

    .online-preparation__right img,
    .about-exam__right img {
        position: static;
        max-width: none;
        width: 49%;
    }

    .about-exam .primary-btn.desktop {
        display: none;
    }

    .about-exam .primary-btn.mobile {
        display: inline-flex;
    }
}

@media screen and (max-width: 768px) {

    .online-preparation,
    .about-exam {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@media screen and (max-width: 360px) {
    .courses__content .level-cards--hero,
    .preparation__content .level-cards--hero {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Why Choose
   ========================= */

.why-choose {
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 48px;
}

.why-choose__head {
    align-items: center;
    gap: 16px;
}

.why-choose__header {
    max-width: 610px;
    gap: 16px;
}

.why-choose__subtitle {
    max-width: 470px;
    text-align: center;
}

.why-choose__badge {
    border-radius: 999px;
    font-size: 14px;
}

.why-choose__cards {
    display: flex;
    gap: 16px;
}

.universal-card-wrapper.why-choose__card {
    min-height: 204px;
    border-radius: 24px;
    gap: 8px;
    justify-content: space-between;
}

.why-choose__card__icon__container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
}

.why-choose__card__icon__container svg,
.why-choose__card__icon__container img {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.why-choose__card__text {
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
}

@media screen and (max-width: 1024px) {
    .why-choose__card__text {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .why-choose {
        padding-top: 24px;
        padding-bottom: 24px;
        gap: 24px;
    }

    .why-choose__head {
        align-items: flex-start;
    }

    .why-choose__badge {
        align-self: flex-start;
    }

    .why-choose h2 {
        text-align: start;
    }

    .why-choose__subtitle {
        display: none;
    }

    .why-choose__cards {
        flex-direction: column;
    }
}

/* =========================
   Courses Page
   ========================= */
/* =========================
   Exercises
   ========================= */

.exercises--bottom .exercises__decor__img {
    opacity: 1;
}

/* =========================
   Exercises Page
   ========================= */

/* =========================
   Group Games
   ========================= */

.group-games {
    max-width: 646px;
}

.universal-card-wrapper.group-games__card {
    position: relative;
    padding: 10px;
    background: #F7F7F7;
    border-width: 1px;
    border-bottom-width: 3px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.group-games__card__flower {
    position: absolute;
    z-index: 0;
}

.group-games__card__flower.start-pos {
    width: 90px;
    height: 90px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.group-games__card__flower.end-pos {
    width: 105px;
    height: 105px;
    top: -33px;
    right: -40px;
    transform: rotate(45deg);
}

.group-games__card .text {
    font-weight: 600;
    z-index: 1;
}

.group-games__card .group-games__link.primary-btn {
    --btn-height: 44px;
    --btn-max-width: 158px;
    --btn-width: 100%;
    --btn-padding: 0 7px;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .universal-card-wrapper.group-games__card {
        padding: 11px 11px 8px;
        border-radius: 24px;
        border-width: 3px;
        border-bottom-width: 6px;
        background: var(--bg);
    }

    .group-games__card__flower {
        display: none;
    }

    .group-games__card .text {
        font-size: 14px;
    }

    .group-games__card .group-games__link.primary-btn {
        --btn-height: 32px;
        --btn-max-width: 133px;
        --btn-font-size: 14px;
    }
}

/* =========================
   Progress
   ========================= */

.progress {
    position: relative;
    padding-top: 12px;
    padding-bottom: 48px;
    align-items: center;
    gap: 16px;
}

.progress.progress--extra-exercises {
    padding-bottom: 32px;
    gap: 0;
}

.progress__decor__img {
    position: absolute;
    width: auto;
    height: auto;
    z-index: -1;
}

.progress__decor__img:nth-child(1) {
    top: 10px;
    left: 10px;
}

.progress__decor__img:nth-child(2) {
    top: 50px;
    right: 80px;
}

.progress__decor__img:nth-child(3) {
    bottom: -58px;
    left: -3px;
}

.progress__decor__img:nth-child(4) {
    bottom: 0px;
    right: 0px;
}

.progress__header {
    max-width: 800px;
    align-items: center;
    gap: 10px;
}

.progress__badges {
    gap: 6px;
}

.universal-card-wrapper.progress__content {
    max-width: 760px;
    border-radius: 24px;
    gap: 12px;
    padding: 18px;
}

.progress__info {
    justify-content: space-between;
    align-items: center;
}

.progress__info__left,
.progress__info__right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.progress__info__text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.progress__info__text.muted {
    font-family: var(--font-onest);
    font-weight: 400;
    color: #7C7C7D;
}

.progress-slider-wrapper {
    width: 100%;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
}

.progress-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    margin: 0;
    outline: none;
    border-radius: 100px;
    background: var(--orange-disabled);
    cursor: pointer;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 62px;
    height: 32px;
    cursor: pointer;
    z-index: 4;
    position: relative;
    border-radius: 100px;
    background-color: transparent;
    opacity: 0;
}

.progress-slider::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: transparent;
}

.progress-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.progress-slider::-moz-range-track {
    background: transparent;
}

.progress-selector-value {
    min-width: 62px;
    width: max-content;
    height: 32px;
    position: absolute;
    top: 0;
    transform: translateX(calc(35% + (-64% - 35%) * (var(--left, 0) / 100)));
    background-color: var(--orange);
    border-radius: 100px;
    text-align: center;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg);
    z-index: 3;
    margin-left: -22px;
}

.progress-bar {
    width: 0%;
    height: 6px;
    background-color: var(--orange);
    border-radius: 100px;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    .progress__decor__img {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .progress {
        padding-top: 8px;
        padding-bottom: 20px;
    }

    .progress.progress--extra-exercises {
        padding-bottom: 24px;
    }

    .universal-card-wrapper.progress__content {
        padding: 14px;
        gap: 12px;
    }

    .progress__info__left,
    .progress__info__right {
        align-items: end;
        gap: 4px;
    }

    .progress__info__right {
        align-items: flex-end;
    }

    .progress__info__text {
        font-size: 16px;
    }

    .progress__info__text.muted {
        font-size: 12px;
    }

    .progress-slider-wrapper,
    .progress-slider::-webkit-slider-thumb {
        height: 26px;
    }

    .progress-selector-value {
        height: 26px;
        font-size: 12px;
    }
}

/* =========================
   Exercises List
   ========================= */

.exercises__list {
    width: 100%;
    padding: 12px;
    background: var(--border);
    border-radius: 28px;
}

.exercises__list__wrapper {
    width: 100%;
    background: var(--bg);
    border-radius: 16px;
}

.exercises__list__container {
    padding: 20px 10px;
    gap: 24px;
}

.exercises__list__title {
    max-width: 85%;
    align-self: center;
    font-size: 36px;
    line-height: 1.15;
}

.exercises__list__content {
    display: flex;
    gap: 24px;
}

.exercises__list__left,
.exercises__list__right {
    width: 100%;
}

.exercises__list__left {
    gap: 32px;
}

.exercises__list__left__block {
    gap: 12px;
    position: relative;
}

.exercises__list__anchor {
    display: block;
    height: 0;
    left: 0;
    position: absolute;
    scroll-margin-top: 12rem;
    top: 0;
}

.universal-card-wrapper.exercises__list__block__head {
    display: flex;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
    padding: 16px;
}

.exercises__list__block__head__flower {
    position: absolute;
    width: auto;
    height: auto;
}

.exercises__list__block__head__flower.start-pos {
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.exercises__list__block__head__flower.end-pos {
    right: 9px;
    top: -40px;
}

.exercises__list__block__head__text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    z-index: 1;
}

.exercises__list__block__head__text .orange-text {
    font-family: var(--font-onest);
    font-weight: 500;
    color: var(--orange);
}

.exercises__list__block__content {
    gap: 8px;
}

.exercises__list__item {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #EBEDEF;
    border-radius: 999px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    scroll-margin-top: 7rem;
    color: inherit;
    text-decoration: none;
}

.exercises__list__item__progress {
    flex-shrink: 0;
    position: relative;
    width: 44px;
    height: 44px;
    background: #EBEDEF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exercises__list__item__progress::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: conic-gradient(from -90deg,
            var(--orange) calc(var(--p) * 1%),
            #EBEDEF 0);

    -webkit-mask: radial-gradient(farthest-side,
            transparent calc(50% + 8px),
            #000 0);
    mask: radial-gradient(farthest-side,
            transparent calc(50% + 8px),
            #000 0);
}

.exercises__list__item__progress.is-full {
    background: var(--orange);
}

.exercises__list__item__progress.is-full::before {
    display: none;
}

.exercises__list__item__progress span {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--orange);
}

.exercises__list__item__progress.is-full span {
    color: var(--bg);
}

.exercises__list__item__content {
    flex-grow: 1;
    gap: 2px;
}

.exercises__list__item__content .sub-info {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 400;
    color: #A7A8A8;
}

.exercises__list__item__content .title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

.exercises__list__item__link {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid #EBEDEF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.exercises__list__item__link svg {
    width: 8px;
    height: 14px;
}

.universal-card-wrapper.exercises__list__block__bottom {
    gap: 16px;
    border-radius: 24px;
}

.exercises__list__block__bottom__title {
    font-size: 24px;
    line-height: 1.2;
}

.exercises__list__block__bottom__title .first {
    font-weight: 600;
}

.exercises__list__block__bottom__title .second {
    font-family: var(--font-serif);
    font-weight: 700;
}

.exercises__list__block__bottom__cards {
    gap: 8px;
}

.exercises__list__block__bottom__card__wrapper {
    max-width: 260px;
    width: 100%;
    display: block;
}

.universal-card-wrapper.exercises__list__block__bottom__card {
    border-radius: 24px;
    gap: 8px;
    transition: border-color .4s ease;
    cursor: pointer;
    color: var(--text);
}

@media(hover: hover) and (pointer: fine) {
    .exercises__list__block__bottom__card:hover {
        border-color: var(--border-color);
    }
}

.exercises__list__block__bottom__card .title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.exercises__list__block__bottom__card .title .dot {
    flex-shrink: 0;
    width: 12px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--border-color);
    transition: background .4s ease;
}

@media(hover: hover) and (pointer: fine) {
    .exercises__list__block__bottom__card:hover .title .dot {
        background: var(--dot-color);
    }
}

.exercises__list__block__bottom__card p {
    color: var(--gray);
}

.exercises__list__banner {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 380 / 280;
}

.exercises__list__banner .google-ads-banner__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.exercises__list__banner .google-ads-banner__text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--orange);
    z-index: 2;
}

.exercises__list__right {
    position: relative;
    max-width: 380px;
}

.exercises__list__right__content {
    position: sticky;
    top: calc(98px + 24px);
    gap: 20px;
}

.universal-card-wrapper.exercises__list__right__card {
    border-radius: 24px;
    gap: 10px;
    padding: 16px;
}

.exercises__list__nav__btn.primary-btn {
    --btn-height: auto;
    --btn-gap: 6px;
    --btn-background: var(--bg);
    --btn-color: var(--text);
    --btn-border: 1px solid #EBEDEF;
    --white-space: normal;
    min-height: 40px;
    justify-content: left;
    text-align: left;
    --btn-font-size: 14px;
}

.exercises__list__nav__btn.primary-btn.active {
    --btn-background: var(--orange);
    --btn-border: 1px solid var(--orange);
    --btn-color: var(--bg);
}

.exercises__list__nav__btn.primary-btn svg {
    width: 24px;
    height: 24px;
}

.exercises__list__nav__btn.primary-btn .exercises__list__nav__icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.exercises__list__nav__btn.primary-btn .exercises__list__nav__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    filter: brightness(0) saturate(100%) invert(0);
    transition: filter .25s ease;
}

.exercises__list__nav__btn.primary-btn > span:last-child {
    white-space: normal;
    overflow-wrap: anywhere;
}

.exercises__list__nav__btn.primary-btn .exercises__list__nav__text {
    min-width: 0;
    display: flex;
    align-items: baseline;
    white-space: nowrap;
    overflow: hidden;
}

.exercises__list__nav__btn.primary-btn .exercises__list__nav__label {
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.exercises__list__nav__btn.primary-btn .exercises__list__nav__meta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.exercises__list__nav__btn.primary-btn svg path {
    transition: all .25s ease;
}

.exercises__list__nav__btn.primary-btn .value {
    font-family: var(--font-serif);
}

.universal-card-wrapper.exercises__list__block__head.has-video .exercises__list__block__head__text {
    margin: 0 150px;
}

@media (hover: hover) and (pointer: fine) {
    .exercises__list__nav__btn.primary-btn:hover {
        --btn-background: var(--orange);
        --btn-border: 1px solid var(--orange);
        --btn-color: var(--bg);
    }

    .exercises__list__nav__btn.primary-btn:hover svg path {
        fill: var(--bg);
    }

    .exercises__list__nav__btn.primary-btn:hover .exercises__list__nav__icon {
        filter: brightness(0) saturate(100%) invert(1);
    }
}

.exercises__list__nav__btn.primary-btn.active svg path {
    fill: var(--bg);
}

.exercises__list__nav__btn.primary-btn.active .exercises__list__nav__icon {
    filter: brightness(0) saturate(100%) invert(1);
}

.exercises__list__nav__btn.primary-btn:active {
    --btn-background: var(--orange);
    --btn-border: 1px solid var(--orange);
    --btn-color: var(--bg);
}

.exercises__list__nav__btn.primary-btn:active svg path {
    fill: var(--bg);
}

.exercises__list__nav__btn.primary-btn:active .exercises__list__nav__icon {
    filter: brightness(0) saturate(100%) invert(1);
}

@media screen and (max-width: 1140px) {
    .exercises__list__right__content {
        top: calc(61px + 24px);
    }
}

@media screen and (max-width: 1024px) {
    .exercises__list__content {
        flex-direction: column-reverse;
    }

    .exercises__list__right {
        max-width: none;
    }

    .exercises__list__banner {
        display: none;
    }

    .universal-card-wrapper.exercises__list__block__bottom__card {
        border-color: var(--border-color);
    }

    .exercises__list__block__bottom__card .title .dot {
        background: var(--dot-color);
    }

}

@media screen and (max-width: 768px) {
    .exercises__list {
        padding: 5px 5px 10px;
        border-radius: 28px;
    }

    .exercises__list__wrapper {
        border-radius: 28px;
    }

    .exercises__list__container {
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 12px;
    }

    .exercises__list h2 {
        padding: 0 18px;
        font-size: 26px;
    }

    .exercises__list__content {
        gap: 16px;
    }

    .exercises__list__left {
        gap: 12px;
    }

    .exercises__list__block__head__flower {
        display: none;
    }

    .exercises__list__block__head__text {
        font-size: 18px;
    }

    .universal-card-wrapper.exercises__list__block__head.has-video .exercises__list__block__head__text {
        margin: 0 150px 0 0;
    }

    .exercises__list__item {
        padding: 10px;
        gap: 10px;
    }

    .exercises__list__item__progress {
        width: 40px;
        height: 40px;
    }

    .exercises__list__item__content .title {
        font-size: 15px;
        font-weight: 500;
    }

    .exercises__list__item__content .sub-info {
        font-size: 12px;
    }

    .exercises__list__item__link {
        width: 32px;
        height: 32px;
    }

    .universal-card-wrapper.exercises__list__block__bottom {
        padding: 12px;
        gap: 12px;
    }

    .exercises__list__block__bottom__title {
        font-size: 16px;
    }

    .exercises__list__block__bottom__cards {
        gap: 6px;
    }

    .universal-card-wrapper.exercises__list__block__bottom__card {
        padding: 12px;
    }

    .exercises__list__block__bottom__card .title .dot {
        width: 8px;
    }

    .exercises__list__block__bottom__card .title {
        font-size: 18px;
    }

    .exercises__list__block__bottom__card p {
        margin-bottom: 36px;
    }

    .universal-card-wrapper.exercises__list__right__card {
        padding: 12px;
        gap: 8px;
    }

    .exercises__list__nav__btn.primary-btn {
        --btn-font-size: 14px;
    }

    .exercises__list__nav__btn.primary-btn svg {
        width: 16px;
        height: 16px;
    }

    .exercises__list__nav__btn.primary-btn .value {
        font-size: 16px;
    }

    .universal-card-wrapper.exercises__list__block__head {
        justify-content: flex-start;
    }
}

.exercises__list__pagination,
.exercises__list__block__pagination {
    display: flex;
    justify-content: center;
}

.exercises__list__block__page {
    gap: 8px;
}
