/*
Theme Name: SGIA
Theme URI: http://childtheme-generator.com/
Template: hello-elementor
Author: SGIA Team
Author URI: https://sg.devmode.ovh/
Description: SGIA is a child theme of Hello Elementor, created by ChildTheme-Generator.com
Version: 1.0.0.1751297411
Updated: 2025-07-01 02:30:11

*/



.search .page-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.search .page-content article.post {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search .page-content article.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.search .page-content article.post img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.search .page-content article.post .entry-title {
    font-size: 1.25rem;
    margin: 15px 15px 10px 15px;
    flex-grow: 0;
}

.search .page-content article.post .entry-title a {
    color: #333333;
    text-decoration: none;
}

.search .page-content article.post p {
    font-size: 0.9rem;
    color: #666;
    padding: 0 15px 15px 15px;
    margin: 0;
    flex-grow: 1;
}

.search .page-content article.post:has(img) p {
    display: none;
}

.search .page-content article.post:not(:has(img)) {
    background-color: #f7f7f7;
}

@media (max-width: 768px) {
    .search .page-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Style du conteneur principal du bandeau */
.sgi-reassurance-band-js-moved {
    width: 100%;
    margin-top: 40px;
    padding: 20px 0;
    background-color: #f7f7f7;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Ligne 1 : Logo EpayNC (centrage) */
.sgi-reassurance-band-js-moved .reassurance-ligne-logo {
    text-align: center;
    margin-bottom: 25px; 
}
.sgi-reassurance-band-js-moved .reassurance-ligne-logo .elementor-element-9d4af38 {
    display: inline-block;
    padding: 10px;
}

/* Ligne 2 : Les 3 blocs (Flexbox pour alignement horizontal) */
.sgi-reassurance-band-js-moved .reassurance-ligne-trois-blocs {
    display: flex;
    justify-content: space-around; 
    align-items: flex-start; 
    padding: 0 10px;
}

/* Les 3 blocs prennent une largeur égale sur la Ligne 2 */
.sgi-reassurance-band-js-moved .reassurance-ligne-trois-blocs > div {
    flex: 1 1 30%; 
    max-width: 33.33%;
    text-align: center;
    padding: 0 5px; 
}

/* Style des TITRES (H3) : Rendre le texte noir, taille augmentée, nowrap */
.sgi-reassurance-band-js-moved .elementor-icon-box-title span {
    color: #2d3133 !important; 
    font-size: 17px; /* Légèrement augmenté */
    line-height: 1.2;
    font-weight: 600; 
    white-space: nowrap; /* EMPÊCHE le retour à la ligne */
}

/* 🛑 Suppression de la description (par la classe parente pour plus de fiabilité) */
.sgi-reassurance-band-js-moved .elementor-icon-box-description {
    display: none !important; 
}

/* Styles internes des Icon Box */
.sgi-reassurance-band-js-moved .elementor-icon-box-wrapper {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    height: 100%; 
}

.sgi-reassurance-band-js-moved .elementor-icon-box-icon {
    margin-right: 0 !important;
    margin-bottom: 10px;
}

/* RESPONSIVE (sur mobile, tout s'empile verticalement) */
@media (max-width: 768px) {
    .sgi-reassurance-band-js-moved .reassurance-ligne-trois-blocs {
        flex-direction: column; 
        align-items: center;
    }
    .sgi-reassurance-band-js-moved .reassurance-ligne-trois-blocs > div {
        flex: 1 1 100%;
        max-width: 90%;
        margin-bottom: 15px; 
    }
    .sgi-reassurance-band-js-moved .reassurance-ligne-logo {
        margin-bottom: 25px; 
    }
}

#payment .wc_payment_method:has(> input[type="radio"]:checked) {

    box-shadow: 0 0 0 3px rgba(194, 14, 26, 0.5) !important;
    border-color: #C20E1A !important; 
    background: #FFF !important;
}

#payment .wc_payment_method:has(> input[type="radio"]:checked) label {
    border-color: #C20E1A !important;
}


.woocommerce-cart .elementor-widget-wrap.elementor-element-populated:empty {
    display: none !important;
}


.woocommerce-cart p:empty {
    display: none !important;
}
