/* ==========================================================================
   POST CARD GRID / RELATED POSTS SWIPER SLIDER - YẾN SÀO YẾN LAN
   ========================================================================== */

.post-card-grid {
    background-color: #ffffff;
    padding: 50px 0 80px;
    border-top: 1px solid var(--color-neutral, #EFE8DF);
}

.post-card-grid__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.post-card-grid__title {
    color: var(--color-accent-2, #8A5038);
    font-family: var(--font-primary, 'Parastoo', serif);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-card-grid__swiper-wrap {
    position: relative;
    width: 100%;
}

.post-card-grid__swiper {
    width: 100%;
    overflow: hidden;
    padding: 5px;
}

.post-card-grid__slide {
    height: auto;
    display: flex;
}

.post-card-grid__slide .card-standard {
    width: 100%;
}

/* NÚT CHUYỂN SLIDE (NAV ARROWS) */
.post-card-grid__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent-2, #8A5038);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.post-card-grid__nav:hover {
    background-color: #6d3d29;
    transform: translateY(-50%) scale(1.08);
}

.post-card-grid__nav--prev {
    left: -20px;
}

.post-card-grid__nav--next {
    right: -20px;
}

.post-card-grid__nav.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 1240px) {
    .post-card-grid__nav--prev {
        left: 5px;
    }
    .post-card-grid__nav--next {
        right: 5px;
    }
}
