/* ==========================================================================
   Mop & Broom – global styles (variables, base, buttons)
   Block specific CSS lives in /src/components/<block>/style.css
   ========================================================================== */

:root {
  --white: #fff;
  --black: #000;
  --navy: #002d6c;
  --green: #48881e;
  --green-dark: #386d17;
  --green-light: #54bd40;
  --mint: #f1f7ee;
  --text: #3d4a52;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn-brand {
  display: inline-block;
  padding: 1rem 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  background-color: var(--green);
  border: 0;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
  color: var(--white);
  background-color: var(--green-dark);
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2000;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  clip: auto;
  color: var(--white);
  background-color: var(--navy);
}
