:root {
  --max-container: 1600px;
}
* {
  -webkit-tap-highlight-color: transparent;
}
.container-wrap {
  min-height: 200px !important;
}
.wpml-ls-statics-footer,
.otgs-development-site-front-end {
  display: none !important;
}
/* --- CONTAINER --- */
@media only screen and (min-width: 1000px) {
  .container,
  body[data-header-format="left-header"] .container,
  .woocommerce-tabs .full-width-content .tab-container,
  .nectar-recent-posts-slider .flickity-page-dots,
  .post-area.standard-minimal.full-width-content .post .inner-wrap,
  .material #search-outer #search,
  body
    .container
    .container:not(.tab-container):not(.recent-post-container):not(
      .normal-container
    ) {
    padding: 0 90px !important;
  }
}
@media only screen and (min-width: 320px) {
  .container,
  body[data-header-format="left-header"] .container,
  .woocommerce-tabs .full-width-content .tab-container,
  .nectar-recent-posts-slider .flickity-page-dots,
  .post-area.standard-minimal.full-width-content .post .inner-wrap,
  .material #search-outer #search {
    max-width: var(--max-container) !important;
  }
  .stretch-content {
    max-width: var(--max-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  .home .container,
  #top .container,
  .nectar_hook_global_section_footer .container {
    max-width: 2100px !important;
  }
}
@media only screen and (max-width: 1300px) {
  .container,
  body[data-header-format="left-header"] .container,
  .woocommerce-tabs .full-width-content .tab-container,
  .nectar-recent-posts-slider .flickity-page-dots,
  .post-area.standard-minimal.full-width-content .post .inner-wrap,
  .material #search-outer #search {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media only screen and (min-width: 1000px) and (max-width: 1700px) {
  #top ul li sf-with-ul {
    padding: 0 !important;
  }
  #top nav ul:nth-child(2) {
    margin-left: 0 !important;
  }
}

@media only screen and (max-width: 600px) {
  body #slide-out-widget-area[class*="fullscreen"] .current-menu-item > a,
  body #slide-out-widget-area.fullscreen a:hover,
  body #slide-out-widget-area.fullscreen-split a:hover,
  body
    #slide-out-widget-area.fullscreen-split
    .off-canvas-menu-container
    .current-menu-item
    > a,
  #slide-out-widget-area.slide-out-from-right-hover a:hover,
  body.material
    #slide-out-widget-area.slide-out-from-right
    .off-canvas-social-links
    a
    i::after,
  body #slide-out-widget-area.slide-out-from-right a:hover,
  body
    #slide-out-widget-area.fullscreen-alt
    .inner
    .off-canvas-menu-container
    li
    a:hover,
  #slide-out-widget-area.slide-out-from-right-hover
    .inner
    .off-canvas-menu-container
    li
    a:hover,
  #slide-out-widget-area.slide-out-from-right-hover
    .inner
    .off-canvas-menu-container
    li.current-menu-item
    > a,
  #slide-out-widget-area.slide-out-from-right-hover.no-text-effect
    .inner
    .off-canvas-menu-container
    li
    a:hover,
  body
    #slide-out-widget-area
    .slide_out_area_close:hover
    .icon-default-style[class^="icon-"],
  body.material
    #slide-out-widget-area.slide-out-from-right
    .off-canvas-menu-container
    .current-menu-item
    > a,
  #slide-out-widget-area
    .widget
    .nectar_widget[class*="nectar_blog_posts_"]
    li:not(.has-img)
    a:hover
    .post-title {
    color: #9d101f !important;
  }
}
body
  > .ocm-effect-wrap
  > .ocm-effect-wrap-inner
  > #header-outer
  #top
  nav
  .sf-menu
  > li
  > a {
  padding-left: 25px !important;
  padding-right: 25px !important;
}
@media only screen and (max-width: 1335px) and (min-width: 1230px) {
  body
    > .ocm-effect-wrap
    > .ocm-effect-wrap-inner
    > #header-outer
    #top
    nav
    .sf-menu
    > li
    > a {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
#top .container #logo img {
  height: 65px;
}
#header-outer.small-nav #logo img {
  height: 65px;
}
#header-outer,
#header-space {
  border-radius: 0 0 25px 25px;
}
#header-outer .sub-menu {
  border-radius: 0 0 15px 15px;
}
#header-outer .sub-menu .menu-item a {
  border-radius: 5px;
  padding-left: 15px;
}
#header-outer .sub-menu .sub-menu {
  border-radius: 0 15px 15px 15px;
}
.primary-bt {
  color: white;
  background-color: #9d101f;
  border-radius: 17px;
  padding-inline: 16px;
  padding-block: 6px;
  width: fit-content;
  transition: all 0.2s ease-in-out;
}
.primary-bt:hover {
  background-color: white;
  color: #9d101f;
}

