.about {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #e7e6eb, #f1f1f2);
    padding-bottom: 33px;
    gap: 30px;
    flex-direction: column;
}

.about:before {
    content: '';
    position: absolute;
    width: 120%;
    height: 496px;
    top: -353px;
    left: -10%;
    background: linear-gradient(180deg, #543984 0%, #f1f1f1 63.94%);
    z-index: -3;
    filter: blur(60.2px);
    backdrop-filter: blur(60.2px);
    -webkit-backdrop-filter: blur(60.2px);
}

.about__content {
    padding-top: 143px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    /*position: relative;*/
}

.about-bg {
    position: absolute;
    top: -200px;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.about__content-left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.about__content-left h2 {
    max-width: 285px;
}

.about__content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.about__content-right p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #383838;
    padding-right: 50px;
}

.about-card {
    position: relative;
    height: 319px;
    width: 270px;
    display: flex;
}

.about-card-bg {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    /*background: radial-gradient(255.18% 49.66% at 92.6% 35.93%, #acf26b 0%, #81b650 100%);*/
    position: absolute;
    top: -8px;
    left: 8px;
    z-index: 1;
}
.about-card-bg-2 {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    position: absolute;
    background: radial-gradient(255.18% 49.66% at 92.6% 35.93%, #acf26b 0%, #81b650 100%);

    top: -8px;
    left: 8px;
    z-index: 3;
}

.about-card-bg-2:after {
    content: '';
    background: red;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.about-card-bg-2:before {
    /*content: '';*/
}
.about-card-bg-text {
    z-index: 2;
    background: radial-gradient(255.18% 49.66% at 92.6% 35.93%, #acf26b 0%, #81b650 100%);
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    position: absolute;
    top: -8px;
    left: 0px;
}

.lvl2 {
    --border-width: 2px;
    --color: orange;
    --bg-color: white;
    /* Step2v2 mixin rewritten with CSS variables */
    box-shadow:
        var(--border-width) 0 var(--bg-color),
        calc(-1 * var(--border-width)) 0 var(--bg-color),
        0 calc(-1 * var(--border-width)) var(--bg-color),
        0 var(--border-width) var(--bg-color),
        calc(2 * var(--border-width)) 0 var(--color),
        calc(-2 * var(--border-width)) 0 var(--color),
        0 calc(-2 * var(--border-width)) var(--color),
        0 calc(2 * var(--border-width)) var(--color),
        0 0 0 var(--border-width) var(--color);
    margin: calc(2 * var(--border-width)) auto;
}

.pixel-cards {
    display: flex;
    gap: 34px;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .pixel-cards {
        margin-top: 10px;
    }
}

.pixel-card {
    position: relative;
    height: 319px;
    width: 270px;
    background-size: cover;
    padding: 46px 19px 18px 20px;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 118%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
    z-index: 1;
    transition:
        transform 0.1s ease,
        opacity 300ms;
    transform-style: preserve-3d;
}

.pixel-card:before {
    content: '';
    position: absolute;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    z-index: -1;
    top: 8px;
    left: 8px;
    border-radius: 37px;
}

.pixel-card:nth-child(1) {
    background: url('/public/static/about-card-1.svg') no-repeat;
}

.pixel-card:nth-child(1):before {
    /*background: radial-gradient(255.18% 49.66% at 92.6% 35.93%, #acf26b 0%, #81b650 100%);*/
}

.pixel-card:nth-child(2) {
    background: url('/public/static/about-card-2.svg') no-repeat;
}

.pixel-card:nth-child(2):before {
    /*background: radial-gradient(255.18% 49.66% at 92.6% 35.93%, #f2c06b 0%, #f4a012 100%);*/
}

.pixel-card:nth-child(3) {
    background: url('/public/static/about-card-3.svg') no-repeat;
}

.pixel-card:nth-child(3):before {
    /*background: radial-gradient(255.18% 49.66% at 92.6% 35.93%, #9e62fe 0%, #722fd5 100%);*/
}

.pixel-card__header {
    font-family: ComplianceSans;
    font-weight: 400;
    font-size: 60px;
    line-height: 50%;
    color: #fff;
    width: fit-content;
    align-self: center;
    margin-bottom: 25px;
}

.pixel-card__image {
    margin-bottom: 17px;
}

.pixel-card__image img {
    width: 100px;
    height: 100px;
}

.pixel-card p {
    height: 69px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: ComplianceSans;
    font-size: 18px;
}

.pixel-card__header-when span:nth-child(1) {
    letter-spacing: -0.17em;
}

.pixel-card__header-when span:nth-child(2) {
    letter-spacing: -0.07em;
}

.news__pixels-1 {
    top: 3%;
    left: 15%;
    z-index: -3;
}
.news__pixels-2 {
    top: 1%;
    right: 15%;
    z-index: -3;
}
.news__pixels-3 {
    top: 8%;
    right: 3%;
    z-index: -3;
}

@media (min-width: 981px) {
    .news__pixels-1 {
        top: 25%;
        left: 15%;
    }
    .news__pixels-2 {
        top: 15%;
        right: 22%;
    }
    .news__pixels-3 {
        top: 25%;
        right: 4%;
    }
}
.news {
    perspective: 1px;
    overflow: hidden;
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    filter: blur(0px);
    background: linear-gradient(180deg, #722ed5 0%, #f1f1f1 100%);
    padding-top: 107px;
    padding-bottom: 96.5px;
    position: relative;
}

.news__content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 20px 0 0 20px;
}

.news__slider {
    /*height: 303px;*/
    width: 100%;
    overflow: hidden;
    max-width: 1440px;
}

.news__mobile {
    display: none;
}

.news__slider-wrapper {
    display: flex;
}

.news__slider-slide {
    background: #fff;
    border-radius: 10px;
    padding: 10px 10px 20px 10px;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    gap: 20px;
}

.news__slider-slide-image {
    width: 100%;
}

.news__slider-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 10px;
    max-height: 205px;
}

.news__slider-slide-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news__slider-slide-text h4 {
    overflow: hidden;
    max-width: 100%;
    position: relative;
}

.news__slider-slide-text h4:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
}

.news__slider-slide-text p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 158%;
    letter-spacing: 0.02em;
    color: #000;
}

.news__title {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news__title h2 {
    color: #fff;
}

.news__title a {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 131%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.topics {
    padding-top: 96.5px;
    background: #f1f1f1;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.rif-btn.speakers {
    margin-top: -50px;
    width: fit-content;
}

@media (max-width: 640px) {
    .rif-btn.speakers {
        margin-top: 0px;
        width: fit-content;
    }
}

.topics__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.topics__title {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topics__title a {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 131%;
    text-transform: uppercase;
    text-align: center;
    color: #44247a;
}

.topics__items {
    margin-top: 50px;
    margin-bottom: 50px;
    /* height: 575px; */
    width: 100%;
    position: relative;
    overflow: hidden;
}

.topics__items canvas {
    border: none;
}

/**/
.speakers {
    /*background-color: #f1f1f1;*/
    /* background: linear-gradient(180deg, #722ed5 50%, #f1f1f1 100%); */
    background: #722ed5;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 20px;
    gap: 102px;
}

.speakers .swiper-slide {
    display: flex !important;
    height: auto !important;
}

.main-page__speaker {
    /*height: 100%;*/
    display: flex;
    /*min-height: 100%;*/

    .speaker__position {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }
}

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

.speakers__title {
    color: #fff !important;
}

.speakers__link {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 131%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    /*color: #44247a;*/
}

.speakers__marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.marquee {
    overflow: hidden;
}

.marquee__content {
    display: flex;
    white-space: nowrap;
    gap: 20px;
}

.marquee__card {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-radius: 10px;
    padding: 10px;
    min-width: 319px;
}

.marquee__card-img {
    min-width: 88px;
    max-width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
}

.marquee__card-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.marquee__card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: min-content;
    flex: 1;
}

.marquee__card-text h4 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 118%;
    letter-spacing: 0.02em;
    color: #000;
    white-space: wrap;
}

.marquee__card-text p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 158%;
    letter-spacing: 0.02em;
    color: #000;
}

.marquee__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.marquee--left,
.marquee--right {
    width: 100%;
}

.marquee--left .marquee__content {
    animation: marquee-left 45s linear infinite;
}

.marquee--right .marquee__content {
    animation: marquee-right 45s linear infinite;
}

.marquee__content:hover {
    animation-play-state: paused;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.speakers-slider {
    max-width: calc(100% - 10px);
    overflow: hidden;
    margin-left: auto;
}

@media (max-width: 768px) {
    .speakers {
        padding-left: 10px;
    }
    .speakers-slider {
        max-width: calc(100% - 5px);
    }
}
/**/

.partners {
    background: #f1f1f1;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.partners-container {
    max-width: 1440px;
    width: 100%;
}

.view-all {
    display: none;
}

@media (max-width: 1080px) {
    .about:before {
        display: none;
    }

    .about::before {
        content: '';
        display: block;
        position: absolute;
        z-index: -4;
        top: -162.5px;
        /*height: 200px;*/
        height: 345px;
        /*top: -50%;*/
        width: 100%;
        left: 0;
        filter: blur(10px);
        background: linear-gradient(180deg, #543984 0%, #f1f1f1 63.94%);
    }
    .about__content {
        z-index: -3;
    }
    .about {
        background: transparent;
    }
}

@media (max-width: 980px) {
    .about {
        gap: 20px;
    }
    .news {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .pixel-cards {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .news__pixels-1 {
        left: 4%;
    }

    .about {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-bg {
        width: 400%;
        top: -460px;
        left: -135%;
    }

    .about__content {
        padding-top: 82px;
        flex-direction: column;
    }

    .about__content-left h2 {
        max-width: 100%;
    }
}
@media (max-width: 640px) {
    .about-bg {
        width: 400%;
        top: -460px;
        left: -120%;
    }

    .news {
        padding-left: 10px;
        padding-right: 10px;
    }

    .news__content {
        padding: 0;
    }
    .news__title {
        align-items: flex-start;
        width: 100%;
        padding-left: 30px;
        /* a {
            display: none;
        } */
    }

    .news__slider {
        display: none;
    }

    .news__mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .news__mobile-allnews {
        border-radius: 50px;
        padding: 20px;
        background: #9e62fe;
        align-self: center;

        font-family: var(--font-family);
        font-weight: 700;
        font-size: 14px;
        line-height: 135%;
        letter-spacing: 0.02em;
        color: #fff;
        margin-top: 20px;
    }

    .news__slider-slide:nth-child(n + 4) {
        display: none !important;
    }

    .topics {
        padding-top: 0;
    }

    .topics__title {
        width: 100%;
        align-items: flex-start;
        padding-left: 16px;
        padding-right: 16px;
        a {
            display: none;
        }
    }

    .topics__title h2 {
        text-align: center;
        width: 100%;
    }

    .topics__items {
        /* height: 600px; */
        canvas {
            position: absolute;
            top: 0;
            /*left: -25%;*/
        }
    }

    .view-all {
        display: flex;
    }

    .speakers {
        margin-top: 20px;
        padding-top: 80px;
        gap: 40px;
    }
    .speakers__header {
        align-items: flex-start;
        width: 100%;
        padding-left: 30px;

        a {
            display: none;
        }
    }

    .marquee--left .marquee__content {
        animation: marquee-left 90s linear infinite;
    }

    .marquee--right .marquee__content {
        animation: marquee-right 90s linear infinite;
    }

    @keyframes marquee-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-1000%);
        }
    }

    @keyframes marquee-right {
        0% {
            transform: translateX(-1000%);
        }
        100% {
            transform: translateX(0);
        }
    }

    .partners {
        padding-top: 86px;
    }
}

.topics_container {
    max-width: 1000px;
    gap: 20px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.view_all_program {
    border-radius: 50px;
    padding: 20px;
    background: #9e62fe;
    align-self: center;

    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 135%;
    letter-spacing: 0.02em;
    color: #fff;
}

.lk__button {
    border-radius: 50px;
    padding: 20px;
    background: #f2c06b;
    align-self: center;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 135%;
    letter-spacing: 0.02em;
    color: #fff;
    margin-top: 30px;
}

.lk__button-cards {
    margin-top: -60px;
}

@media (max-width: 980px) {
    .lk__button-cards {
        margin-top: 20px;
    }
}

.counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 28px;
    line-height: 135%;
    letter-spacing: 0.02em;
    color: #fff;
    transform: translateY(30px);
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 40px;
}

.counter_end_text {
    position: absolute;
    font-size: 15px;
    line-height: 135%;
    letter-spacing: 0.02em;
    color: #fff;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

.counter:hover {
    transform: translateY(35px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.counter_text {
    font-weight: 500;
    opacity: 0.9;
}

.counter_number {
    background: linear-gradient(135deg, #9e62fe, #f2c06b);
    border-radius: 15px;
    padding: 8px 16px;
    color: #fff;
    min-width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(158, 98, 254, 0.3);
    position: relative;
    overflow: hidden;
}

.counter_number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.counter:hover .counter_number::before {
    left: 100%;
}

@media (max-width: 1230px) {
    .counter {
        transform: translateY(10px);
    }
}

@media (max-width: 1000px) {
    .counter {
        transform: translateY(0);
    }
    .counter:hover {
        transform: translateY(0) scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    }
}

@media (max-width: 768px) {
    .counter {
        padding: 15px 20px;
        padding-bottom: 40px;
        font-size: 24px;
        gap: 12px;
    }

    .counter_number {
        font-size: 28px;
        min-width: 80px;
        padding: 6px 12px;
    }

    .counter:hover {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .counter {
        padding: 12px 16px;
        padding-bottom: 40px;
        font-size: 20px;
        gap: 10px;
        text-align: center;
        margin: 0 20px;
    }
    .counter_end_text {
        font-size: 13px;
        font-weight: 400;
    }

    .counter:hover {
        transform: translateY(0) scale(1);
    }

    .counter_number {
        font-size: 24px;
        min-width: 70px;
        padding: 5px 10px;
    }
}

@media (max-width: 400px) {
    .counter {
        transform: translateY(-10px);
        font-size: 18px;
        padding: 10px 14px;
        padding-bottom: 40px;
    }
    .counter:hover {
        transform: translateY(-10px) scale(1);
    }
    .counter_number {
        font-size: 20px;
    }
}
