/**
 * Styling for the homepage
 */

/********** GLOBAL SISTERS REPORT STYLING***************/

.main .item-list li {
  margin-left: 0;
  list-style: none;
}
.main #content a {
  text-decoration: none;
}
.front .page-title-wrapper {
  display: none;
}
.main .layout__region--second h2 {
  margin-left: 0;
}
.page-community-news .block-dfp,
.main .block-dfp {
  text-align: center !important;
}
#block-dfptagcontent1,
#block-dfptagcontent2-2,
.block-dfp p {
  text-transform: uppercase;
  font-family: "Roboto", 'Helvetica', 'Arial', sans-serif;
  font-size: .6rem !important;
  font-weight: 500;
}
.front .block > h2 {
  font-size: 1.7rem;
  line-height: 1.8rem;
  letter-spacing: -0.25px;
  font-weight: 300 !important;
  color: #480571 !important;
  margin: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.front .block > h2 a {
  color: #480571 !important;
}
.front .topic-name,
.front .column-name {
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .1rem;
  font-size: .8rem;
  text-align: left;
  line-height: 1rem;
  padding-bottom: .5rem;
}
.front .topic-name a,
.front .column-name a {
  color: #480571;
}
.front h4,
.front h4 {
  font-size: .9rem;
  margin: 1rem;
  letter-spacing: .1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #480571;
}
.front h4 {
  color: #480571;
}
.front .views-field-field-lead-media-image {
  margin-bottom: 1rem;
}
.front .views-field-field-lead-media-image img {
  min-width: 100%;
}
.page-community-news .more-link a,
.page-community-news .submit-link a,
.front .more-link a,
.front .submit-link a {
  text-decoration: none !important;
  border-bottom: 1px solid;
}
.front .layout--twocol-section.layout--twocol-section--33-67 > .inner > .layout__region--second,
.front .layout--twocol-section.layout--twocol-section--67-33 > .inner > .layout__region--first {
  flex: auto;
}
.front .absolute-position-more-link {
  position: relative;
  margin-bottom: 3rem;
}
.front .absolute-position-more-link .more-link {
  position: absolute;
  bottom: -2rem;
}

/****************************************************************
*** 1. HERO STORY - MOBILE
*****************************************************************/

.front .layout--twocol-section:first-child {
  display: block;
  padding-bottom: 4rem;
}
.front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 {
  padding-bottom: 1rem;
}
.front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .views-row:last-child {
  border-bottom: none;
}
.front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .hero-story h3 {
  font-size: 1.8rem;
  line-height: 2.2rem;
}
.front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .hero-story p {
  text-align: left;
  line-height: 150%;
  margin-top: 1rem !important;
}

/*This makes the hero image bleed on the mobile */
.front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .hero-story .featured-image {
  width: 109%;
  margin: 0 -4.5%;
}
.front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .hero-story .byline-wrapper .node--type-author {
  justify-content: center;
}
.front .byline-wrapper .field--name-field-profile-media-image {
  padding-right: .5rem;
}
.front .hero-text .byline {
  margin-left: .5rem;
}
.front .hero-text h3 {
  margin-bottom: 1rem;
  font-weight: 400;
}

@media all and (min-width: 800px) {
  .front .layout--twocol-section:first-child > .inner {
    display: grid;
    grid-template-columns: 53% 43%;
    grid-column-gap: 4%;
  }

  /*This takes away hero image bleed on the mobile */
  .front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .hero-story .featured-image {
    width: 100%;
    margin: 0;
  }
}

@media all and (min-width: 900px) {
  .front .layout--twocol-section:first-child > .inner {
    grid-template-columns: 67% 33%;
    grid-column-gap: 0;
  }
}

@media all and (min-width: 1100px) {
  .front .layout--twocol-section:first-child > .inner {
    display: grid;
    grid-template-columns: 75% 25%;
  }
}

/****************************************************************
*** 2. MOST RECENT - MOBILE
*****************************************************************/

.front .block-views-blocklatest-news-block-5 .block>h2,
.front .block-views-blocklatest-news-block-5 h2 {
  padding-top: 0 !important;
  margin-top: 2rem;
  padding-bottom: 0;
  font-size: 1.2rem;
  margin-left: 0;
}
.front .block-views-blocklatest-news-block-5 h3 {
  padding-bottom: 0;
  padding-top: 0;
}
.front .block-views-blocklatest-news-block-5 h3 {
  font-size: 1.15rem;
  line-height: 1.5rem;
  font-weight: 300;
}

/****************************************************************
*** 3. LATEST COLUMNS - MOBILE
*****************************************************************/

.front .layout--twocol-section--33-67,
.front .layout--twocol-section--33-67 > .inner {
  display: block;
}

@media screen and (max-width: 600px) {
  .front .layout--twocol-section--33-67 > .inner {
    display: flex;
    flex-direction: column;
  }
  .front .layout--twocol-section--33-67 .inner .layout__region.layout__region--second {
    order: 1;
  }
  .front .layout--twocol-section--33-67 .inner .layout__region.layout__region--first {
    order: 2;
  }
}

.front .block-views-blockgsr-columns-block-1 {
  position: relative;
}


.front .block-views-blockgsr-columns-block-1 > h2 {
  font-size: 1.6rem;
  margin-left: 0;
  text-align: center;
  padding-bottom: 2rem;
}
.front .block-views-blockgsr-columns-block-1 > h2:before {
  content: none;
  margin: 0;
}
.front .layout--twocol-section--33-67 h3 {
  font-style: italic;
}
.front .block-views-blockgsr-columns-block-1 .views-row {
  border-bottom: 0;
  margin: 0;
}
.front .block-views-blockgsr-columns-block-1 p {
  padding-top: 0;
}
.front .block-views-blockgsr-columns-block-1 h3 {
  margin-top: 0;
  font-size: 1.6rem;
  line-height: 120%;
  font-style: italic;
  font-weight: 300;
}
.front .block-views-blockgsr-columns-block-1 .view-content {
  display: block;
}
.front .latest-columns-hero .views-field-field-article-teaser {
  margin: 1rem 0;
}
.front .block-views-blockgsr-columns-block-5 .views-row {
  padding: 0;
  margin: 0 0 1rem 0;
}
.front .block-views-blockgsr-columns-block-5 h3 {
  padding-bottom: 0;
}

/****************************************************************
*** 4. EDITOR'S CHOICE
*****************************************************************/

.front .editors-choice .block-views-blockgsr-editor-s-choice-block-3 .view-content {
  padding: 1rem;
  margin-left: 0;
}

/* This is an empty field above the title that adds unecessary padding */
.front .editors-choice .views-field.views-field-field-ncr-section.section-subsection {
  display: none;
}
.front .editors-choice .avatar img {
  margin-bottom: -1rem;
}

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

  /* EDITORS CHOICE: Content wrapper */
  .front .view-id-gsr_editor_s_choice.view-display-id-block_3 .view-content-wrapper {
    display: grid;
    grid-template-columns: 48% 48%;
    grid-column-gap: 4%;
  }

  /* EDITORS CHOICE: This makes the content go horizontal for larger screens */
  .front .view-id-gsr_editor_s_choice.view-display-id-block_3 .view-content-wrapper > .view-content {
    display: block;
  }

  /* EDITORS CHOICE: The list at the end */
  .front .view-id-gsr_editor_s_choice.view-display-id-block_3 .editors-choice-list .view-content-wrapper .view-content {
    display: block;
  }

  /* EDITORS CHOICE: H3 */
  .front .view-id-gsr_editor_s_choice.view-display-id-block_3 .attachment h3 {
    font-size: 1.2rem;
    font-weight: 100;
    line-height: 150%;
    margin: 0;
    padding: 0;
  }
}