#mainFooter .menu {
  margin-left: 0;
}
#mainFooter .menu-item a {
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}
#mainFooter .menu-item a:hover {
  opacity: 1;
}
#mainFooter .menu-item {
  margin-block: 8px;
}
/* Headers do footer */
#mainFooter h2,
.footer-morada-header,
.footer-social-networks h3 {
  font-size: 16px;
  font-weight: 600;
  color: #9d101f;
  margin-bottom: 24px !important;
}
/* Conteúdo do footer */
#mainFooter .menu-item,
.footer-morada-content {
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  color: #444;
}
/* Frase de copyright do footer */
.footer-copyright {
  font-size: 12px;
  color: #444;
  opacity: 50%;
}
.secondary-container {
  transform: translateY(-20px);
}
/* Hero da página secundária */
.secondary-container .hero-container {
  height: clamp(350px, 25vw, 600px);
  position: relative;
  display: flex;
}
.secondary-container .hero-container .hero-image-container {
  position: absolute;
  z-index: 100;
  height: 100%;
  width: 100%;
}
.secondary-container .hero-container .hero-image-container .hero-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0 0 25px 25px;
}
.secondary-container .hero-container .hero-overlay {
  z-index: 200;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #6b0b14;
  background: linear-gradient(
    24deg,
    rgba(107, 11, 20, 0.8) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  border-radius: 0 0 25px 25px;
}
.secondary-container .hero-container .hero-info-container {
  padding-inline: 5vw;
  padding-bottom: 32px !important;
  z-index: 500;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}
.secondary-container .hero-container .hero-info-container .breadcrumb {
  align-self: flex-start;
}
.secondary-container .hero-container .hero-info-container .breadcrumb .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #c3c3c3;
}
.secondary-container
  .hero-container
  .hero-info-container
  .breadcrumb
  .wrapper
  a {
  color: #c3c3c3;
  transition: color 0.3 ease-in-out;
}
.secondary-container
  .hero-container
  .hero-info-container
  .breadcrumb
  .wrapper
  a:hover {
  color: #fff;
}
.secondary-container .hero-container .hero-info-container .post-title {
  color: #fff;
  font-size: 75px;
  font-weight: 600;
  line-height: 68px;
}
@media only screen and (max-width: 1000px) {
  .secondary-container .hero-container .hero-info-container .post-title {
    font-size: 55px;
    line-height: 55px;
  }
}
@media only screen and (max-width: 1000px) {
  .secondary-container .hero-container .hero-info-container {
    gap: 0px;
  }
}
@media only screen and (max-width: 1700px) {
  .secondary-container .hero-container .container {
    margin: 0 !important;
  }
}
.third-container .hero-info-container {
  padding-block: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}
.third-container .hero-info-container .breadcrumb {
  align-self: flex-start;
}
.third-container .hero-info-container .breadcrumb .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #9d101f;
  max-width: fit-content;
}
.third-container .hero-info-container .breadcrumb .wrapper a {
  color: #9d101f;
  opacity: 0.32;
  transition: opacity 0.3 ease-in-out;
}
.third-container .hero-info-container .breadcrumb .wrapper a:hover {
  opacity: 1;
}
.third-container .hero-info-container .post-title {
  color: #9d101f;
  font-size: 40px;
  font-weight: 600;
}
.slider-home-hero .swiper {
  width: 100%;
  height: 80vh;
  border-radius: 25px;
}

.slider-home-hero .swiper-slide {
  text-align: center;
  font-size: 18px;
  justify-content: center;
  align-items: center;
  position: relative;
}
.slider-home-hero .info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: end;
  flex: 1 0 auto;
}

.slider-home-hero .swiper-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 25px;
  grid-column-start: 1;
  grid-row-start: 1;
}
.slider-home-hero .text-wrapper {
  display: flex;
  align-items: end;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  border-radius: 15px;
  padding-inline: 48px;
  padding-block: 40px;
  pointer-events: none;
  z-index: 1;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.007) 18.7%,
    hsla(0, 0%, 0%, 0.027) 34.9%,
    hsla(0, 0%, 0%, 0.058) 48.8%,
    hsla(0, 0%, 0%, 0.098) 60.6%,
    hsla(0, 0%, 0%, 0.145) 70.4%,
    hsla(0, 0%, 0%, 0.197) 78.4%,
    hsla(0, 0%, 0%, 0.252) 84.8%,
    hsla(0, 0%, 0%, 0.308) 89.8%,
    hsla(0, 0%, 0%, 0.363) 93.6%,
    hsla(0, 0%, 0%, 0.415) 96.3%,
    hsla(0, 0%, 0%, 0.462) 98.1%,
    hsla(0, 0%, 0%, 0.502) 99.2%,
    hsla(0, 0%, 0%, 0.533) 99.8%,
    hsla(0, 0%, 0%, 0.553) 100%,
    hsla(0, 0%, 0%, 0.56) 100%
  );
}

.slider-home-hero .text-wrapper > div {
  width: 100%;
  display: flex;
  align-items: end;
  gap: 40px;
}

.slider-home-hero .text-wrapper h2 {
  font-size: 55px !important;
  color: #fff;
  text-align: left;
  line-height: 105%;
  letter-spacing: -4%;
  margin-bottom: 0px !important;
}
.slider-home-hero .text-wrapper h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 0 !important;
  text-align: right;
}
.slider-home-hero .swiper-pagination {
  width: fit-content !important;
  position: static !important;
}
.slider-home-hero .swiper-pagination-bullet {
  border: medium solid #fff;
  background: none;
  width: 16px !important;
  height: 16px !important;
}
.slider-home-hero .swiper-pagination-bullet-active {
  background-color: #fff !important;
}
@media only screen and (max-width: 700px) {
  .slider-home-hero .text-wrapper h2 {
    font-size: 40px !important;
    line-height: 100%;
  }
  .slider-home-hero .text-wrapper {
    padding-top: 4vw;
    padding-left: 6vw;
    padding-bottom: 4vw;
  }
  .slider-home-hero .text-wrapper > div {
    flex-direction: column;
    align-items: start;
    justify-content: end;
    gap: 10px;
  }
  .slider-home-hero .info-wrapper {
    width: 100%;
    align-items: start;
  }
  .slider-home-hero .text-wrapper h3 {
    font-size: 20px;
    margin-bottom: 0px !important;
  }
  .slider-home-hero .swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
  }

  .slider-home-hero .info-wrapper {
    flex: 0 0 auto;
  }
}
.slider-highlights {
  margin-top: 80px !important;
  margin-bottom: 10px !important;
}

