.main-heading-2023 {
    margin: 0;
    padding-bottom: 90px;
    height: fit-content;
}

.main-heading-2023__notice-text {
    position: initial;
}

.page-template {
    margin-top: 0;
}

.title-h2 {
    font-size: 40px;
}

.main-heading-2023__right {
    z-index: 0;
    display: flex;
    justify-content: center;
}

.main-heading-2023__content {
    position: relative;
}

.main-heading-2023__content::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    --dot-bg: #fff;
    --dot-color: #f4f7fb;
    --dot-size: 8px;
    --dot-space: 16px;
    background:
        linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
        linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
        radial-gradient(circle,rgba(0, 0, 0, 0) 0%, var(--dot-bg) 80%),
        var(--dot-color);
}

.main-heading-2023__title {
    font-size: 54px;
}

.title-right {
    position: relative;
    width: fit-content;
    margin: 50px 10px;
}

.title-right .title-right__decor {
    position: absolute;
    pointer-events: none;
}

.title-right .title-right__decor.top {
    top: -50px;
    right: -60px;
    z-index: 1;
}

.title-right .title-right__decor.bottom {
    bottom: -40px;
    left: -100px;
    z-index: -1;
}

.metrics .cards-with-images .cards-with-images__card {
    --card-bg: #fff;
    border: 1px solid #E2E8F0;
}

