/*
 * Phase 08B-R8 — homepage-scoped reset.
 * Every rule here is scoped under .cacs-homepage-professional-v1 so it
 * cannot leak onto article, submission, reviewer or admin pages. Core
 * OJS/PKP stylesheets apply generous heading/paragraph/list margins sized
 * for long-form reading-width text pages; the homepage is a dense
 * dashboard-style layout like the approved prototype, so those margins
 * are neutralized here in one place instead of the many one-off
 * `margin: 0` overrides this file replaces in leadership-v1.css.
 */
.cacs-homepage-professional-v1 h1,
.cacs-homepage-professional-v1 h2,
.cacs-homepage-professional-v1 h3,
.cacs-homepage-professional-v1 h4,
.cacs-homepage-professional-v1 h5,
.cacs-homepage-professional-v1 h6 {
  margin: 0;
  font-family: var(--cacs-font-heading);
}

.cacs-homepage-professional-v1 p,
.cacs-homepage-professional-v1 ul,
.cacs-homepage-professional-v1 ol,
.cacs-homepage-professional-v1 dl,
.cacs-homepage-professional-v1 dd {
  margin: 0;
}

.cacs-homepage-professional-v1 ul,
.cacs-homepage-professional-v1 ol {
  padding: 0;
  list-style: none;
}

.cacs-homepage-professional-v1 button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.cacs-homepage-professional-v1 input {
  font: inherit;
}

/* No blanket `img, svg { max-width: 100% }` reset here: several existing
   leadership-v1.css rules constrain specific images/SVGs with their own
   single-class + type selector (e.g. `.cacs-current-issue__cover--
   generic svg { max-width: 3.15rem }`) - that selector has the exact
   same (0,1,1) specificity as a blanket `.cacs-homepage-professional-v1
   svg` rule, so being loaded later here would silently win and blow the
   image up to 100% of its container. Confirmed live (the generic issue
   cover rendered at full card width/height, stretching the whole Row 1
   via `align-items: stretch`, not guessed) and removed rather than
   chasing per-element specificity bumps. */

.cacs-homepage-professional-v1 a {
  text-decoration: none;
}

.cacs-homepage-professional-v1 fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.cacs-homepage-professional-v1 table {
  border-collapse: collapse;
}
