.my-posts-carousel-infinite-block {
position: relative;
overflow: hidden;
padding: 0;
}
.my-post-slide-content {
background: #fff;
padding: 0;
box-sizing: border-box;
text-align: left;
}
.my-post-slide-content a {
text-decoration: none;
color: inherit;
}
.my-post-slide-image {
width: 100%;
height: auto;
display: block;
margin-bottom: 15px;
border-radius: 25px;
}
.my-post-slide-title {
font-size: 36px;
margin: 0;
line-height: 1.2;
margin-bottom: 10px;
}
.my-post-slide-date {
font-size: 16px;
color: #000000;
line-height: 1;
margin-bottom: 10px;
font-weight: 300;
}
.my-post-slide-excerpt {
font-size: 22px;
color: #333;
font-weight: 300;
}
.my-post-slide-excerpt strong {
font-weight: 600;
}
.swiper-button-prev,
.swiper-button-next {
background: #000;
color: #fff;
padding: 10px;
margin-top: -20px;
border-radius: 50%;
width: 40px;
height: 40px;
box-sizing: border-box;
top: 50%;
z-index: 10;
}
.swiper-button-next {
right: 10px;
}
.swiper-button-prev {
left: 10px;
}
.my-posts-loading {
text-align: center;
font-size: 16px;
color: #333;
margin-top: 20px;
display: none !important;
}
.my-posts-carousel-infinite-swiper .swiper-slide {
transition: opacity 0.5s;
}
.my-posts-carousel-infinite-swiper .swiper-slide:not(.swiper-slide-visible) {
opacity: 0;
}
.my-posts-carousel-infinite-block .swiper-pagination {
position: static;
margin-top: 30px;
}
.my-posts-carousel-infinite-swiper {
padding-left: calc((100vw - 1640px) / 2);
padding-right: calc((100vw - 1640px) / 2);
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}
.my-posts-carousel-infinite-swiper .read-more {
text-align: right;
display: block;
padding-right: 20px;
}
@media (max-width: 1920px) and (min-width: 1000px) {
.my-posts-carousel-infinite-block {
padding: 0;
}
.my-post-slide-content {
padding: 0;
}
.my-post-slide-image {
margin-bottom: calc(15 / 1920 * 100vw);
border-radius: calc(25 / 1920 * 100vw);
}
.my-post-slide-title {
font-size: calc(36 / 1920 * 100vw);
margin-bottom: calc(10 / 1920 * 100vw);
}
.my-post-slide-date {
font-size: calc(18 / 1920 * 100vw);
margin-bottom: calc(10 / 1920 * 100vw);
}
.my-post-slide-excerpt {
font-size: calc(22 / 1920 * 100vw);
}
.swiper-button-prev,
.swiper-button-next {
padding: calc(10 / 1920 * 100vw);
margin-top: calc(-20 / 1920 * 100vw);
border-radius: calc(50 / 1920 * 100vw);
width: calc(40 / 1920 * 100vw);
height: calc(40 / 1920 * 100vw);
}
.swiper-button-next {
right: calc(10 / 1920 * 100vw);
}
.swiper-button-prev {
left: calc(10 / 1920 * 100vw);
}
.my-posts-loading {
font-size: calc(16 / 1920 * 100vw);
margin-top: calc(20 / 1920 * 100vw);
}
.my-posts-carousel-infinite-swiper {
padding-left: calc((100vw - 1640px) / 2);
padding-right: calc((100vw - 1640px) / 2);
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}
.my-posts-carousel-infinite-swiper .read-more {
padding-right: calc(20 / 1920 * 100vw);
}
.my-posts-carousel-infinite-block {
padding-left: 30px;
padding-right: 30px;
}
}