.slider-highlights .container h2 {
  font-size: 21px;
  font-weight: 600;
}
.slider-highlights .swiper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: inherit;
}
.slider-highlights .swiper-controls {
  display: flex;
  height: 48px;
  align-items: flex-end;
  margin-bottom: 28px;
}
.slider-highlights .swiper-controls > * {
  position: static;
  color: #000;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.slider-highlights .swiper-button-prev {
  background-image: url(./../../assets/icons/arrow-left.svg) !important;
}
.slider-highlights .swiper-button-next {
  background-image: url(./../../assets/icons/arrow-right.svg) !important;
}
.slider-highlights .swiper-button-next::after {
  display: none;
}
.slider-highlights .swiper-button-prev::after {
  display: none;
}
.slider-highlights .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #9d101f;
  display: grid;
  grid-template-rows: 180px 1fr 30px;
  border-radius: 25px;
  padding: 22px;
  width: 800px !important;
  height: 268px !important;
}
@media only screen and (max-width: 1000px) {
  .slider-highlights .swiper-slide {
    width: 600px !important;
  }
}
.slider-highlights .swiper-slide h3 {
  font-size: 30px !important;
  color: white;
  text-align: left;
  line-height: 120%;
  font-weight: 600;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 32px;
  text-wrap: balance;
}

.slider-highlights .swiper-slide > p {
  font-size: 16px !important;
  color: #9d101f;
  text-align: left;
  font-weight: 500;
  line-height: 140%;
  display: -webkit-box;
  line-clamp: 7;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}
.slider-highlights .swiper-slide .date-wrapper {
  font-size: 16px !important;
  color: white;
  text-align: left;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider-highlights .header-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider-highlights .header-container h2 {
  margin-bottom: 0px !important;
}

@media only screen and (max-width: 600px) {
  .slider-highlights .swiper-slide h3 {
    font-size: 21px !important;
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }

  .slider-highlights .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    padding: 22px;
    width: 275px !important;
    height: auto !important;
  }

  .slider-highlights .swiper-slide .date-wrapper {
    margin-top: 10px;
  }
}

.slider-news {
  background-color: #f4f4f4;
  padding-block: 72px;
}
.slider-news .container h2 {
  font-size: 21px;
  font-weight: 600;
}
.slider-news .swiper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.slider-news .swiper-controls {
  display: flex;
  height: 48px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.slider-news .swiper-controls > * {
  position: static;
  color: #000;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.slider-news .swiper-button-prev {
  background-image: url(./../../assets/icons/arrow-left.svg) !important;
}
.slider-news .swiper-button-next {
  background-image: url(./../../assets/icons/arrow-right.svg) !important;
}
.slider-news .swiper-button-next::after {
  display: none;
}
.slider-news .swiper-button-prev::after {
  display: none;
}
.slider-news .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  padding: 22px;
  width: 450px !important;
  height: 650px !important;
}
.slider-news .swiper-slide img {
  border-radius: 10px;
  margin-bottom: 24px;
  height: 250px;
  object-fit: cover;
}
.slider-news .swiper-slide h3 {
  font-size: 30px !important;
  color: #444;
  text-align: left;
  line-height: 120%;
  font-weight: 600;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 32px;
  height: 110px;
}
.slider-news .swiper-slide .desc {
  font-size: 16px !important;
  color: #444;
  text-align: left;
  font-weight: 500;
  line-height: 140%;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slider-news .swiper-slide .date-wrapper {
  font-size: 13px !important;
  color: #000;
  text-align: left;
  font-weight: 500;
}
.slider-news .news-info-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.slider-news .all-news-wrapper {
  display: flex;
  gap: 8px;
  background-color: #fff;
  padding-inline: 12px;
  padding-block: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease-in-out;
}

.all-news-wrapper:hover {
  background-color: #9d101f;
}

.all-news-wrapper:hover span {
  color: white;
  transition: color 0.2s ease-in-out;
}

.all-news-wrapper:hover svg {
  stroke: white;
  transition: stroke 0.2s ease-in-out;
}

.slider-news .swiper-slide .placeholder-container {
  height: 250px;
  margin-bottom: 24px;
  background: #f9f3f4;
  background: -webkit-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: -moz-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#F9F3F4",
  endColorstr="#FFDBDB",
  GradientType=0
);
  border-radius: 10px;
  display: flex;
  position: relative;
}

.slider-news .swiper-slide .placeholder-container span {
  color: #9d101f;
  font-weight: 600;
  font-size: 24px;
  position: absolute;
  left: 25px;
  bottom: 25px;
}

.slider-news .header-body-wrapper {
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 600px) {
  .slider-news .swiper-slide .date-wrapper {
    margin-top: 10px;
  }

  .slider-news .swiper-slide {
    height: auto !important;
    width: 275px !important;
  }

  .slider-news .swiper-slide h3 {
    font-size: 21px !important;
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }
}

