/*!
Theme Name: THS
Author: Eisenberg Inc.
Version: 1.0.0
*/

.search_results_page {
	padding-top: 50px;
	padding-bottom: 75px;
}

.search_results_page .search-form {
    display: flex;
    align-items: center; /* Center items vertically */
}

.search_results_page .search-field {
    flex: 1; /* Grow to fill remaining space */
    padding: 10px; /* Adjust padding as needed */
    border: 1px solid #ccc; /* Add border for visual separation */
    border-radius: 5px; /* Add border radius for rounded corners */
}

.search_results_page .search-submit {
    margin-left: 10px; /* Add space between search field and button */
    padding: 10px 20px; /* Adjust padding as needed */
    background-color: var(--dark-blue); /* Change button background color */
    color: #fff; /* Change button text color */
    border: none; /* Remove button border */
    border-radius: 5px; /* Add border radius for rounded corners */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s ease; /* Add transition for smooth hover effect */
}

/* Hover effect for button */
.search_results_page .search-submit:hover {
    background-color:  var(--orange); /* Change button background color on hover */
}


.search-result {
    max-width: 100%; /* Ensure the search results stay within the parent container */
}

.search-article {
    display: flex; /* Use flexbox for the search article */
    gap: 20px; /* Adjust the gap between columns */
    margin-bottom: 50px; /* Add spacing between search results */
    
}

.search-article .search_column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.search-article .search_column img {
     width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-article .search_column h2 {
    font-size: 1.8rem; /* Adjust heading font size */
    margin-bottom: 10px; /* Add spacing below heading */
}

.search-article .search_column p {
    margin-bottom: 10px; /* Add spacing below excerpt */
}

.search-article .search_column .read-more {
    align-self: flex-end; 
    padding: 5px 10px;
    background-color:var(--orange); /* Change button background color */
    color: #fff; /* Change button text color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
    text-align: right;
}

.search-article .search_column .read-more:hover {
    background-color:var(--dark-blue); /* Change button background color on hover */
}

@media (max-width: 767px) {
    .search-article {
        flex-direction: column; /* Stack articles vertically */
    }

    .search-article .search_column {
        flex: none; /* Reset flex value to stack columns */
        width: 100%; /* Set width to fill the entire row */
    }
}

