/*
 * Semantic UI global-element overrides.
 *
 * Semantic's site.css (bundled inside semantic.css) applies opinionated rules
 * to bare element selectors — h1..h5, p, a — which bleed outside the
 * .ui-scoped components and fight the template's own layout. Notably h4
 * picks up ~30px margin-top from Semantic where main.css only sets
 * margin-bottom, producing crooked gaps in the smart-filter headings and
 * elsewhere.
 *
 * This file neutralises those globals. It is loaded AFTER semantic.css so
 * the overrides win at equal specificity, and BEFORE main.css so any
 * template-specific rule (e.g. `.single_news_page article h4 { margin-bottom: 35px }`)
 * still applies normally on top.
 *
 * Scoped Semantic rules (`.ui.<component> ...`) are untouched — .ui.header,
 * .ui.basic.padded.segment, .ui.list, .ui.table etc. keep working.
 *
 * Only the three element selectors that Semantic actually vandalises are
 * reset. Semantic's html/body font-size/line-height stays — changing that
 * would shift rem-based sizes inside .ui components and cause visible
 * regressions inside Semantic widgets themselves.
 */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    line-height: inherit;
    font-family: inherit;
    font-weight: inherit;
}

/*
 * `p` is deliberately NOT reset here. Semantic's `p { margin: 0 0 1em }`
 * happens to match what news/product body copy expects, and the template
 * has no competing global `p { }` rule. Resetting would strip needed
 * paragraph spacing in article text. Template-specific selectors already
 * tighten `p` margins where they need to (`.filter p`, `.cart p`, etc.).
 *
 * `a` is deliberately NOT reset here for the same reason — Semantic's
 * `a { color: #4183C4 }` is the effective default for unlinked text
 * where no specific context rule applies. Every meaningful link on the
 * site lives under a template-scoped selector (`.menu a`, `.btn a`,
 * `.brand_card a`, ...) which sets its own color — so the Semantic
 * default only surfaces for bare <a> in article body, where a default
 * link-blue is acceptable.
 */

