body { font-family: 'Roboto', sans-serif; font-size: 18px; }
h1, h2, h3, h4, h5, h6 { font-family: 'DM Serif Text', serif; }

.text-serif
{ font-family: 'DM Serif Text', serif; }

.text-newmount { color: rgb(54,125,162); }
.bg-newmount { background: rgb(54,125,162); }
.bg-newmount-40 { background: rgba(54,125,162,0.4); }
.bg-dark-newmount { background: rgb(31, 72, 93); }
.bg-dark-newmount a { color: #fff; }
.bg-dark-newmount a:hover { color: rgb(54,125,162); }
.btn-outline-newmount
{ color: rgb(54,125,162); border-color: rgb(54,125,162); }

.btn-outline-newmount:hover
{ color: #ffffff; background-color: rgb(54,125,162); border-color: rgb(54,125,162); }

.btn-outline-newmount:not(:disabled):not(.disabled).active, .btn-outline-newmount:not(:disabled):not(.disabled):active, .show>.btn-outline-newmount.dropdown-toggle {
color: #ffffff;
background-color: rgb(54,125,162);
border-color: rgb(54,125,162);
}

article
{ font-size: 21px; }

/* Homepage photo. The photo layer extends --hero-shift above and below the
   banner, which is the spare room the scroll parallax moves it through. */
.hero { --hero-shift: 40px; position: relative; height: 350px; overflow: hidden; }
.hero-photo { position: absolute; left: 0; right: 0; top: calc(var(--hero-shift) * -1); bottom: calc(var(--hero-shift) * -1); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }
.hero-overlay { position: relative; background: rgba(54,125,162,0.4); }

@media (min-width: 768px) {
  .hero { --hero-shift: 80px; }
}

/* Mobile: light tint that deepens behind the text at the bottom. --hero-trim cuts
   that much off the top of the banner without moving or resizing the photo. */
@media (max-width: 575.98px) {
  .hero { --hero-shift: 35px; --hero-trim: 60px; height: calc(400px - var(--hero-trim)); }
  .hero-photo { top: calc(var(--hero-shift) * -1 - var(--hero-trim)); background-position: 70% 50%; }
  .hero-overlay { background: linear-gradient(to top, rgba(31,72,93,0.85), rgba(31,72,93,0.75) 80px, rgba(54,125,162,0.1) 145px); }
}

/* Homepage welcome text: on mobile, closes to three lines, fading out, and a Read more link */
.read-more
{ display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.75rem 0 0; background: none; border: 0; color: rgb(54,125,162); font-size: 1rem; font-weight: 700; }

.read-more svg { transition: transform 0.3s ease; }
.read-more[aria-expanded="true"] svg { transform: rotate(180deg); }

.read-more:focus-visible
{ outline: 2px solid rgb(54,125,162); outline-offset: 2px; }

@media (max-width: 575.98px) {
  .welcome-more { display: grid; grid-template-rows: 1fr; position: relative; transition: grid-template-rows 0.35s ease; }
  .welcome-more.is-closed { grid-template-rows: 0fr; }
  .welcome-more-inner { min-height: 4.5em; overflow: hidden; }
  .welcome-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.25em; background: linear-gradient(rgba(255,255,255,0), #fff); opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
  .welcome-more.is-closed::after { opacity: 1; }
  /* keeps links in the hidden text out of the keyboard order */
  .welcome-more a { transition: visibility 0.35s; }
  .welcome-more.is-closed a { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-more, .welcome-more::after, .welcome-more a, .read-more svg { transition: none !important; }
}

/* Mobile menu: button sits left of the logo, menu opens below the logo band */
.menu-button
{ left: 0.5rem; width: 48px; height: 48px; padding: 8px; background: none; border: 0; border-radius: 6px; color: #fff; line-height: 0; }

.menu-button:focus-visible
{ outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 991.98px) {
  .main-nav.navbar { padding: 0; background: rgb(31, 72, 93) !important; }
  .main-nav .navbar-nav { padding: 0.5rem 0; }
  .main-nav .navbar-nav .nav-link { color: #fff; padding: 0.65rem 0.5rem; }
  .main-nav .navbar-nav .nav-link.active { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em; }
}

/*
@media (prefers-color-scheme: dark) {
	body
	{background: #212529; color: #abb2bf;}
	
	.text-dark
	{color: #dee2e6 !important;}
	
	.bg-light
	{background: #353b45 !important;}
	
	
	h1, h2, h3, h4, h5, h6
	{color: #dee2e6 !important;}
	
	a
	{color: #dee2e6;}
	
    a:hover:
	{color: #fff;}
	
	nav a
	{color: #dee2e6 !important;}


  	img {
	  opacity: .75;
	  transition: opacity .5s ease-in-out;
	}
	img:hover {
	  opacity: 1;
	}
  
}*/