.insta-feed {
     padding: 20px 0px;
}
 .insta-feed a{
    text-decoration: none;
    transition: 0.3s all ease-in-out;
    display: inline-flex;
    gap: 5px;
    align-items: center;
}
.me_popup.fancybox-content {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}
 .card_content_popup {
     display: flex;
     max-width: 1000px;
     align-items: stretch;
}
.card_content_popup .card_content_image,.card_content_popup .card_content_caption{
     width: 50%;
}
 .card_content_popup .card_content_image .owl-carousel {
     margin-bottom: 0;
}
.card_content_popup .card_content_image .owl-carousel .owl-nav {
    margin: 0;
}
.card_content_popup .card_content_image .owl-carousel .owl-nav button {
    width: 50px;
    aspect-ratio: 1/1;
    background: rgb(0 0 0 / 45%);
    position: absolute;
    right: 20px;
    top: 50%;
    margin: 0;
    border-radius: 50%;
    opacity: unset !important;
    transform: translateY(-50%);
}
.card_content_popup .card_content_image .owl-carousel .owl-nav button.owl-prev{
    right: unset;
    left: 20px;
}
.card_content_popup .card_content_image .owl-carousel .owl-nav button i {
    font-size: 26px;
    line-height: 1;
    color: #fff;
    font-weight: 600;
}
.card_content_popup .card_content_image .owl-carousel .owl-nav button:focus-visible,
.card_content_popup .card_content_image .owl-carousel .owl-nav button:focus-visible i{
     color: #fff;
}
.card_content_popup .card_content_image .owl-carousel .owl-nav button:focus-visible{
    outline:none !important;
    border:0 !important;
}
.card_content_popup .card_content_image img {
    width: 100%;
    height: 100%;
}
.card_content_popup .card_content_caption {
    padding: 40px 50px 40px 40px;
}
.card_content_popup .card_content_caption p {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 16px;
}

 .follow-btn,.follow-btn:hover,.follow-btn:focus,.follow-btn:active {
     background: #00ADF1;
     color: #fff;
     padding: 5px 15px;
     border-radius: 4px;
     font-weight: 600;
     font-size: 20px;
}
 .insta-feed .insta-feed_inner {
     display: grid;
     grid-template-columns: repeat(4,1fr);
     grid-template-rows: 1fr;
     gap: 24px;
}
 .insta-feed .insta-feed_inner .insta-feed_card {
     aspect-ratio: 1/1;
     position: relative;
     transition: 500ms all ease-in-out;
     overflow: hidden;
     border-radius: 10px;
}
 .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_image{
     position: relative;
}
 .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_image:before {
     content: "";
     position: absolute;
     top: 0;
     bottom: 0;
     right: 0;
     left: 0;
     background: rgb(0 0 0 / 25%);
     pointer-events: none;
     opacity: 0;
     transition: 0.3s all ease-in-out;
}
 .insta-feed .insta-feed_inner .insta-feed_card:hover .insta-feed_image:before{
     opacity: 1;
}
 .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_image img{
     transition: 500ms all ease-in-out;
}
 .insta-feed .insta-feed_inner .insta-feed_card:hover .insta-feed_image img{
     transform: scale(1.1);
}
 .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_image, .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_image a, .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_image img{
     width: 100%;
     height: 100%;
     object-fit: cover;
     overflow: hidden;
}
 .feed-title {
     display: flex;
     width: 100%;
     align-items: center;
     justify-content: space-between;
}
 .feed-title h3 {
     margin-top: 0;
}
 .insta-feed .insta-feed_inner .insta-card_content {
     position: absolute;
     background: #000;
     color: #fff;
     transform: translateY(0%);
     pointer-events: none;
     transition: .3s all ease-in-out;
     z-index: 2;
     width: 100%;
     left: 0;
     right: 0;
     border-radius: 10px;
     opacity: 0.75;
}
 .insta-feed .insta-feed_inner .insta-feed_card:hover .insta-card_content{
     transform: translateY(-100%);
     pointer-events: auto;
}
 .insta-card_content {
     padding: 24px;
}
 .insta-card_icons {
     display: flex;
     align-items: center;
     gap: 16px;
}
 .insta-card_icons .insta-card_icon {
     display: inline-flex;
     gap: 8px;
}
 .insta-card_icons .insta-card_icon svg {
     height: 22px;
     width: auto;
     color: #ff00ff;
}
 .insta-card_icons .insta-card_icon span {
     font-size: 16px;
     line-height: 24px;
}
 .insta-card_caption {
     margin-top: 8px;
     font-size: 14px;
     line-height: 24px;
     display: inline-block;
     overflow: hidden;
     max-height: 45px;
     width: 100%;
}
 .insta-card_caption-warp .readmore {
     font-size: 14px;
     line-height: 24px;
     color: #fff;
}
 #card_content{
     display: none;
}
 .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_video .video-icon, .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_layout .layout-icon {
     width: 24px;
     height: 24px;
     position: absolute;
     right: 24px;
     top: 24px;
     z-index: 2;
     color: #fff;
     opacity: 0.8;
}
 .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_video video, .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_layout video {
     transform: scale(1.8);
}
 .insta-feed .insta-feed_inner .insta-feed_card .insta-feed_image a:has(video){
     overflow: hidden;
}
 .insta-feed_card .insta-feed_image.insta-feed_layout .item{
     aspect-ratio: 1/1 !important;
}
 @media(max-width: 768px) {
     .insta-feed .insta-feed_inner {
         grid-template-columns: repeat(2, 1fr);
         gap: 16px;
    }

    .card_content_popup {
        display: block;
    }

    .card_content_popup .card_content_image, .card_content_popup .card_content_caption {
        width: 100%;
    }
}
