/* Fonts */
/* Colors */
.rdg-blocks .rdg-posts-ajax {
  width: calc(var(--vw, 1vw) * 100);
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 99.55vw;
}
.rdg-blocks .rdg-posts-ajax .container.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  padding-right: 20px;
}
.rdg-blocks .rdg-posts-ajax .container.content #wait {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.8) url(../images/spinner.gif) 50% 50% no-repeat;
}
.rdg-blocks .rdg-posts-ajax .container.content .filter {
  gap: 1rem;
  display: flex;
  padding-bottom: 2rem;
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .filter {
    flex-direction: column;
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .filter .categories {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .filter .categories {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select {
    width: 80% !important;
  }
}
@media (max-width: 576px) {
  .rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select {
    width: 100% !important;
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select {
  width: 40%;
  display: flex;
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 1px 5px 14px 0px rgba(0, 0, 0, 0.15);
  min-height: 2rem;
}
.rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select:first-of-type {
  margin-right: 2rem;
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select:first-of-type {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select::after {
  font-family: "Font Awesome 5 Free";
  content: "\f078";
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  width: 3rem;
  height: calc(100% - 0.8rem);
  color: var(--color-white);
  background-color: var(--color-primary-dark-light);
  pointer-events: none;
  margin: 0.4rem;
  border-radius: 0.5rem;
}
.rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select select {
  border: 0;
  outline: 0;
  appearance: none;
  box-shadow: none;
  flex: 1;
  padding: 14px;
  cursor: pointer;
  background-image: none;
  color: var(--color-primary);
  background-color: var(--color-white);
  font-weight: 700;
  /* Remove IE arrow */
}
.rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select select::-ms-expand {
  display: none;
}
.rdg-blocks .rdg-posts-ajax .container.content .filter .categories .select select option {
  font-weight: 700;
}
.rdg-blocks .rdg-posts-ajax .container.content .title {
  width: 100%;
  display: flex;
  text-align: center;
  align-items: center;
}
.rdg-blocks .rdg-posts-ajax .container.content .title h1, .rdg-blocks .rdg-posts-ajax .container.content .title h2, .rdg-blocks .rdg-posts-ajax .container.content .title h3, .rdg-blocks .rdg-posts-ajax .container.content .title span {
  margin: 0;
  font-weight: var(--font-weight);
  font-size: var(--font-size);
  line-height: var(--line-height);
}
@media (max-width: 992px) {
  .rdg-blocks .rdg-posts-ajax .container.content .title h1, .rdg-blocks .rdg-posts-ajax .container.content .title h2, .rdg-blocks .rdg-posts-ajax .container.content .title h3, .rdg-blocks .rdg-posts-ajax .container.content .title span {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-lg);
  }
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .title h1, .rdg-blocks .rdg-posts-ajax .container.content .title h2, .rdg-blocks .rdg-posts-ajax .container.content .title h3, .rdg-blocks .rdg-posts-ajax .container.content .title span {
    font-size: var(--font-size-md);
    line-height: var(--line-height-md);
  }
}
@media (max-width: 576px) {
  .rdg-blocks .rdg-posts-ajax .container.content .title h1, .rdg-blocks .rdg-posts-ajax .container.content .title h2, .rdg-blocks .rdg-posts-ajax .container.content .title h3, .rdg-blocks .rdg-posts-ajax .container.content .title span {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-sm);
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .message {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--rdg-picks-vs-message-bg);
  border: 1px solid var(--rdg-picks-vs-message-border);
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .message span {
  text-align: center;
  color: var(--rdg-picks-vs-message);
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items {
  width: 100%;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .message {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--rdg-picks-vs-message-bg);
  border: 1px solid var(--rdg-picks-vs-message-border);
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .message span {
  text-align: center;
  color: var(--rdg-picks-vs-message);
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item {
  width: 25rem;
}
@media (max-width: 1300px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item {
    width: 35rem;
  }
}
@media (max-width: 1200px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item {
    width: 31rem;
  }
}
@media (max-width: 1100px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item {
    width: 28rem;
  }
}
@media (max-width: 965px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item {
    width: 25rem;
  }
}
@media (max-width: 910px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item {
    width: 21rem;
  }
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item {
    width: 100%;
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item .image {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 16rem;
  max-height: 16rem;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item .image {
    height: 16rem;
    max-height: 16rem;
  }
}
@media (max-width: 576px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item .image {
    height: 14rem;
    max-height: 14rem;
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer a {
  text-decoration: none;
  transition: 0.4s all;
  color: #3a96e0;
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer a:hover {
  color: #031C3F;
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer a:hover {
  color: #0160ac !important;
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer .footer-title {
  line-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.3rem;
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer .footer-title {
    -webkit-line-clamp: 4;
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer .meta {
  color: var(--color-posts-list-date);
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer .footer-description {
  margin-top: 0.5rem;
  color: var(--color-posts-list-description);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer .footer-description {
    -webkit-line-clamp: 4;
  }
}
.rdg-blocks .rdg-posts-ajax .container.content .posts .items .item footer a {
  margin-top: 0.8rem;
}

.acf-block-preview .rdg-posts-ajax {
  width: 100%;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
}
