.hero__wrapper {
    width: 100%;
    height: 100vh;
    max-height: 1000px;
}

.hero__bg {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 1000px;
    display: flex;
    flex-direction: column;
}

.hero__bg--video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(255.78deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.75) 100.53%);
    z-index: 1;
}

.hero {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero .container {
    width: 100%;
}

.hero__content {
    max-width: 627px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hero__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 34px;
    line-height: 150%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hero__title strong {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 96px;
    line-height: 90%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.hero__title span {
    margin-top: 16px;
    border-radius: 8px;
    width: 57px;
    height: 2px;
    background: #fff;
}

.desc {
    max-width: 500px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 26px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.9);
    padding-top: 8px;
}

.desc-2 {
    max-width: 420px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.65);
    padding-top: 2px;
}

.hero__btns {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.hero__btn {
    border-radius: 60px;
    padding: 14px 36px;
    background: #fff;
    border: 1px solid #fff;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #654fa1;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__btn:hover {
    background: #654fa1;
    border-color: #654fa1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(101, 79, 161, 0.35);
}

.hero__btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(101, 79, 161, 0.3);
}

.hero__btn--link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    padding: 14px 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    line-height: 150%;
    isolation: isolate;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1px rgba(0, 0, 0, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero__btn--link::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px) url('#liquid-glass-refract') saturate(110%);
    -webkit-backdrop-filter: blur(3px) saturate(110%);
    z-index: -1;
}

.hero__btn--link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        inset 0 -1px 1px rgba(0, 0, 0, 0.08),
        0 14px 34px rgba(0, 0, 0, 0.2);
}

.hero__btn--link:active {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hero__btn--link::before {
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }
    .hero__btn--link {
        transform: none !important;
    }
}

/* Хроматическая аберрация — тонкая цветная кайма по краям */
.hero__btn--link-fringe {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.hero__btn--link-fringe::before,
.hero__btn--link-fringe::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    mix-blend-mode: screen;
}

.hero__btn--link-fringe::before {
    box-shadow: inset 1.5px 0 0 rgba(255, 90, 90, 0.2);
}

.hero__btn--link-fringe::after {
    box-shadow: inset -1.5px 0 0 rgba(90, 160, 255, 0.2);
}

.hero__btn--link-text {
    position: relative;
    z-index: 1;
}





.stats {
    padding: 80px 0;
    background: #eeecf8;
    position: relative;
}

.decor-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.decor-2 {
    position: absolute;
    right: 0;
    top: 0;
    pointer-events: none;
    z-index: 0;
}

.stats__items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.stats__card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 225px;
    border-radius: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    overflow: hidden;
    isolation: isolate;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3),
        0 4px 20px 0 rgba(95, 75, 139, 0.1),
        0 2px 16px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Рефракция через SVG-фильтр — с фолбэком на обычный blur, если браузер не потянет */
@supports (backdrop-filter: blur(1px) url('#liquid-glass-refract')) {
    .stats__card {
        backdrop-filter: blur(24px) saturate(180%) url('#liquid-glass-refract');
        -webkit-backdrop-filter: blur(24px) saturate(180%) url('#liquid-glass-refract');
    }
}

.stats__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0) 50%
    );
    pointer-events: none;
    z-index: -1;
}

.stats__card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4),
        0 10px 28px 0 rgba(95, 75, 139, 0.16),
        0 2px 16px 0 rgba(255, 255, 255, 0.35);
}

.stats__card p {
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #000;
}

.stata__num {
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 61px;
    line-height: 100%;
    color: #5f4b8b;
}

.stats__number--muted {
    font-weight: 250;
    color: rgba(95, 75, 139, 0.5);
}




.edu {
    padding: 80px 0;
    background: #fff;
}

.title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 42px;
    line-height: 120%;
    letter-spacing: 0.04em;
    text-align: center;
    color: #000;
}

.edu__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    margin-top: 48px;
}

.edu__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: default;
}

.edu__card--text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    transition: transform 0.25s ease;
}

