.elementor-1917 .elementor-element.elementor-element-71e9786{--display:flex;--margin-top:3vw;--margin-bottom:0vw;--margin-left:0vw;--margin-right:0vw;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1917 .elementor-element.elementor-element-661680e > .elementor-widget-container{margin:40px 0px 0px 0px;}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-1917 .elementor-element.elementor-element-661680e > .elementor-widget-container{margin:40px 0px 0px 0px;}}@media(max-width:767px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}}/* Start custom CSS for html, class: .elementor-element-661680e *//* Import Readex Pro font */
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro&display=swap');

/* Main Grid Container Styles */
.pinterest-grid {
    /* Using CSS Columns for a masonry-like effect */
    column-count: 5; /* Default for very large desktops */
    column-gap: 15px; /* Spacing between columns */
    width: 100%;
    max-width: 1400px; /* Max width of the entire grid */
    margin: 20px auto; /* Center the grid with some margin */
}

/* Individual Grid Item (Card) Styles */
.grid-item {
    display: inline-block; /* Essential for column-count to work */
    width: 100%; /* Each item takes full width of its column */
    margin-bottom: 15px; /* Space between items in the same column */
    break-inside: avoid; /* Prevents items from breaking across columns */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    background-color: white; /* White background for each image card */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensures content respects border-radius */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    font-family: 'Readex Pro', sans-serif; /* Apply font to card content */
}

.grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Image within the Grid Item */
.grid-item img {
    width: 100%; /* Image fills the width of its container */
    height: auto; /* Maintain aspect ratio - crucial for masonry effect */
    display: block; /* Remove extra space below image */
}

/* Content Area below the Image */
.item-content {
    padding: 10px;
    text-align: left; /* Text content usually left-aligned below image */
    color: #333;
    font-size: 0.9em;
}

/* Header within the Item Content */
.item-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.1em;
    color: #8B0000; /* Header color */
    text-align: center; /* Center the header text */
}

/* Paragraph within the Item Content (if you choose to use it) */
.item-content p {
    margin: 0;
    line-height: 1.4;
}


/* Responsive Adjustments (Media Queries) */

/* Desktop: 4 columns for common desktop sizes */
@media (min-width: 1024px) and (max-width: 1400px) {
    .pinterest-grid {
        column-count: 4;
    }
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .pinterest-grid {
        column-count: 3;
    }
}

/* Small Tablet/Larger Mobile: 2 columns */
@media (min-width: 480px) and (max-width: 767px) {
    .pinterest-grid {
        column-count: 2;
    }
}

/* Mobile: 1 column */
@media (max-width: 479px) {
    .pinterest-grid {
        column-count: 1;
    }
}/* End custom CSS */