.cpt {
    position: relative;
    text-align: center;
}

.cpt .teaser {
    padding: 0;
    position: relative;
    z-index: 2;
}

.cpt .splide__track {
    overflow: visible;
    max-width: 1120px;
    margin: auto;
}

.cpt .cpt__title-wrapper {
    position: relative;
}

.cpt .teaser-slider .slick-track {
    display: flex;
}

.cpt #taxonomy-filter {
    width: auto;
    margin: 0 auto 20px;
    color: #b9a878 !important;
    font-weight: 400;
    border-radius: 4px;

    &:focus {
        outline: none;
        box-shadow: 0 0 0 4px #b9a87829;
    }
}

.cpt .splide__arrow {
    background: transparent;
    border: 1px solid #423f47;
    border-radius: 4px;
    width: 64px;
    height: 40px;
}

@media screen and (max-width: 767px) {
    .cpt .splide__arrows {
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    .cpt .splide__arrow {
        position: relative;
        transform: none;
    }
}

.cpt .splide__arrow svg {
    width: unset;
}

.cpt .splide__arrow:disabled {
    opacity: 16%;
    cursor: not-allowed;
}

.cpt .splide__arrow--prev svg {
    transform: scaleX(1);
}

.splide__arrows--rtl .splide__arrow--prev svg {
    transform: scaleX(-1) !important;
}

.cpt .teaser-slider .slick-slide {
    float: none;
    height: auto;
}

.cpt .teaser-slider .teaser__item {
    padding: 15px;
}

.cpt .splide__list .teaser__item:not(.is-visible) {
    opacity: 0.16;
}

.cpt[data-color="#50a0f0"] h4 {
    color: #141c2d;
}

.teaser:not(.splide__list) {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

.teaser__item {
    position: relative;
    text-align: left;
    width: 100%;
    z-index: 2;
    box-shadow: inset 0 0 0 8px #b9a87829;
    /* border: 1px solid #B9A878; */
    border-radius: 16px;
    padding: 8px;
    transition: all 0.3s;
}
.teaser__item:hover {
    box-shadow: inset 0 0 0 8px #b9a87852;
}

@media (width >= 576px) {
    .teaser__item {
        /*padding: 0 12px;*/
        width: 50%;
    }
}

@media (width >= 992px) {
    .teaser__item {
        width: 33.3333333333%;
    }
}

@media (width >= 1200px) {
    .teaser__item {
        width: 25%;
    }
}

.teaser__item.nopostsfound {
    justify-self: center;
    text-align: center;
    width: 100%;
}

.teaser__link,
.teaser__title,
.teaser__date,
.teaser__excerpt {
    direction: ltr;
    color: #141c2d;
}

.teaser__link {
    display: -webkit-box;
    display: flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid #b9a878;
    border-radius: 8px;
    padding: 10px;
    text-decoration: none;
}

.teaser__image {
    overflow: hidden;
    border-radius: 8px;
}

.teaser__image img {
    aspect-ratio: 16/9;
    display: block;
    object-fit: cover;
    transition: all 0.3s;
    width: 100%;
}

.teaser__link:hover .teaser__image img {
    transform: scale(1.1);
}

.teaser__link:hover p {
    color: #50a0f0;
}

.teaser__link:hover .teaser__title {
    color: #c90b1c;
}

.teaser__link:hover .teaser__more svg {
    transform: translateX(5px);
}

.teaser__text {
    display: -webkit-box;
    display: flex;
    justify-content: space-between;
    flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    padding: 40px 32px;
}

.teaser__date {
    display: block;
    color: #b9a878;
    margin-bottom: 16px;
}

.teaser__text p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.teaser__title {
    color: #423f47;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.teaser__more {
    color: #c90b1c;
    display: flex;
    align-items: center;
    gap: 5px;
}

.teaser__more svg {
    transition: all 0.3s;
}

.notfound {
    text-align: center;
}
