/* Shared editorial typography. Use the language fonts configured in Admin. */
html[data-theme] body {
    font-family: var(--vr-font-primary, system-ui, sans-serif) !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--vr-text-main, #17202b);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
html[data-theme] :is(button, input, select, textarea) { font-family: var(--vr-font-primary, system-ui, sans-serif) !important; }
html[data-theme] :is(h1, h2, h3, h4, h5, h6),
html[data-theme] :is(h1, h2, h3, h4, h5, h6) a {
    font-family: var(--vr-font-primary, system-ui, sans-serif) !important;
    letter-spacing: normal;
    text-transform: none;
    word-break: normal;
    overflow-wrap: break-word;
}
html[data-theme] :is(.post-item .title, .post-item-small .title, .block-3-post-title, .modern-horizontal-title, .modern-card-title, .magazine-cat-four-title, .block-two-title, .block-four-title),
html[data-theme] :is(.post-item .title, .post-item-small .title, .block-3-post-title, .modern-horizontal-title, .modern-card-title, .magazine-cat-four-title, .block-two-title, .block-four-title) a {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: var(--vr-text-main, #17202b) !important;
}
html[data-theme] :is(.home-editorial-title, .modern-lead-title) { line-height: 1.5; }
html[data-theme] .home-editorial-reference .home-editorial-story-lead .home-editorial-title { font-size: 22px; font-weight: 700; }
html[data-theme] .modern-cat-block-1-grid .modern-cat-lead-card .modern-lead-title { font-size: 20px; font-weight: 600; }
html[data-theme] :is(.cat-section-header-modern .cat-title-badge h3, .section .section-title .title, .sidebar-widget .widget-head .title) {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    color: var(--vr-text-main, #17202b) !important;
}
html[data-theme] .cat-section-header-modern { border-color: var(--vr-gray-200, #e2e5e9); flex-wrap: wrap; }
html[data-theme] .cat-section-readmore { font-size: 13px; font-weight: 500; line-height: 1.5; }
html[data-theme] #postDetailsPage .post-title {
    font-family: var(--vr-font-primary, system-ui, sans-serif) !important;
    font-size: clamp(26px, 2.6vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--vr-text-main, #17202b) !important;
}
html[data-theme] #postDetailsPage .post-summary {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: var(--vr-text-main, #17202b) !important;
}
html[data-theme] #postDetailsPage .entry-content,
html[data-theme] #postDetailsPage .entry-content :is(p, li, blockquote) {
    font-family: var(--vr-font-content, var(--vr-font-primary, sans-serif)) !important;
    font-size: 18px !important;
    line-height: 1.85 !important;
    letter-spacing: normal !important;
    color: var(--vr-text-main, #17202b) !important;
}
html[data-theme] #postDetailsPage .entry-content p { margin-bottom: 1.25em; }
html[data-theme] #postDetailsPage .entry-content :is(h2, h3) { font-weight: 700; line-height: 1.5; margin-top: 1.4em; }
html[data-theme] :is(.post-meta, .home-editorial-meta, .modern-card-meta, .home-editorial-date) { font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--vr-text-muted, #606975); }
html[data-theme] main a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 575.98px) {
    html[data-theme] #postDetailsPage .post-summary { font-size: 18px !important; }
    html[data-theme] #postDetailsPage .entry-content,
    html[data-theme] #postDetailsPage .entry-content :is(p, li, blockquote) { font-size: 17px !important; line-height: 1.8 !important; }
    html[data-theme] .modern-cat-block-1-grid .modern-cat-lead-card .modern-lead-title { font-size: 19px; }
}

/* Homepage title weight and lead-section divider. */
html[data-theme] body.body-index-page .home-editorial-top > .container-xl {
    border-bottom: 0 !important;
}
html[data-theme] body.body-index-page :is(
    .home-editorial-title,
    .post-item .title,
    .post-item-small .title,
    .modern-lead-title,
    .modern-horizontal-title,
    .modern-card-title,
    .block-3-post-title,
    .block-5-title,
    .block-two-title,
    .block-four-title,
    .magazine-cat-four-title,
    .cat-block-2-title,
    .magazine-cat-lead-title,
    .magazine-cat-side-title,
    .magazine-cat-card-title
),
html[data-theme] body.body-index-page :is(
    .home-editorial-title,
    .post-item .title,
    .post-item-small .title,
    .modern-lead-title,
    .modern-horizontal-title,
    .modern-card-title,
    .block-3-post-title,
    .block-5-title,
    .block-two-title,
    .block-four-title,
    .magazine-cat-four-title,
    .cat-block-2-title,
    .magazine-cat-lead-title,
    .magazine-cat-side-title,
    .magazine-cat-card-title
) a {
    font-weight: 600 !important;
}
