/*
Theme Name: Amity Child
Theme URI: https://amity.keydesign.xyz/
Description: Charity & Donation Elementor WordPress Theme
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Template: amity
Version: 1.0
License: Envato Standard License
License URI: https://themeforest.net/licenses/standard
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready
Text Domain: amity-child
*/
/* ==========================
   TRUSTINDEX - FOND DES CARTES
   ========================== */

body .elementor-element-19d0a84 .ti-widget.ti-goog[data-set-id="light-background"]
.ti-reviews-container-wrapper
.ti-review-item.source-Google > .ti-inner {
    background: #eeeeee !important;
    background-color: #eeeeee !important;
    background-image: none !important;
    border-radius: 12px !important;
    /*padding-top: 70px !important;*/
}

/* On évite les fonds parasites sur les éléments internes */
body .elementor-element-19d0a84 .ti-widget .ti-inner *,
body .elementor-element-19d0a84 .ti-widget .ti-inner *::before,
body .elementor-element-19d0a84 .ti-widget .ti-inner *::after {
    background-image: none !important;
}

/* ==========================
   TRUSTINDEX - FLÈCHES
   ========================== */

body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-prev,
body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-next {
    background: #ce6a45 !important;
    background-color: #ce6a45 !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    border-radius: 50% !important;
    opacity: 1 !important;
}

/* Chevron blanc, recentré */
body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-prev:before,
body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-next:before {
    border-color: #ffffff !important;
    width: 12px !important;
    height: 12px !important;
    top: 50% !important;
    left: 50% !important;
}


/* ==========================
   POSITION DES FLÈCHES
   ========================== */

body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-prev {
    left: -60px !important;
}

body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-next {
    right: -60px !important;
}

/* ==========================
   TRUSTINDEX - RESPONSIVE
   ========================== */

/* Tablette */
@media (max-width: 1024px) {
	body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-prev {left: -35px !important;}
    body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-next {right: -35px !important;}
}

/* Mobile */
@media (max-width: 767px) {
    body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-prev,
    body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-next {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-prev {left: -10px !important;}
    body .elementor-element-19d0a84 .ti-widget .ti-controls .ti-next {right: -10px !important;}
	h1, h2, h3, h4, h5, h6 {text-transform: none!important;}
}

/* =======================================================
   NEWSLETTER BREVO - PIED DE PAGE
   ======================================================= */

.newsletter-form {
    color: #fff;
}

.newsletter-inline {
    display: flex;
    align-items: stretch;
}

.newsletter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
}

.newsletter-label input[type="email"] {
    width: 220px;
    height: 40px;
    padding: 0 15px;
    background: #fff !important;
    color: #05524D;
    border: none;
    border-radius: 20px 0 0 20px;
    font-size: 15px;
    box-sizing: border-box;
}

.newsletter-label input[type="email"]::placeholder {
    color: #05524D;
    font-weight: 600;
    opacity: 1;
}

.newsletter-inline .sib-default-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 24px !important;
    margin: 0 !important;
    background: #CE6A46 !important;
    color: #fff !important;
    border: 1px solid #CE6A46 !important;
    border-radius: 0 20px 20px 0 !important;
    font-family: "Tahoma" !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .3s ease;
}

.newsletter-inline .sib-default-btn:hover {
    background: #fff !important;
    color: #CE6A46 !important;
    border-color: #fff !important;
}

.newsletter-rgpd {
    margin-top: 18px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: normal;
}

.newsletter-rgpd,
.newsletter-rgpd label,
.newsletter-rgpd label * {
    font-weight: normal !important;
}

.newsletter-rgpd input[type="checkbox"] {
    margin-right: 8px;
}

.newsletter-rgpd a {
    color: #fff;
    text-decoration: none;
}

.newsletter-rgpd a:hover {
    color: #CE6A46;
    text-decoration: underline;
}

/* Mobile + tablette étroite */
@media (max-width: 767px) {
    .newsletter-inline,
    .newsletter-label {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-label {
        width: 100%;
        gap: 8px;
    }

    .newsletter-label input[type="email"],
    .newsletter-inline .sib-default-btn {
        width: 100%;
        border-radius: 20px !important;
    }

    .newsletter-inline .sib-default-btn {
        margin-top: 10px !important;
    }

    .newsletter-rgpd {
        font-size: 13px;
    }
}

/* Tablette portrait : centrage */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .newsletter-form {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .newsletter-inline {
        justify-content: center;
    }

    .newsletter-rgpd {
        max-width: 520px;
    }
}

/* Tablette paysage : éviter le débordement dans une colonne étroite */
@media (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
    .newsletter-inline,
    .newsletter-label {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-label input[type="email"],
    .newsletter-inline .sib-default-btn {
        width: 100%;
        border-radius: 20px !important;
    }

    .newsletter-inline .sib-default-btn {
        margin-top: 10px !important;
    }
}
/* Forçage de la couleur des liens par défaut */
.e-con .elementor-element .elementor-widget-text-editor a { color: var(--e-global-color-primary); font-weight: bold; }
.e-con .elementor-element .elementor-widget-text-editor a:hover { color: var(--e-global-color-accent); }

/* Espacement des dots du diaporama de la homepage */
.ekit-wid-con .elementskit-advanced-slider .ekit-slider-wrapper>.swiper-pagination .swiper-pagination-bullet { margin: 0 15px; }

/* Personnalisation du bouton d'envoi du formulaire wpforms page contact */
#wpforms-28524 .wpforms-submit {
    background-color: var(--e-global-color-primary);
    color: #fff;
    border: none;
    transition: background-color 0.3s ease;
}

#wpforms-28524 .wpforms-submit:hover,
#wpforms-28524 .wpforms-submit:focus {
    background-color: var(--e-global-color-secondary);
    color: #fff;
}

/* Single Portfolio : titre sur toute la largeur */
.page-header .entry-title { max-width: 100%!important;}


/* ==========================================
   RELATED PORTFOLIO - SINGLE PORTFOLIO
   ========================================== */

/* Masquer la catégorie */
.related-content .category-meta,
.related-content .category-meta a {
    display: none !important;
}

/* Texte du bouton en blanc (normal + survol) */
.related-content .keydesign-button,
.related-content .keydesign-button .button-wrapper,
.related-content .keydesign-button:hover,
.related-content .keydesign-button:hover .button-wrapper {
    color: #fff !important;
}

/* =======================================================
   ARCHIVE PORTFOLIO
   ======================================================= */

/* Masquer la catégorie */
.keydesign-card .category-meta,
.keydesign-card .category-meta a {
    display: none !important;
}

/* Couleur du texte de description */
.keydesign-portfolio .entry-content-card .post-content,
.keydesign-portfolio .entry-content-card .post-content p {
    color: #333333;
}

/* Bouton : texte blanc */
.keydesign-portfolio .entry-button-wrapper .keydesign-button,
.keydesign-portfolio .entry-button-wrapper .keydesign-button .button-wrapper {
    color: #ffffff;
}

/* Bouton : texte blanc au survol */
.keydesign-portfolio .entry-button-wrapper .keydesign-button:hover,
.keydesign-portfolio .entry-button-wrapper .keydesign-button:hover .button-wrapper {
    color: #ffffff;
}

/* Ajustemet / suppression des espaces blancs autour du diaporama de la homepage */
@media (max-width: 766.98px) {
    .e-con .e-widget-swiper .swiper-wrapper {
        padding: 0;
    }
	.elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
		bottom: -30px;
	}
}