


.gallery-effect__title {
    font-size: clamp(1.5rem, 1.4283rem + 0.2681vw, 1.75rem);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}
.gallery-effect__title:after {
    content: '';
    display: block;
    border-radius: 12px;
    height: clamp(0.375rem, 0.2674rem + 0.4021vw, 0.75rem);
    margin-top: 8px;
    background: rgba(254, 220, 0, 1);
}


.gallery-effect__gallery {
    display: flex;
    gap: 10px;
}
.gallery-effect__gallery_item {
    display: block;
    overflow: hidden;
    height: clamp(15.875rem, 7.1588rem + 13.5135vw, 23.375rem);
    transition: flex 0.3s ease, width 0.3s ease;
    position: relative;
}
.gallery-effect__gallery_item img {
    /* max-width: revert;
    height: revert; */
    object-fit: revert;

    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transition: .2s;

}

.section--gallery-ef .link-arrow {
    font-size: 18px;
    color: rgba(29, 158, 217, 1);
}
.section--gallery-ef .link-arrow .icon {
    transform: rotate(90deg);
}

.gallery-effect__title_28 {
    font-size: 28px !important;
}

@media (min-width: 1199px) {
    .gallery-effect__title-28 {
        font-size: 28px;
    }

}

@media (min-width: 1440px) {

    .gallery-effect__gallery_ab .gallery-effect__gallery_item img {
        min-width: 431px;
    }
 
 
 
}
.gallery-effect__gallery_item.small {
    width: 36%;
}
.gallery-effect__gallery_item.big{
    width: 64%;
}

.gallery-effect__gallery_ab {
    height: 300px;
}


.section--gallery-ef .h3 {
    font-size: 34px;
    padding-top: 40px;
}
.section--gallery-ef .text-lg {
    font-size: 18px;
}


@media (max-width: 1199px) {
  
  

    
  

}

@media (max-width: 767px) {

    .section--gallery-ef .h3 {
        font-size: 24px;
        padding-top: 20px;
    }
   .section--gallery-ef .text-lg {
        font-size: 16px;
    }

    .gallery-effect__title {
        /* font-size: 14px; */
        margin-bottom: 8px;
    }
    .gallery-effect__title:after {
        margin-top: 14px;
    }
    .gallery-effect__gallery:not(.gallery-effect__gallery--h),
    .gallery-effect__gallery_ab {
        /* pointer-events: none; */
        flex-direction: column;
        gap: 5px;
        height: auto;
    }

    .gallery-effect__gallery:not(.gallery-effect__gallery--h) .gallery-effect__gallery img {
        width: 100%;
    }
    .gallery-effect__gallery:not(.gallery-effect__gallery--h) .gallery-effect__gallery_item {
        transition: flex 0.3s ease, width 0.3s ease, height 0.3s ease;
    }

    .gallery-effect__gallery:not(.gallery-effect__gallery--h) .gallery-effect__gallery_item.small {
   
        width: 100%;
    }
    .gallery-effect__gallery:not(.gallery-effect__gallery--h) .gallery-effect__gallery_item.big{
     
        width: 100%;
    }

    .gallery-effect__gallery.gallery-effect__gallery--h {        
        gap: 2px;
    }

   
}