nav.primary-menu {
  text-transform: uppercase;
}
nav.primary-menu .wp-block-navigation__responsive-container.has-modal-open {
  background-color: #2C66B0 !important;
  color: white !important;
}
nav.primary-menu .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-dialog button.wp-block-navigation__responsive-container-close {
  padding: 20px 40px 0 0;
}
nav.primary-menu .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-dialog div.wp-block-navigation__responsive-container-content ul li {
  padding: 0 40px 0 20px;
  align-items: flex-end;
  background-color: #2C66B0;
  gap: 4px;
}

.language-switcher-container {
  display: flex;
  justify-content: flex-end;
}

.footer-block {
  padding: 20px 0 20px 0;
  background-color: var(--wp-preset-color-primary);
}
.footer-block .footer-contact-column {
  align-content: center;
  font-weight: 800;
}
.footer-block .footer-contact-column .contact-address-column {
  display: flex;
  align-items: center;
}

.wp-container-create-block-taxonomy-list-block-is-layout-1.solutions-block {
  gap: 0;
}
.wp-container-create-block-taxonomy-list-block-is-layout-1.solutions-block .flex-item {
  display: flex;
}
.wp-container-create-block-taxonomy-list-block-is-layout-1.solutions-block .flex-item a {
  display: flex;
  width: 480px;
  height: 480px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  backdrop-filter: brightness(0.6);
}
@media screen and (max-width: 425px) {
  .wp-container-create-block-taxonomy-list-block-is-layout-1.solutions-block .flex-item a {
    width: 400px;
    height: 400px;
  }
}
@media screen and (max-width: 375px) {
  .wp-container-create-block-taxonomy-list-block-is-layout-1.solutions-block .flex-item a {
    width: 350px;
    height: 350px;
  }
}
@media screen and (max-width: 320px) {
  .wp-container-create-block-taxonomy-list-block-is-layout-1.solutions-block .flex-item a {
    width: 250px;
    height: 250px;
  }
}
.wp-container-create-block-taxonomy-list-block-is-layout-1.solutions-block .flex-item a:hover {
  backdrop-filter: brightness(1);
  filter: drop-shadow(2px 4px 6px black);
}

.news-query-loop-wrapper-pattern ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 50px;
}
@media screen and (min-width: 320px) and (max-width: 374px) {
  .news-query-loop-wrapper-pattern ul {
    padding: 0;
    justify-content: center;
  }
}
@media screen and (min-width: 375px) and (max-width: 424px) {
  .news-query-loop-wrapper-pattern ul {
    padding: 0 5% 0 5%;
    justify-content: center;
  }
}
@media screen and (min-width: 425px) and (max-width: 767px) {
  .news-query-loop-wrapper-pattern ul {
    padding: 0 10% 0 10%;
    justify-content: center;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .news-query-loop-wrapper-pattern ul {
    padding: 0 4% 0 4%;
    justify-content: center;
  }
}
@media screen and (min-width: 1024px) {
  .news-query-loop-wrapper-pattern ul {
    padding: 0 2% 0 2%;
    gap: 30px;
  }
}
@media screen and (min-width: 1368px) {
  .news-query-loop-wrapper-pattern ul {
    gap: 20px;
    justify-content: space-evenly;
  }
}
.news-query-loop-wrapper-pattern ul li.type-webinar .label-news-wrapper {
  display: none;
}
.news-query-loop-wrapper-pattern ul li.type-news .label-webinars-wrapper {
  display: none;
}
.news-query-loop-wrapper-pattern ul li {
  width: 300px;
}
.news-query-loop-wrapper-pattern ul li figure {
  width: 300px;
}
.news-query-loop-wrapper-pattern ul li div.text-information {
  position: absolute;
  top: -10px;
  left: 0px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  padding: 0 15px 0 15px;
}
.news-query-loop-wrapper-pattern ul li div.text-information h2 {
  color: white;
  text-align: center;
}
.news-query-loop-wrapper-pattern ul li div.text-information h2 a {
  color: white;
  text-decoration: none;
}
.news-query-loop-wrapper-pattern ul li div.text-information .label-webinars-wrapper,
.news-query-loop-wrapper-pattern ul li div.text-information .label-news-wrapper {
  width: 260px;
}
.news-query-loop-wrapper-pattern ul li div.text-information .label-webinars-wrapper p,
.news-query-loop-wrapper-pattern ul li div.text-information .label-news-wrapper p {
  position: absolute;
  text-transform: uppercase;
  border: 1px solid #8BA6C9;
  padding: 2px 5px 2px 5px;
  background-color: #8BA6C9;
  border-radius: 10px;
  font-weight: 700;
}
.news-query-loop-wrapper-pattern ul li:first-child {
  margin-block-start: 24px;
}
.news-query-loop-wrapper-pattern ul li:first-child .text-information {
  margin-top: 0;
}

.readmore-wrapper {
  padding-right: 65px !important;
}
.readmore-wrapper p a {
  text-decoration: none !important;
}
.readmore-wrapper p a:hover {
  text-decoration: underline;
}

#homepage-blocks-wrapper {
  margin-top: -24px !important;
}
#homepage-blocks-wrapper .homepage-text-block {
  margin-bottom: -24px !important;
  background: url(../../assets/images/text_block_background.png) no-repeat;
  background-size: contain;
}
@media screen and (max-width: 1024px) {
  #homepage-blocks-wrapper .homepage-text-block {
    padding-left: 170px !important;
  }
}
@media screen and (max-width: 425px) {
  #homepage-blocks-wrapper .homepage-text-block {
    background-color: var(--wp--preset--color--primary);
    background-image: none;
    padding: 20px !important;
  }
}

