/**
 * Telegram: обёртка + плашка канала (template-parts/telegram-cta.php)
 */

/* --- Плашка канала (тот же компонент, что на single-specialist) --- */

.specialist-telegram {
    position: relative;
    overflow: visible;
    isolation: isolate;
    background: transparent;
    padding-block: 0;
    width: 100%;
}

.specialist-telegram__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px 24px;
    border: 1px solid var(--berloga-blue);
    border-radius: 16px;
    background: transparent;
}

.specialist-telegram__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.specialist-telegram__icon {
    display: block;
    flex-shrink: 0;
    width: 63px;
    height: 67px;
    object-fit: contain;
}

.specialist-telegram__plane {
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 36px;
    object-fit: contain;
}

.specialist-telegram__title {
    font-family: var(--h3-font-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    color: var(--berloga-text);
}

.specialist-telegram__cta {
    display: flex;
    align-items: center;
    gap: 40px;
}

.specialist-telegram__handle {
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    color: var(--berloga-text);
    text-decoration: none;
}

.specialist-telegram__btn.button {
    min-width: 200px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 20px;
}

.telegram {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.telegram__container {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1320px) {
    .telegram__container{
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 1200px) {
    .specialist-telegram__inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .telegram {
        padding: 40px 0;
    }

    .specialist-telegram__inner {
        padding: 16px 0;
    }

    .specialist-telegram__title {
        font-size: 24px;
    }

    .specialist-telegram__handle {
        font-size: 24px;
    }

    .specialist-telegram__cta {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}

@media (max-width: 375px) {
    .telegram {
        padding: 30px 0;
    }
}

