:root {
    --telegram-bg: #f3f3f3;
    --telegram-line: #e7e7e7;
    --telegram-blue: #e63946;
    --telegram-blue-deep: #cf2f3d;
    --telegram-text: #333333;
    --telegram-muted: #7d7d7d;
    --telegram-header-height: 46px;
}

body {
    background: var(--telegram-bg);
    color: var(--telegram-text);
    --wp--style--block-gap: 0px;
}

body.home {
    --wp--style--block-gap: 0px;
}

.wp-site-blocks {
    min-height: 100vh;
    background: var(--telegram-bg);
    padding-top: var(--telegram-header-height);
}

.teelgram-main,
.wp-site-blocks > main.teelgram-main,
.wp-site-blocks > header.wp-block-template-part + main.teelgram-main {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > .telegram-site-header,
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > header.wp-block-template-part + * {
    margin-block-start: 0 !important;
}

header.wp-block-template-part,
.wp-block-template-part,
.wp-block-template-part .telegram-site-header,
header.wp-block-template-part .telegram-site-header {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    line-height: normal;
}

header.wp-block-template-part {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.telegram-site-header {
    min-height: var(--telegram-header-height);
    margin: 0;
    padding: 0;
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid var(--telegram-line);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(26, 48, 66, 0.06);
}

.telegram-topbar__inner {
    width: 1160px;
    max-width: calc(100% - 30px);
    min-height: var(--telegram-header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.telegram-nav,
.telegram-utility {
    display: flex;
    align-items: center;
    gap: 32px;
}

.telegram-nav a,
.telegram-utility a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #333333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    padding: 14px 0;
}

.telegram-nav a.is-current::after {
    content: '';
    position: absolute;
    left: -12px;
    right: -12px;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: var(--telegram-blue);
}

.telegram-utility a {
    gap: 8px;
}

.telegram-twitter-mark {
    width: 15px;
    height: 15px;
    position: relative;
    display: inline-block;
}

.telegram-twitter-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--telegram-blue);
    clip-path: polygon(98% 18%, 87% 24%, 90% 16%, 80% 20%, 71% 30%, 59% 31%, 49% 26%, 44% 17%, 45% 31%, 37% 40%, 28% 41%, 17% 36%, 22% 46%, 31% 52%, 22% 52%, 8% 47%, 16% 56%, 28% 61%, 42% 61%, 34% 68%, 23% 74%, 10% 76%, 20% 84%, 34% 86%, 48% 82%, 60% 74%, 69% 64%, 77% 52%, 82% 41%, 82% 32%, 92% 25%);
}

.telegram-home-hero {
    padding: 0 0 18px;
}

.telegram-home-shell {
    width: 1160px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 286px;
    grid-template-areas:
        'brand news'
        'device .'
        'download .'
        'features features';
    row-gap: 12px;
    column-gap: 8px;
    padding-top: 28px;
}

.telegram-home-brand {
    grid-area: brand;
    text-align: center;
    margin-left: 38px;
}

.telegram-home-logo {
    display: block;
    width: 108px;
    height: 108px;
    margin: 0 auto 12px;
}

.telegram-home-logo--santiao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e63946;
    color: #ffffff;
    font-size: 52px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(230, 57, 70, 0.16);
}

.telegram-home-brand h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: 1px;
    color: #2c2c2c;
}

.telegram-home-brand p {
    margin: 12px 0 0;
    font-size: 20px;
    color: var(--telegram-muted);
    font-weight: 400;
}

.telegram-home-news {
    grid-area: news;
    width: 248px;
    margin-top: 34px;
    border-left: 5px solid var(--telegram-blue);
    padding-left: 14px;
}

.telegram-home-news h2 {
    margin: 0 0 12px;
    color: var(--telegram-blue-deep);
    font-size: 17px;
    font-weight: 700;
}

.telegram-home-news article {
    margin-bottom: 11px;
}

.telegram-home-news time {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: #232323;
    font-weight: 700;
}

.telegram-home-news p {
    margin: 0;
    color: #d03845;
    font-size: 12px;
    line-height: 1.5;
}

.telegram-home-news p a {
    color: inherit;
    text-decoration: none;
}

.telegram-home-news p a:hover {
    text-decoration: underline;
}

.telegram-device-wrap {
    grid-area: device;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-left: 22px;
    margin-top: 18px;
}

.telegram-laptop-image {
    display: block;
    width: 468px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(18, 64, 105, 0.12));
}

.telegram-laptop {
    position: relative;
    width: 402px;
    height: 263px;
}

.telegram-laptop__screen {
    position: absolute;
    left: 18px;
    top: 0;
    width: 366px;
    height: 228px;
    border: 10px solid #434343;
    border-bottom-width: 7px;
    border-radius: 9px 9px 0 0;
    background: linear-gradient(135deg, #1579bb 0%, #0f4f86 100%);
    box-shadow: 0 2px 0 rgba(0,0,0,0.12);
    overflow: hidden;
}

.telegram-laptop__screen::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    transform: translateX(-50%);
}

