.blog-karuzela-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
}

.blog-karuzela-swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 60px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.blog-karuzela-swiper.swiper-initialized {
    opacity: 1;
}

.blog-karuzela-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.blog-karuzela-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin-bottom:30px;
}

.blog-karuzela-image {
    width: 100%;
    max-width: 530px;
    margin: 0 auto;
    overflow: hidden;
    line-height: 0;
}

.blog-karuzela-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 530 / 370;
}

.blog-karuzela-content {
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    margin-bottom:30px;
}

.blog-karuzela-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
    font-size: 1rem;
}

.blog-karuzela-date,
.blog-karuzela-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-karuzela-date img,
.blog-karuzela-author img {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
}
.blog-karuzela-author img {
    border-radius: 50%;
    object-fit: cover;
}
.blog-karuzela-title {
    margin: 0 0 25px 0;
    font-size: 1.375rem;
    line-height: 1.4;
    color:var(--accent);
        font-weight: 400;
}

.blog-karuzela-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-karuzela-title a:hover {
    color: var(--contrast-2);
}

.blog-karuzela-excerpt {
    margin-bottom: 15px;
    line-height: 1.75rem;
    font-size: 1.5rem;
    color: #000;
}

.blog-karuzela-spacer {
    flex-grow: 1;
}

.blog-karuzela-button-wrapper {
    text-align: center;
    margin-top: -90px;
    position: relative;
    padding-bottom: 25px;
}

.blog-karuzela-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    position: relative;
    top: 70px;
    font-size:1.5rem;
}

.blog-karuzela-button:hover {
    background: var(--contrast-2);
    transform: translateY(-2px);
    color: white;
}

.blog-karuzela-swiper .swiper-pagination {
    bottom: 0 !important;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 20px;
}

.blog-karuzela-swiper .swiper-pagination-bullet {
    width: 24px !important;
    height: 24px !important;
    background: var(--contrast-2) !important;
    opacity: 1 !important;
    margin: 0 !important;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.blog-karuzela-swiper .swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

@media (max-width: 767px) {
    .blog-karuzela-wrapper {
        padding: 20px 0;
    }
    
    .blog-karuzela-title {
        font-size: 1.25rem;
    }
    
    .blog-karuzela-content {
        padding: 15px;
    }
    .blog-karuzela-excerpt {
        font-size: 1.1rem;
    }
    .blog-karuzela-date, .blog-karuzela-author {
        font-size: 1rem;
    }
    .blog-karuzela-button {
        font-size:1rem;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    .blog-karuzela-title {
        font-size: 1.3125rem;
    }
}

@media (min-width: 1025px) {
    .blog-karuzela-title {
        font-size: 2.125rem;
        line-height:2.5rem;
    }
}
