.rsa-wpc {
    position: relative;
    width: 100%;
}

.rsa-wpc__swiper {
    width: 100%;
    overflow: hidden;
}

.rsa-wpc__track {
    align-items: stretch;
}

.rsa-wpc__slide {
    display: flex;
    height: auto !important;
}

.rsa-wpc__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    min-height: 100%;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rsa-wpc__card-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.rsa-wpc__media {
    position: relative;
}

.rsa-wpc__image-link {
    position: relative;
    display: flex;
    height: 200px;
    justify-content: center;
    align-items: center;
}

.rsa-wpc__image-link::before {
    content: '';
    position: absolute;
    display: block;
    width: 160px;
    height: 160px;
    right: 0;
    left: 0;
    top: 25px;
    margin: 0 auto;
    border-radius: 50%;
    background: #f7f7f7;
    transition: ease all 0.3s;
}

.rsa-wpc__card:hover .rsa-wpc__image-link::before {
    background: #FDE5E4;
}

.rsa-wpc__image {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 100%;
    width: auto;
    height: inherit;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.rsa-wpc__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.rsa-wpc__title {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.55;
    font-weight: 600;
    color: #636363;
    overflow-wrap: anywhere;
}

.rsa-wpc__meta {
    margin: auto 0 0;
    font-size: 17px;
    line-height: 1.5;
    color: #6d6d6d;
}

.rsa-wpc__pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.rsa-wpc__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 !important;
    border-radius: 999px;
    background: #c9c9c9;
    opacity: 1;
    transition: width 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.rsa-wpc__pagination .swiper-pagination-bullet-active {
    width: 22px;
    background: #DC0028;
}

.rsa-wpc__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #404040;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.rsa-wpc__arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.rsa-wpc__arrow--prev {
    inset-inline-start: 8px;
}

.rsa-wpc__arrow--next {
    inset-inline-end: 8px;
}

.rsa-wpc__arrow span {
    font-size: 22px;
    line-height: 1;
}

.rsa-wpc__empty {
    padding: 18px;
    border-radius: 10px;
    background: #fff7e6;
    color: #7a5c00;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .rsa-wpc__title {
        font-size: 20px;
    }

    .rsa-wpc__meta {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .rsa-wpc__arrow {
        width: 30px;
        height: 30px;
    }

    .rsa-wpc__arrow span {
        font-size: 18px;
    }

    .rsa-wpc__title {
        font-size: 18px;
    }

    .rsa-wpc__meta {
        font-size: 15px;
    }
}

/* v1.0.3: keep card borders safely inside Swiper's clipped viewport. */
.rsa-wpc__swiper {
    box-sizing: border-box;
    padding-block: 1px 2px;
}

.rsa-wpc__slide {
    box-sizing: border-box;
    padding-block: 1px;
}
