.elementor-953 .elementor-element.elementor-element-756e6b21{--display:flex;}.elementor-953 .elementor-element.elementor-element-44ab4c9{--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;}.elementor-953 .elementor-element.elementor-element-61338da{margin:0% 0% calc(var(--kit-widget-spacing, 0px) + -2%) 0%;text-align:center;}.elementor-953 .elementor-element.elementor-element-9746bd2{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-effd859 *//* Featured Posts Grid Layout */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Improved column sizing */
    gap: 30px;
    margin: 40px 0;
}

.featured-grid .listing-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-image-container {
    width: 100%;
    aspect-ratio: 16/9; /* Modern aspect ratio control */
    overflow: hidden;
    display: flex;
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
}

.post-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Ensures image is centered */
    transition: transform 0.5s ease;
}

/* Content Styling */
.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.25rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.post-excerpt {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Hover Effects */
.featured-grid .listing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.featured-grid .listing-item:hover img {
    transform: scale(1.03);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .featured-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-image-container {
        aspect-ratio: 4/3; /* Slightly taller on tablets */
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .post-image-container {
        aspect-ratio: 3/2; /* More square on mobile */
    }
}/* End custom CSS */