.edu__card--text h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #5f4b8b;
}

.edu__card--text p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #565656;
}

.edu__card--grade p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 46px;
    line-height: 100%;
    color: #5f4b8b;
    display: flex;
    align-items: end;
    gap: 4px;
}

.edu__card--grade span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #565656;
}

.edu__line {
    width: 100%;
    height: 2px;
    background: #e8e6f1;
    position: relative;
    z-index: 0;
    margin-top: 24px; /* место под точку снизу линии */
    transition: background 0.25s ease;
}

.edu__line--dote {
    position: absolute;
    left: -10px;   /* центр круга (cx=20) сдвигаем на левый край линии */
    top: -15px;    /* центр круга (cy=16) совмещаем с линией по вертикали */
    line-height: 0;
    z-index: 1;
    transition: transform 0.25s ease;
}

.edu__line--dote svg {
    display: block;
}

.edu__line--dote svg circle {
    transition: fill-opacity 0.25s ease;
}

/* Ховер на карточку */
.edu__card:hover .edu__card--text {
    transform: translateY(-2px);
}

.edu__card:hover .edu__line {
    background: #5f4b8b;
}

.edu__card:hover .edu__line--dote {
    transform: scale(1.15);
}

.edu__card:hover .edu__line--dote svg circle {
    fill-opacity: 1;
}



.country {
    padding: 80px 0;
    background: #eeecf8;
}

.country .container {
    position: relative;
    z-index: 1;
}

.country__text {
    max-width: 290px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.title.small {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 31px;
    line-height: 120%;
    text-align: left;
    letter-spacing: 0.05em;
    color: #111827;
}

.country__text p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #5f4b8b;
}

.country__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 370px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.country__tag {
    border-radius: 999px;
    padding: 4px 12px;
    box-shadow: 0 2px 2px 0 rgba(135, 67, 195, 0.17);
    background: rgba(255, 255, 255, 0.75);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    display: inline-block;
    cursor: default;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.country__tag:hover {
    background: #fff;
    box-shadow: 0 4px 10px 0 rgba(95, 75, 139, 0.25);
    transform: translateY(-2px);
}

.country__map {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}




.gallery {
    padding: 80px 0;
    background: #fff;
}

.gallery__grid {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 24px;
    margin: 40px 0 32px;
}

.gallery__item {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    z-index: 0;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background: rgba(41, 32, 79, 0.35);
    z-index: 1;
    transition: background 0.4s ease;
}

.gallery__item:hover .gallery__overlay {
    background: rgba(41, 32, 79, 0.15);
}

.gallery__item--right {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.gallery__item-2 {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
}

.gallery__item-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery__item-2:hover img {
    transform: scale(1.05);
}

.gallery__desc {
    max-width: 820px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    color: #565656;
}

.news__desc {
    max-width: 680px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    text-align: center;
    color: #565656;
}

.text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}



.review__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 20px;
    margin-top: 40px;
}

.review__card {
    position: relative;
    border-radius: 12px;
    padding: 64px 28px 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    overflow: hidden;
    isolation: isolate;

    /* Более выраженная стеклянная кромка */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3),
        0 4px 20px 0 rgba(95, 75, 139, 0.1),
        0 2px 16px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Рефракция через SVG-фильтр — с фолбэком на обычный blur, если браузер не потянет */
@supports (backdrop-filter: blur(1px) url('#liquid-glass-refract')) {
    .review__card {
        backdrop-filter: blur(24px) saturate(180%) url('#liquid-glass-refract');
        -webkit-backdrop-filter: blur(24px) saturate(180%) url('#liquid-glass-refract');
    }
}

/* Более контрастный блик по верхнему краю */
.review__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0) 50%
    );
    pointer-events: none;
    z-index: -1;
}

.review__card:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4),
        0 10px 28px 0 rgba(95, 75, 139, 0.16),
        0 2px 16px 0 rgba(255, 255, 255, 0.35);
}

