* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.widget {
    display: flex;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    height: 250px;
}

.articleswrap {
    width: 75%;
    background: #fff1e1;
    padding: 20px;
    min-height: 162px;
}

.sponwrap {
    width: 25%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    border: 3px solid #fff1e1;

    background: var(--White, #fff);
}

.title {
    font-family: "TazBlack";
    color: var(--Black, #151515);
    text-align: center;
    font-size: 26px;
    font-style: normal;
    font-weight: 525;
    line-height: 1;
    /* 31.2px */
}

hr {
    width: 25px;
    height: 1px;
    opacity: 0.5;
    background: #151515;
}

.swiperwrap {
    padding-top: 20px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100px;
    object-fit: cover;
}

.linkwrap {
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.arttile {
    padding-top: 15px;
    color: var(--Black, #151515);
    font-family: "TazBold";
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 1.1;
    /* 18.4px */
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
}

@media (max-width: 860px) {
    .widget {
        flex-direction: column-reverse;
        height: auto;
    }

    .articleswrap {
        width: 365px;
        padding: 0 15px 15px 15px;
        position: relative;
        max-width: 100%;
    }

    .sponwrap {
        width: 365px;
        flex-direction: row;
        padding: 15px;
        max-width: 100%;
    }

    .swiperwrap {
        padding: 0 15px 15px 15px;
    }

    hr {
        transform: rotate(90deg);
    }

    .title {
        padding: 15px 0 25px 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: block;
    }

    .swiper-button-next {
        right: 0;
    }

    .swiper-button-prev::after {
        background-image: url("https://showcase.24sata.hr/2025_hosted_creatives/03/widget/img/nazad.svg");
        background-size: contain;
        background-position: left center;
        background-repeat: no-repeat;
        content: "";
        width: 8px;
        height: 14px;
        display: block;
        position: absolute;
        left: 0;
    }

    .swiper-button-next::after {
        background-image: url("https://showcase.24sata.hr/2025_hosted_creatives/03/widget/img/napred.svg");
        background-size: contain;
        background-position: right center;
        background-repeat: no-repeat;
        content: "";
        width: 8px;
        height: 14px;
        display: block;
        position: absolute;
        right: 8px;
    }
}