
/*************************************************************************
*** SECTIONS GENERAL STYLING
**************************************************************************/

.front h2::before,
.page-classroom-topics .block > h2::before,
.page-community-news .block > h2::before,
.page-how-use-gsr-classroom .main h2::before,
.section-earthbeat .main h2::before,
.earthbeat-landingpage .main h2::before,
.page-taxonomy-term .main h2::before,
.page-node-type-author .main h2::before {
  display: inline-block;
  content: "";
  border-top: 1px solid;
  width: 3rem;
  margin-right: 1rem;
  transform: translateY(-0.5rem);
}
.landing-page h2.with-margin,
.landing-page h3.with-margin,
.landing-page .views-field-title.with-margin {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}
.landing-page h2.with-margin-bottom,
.landing-page h3.with-margin-bottom,
.landing-page .views-field-title.with-margin-bottom {
  margin-bottom: 1rem !important;
}
.landing-page h2.with-margin-top,
.landing-page h3.with-margin-top,
.landing-page .views-field-title.with-margin-top {
  margin-top: 1rem !important;
}
.wide.landing-page .main h3 a,
.page-taxonomy-term .main h3 a,
.page-node-type-author .main h3 a {
  text-decoration: none;
  color: black;
}
.earthbeat-landingpage .main h4,
.page-taxonomy-term .main h4 {
  font-size: .9rem;
  margin: 1rem;
  letter-spacing: .1rem;
  font-weight: 300;
}
.wide.landing-page .views-field-field-article-teaser p,
.earthbeat-landingpage .views-field-field-article-teaser .main p,
.page-taxonomy-term .views-field-field-article-teaser .main p {
  font-size: .9rem;
  line-height: 150%;
}
.wide.landing-page .views-field-field-article-teaser,
.earthbeat-landingpage .views-field-field-article-teaser .main,
.page-taxonomy-term .views-field-field-article-teaser .main {
  margin: 1rem 0;
}
.page-node-type-author .view-footer a,
.earthbeat-landingpage .view-footer a,
.earthbeat-landingpage .submit-link,
.page-taxonomy-term .view-footer a,
.page-taxonomy-term .submit-link {
  font-family: Roboto, sans-serif;
  font-size: .75rem;
  line-height: 1rem;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: .03rem;
  text-decoration: underline;
}
.landing-page-width .layout.gray,
.page-taxonomy-term .layout.gray {
  background: #F2F2F2;
}

/*************************************************************************
*** AUTHORS - MOBILE
**************************************************************************/

.page-node-type-author .pager__items {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: .9rem;
}
.page-node-type-author .pager__items a {
  text-decoration: none;
  font-size: .9rem;
}
.page-node-type-author h3 {
  margin: .5rem 0;
}
.page-node-type-author .latest-news-date {
  margin: .5rem 0;
}
.page-node-type-author .block-field-blocknodeauthorbody p {
  margin-left: 1rem !important;
}

/*************************************************************************
*** SECTIONS: TOP MAIN + 2-3 COLUMNS + IN CASE YOU MISSED IT - MOBILE
**************************************************************************/

.page-sections-more .page-title h1,
.page-taxonomy-term .page-title h1 {
  text-indent: 0;
  margin-left: 0;
  font-size: 1.8rem;
  font-weight: 200;
  text-align: center;
  margin-bottom: 2rem;
}
.page-sections-more .page-title h1::before,
.page-sections-more .page-title h1::after,
.page-taxonomy-term .page-title h1::before,
.page-taxonomy-term .page-title h1::after {
  content: " / " ;   /* Slash as divider for menu items */
  padding-right: 2rem;
  color: black;
  font-weight: 200;
  font-size: 2.2rem;
  border-top: 0;
  width: 0;
  transform: none;
}
.page-sections-more .page-title h1::after,
.page-taxonomy-term .page-title h1::after {
  padding-left: 1.5rem;
  padding-right: 0;
}

/*************************************************************************
*** HEADLINES
**************************************************************************/

