/* Posts Carousel Slider – Frontend */

.pcs-wrapper {
    position: relative;
    margin: 30px 0;
    padding: 0 50px;
}

.pcs-swiper {
    overflow: hidden;
    padding-bottom: 40px;
}

/* Karte */
.pcs-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pcs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.pcs-slide {
    height: auto;
}

/* Bild */
.pcs-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef0f3;
}

.pcs-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.pcs-card:hover .pcs-card__image img {
    transform: scale(1.06);
}

/* Body */
.pcs-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 22px 24px;
}

.pcs-card__cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    background: var(--awb-color4, #65bc7b);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.pcs-card__title {
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.pcs-card__title a {
    color: var(--awb-color8, #1a1a1a);
    text-decoration: none;
}

.pcs-card__title a:hover {
    color: var(--awb-color4, #65bc7b);
}

.pcs-card__meta {
    font-size: 13px;
    color: #9098a1;
    margin-bottom: 12px;
}

.pcs-card__excerpt {
    font-size: 14.5px;
    line-height: 1.6;
    color: #5d6671;
    margin: 0 0 18px;
}

.pcs-card__excerpt p {
    margin: 0 0 8px;
}

.pcs-card__excerpt ul,
.pcs-card__excerpt ol {
    margin: 0 0 8px;
    padding-left: 20px;
}

.pcs-card__excerpt li {
    margin-bottom: 4px;
}

.pcs-card__excerpt li.pcs-more-dots {
    list-style: none;
    margin-left: -20px;
    color: #9098a1;
    font-weight: 700;
    letter-spacing: 2px;
}

.pcs-card__excerpt > *:last-child {
    margin-bottom: 0;
}

.pcs-card__more {
    margin-top: auto;
    align-self: flex-start;
}

/* Navigation */
.pcs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    color: var(--awb-color4, #65bc7b);
    cursor: pointer;
    transition: background .25s ease, color .25s ease, opacity .25s ease;
}

.pcs-arrow:hover {
    background: var(--awb-color4, #65bc7b);
    color: #fff;
}

.pcs-arrow svg {
    display: block;
}

.pcs-prev {
    left: 0;
}

.pcs-next {
    right: 0;
}

/* Deaktiviert (kein Loop, am Anfang/Ende) */
.pcs-arrow.swiper-button-disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

/* Pagination */
.pcs-swiper .swiper-pagination-bullet-active {
    background: var(--awb-color4, #65bc7b);
}

.pcs-empty {
    text-align: center;
    color: #888;
    padding: 30px;
}

@media (max-width: 640px) {
    .pcs-wrapper {
        padding: 0 10px;
    }

}

/* ============================================================
 *  Individuelle Anpassungen
 * ============================================================ */
.pcs-card__more,
.pcs-card__cat,
.pcs-card__meta {
    display: none;
}

.pcs-wrapper {
    margin: 20px;
    padding: 0px;
}

.pcs-prev {
    left: -50px;
}

.pcs-next {
    right: -50px;
}

.pcs-card__excerpt {
    font-size: 18px;
}

.pcs-card__excerpt ul {
    padding-left: 15px;
}

.awb-imageframe-style-below .awb-imageframe-caption-container {
    z-index: 99999;
    position: absolute;
    left: 5px;
    bottom: 5px;
    border-radius: 0px;
    padding: 4px;
    background: rgba(76, 70, 67, 0.85);
}

.pcs-card {
    border-radius: 4px !important;
}

.pcs-card__excerpt li.pcs-more-dots {
    display: none;
}

.pcs-card:hover {
    transform: translateY(0px) !important
}

.pcs-card__image img {
    aspect-ratio: 4/3
}

@media screen and (max-width: 767px) {

    .pcs-wrapper {
        margin: 0px 20px;
    }

    .pcs-next {
        right: -30px;
    }

    .pcs-prev {
        left: -30px;
    }
}
