/*
Theme Name: Elementor Child
Template: hello-elementor
Version: 1.0.0
*/

@import url("../elementor/style.css");

/* Vos styles personnalisés ici */

/* ==========================================================================
   STYLES POUR PAGE DE RÉSULTATS DE RECHERCHE
   ========================================================================== */

/* Header de la recherche */

.site-main {
    max-width: 1920px;
    margin: 0 auto;
} 

.search-header {
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: left;

}

.search-title {
  	font-family: Rubik;
    font-size: 56px;
  	text-transform: uppercase;
  	color: #225C54;
    margin-bottom: 10px;
    font-weight: 800;
}

.search-title span {
    color: #bf211e;
    font-weight: 700;
  	text-transform: lowercase;
}

.search-results-count {
    font-size: 16px;
    font-family: Rubik,
    margin: 0;
}

/* Container des résultats */
.search-results-container {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

/* Item de résultat individuel */
.search-result-item {
    background: #FCF0DA;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.search-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Image à la une */
.result-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

.result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-thumbnail:hover img {
    transform: scale(1.05);
}

/* Contenu du résultat */
.result-content {
    flex: 1;
}

.result-title {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    line-height: 1.3;
}

.result-title a {
  	font-family: Rubik;
  	font-size:32px;
  	font-weight: 600;
    color: #BF211E;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: #225c54;
}

/* Méta informations */
.result-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #6b7280;
}


.result-type {
    position: relative;
}


.result-type {
    background: #225c54;
    padding: 4px 12px;
    border-radius: 20px;
  	font-family: Mulish;
  	color:#fcf0da;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75em;
    letter-spacing: 0.5px;
}

/* Extrait */
.result-excerpt {
    color: #4b5563;
  	font-family: Mulish;
  	font-size:16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.result-excerpt p {
    margin: 0;
}

/* Bouton "Lire la suite" */
.result-read-more {
    display: inline-flex;
    align-items: center;
    background: #bf211e;
    text-decoration: none;
  	font-family:Rubik;
    font-weight: 600;
    font-size: 0.95em;
  	color:#fcf0da;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.result-read-more:hover {
    background: #225c54;
    color: #fcf0da;
}

/* Pagination */
.search-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.search-pagination .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-pagination a,
.search-pagination .current {
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-pagination a {
  	font-family: Rubik;
    background: #f8fafc;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.search-pagination a:hover {
    background: #bf211e;
    color: #fcf0da;
    border-color: #bf211e;
}

.search-pagination .current {
    background: #bf211e;
    color: #fcf0da;
    border: 1px solid #bf211e;
}

/* Aucun résultat */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;

}

.no-results h1 {
    color: #bf211e;
    font-size: 56px;
  	font-family:Rubik;
  	font-weight:800;
  	text-transform:uppercase;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 32px;
  	font-family: Mulish;
    color: #6b7280;
    margin-bottom: 40px;
}

.new-search {
    max-width: 400px;
    margin: 0 auto;
}

.new-search .search-form {
    display: flex;
    gap: 10px;
}

.new-search input[type="search"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1em;
  	font-family:Mulish;
    transition: border-color 0.3s ease;
}

.new-search input[type="search"]:focus {
    outline: none;
    border-color: #225c54;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.new-search input[type="submit"] {
	    font-weight: 600;
  	font-family:Rubik;
  	font-size:16px;
  	color:#fcf0da;
  background: #bf211e;
    	display: inline-block;
    	position: relative;
    	line-height: 100%;
    	border: none;
    	cursor: pointer;
    	overflow: hidden;
    	z-index: 1;
}

.new-search input[type="submit"]:hover {
    background: #225c54;
}


/* Responsive Design */
@media (max-width: 768px) {
    .search-result-item {
        flex-direction: column;
        text-align: center;
    }
    
    .result-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .search-header {
        padding: 30px 20px;
    }
    
    .search-title {
        font-size: 1.8em;
    }
    
    .result-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .site-main {
        padding: 0 15px;
    }
}