.image-info .image-info-wrapper {
  display: flex;
  gap: 20px;
  height: 100%;
  min-height: 600px;
  flex-wrap: wrap;
  background: #f4f4f4;
  border-radius: 25px;
}
.image-info .image-info-wrapper-reverse {
  flex-direction: row-reverse;
}
.image-info .image-wrapper img {
  border-radius: 25px;
  height: 100%;
  width: 100% !important;
  object-fit: cover;
}
.image-info .image-wrapper {
  height: 600px;
  flex: 1 1 600px;
}
.image-info .info-wrapper {
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  padding: 22px;
  flex: 1 1 400px;
  justify-content: space-between;
  gap: 40px;
  height: 600px;
}
.image-info .info-wrapper-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.image-info .info-wrapper h3 {
  font-size: 30px !important;
  color: #444;
  text-align: left;
  line-height: 120%;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.image-info .info-wrapper .desc {
  font-size: 18px !important;
  color: #444;
  text-align: left;
  font-weight: 500;
  line-height: 140%;
}
.image-info .info-wrapper .desc p {
  text-wrap: balance;
}
@media only screen and (max-width: 1200px) {
  .image-info .image-wrapper {
    height: 500px;
  }
  .image-info .info-wrapper {
    height: auto;
  }
}
.numbers-row > .row-bg-wrap .row-bg {
  box-shadow: inset 0px 0px 20px 0px rgba(217, 217, 217, 0.6);
  border-radius: 20px;
}
.numbers-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.numbers-wrapper .number-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.numbers-wrapper .money-container {
  display: flex;
}
.numbers-wrapper .number {
  font-size: 70px;
  font-weight: 600;
  color: #444;
}
.numbers-wrapper .number-label {
  font-size: 16px;
  color: #757575;
}
@media only screen and (max-width: 1000px) {
  .numbers-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 54px;
  }
}
@media only screen and (max-width: 600px) {
  .numbers-wrapper .number {
    font-size: 50px;
  }
}
.article-container .swiper {
  margin-top: 48px;
  max-width: 960px;
  height: 545px;
  border-radius: 25px;
}
.article-container .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100% !important;
}
.article-container .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-container .placeholder-container {
  width: 100%;
  height: 100%;
}
.article-container h1 {
  font-size: 48px;
  font-weight: 600;
  color: #9d101f;
  line-height: 62px;
}
@media only screen and (max-width: 500px) {
  .article-container h1 {
    font-size: 30px;
    font-weight: 600;
    color: #9d101f;
    line-height: 1.3;
  }
}
.article-container .category-share-container {
  display: flex;
  justify-content: space-between;
}
.article-container .category-share-container svg {
  opacity: 0.32;
}
.article-container .category-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
  gap: 8px;
}
.article-container .category-tag {
  background-color: #f9f3f4;
  border-radius: 6px;
  color: #9d101f;
  padding-inline: 12px;
  padding-block: 8px;
  font-size: 14px;
}
.article-container .swiper-slide .placeholder-container {
  height: 100%;
  width: 100%;
  background: #f9f3f4;
  background: -webkit-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: -moz-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#F9F3F4",
  endColorstr="#FFDBDB",
  GradientType=0
);
  border-radius: 10px;
  display: flex;
  position: relative;
}
.article-container .swiper-slide .placeholder-container span {
  color: #9d101f;
  font-weight: 600;
  font-size: 24px;
  position: absolute;
  left: 25px;
  bottom: 25px;
}
.article-container .content-sidebar-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.article-container .sidebar-container {
  display: flex;
  flex-direction: column;
  flex: 1 1 280px;
}
.article-container .sidebar-container .sidebar-article {
  background-color: #f4f4f4;
  border-radius: 25px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 12px;
}
.article-container .sidebar-container .sidebar-article .top-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-container .sidebar-container .recent-articles-container {
  margin-bottom: 88px;
}
.article-container .sidebar-container .category-tag {
  background-color: #fff;
}
.article-container .sidebar-container .article-info-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.article-container .sidebar-container .article-date {
  color: #9d101f;
  opacity: 0.32;
  margin-top: 16px;
  margin-bottom: 8px;
}
.article-container .sidebar-container .article-title {
  color: #9d101f;
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 0px;
}
.article-container h2 {
  font-size: 22px;
  font-weight: 600;
  color: #9d101f;
}
.article-container .article-content {
  margin-top: 60px;
  font-weight: 500;
  font-size: 18px;
  color: #444;
  line-height: 1.5;
}
.article-container .article-content a {
  word-break: break-word;
}
@media only screen and (max-width: 500px) {
  .article-container .article-content {
    margin-top: 30px;
  }
}
.article-container .article-content p,
.article-container .article-content li {
  max-width: 850px;
  text-wrap: balance;
}
.article-container .article-content li {
  margin: 16px 0;
}
.article-container .content-container {
  max-width: 960px;
  width: 100%;
}
.article-container .content-container-publication {
  max-width: none !important;
}
.article-container .content-container .article-date {
  font-size: 14px;
  color: #9d101f;
}
.article-container .breadcrumb {
  align-self: flex-start;
  margin-top: 20px;
  margin-bottom: 68px;
}
.article-container .breadcrumb .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #9d101f;
}
.article-container .breadcrumb .wrapper a {
  color: #9d101f;
  opacity: 0.32;
  transition: opacity 0.3 ease-in-out;
}
.article-container .breadcrumb .wrapper a:hover {
  opacity: 1;
}
.article-container .share-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 80px;
}
.article-container .share-container span {
  font-weight: 600;
  color: #9d101f;
}
.article-container .share-container svg {
  opacity: 0.32;
}
@media (max-width: 1491px) {
  .article-container .content-container {
    max-width: 100%;
  }
}

