/* ==============================================*/
/* ===================  Slider ================= */
/* ==============================================*/

.full-width-slider {
    position: relative;
    width: 100vw;
    max-width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -58px;

    padding: 0;
    overflow: hidden;
}

/* Swiper */
.full-width-slider .swiper,
.full-width-slider .my-swiper {
    position: relative;

    width: 100vw;
    max-width: 100vw;

    height: clamp(460px, 83vh, 760px);

    margin: 0;
    padding: 0;

    overflow: hidden;
}

/* Wrapper */
.full-width-slider .swiper-wrapper {
    height: 100%;
}

/* Slide */
.full-width-slider .swiper-slide {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    background-size: cover;
    background-position: center;
}

/* Foto */
.full-width-slider .swiper-slide picture {
    position: absolute;
    inset: 0;

    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

/* Bild */
.full-width-slider .swiper-slide img {
    position: absolute;

    left: 50%;
    top: 50%;

    display: block;

    width: 100%;
    max-width: none;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transform: translate(-50%, -50%) scale(1.10);
    transform-origin: center center;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Text */
.full-width-slider .slide-text {
    position: absolute;

    z-index: 2;

    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);

    padding: 0 20px;

    left: var(--left, 50%);
    right: var(--right, auto);
    top: var(--top, 50%);

    transform: translate(var(--tx, -50%), var(--ty, -50%));

    font-size: var(--fs, clamp(20px, 3vw, 40px));
    font-weight: var(--fw, bold);

    text-align: var(--align, center);
    max-width: var(--maxw, 90%);
}

/* Swiper-Navigation */
.full-width-slider .swiper-button-next,
.full-width-slider .swiper-button-prev {
    z-index: 5;

    color: #fff;
    font-weight: bold;
    font-size: 30px;

    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.full-width-slider .swiper-button-next::after,
.full-width-slider .swiper-button-prev::after {
    font-weight: bold;
    color: #fff;
}

/* Punkte */
.full-width-slider .swiper-pagination {
    z-index: 5;
}

.full-width-slider .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1;
}

.full-width-slider .swiper-pagination-bullet-active {
    background-color: #fff;
}

/* Laptop */
@media (min-width: 769px) and (max-width: 1024px) {
    .full-width-slider .swiper,
    .full-width-slider .my-swiper {
        height: 100vh;
    }

    .full-width-slider .swiper-slide img {
        transform: translate(-50%, -50%) scale(1.12);
    }

    .full-width-slider .slide-text {
        top: 50%;
        left: 50%;
        right: auto;

        transform: translate(-50%, -50%);

        max-width: 90%;
        text-align: center;

        font-size: var(--fs-t, clamp(18px, 4vw, 28px));
        line-height: 1.2;
    }

    .full-width-slider .slide-text button,
    .full-width-slider .slide-text .btn {
        font-size: clamp(14px, 3vw, 18px);
        padding: 0.5em 1em;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .full-width-slider .swiper,
    .full-width-slider .my-swiper {
        height: 100vh;
    }

    .full-width-slider .swiper-slide img {
        transform: translate(-50%, -50%) scale(1.12);
    }

    .full-width-slider .slide-text {
        top: 50%;
        left: 50%;
        right: auto;

        transform: translate(-50%, -50%);

        max-width: 90%;
        text-align: center;

        font-size: var(--fs-m, clamp(16px, 5vw, 22px));
        line-height: 1.2;
    }

    .full-width-slider .slide-text button,
    .full-width-slider .slide-text .btn {
        font-size: clamp(12px, 4vw, 16px);
        padding: 0.4em 0.8em;
    }
}

@media (max-width: 480px) {
    .full-width-slider .slide-text {
        font-size: clamp(14px, 6vw, 18px);
    }

    .full-width-slider .slide-text button,
    .full-width-slider .slide-text .btn {
        font-size: clamp(12px, 5vw, 15px);
    }
}

/* ==============================================*/
/* ============  ArtMuz Post Slider ============ */
/* ==============================================*/

.am-post-slider-wrap {
    position: relative;
    width: 100%;
    margin: 28px 0;
    padding: 0 54px;
}

.am-post-slider {
    position: relative;
    width: 100%;
    padding: 10px 6px 16px;
    overflow: hidden;
}

.am-post-slider .swiper-wrapper {
    align-items: stretch;
}

.am-post-slider .swiper-slide {
    height: auto;
}

.am-post-slider-card {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
}

.am-post-slider-card .ast-article-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: -1px 3px 6px 1px var(--ast-global-color-8, rgba(0,0,0,0.22));
}

.am-post-slider-card .ast-blog-featured-section,
.am-post-slider-card .post-thumb,
.am-post-slider-card .post-thumb-img-content {
    width: 100%;
    box-sizing: border-box;
}

.am-post-slider-card .ast-blog-featured-section {
    padding: 18px 20px 0;
}

.am-post-slider-card .post-thumb-img-content a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.am-post-slider-card .post-thumb-img-content picture {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.am-post-slider-card .post-thumb-img-content img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto !important;
    box-sizing: border-box;
    padding: 8px !important;
    background-color: #f6f6f6 !important;
    border: 1px solid #eaeaea !important;
    border-radius: 0 !important;
    box-shadow:
        0 0 0 1px #eaeaea,
        2px 2px 6px rgba(0,0,0,0.2) !important;
}

.am-post-slider-card .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 22px 22px;
}

