/* =====================================================================
 * pages/malaysia.css — page-specific RESIDUE for /programs/malaysia.
 *
 * After the Indonesia + Malaysia consolidation, almost everything that
 * used to live here moved to shared components in
 * public/assets/css/components/ (chip, country-stats, country-callout,
 * country-costs, country-curriculum-cta, country-map, country-stats,
 * country-textlink, country-turkiye-grid). What remains below are the
 * only two declarations that are genuinely Malaysia-only — keeping them
 * here (loaded last, after the components and after vendor/leaflet.css)
 * preserves Malaysia's exact rendering without changing Indonesia, which
 * uses the shared defaults.
 *
 * Both rules are scoped to the .page-malaysia body class so they cannot
 * affect any other page. No hex literals.
 * ===================================================================== */

/* Malaysia's popups carry slightly longer branch names; polish #1 added
 * a 200px floor so the region line never gets squeezed into a one-word-
 * per-line vertical stack. Leaflet sets no min-width, so this needs no
 * specificity gymnastics — it simply applies on top of the shared
 * .country-map .leaflet-popup-content override. Indonesia keeps the
 * shared default (no floor). */
.page-malaysia .leaflet-popup-content {
    min-width: 200px;
}

/* Malaysia tightens the popup region line (polish #2). The shared
 * .country-popup__region leaves line-height to inherit --lh-normal from
 * .country-popup (Indonesia's look); this override restores Malaysia's
 * tighter line. Scoped + higher specificity, so it wins over the shared
 * component rule. */
.page-malaysia .country-popup__region {
    line-height: var(--lh-tight);
}
