/* OutletCity / LaraMag — classic minimal style.
   No homepage layout changes. No hover animation or photo highlighting. */

html,
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Completely disable motion and flashing inside editorial blocks */
.header a,
.header img,
.featured-home-post-item,
.featured-home-post-item *,
.block-post-wrap-item,
.block-post-wrap-item *,
.sidebar,
.sidebar *,
.gallery-wrap,
.gallery-wrap * {
    transition: none !important;
    animation: none !important;
}

/* Remove the theme's photo highlight and search overlay */
.thumbnail-hoverlay,
.thumbnail-hoverlay-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: transparent !important;
}

/* Images always remain unchanged, including on hover */
.featured-home-post-item img,
.featured-home-post-item:hover img,
.post1-item img,
.post1-item:hover img,
.post1-item-thumb:hover img,
.sidebar-new-item img,
.sidebar-new-item:hover img,
.gallery-wrap .gallery-item img,
.gallery-wrap .gallery-item:hover img {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

/* No title flashing or highlighting on hover */
.featured-home-post-item-title a,
.featured-home-post-item-title a:hover {
    color: #fff !important;
    opacity: 1 !important;
    background: transparent !important;
    text-decoration: none !important;
    transform: none !important;
}

.post1-item-title a,
.post1-item-title a:hover,
.post1-item-list a,
.post1-item-list a:hover,
.sidebar-new-item a,
.sidebar-new-item a:hover {
    color: #222 !important;
    opacity: 1 !important;
    background: transparent !important;
    text-decoration: none !important;
    transform: none !important;
}

.gallery-wrap .gallery-item a,
.gallery-wrap .gallery-item a:hover {
    opacity: 1 !important;
    transform: none !important;
}

/* Small classic corners, without shadows */
.header-banner,
.header-banner img,
.featured-home-post-item,
.post1-item-thumb,
.sidebar-new-item-thumb,
.sidebar-item-ads,
.sidebar-item-ads img,
.owl-slider,
.owl-slider .slider-item,
.owl-slider .slider-item img,
.gallery-wrap .gallery-item,
.gallery-wrap .gallery-item .img-wrap,
.gallery-wrap .gallery-item img {
    border-radius: 4px !important;
    box-shadow: none !important;
}

.featured-home-post-item,
.post1-item-thumb,
.sidebar-new-item-thumb,
.gallery-wrap .gallery-item,
.gallery-wrap .img-wrap {
    overflow: hidden;
}

/* Article image spacing */
.post-image {
    display: block;
    margin: 34px 0 42px !important;
}

.post-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.post-image:hover img {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

.post-image figcaption {
    margin: 11px 0 0 !important;
    padding: 0 2px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

/* Approved responsive gallery: 3 desktop / 2 tablet / 1 mobile */
.post-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
    margin: 38px 0 48px !important;
    align-items: start;
}

.post-gallery .post-image {
    margin: 0 !important;
}

.post-gallery .post-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.post-image + h2,
.post-gallery + h2 {
    margin-top: 48px !important;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .post-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-gallery .post-image:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .post-image {
        margin: 28px 0 36px !important;
    }

    .post-gallery {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 30px 0 40px !important;
    }

    .post-gallery .post-image {
        grid-column: auto !important;
    }
}