.page-banner-wrap {
    max-width: 1200px;
    padding: 0 20px;
    margin: 20px auto 24px;
    box-sizing: border-box;
}

.page-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.page-banner-slider {
    position: relative;
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f0f0f0;
}

@media (min-width: 987px) {
    .page-banner-slider {
        grid-column: span 4;
    }
}

.page-banner-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.page-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.page-banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.page-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease;
    color: #4A1B0C;
}

.page-banner-arrow:hover {
    background-color: #ffffff;
}

.page-banner-arrow.prev {
    right: 24px;
}

.page-banner-arrow.next {
    left: 24px;
}

.page-banner-arrow svg {
    width: 20px;
    height: 20px;
}

.page-banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.page-banner-dot {
    width: 9px;
    height: 9px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.page-banner-dot.active {
    width: 26px;
    background-color: #ffffff;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .page-banner-wrap {
        margin-top: 16px;
        margin-bottom: 20px;
    }

    .page-banner-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-banner-slide {
        transition: none;
    }

    .page-banner-dot {
        transition: none;
    }
}
