/* News and Specials Section - Swiper.js Version */
.news-specials,
.news-specials * {
    box-sizing: border-box;
}

.news-specials {
    background: var(--berloga-blue, #4eb3ca);
    padding: 60px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 302px;
    position: relative;
    overflow: hidden;

    /* Full width breakout */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Container */
.news-specials__container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1320px;
    min-height: 182px;
    margin: 0 auto;
    height: 100%;
    gap: 6.8%;
}

/* Header section */
.news-specials__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    width: 250px;
    position: relative;
    overflow: hidden;
}

.news-specials__title {
    color: var(--berloga-white, #ffffff);
    text-align: left;
    font-family: var(--h2-font-family, 'Nunito', sans-serif);
    font-size: 24px;
    line-height: 120%;
    font-weight: var(--h2-font-weight, 800);
    position: relative;
}

.news-specials__description {
    color: var(--berloga-white, #ffffff);
    text-align: left;
    font-family: var(--regular-text-font-family, 'Nunito', sans-serif);
    font-size: var(--regular-text-font-size, 16px);
    line-height: var(--regular-text-line-height, 20px);
    letter-spacing: -0.04em;
    font-weight: var(--regular-text-font-weight, 400);
    position: relative;
    align-self: stretch;
}

/* Slider container */
.news-specials__slider-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    max-width: calc(100% - 250px - 6.8%);
}

/* Swiper Navigation */
.news-specials__navigation {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.news-specials__nav {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--berloga-blue, #4eb3ca);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-specials__nav:hover {
    background: var(--berloga-white, #ffffff);
    transform: scale(1.1);
}

.news-specials__nav svg {
    width: 16px;
    height: 16px;
}

/* Swiper Slider */
.news-specials__slider {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.news-specials__slider .swiper-wrapper {
    align-items: stretch;
}

/* Individual slide */
.news-specials__slide {
    border-radius: 15px;
    border: 1px solid var(--berloga-white, #ffffff);
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: auto;
}

/* Slide image wrapper */
.news-specials__slide-image-wrapper {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    background: var(--berloga-white, #ffffff);
}

/* Slide image */
.news-specials__slide-image {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50%;
}

/* Slide content */
.news-specials__slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    min-height: 140px;
    position: relative;
}

/* Slide text wrapper */
.news-specials__slide-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

/* Slide title */
.news-specials__slide-title {
    color: var(--berloga-white, #ffffff);
    text-align: left;
    font-family: var(--accent-text-font-family, 'Nunito', sans-serif);
    font-size: 18px;
    line-height: 130%;
    font-weight: 600;
    position: relative;
    align-self: stretch;
}

/* Slide excerpt */
.news-specials__slide-excerpt {
    text-align: left;
    font-family: var(--regular-text-font-family, 'Nunito', sans-serif);


    font-weight: 400;
    position: relative;
    align-self: stretch;
}

.news-specials__slide-excerpt p {
    color: var(--berloga-white, #ffffff);
    font-size: 12px;
    line-height: 130%;
    text-align: left;
    font-family: var(--regular-text-font-family, 'Nunito', sans-serif);
    font-weight: 400;
    position: relative;
    align-self: stretch;
}

/* Slide footer */
.news-specials__slide-footer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

/* Slide price container */
.news-specials__slide-price {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

/* Price styles */
.news-specials__slide-new-price {
    color: var(--berloga-white, #ffffff);
    text-align: left;
    font-family: var(--accent-text-font-family, 'Nunito', sans-serif);
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    position: relative;
}

.news-specials__slide-old-price {
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    font-family: var(--regular-text-font-family, 'Nunito', sans-serif);
    font-size: 14px;
    line-height: 130%;
    font-weight: 400;
    text-decoration: line-through;
    position: relative;
}

/* Slide button */
.news-specials__slide-button {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    font-family: var(--accent-text-font-family, 'Nunito', sans-serif);
    font-size: 14px;
    line-height: 130%;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    background: var(--berloga-white, #ffffff);
    border-radius: 10px;
    padding: 5px 15px;
    height: 28px;
    color: var(--berloga-blue, #4eb3ca);
}

.news-specials__slide-button:hover {
    color: var(--berloga-blue);
}

.news-specials__slide-button-icon {
    transition: transform 0.3s ease;
}

.news-specials__slide-button:hover .news-specials__slide-button-icon {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1320px) {
    .news-specials {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .news-specials {

        height: auto;
        /* gap: 30px; */
    }

    .news-specials__container {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
    }

    .news-specials__header {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .news-specials__slider-container {
        width: 100%;
        max-width: 100%;
    }

    .news-specials__slide {
        margin-right: 10px;
        text-align: center;
    }

    .news-specials__slide-image-wrapper {
        align-self: center;
    }

    .news-specials__slide-content {
        align-items: center;
        text-align: center;
    }

    .news-specials__navigation {
        justify-content: center;
        margin-top: 20px;
    }

    .news-specials__nav {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 570px) {
    .news-specials__slide {
        margin-right: 10px;
        flex-direction: column;
        align-items: center;
    }

    .news-specials__slide-title,
    .news-specials__slide-excerpt {
        align-self: center;
        text-align: center;
    }
}

@media (max-width: 440px) {
    .news-specials__slide-new-price {
        font-size: 18px;
    }

    .news-specials__slide-title {
        font-size: 16px;
    }

    .news-specials__slide-excerpt p {
        font-size: 12px;
    }
}