.am-post-slider-card .entry-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.am-post-slider-card .am-artist-card-title-row {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0;
    margin-bottom: 8px;
}

.am-post-slider-card .am-artist-card-title {
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: 21px;
    line-height: 1.25;
}

.am-post-slider-card .am-artist-card-meta {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
}

.am-post-slider-card .am-post-slider-excerpt {
    width: 84%;
    max-width: 390px;
    margin: 0 auto 14px;
    text-align: left;
}

.am-post-slider-card .am-post-slider-compact-meta {
    width: 84%;
    max-width: 390px;
    margin: 0 auto 14px;
    text-align: left;
}

.am-post-slider-card .am-post-slider-compact-meta .am-artist-card-meta-row {
    margin: 3px 0;
}

.am-post-slider-card .am-artist-card-actions {
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.am-post-slider-card .am-artist-card-actions .am-artist-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 138px;
    min-height: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1.2;
    box-sizing: border-box;
    text-align: center;
}

.am-post-slider-card .am-artist-card-button-more,
.am-post-slider-card .am-artist-card-button-merken {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.am-post-slider-wrap .am-post-slider-next,
.am-post-slider-wrap .am-post-slider-prev {
    color: inherit;
    width: 34px;
    height: 44px;
    margin-top: -22px;
    opacity: 0.62;
    transition: opacity 0.2s ease;
}

.am-post-slider-wrap .am-post-slider-next:hover,
.am-post-slider-wrap .am-post-slider-prev:hover {
    opacity: 1;
}

.am-post-slider-wrap .am-post-slider-next {
    right: 4px;
}

.am-post-slider-wrap .am-post-slider-prev {
    left: 4px;
}

.am-post-slider-wrap .am-post-slider-next::after,
.am-post-slider-wrap .am-post-slider-prev::after {
    font-size: 28px;
    font-weight: 400;
}

.am-post-slider .am-post-slider-pagination {
    display: none;
}

@media (max-width: 768px) {
    .am-post-slider-wrap {
        padding: 0;
        margin: 24px 0;
    }

    .am-post-slider {
        padding: 8px 8px 30px;
    }

    .am-post-slider-card .ast-blog-featured-section {
        padding: 18px 18px 0;
    }

    .am-post-slider-card .post-thumb-img-content picture {
        width: 100%;
    }

   .am-post-slider-card .post-content {
        padding: 12px 18px 18px;
    }

    .am-post-slider-wrap .am-post-slider-next,
    .am-post-slider-wrap .am-post-slider-prev {
        display: none;
    }

    .am-post-slider .am-post-slider-pagination {
        display: block;
        bottom: 0;
    }

    .am-post-slider .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        opacity: 0.35;
        background: currentColor;
    }

    .am-post-slider .swiper-pagination-bullet-active {
        opacity: 0.9;
    }

    .am-post-slider-card .am-artist-card-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .am-post-slider-card .am-artist-card-title {
        font-size: 20px;
    }
}


@media (max-width: 380px) {
    .am-post-slider-card .am-artist-card-actions .am-artist-card-button {
        width: 132px;
    }
}
