/*
  SzczecinTut Step 16: readable newspaper serif titles.
  Applies to editorial sections only: news, knowledge, guides, user blogs.
  Ads are not touched.
*/

.clean-article-title,
.guide-detail-header h1,
.guide-chapter-header h1,
.blog-detail-header h1,
.editorial-page-title,
.kb-article-title,
.kb-category-title {
    color: #2f2f2f !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.018em !important;
    line-height: 1.08 !important;
    margin: 0 0 16px !important;
    max-width: 980px !important;
    text-wrap: balance;
}

.clean-article-title {
    font-size: clamp(2.6rem, 7.2vw, 4.8rem) !important;
}

.guide-detail-header h1,
.guide-chapter-header h1,
.blog-detail-header h1,
.editorial-page-title,
.kb-article-title,
.kb-category-title {
    font-size: clamp(2.35rem, 6.2vw, 4.15rem) !important;
}

.clean-article-meta,
.guide-meta-line,
.blog-detail-author__meta,
.editorial-meta-line {
    margin-bottom: 18px !important;
}

.clean-article-cover,
.guide-cover,
.blog-detail-cover {
    margin-top: 16px !important;
}

.clean-share-row,
.article-share-panel.clean-share-row {
    margin-top: 20px !important;
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
}

.clean-article-content,
.guide-content,
.blog-detail-content,
.kb-article-content {
    margin-top: 0 !important;
}

.clean-article-content h2,
.guide-content h2,
.blog-detail-content h2,
.kb-article-content h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(1.65rem, 5.2vw, 2.35rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.16 !important;
    margin: 1.45em 0 .55em !important;
}

.clean-article-content h3,
.guide-content h3,
.blog-detail-content h3,
.kb-article-content h3 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(1.32rem, 4.2vw, 1.8rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 1.25em 0 .45em !important;
}

@media (max-width: 760px) {
    .clean-article-title {
        font-size: clamp(2.75rem, 10.8vw, 3.75rem) !important;
        line-height: 1.06 !important;
        letter-spacing: -0.018em !important;
    }

    .guide-detail-header h1,
    .guide-chapter-header h1,
    .blog-detail-header h1,
    .editorial-page-title,
    .kb-article-title,
    .kb-category-title {
        font-size: clamp(2.35rem, 9.2vw, 3.25rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.016em !important;
    }
}

@media (max-width: 420px) {
    .clean-article-title {
        font-size: clamp(2.45rem, 10.2vw, 3.2rem) !important;
        line-height: 1.06 !important;
    }

    .guide-detail-header h1,
    .guide-chapter-header h1,
    .blog-detail-header h1,
    .editorial-page-title,
    .kb-article-title,
    .kb-category-title {
        font-size: clamp(2.15rem, 8.8vw, 2.85rem) !important;
        line-height: 1.08 !important;
    }
}