.secondary-contact {
  display: flex;
  color: #9d101f;
  margin-top: 40px;
}
.secondary-contact .contact-container {
  display: flex;
  gap: 12px;
  margin-right: 62px;
}
.secondary-contact .contact-container svg {
  transform: translateY(5px);
}
.secondary-contact .contact-info-container {
  display: flex;
  flex-direction: column;
}
.goal-section-container {
  background-color: #9d101f;
  border-radius: 25px;
  width: 100%;
  color: white;
  display: flex;
  padding: 24px 24px 30px 24px;
  gap: 200px;
  margin-top: 68px;
}
.goal-section-container span {
  font-size: 30px;
  font-weight: 600;
  line-height: 126%;
}
@media only screen and (max-width: 1000px) {
  .goal-section-container {
    flex-direction: column;
    gap: 100px;
    margin-top: 30px;
  }
  .goal-section-container span {
    font-size: 20px;
  }
}
.solutions-section-container {
  background-color: #f9f3f4;
  border-radius: 25px;
  width: 100%;
  color: #9d101f;
  padding: 24px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.solutions-section-container .solutions-section-header span {
  font-size: 30px;
  font-weight: 600;
}
.solutions-section-container .solutions-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 140px;
}
.solutions-section-container .solution {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.framing-section-container {
  background-color: #f4f4f4;
  border-radius: 25px;
  color: #444;
  padding: 24px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.framing-section-container .framing-section-header span {
  font-size: 30px;
  font-weight: 600;
}
.framing-section-container .framing-section-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.framing-section-container .framing-item {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}
@media only screen and (max-width: 1000px) {
  .framing-section-container .framing-item-text {
    width: 100%;
  }
  .framing-section-container .framing-section-header span {
    font-size: 20px;
  }
}
.gallery .images-container {
  columns: 3;
  gap: 1.25rem;
}
.gallery .images-container img {
  display: block;
  width: 100%;
  border-radius: 25px;
  margin-bottom: 1.25rem;
}
@media only screen and (max-width: 1000px) {
  .gallery .images-container {
    columns: 1;
  }
}
.third-key-elements {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 100px !important;
}
.third-key-elements .number-container {
  background-color: #9d101f;
  font-size: 50px;
  color: white;
  border-radius: 25px;
  font-weight: 600;
  padding-inline: 72px;
  padding-block: 28px;
}
.third-key-elements .content-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.third-key-elements .header-container {
  background-color: #f4f4f4;
  color: #444;
  border-radius: 25px;
  font-weight: 600;
  font-size: 30px;
  padding-block: 28px;
  padding-inline: 72px;
  line-height: 126%;
  display: flex;
  align-items: center;
  text-wrap: balance;
}
.third-key-elements .text-container {
  color: #444;
  padding-left: 72px;
  line-height: 140%;
  width: 50%;
  margin-top: 32px;
}
@media only screen and (max-width: 1000px) {
  .third-key-elements .text-container {
    width: 90%;
  }
  .third-key-elements .number-container {
    padding-inline: 34px;
    font-size: 33px;
  }
  .third-key-elements .header-container {
    padding-inline: 34px;
    font-size: 23px;
  }
  .third-key-elements .text-container {
    padding-left: 34px;
  }
}
.adelo-resource {
  display: flex;
  flex-direction: column;
}
.adelo-resource .header-container {
  font-size: 20px;
  font-weight: 600;
  color: #9d101f;
  margin-bottom: 28px;
}
.adelo-resource .text-container {
  margin-bottom: 48px;
  color: #9d101f;
  line-height: 140%;
  width: 60%;
}
.adelo-resource .img-container img {
  width: 100%;
  border-radius: 25px;
}
.adelo-resource .divider {
  height: 1px;
}
.divider {
  height: 1px;
  background-color: #9d101f;
  width: 100%;
  opacity: 32%;
}
.second-heading {
  color: #9d101f !important;
  font-weight: 600 !important;
  font-size: 20px !important;
}
.accordion-heading {
  color: #444 !important;
  font-weight: 600 !important;
  font-size: 20px !important;
}
.body-text {
  color: #444;
  line-height: 140% !important;
}
.download {
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: center;
}
.download .download-header {
  margin-bottom: 6px;
}
#map {
  height: 500px;
}
.documentation-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 28px 36px;
  padding-left: 32px;
  background-color: #f4f4f4;
  border-radius: 25px;
}
.documentation-block .content {
  width: 80%;
}
.documentation-block .download-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* --- OTHER SPACE ACCORDION --- */
.accordion-content {
  margin-bottom: 0 !important;
}
.accordion-content .wrapper {
  display: flex;
  flex-direction: column;
}
.accordion-content button.toogle {
  appearance: none;
  border: none;
  padding: 25px 90px 25px 35px;
  background-color: var(--black-color);
  color: var(--third-color);
  position: relative;
  outline: none;
  width: 100%;
  border-radius: 0 !important;
  text-align: left;
}
.accordion-content button.toogle:hover {
  cursor: pointer;
}
.accordion-content button.toogle .icon {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 35px;
  top: 30px;
  display: grid;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-in-out;
}
.accordion-content button.toogle .icon::before,
.accordion-content button.toogle .icon::after {
  content: "";
  width: 36px;
  height: 1px;
  grid-row: 1;
  grid-column: 1;
  background-color: var(--third-color);
  transition: all 0.4s ease-in-out;
}
.accordion-content button.toogle .icon::after {
  transform-origin: center;
  transform: rotateZ(90deg);
}
.accordion-content button.toogle.opened .icon::after {
  transform-origin: center;
  transform: rotateZ(0deg);
}
.accordion-content button.toogle h3 {
  color: var(--third-color);
  margin: 0;
}
.accordion-content .panel {
  background-color: var(--fourth-color);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.accordion-content .panel .inner {
  padding: 0 35px 35px 35px;
}
.accordion-content .no-found h4 {
  margin: 0;
}
.accordion-content .no-found p {
  padding-bottom: 0;
}
@media only screen and (max-width: 768px) {
  .accordion-content button.toogle {
    padding: 15px 65px 15px 25px;
  }
  .accordion-content button.toogle .icon {
    width: 26px;
    height: 26px;
    right: 25px;
    top: 20px;
  }
  .accordion-content button.toogle .icon::before,
  .accordion-content button.toogle .icon::after {
    width: 26px;
  }
  .accordion-content .panel .inner {
    padding: 25px;
  }
}
@media only screen and (max-width: 690px) {
  .accordion-content button.toogle h3 {
    font-size: 24px;
    line-height: 32px;
  }
  .accordion-content button.toogle {
    padding: 15px 45px 15px 18px;
  }
  .accordion-content button.toogle .icon {
    width: 18px;
    height: 18px;
    right: 18px;
  }
}
.contact-info {
  display: flex;
  gap: 12px;
  height: 100%;
}
@media only screen and (max-width: 1000px) {
  .contact-info {
    height: auto;
  }
}
.contact-info .icon-container {
  flex: 0 0 auto;
}
.contact-info .header-container span {
  font-weight: 600;
  color: #9d101f;
}
.contact-icon {
  width: 16px;
  height: 16px;
  transform: translateY(-12px) !important;
  margin-right: 12px;
  stroke-width: 20px;
}
.location-svg {
  background-color: #9d101f;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 22px;
  height: 100%;
}
.location-svg .location-header {
  color: white;
}
.accordion-divider {
  opacity: 12%;
}
.presentation-goal-text {
  font-weight: 600;
  color: white;
  line-height: 125.9%;
  font-size: 30px;
}
.text-card {
  background-color: #f9f3f4;
  border-radius: 25px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
}
.text-card .header-container {
  padding-top: 24px;
  color: #9d101f;
  font-size: 30px;
  font-weight: 600;
}
.text-card .body-container {
  color: #9d101f;
  line-height: 140%;
}
.gslide-image img {
  border-radius: 25px 25px 0 0;
}
.gslide-description {
  border-radius: 0 0 25px 25px;
}
.gslide-description h4 {
  color: #9d101f !important;
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 0 !important;
}
.project {
  background-color: #f4f4f4;
  border-radius: 25px;
  padding: 40px;
}
.project .body-container {
  margin-top: 40px;
}
.project .body-container ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project .body-container li::marker {
  color: #444;
}
.project .body-container li {
  color: #444;
}
.project .body-container li a {
  opacity: 32%;
  transition: opacity 0.2s ease-in-out;
}
.project .body-container li a:hover {
  opacity: 100%;
}

@media only screen and (max-width: 600px) {
  .project {
    padding: 40px 20px;
  }
}
#map {
  border-radius: 25px;
}
#map .leaflet-control-attribution {
  padding-right: 16px;
}
#map .leaflet-left .leaflet-control {
  margin-left: 20px;
}
#map .leaflet-top .leaflet-control {
  margin-top: 20px;
}
#map .leaflet-popup-content .text-wrapper a {
  display: flex;
  color: #9d101f;
  gap: 4px;
  align-items: center;
}
#map .leaflet-popup-content .text-wrapper a svg {
  width: 16px;
  height: 16px;
}
.co-financed .header-container {
  margin-top: 60px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}