.news-query-loop-wrapper ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 50px;
}
@media screen and (min-width: 320px) and (max-width: 374px) {
  .news-query-loop-wrapper ul {
    padding: 0;
    justify-content: center;
  }
}
@media screen and (min-width: 375px) and (max-width: 424px) {
  .news-query-loop-wrapper ul {
    padding: 0 5% 0 5%;
    justify-content: center;
  }
}
@media screen and (min-width: 425px) and (max-width: 767px) {
  .news-query-loop-wrapper ul {
    padding: 0 10% 0 10%;
    justify-content: center;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .news-query-loop-wrapper ul {
    padding: 0 4% 0 4%;
    justify-content: center;
  }
}
@media screen and (min-width: 1024px) {
  .news-query-loop-wrapper ul {
    padding: 0 2% 0 2%;
    gap: 30px;
  }
}
@media screen and (min-width: 1368px) {
  .news-query-loop-wrapper ul {
    gap: 20px;
    justify-content: space-evenly;
  }
}
.news-query-loop-wrapper ul li.type-webinar .label-news-wrapper {
  display: none;
}
.news-query-loop-wrapper ul li.type-news .label-webinars-wrapper {
  display: none;
}
.news-query-loop-wrapper ul li {
  width: 300px;
}
.news-query-loop-wrapper ul li figure {
  width: 300px;
}
.news-query-loop-wrapper ul li div.text-information {
  position: absolute;
  top: -10px;
  left: 0px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  padding: 0 15px 0 15px;
}
.news-query-loop-wrapper ul li div.text-information h2 {
  text-align: center;
}
.news-query-loop-wrapper ul li div.text-information h2 a {
  text-decoration: none;
}
.news-query-loop-wrapper ul li div.text-information .label-webinars-wrapper,
.news-query-loop-wrapper ul li div.text-information .label-news-wrapper {
  width: 260px;
}
.news-query-loop-wrapper ul li div.text-information .label-webinars-wrapper p,
.news-query-loop-wrapper ul li div.text-information .label-news-wrapper p {
  position: absolute;
  text-transform: uppercase;
  border: 1px solid #8BA6C9;
  padding: 2px 5px 2px 5px;
  background-color: #8BA6C9;
  border-radius: 10px;
  font-weight: 700;
}
.news-query-loop-wrapper ul li:first-child {
  margin-block-start: 24px;
}
