/* Consistent typography across the complete ITR-5 page. */
html body.itr5-page:not(.home-page) main > section :is(
    p, li, td, th, label, input, textarea, select,
    .check-item, .check-item > span, .status-item > div,
    .itr-post-copy p, .itr-duration, .itr-chip, .card-text,
    .card-note, .card-badge, .lead, .fineprint, .checklist-note,
    .itr-kyc-box, .itr-kyc-tag
) {
    font-size: 15px !important;
}

/* Keep body copy and table content consistent, including text held directly in
   table wrappers or card content containers. */
html body.itr5-page:not(.home-page) main > section {
    font-size: 15px;
}
html body.itr5-page:not(.home-page) main > section :is(
    .table-wrap, .table-container, .table-card, .table-card *,
    .card-content, .card-body, .info-card-content, .itr-card-content,
    table, table *
) {
    font-size: 15px;
}

html body.itr5-page:not(.home-page) main > section :is(
    .section-head h2, .itr-section-head h2, h2
) {
    font-size: 28px !important;
    line-height: 1.2 !important;
}

html body.itr5-page:not(.home-page) main > section :is(
    .info-card, .itr-info-card, .itr-step-card, .itr-penalty-card,
    .itr-method-card, .method-card, .itr-benefit-card, .itr-mistake-card,
    .itr-post-row, .itr-post-card
) :is(h3, h4, .card-title, .itr-card-title, .itr-mistake-title),
html body.itr5-page:not(.home-page) main > section h3 {
    font-size: 18px !important;
}