.landing-page .timeline-headlines .view-content-wrapper > .view-content {
  margin-left: 2rem;
}
.page-node-type-author .timeline-headlines .views-field-title {
  margin: 1rem 0;
  padding: 0;
  font-size: 1.3rem;
  line-height: 120%;
  font-weight: 400;
}
.feature-series-list h3 {
  font-weight: 800;
  margin: 1rem 0;
}
.feature-series-list .teaser {
  margin: 1rem 0;
}

/* Author bios */
.view-author-bio .author-name {
  font-weight: 500;
  font-size: 1.6rem;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  margin: 0.75rem 0;
}
.view-author-bio img {
  border-radius: 0.75rem;
  padding: 3px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
.page-node-type-author .block-views-blockarticles-by-author-block-2 {
  margin-top: 2rem;
}

@media screen and (min-width: 640px) {

  /* Author bio area */
  .view-author-bio .views-row {
    display: grid;
    grid-template-columns: 25% 72%;
    grid-column-gap: 3%;
  }
  .view-author-bio .author-name {
    margin: 0 0 0.75rem;
  }
}

@media screen and (min-width: 800px) {
  .feature-series .feature-series-description .views-row {
    display: grid !important;
    grid-template-columns: 48% 48%;
    grid-column-gap: 4%;
  }

  /* Author bio area */
  .view-author-bio .views-row {
    display: grid;
    grid-template-columns: 22% 75%;
    grid-column-gap: 3%;
  }
}

@media all and (min-width: 900px) {
  .front .block > h2 {
    margin-left: -4.3rem;
  }
  .page-node-type-author .block-views-blockarticles-by-author-block-2 {
    margin-top: 4rem;
  }
  .page-sections-more .page-title h1,
  .page-taxonomy-term .page-title h1 {
    margin-bottom: 2.5rem;
  }
  .page-sections-more .page-title h1::before,
  .page-sections-more .page-title h1::after,
  .page-taxonomy-term .page-title h1::before,
  .page-taxonomy-term .page-title h1::after {
    padding-right: 2.5rem;
  }
  .page-sections-more .page-title h1::after,
  .page-taxonomy-term .page-title h1::after {
    padding-left: 2rem;
    padding-right: 0;
  }
}

@media screen and (min-width: 1000px) {

  /*************************************************************************
   *** AUTHORS - DESKTOP
  **************************************************************************/

  /* Author bio area */
  .view-author-bio .views-row {
    display: grid;
    grid-template-columns: 200px auto;
    grid-column-gap: 2%;
  }
  .view-author-bio .views-field-title {
    padding-top: 1.5rem;
  }
  .page-node-type-author a {
    text-decoration: none;
  }
  .view-author-bio .author-name {
    font-size: 2rem;
    font-weight: 300;
  }
  .view-author-bio img {
    border-radius: 50%;
  }

  /*************************************************************************
   *** CHANNELS - DESKTOP
  **************************************************************************/

  .page-taxonomy-term .region-sidebar-first,
  .page-taxonomy-term .region-sidebar-floating {
    float: none;
  }
  .landing-page .timeline-headlines .view-content-wrapper > .view-content {
    margin-left: 4rem;
  }
  .timeline-headlines .view-content-wrapper > .view-content .views-row {
    display: grid;
    grid-template-columns: 30% 70%;
  }
  .timeline-headlines .view-content-wrapper > .view-content .views-field-title {
    margin-top: 0;
    grid-column: 2;
    grid-row: 1;
  }
  .timeline-headlines .view-content-wrapper > .view-content .views-field-field-article-teaser {
    grid-column: 2;
    grid-row: 3;
    margin-left: 4rem;
  }
  .timeline-headlines .view-content-wrapper > .view-content .views-field-field-article-teaser p {
    display: block;
  }
  .timeline-headlines .view-content-wrapper > .view-content .views-field-field-byline {
    grid-column: 2;
    margin-left: 4rem;
  }
  .timeline-headlines .attachment .views-row .views-field-field-byline {
    margin-left: 0;
  }
  .timeline-headlines .attachment {
    margin-bottom: 2rem;
  }
  .timeline-headlines .attachment .views-row {
    display: flex;
    flex-flow: column;
  }
  .timeline-headlines .views-row .contains-floated-image {
    grid-column: 1 / 1;
    grid-row: 1 / 6;
    padding-right: 1rem;
  }
}
