/* ==========================================================================
   Zoriana Blog Slider — migrated from LatestPostsSlider.vue
   ========================================================================== */

.blog-slider {
    position: relative;
    background-color: #EEEBE6;
    color: #181828;
    padding: 100px 0;
}

.blog-slider::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../img/bg-content-section-astro.png");
    background-position: bottom center;
    background-size: cover;
    opacity: 0.2;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.blog-slider__container {
    position: relative;
    z-index: 1;
}

.blog-slider__heading--secondary {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    color: #D5846E;
    text-transform: uppercase;
}

.blog-slider__heading--secondary img {
    max-width: 42px;
}

.blog-slider__heading--primary {
    text-align: center;
    font-size: 46px;
    line-height: 1.3;
    color: #181828;
}

.blog-slider__primaryDescription {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 23px;
    color: #181828;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

/* Swiper overrides */
.blog-swiper {
    padding: 0 4rem;
}

.blog-swiper .swiper-slide {
    padding: 2rem 0;
    height: auto;
}

.blog-slider__post-card {
    background: rgba(238, 235, 230, .5);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 95%;
    color: #181828;
    transition: .3s all ease-in-out;
}

.blog-slider__post-card:hover {
    background: rgba(239, 230, 215, 1);
    color: #181828;
}

.post-image {
    object-fit: cover;
    margin-bottom: 16px;
    width: 100%;
    border-radius: 8px;
}

.post-excerpt {
    font-style: italic;
    margin: 8px 0 12px;
}

.post-title {
    font-weight: 600;
    margin: 1rem 0;
}

.post-meta {
    opacity: 0.85;
    margin: 4px 0 0;
}

.post-readmore {
    margin-top: auto;
    color: #EC4400;
    text-decoration: none;
}

/* Swiper arrows */
.blog-swiper .swiper-button-prev,
.blog-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.blog-swiper .swiper-button-prev::after,
.blog-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.blog-swiper .swiper-button-prev { left: 0; }
.blog-swiper .swiper-button-next { right: 0; }

/* Pagination */
.blog-swiper .swiper-pagination {
    margin-top: 16px;
    position: static;
}

.blog-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: 1;
    background: #e5e7eb;
}

.blog-swiper .swiper-pagination-bullet-active {
    background: #B4975D;
}