.review__tag {
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 72px;
    line-height: 0%;
    color: #a39ac7;
    transition: color 0.25s ease;
}

.review__card:hover .review__tag {
    color: #5f4b8b;
}

.review__card p {
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    line-height: 170%;
    color: #565656;
    flex: 1;
}

.review__card--author {
    position: relative;
    z-index: 1;
    margin-top: auto;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 13px;
    line-height: 150%;
    color: #5f4b8b;
    padding-top: 20px;
}





.partners {
    padding: 70px 0;
    background: #fff;
}

.partner__grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: stretch;
    gap: 16px;
}

.partner__card {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    min-height: 80px;
    box-shadow: 0 2px 12px 0 rgba(95, 75, 139, 0.07);
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px 0 rgba(95, 75, 139, 0.16);
}

.partner__card img {
    transition: transform 0.25s ease;
}

.partner__card:hover img {
    transform: scale(1.06);
}







@media (max-width: 1199px) {
    .hero__title strong {
        font-size: 84px;
    }

    .stats__items {
        grid-template-columns: repeat(5, 1fr);
        gap: 14px;
    }

    .stats__card {
        padding: 20px;
        min-height: 200px;
    }

    .edu__grid {
        gap: 24px;
    }

    .gallery__grid {
        grid-template-columns: 1fr 320px;
    }

    .review__grid {
        gap: 14px;
    }

    .review__card {
        padding: 56px 22px 20px;
    }

    .partner__grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }
}

@media (max-width: 991px) {
    .hero__title strong {
        font-size: 64px;
    }

    .hero__title {
        font-size: 24px;
    }

    .desc {
        font-size: 20px;
    }

    .desc-2 {
        font-size: 15px;
    }

    .stats__items {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .title {
        font-size: 32px;
    }

    .country__text {
        max-width: 100%;
        align-items: center;
    }

    .title.small {
        text-align: center;
    }

    .edu__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .country__items {
        max-width: 100%;
        margin-top: 40px;
    }

    .country__map {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 32px;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
        margin: 32px 0 24px;
    }

    .gallery__item--right {
        max-width: 100%;
        flex-direction: row;
    }

    .gallery__item {
        height: 320px;
    }

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

    .partner__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero__wrapper,
    .hero__bg {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }

    .hero__title strong {
        font-size: 54px;
    }

    .hero__title {
        font-size: 34px;
        letter-spacing: 0.05em;
    }

    .desc {
        font-size: 20px;
    }

    .desc-2 {
        font-size: 15px;
    }

    .hero__btns {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 20px;
    }

    .hero__btn,
    .hero__btn--link {
        padding: 12px 24px;
        font-size: 16px;
    }

    .stats {
        padding: 56px 0;
    }

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

    .edu {
        padding: 56px 0;
    }

    .edu__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .country {
        padding: 56px 0;
    }

    .country__text {
        max-width: 100%;
    }

    .gallery {
        padding: 56px 0;
    }

    .gallery__item-2 {
        height: 150px;
    }

    .partners {
        padding: 48px 0;
    }
}

@media (max-width: 575px) {

    .container {
        padding: 0 16px;
    }

    .hero__content {
        align-items: center;
    }

    .hero__title strong {
        font-size: 42px;
        text-align: center;
    }

    .hero__title {
        font-size: 19px;
        text-align: center;
        align-items: center;
    }

    .desc {
        font-size: 18px;
        text-align: center;
    }

    .hero__btns {
        width: 100%;
    }

    .hero__btn,
    .hero__btn--link {
        width: 100%;
    }

    .stats__items {
        grid-template-columns: 1fr;
    }

    .title {
        font-size: 24px;
    }

    .title.small {
        font-size: 22px;
    }

    .edu__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .edu__card--grade p {
        font-size: 34px;
    }

    .country__items {
        gap: 8px;
        margin-top: 20px;
    }

    .country__tag {
        font-size: 12px;
        padding: 4px 10px;
    }

    .gallery__desc {
        font-size: 14px;
    }

    .news__desc {
        font-size: 14px;
    }

    .gallery__item--right {
        flex-direction: column;
    }

    .gallery__item-2 {
        height: 250px;
    }

    .gallery__item {
        height: 250px;
    }

    .gallery__grid {
        gap: 20px;
    }

    .partner__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .review__grid {
        grid-template-columns: 1fr;
    }
}






.news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 24px;
    margin: 56px 0;
}