.co-financed .co-financed-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}
.co-financed .co-financed-item {
  height: 40px;
  position: relative;
}
.co-financed .co-financed-item .link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #9d101f;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* allow clicks to pass through to <a> */
  z-index: 1;
  transform: scaleX(1.15) scaleY(1.55);
  border-radius: 15px;
}
.co-financed .co-financed-item svg {
  background-color: #9d101f;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 5px;
  color: #fff;
  z-index: 10;
  padding: 5px;
}
.co-financed .co-financed-item a {
  display: block;
  height: 100%;
}
.co-financed .co-financed-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
.co-financed .co-financed-item:hover .link-overlay {
  opacity: 0.5;
}
.co-financed .co-financed-item:hover svg {
  opacity: 1;
}
.co-financed .divider {
  margin-block: 52px;
}
.edl-list ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #444;
}
.edl-list ol ::marker {
  font-weight: 600;
}
.list-gap ul,
.list-gap ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ended-contest {
  margin-left: 24px;
}
.ended-contest .heading {
  font-size: 16px;
  font-weight: 600;
  color: #9d101f;
}

.document-info {
  display: flex;
  gap: 20px;
  background-color: #f4f4f4;
  width: 100%;
  padding: 30px;
  border-radius: 15px;
}
.document-info .text-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.document-info .header-container span {
  color: #9d101f;
  font-size: 30px;
  font-weight: 600;
}

.document-info .image-container {
  height: 200px;
  width: 143px;
}

.document-info .image-container img {
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}
@media only screen and (max-width: 600px) {
  .document-info {
    flex-direction: column;
  }
}
#archivePost .filter-item {
  font-size: 20px;
  line-height: 28px;
  min-width: fit-content;
}

#archivePost .filters-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}

#archivePost .posts-grid {
  display: grid;
  grid-gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  margin-top: 80px;
}

@media only screen and (max-width: 460px) {
  #archivePost .posts-grid {
    display: grid;
    grid-gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 80px;
  }
}

@media only screen and (max-width: 600px) {
  #archivePost .filters-stack {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px 20px;
    padding: 8px 20px;
  }

  #archivePost .filters .filters-wrapper {
    margin-inline: -20px;
  }
}

.press-slider .swiper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.press-slider .swiper-controls {
  display: flex;
  height: 48px;
  align-items: flex-end;
  margin-bottom: 28px;
}
.press-slider .swiper-controls > * {
  position: static;
  color: #000;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.press-slider .swiper-button-prev {
  background-image: url(./../../assets/icons/arrow-left.svg) !important;
}
.press-slider .swiper-button-next {
  background-image: url(./../../assets/icons/arrow-right.svg) !important;
}
.press-slider .swiper-button-next::after {
  display: none;
}
.press-slider .swiper-button-prev::after {
  display: none;
}
.press-slider .swiper-slide {
  padding: 22px;
  max-width: fit-content;
  height: 450px !important;
}

.press-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media only screen and (max-width: 600px) {
  .press-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    padding: 22px;
    width: 275px !important;
    height: auto !important;
  }
}

