/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 14 2025 | 13:39:22 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 

.search-results #content {
	margin-top: 100px !important;
}

/* Search Results Page ONLY - Responsive 3 Column Grid CSS */


/* All styles specifically targeted to .search-results body class */

/* Main container setup - Using CSS Grid */
body.search-results #content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    align-items: start;
}

/* Search results header - spans full width */
body.search-results #content .header {
    grid-column: 1 / -1 !important;
    margin-bottom: 20px;
    text-align: center;
}

body.search-results #content .header .entry-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Each article card */
body.search-results #content > article {
    grid-column: span 1 !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    width: 100% !important;
    margin: 0 !important;
}

/* Article hover effect */
body.search-results #content > article:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Article header */
body.search-results #content article header {
    padding: 20px 20px 10px;
}

body.search-results #content article .entry-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0;
}

body.search-results #content article .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

body.search-results #content article .entry-title a:hover {
    color: #0073aa;
}

/* Entry summary */
body.search-results #content article .entry-summary {
    padding: 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Featured image link */
body.search-results #content article .entry-summary > a {
    display: block;
    margin: 0 -20px 15px -20px;
    overflow: hidden;
    line-height: 0;
}

/* Featured image */
body.search-results #content article .entry-summary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

body.search-results #content article .entry-summary p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation - spans full width */
body.search-results #content .navigation {
    grid-column: 1 / -1 !important;
    margin-top: 20px;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

body.search-results #content .navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

body.search-results #content .navigation .nav-links a {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

body.search-results #content .navigation .nav-links a:hover {
    background: #005a87;
}

/* Tablet view - 2 columns */
@media (max-width: 768px) {
    body.search-results #content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    body.search-results #content .header .entry-title {
        font-size: 1.75rem;
    }
    
    body.search-results #content article .entry-title {
        font-size: 1.15rem;
    }
}

/* Mobile view - 1 column */
@media (max-width: 480px) {
    body.search-results #content {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 10px;
    }
    
    body.search-results #content .header .entry-title {
        font-size: 1.5rem;
    }
    
    body.search-results #content article .entry-title {
        font-size: 1.1rem;
    }
    
    body.search-results #content article .entry-summary img {
        height: 180px;
    }
    
    body.search-results #content .navigation .nav-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Optional: Add animation on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.search-results #content article {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

body.search-results #content article:nth-child(2) { animation-delay: 0.05s; }
body.search-results #content article:nth-child(3) { animation-delay: 0.1s; }
body.search-results #content article:nth-child(4) { animation-delay: 0.15s; }
body.search-results #content article:nth-child(5) { animation-delay: 0.2s; }
body.search-results #content article:nth-child(6) { animation-delay: 0.25s; }
body.search-results #content article:nth-child(7) { animation-delay: 0.3s; }
body.search-results #content article:nth-child(8) { animation-delay: 0.35s; }
body.search-results #content article:nth-child(9) { animation-delay: 0.4s; }
body.search-results #content article:nth-child(10) { animation-delay: 0.45s; }
body.search-results #content article:nth-child(11) { animation-delay: 0.5s; }
body.search-results #content article:nth-child(12) { animation-delay: 0.55s; }
body.search-results #content article:nth-child(13) { animation-delay: 0.6s; }
body.search-results #content article:nth-child(14) { animation-delay: 0.65s; }

/* Fallback for browsers that don't support grid */
@supports not (display: grid) {
    body.search-results #content {
        display: block !important;
    }
    
    body.search-results #content:after {
        content: "";
        display: table;
        clear: both;
    }
    
    body.search-results #content > article {
        float: left;
        width: calc(33.333% - 20px) !important;
        margin: 10px !important;
    }
    
    @media (max-width: 768px) {
        body.search-results #content > article {
            width: calc(50% - 20px) !important;
        }
    }
    
    @media (max-width: 480px) {
        body.search-results #content > article {
            width: 100% !important;
            float: none;
            margin: 10px 0 !important;
        }
    }
}