/**
 * Foundation for Sites
 * Version 6.7.5
 * https://get.foundation
 * Licensed under MIT Open Source
 */
/* 
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/**==================================================================================================================================
BREAKPOINT
 ==================================================================================================================================*/
/**==================================================================================================================================
BREAKPOINT ENDS
==================================================================================================================================*/
span.edit-link {
  display: inline-block;
  background-color: yellow;
  font-weight: 700;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.2s;
}

span.edit-link a {
  display: block;
  padding: 0.9375rem;
}

span.edit-link:hover {
  transform: translateX(0);
}

.news {
  margin: 0 3rem;
}

@media screen and (max-width: 47.99875em) {
  .news {
    margin: 0 1rem;
  }
}
.news h1 {
  text-align: left;
  font-weight: 400;
  font-size: 2.25rem;
  margin-bottom: 1.25rem !important;
}

.news .article-list {
  background-color: transparent;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 2rem;
  row-gap: 3rem;
  margin: 0 auto;
  padding: 0 0rem 2rem;
}

@media screen and (max-width: 47.99875em) {
  .news .article-list {
    padding: 1rem 1rem 1rem;
  }
}
.news .article-list li {
  background-color: transparent;
  border-radius: 8px;
  padding-top: 2rem !important;
}

@media screen and (max-width: 47.99875em) {
  .news .article-list li {
    padding-top: 0rem !important;
  }
}
.news .article-list li a {
  height: 100%;
  text-decoration: none;
}

.news .article-list li a .single-article {
  min-height: 520px;
  height: auto;
  display: grid;
  grid-template-areas: "image" "title" "text" "link";
  grid-template-rows: 50% 35% 10% 5%;
}

.news .article-list li a .single-article .image-wrapper {
  grid-area: "image";
  margin-bottom: 0.75rem;
}

.news .article-list li a .single-article .image-wrapper img {
  height: 100%;
  min-height: 245px;
  -o-object-fit: cover;
     object-fit: cover;
}

.news .article-list li a .single-article .title-container {
  grid-area: "title";
  margin-bottom: 3.5rem;
}

.news .article-list li a .single-article .title-container .date {
  color: #0066c0;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.news .article-list li a .single-article .title-container .title {
  font-weight: 400;
  font-size: 1.375rem;
}

.news .article-list li a .single-article .text {
  grid-area: "text";
  margin-bottom: 1.5rem;
}

.news .article-list li a .single-article .read-more {
  grid-area: "link";
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  gap: 3rem;
}

.news .posts-pagination {
  margin-top: 30px;
  text-align: center;
}

.news .posts-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 10px;
  border-radius: 8px;
}

.news .posts-pagination ul li {
  display: inline-block;
  border-radius: 6px;
  overflow: hidden;
}

.news .posts-pagination ul li a, .news .posts-pagination ul li span {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #1a206d;
  background-color: #dee7f7;
  border: 1px solid #dee7f7;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-weight: 600;
}

.news .posts-pagination ul li a:hover {
  background-color: #1a206d;
  color: #dee7f7;
  border-color: #1a206d;
}

.news .posts-pagination ul li span.current {
  background-color: #1a206d;
  color: #dee7f7;
  border-color: #1a206d;
  cursor: default;
}

.news .posts-pagination ul li .dots {
  background-color: transparent;
  border: none;
  color: #1a206d;
  cursor: default;
}
