.home_page {
  width: 100%;
  margin-top: -50px;
  align-content: start
}
@supports (grid-area: auto){
  .home_page{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    " highlights "
    " advertisement "
    " news ";
  }
}

@media only screen and (min-width: 992px) {
  .home_page {
    width: 100%;
    height: 100%;
  }
  @supports (grid-area: auto){
    .home_page{
      display: grid;
      grid-template-columns: minmax(auto,3fr) minmax( 900px, 14fr) minmax(auto,3fr);
      grid-template-areas:
      " . highlights ."
      " . advertisement ."
      " . news .";
    }
  }
  @media only screen and (min-width: 2080px){
    .home_page{
      grid-template-columns: auto 1456px auto;
    }
  }
}
@supports not (grid-area: auto) {
  .home_page {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .home_page {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

embed

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.embeds li img{
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}
.embeds li {
  flex: 1;
  flex-basis: 30%;
  background-color: #FFFFFF;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.15));
  border-radius: 3px;
}

.embeds{
  grid-area: embeds;
  margin: 0;
  padding: 25px;
  display: flex;
  list-style-type: none;
}
@supports not (grid-area: auto){
  .embeds{
    max-width: 992px;
    width: 100%;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .embeds{
    max-width: 992px;
    width: 100%;
  }
}
@media only screen and (max-width: 991px) {
  .embeds{
    background-color: #FFFFFF;
    padding-left: 0;
    padding-right: 0;
  }
  .embeds li img {

    max-height: 290px;
    height: 100%;
    width: auto;
  }
  .embeds li img {
    max-height: 290px;
    height: 100%;
    width: auto;
    height: 200px;
    max-width: 100%;
}
  .embeds li {
  }
  .embeds {
    justify-content: center;
  }
}
@media only screen and (min-width: 992px) {
  .embeds {
    flex-wrap: wrap;
    padding: 25px 0;
    justify-content: space-between;
  }
  @supports (grid-area: auto){
    .embeds {
      padding: 0 0 25px 0;
      width: 100%;
    }
  }
  .embeds li {
    margin: 12.5px 12.5px;
    margin-bottom: 0;
    border-radius: 3px;
    overflow: hidden;
  }
  .embeds li:nth-child(-n + 3){
    margin-top: 0;
  }
  .embeds li:nth-child(3n+1) { /* 1st (3*0 + 1), 4th (3*1 + 1), 7th (3*2 + 1), etc */
    margin-left: 0;
  }
  .embeds li:nth-child(3n+3), /* 3rd (3*0 + 3), 6th (3*1 + 3), etc */
  .embeds li:last-child {
    margin-right: 0;
  }
}

@supports not (grid-area: auto) {
  .embeds{
  max-width: 992px;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .embeds{
    max-width: 992px;
  }
}
/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

news

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.news {
  grid-area: news;
  border: 1px solid #EBEBEB;
  background-color: #FFFFFF;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.15));
  border-radius: 5px;
  margin-bottom: 20px;
}
@supports not (grid-area: auto) {
  .news{
    max-width: 992px;
    width: 100%;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .news{
    max-width: 992px;
    width: 100%;
  }
}
.news .news_hover:hover{
  text-decoration: underline;
}
.news .header {
  display: flex;
  justify-content: space-between;
  padding: 0 25px 0 25px;
  margin: 0;
  margin-top: 25px;
}
.news .footer {
  display: flex;
  justify-content: end;
  padding: 0 25px 0 25px;
  margin-bottom: 25px;
}

.news .header h2,
.news .header p,
.news .footer p {
  color: #222222;
  font-size: 0.9rem;
  line-height: 30px;
  margin: 0;
  font-weight: bold;
}
.news .header p a,
.news .footer p a {
  color: #4F86A0;
  font-size: 0.68rem;
  line-height: 23px;
  font-weight: normal;
}

.news ol.news-container {
  list-style-type: none;
  padding: 0 25px 0 25px;
  margin: 25px 0;
}

.news ol.news-container li:hover {
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
  border-color: #4F86A0;
}
.news ol.news-container li {
  border-radius: 5px;
  margin: 5px 0;
  border: 1px solid #e5e5e5;
  box-shadow: 0 0 7px 0 rgba(0,0,0,0.06);
  transition: all .25s ease-in;
}
.news ol.news-container li:first-child{
  margin-top:0;
}
.news ol.news-container li:last-child{
  margin-bottom: 0;
}

.news .news_body {
  height: 90px;
}
@supports (grid-area: auto){
  .news .news_body{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
    "date"
    "headline";
  }
}
@supports not (grid-area: auto) {
  .news .news_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    padding: 0 15px;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .news .news_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    padding: 0 15px;
  }
}
@media only screen and (max-width: 991px) {
  .news .news_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    padding: 0 15px;
  }
}


.news .news_body img {
  display: none;
}

.news .news_body .date {
  grid-area: date;
  display: flex;
}
.news .news_body .date p {
  margin: 0;
  color: #98A3A3;
  font-size: 0.72rem;
  align-self: flex-end;
}

.news .news_body .title {
  grid-area: headline;
  display: flex;
}
.news .news_body .title h3 {
  margin: 0;
  color: #4F86A0;
  font-size: 0.91rem;
  align-content: flex-end;
  font-weight: 300;
}

@media only screen and (min-width: 992px) {
  @supports (grid-area: auto) {

    .news .news_body {
      grid-template-columns: 145px 10fr;
      grid-template-areas:
      "image date"
      "image headline";
    }

    .news .news_body img {
      align-content: center;
      display: block;
      grid-area: image;
      max-height: 70px;
      margin: 10px;
      width: auto;
      border-radius: 5px;
    }
  }
}

/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

homepage carousel

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/

.embeds li img.homepage_arrow {
  display: none;
}
@media only screen and (max-width: 991px){
  .mobile_carousel.mobile_selected{
    display: flex;
  }
  .mobile_carousel{
    display: none;
    flex-direction: row;
  }
  .embeds li img.homepage_arrow{
    display: block;
    height: 40px;
    margin: auto;
    cursor: pointer;
  }
  .embeds li img.homepage_arrow.hidden{
    visibility: hidden;
  }
}

.highlights_container {
  grid-area: highlights;
  display: grid;
  column-gap: 25px;
  row-gap: 60px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 25px;
}
@media only screen and (max-width: 620px) {
  .highlights_container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-left: 25px;
    margin-right: 25px;
  }
}
.highlights_item {
  background-color: #FFFFFF;
  display: inline-grid;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.15));
  border-radius: 3px;
  grid-template-areas:
    "icon"
    "title"
    "content"
    "actions";
  grid-template-rows: [row1-start] 90px [row1-end row2-start] 64px [row2-end];
}
.item_icon {
  grid-area: icon;
  margin-top: -70px;
  height: 120px;
  padding: 20px;
  align-self: start;
}
.item_title {
  grid-area: title;
  padding-left: 20px;
  padding-right: 20px;
  text-transform: uppercase;
  align-self: start;
}
.item_title h3 {
  font-weight: 700;
  font-size: 20px;
}
.item_content {
  grid-area: content;
  padding-left: 20px;
  padding-right: 40px;
  height: 100%;
  align-self: start;
}
.item_content p {
  margin: 0;
  font-size: 16px;
  line-height: 18px;
  height: auto;
}
.item_actions {
  grid-area: actions;
  align-self: end;
  justify-self: end;
  padding: 15px;
  color: #3E8CAE;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.advertisement {
  grid-area: advertisement;
  width: 100%;
  max-width: 1456px;
  height: 17vw;
  max-height: 360px;
  min-height: 220px;
  justify-self: center;
  background: transparent url("../img/big-advertisement-20220225.png") no-repeat center;
  background-size: 100%;
  overflow: hidden;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.15));
  margin-bottom: 25px;
  cursor: pointer;

}
@media only screen and (max-width: 620px) {
  .advertisement {
    background: transparent url("../img/small-advertisement-20220225.png") no-repeat center;
    max-width: 498px;
    height: 250px;
    background-size: 100%;
  }
}