/*
 * Maaveerar runtime typography bridge
 * Loaded after Joomla/component/module styles so the template Body Font Size
 * remains authoritative in homepage modules and Maaveerarlist frontend views.
 * All text values are rem-based and therefore follow --mv-body-size/root size.
 */

/* Homepage: keep informational/card copy tied to the configured body size.
   Slider text is intentionally excluded because the slider has its own
   per-slide font/size/weight controls. */
body.mv-site .mvh-builder{font-size:1rem}
body.mv-site .mvh-hero-quickcard__content strong{font-size:1.15rem!important;line-height:1.35!important}
body.mv-site .mvh-hero-quickcard__content small{font-size:.95rem!important;line-height:1.55!important}
body.mv-site .mvh-hero-quickcard__number{font-size:1.15rem!important}
body.mv-site .mvh-section-subtitle,
body.mv-site .mvh-feature__copy,
body.mv-site .mvh-richtext,
body.mv-site .mvh-stat-card p,
body.mv-site .mvh-cta p{font-size:1rem}

/* Home Builder record-update cards. */
body.mv-site .mvh-record-update__dates,
body.mv-site .mvh-record-update__dates time{font-size:.82rem!important}
body.mv-site .mvh-record-update__dates em{font-size:.78rem!important}
body.mv-site .mvh-record-update__division{font-size:.84rem!important}
body.mv-site .mvh-record-update__name{font-size:1rem!important}
body.mv-site .mvh-record-update__realname,
body.mv-site .mvh-record-update__district{font-size:.88rem!important}
body.mv-site .mvh-record-update__deathdate{font-size:.82rem!important}

/* Sidebar Updates cards use a fixed, readable 14px text size. This is
   independent from the global Body Font Size, matching the requested sidebar scale. */
body.mv-site .mv-side .mvu-datebar,
body.mv-site .mv-side .mvu-datebar>time,
body.mv-site .mv-side .mvu-action,
body.mv-site .mv-side .mvu-division,
body.mv-site .mv-side .mvu-name,
body.mv-site .mv-side .mvu-realname,
body.mv-site .mv-side .mvu-district,
body.mv-site .mv-side .mvu-deathdate,
body.mv-site .mv-side .mvu-deathdate time{font-size:14px!important}
body.mv-site .mvu-header__eyebrow{font-size:.82rem!important}

/* Shared Maaveerar cards use their own fixed typography.
   This is intentionally independent from the template Body Font Size.
   Death Today/Birth Today and homepage shared Maaveerar cards inherit the
   same fixed card typography because they use the same card partial. */
body.mv-site .maaveerar-container{
  font-family:"Baloo Thambi 2","Noto Sans Tamil",system-ui,sans-serif!important;
  font-size:15px!important;
}
body.mv-site .maaveerar-container .division-alias-text,
body.mv-site .maaveerar-container .maaveerar__name-text{
  font-family:"Baloo Thambi 2","Noto Sans Tamil",system-ui,sans-serif!important;
  font-size:15px!important;
}
/* Card detail cells are intentionally one step smaller than the name/header. */
body.mv-site .maaveerar-container .maaveerar_info,
body.mv-site .maaveerar-container .maaveerar_info_rn,
body.mv-site .maaveerar-container .maaveerar_info_up,
body.mv-site .maaveerar-container .maaveerar_info_site{
  font-family:"Baloo Thambi 2","Noto Sans Tamil",system-ui,sans-serif!important;
  font-size:14px!important;
}

/* Maaveerarlist search/filter controls. Earlier component rules use fixed px
   values; these relative values ensure Body Font Size visibly changes them. */
body.mv-site #adminForm .maav-searchbar-top .form-floating>.form-control,
body.mv-site #adminForm .maav-filterbar .form-floating>.form-select,
body.mv-site #adminForm .maav-filterbar .form-floating>.form-control,
body.mv-site #adminForm .maav-filterbar .form-floating>#limit,
body.mv-site #adminForm .maav-filter-row1 .form-floating>.form-select,
body.mv-site #adminForm .maav-filter-row1 .form-floating>.form-control,
body.mv-site #adminForm .maav-filter-row1 .form-floating>#limit,
body.mv-site .maav-filterbar .form-select,
body.mv-site .maav-filterbar .form-control{
  font-family:var(--mv-body-font,inherit)!important;
  font-size:.9375rem!important;
}
body.mv-site #adminForm .maav-searchbar-top .form-floating>label,
body.mv-site #adminForm .maav-filterbar .form-floating>label,
body.mv-site #adminForm .maav-filter-row1 .form-floating>label{
  font-family:var(--mv-body-font,inherit)!important;
  font-size:.875rem!important;
}
body.mv-site .maav-filter-toggle,
body.mv-site .maav-filter-action,
body.mv-site .maav-advanced-link,
body.mv-site .maav-export-btn,
body.mv-site .maav-search-btn,
body.mv-site [class*="com-maaveerarlist-"] .btn:not(.btn-close){font-size:.9rem!important}
body.mv-site .maav-filter-note{font-size:.8125rem!important}
body.mv-site .maav-filter-toggle-count{font-size:.75rem!important}

/* Main-list supporting text and the results/page summary in the screenshot. */
body.mv-site .maav-list-desc,
body.mv-site .maav-menu-page-description{font-size:1rem!important;line-height:1.75!important}
body.mv-site .maav-page-stats{font-size:.95rem!important}
body.mv-site .maav-filter-badges .badge{font-size:.85rem!important}
body.mv-site .maav-search-suggest{font-size:.95rem!important}
body.mv-site .maav-table-list-limit .form-select,
body.mv-site .maav-search-field-filter__label{font-size:.9rem!important}

/* Common Maaveerarlist table/list copy should inherit the configured body
   scale instead of being visually locked to 13/14/15px. */
body.mv-site .maav-table-list,
body.mv-site .maav-entity-listspec,
body.mv-site .maav-family-listspec,
body.mv-site .maav-restinghome-listspec,
body.mv-site .maav-regiment-listspec,
body.mv-site .maav-restinghome-listcard,
body.mv-site .maav-detail-summary{font-size:1rem}

@media(max-width:560px){
  body.mv-site .mvh-hero-quickcard__content small{font-size:.9rem!important}
}