.interreg-partners-wrapper {
  background-color: #f4f4f4;
  border-radius: 25px;
  color: #444;
  padding: 24px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.interreg-partners-wrapper .header-wrapper span {
  color: #444;
  font-size: 20px;
  font-weight: 600;
}

.interreg-partners-wrapper .body-wrapper p {
  color: #444;
  font-size: 16px;
  max-width: 830px;
}

.interreg-partners-wrapper .items-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.interreg-partners-wrapper .items-wrapper .item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.interreg-partners-wrapper .items-wrapper .item .item-title {
  font-weight: 600;
}

.interreg-partners-wrapper .items-wrapper .item li {
  margin: 10px 0;
}

.footer-social-networks .inner svg {
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
  color: #444;
}

.footer-social-networks .inner svg:hover {
  opacity: 1;
  color: #444;
}

.nectar_hook_global_section_footer {
  margin-top: 100px;
  border-radius: 50px 50px 0 0;
  background-color: #f4f4f4;
}

.open-contest {
  background-color: #f4f4f4;
  border-radius: 25px;
  padding-inline: 30px;
  padding-top: 22px;
  padding-bottom: 50px;
}

.open-contest .header-container {
  background-color: #fff;
  color: #9d101f;
  border-radius: 15px;
  padding-block: 12px;
  padding-inline: 28px;
  font-weight: 600;
  font-size: 20px;
}

.open-contest .body-container {
  margin-top: 40px;
  margin-bottom: 48px;
  max-width: 1000px;
  text-wrap: balance;
  color: #444;
}

.gtranslate_wrapper {
  display: flex;
  gap: 20px;
  width: 80%;
}

a.glink {
  flex: 1 1 auto;
  max-width: 25px;
}

.home-random-video .home-random-video-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  height: 100%;
  min-height: 600px;
  flex-wrap: wrap;
}

.home-random-video .video-wrapper iframe {
  border-radius: 25px;
  height: 100%;
  width: 100% !important;
  object-fit: cover;
}
.home-random-video .video-wrapper .wpb_video_widget,
.home-random-video .video-wrapper .wpb_wrapper,
.home-random-video .video-wrapper .wpb_video_wrapper {
  height: 100%;
  width: 100% !important;
}

.home-random-video .video-wrapper {
  height: 600px;
  flex: 1 1 600px;
}
.home-random-video .info-wrapper {
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  padding: 22px;
  flex: 1 1 400px;
  justify-content: space-between;
  gap: 40px;
  height: 600px;
}
.home-random-video .info-wrapper-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.home-random-video .info-wrapper-light-red {
  background: #f9f3f4;
}
.home-random-video .info-wrapper-white {
  background: #fff;
}
.home-random-video .info-wrapper h3 {
  font-size: 30px !important;
  color: #444;
  text-align: left;
  line-height: 120%;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-random-video .info-wrapper .desc {
  font-size: 18px !important;
  color: #444;
  text-align: left;
  font-weight: 500;
  line-height: 140%;
}
.home-random-video .info-wrapper .desc p {
  text-wrap: balance;
}
@media only screen and (max-width: 1200px) {
  .home-random-video .image-wrapper {
    height: 500px;
  }
  .home-random-video .info-wrapper {
    height: auto;
  }
}

.wpb_wrapper:has(.location-svg) {
  height: 100%;
}

.footer-lang .gtranslate_wrapper {
  width: 100%;
  justify-content: flex-end;
}

@media only screen and (max-width: 1000px) {
  .footer-lang .gtranslate_wrapper {
    width: 100%;
    justify-content: flex-start;
  }
}

.slider-news .swiper-controls-all-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

#archivePost .card .wrapper .placeholder-container {
  height: 250px;
  margin-bottom: 24px;
  background: #f9f3f4;
  background: -webkit-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: -moz-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#F9F3F4",
  endColorstr="#FFDBDB",
  GradientType=0
);
  border-radius: 10px;
  display: flex;
  position: relative;
}

#archivePost .card .wrapper .placeholder-container span {
  color: #9d101f;
  font-weight: 600;
  font-size: 24px;
  position: absolute;
  left: 25px;
  bottom: 25px;
}

#archivePost .card .wrapper {
  text-align: center;
  font-size: 18px;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  padding: 22px;
  width: 100% !important;
  height: 100% !important;
}
#archivePost .card .wrapper img {
  border-radius: 10px;
  margin-bottom: 24px;
  height: 250px;
  object-fit: cover;
}
#archivePost .card .wrapper h3 {
  font-size: 30px !important;
  color: #9d101f;
  text-align: left;
  line-height: 120%;
  font-weight: 600;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 32px;
  height: 110px;
}
@media only screen and (max-width: 460px) {
  #archivePost .card .wrapper h3 {
    font-size: 22px !important;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
}
#archivePost .card .wrapper .desc {
  font-size: 16px !important;
  color: #444;
  text-align: left;
  font-weight: 500;
  line-height: 140%;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#archivePost .card .wrapper .date-wrapper {
  font-size: 13px !important;
  color: #000;
  text-align: left;
  font-weight: 500;
}
#archivePost .card .wrapper .news-info-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

#archivePost .card .wrapper .header-body-wrapper {
  display: flex;
  flex-direction: column;
}

#archivePost .card .wrapper .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 8px;
}

#archivePost .card .wrapper .tag-component {
  background-color: #fff;
  padding-inline: 6px;
  padding-block: 4px;
  font-size: 13px;
  border-radius: 5px;
}

.centro-comunitario-imagem img {
  object-position: left;
}

.archive-navigation {
  display: flex;
  justify-content: end;
  margin-top: 80px;
  margin-bottom: 40px;
  gap: 10px;
  align-items: center;
}

.archive-navigation a.page-numbers {
  color: #9d101f !important;
  opacity: 50%;
}

.archive-navigation a.page-numbers:hover {
  opacity: 100%;
}

.archive-navigation span.page-numbers.current {
  color: white !important;
  opacity: 100% !important;
  background-color: #9d101f;
  border-radius: 3px;
  padding-inline: 12px;
  padding-block: 4px;
}

.gray-text {
  color: #444;
  font-size: 18px;
  line-height: 1.5;
}

