/* MTNPLOW shared stylesheet
   Root is 62.5% => 1rem = 10px. Sizes use rem so they never compound
   against a parent font-size (the old em scale re-based off .padder's
   inline 18px and rendered everything at 1.8x). */

/* ---------- fonts ---------- */
/* woff2 only; eot/ttf/svg were dead weight. font-display:swap so the
   phone numbers render immediately in the fallback face instead of
   being invisible while the webfont loads. */
@font-face {
  font-family: open sans;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Open Sans"), local("Open-Sans-regular"),
    url(//fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2) format("woff2");
}
@font-face {
  font-family: open sans;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: local("Open Sans SemiBold"), local("Open-Sans-600"),
    url(//fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNShampu5_7CjHW5spxoeN3Vs.woff2) format("woff2");
}
@font-face {
  font-family: open sans;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Open Sans Bold"), local("Open-Sans-700"),
    url(//fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzBampu5_7CjHW5spxoeN3Vs.woff2) format("woff2");
}

/* ---------- reset / base ---------- */
html, body, div, ul, li, h1, h2, a, img, span, p {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: open sans, helvetica neue, Helvetica, Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1.55;
  background: #fff;
  color: #2f2f2f;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: #224afa; text-decoration: none; }
a:hover { color: #1538d1; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid #e3e3e3; margin: 1.2rem auto; max-width: 100%; }

.container { max-width: 117rem; margin: 0 auto; }
/* was 2em against an 18px parent = 36px a side; 1.6rem gives a 360px
   phone back ~40px of reading width */
.padder { padding-left: 1.6rem; padding-right: 1.6rem; }
.accent-text { color: #224afa; }

/* ---------- headings ---------- */
h1 { font-size: 2.6rem; line-height: 1.15; font-weight: 700; margin: .4em 0; }
h2 { font-size: 2rem; line-height: 1.2; font-weight: 700; margin: .5em 0 .3em; }

/* ---------- nav ---------- */
.nav-bar { background: #f1f1f1; padding: 1.2rem 1.6rem; text-align: center; }
.nav-bar a {
  display: inline-block;
  min-height: 4.4rem;
  padding: .2rem 0;
  font-size: 1.6rem;
  font-weight: 600;
}
.nav-bar img { max-width: 200px; vertical-align: middle; }

/* ---------- homepage hero ----------
   Was an absolutely-positioned image inside a max-height:255px box, which
   revealed a fixed ~86px sliver at every width. Now normal flow. */
.header { background: #f1f1f1; text-align: center; }
.hero-logo { display: block; padding: 1.6rem 1.6rem .8rem; }
.hero-logo img { max-width: 320px; width: 100%; height: auto; }
/* capped at native width so it does not upscale past 1130px on desktop */
.hero-art { display: block; width: 100%; max-width: 1130px; height: auto; margin: 0 auto; }

.breadcrumb { font-size: 1.5rem; color: #767676; margin-bottom: .8rem; }
.breadcrumb a { color: #224afa; display: inline-block; padding: .6rem .2rem; }

/* ---------- location picker ---------- */
.location-nav { margin: 1.6rem 0; text-align: center; }
.location-nav label { display: block; font-size: 1.6rem; margin-bottom: .6rem; }
/* >=16px keeps iOS Safari from force-zooming the viewport on focus */
.location-nav select,
#myselection {
  font-family: inherit;
  font-size: 1.8rem;
  width: 100%;
  max-width: 34rem;
  min-height: 4.8rem;
  padding: .8rem 1rem;
  border: 1px solid #767676;
  border-radius: 6px;
  background: #fff;
  color: #2f2f2f;
}

/* ---------- provider rows: the conversion target ----------
   Whole row is one anchor so name and number are a single 56px-tall
   target, comfortably over Apple 44pt / Google 48dp. Rows are separated
   by a border rather than a fixed 300px <hr>. */
.providers { display: block; margin: 1.6rem auto 2.4rem; max-width: 46rem; text-align: left; }
.provider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 5.6rem;
  padding: 1rem 1.4rem;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  margin-bottom: .8rem;
  color: #2f2f2f;
  background: #fff;
}
.provider:hover { color: #2f2f2f; border-color: #224afa; }
.provider:active { background: #eef1ff; border-color: #224afa; }
/* min-width:0 defeats the flex default of min-width:auto, so an unbreakable
   name (e.g. "Barger/Wilkening") shrinks instead of shoving .provider-tel
   past the card edge -- shows up hardest under browser text scaling. */
.provider-name { font-size: 1.7rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
/* underlined + weighted so the number does not rely on hue alone */
.provider-tel {
  font-size: 1.8rem;
  font-weight: 700;
  color: #224afa;
  white-space: nowrap;
  text-decoration: underline;
}
.provider-note { font-size: 1.5rem; color: #767676; text-align: center; margin: 0 0 1.2rem; }

/* neighbourhood labels between provider groups */
.area-label {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  font-style: normal;
  color: #2f2f2f;
  text-align: center;
  margin: 2.4rem 0 1rem;
}

/* ---------- homepage area list ----------
   Real anchors, so the homepage works with JS off and the location pages
   are crawlable. Same 56px row target as .provider. */
.lede { font-size: 1.7rem; color: #555; margin: 0 0 2rem; }
.area-list { display: block; max-width: 46rem; margin: 0 auto 2.4rem; text-align: left; }
.area-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 5.6rem;
  padding: 1rem 1.6rem;
  margin-bottom: .8rem;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
}
.area-list a:active { background: #eef1ff; border-color: #224afa; }
.area-name { font-size: 1.8rem; font-weight: 600; color: #224afa; }
.area-state { font-size: 1.4rem; font-weight: 600; color: #767676; letter-spacing: .04em; }

/* ---------- all-locations chips ---------- */
.all-locations { margin: 2.4rem 0; text-align: center; font-size: 1.6rem; }
.all-locations b { display: block; margin-bottom: .8rem; font-weight: 700; }
/* the 404 page heads the list with a real h2 (it is the page's only section);
   size it like the <b> label so the list looks the same everywhere */
.all-locations h2 { font-size: 1.6rem; line-height: 1.55; margin: 0 0 .8rem; }
.all-locations a {
  display: inline-block;
  min-height: 4.4rem;
  line-height: 4.4rem;
  padding: 0 1.4rem;
  margin: .3rem .2rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
}
.all-locations a:active { background: #eef1ff; border-color: #224afa; }

/* ---------- contact / footer ---------- */
.contact { text-align: center; font-size: 1.6rem; margin: 2.4rem 0; }
.contact a { display: inline-block; min-height: 4.4rem; line-height: 4.4rem; }
.contact img { vertical-align: middle; }

/* contact links live in loose <center> markup on several pages, so target
   them by href rather than restructuring that markup */
a[href^="mailto:"],
a[href*="instagram.com"] {
  display: inline-block;
  min-height: 4.4rem;
  line-height: 4.4rem;
}

.footer {
  background: #f1f1f1;
  padding: 1.6rem;
  text-align: center;
  margin-top: 3rem;
  font-size: 1.6rem;
}
.footer a {
  display: inline-block;
  min-height: 4.4rem;
  line-height: 4.4rem;
  padding: 0 1rem;
  margin: 0 .2rem;
}

/* ---------- larger screens ---------- */
@media only screen and (min-width: 40em) {
  .padder { padding-left: 2.4rem; padding-right: 2.4rem; }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.2rem; }
  .provider { padding: 1rem 1.8rem; }
}

/* ---------- keyboard focus ----------
   The new components defined :hover/:active but nothing for keyboard users.
   :focus-visible keeps the ring off mouse/touch taps. */
a:focus-visible,
select:focus-visible {
  outline: 3px solid #224afa;
  outline-offset: 2px;
  border-radius: 4px;
}
.provider:focus-visible,
.area-list a:focus-visible {
  outline: 3px solid #224afa;
  outline-offset: 2px;
  border-color: #224afa;
}

/* ---------- homepage explanatory copy ---------- */
.about { max-width: 46rem; margin: 0 auto 2.4rem; text-align: left; }
.about h2 { font-size: 1.9rem; margin: 2.4rem 0 .6rem; }
.about p { margin: 0 0 1.2rem; font-size: 1.6rem; color: #444; }
.steps { margin: 0 0 1.2rem; padding-left: 2.2rem; list-style: decimal; }
.steps li { font-size: 1.6rem; color: #444; margin-bottom: .6rem; }
.about-cta { font-size: 1.6rem; }

/* ---------- sponsored placements ---------- */
.sponsors { max-width: 46rem; margin: 0 auto 2.4rem; text-align: left; }
.sponsors h2 { font-size: 1.5rem; font-weight: 600; color: #767676; margin: 0 0 .8rem; }
.sponsors ul { list-style: none; margin: 0; padding: 0; }
.sponsors li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 4.4rem;
  padding: .6rem 0;
  border-bottom: 1px solid #ededed;
}
.sponsors li:last-child { border-bottom: 0; }
.sponsor-cat { font-size: 1.5rem; color: #555; min-width: 0; overflow-wrap: anywhere; }
.sponsors a { font-size: 1.6rem; font-weight: 600; white-space: nowrap; }