@media all and (min-width: 1100px) {

  /* EDITORS CHOICE: Content wrapper */
  .front .view-id-gsr_editor_s_choice.view-display-id-block_3 .view-content-wrapper {
    display: grid;
    grid-template-columns: 67% 33%;
    grid-column-gap: 0;
  }
  .front .view-id-gsr_editor_s_choice.view-display-id-block_3 .attachment {
    width: 92%;
    margin-left: 8%;
  }

  /* EDITORS CHOICE: This makes the content be a 2-column grid. */
  .front .view-id-gsr_editor_s_choice.view-display-id-block_3 .view-content-wrapper > .view-content {
    display: grid;
    grid-template-columns: 48% 48%;
    grid-column-gap: 4%;
  }
}

/* This removes the title outside the focus box */
.front .block-views-blockin-focus-block-for-gsr-front-page-block-1 > h2 {
  display: none !important;
}
.front .in-focus .in-focus-image img {
  max-width: 300% !important;
}
.front.landing-page .in-focus .views-field.views-field-title,
.front.landing-page .in-focus .views-field-field-article-teaser {
  max-width: 900px;
}

@media screen and (min-width: 800px) {
  .front .in-focus .attachment .in-focus-title {
    color: #fff;
  }
  .front.landing-page .in-focus .attachment {
    padding-bottom: 2rem;
  }
} /* <------ @media screen and (min-width: 800px) */

