/**
 * Telegram Section Styles
 * Reusable block for Telegram channel feed
 */

.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%;
}

.telegram__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.telegram__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.telegram__title {
    margin: 0;
}

.telegram__widget {
    width: 100%;
    max-width: 768px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ten-kartochki-box-shadow);
}

.telegram__widget iframe,
.telegram__widget .wptelegram-widget,
.telegram__widget .wptelegram-ajax-widget {
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
}

.telegram__widget iframe {
    display: block;
}

.telegram__note,
.telegram__fallback {
    margin: 10px 0 0;
    text-align: center;
    max-width: 880px;
    font-style: italic;
    color: var(--berloga-blue);
    font-weight: 600;
}

.telegram__link {
    font-weight: 800;
}

@media (max-width: 1320px) {
    .telegram__container{
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .telegram {
        padding: 40px 0;
    }
}

@media (max-width: 375px) {
    .telegram {
        padding: 30px 0;
    }
}