#highlight-gradient {
  border-radius: 50px 50px 0 0;
  box-shadow: 0px -50px 53px 0px rgba(217, 217, 217, 0.6);
}

.centro-comunitario-section {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 220px;
  border-radius: 25px;
  box-shadow: inset -850px 0px 226px -137px rgba(157, 16, 31, 0.9);
  display: flex;
  justify-content: flex-end;
}

.centro-comunitario-section-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px;
}

.centro-comunitario-section-wrapper {
  color: white;
  text-align: right;
  width: 100%;
}

.centro-comunitario-section-wrapper > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.centro-comunitario-section-wrapper .desc {
  margin-top: 20px;
  max-width: 580px;
}

.centro-comunitario-section-wrapper .desc p {
  text-wrap: balance;
}

.centro-comunitario-section-wrapper h3 {
  color: white;
  font-size: 30px !important;
  text-align: right;
}

.centro-comunitario-section-wrapper .primary-bt {
  background-color: white;
  color: #9d101f;
}

@media (max-width: 1300px) {
  .centro-comunitario-section {
    box-shadow: inset -750px 0px 226px -137px rgba(157, 16, 31, 0.8);
  }
}

@media (max-width: 550px) {
  .centro-comunitario-section {
    box-shadow: inset -550px 0px 226px -137px rgba(157, 16, 31, 0.8);
  }
}

@media (max-width: 800px) {
  .centro-comunitario-section {
    height: 320px;
  }
}

#searchPage .search-page-breadcrumb {
  padding-block: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#searchPage .search-page-breadcrumb .custom-breadcrumbs {
  margin-bottom: 16px;
}

#searchPage .search-page-breadcrumb h1 {
  color: #9d101f;
}

#searchPage .card-type-page {
  display: inline-block;
  background-color: #9d101f;
  border-radius: 5px;
  padding-block: 10px;
  padding-inline: 16px;
}

#searchPage .card-type-page h3 {
  color: white;
  margin: 0;
  font-weight: 600;
  font-size: 16px;
}

#searchPage .custom-breadcrumbs .wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

#searchPage .search-results-section {
  margin-bottom: 60px;
}

#searchPage .section-results-list:has(.card-type-news) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#searchPage .card-search img {
  width: 100%; /* Image will not exceed the width of its parent (.wrapper) */
  height: 300px;
  display: block; /* Remove any extra space below the image */
  object-fit: cover; /* This is great for making images fill their space without distortion, then clipping if needed */
  border-radius: 10px;
}

#searchPage .card-type-news {
  display: block; /* Ensure it behaves like a block element in the grid */
  padding: 15px; /* Example padding */
  text-decoration: none; /* Remove underline for links */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  overflow: hidden; /* Hide any content that overflows the card */
  background-color: #f4f4f4;
  border-radius: 16px;
}

#searchPage .card-type-news .wrapper {
  display: flex;
  flex-direction: column; /* Stack image and title vertically */
  align-items: center; /* Center content horizontally */
  text-align: center; /* Center text */
  height: 100%; /* Ensure wrapper takes full height of the card */
}

#searchPage .card-type-news h3 {
  margin-top: 10px; /* Space between image and title */
  font-size: 1.2em; /* Adjust font size as needed */
  line-height: 1.3;
  text-align: left;
}

#searchPage .placeholder-container {
  height: 300px;
  background: #f9f3f4;
  background: -webkit-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: -moz-linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(249, 243, 244, 1) 40%,
    rgba(255, 219, 219, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#F9F3F4",
  endColorstr="#FFDBDB",
  GradientType=0
);
  border-radius: 10px;
  display: flex;
  position: relative;
  width: 100%;
}

#searchPage .placeholder-container span {
  color: #9d101f;
  font-weight: 600;
  font-size: 24px;
  position: absolute;
  left: 25px;
  bottom: 25px;
}

/* Basic responsive adjustments (example) */
@media (max-width: 1024px) {
  #searchPage .section-results-list:has(.card-type-news) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #searchPage .section-results-list:has(.card-type-news) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  #searchPage .section-results-list:has(.card-type-news) {
    grid-template-columns: 1fr;
  }
}

.documentation-download {
  margin-top: 20px;
}

.population-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  color: #333;
  overflow: hidden; /* Ensures border-radius is respected on child elements */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.population-data-table thead tr {
  background-color: #9fa13a; /* Olive green from the image */
  color: #ffffff;
  text-align: left;
}
.population-data-table th {
  color: #9d101f;
}
.population-data-table th,
.population-data-table td {
  padding: 14px 18px;
}
.population-data-table tbody tr {
  background-color: #f5f4fa; /* Light lavender from the image */
  border-bottom: 1px solid #e9e7f1;
}
.population-data-table tbody tr:last-of-type {
  border-bottom: none; /* Remove border from the last row */
}

#archivePost .search-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#archivePost .search-container input {
  flex: 1;
  border-radius: 15px;
  padding-left: 15px;
}

#archivePost .search-container button {
  background-color: #9d101f;
  color: white;
  border-radius: 15px !important;
  padding-inline: 16px;
  border: none;
  font-family: "Raleway", sans-serif;
}

#archivePost .filter-item {
  max-width: fit-content;
  user-select: none;
}

#archivePost .filter-all {
  margin-right: 20px;
  user-select: none;
}
#archivePost .swiper-controls {
  display: flex;
  align-items: flex-end;
  height: 50px;
  margin-bottom: 24px;
  position: relative;
}

#archivePost .swiper-controls > * {
  position: absolute;
  transform: translateY(20px);
  color: #9d101f;
}
#archivePost .swiper-button-prev::after,
#archivePost .swiper-button-next::after {
  font-size: 24px;
}

#archivePost .swiper-button-prev {
  left: 0;
  top: 0;
}

#archivePost .swiper-button-next {
  right: 0;
  top: 0;
}