.elementor-678 .elementor-element.elementor-element-8b2c1fe{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for shortcode, class: .elementor-element-8b2c1fe *//* =======================================================
FAMESET SEARCH GRID ARCHITECTURE (V3 - 4 COLUMNS OPTIMIZED)
======================================================= */

/* 1. Base Setup & Navbar Spacing Fix */
body.search-results .site-content,
body.search-results #primary,
body.search-results main,
body.search-results .site-main {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important; /* Saare cards ki height auto-equal rahegi */
    max-width: 1320px !important; /* 4 columns ke liye width thodi badha di hai */
    margin: 0 auto !important;
    padding: 140px 20px 60px 20px !important; 
    background-color: #000000 !important;
    box-sizing: border-box !important;
}

/* Page Search Title Styling */
body.search-results .page-header,
body.search-results h1.search-title {
    width: 100% !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 35px !important;
    padding-left: 10px !important;
}

/* 2. Premium Card Box UI Structure (Desktop: 4 Columns) */
body.search-results article {
    display: flex !important;
    flex-direction: column !important;
    background: #0c0c0c !important; /* Rich premium dark background */
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 24px !important; /* Smooth curved corners */
    overflow: hidden !important;
    box-sizing: border-box !important;
    
    /* Desktop Math: 4 columns with proper gutter gaps */
    width: calc(25% - 24px) !important; 
    margin: 12px !important;
    height: auto !important; /* Text ko dabne se rokne ke liye */
    
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease !important;
}

/* Card Hover Glow effect */
body.search-results article:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(247, 200, 9, 0.4) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7) !important;
}

/* 3. Image Layout Setup (Strict Portrait Proportion) */
body.search-results article .post-thumbnail,
body.search-results article .entry-image,
body.search-results article a:has(img) {
    order: -1 !important; /* Force photo to top layer */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

body.search-results article img {
    width: 100% !important;
    height: 300px !important; /* Perfect height scaling for 4-column cards */
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

/* 4. Padding Adjustment (Fixes the text cramping issue) */
body.search-results article .entry-header,
body.search-results article .entry-content,
body.search-results article .entry-summary,
body.search-results article .entry-body {
    padding: 22px 20px 24px 20px !important; /* Proper breathing room inside cards */
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: #0c0c0c !important;
    flex-grow: 1 !important; /* Dynamic expansion */
}

/* 5. Title Configuration (Max 2 Lines Clamp) */
body.search-results article .entry-title,
body.search-results article h2 {
    font-size: 19px !important; /* Proportional text size for 4 columns */
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.search-results article .entry-title a,
body.search-results article h2 a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 6. Excerpt/Bio Configuration (Max 2 Lines Clamp + Gold) */
body.search-results article p,
body.search-results article .entry-summary p,
body.search-results article .post-excerpt {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #F7C809 !important; /* Signature Golden text */
    margin: 0 !important;
    line-height: 1.4 !important;
    
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* =======================================================
7. RESPONSIVE ENGINE BREAKPOINTS
======================================================= */

/* Tablet Optimization (Max 2 Columns) */
@media (max-width: 1024px) {
    body.search-results article {
        width: calc(50% - 24px) !important; /* 2 cards per row */
        margin: 12px !important;
    }
    body.search-results article img {
        height: 320px !important; /* Aspect ratio balancing for tablet width */
    }
}

/* Mobile Optimization (Strictly 1 Column) */
@media (max-width: 767px) {
    body.search-results .site-content,
    body.search-results #primary,
    body.search-results main,
    body.search-results .site-main {
        padding-top: 110px !important; /* Compact navbar gap for mobiles */
    }
    body.search-results article {
        width: 100% !important; /* Full width card on mobile */
        margin: 12px 0 !important;
    }
    body.search-results article img {
        height: 350px !important; /* Beautiful portrait scaling on mobile screens */
    }
}/* End custom CSS */