.px-news {
  container-type: inline-size;
  max-width: var(--maxWidthBig);
  width: var(--baseWidth);
  margin: 0 auto;
}
.px-news article .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
@container (width <=1024px) {
  .px-news article .content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.px-news article .post_media {
  position: relative;
  min-height: clamp(20rem, 16.6216216216rem + 16.8918918919vw, 32.5rem);
  overflow: hidden;
  border-radius: 30px;
  width: 100%;
  min-width: 850px;
  max-width: 850px;
  background-color: var(--mainColorVeryLight);
  transition: var(--baseTransition);
}
@container (width <=1400px) {
  .px-news article .post_media {
    min-width: 50%;
    max-width: 50%;
  }
}
@container (width <=1024px) {
  .px-news article .post_media {
    min-width: inherit;
    max-width: 100%;
  }
}
@container (width <=640px) {
  .px-news article .post_media {
    min-height: clamp(14.6875rem, 12.9983108108rem + 8.4459459459vw, 20.9375rem);
  }
}
.px-news article .post_media img,
.px-news article .post_media video {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.px-news article .post_media .video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.px-news article .post_media .video-wrapper video {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.px-news article blockquote {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
.px-news article blockquote::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(../img/comment.svg) no-repeat center/contain;
  margin-bottom: 10px;
}
.px-news article .news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.px-news article .news-meta .date {
  font-size: 15px;
  color: var(--fontColor);
  font-weight: 400;
}
.px-news article .news-meta .post-category {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--secondColor);
  color: var(--contrastColorInverted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--baseTransition);
}
.px-news article .news-meta .post-category:hover {
  background: var(--mainColor);
  color: var(--contrastColorInverted);
}
.px-news article .excerpt {
  color: var(--fontColor);
  margin: 15px 0;
  line-height: 1.6;
}
.px-news article .wp-block-buttons {
  margin: unset;
}
.px-news .featured-news {
  margin-bottom: clamp(0.9375rem, 0.7010135135rem + 1.1824324324vw, 1.8125rem);
  background-color: var(--backgroundColor);
  border-radius: 30px;
  position: relative;
}
.px-news .featured-news blockquote {
  font-size: 20px;
  font-weight: 500;
}
.px-news .featured-news .date {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 1;
  display: inline-flex;
  padding: 7px 18px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: var(--Border-Radius-XL, 50px);
  border: 1px solid var(--Solid---Secondary, #A6B22A);
  background: var(--Solid---White, #FFF);
  color: var(--Solid---Primary, #0D4E52);
  text-align: center;
  font-size: var(--miniFontSize);
  line-height: 100%;
}
.px-news .featured-news .news-meta {
  margin-bottom: 20px;
}
.px-news .featured-news .post_media {
  border-radius: 30px 0 0 30px;
}
@container (width <=1024px) {
  .px-news .featured-news .post_media {
    border-radius: 15px 15px 0 0;
  }
}
@container (width <=1400px) {
  .px-news .featured-news .post_media {
    min-width: 55%;
    max-width: 55%;
  }
}
@container (width <=1024px) {
  .px-news .featured-news .post_media {
    min-width: inherit;
    max-width: 100%;
  }
}
.px-news .featured-news .text-content {
  padding: 25px clamp(2.5rem, 1.8243243243rem + 3.3783783784vw, 5rem) 30px clamp(1.5625rem, 1.1402027027rem + 2.1114864865vw, 3.125rem);
}
.px-news .featured-news .wp-block-button {
  font-size: 16px;
}
.px-news .postsloop.no-slider {
  max-width: 1230px;
}
.px-news .postsloop .news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@container (width <=640px) {
  .px-news .postsloop .news-list .news-entry {
    border-bottom: 1px solid var(--backgroundColor);
    padding-bottom: 20px;
  }
}
.px-news .postsloop article .content {
  position: relative;
  align-items: flex-start;
}
.px-news .postsloop article .content .date {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 1;
  display: inline-flex;
  padding: 7px 18px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: var(--Border-Radius-XL, 50px);
  border: 1px solid var(--Solid---Secondary, #A6B22A);
  background: var(--Solid---White, #FFF);
  color: var(--Solid---Primary, #0D4E52);
  text-align: center;
  font-size: var(--miniFontSize);
  line-height: 100%;
}
.px-news .postsloop article .content .text-content {
  padding-top: 35px;
}
@container (width <=1024px) {
  .px-news .postsloop article .content .text-content {
    padding-top: 0;
  }
}
.px-news .postsloop article .content .text-content .entry-title {
  text-wrap: auto;
  margin-bottom: 15px;
}
.px-news .postsloop article .content .post_media {
  min-width: 230px;
  max-width: 280px;
  min-height: 150px;
  border-radius: 20px;
  aspect-ratio: 1.53/1;
}
@container (width <=1024px) {
  .px-news .postsloop article .content .post_media {
    min-width: inherit;
    max-width: 100%;
  }
}
.px-news .postsloop article .content .text-content {
  width: 100%;
  padding: 0 30px 0 20px;
  margin: auto;
}
.px-news .postsloop article .content .comment {
  max-height: 160px;
  overflow: hidden;
  transition: var(--baseTransition);
}
.px-news .postsloop article .content .comment.visible {
  overflow: visible;
  max-height: none;
}
.px-news .postsloop article .content .read-more {
  position: absolute;
  bottom: 0;
  right: 0;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: var(--mainColor);
  mask: url(../img/arrow.svg) no-repeat center/contain;
  transform: rotate(90deg);
  transition: var(--baseTransition);
  cursor: pointer;
  font-size: 16px;
}
.px-news .postsloop article .content .read-more:hover {
  background-color: var(--secondColor);
}
.px-news .postsloop article .content .read-more.open {
  background-color: var(--secondColor);
  transform: rotate(-90deg);
}
.px-news .splide {
  visibility: visible;
}
.px-news .splide .splide__track {
  width: calc(100% - 115px);
}
@container (width <=1024px) {
  .px-news .splide .splide__track {
    width: 100%;
  }
}
.px-news .splide .news-items.splide__list .splide__slide {
  max-width: 100%;
}
.px-news .splide .splide__arrows {
  z-index: 10;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}
@container (width <=1024px) {
  .px-news .splide .splide__arrows {
    margin-left: 0;
    position: relative;
    transform: translateY(0);
  }
}
.px-news .splide .splide__arrows .button-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.px-news .splide .splide__arrows .splide__arrow {
  position: relative;
  opacity: 1;
  background: var(--backgroundColor);
  width: 40px;
  height: 40px;
  transition: var(--baseTransition);
  left: auto;
  right: auto;
  top: auto;
  bottom: 0;
  transform: none;
  border: none;
  cursor: pointer;
}
.px-news .splide .splide__arrows .splide__arrow::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--mainColor);
  mask: url(../img/splide_arrow.svg) no-repeat center/17px auto;
  position: absolute;
  top: 0;
  left: 0;
  transition: var(--baseTransition);
}
.px-news .splide .splide__arrows .splide__arrow.splide__arrow--prev::before {
  transform: rotate(180deg);
}
.px-news .splide .splide__arrows .splide__arrow:hover {
  background-color: var(--secondColor);
}
.px-news .splide .splide__arrows .splide__arrow:hover::before {
  background-color: var(--contrastColorInverted);
}
.px-news .splide .splide__counter {
  font-size: var(--miniFontSize);
  color: var(--fontColor);
}

/**
 * Frame-specific styling for different backgrounds
 */
.fl[data-frame=lightbgbox] .px-news .splide .splide__arrows .splide__arrow,
.fl[data-frame=dekobox].changeColorLightDekoelement .px-news .splide .splide__arrows .splide__arrow {
  background-color: var(--contrastColorInverted);
}
.fl[data-frame=lightbgbox] .px-news .splide .splide__arrows .splide__arrow:hover,
.fl[data-frame=dekobox].changeColorLightDekoelement .px-news .splide .splide__arrows .splide__arrow:hover {
  background-color: var(--secondColor);
}
@container (width <=640px) {
  .fl[data-frame=lightbgbox] .px-news .news-list .news-entry,
  .fl[data-frame=dekobox].changeColorLightDekoelement .px-news .news-list .news-entry {
    border-color: var(--contrastColorInverted);
  }
}

.fl[data-frame=cibgbox] .px-news .postsloop article .content .read-more,
.fl[data-frame=dekobox].changeColorDekoelement .px-news .postsloop article .content .read-more,
.fl[data-background-image=true] .px-news .postsloop article .content .read-more {
  background-color: var(--contrastColorInverted);
}
.fl[data-frame=cibgbox] .px-news .postsloop article .content .read-more:hover,
.fl[data-frame=dekobox].changeColorDekoelement .px-news .postsloop article .content .read-more:hover,
.fl[data-background-image=true] .px-news .postsloop article .content .read-more:hover {
  background-color: var(--secondColor);
}
.fl[data-frame=cibgbox] .px-news .postsloop article .content .read-more.open,
.fl[data-frame=dekobox].changeColorDekoelement .px-news .postsloop article .content .read-more.open,
.fl[data-background-image=true] .px-news .postsloop article .content .read-more.open {
  background-color: var(--secondColor);
}
@container (width <=640px) {
  .fl[data-frame=cibgbox] .px-news .news-list .news-entry,
  .fl[data-frame=dekobox].changeColorDekoelement .px-news .news-list .news-entry,
  .fl[data-background-image=true] .px-news .news-list .news-entry {
    border-color: var(--contrastColorInverted);
  }
}

/**
 * Layout-specific styling
 */
.fl[data-layout=layout-full-reduced] .px-news,
.fl[data-layout=layout-full-reduced-small] .px-news {
  width: 100%;
}

/**
 * Responsive adjustments for mobile devices
 */
@container (width <=450px) {
  .px-news article .content {
    gap: 15px;
  }
  .px-news .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .px-news .button {
    width: 100%;
    text-align: center;
  }
}