/* Barry static site: additions on top of the Nicepage CSS. Loaded last. */

/* Each page's title over the banner photo is an <h1> (for search engines and screen
   readers) but keeps the look of the paragraph it was on the live site. */
h1.page-title {
  font-family: Lato, sans-serif;
  font-weight: 400;
  line-height: 1.5496011904761904;
  color: inherit;
}

/* Subheadings that were <h3>/<h4> on the live site are <h2> now (headings in order);
   they keep their old size. */
h2.look-h3 {
  font-size: 1.85rem;
  line-height: 1.1998885135135136;
}
h2.look-h4 {
  font-size: 1.5rem;
  line-height: 1.2;
}

/* Text for screen readers only (e.g. "Read More about Barry") */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Phone number on the Contact page: tappable on phones, looks like the text around it */
a.tel-link {
  color: inherit;
  text-decoration: none;
}

/* Space between paragraphs inside one block of text (replaces the blank line
   that <br><br> made on the live site); same 12px as the home page paragraphs. */
.pgap {
  display: block;
  height: 12px;
}

/* Five menu items don't fit beside the name at 992-1199px with the normal spacing
   (they covered it), so the top-level links are closer together there.
   !important: the links' normal padding is an inline style. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .u-header .u-nav-1 > .u-nav-item > .u-nav-link {
    padding: 10px 8px !important;
    font-size: 0.9375rem;
    line-height: 16px; /* same height as the normal links */
  }
}
