.elementor-33070 .elementor-element.elementor-element-b20233c{--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;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}.elementor-33070 .elementor-element.elementor-element-6f6892b > .elementor-widget-container{padding:0px 0px 40px 0px;}.elementor-33070 .elementor-element.elementor-element-6f6892b{text-align:center;}.elementor-33070 .elementor-element.elementor-element-6f6892b .elementor-heading-title{font-size:60px;}/* Start custom CSS for heading, class: .elementor-element-6f6892b *//* Custom CSS for a 4-in-a-row layout for Branding Solutions */
.custom-posts-list {
    /* Enables grid layout */
    display: grid !important; 
    /* Defines 4 columns, each taking up an equal fraction of space */
    grid-template-columns: repeat(4, 1fr) !important; 
    /* Ensures items are centered in the column */
    justify-content: center !important; 
    /* Add some spacing between the items */
    gap: 30px !important; 
}

/* Styling for the content/text inside each brand box - ADDED BORDER AND RADIUS */
.custom-posts-list .popup-menu-box {
    text-align: left; 
    font-size: 16px; 
    
    /* 1. Add Border: 1px thick, solid, light gray */
    border: 1px solid #e0e0e0; 
    /* 2. Soft Edges: 8px rounding */
    border-radius: 8px;
    /* 3. Add internal padding to separate content from border */
    padding: 15px;
    /* Optional: Add slight shadow on hover for interaction */
    transition: box-shadow 0.3s ease-in-out;
}

.custom-posts-list .popup-menu-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* If you specifically want to target the title text within the box (highly recommended) */
.custom-posts-list .popup-menu-box .post-title {
    font-size: 18px; /* Slightly larger for the title */
    font-weight: 600; /* Makes the title bold */
    margin-top: 10px; /* Space above the title */
}

/* Tablet Layout: 2 columns */
@media (max-width: 1024px) {
    .custom-posts-list {
        grid-template-columns: repeat(2, 1fr) !important; 
    }
}

/* Mobile Layout: 1 column */
@media (max-width: 767px) {
    .custom-posts-list {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-d739558 *//* --- Mobile View: 2 Columns --- */

/* Targets screens with a max width of 767px (typical mobile cutoff) */
@media (max-width: 767px) {
    
    /* Targets the main container of the grid generated by the shortcode */
    .custom-posts-list {
        /* Overrides the number of columns */
        grid-template-columns: repeat(2, 1fr) !important; 
        
        /* Optional: Adjust gap between items for small screens */
        gap: 15px !important;
    }
    
    /* Optional: Ensure the border and padding still look good */
    .custom-posts-list .popup-menu-box {
        padding: 10px; /* Reduced padding for smaller boxes */
    }
}


/* --- Tablet View: 3 Columns (Recommended) --- */

/* You can optionally add a separate rule for tablets if you want 3 columns */
@media (min-width: 768px) and (max-width: 1024px) {
    .custom-posts-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}/* End custom CSS */