
/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Text Domain:  hello-elementor-child
*/

.search-container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 15px;
}

.search-title {
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.search-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: .3s ease;
}

.search-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.search-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.search-item-title {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 15px 0;
}

.search-excerpt {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

.search-card a {
    color: #000;
    text-decoration: none;
}

.search-pagination {
    margin-top: 30px;
    text-align: center;
}

/* Search results grid layout */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.search-results-grid article {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow .3s ease;
}

.search-results-grid article:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-results-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

.search-results-grid h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.search-results-grid p {
    font-size: 14px;
    color: #555;
    margin-top: 0;
}
