@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.woff2') format('woff2'),
        url('../fonts/Manrope-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Medium.woff2') format('woff2'),
        url('../fonts/Manrope-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Semibold.woff2') format('woff2'),
        url('../fonts/Manrope-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.telegram-channel {
    --tg-bg: #111a36;
    --tg-accent: #07ebfe;
    --tg-accent-soft: #28a3ff;
    --tg-text: #ffffff;
    --tg-muted: #8a9bc2;
    --tg-chip: rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    background: var(--tg-bg);
    color: var(--tg-text);
    font-family: 'Manrope', sans-serif;
}

.telegram-channel.is-visible .telegram-channel__content,
.telegram-channel.is-visible .telegram-channel__visual {
    opacity: 1;
    transform: none;
}

.telegram-channel__wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    min-height: 560px;
}

.telegram-channel__content {
    position: relative;
    z-index: 2;
    flex: 1 1 739px;
    max-width: 860px;
    padding: 52px 0 80px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.telegram-channel__label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 12px;
    color: var(--tg-muted);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.telegram-channel__label-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
}

.telegram-channel__title {
    margin: 0 0 16px;
    color: var(--tg-text);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
}

@media screen and (min-width: 992px) {
    .telegram-channel__title {
        max-width: 860px;
        width: max(100%, min(860px, 72vw));
    }
}

.telegram-channel__title-accent {
    color: var(--tg-accent);
}

.telegram-channel__title-br {
    display: none;
}

@media screen and (min-width: 992px) {
    .telegram-channel__title-br {
        display: block;
    }
}

.telegram-channel__text {
    margin: 0 0 32px;
    max-width: 609px;
    color: var(--tg-muted);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.72px;
}

.telegram-channel__tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 688px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.telegram-channel__tag {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    min-height: 66px;
    height: 100%;
    padding: 12px;
    border-radius: 6px;
    background: var(--tg-chip);
    color: var(--tg-text);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

.telegram-channel__tag img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
    object-position: center;
}

.telegram-channel__tag span {
    display: block;
    min-width: 0;
}

.telegram-channel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 18px 38px;
    border-radius: 600px;
    background: linear-gradient(191.3deg, #4ab1fe 5.98%, #07ebfe 89.35%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 28px rgba(7, 235, 254, 0.22);
}

.telegram-channel__btn img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
}

.telegram-channel__btn:hover,
.telegram-channel__btn:focus-visible {
    color: #ffffff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(7, 235, 254, 0.32);
}

.telegram-channel__visual {
    position: relative;
    flex: 0 1 650px;
    width: auto;
    max-width: 46%;
    min-height: 560px;
    align-self: flex-end;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s;
}

.telegram-channel__visual::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 120px;
    z-index: 0;
    width: 375px;
    height: 395px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 82, 186, 0.62) 0%, rgba(17, 26, 54, 0) 72%);
    filter: blur(40px);
    transform: translateX(-35%);
    pointer-events: none;
}

.telegram-channel__visual-img {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    user-select: none;
}

.telegram-channel__visual-img.loading,
.telegram-channel__visual-img[data-ll-status='loading'] {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .telegram-channel__content,
    .telegram-channel__visual {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media screen and (max-width: 1199px) {
    .telegram-channel__wrapper {
        min-height: 500px;
    }

    .telegram-channel__content {
        flex: 1 1 65%;
        max-width: 68%;
        padding-bottom: 56px;
    }

    .telegram-channel__title {
        font-size: 34px;
        width: max(100%, min(820px, 72vw));
    }

    .telegram-channel__tags {
        max-width: 100%;
    }

    .telegram-channel__tag {
        font-size: 15px;
        gap: 12px;
        padding: 10px;
    }

    .telegram-channel__visual {
        flex: 0 1 32%;
        width: auto;
        max-width: 35%;
        min-height: 480px;
    }
}

@media screen and (max-width: 991px) {
    .telegram-channel__wrapper {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 24px;
    }

    .telegram-channel__content {
        flex: 1 1 auto;
        max-width: none;
        padding: 48px 0 0;
    }

    .telegram-channel__title {
        font-size: 32px;
        width: auto;
        max-width: none;
    }

    .telegram-channel__text {
        font-size: 16px;
        letter-spacing: 0.4px;
    }

    .telegram-channel__tags {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .telegram-channel__tag {
        width: auto;
        min-height: 0;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px 8px;
        text-align: center;
    }

    .telegram-channel__tag img {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .telegram-channel__tag span {
        font-size: 13px;
        line-height: 1.25;
    }

    .telegram-channel__btn {
        width: 100%;
    }

    .telegram-channel__visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 420px;
        min-height: 300px;
        margin: 0 auto;
        align-self: center;
    }

    .telegram-channel__visual::before {
        left: 50%;
        bottom: 80px;
        transform: translateX(-50%);
    }

    .telegram-channel__visual-img {
        right: 50%;
        transform: translateX(50%);
    }
}

@media screen and (max-width: 575px) {
    .telegram-channel__content {
        padding-top: 36px;
    }

    .telegram-channel__label {
        font-size: 14px;
        gap: 12px;
    }

    .telegram-channel__title {
        font-size: 26px;
    }

    .telegram-channel__text {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .telegram-channel__tags {
        gap: 8px;
    }

    .telegram-channel__tag {
        padding: 10px 6px;
    }

    .telegram-channel__tag span {
        font-size: 12px;
    }

    .telegram-channel__visual {
        max-width: 100%;
    }
}

.section.section-small.section-application {
    display: none;
}