#igfeed-posts-wrapper { margin-bottom: 120px; }
#igfeed-posts-wrapper a.if-image-wrapper { display: block; overflow: hidden; max-height: 270px; width: 100%; }
#igfeed-posts-wrapper .igfeed-header { margin-bottom: 28px; }
#igfeed-posts-wrapper .igfeed-header * { display: inline; color: #ad7c37; font-size: 30px; line-height: 41px; }
#igfeed-posts-wrapper .igfeed-header i { margin-right: 10px; }
#igfeed-posts-wrapper .igfeed-summary { margin-bottom: 32px; }
#igfeed-posts-wrapper .igfeed-summary p { font-size: 16px; line-height: 19px; color: #4E4F55; }

.igfeed-post-wrapper { max-width: 350px; margin: auto; }

body.cms-index-index #igfeed-posts-wrapper { margin-top: 100px; }

#mq_overlay {
    position:fixed; z-index: 999;
    top:0; left:0; width:100%; height:100%;
    background:#000; opacity:0.5; filter:alpha(opacity=50);
}
#mq_modal { position:absolute; border-radius:1px; padding:0; z-index: 1000; max-width: 90%; }
#mq_content {
    border-radius:1px; background:#fff; padding:20px;
}
#mq_close {
    position: absolute; text-align: center; /* background: url(close.png) 0 0 no-repeat; */
    width: 28px; height: 28px; color: #000;
    display: block; top: -4px; right: 0;
    font-size: 26px; font-family: inherit;
}
a#mq_close:hover { text-decoration: none; }

.igfeed-post-wrapper .popup-content { visibility: hidden; position: absolute; left: -99999px; padding:5px; }
.igfeed-post-wrapper .box-item-summary h3 {
    color: #4E4F55;
    font-size: 20px;
    font-weight: 700;
}

#mq_modal .popup-content { padding: 5px; }

#mq_modal .popup-content .post-wrapper { position: relative; width: 340px; height: 318px; }
#mq_modal .popup-content .post-wrapper a.if-link-wrapper { display: block; overflow: hidden; width: 100%; height: 100%; }
#mq_modal .popup-content .post-wrapper .post-details { position: absolute; bottom: 0; background: rgba(8, 119, 189, 0.95); /*rgba(14, 118, 189, 0.95);*/ padding: 10px; text-align: left; }
#mq_modal .popup-content .post-wrapper .post-details * { font-size: 14px; line-height: 20px; color: #FFFFFF; cursor: pointer;  }
#mq_modal .popup-content .post-wrapper .post-details a { line-height: 16px; font-weight: bold; }

#mq_modal .popup-content .post-wrapper,
#mq_modal .popup-content .featured-product-wrapper { width: 340px; height: 318px; }

#mq_modal .popup-content .featured-product-wrapper .featured-product-link img { margin-bottom: 26px; }
#mq_modal .popup-content .featured-product-wrapper .featured-product-link h3 { margin-bottom: 35px; font-weight: bold; font-size: 24px; line-height: 32px; color: #4E4F55; }

.mq_cards {
    max-width: 90%; margin: 0 auto; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.mq_card { height: 4rem; }

.mq_column {
    float: left;
    width:auto;
    padding: 10px;
}

/* Clear floats after the columns */
.mq_row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 992px) {
    #mq_modal .popup-content .post-wrapper,
    #mq_modal .popup-content .featured-product-wrapper { width: 300px; height: 320px; }
}

@media screen and (max-width: 767px) {
    .mq_column {
        width: 100%;
    }
    #mq_modal { max-width: 410px; }
    #mq_modal .popup-content .post-wrapper,
    #mq_modal .popup-content .featured-product-wrapper { width: 340px; height: 320px; }
}