.telegram-ui {
    position: absolute;
    inset: 12px;
    background: #f2f5f7;
    border-radius: 2px;
    overflow: hidden;
}

.telegram-ui__top {
    height: 14px;
    background: #eef1f3;
    border-bottom: 1px solid #dbe3e8;
    position: relative;
}

.telegram-ui__top::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff6d6d;
    box-shadow: 8px 0 0 #ffd36b, 16px 0 0 #68d772;
}

.telegram-ui__top::after {
    content: 'Telegram';
    position: absolute;
    left: 50%;
    top: 2px;
    transform: translateX(-50%);
    font-size: 6px;
    line-height: 1;
    color: #7b8a96;
    letter-spacing: 0.2px;
}

.telegram-ui__body {
    display: grid;
    grid-template-columns: 89px 1fr;
    height: calc(100% - 14px);
}

.telegram-sidebar {
    background: #fff;
    border-right: 1px solid #dfe7ec;
    padding: 8px 0;
}

.telegram-chat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    position: relative;
}

.telegram-chat-item:nth-child(3) {
    background: #eef6fb;
}

.telegram-chat-item::after {
    content: '2m';
    position: absolute;
    right: 6px;
    top: 6px;
    font-size: 5px;
    line-height: 1;
    color: #a6b3bc;
}

.telegram-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6cc0f0, #4f95d0);
    flex: 0 0 18px;
}

.telegram-meta {
    flex: 1;
    min-width: 0;
}

.telegram-meta i,
.telegram-meta b {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: #d6e0e7;
    margin-bottom: 4px;
}

.telegram-meta i { width: 46px; }
.telegram-meta b { width: 30px; margin-bottom: 0; }

.telegram-meta em {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #e6edf1;
    margin-top: 3px;
    font-style: normal;
}

.telegram-chat-main {
    position: relative;
    background: linear-gradient(180deg, #f7faf5 0%, #eff8f0 100%);
    padding: 10px;
}

.telegram-chat-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
    pointer-events: none;
}

.telegram-photo {
    position: absolute;
    top: 16px;
    left: 18px;
    width: 104px;
    height: 58px;
    border-radius: 4px;
    background: linear-gradient(135deg, #c6d2bf, #f0ead8 48%, #cde2d0);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.telegram-photo::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 12px;
    width: 44px;
    height: 28px;
    border-radius: 8px;
    background: #e6ba8f;
    transform: rotate(-6deg);
}

.telegram-photo::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 10px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.65);
}

.telegram-msg {
    position: absolute;
    height: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}

.telegram-msg--white { background: #fff; }
.telegram-msg--green { background: #d7f4c7; }

.telegram-m1 { top: 28px; right: 22px; width: 74px; }
.telegram-m2 { top: 54px; right: 58px; width: 120px; }
.telegram-m3 { top: 82px; right: 40px; width: 96px; }
.telegram-m4 { top: 112px; right: 68px; width: 142px; }
.telegram-m5 { top: 142px; right: 28px; width: 112px; }
.telegram-m6 { top: 168px; right: 54px; width: 132px; }

.telegram-msg::before,
.telegram-msg::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 10px;
    height: 3px;
    border-radius: 999px;
    background: rgba(112, 131, 145, 0.28);
}

.telegram-msg::before { top: 5px; }
.telegram-msg::after {
    top: 11px;
    right: 26px;
    opacity: 0.82;
}

.telegram-msg--green::before,
.telegram-msg--green::after,
.telegram-msg--green .tiny,
.telegram-msg--green .tiny2 {
    background: rgba(88, 116, 84, 0.22);
}

.telegram-msg .tiny,
.telegram-msg .tiny2 {
    position: absolute;
    left: 8px;
    right: 12px;
    height: 3px;
    border-radius: 999px;
    background: rgba(121, 138, 151, 0.22);
}

.telegram-msg .tiny { top: 5px; }
.telegram-msg .tiny2 {
    top: 11px;
    right: 28px;
    opacity: 0.78;
}

.telegram-msg .stamp {
    position: absolute;
    right: 6px;
    bottom: 3px;
    font-size: 4px;
    line-height: 1;
    color: rgba(118, 130, 138, 0.62);
    letter-spacing: 0.15px;
}

.telegram-inputbar {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #dfe7ec;
}

.telegram-inputbar::before,
.telegram-inputbar::after {
    content: '';
    position: absolute;
    top: 5px;
    height: 8px;
    border-radius: 999px;
    background: #d8e2e8;
}

.telegram-inputbar::before {
    left: 12px;
    width: 82px;
}

.telegram-inputbar::after {
    right: 12px;
    width: 28px;
}

.telegram-laptop__base {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    background: linear-gradient(180deg, #dfdfdf, #cfcfcf);
    border-radius: 0 0 16px 16px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
}

.telegram-laptop__base::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -1px;
    width: 58px;
    height: 7px;
    transform: translateX(-50%);
    background: #bfbfbf;
    border-radius: 0 0 8px 8px;
}

.telegram-home-download {
    grid-area: download;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 10px;
    margin-bottom: 26px;
}

.telegram-home-download__primary {
    color: #d03845;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 16px;
    line-height: 1;
}

.telegram-home-download__subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 760px;
    max-width: 100%;
    margin: 0 auto;
}