@media all and (min-width: 900px) {
  .front .in-focus h2::before {
    border-top: 1px solid #fff !important;
  }
}

/****************************************************************
*** 5. ARTS & MEDIA + BOOKS - MOBILE
*****************************************************************/

.front .block-views-blockgsr-channels-for-gsr-front-page-block-2 .views-field-field-article-teaser {
  display: none;
}

/****************************************************************
*** 6. FEATURE SERIES - MOBILE
*****************************************************************/

.front .block-views-blockfeature-series-list-block-2 h2 {
  margin-left: -4.3rem;
  font-size: 1.6rem;
  padding-top: 0;
}

.front .block-views-blockfeature-series-list-block-2 h3 {
  font-weight: 800;
}
.front .feature-series-list .view-content {
  display: grid;
}
.front .feature-series-list .views-row {
  border-bottom: none;
}
.front .feature-series-list .more-link {
  text-align: right;
}
.front .feature-series-list .views-row .more-link {
  text-align: left;
}

@media screen and (min-width: 800px) {
  .front .block-views-blockfeature-series-list-block-2 {
    position: relative;
  }
  .front .feature-series-list .more-link {
    position: absolute;
    top: 0;
    right: 1rem;
  }

  .front .feature-series-list .views-row .more-link {
    position: initial;
    top: initial;
    right: initial;
  }
}

/****************************************************************
*** 7. COMMUNITY NEWS - MOBILE
*****************************************************************/

.front .block-views.block-views-blockgsr-community-news-block-1 {
  border-top: 2px solid #ddd;
}
.front .block-views-blockgsr-community-news-block-1 .views-field-field-commnews-event-date {
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #480571;
  font-family: roboto, sans-serif;
}
.front .block-views.block-views-blockgsr-community-news-block-1 .more-link {
  left: 0;
  bottom: -1rem;
  color: #480571;
}
.front .block-views.block-views-blockgsr-community-news-block-1 .submit-link {
  position: absolute;
  left: 0;
  bottom: -3rem;
  color: #480571;
}
.front .block-views.block-views-blockgsr-community-news-block-1 p {
  padding-left: 0;
}

/****************************************************************
*** 8. Q&A - MOBILE
*****************************************************************/
.front .block-views-blockgsr-channels-for-gsr-front-page-block-3 {
  position: relative;
}
.front .block-views-blockgsr-channels-for-gsr-front-page-block-3 .views-field-field-article-teaser {
  display: none;
}
.front .block-views-blockgsr-channels-for-gsr-front-page-block-3 .more-link {
  position: absolute;
  /* The relative is .front .block-views-blockgsr-channels-for-gsr-front-page-block-3 */
  bottom: -3rem;
}

/****************************************************************
*** 9. GSR IN THE CLASSROOM - MOBILE
*****************************************************************/

.front .block-inline-blockbasic {
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 0;
}
.layout.landingpage-gsr-classroom-section .block h2 {
  text-align: center;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: .1rem;
  font-size: 1.6rem;
}
.front .block-inline-blockbasic h2::before {
  display: none;
}
.front .block-inline-blockbasic h3 {
  margin-top: 0;
  padding-top: 0;
  text-align: left;
  font-weight: 800;
}
.front .block-inline-blockbasic p {
  text-align: left;
  padding-top: 0;
  font-size: 1rem;
  line-height: 1.5rem;
}
.front .landingpage-gsr-classroom {
  justify-content: center;
  width: 100%;
  font-size: .8rem;
  padding-left: 0;
  display: flex;
  flex-flow: column;
  margin-top: 0;
  color: black;
}
.layout.landingpage-gsr-classroom-section img {
  width: 100%;
}
.front .landingpage-gsr-classroom h3 {
  text-transform: none;
}
.front .landingpage-gsr-classroom ul {
  font-family: "Roboto", 'Helvetica', 'Arial', sans-serif;
  text-transform: uppercase;
  color: #480571;
  list-style: none;
  display: flex;
  flex-flow: column;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 0 0 1rem;
}
.front .landingpage-gsr-classroom ul a {
  color: #480571;
  border-bottom: 1px solid;
  margin-right: 2rem;
}

