.px-news {
  container-type: inline-size;
  padding: clamp(3.125rem, 1.7736486486rem + 6.7567567568vw, 8.125rem) 0 clamp(4.375rem, 2.8547297297rem + 7.6013513514vw, 10rem) 0;
  position: relative;
}
.px-news .informations {
  max-width: var(--reducedWidth);
  text-align: center;
  margin: auto;
}
.px-news.three-col {
  padding: clamp(3.125rem, 1.7736486486rem + 6.7567567568vw, 8.125rem) 0 clamp(2.5rem, 1.8243243243rem + 3.3783783784vw, 5rem) 0;
}
.px-news.three-col .informations .headline h2,
.px-news.three-col .informations .headline h3,
.px-news.three-col .informations .content {
  color: var(--contrastColorInverted);
}
.px-news .postsloop {
  gap: 40px;
  display: flex;
}
@container (width <=960px) {
  .px-news .postsloop {
    flex-direction: column;
  }
}
.px-news .postsloop article {
  transition: var(--baseTransition);
  border-radius: 5px;
  display: flex;
  overflow: hidden;
}
@container (width <=960px) {
  .px-news .postsloop article {
    flex-direction: column;
  }
}
.px-news .postsloop article .post-thumbnail {
  position: relative;
  overflow: hidden;
  width: 37.3%;
}
@container (width <=960px) {
  .px-news .postsloop article .post-thumbnail {
    height: auto;
    width: 100%;
    min-height: clamp(9.375rem, 7.6351351351rem + 8.6993243243vw, 15.8125rem);
  }
}
@container (width <=450px) {
  .px-news .postsloop article .post-thumbnail {
    min-height: 100px;
  }
}
.px-news .postsloop article .post-thumbnail img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
@container (width <=960px) {
  .px-news .postsloop article .post-thumbnail img {
    height: auto;
    object-fit: contain;
  }
}
.px-news .postsloop article .content {
  background-color: var(--contrastColorInverted);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px;
  width: 62.7%;
  gap: 15px;
  border: 1px solid #EAE9E5;
  border-radius: 0 5px 5px 0px;
}
@container (width <=960px) {
  .px-news .postsloop article .content {
    width: 100%;
  }
}
.px-news .postsloop article .content .button {
  margin-top: auto;
}
.px-news .postsloop article .content .date {
  font-size: 15px;
  color: var(--secondColor);
}
.px-news .postsloop article .content .entry-title {
  margin-top: 5px;
  text-transform: none;
}
.px-news .postsloop article .content .entry-title a {
  color: var(--contrastColor);
}
.px-news .postsloop article .content .excerpt {
  color: var(--fontColor);
  display: none;
  margin-bottom: 15px;
}
.px-news .postsloop article .content .wp-block-button .wp-element-button {
  color: var(--mainColor);
  font-size: 17px;
  font-weight: 600;
}
.px-news .postsloop article .content .wp-block-button .wp-element-button::before {
  height: 13px;
  width: 13px;
  margin-right: 5px;
}
.px-news .postsloop article:hover {
  transition: var(--baseTransition);
  transform: translateY(-10px);
  box-shadow: 0px 50px 40px 0px rgba(68, 67, 66, 0.05);
}
.px-news .postsloop .first {
  width: 50%;
}
@container (width <=960px) {
  .px-news .postsloop .first {
    width: 100%;
  }
}
.px-news .postsloop .first article {
  margin-top: unset;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.px-news .postsloop .first article .post-thumbnail {
  position: relative;
  min-height: clamp(9.375rem, 7.6351351351rem + 8.6993243243vw, 15.8125rem);
  max-height: 350px;
  overflow: hidden;
  height: -webkit-fill-available;
  width: 100%;
}
@container (width <=960px) {
  .px-news .postsloop .first article .post-thumbnail {
    height: auto;
  }
}
@container (width <=450px) {
  .px-news .postsloop .first article .post-thumbnail {
    min-height: 100px;
  }
}
.px-news .postsloop .first article .post-thumbnail img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
@container (width <=960px) {
  .px-news .postsloop .first article .post-thumbnail img {
    height: auto;
    object-fit: contain;
  }
}
.px-news .postsloop .first article .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: unset;
  width: 100%;
  border: 1px solid #EAE9E5;
  border-radius: 0 0 5px 5px;
}
.px-news .postsloop .first article .content .button {
  margin-top: unset;
}
.px-news .postsloop .first article .content .entry-title {
  margin-top: unset;
}
.px-news .postsloop .first article .content .excerpt {
  color: var(--fontColor);
  display: block;
}
.px-news .postsloop .rest {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@container (width <=960px) {
  .px-news .postsloop .rest {
    width: 100%;
  }
}
.px-news .news-inner {
  position: relative;
  max-width: var(--maxWidth);
  margin: auto;
  width: var(--baseWidth);
}
.px-news .news-inner > .wp-block-buttons {
  justify-content: center;
}
.px-news.three-col .postsloop {
  gap: 40px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center;
  max-width: 1300px;
}
.px-news.three-col .postsloop article {
  margin-top: unset;
  height: 100%;
  display: grid;
}
.px-news.three-col .postsloop article .post-thumbnail {
  position: relative;
  min-height: clamp(9.375rem, 7.6351351351rem + 8.6993243243vw, 15.8125rem);
  max-height: 350px;
  overflow: hidden;
  height: -webkit-fill-available;
  width: 100%;
}
@container (width <=960px) {
  .px-news.three-col .postsloop article .post-thumbnail {
    height: auto;
  }
}
@container (width <=450px) {
  .px-news.three-col .postsloop article .post-thumbnail {
    min-height: 300px;
  }
}
.px-news.three-col .postsloop article .post-thumbnail img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
@container (width <=960px) {
  .px-news.three-col .postsloop article .post-thumbnail img {
    height: auto;
    object-fit: contain;
  }
}
.px-news.three-col .postsloop article .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: unset;
  width: 100%;
  border: 1px solid #EAE9E5;
  border-radius: 0 0 5px 5px;
}
.px-news.three-col .postsloop article .content .button {
  margin-top: unset;
}
.px-news.three-col .postsloop article .content .entry-title {
  margin-top: unset;
}
.px-news.three-col .postsloop article .content .excerpt {
  color: var(--fontColor);
  display: block;
}
.px-news.three-col .postsloop article .content .post-category {
  padding: 11px 20px;
  border-bottom-left-radius: 5px;
  background: var(--secondColor);
  position: absolute;
  top: 0;
  right: 0;
  text-decoration: none;
  font-size: 15px;
}
.px-news .background {
  height: 625px;
  width: 100%;
  top: 0;
  background-image: url(../../img/Background.jpg);
  position: absolute;
}
.px-news .background::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  background: var(--Primary, #6F1721);
}
.px-news .background::before {
  content: "";
  background-image: url(../../img/style_element.svg);
  display: block;
  position: absolute;
  bottom: -129px;
  right: 0;
  height: 130px;
  width: 80px;
  transform: rotateY(180deg);
}
.px-news.has-2 .rest {
  width: 50%;
}
@container (width <=960px) {
  .px-news.has-2 .rest {
    width: 100%;
  }
}
.px-news.has-2 .rest article {
  margin-top: unset;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.px-news.has-2 .rest article .post-thumbnail {
  position: relative;
  min-height: clamp(9.375rem, 7.6351351351rem + 8.6993243243vw, 15.8125rem);
  max-height: 350px;
  overflow: hidden;
  height: -webkit-fill-available;
  width: 100%;
}
@container (width <=960px) {
  .px-news.has-2 .rest article .post-thumbnail {
    height: auto;
  }
}
@container (width <=450px) {
  .px-news.has-2 .rest article .post-thumbnail {
    min-height: 100px;
  }
}
.px-news.has-2 .rest article .post-thumbnail img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
@container (width <=960px) {
  .px-news.has-2 .rest article .post-thumbnail img {
    height: auto;
    object-fit: contain;
  }
}
.px-news.has-2 .rest article .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: unset;
  width: 100%;
  border: 1px solid #EAE9E5;
  border-radius: 0 0 5px 5px;
}
.px-news.has-2 .rest article .content .button {
  margin-top: unset;
}
.px-news.has-2 .rest article .content .entry-title {
  margin-top: unset;
}
.px-news.has-2 .rest article .content .excerpt {
  color: var(--fontColor);
  display: block;
}