@import url(https://fonts.googleapis.com/css?family=Droid+Serif);

/* normalize.css v2.1.2 | MIT License | git.io/normalize
---------------------------------------------------------------- */

article,
aside,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a:focus {
  outline: 3px solid rgba(37, 99, 69, 0.35);
  outline-offset: 3px;
}

a:active,
a:hover {
  outline: 0;
}

small {
  font-size: 80%;
}

img {
  border: 0;
}

/* GENERAL
------------------------------------------ */
:root {
  --bg: #f6f7f1;
  --surface: #ffffff;
  --surface-soft: #eef4eb;
  --text: #24302a;
  --muted: #66736a;
  --border: #d9e1d6;
  --green: #256345;
  --green-dark: #163f2b;
  --blue: #225d86;
  --shadow: 0 16px 40px rgba(22, 63, 43, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  background:
    linear-gradient(180deg, rgba(238, 244, 235, 0.9) 0%, rgba(246, 247, 241, 0) 22rem),
    var(--bg);
  color: var(--text);
  font: 100%/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  font-weight: 300;
}

h2,
h3,
h4,
h5,
.nav-main a,
.button-link {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

h3 {
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.45rem, 3vw, 2rem);
  padding-bottom: 0.65rem;
}

h3 img {
  max-height: 2rem;
  vertical-align: middle;
}

h4 {
  font-size: 1.08rem;
  margin-top: 1.8rem;
}

h5 {
  color: var(--text);
  font-size: 1rem;
  margin-top: 1.3rem;
}

p,
li {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.55rem;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

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

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}


/* CONTAINERS
------------------------------------------ */
.page {
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100vh;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 3rem) 0 2.5rem;
}

main,
[role="main"] {
  flex: 1 1 620px;
  min-width: 0;
  max-width: 800px;
}

.sidebar {
  flex: 1 1 280px;
  max-width: 310px;
  min-width: 0;
}


/* MASTHEAD
------------------------------------------ */
.masthead {
  background: rgba(246, 247, 241, 0.94);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0 0.85rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-branding {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-bottom: 0.9rem;
}

.potomachills {
  color: var(--green-dark);
  font-family: 'Droid Serif', Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1;
  text-decoration: none;
}

.potomachills:hover {
  color: var(--green);
  text-decoration: none;
}

.tagline {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ::: Main Navigation ::: */
.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main li {
  margin: 0;
}

.nav-main a {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.72rem 0.95rem;
  text-decoration: none;
}

.nav-main a:hover {
  background: var(--surface-soft);
  border-color: #b8cbb8;
  color: var(--green-dark);
}

.nav-main .active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  cursor: default;
}


/* MAIN CONTENT
------------------------------------------ */
.post {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(217, 225, 214, 0.85);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.post:only-child {
  margin-bottom: 0;
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 54%, rgba(255, 255, 255, 0.18) 100%),
    url("../images/trees_from_phone.jpg") center right / cover;
  min-height: 28rem;
}

.kicker {
  color: var(--green);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.home-hero .post-blurb {
  max-width: 38rem;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.quick-facts li {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green-dark);
  font-weight: 700;
  margin: 0;
  padding: 0.45rem 0.75rem;
}

.post-photo {
  float: left;
  margin-bottom: 0.5rem;
  margin-right: 1.25rem;
  max-width: 62%;
}

.post-blurb p {
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.7;
}

.post ol,
.post ul {
  color: var(--text);
}

.post ol {
  background: rgba(238, 244, 235, 0.44);
  border-left: 4px solid var(--border);
  border-radius: 0 8px 8px 0;
  padding: 0.8rem 1rem 0.8rem 2rem;
}

.post h4 + ol {
  margin-top: 0.65rem;
}

.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.button-link {
  background: var(--green);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
}

.button-link:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

.email-link {
  overflow-wrap: anywhere;
}

/* ::: Blog Post Footer ::: */
.post-footer {
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding-bottom: 0.7em;
  padding-top: 0.7em;
}

.post-footer time:before {
  content: '•  ';
}

.post-footer a {
  font-weight: bold;
}


/* SIDEBAR
------------------------------------------ */
.sidebar .spacer {
  display: none;
}

.about,
.mod {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 1.3rem;
  overflow: hidden;
}

.about {
  padding: 1rem;
}

.about img {
  border-radius: 8px;
  display: block;
  margin-bottom: 1rem;
  width: 100%;
}

.about h2,
.mod h2 {
  color: var(--green-dark);
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.about p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.mod {
  padding: 1rem;
}

.mod h2 {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.map {
  border: 0;
  border-radius: 8px;
  display: block;
  height: 18rem;
  margin: 1rem 0 0.7rem;
  width: 100%;
}

.map-link {
  font-size: 0.92rem;
  margin-top: 0;
}

/* ::: Previous and Shared Posts ::: */
.links {
  margin: 1.5em 0 4.125em;
  padding-left: 0;
}

.links li {
  margin-bottom: 1.1em;
}

.links a {
  font-size: 1.125em;
  line-height: 1.195;
}


/* FOOTER
------------------------------------------ */
.footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  justify-content: space-between;
  padding: 1.4rem 0 2rem;
}

.footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer p small {
  font-size: inherit;
}

.footer-contact {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.footer-contact strong {
  color: var(--green-dark);
}

.social-sites {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-sites li {
  margin: 0;
}

.social-sites a {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.social-sites a:hover {
  background: var(--surface-soft);
}

.social-sites .social-text {
  color: var(--green-dark);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.social-sites img {
  height: 1.55rem;
  width: 1.55rem;
}


/* RESPONSIVE
------------------------------------------ */
@media (max-width: 820px) {
  .page {
    padding: 0 1rem;
  }

  .masthead {
    padding: 0.85rem 0;
    position: static;
  }

  .container {
    display: block;
    padding-top: 1.2rem;
  }

  main,
  [role="main"],
  .sidebar {
    max-width: none;
    width: 100%;
  }

  .sidebar {
    margin-top: 1.2rem;
  }

  .nav-main {
    flex-wrap: nowrap;
    margin: 0 -1rem;
    overflow-x: auto;
    padding: 0 1rem 0.2rem;
    -webkit-overflow-scrolling: touch;
  }

  .nav-main a {
    white-space: nowrap;
  }

  .home-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.9) 65%, rgba(255, 255, 255, 0.55) 100%),
      url("../images/trees_from_phone.jpg") center / cover;
    min-height: 0;
  }

  .post {
    padding: 1.15rem;
  }

  .post ol {
    padding-left: 1.65rem;
  }

  .footer {
    align-items: flex-start;
    display: block;
  }

  .social-sites {
    margin-top: 1rem;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 96%;
  }

  h1 {
    font-size: 2.35rem;
  }

  .site-branding {
    display: block;
  }

  .tagline {
    display: block;
    margin-top: 0.35rem;
  }

  .quick-facts {
    display: block;
  }

  .quick-facts li {
    border-radius: 8px;
    margin-bottom: 0.55rem;
  }

  .board-actions,
  .button-link {
    display: block;
    width: 100%;
  }

  .button-link {
    margin-bottom: 0.65rem;
    text-align: center;
  }
}


/* html5boilerplate.com Clearfix
--------------------------------- */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}