.news > .data-aos {
    height: 100%;
}

.news__card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e6f1;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(95, 75, 139, 0.06);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news__card:hover {
    transform: translateY(-6px);
    border-color: rgba(95, 75, 139, 0.22);
    box-shadow: 0 16px 34px 0 rgba(95, 75, 139, 0.16);
}

.news__card--img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news__card--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
    transition: transform 0.45s ease;
}

.news__card:hover .news__card--img img {
    transform: scale(1.06);
}

.news__card--content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 24px;
}

.news__card--text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.news__date {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f4b8b;
}

.news__card--title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 139%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #111827;
    transition: color 0.25s ease;
}

.news__card:hover .news__card--title {
    color: #5f4b8b;
}

.news__card--desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #565656;
}

.news__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 13px;
    color: #5f4b8b;
}

.news__btn svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.news__card:hover .news__btn svg {
    transform: translateX(4px);
}

.news__pag {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news__pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e8e6f1;
    border-radius: 60px;
    padding: 12px;
    background: #fff;
}

.button__back,
.button__prev,
.news__pag--num {
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.button__back,
.button__prev {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    width: 32px;
    height: 32px;
    background: #eeecf8;
    color: #5f4b8b;
}

.button__back:hover,
.button__prev:hover {
    background: #5f4b8b;
    color: #fff;
    transform: translateY(-2px);
}

.news__pag--nums {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news__pag--num {
    border-radius: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: #565656;
}

.news__pag--num:hover {
    background: #eeecf8;
    color: #5f4b8b;
}

.news__pag--num.active {
    background: #5f4b8b;
    color: #fff;
}

.data-aos-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news__link {
    border-radius: 60px;
    padding: 14px 36px;
    box-shadow: 0 8px 16px 0 rgba(95, 75, 139, 0.2);
    background: #5f4b8b;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.news__link:hover {
    transform: translateY(-3px);
    background: #4f3e76;
    box-shadow: 0 12px 24px 0 rgba(95, 75, 139, 0.28);
}

@media (max-width: 991px) {
    .news {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 44px;
    }

    .news__card--img {
        height: 210px;
    }

    .news__card--content {
        padding: 20px;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .news {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin: 36px 0;
    }

    .news__card {
        border-radius: 12px;
    }

    .news__card--img {
        height: 180px;
    }

    .news__card--content {
        padding: 18px;
        gap: 20px;
    }

    .news__card--title {
        font-size: 16px;
    }

    .news__card--desc {
        font-size: 13px;
    }

    .news__pagination {
        padding: 8px;
        gap: 6px;
    }

    .news__pag--nums {
        gap: 4px;
    }
}

@media (max-width: 575px) {
    .news {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .news__card--img {
        height: 210px;
    }

    .news__card--content {
        padding: 18px;
    }

    .news__date {
        font-size: 11px;
    }

    .news__card--title {
        font-size: 17px;
    }

    .news__card--desc {
        font-size: 14px;
    }

    .news__pagination {
        max-width: 100%;
    }

    .button__back,
    .button__prev,
    .news__pag--num {
        width: 30px;
        height: 30px;
    }

    .news__pag--num {
        font-size: 13px;
    }

    .news__link {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (hover: none) {
    .news__card:hover,
    .button__back:hover,
    .button__prev:hover {
        transform: none;
    }

    .news__card:hover .news__card--img img,
    .news__card:hover .news__btn svg {
        transform: none;
    }

    .news__link:hover {
        transform: none;
        background: #5f4b8b;
        box-shadow: 0 8px 16px 0 rgba(95, 75, 139, 0.2);
    }
}