/***************************************************************************/
/***************************************************************************/
/****  S E C T I O N S  :  R E S O U R C E S  ******************************/
/***************************************************************************/
/***************************************************************************/

body.resources .page_content_section .page_head {
  background-image: url(../../../../sites/default/files/images/sections/4B0A1667-26k-cb4f11.jpg);
}

.resources .cards.cards_two.resources_travel .stack_items {
  grid-gap: 6vw;
  margin: 120px 0;
}

.resources .cards.cards_two.resources_travel .stack_items .stack_item .stack_image {
  aspect-ratio: 1 / 1;
  margin-bottom: 2rem;
  border-bottom: 30px solid var(--color_app_orange);
}
.resources .cards.cards_two.resources_travel .stack_items .stack_item {
  background-color: #e9e9e0;
  padding-bottom: 30px;
}

.resources .cards.cards_two.resources_travel .stack_items .stack_item span {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 2.2rem;
  color: #222;
  padding: 0 2vw;
  margin-bottom: 0.2rem;
}

.resources .cards.cards_two.resources_travel .stack_items .stack_item p {
  font-family: study, serif;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: #555;
  padding: 0 2vw;
}

.resources .page_content_section .page_head {
  margin-bottom: 0;
}

.resources .stack_row .stack_items {
  background-color: #111;
  grid-gap: 0;
}
.resources .stack_row.resources_digilab .stack_items {
  background-color: #222;
}

/*
.resources .resources_print_lab.stack_row .stack_items .stack_item,
.resources .resources_print_lab.stack_row .stack_items .stack_item .stack_image,
.resources .resources_digilab.stack_row .stack_items .stack_item,
.resources .resources_digilab.stack_row .stack_items .stack_item .stack_image {
  min-height: calc(100vw / 3);
  background-color: #111;
}
*/

@media screen and (max-width: 1400px) {
  .stack_row .stack_items .stack_item,
  .stack_row .stack_items .stack_item .stack_image {
    height: unset;
  }

  .stack_row.stack_two_image_text.wider_left .stack_items,
  .stack_row.stack_two_text_image.wider_left .stack_items {
    grid-template-columns: 3fr 2fr;
  }

  .stack_row.stack_two_image_text.wider_right .stack_items,
  .stack_row.stack_two_text_image.wider_right .stack_items {
    grid-template-columns: 2fr 3fr;
  }

  .stack_row.stack_two_image_text.wider_left .stack_items .stack_item .stack_image,
  .stack_row.stack_two_text_image.wider_right .stack_items .stack_item .stack_image {
    aspect-ratio: unset;
    height: calc(100vw / 2.5);
  }
}

@media screen and (max-width: 640px) {
  .stack_row.stack_two_image_text.wider_left .stack_items,
  .stack_row.stack_two_text_image.wider_left .stack_items,
  .stack_row.stack_two_image_text.wider_right .stack_items,
  .stack_row.stack_two_text_image.wider_right .stack_items {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }

  .stack_row.stack_two_image_text .stack_item span,
  .stack_row.stack_two_text_image .stack_item span {
    margin-top: 30px;
  }

  .stack_row.stack_two_image_text .stack_items .stack_item:first-of-type {
    order: 2;
    height: auto;
  }
  .stack_row.stack_two_image_text .stack_items .stack_item:last-of-type {
    order: 1;
  }
}

/*
@media screen and (max-width: 768px) {
  .resources .resources_print_lab.stack_row .stack_items,
  .resources .resources_digilab.stack_row .stack_items {
    grid-template-columns: 1fr;
  }

  .resources .resources_print_lab.stack_row .stack_items .stack_item,
  .resources .resources_digilab.stack_row .stack_items .stack_item {
    height: auto;
  }
  .resources .resources_print_lab.stack_row .stack_items .stack_item .stack_image,
  .resources .resources_digilab.stack_row .stack_items .stack_item .stack_image {
    height: 40vh;
  }

  .resources .resources_digilab.stack_row .stack_items .stack_item:last-child {
    padding: 0 12.5% 20px;
  }

  .resources .resources_print_lab.stack_row .stack_items .stack_item:first-child {
    order: 2;
    padding: 0 12.5% 20px;
  }
  .resources .resources_print_lab.stack_row .stack_items .stack_item:last-child {
    order: 1;
  }
}
*/

@media screen and (max-width: 480px) {
  .stack_row.stack_two_image_text.wider_right .stack_items,
  .stack_row.stack_two_text_image.wider_right .stack_items,
  .stack_row.stack_two_image_text.wider_left .stack_items,
  .stack_row.stack_two_text_image.wider_left .stack_items {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }

  .stack_row.stack_two_image_text.wider_right .stack_item span,
  .stack_row.stack_two_text_image.wider_left .stack_item span {
    margin-top: 30px;
  }
}

.resources .cards.section_cards {
  padding-top: 5vw;
  padding-bottom: 0;
}

.cards.section_cards .stack_items,
.resources .cards.section_cards .stack_items {
  grid-template-columns: repeat(2, 1fr) !important;
  margin: 10vw 0 10vw 0;
  /*margin-bottom: 180px;*/
}
.resources .cards.section_cards .stack_items:first-of-type {
  margin-top: 10vw;
  margin-bottom: 10vw;
}
.resources .cards.section_cards .stack_items:last-of-type {
  margin-bottom: 10vh;
}

@media screen and (max-width: 820px) {
  .resources .cards.section_cards .stack_items .stack_item span {
    font-size: 1.5rem;
    line-height: 1.7rem;
    margin-top: 10px;
  }
  .resources .cards.section_cards .stack_items .stack_item span.subhead {
    font-size: 0.7rem;
    line-height: 1.2rem;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 640px) {
  .resources .cards.section_cards .stack_items {
    grid-template-columns: 1fr !important;
    grid-gap: 10vh;
  }

  .cards.section_cards .stack_items:first-of-type,
  .cards.section_cards .stack_items:last-of-type {
    margin-top: 0;
    margin-bottom: 10vh;
  }
}