.metrics .cards-with-images .cards-with-images__img-wrapper {
    padding: 25px;
    height: 235px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metrics .cards-with-images .cards-with-images__img-wrapper img {
    height: 100%;
    object-fit: contain;
}

.for-who .for-who__items {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.for-who .card-with-icon {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-with-icon .card-with-icon__icon-wrap {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cards-row {
    display: flex;
    gap: 15px;
    margin-top: 32px;
    justify-content: center;
}

.cards-row .card-with-icon {
    padding: 24px 22px;
    padding-bottom: 8px;
    flex: 1;
    border: 1px solid #E2E8F0CC;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    max-width: 250px;
}

.cards-row .card-with-icon .card-with-icon__title {
    font-size: 15px;
    margin-top: 14px;
    margin-bottom: 15px;
}

.cards-row .card-with-icon .card-with-icon__img {
    --offset: 10px;
    width: calc(100% + var(--offset)*2);
    max-width: unset;
    margin-left: calc(-1 * var(--offset));
}

.cards-row .card-with-icon .card-with-icon__media {
    margin-top: auto;
}

.staggered .staggered__img {
    max-width: 550px;
    margin-top: 3%;
    width: 50%;
}

.staggered .staggered__description {
    display: block;
    margin-bottom: 24px;
    margin-top: 12px;
}

.for-who .card-with-icon .card-with-icon__media {
    margin-top: auto;
}

.for-who .card-with-icon .card-with-icon__text {
    margin-bottom: 18px;
}

.main-heading-2023__title {
    font-size: 42px;
    margin-bottom: 24px;
}

.main-heading-2023__description {
    margin-bottom: 40px;
}

.solutions_education .title-right {
    margin: 20px 0 10px;
}

.online-schools-inline-cta {
    margin-top: 24px;
    padding: 32px 40px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 4px 10px rgba(37, 139, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 32px;
}

.online-schools-inline-cta__value {
    color: #EF4444;
    font-size: 48px;
    line-height: 100%;
    font-weight: 700;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.online-schools-inline-cta__content {
    min-width: 0;
}

.online-schools-inline-cta__title {
    color: #474766;
    font-size: 18px;
    line-height: 130%;
    font-weight: 600;
}

.online-schools-inline-cta__text {
    margin-top: 8px;
    color: #8787AB;
    font-size: 14px;
    line-height: 130%;
}

.online-schools-inline-cta__button {
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    background: #258BFF;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 120%;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.your-tools__grid {
    grid-template-columns: repeat(4, 1fr);
}

.your-tools__card-title {
    font-size: 18px;
}

.your-tools__card-category {
    font-size: 12px;
    margin-top: 4px;
}

.card-with-icon .card-with-icon__text {
    line-height: 150%;
}

.how-it-is-used__metric-value {
    font-size: 20px;
}

.how-it-is-used__metric-value .red {
    color: #EF4444;
}

.how-it-is-used__metric-value .green {
    color: #009966;
}

.how-it-is-used__metric-value .arrow {
    font-size: 16px;
    color: #8787AB;
}

.how-it-is-used__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.how-it-is-used__metric {
    padding: 20px 13px;
}

.cards-row__button {
    display: flex;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.cards-row__counter {
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #8787AB;
    padding-top: 24px;
}

.cards-row__counter-value {
    color: #258BFF;
    font-weight: 700;
}

.cards-row__hidden-section {
    --transition: 0.5s;
    max-height: 0;
    pointer-events: none;
    opacity: 0;
    transition: max-height var(--transition), opacity var(--transition);
}

.cards-row__hidden-section.show {
    max-height: 210px;
    opacity: 1;
    pointer-events: all;
}

.cards-row .cards-row__button.selected .card-with-icon {
    border-color: #258BFF;
}

.cards-row .card-with-icon {
    position: relative;
}

.cards-row .cards-row__button .card-with-icon:after {
    --size: 18px;
    content: "";
    position: absolute;
    top: 24px;
    right: 22px;
    height: var(--size);
    width: var(--size);
    border: 1px solid #DBEAFE;
    border-radius: 100%;
    content: url('/img/solutions_online-schools/problems/checkmark.svg');
    display: flex;
    justify-content: center;
}

.cards-row .cards-row__button.selected .card-with-icon:after {
    border-color: #258BFF;
    background-color: #258BFF;
}

.slogan-with-logos img {
    max-width: 200px;
    max-height: 80px;
}

@media screen and (max-width: 1150px) {
    .main-heading-2023__title {
        font-size: 38px;
    }

    .title-right .title-right__decor.top {
        top: -40px;
        right: -20px;
    }

    .title-right .title-right__decor.bottom {
        bottom: -30px;
        left: -50px;
    }
    .education-trustbar__items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .online-schools-inline-cta {
        flex-wrap: wrap;
    }

    .online-schools-inline-cta__button {
        width: 100%;
    }

    .cards-row__hidden-section.show {
        max-height: 400px;
    }

    .main-heading-2023__title {
        font-size: 32px;
    }
}

@media screen and (max-width: 1100px) {
    .cards-row {
        flex-wrap: wrap;
    }

    .title-h2 {
        font-size: 38px;
    }
}

@media screen and (max-width: 980px) {
    .metrics .cards-with-images {
        --cols: 2;
    }

    .your-tools__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-heading-2023 {
        padding-top: 45px;
    }

    .card-with-icon .card-with-icon__title {
        font-size: 16px;
    }
}

@media screen and (max-width: 900px) {
    .for-who .for-who__items {
        flex-direction: column;
    }
}

@media screen and (max-width: 750px) {
    .staggered .staggered__img {
        width: 100%;
        max-width: unset;
    }

    .education-trustbar {
        padding-top: 0;
    }

    .education-trustbar__items {
        gap: 16px;
        padding: 0;
    }

    .education-trustbar__item {
        align-items: flex-start;
    }

    .education-trustbar__text {
        font-size: 14px;
    }

    .online-schools-inline-cta {
        margin-top: 24px;
        padding: 24px 20px;
        gap: 18px;
    }

    .online-schools-inline-cta__value {
        font-size: 36px;
    }

    .online-schools-inline-cta__title {
        font-size: 16px;
    }

    .online-schools-inline-cta__button {
        padding: 14px 20px;
        font-size: 16px;
    }

    .cards-row__hidden-section.show {
        max-height: 420px;
    }

    .your-tools__grid {
        display: flex;
        flex-direction: column;
    }

    
    .title-h2 {
        font-size: 32px;
    }

    
    .card-with-icon .card-with-icon__title {
        font-size: 14px;
    }

    .slogan-with-logos .title-h3 {
        font-size: 18px;
    }

    .slogan-with-logos__subtitle {
        text-align: left;
    }

    .slogan-with-logos .logos-wrapper {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .slogan-with-logos .logo-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .slogan-with-logos img {
        max-width: 100px;
        max-height: 50px;
    }

    .main-heading-2023__title {
        font-size: 24px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 600px) {
    .blue-register-card__button {
        font-size: 16px;
    }

    .main-heading-2023 {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .metrics .cards-with-images .cards-with-images__img-wrapper {
        padding: 16px;
    }

    .cards-row {
        flex-direction: column;
    }

    .cards-row .card-with-icon {
        width: 100%;
        min-width: unset;
        max-width: unset;
    }

    .cards-row .card-with-icon .card-with-icon__img {
        --offset: 8%;
    }

    .main-heading-2023__title {
        font-size: 24px;
    }

    .main-heading-2023 .content-block-container {
        padding: 0;
    }

    .title-right .title-right__decor.bottom {
        display: none;
    }

    .title-right .title-right__decor.top {
        height: 80px;
        right: 0;
        top: -10px;
    }

    .main-heading-2023__left {
        padding: 0 20px;
    }
}

@media screen and (hover: hover) {
    .online-schools-inline-cta__button:hover {
        background: #489CFF;
    }
}
