/* Step 67 — единая читаемая новостная подача.
   Загружен последним, чтобы исправлять накопившиеся конфликтующие стили. */

/* Поиск в шапке: настоящий, хорошо читаемый значок */
.portal-icon-btn#searchToggle,
#searchToggle.header-round-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
    color: #111827 !important;
    background: #fff !important;
    border: 1px solid #dfe4ea !important;
    border-radius: 14px !important;
}
.portal-search-icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
#searchToggle:hover { background: #f7f8fa !important; }

/* Главная: современная новостная типографика, без тяжёлого газетного болда */
.news-home-v28,
.news-home-v28 * {
    font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.news-home-v28 .rail-title,
.news-home-v28 .newspaper-section-title h2,
.news-home-v28 .home-section-head h2,
.category-news-page .home-section-head h1 {
    font-family: Inter, Manrope, system-ui, sans-serif !important;
    letter-spacing: -.025em !important;
}
.news-home-v28 .rail-title {
    font-size: 26px !important;
    line-height: 1.15 !important;
    font-weight: 750 !important;
    color: #b4232c !important;
    padding-bottom: 10px !important;
    margin-bottom: 4px !important;
    border-bottom: 2px solid #b4232c !important;
}
.news-home-v28 .rail-item {
    display: grid !important;
    grid-template-columns: 58px minmax(0,1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
}
.news-home-v28 .rail-item time {
    color: #8b95a5 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}
.news-home-v28 .rail-item span {
    color: #20242c !important;
    font-size: 17px !important;
    line-height: 1.42 !important;
    font-weight: 450 !important;
}
.news-home-v28 .rail-item:hover span { color: #b4232c !important; }

.news-home-v28 .belta-lead-title {
    display: block;
    font-family: Inter, Manrope, system-ui, sans-serif !important;
    font-size: clamp(30px, 3.2vw, 46px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    font-weight: 760 !important;
}
.news-home-v28 .belta-lead-preview {
    font-size: 18px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: #4b5563 !important;
}
.news-home-v28 .small-title,
.news-home-v28 .list-title,
.category-news-page .list-title {
    font-family: Inter, Manrope, system-ui, sans-serif !important;
    color: #20242c !important;
    letter-spacing: -.018em !important;
    font-weight: 650 !important;
}
.news-home-v28 .small-title { font-size: 20px !important; line-height: 1.3 !important; }
.news-home-v28 .list-title,
.category-news-page .list-title { font-size: 21px !important; line-height: 1.32 !important; }
.news-home-v28 .news-preview,
.news-home-v28 .small-preview,
.category-news-page .news-preview {
    color: #596273 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}
.news-home-v28 .story-meta,
.news-home-v28 .post-meta-line,
.category-news-page .story-meta {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}
.news-home-v28 .newspaper-section-title h2,
.news-home-v28 .home-section-head h2 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 750 !important;
    text-transform: none !important;
    color: #20242c !important;
}

/* Категории: простая читаемая лента */
.category-news-page .home-kicker { display: none !important; }
.category-news-page .home-section-head {
    border-bottom: 2px solid #20242c;
    margin-bottom: 18px;
    padding-bottom: 12px;
}
.category-news-page .home-section-head h1 {
    margin: 0 !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    line-height: 1.1 !important;
    font-weight: 760 !important;
}

/* Статья: заголовок читаемый, а не огромная декоративная простыня */
.clean-article .clean-article-title {
    max-width: 940px !important;
    margin: 20px 0 14px !important;
    font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(42px, 5vw, 68px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.045em !important;
    font-weight: 780 !important;
    text-wrap: balance;
    overflow-wrap: anywhere;
    color: #23272f !important;
}
.clean-article .clean-breadcrumbs,
.clean-article .clean-article-meta,
.clean-article .clean-article-content {
    font-family: Inter, Manrope, system-ui, sans-serif !important;
}
.clean-article .clean-article-meta {
    color: #7a8493 !important;
    font-size: 15px !important;
    font-weight: 450 !important;
}
.clean-article .clean-article-content {
    color: #292d34 !important;
    font-size: 19px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}
.clean-article .clean-article-content h2,
.clean-article .clean-article-content h3 {
    font-family: Inter, Manrope, system-ui, sans-serif !important;
    font-weight: 750 !important;
    letter-spacing: -.025em !important;
}

@media (max-width: 760px) {
    .portal-icon-btn#searchToggle,
    #searchToggle.header-round-btn {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }
    .portal-search-icon { width: 24px; height: 24px; }

    .news-home-v28 { padding-top: 8px !important; }
    .news-home-v28 .rail-title {
        font-size: 25px !important;
        margin-top: 10px !important;
    }
    .news-home-v28 .rail-item {
        display: block !important;
        padding: 15px 0 !important;
    }
    .news-home-v28 .rail-item time {
        display: block !important;
        margin-top: 7px !important;
        font-size: 13px !important;
        order: 2;
    }
    .news-home-v28 .rail-item span {
        display: block !important;
        font-size: 18px !important;
        line-height: 1.4 !important;
        font-weight: 430 !important;
    }
    .news-home-v28 .belta-lead-title {
        font-size: clamp(28px, 7.7vw, 38px) !important;
        line-height: 1.12 !important;
        font-weight: 720 !important;
    }
    .news-home-v28 .belta-lead-preview { font-size: 17px !important; }
    .news-home-v28 .small-title,
    .news-home-v28 .list-title,
    .category-news-page .list-title {
        font-size: 19px !important;
        line-height: 1.35 !important;
        font-weight: 620 !important;
    }
    .news-home-v28 .newspaper-section-title h2,
    .news-home-v28 .home-section-head h2 {
        font-size: 26px !important;
    }
    .category-news-page .home-section-head h1 { font-size: 32px !important; }

    .clean-article .clean-article-title {
        font-size: clamp(32px, 8.3vw, 42px) !important;
        line-height: 1.09 !important;
        letter-spacing: -.035em !important;
        font-weight: 760 !important;
        margin-top: 16px !important;
    }
    .clean-article .clean-article-content {
        font-size: 18px !important;
        line-height: 1.58 !important;
    }
}

@media (max-width: 420px) {
    .clean-article .clean-article-title {
        font-size: clamp(30px, 8vw, 37px) !important;
    }
}
