.elementor-94862 .elementor-element.elementor-element-f28a824{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-94862 .elementor-element.elementor-element-6874f56 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:1.5em;font-weight:500;color:#CCCCCC;}.elementor-94862 .elementor-element.elementor-element-e93f48f{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;border-style:solid;--border-style:solid;border-width:0px 0px 0px 5px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:0px;--border-left-width:5px;border-color:#F12C39;--border-color:#F12C39;--padding-top:0px;--padding-bottom:5px;--padding-left:0px;--padding-right:0px;}.elementor-94862 .elementor-element.elementor-element-e93f48f:not(.elementor-motion-effects-element-type-background), .elementor-94862 .elementor-element.elementor-element-e93f48f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#282828;}.elementor-94862 .elementor-element.elementor-element-a0fafe4{width:var( --container-widget-width, 82% );max-width:82%;--container-widget-width:82%;--container-widget-flex-grow:0;}.elementor-94862 .elementor-element.elementor-element-a0fafe4 > .elementor-widget-container{padding:10px 0px 10px 20px;border-style:none;}.elementor-94862 .elementor-element.elementor-element-a0fafe4 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:1.2em;font-weight:400;color:#FFFFFF;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-94862 .elementor-element.elementor-element-e93f48f{--gap:0px 0px;--row-gap:0px;--column-gap:0px;}}@media(min-width:768px){.elementor-94862 .elementor-element.elementor-element-f28a824{--content-width:1280px;}}/* Start custom CSS for shortcode, class: .elementor-element-f420097 */.popular-posts-grid {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next row */
    justify-content: flex-start; /* Align items to the start to avoid gaps */
    gap: 20px; /* Adjust spacing between items */
}

.popular-post-item {
    flex: 0 0 calc(25% - 20px); /* Fix the width to ensure 4 items per row */
    max-width: calc(25% - 20px); /* Prevent items from growing larger than 25% */
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 20px; /* Add margin to create space between rows */
}

.popular-post-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.popular-post-item p {
    font-size: .875rem;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit the title to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

@media (max-width: 768px) {
    .popular-post-item {
        flex: 0 0 calc(50% - 20px); /* 2 items per row on smaller screens */
        max-width: calc(50% - 20px); /* Ensure max width for 2 items per row */
    }
}

@media (max-width: 480px) {
    .popular-post-item {
        flex: 0 0 100%; /* 1 item per row for mobile */
        max-width: 100%; /* Ensure max width for mobile view */
    }
}/* End custom CSS */