/*
 * assets/lf-site.css: the legalfirms.in home page look on the directory's
 * public pages (9 Nov 2026; owner: "as we made changes in home page color
 * scheme, can fix other pages too. avoid lawyer or law firm profile pages.
 * avoid backend pages for now").
 *
 * Loaded after each page's own styles by includes/public-header.php (home,
 * browse firms, practice areas, about, contact, terms, privacy, 404),
 * askHeader() in ask/includes/ask-layout.php, ask/city.php,
 * practice-area.php and login.php. Not by firm.php or advocate-profile.php.
 *
 * Headings use Newsreader, the home page's serif (self-hosted here, OFL,
 * assets/fonts/NEWSREADER-OFL.txt; font-src 'self' is in the live CSP).
 * font-display: optional, so a slow first load keeps the fallback instead of
 * moving the page. Colours and corners were changed in the pages themselves.
 */
@font-face{font-family:'Newsreader';src:url(/assets/fonts/newsreader-var.woff2) format('woff2');font-weight:400 600;font-style:normal;font-display:optional;}
@font-face{font-family:'Newsreader';src:url(/assets/fonts/newsreader-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:optional;}

/* Page and section headings */
.hero h1, .pa-hero h1, .ab-hero h1, .ct-hero h1, .tos-hero h1, .pp-hero h1,
.ask-hero h1, .lfl h1, .aq-hero-h1,
.section-title h2, .claim-box h2, .legal-info-box h2, .seo-content h2, .pa-seo h2,
.ab-card h2, .ct-box h2, .ct-editorial h2, .ct-panel h2,
.tos-section h2, .pp-section h2, .tos-contact h2, .pp-contact h2,
.ask-section-head h2, .lf-serif, .aq-card-head h2{
  font-family:'Newsreader',Georgia,'Times New Roman',serif;
  font-weight:500;
  letter-spacing:-.02em;
}
.hero h1, .pa-hero h1, .ab-hero h1, .ct-hero h1, .tos-hero h1, .pp-hero h1, .ask-hero h1, .aq-hero-h1{
  line-height:1.08;
  text-wrap:balance;
}

/* 9 Nov 2026 (pending item 8): Ask headings that set their own weight inline
   (category, city and search titles, question titles). Newsreader has 400-600;
   these were 800, which the browser would fake. Their inline weight is now 500. */
.ask-question-title.lf-serif{ font-weight:500; font-size:1.875rem; line-height:1.2; color:#101d33; }
@media (max-width:640px){ .ask-question-title.lf-serif{ font-size:1.5rem; } }
body .aq-card-head h2{ font-size:1.15rem; }
