/*
 * Tamil glyph support.
 * The site's web fonts (Spartan, Roboto from Google Fonts) have no Tamil letters, so Tamil text relied on
 * whatever font the visitor's device picked (blank/boxes on some devices, e.g. in headings and the ticker).
 * Noto Sans Tamil (SIL OFL, self-hosted, Tamil range only) is added to the site's font stacks as the Tamil
 * fallback. Latin text is unaffected.
 */
@font-face {
  font-family: 'Noto Sans Tamil';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/tamil/NotoSansTamil-var.woff2) format('woff2');
  unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
}
:root {
  --font-title: "Spartan", "Noto Sans Tamil", sans-serif;
  --font-body: "Roboto", "Noto Sans Tamil", sans-serif;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Tamil", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* ---- Home page layout fixes ---- */
/* Top Stories: equal-height images so titles/dates line up across the four cards */
.top-stories-style-1 .rt-post-grid .post-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 551 / 431;
  object-fit: cover;
  display: block;
}
/* Keep long Tamil headlines inside their cards */
.rt-post .post-title a, .rt-post-grid .post-title a { overflow-wrap: anywhere; }