/* DESKTOP **********************************************************************************************************************/
@media screen and (min-width: 900px) {
  .front .block > h2,
  .front .block > h2 {
    padding-top: 3rem;
    font-size: 1.6rem;
    font-weight: 400 !important;
    padding-bottom: 1.5rem;
  }
  .front .layout__region--second h2 {
    margin-left: 0;
  }
  .front .layout--twocol-section.layout--twocol-section--67-33>.layout__region--first {
    flex: 0 1 75%;
  }
  .front .layout--twocol-section.layout--twocol-section--67-33>.layout__region--second {
    flex: 0 1 25%;
  }

  /****************************************************************
  *** 1. HERO STORY - DESKTOP ************************************/
  .front .layout--twocol-section--33-67 > .inner {
    display: grid;
    grid-template-columns: 33% 64%;
    grid-column-gap: 3%;
  }
  .front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 {
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: 2px solid #ddd;
  }
  .front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .views-row:last-child {
    border-bottom: 0;
  }
  .front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 h3 {
    font-size: 2.5rem !important;
    line-height: 3rem !important;
  }

  /*This makes the hero image bleed on the desktop */
  .front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 .hero-story p {
    font-size: 0.9rem;
    max-width: 550px;
  }
  .front .hero-story p.byline {
    margin: 0;
  }
  .front .hero-story .byline-wrapper {
    justify-content: left;
    width: 26%;
    float: left;
    display: inline-block;
    text-align: right;
  }
  .front .hero-text .byline {
    text-align: right;
    display: inline-block;
    padding-top: 1rem;
  }
  .front .hero-text p {
    float: left;
    width: 60%;
    padding-left: 3rem !important;
    padding-top: 1rem;
  }
  .front .block-views-blockglobal-sisters-report-front-page-curated-stories-block-2 {
    border-bottom: 0;
  }

  /****************************************************************
  *** 2. MOST RECENT - DESKTOP ************************************/
  .front .block-views-blocklatest-news-block-5 .block > h2,
  .front .front .block-views-blocklatest-news-block-5 h2 {
    margin-top: 1.5rem;
    margin-left: 0;
  }
  .front .block-views-blocklatest-news-block-5 h3 {
    font-size: 1.15rem;
  }

  /* MOST RECENT: Removes the bottom row of the last item */
  @media screen and (min-width: 900px) {
    .front .view-latest-news .views-row:last-child {
      display: block;
      border-bottom: 0;
    }
  }

  /****************************************************************
  *** 3. LATEST COLUMNS - DESKTOP  **********************************/

  /* LATEST COLUMNS: Title */
  .front .block-views-blockgsr-columns-block-1 h2 {
    position: absolute;
    top: -5rem;
    font-size: 2rem;
    background: white;
    padding: 1rem;
    font-weight: 400 !important;
  }

  /* This removes the default additional styling to this specific H2 */
  .front .block-views-blockgsr-columns-block-1 h2::before {
    display: none;
  }
  .front .block-views-blockgsr-columns-block-1 h3 {
    margin: 1rem 0;
    font-size: 2rem;
  }

  /* LATEST COLUMNS: 2-column below the hero story */
  .front .view-id-gsr_columns.view-display-id-attachment_2 .view-content-wrapper {
    margin-bottom: 2rem;
  }

  /* LATEST COLUMNS: Main column content wrapper - This makes the bottom stories to go horizontal */
  .front .block-views-blockgsr-columns-block-1 .attachment .view-content {
    display: grid;
    grid-template-columns: 50% 47%;
    grid-column-gap: 3%;
  }

  /* LATEST COLUMNS: 2-column below the hero story - this adds a horizontal line between stories */
  .front .block-views-blockgsr-columns-block-1 .view-id-gsr_columns .view-display-id-attachment_2 .views-row:first-child {
    border-right: 2px solid #ddd;
    box-sizing: border-box;
    padding-right: 6%;
  }

  /* LATEST COLUMNS: Long column - Top story */
  .front .layout--twocol-section.layout--twocol-section--33-67 > .inner > .layout__region--first .attachment .views-row:last-child {
    border-bottom: 2px solid #ddd;
    padding-bottom: 1rem;
  }

  /* LATEST COLUMNS: Long column - Article titles  */
  .front .block-views-blockgsr-columns-block-5 h3 {
    padding-top: 0;
  }


  /* LATEST COLUMNS: Long column - This removes the border-bottom from the last child */
  .front .layout--twocol-section.layout--twocol-section--33-67 > .inner > .layout__region--first .views-row:last-child {
    border-bottom: 0;
  }

  /****************************************************************
  *** 7. COMMUNITY NEWS - DESKTOP ***********************************/
  .front .block-views.block-views-blockgsr-community-news-block-1 {
    position: relative;
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1>h2 {
    position: absolute;
    top: -2rem;
    font-size: 2rem;
    background: white;
    padding: 1rem;
    font-weight: 400 !important;
    margin-left: 38%;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .more-link {
    text-align: center;
    top: -.5rem;
    right: unset;
    position: inherit;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .submit-link {
    text-align: center;
    position: inherit;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .more-link a,
  .front .block-views.block-views-blockgsr-community-news-block-1 .submit-link a {
    color: #480571;
    font-weight: 500;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1>h3 {
    font-size: 1.5rem;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .view-content {
    flex-flow: row;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .view-content .views-row {
    display: flex;
    flex-flow: column;
    border-bottom: 0;
    padding: 1rem;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .view-content .views-row:nth-child(2) {
    border-right: 2px solid #ddd;
    border-left: 2px solid #ddd;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .view-content .views-row:first-child {
    padding-left: 0;
  }
  .front .block-views.block-views-blockgsr-community-news-block-1 .view-content .views-row:last-child {
    padding-right: 0;
  }

  /****************************************************************
  *** 8. Q&A - DESKTOP ******************************************/
  .front .block-views-blockgsr-channels-for-gsr-front-page-block-3 .views-field-field-article-teaser {
    display: block;
  }

  /****************************************************************
  *** 9. GSR IN THE CLASSROOM - DESKTOP ******************************************/
  .front .layout__region.layout__region--first p {
    padding: 0;
    margin: 0;
  }
  .front .landingpage-gsr-classroom ul {
    flex-flow: row;
    justify-content: center;
    padding-left: 0;
  }
  .front .block-inline-blockbasic .layout--twocol-section {
    flex-wrap: nowrap;
  }
  .front .block-inline-blockbasic .layout__region {
    display: flex;
    flex-flow: row;
  }
  .front .block-inline-blockbasic .layout__region.layout__region--first {
    justify-content: right;
    padding-right: 2rem;
  }
  .front .block-inline-blockbasic .layout__region.layout__region--first {
    justify-content: left;
  }
  .front .block-inline-blockbasic h3 {
    text-align: left;
    font-weight: 800;
    width: 75%;
    padding-left: 0;
  }
  .front .landingpage-gsr-classroom p {
    text-align: left;
    padding-top: 0;
    font-size: .8rem;
  }
  .front .landingpage-gsr-classroom .layout__region ul {
    flex-flow: row;
    margin-left: 84.5%;
    margin-top: 0;
  }

  /****************************************************************
  *** 10. GSR IN SPANISH -  DESKTOP ******************************************/
  /* This set a consistent image size inside the 2-3 COLUMNS on the front page*/
  .front .block-views-blockgsr-in-spanish-block-1 .main-plus-three-column .three-other-stories img {
    min-width: 200px;
  }
}

@media screen and (min-width: 40em) {

  .front .layout--twocol-section.layout--twocol-section--33-67 > .inner > .layout__region--second,
  .front .layout--twocol-section.layout--twocol-section--67-33 > .inner > .layout__region--first {
    flex: 0 1 75%;
  }
}

/* <--------@media screen and (min-width: 40em) */
