.gt-bento-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 2rem 0;
    width: 100%;
    align-items: start;
    position: relative;
    isolation: isolate;
}

.gt-bento-item.gt-full { grid-column: span 6; }
.gt-bento-item.gt-half { grid-column: span 3; }
.gt-bento-item.gt-wide { grid-column: span 4; }
.gt-bento-item.gt-narrow { grid-column: span 2; }
.gt-bento-item.gt-third { grid-column: span 2; }

.gt-bento-item {
    margin: 0;
    position: relative;
    overflow: hidden;
    display: block;
}

.gt-bento-item > a {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.gt-bento-item.gt-full > a { aspect-ratio: 16 / 6; }
.gt-bento-item.gt-wide > a { aspect-ratio: 16 / 9; }
.gt-bento-item.gt-half > a { aspect-ratio: 4 / 3; }
.gt-bento-item.gt-narrow > a { aspect-ratio: 3 / 4; }
.gt-bento-item.gt-third > a { aspect-ratio: 4 / 3; }

.gt-bento-item > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
    transition: transform .4s ease;
}

.gt-bento-item:hover > a > img {
    transform: scale(1.05);
}

.gt-bento-item:hover {
    z-index: 2;
}

.gt-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.75);
    opacity: 0;
    transition: opacity .3s, transform .3s;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, .42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    backdrop-filter: blur(3px);
    z-index: 3;
}

.gt-zoom-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    display: block;
}

.gt-bento-item:hover .gt-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gt-fig-caption {
    margin-top: 0;
    padding: 8px 12px 10px;
    font-family: var(--gt-font-text);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gt-caption-text {
    font-weight: 500;
}

.gt-credit a {
    text-decoration: underline;
}

.gt-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gt-lightbox.active {
    display: flex;
}

.gt-lightbox .gt-lb-inner {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.gt-lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    border: none;
    border-radius: 0;
    transition: opacity .2s;
}

.gt-lightbox img.gt-lb-loading {
    opacity: 0;
}

.gt-lb-caption {
    font-family: var(--gt-font-text);
    margin-top: 12px;
    font-size: .9rem;
}

.gt-lb-counter {
    color: rgba(255, 255, 255, .4);
    font-size: .75rem;
    margin-top: 4px;
    letter-spacing: .05em;
}

.gt-lb-close {
    position: fixed;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
    z-index: 100000;
    line-height: 1;
}

.gt-lb-close:hover {
    opacity: 1;
}

.gt-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s, background .2s;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gt-lb-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .25);
}

.gt-lb-prev {
    left: 20px;
}

.gt-lb-next {
    right: 20px;
}

.gt-lb-nav.gt-hidden {
    display: none;
}



.easy-blog-featured-image-box {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.elementor-widget-theme-post-featured-image .elementor-widget-container,
.elementor-widget-theme-post-featured-image .elementor-widget-container > a,
.elementor-widget-theme-post-featured-image .elementor-widget-container > figure,
.elementor-widget-theme-post-featured-image .elementor-widget-container > figure > a,
.elementor-widget-theme-post-featured-image picture,
.elementor-widget-theme-post-featured-image .easy-blog-featured-image-box {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.easy-blog-featured-image-box > img,
.elementor-widget-theme-post-featured-image img.wp-post-image,
.elementor-widget-theme-post-featured-image img.easy-blog-featured-image-focus,
.elementor-widget-theme-post-featured-image .elementor-widget-container img,
.elementor-widget-theme-post-featured-image .elementor-widget-container picture > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: var(--easy-blog-featured-focus, 50% 50%) !important;
}
.easy-blog-auto-image {
    margin: clamp(2rem, 5vw, 3.5rem) 0;
}

.easy-blog-auto-image__link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    line-height: 0;
}

.easy-blog-auto-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
    transition: transform .35s ease;
}

.easy-blog-auto-image__link:hover .easy-blog-auto-image__img {
    transform: scale(1.03);
}

.easy-blog-auto-image__caption {
    margin-top: 0;
}

.easy-blog-auto-gallery {
    margin-top: clamp(2rem, 5vw, 3.5rem);
}


.e-loop-item .e-con-inner {
    position: relative;
    isolation: isolate;
}

.e-loop-item .elementor-widget-theme-post-featured-image,
.e-loop-item .elementor-widget-image {
    position: relative;
    z-index: 0;
}

.e-loop-item .elementor-widget-theme-post-title,
.e-loop-item .elementor-widget-text-editor,
.e-loop-item .elementor-widget-theme-post-excerpt,
.e-loop-item .elementor-widget-button {
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    .gt-bento-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gt-bento-item.gt-full,
    .gt-bento-item.gt-half,
    .gt-bento-item.gt-wide,
    .gt-bento-item.gt-narrow,
    .gt-bento-item.gt-third {
        grid-column: span 1;
    }
}
