/* Swiper */
.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    width: 100%;
    overflow: hidden;
}

/* Main slider */
.main__slider-1 .swiper-slide .new {
    position: relative;
}

.main__slider-1 .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* Article images */
.article-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

.article-img-sm {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.article-img-horizontal {
    width: 100%;
    height: 90px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* Card images - side cards */
.side-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* Featured image with overlay */
.featured-overlay {
    position: relative;
    min-height: 350px;
    border-radius: 4px;
    overflow: hidden;
}

.featured-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.featured-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.featured-overlay .new {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    color: #fff;
}

.featured-overlay .new__types li,
.featured-overlay .new__info {
    color: rgba(255,255,255,0.8);
}

.featured-overlay .new__title {
    color: #fff;
}

/* Category page images */
.category-article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    background-color: #f0f0f0;
}

/* Grid fixes */
@media (min-width: 768px) {
    .main__grid.hero-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .main__grid.content-grid {
        grid-template-columns: 2fr 1fr;
    }

    .main__grid.three-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* News list item */
.news-list-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: start;
}

.news-list-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* Trending section */
.trending-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.trending-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Business section cards */
.business-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}

/* Fix new__info list items */
.new__info li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

/* Disable hover effect on external images */
.img-effect img {
    aspect-ratio: auto;
}