.telegram-home-download a {
    text-decoration: none;
}

.telegram-download-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(230, 57, 70, 0.10);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,250,253,0.96) 100%);
    box-shadow: 0 12px 28px rgba(24, 62, 96, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.telegram-download-card--compact .telegram-download-card__media {
    aspect-ratio: 16 / 8.6;
}

.telegram-download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(24, 62, 96, 0.10);
}

.telegram-download-card__media {
    background: #eef6fb;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.telegram-download-card__media video,
.telegram-download-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.telegram-download-card__content {
    padding: 16px 18px 18px;
}

.telegram-download-card__content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #d03845;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.telegram-download-card__symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.10);
    color: #d03845;
    font-size: 18px;
    line-height: 1;
}

.telegram-download-icon {
    width: 20px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.telegram-download-icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 8px;
    height: 6px;
    background: var(--telegram-blue);
    box-shadow: 10px 1px 0 0 var(--telegram-blue), 0 8px 0 0 var(--telegram-blue), 10px 9px 0 0 var(--telegram-blue);
    transform: skewY(-8deg);
}


.telegram-home-features {
    grid-area: features;
    margin-top: 24px;
    padding-top: 8px;
}

.telegram-home-features__header {
    text-align: center;
    margin-bottom: 18px;
}

.telegram-home-features__header h2 {
    margin: 0;
    color: #2f2f2f;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.telegram-home-features__header p {
    display: none;
    color: #8ca0ae;
    font-size: 15px;
    line-height: 1.7;
}

.telegram-home-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 46px;
}

.telegram-feature-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.telegram-feature-card__media {
    margin: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.telegram-feature-card__media img {
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.telegram-feature-card h3 {
    margin: 0 0 8px;
    color: #2b2b2b;
    font-size: 18px;
    font-weight: 600;
}

.telegram-feature-card p {
    margin: 0;
    color: #6f7e8b;
    font-size: 12px;
    line-height: 1.6;
}
.telegram-site-footer {
    border-top: 1px solid var(--telegram-line);
    background: #ffffff;
    padding: 26px 0 30px;
}

.telegram-footer__inner {
    width: 1160px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 0.8fr 0.9fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.telegram-footer__inner h3 {
    margin: 0 0 12px;
    color: #30343a;
    font-size: 17px;
    font-weight: 700;
}

.telegram-footer__inner p {
    margin: 0;
    color: #30343a;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.telegram-footer__inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.telegram-footer__inner li + li {
    margin-top: 8px;
}

.telegram-footer__inner a {
    color: #1a8fc5;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}

.telegram-footer__inner a:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .telegram-topbar__inner,
    .telegram-home-shell,
    .telegram-footer__inner {
        max-width: calc(100% - 24px);
    }

    .telegram-home-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            'brand'
            'news'
            'device'
            'download'
            'features';
        row-gap: 28px;
    }

    .telegram-home-brand,
    .telegram-device-wrap,
    .telegram-home-download {
        margin-left: 0;
    }

    .telegram-home-news {
        margin: 0 auto;
    }

    .telegram-home-download {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .telegram-home-download__subgrid {
        grid-template-columns: 1fr;
    }

    .telegram-home-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .telegram-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .telegram-topbar__inner {
        justify-content: center;
    }

    .telegram-utility {
        display: none;
    }

    .telegram-nav {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .telegram-home-brand h1 { font-size: 34px; }
    .telegram-home-brand p { font-size: 18px; }
    .telegram-home-logo { width: 96px; height: 96px; }
    .telegram-laptop-image { width: 420px; }
    .telegram-home-news { width: min(255px, 100%); }
    .telegram-download-card__content h2 { font-size: 16px; }
    .telegram-home-features__header h2 { font-size: 22px; }
    .telegram-home-features__grid { grid-template-columns: 1fr; gap: 14px; }
    .telegram-feature-card { grid-template-columns: 72px 1fr; }
    .telegram-feature-card__media img { width: 62px; height: 62px; }
    .telegram-footer__inner { grid-template-columns: 1fr; gap: 22px; }
}

body {
    background: linear-gradient(180deg, #f7f7f7 0%, #f3f3f3 100%);
}

.telegram-site-header {
    border-top: 0;
    border-bottom: 1px solid rgba(230, 57, 70, 0.10);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(31, 31, 31, 0.05);
}

.telegram-nav a,
.telegram-utility a {
    font-size: 14px;
    font-weight: 500;
    color: #2f2f2f;
}

.telegram-nav a:hover,
.telegram-utility a:hover,
.telegram-home-news p a:hover,
.news-card .wp-block-post-title a:hover {
    color: #e63946;
}

.telegram-home-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 24px;
    row-gap: 20px;
    padding-top: 36px;
}

.telegram-home-brand {
    margin-left: 0;
}

.telegram-home-logo {
    width: 88px;
    height: 88px;
    margin-bottom: 14px;
}

.telegram-home-logo--santiao {
    background: linear-gradient(135deg, #ef4a57 0%, #cf2f3d 100%);
    font-size: 42px;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(230, 57, 70, 0.18);
}

.telegram-home-brand h1 {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.telegram-home-brand p {
    margin-top: 10px;
    font-size: 17px;
    color: #787878;
}

.telegram-home-news {
    width: 100%;
    max-width: 280px;
    margin-top: 20px;
    padding: 16px 0 0 18px;
    border-left: 4px solid #e63946;
}

.telegram-home-news h2 {
    margin-bottom: 14px;
    font-size: 18px;
    color: #cf2f3d;
}

.telegram-home-news article {
    margin-bottom: 14px;
}

.telegram-home-news time {
    margin-bottom: 6px;
    font-size: 14px;
    color: #1f1f1f;
}

.telegram-home-news p,
.telegram-home-news p a {
    color: #525252;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.65;
}

.telegram-device-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.telegram-device-wrap a {
    display: inline-block;
}

.telegram-laptop-image {
    max-width: 780px;
    width: 100%;
    filter: drop-shadow(0 20px 34px rgba(44, 44, 44, 0.10));
}

.telegram-home-download {
    max-width: 820px;
    margin: 4px auto 0;
}

.telegram-home-download__primary {
    min-height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ef4a57 0%, #d73543 100%);
    box-shadow: 0 16px 28px rgba(230, 57, 70, 0.16);
}

.telegram-home-download__subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.telegram-download-card {
    border: 1px solid rgba(230, 57, 70, 0.10);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(32, 32, 32, 0.05);
}

.telegram-download-card__content h2 {
    color: #2b2b2b;
}

.telegram-download-card__symbol {
    background: #fceaec;
    color: #d73543;
}

.telegram-home-features {
    margin-top: 18px;
    padding: 34px 28px 30px;
    border: 1px solid rgba(230, 57, 70, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 36px rgba(30, 30, 30, 0.05);
}

.telegram-home-features__header h2 {
    color: #cf2f3d;
}

.telegram-home-features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.telegram-feature-card {
    padding: 18px 16px;
    border: 1px solid #ededed;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(30, 30, 30, 0.04);
}

.telegram-feature-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.22);
    box-shadow: 0 16px 30px rgba(30, 30, 30, 0.08);
}

.telegram-feature-card__media {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
}

.telegram-feature-card h3 {
    color: #cf2f3d;
}

.telegram-news-section {
    padding-top: 68px !important;
}

.telegram-news-section > .alignwide,
.telegram-news-section > .wp-block-group.alignwide {
    width: 1120px;
    max-width: calc(100% - 48px);
}

.telegram-news-section .wp-block-post-template {
    gap: 22px;
}

.telegram-news-section .news-card {
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #ffffff;
}

.telegram-news-section .news-card .wp-block-post-title a {
    color: #222222;
    text-decoration: none;
}

.telegram-news-section .wp-block-post-excerpt__more-link {
    color: #e63946;
    text-decoration: none;
}

.telegram-site-footer {
    background: #ffffff;
    border-top: 1px solid rgba(230, 57, 70, 0.08);
}

@media (max-width: 1024px) {
    .telegram-home-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            'brand'
            'news'
            'device'
            'download'
            'features';
    }

    .telegram-home-news {
        max-width: 720px;
        margin: 0 auto;
    }

    .telegram-home-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .telegram-home-shell,
    .telegram-news-section > .alignwide,
    .telegram-news-section > .wp-block-group.alignwide {
        max-width: calc(100% - 24px);
    }

    .telegram-home-logo {
        width: 72px;
        height: 72px;
    }

    .telegram-home-brand h1 {
        font-size: 24px;
    }

    .telegram-home-brand p {
        font-size: 15px;
    }

    .telegram-home-download__subgrid,
    .telegram-home-features__grid {
        grid-template-columns: 1fr;
    }
}




