/*
Theme Name:   Charifund Child
Theme URL:    https://wowtheme7.com/charifund-child/
Description:  Charity WordPress Theme
Author:       wowtheme7
Author URL:   https://wowtheme7.com/
Template:     charifund
Version:      1.4.0
License:      GNU General Public License v2 or later
License URL:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  charifundchildtheme
*/

/*
    Please Add your custom styles here
*/


.banner h1 span {
    font-family: var(--caveat) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left 0px bottom 0px !important;
}

.bottom-line {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='196' height='15' viewBox='0 0 196 15' fill='none'%3E %3Cpath d='M1 13C42.1844 2.92057 142.978 -3.87406 195 9.2668' stroke='%23fed000' stroke-width='4'/%3E %3C/svg%3E") !important;
}

.off-canvas .offcanvas__search {
    display: none !important;
}

.footer-two .footer-two__widget p {
    color: #ffffff !important;
}

.footer-two .footer-two__widget li a {
    color: #ffffff !important;
    position: relative;
}

.footer-two__widget-intro .menu li:before {
    color: #8d7018 !important;
}

.footer-two .footer-two__widget li a:hover, .footer-two__widget-intro .menu li:hover:before {
    color: #ffca28 !important;
}

.cta-exposants a {
    color: #000000 !important;
    background: #ffca28 !important;
    transition: 0.3s ease;
}

.cta-exposants a:hover {
    color: #ffffff !important;
    background: #006d77 !important;
}


/* =================================================
   GRAVITY FORMS 2.5 – FORMULAIRE #1 (CLEAN)
   ================================================= */

.gform_required_legend {
    color: white !important;
}

.gform_wrapper.gravity-theme .gfield_required {
    color: #ffca28 !important;
}

/* Largeur formulaire = container Elementor */
#gform_wrapper_1,
#gform_wrapper_1 form,
#gform_wrapper_1 .gform_fields,
#gform_wrapper_2,
#gform_wrapper_2 form,
#gform_wrapper_2 .gform_fields {
  width: 100% !important;
  max-width: 100% !important;
}

/* Layout champs */
#gform_wrapper_1 .gform_fields, #gform_wrapper_2 .gform_fields {
  display: flex !important;
  flex-wrap: wrap !important;
  column-gap: 24px !important;
  row-gap: 12px !important;
}

/* Champs demi-largeur */
#gform_wrapper_1 .gfield--width-half, #gform_wrapper_2 .gfield--width-half {
  width: calc(50% - 12px) !important;
}

/* Champs pleine largeur */
#gform_wrapper_1 .gfield:not(.gfield--width-half), #gform_wrapper_2 .gfield:not(.gfield--width-half) {
  width: 100% !important;
}

/* Espacement vertical */
#gform_wrapper_1 .gfield, #gform_wrapper_2 .gfield {
  margin-bottom: 0 !important;
}

/* Inputs / textarea */
#gform_wrapper_1 input[type="text"],
#gform_wrapper_1 input[type="email"],
#gform_wrapper_1 input[type="tel"],
#gform_wrapper_1 textarea, #gform_wrapper_2 input[type="text"],
#gform_wrapper_2 input[type="email"],
#gform_wrapper_2 input[type="tel"],
#gform_wrapper_2 textarea {
  width: 100% !important;
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 4px !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* Textarea */
#gform_wrapper_1 textarea, #gform_wrapper_2 textarea {
  min-height: 160px !important;
}

/* Labels */
#gform_wrapper_1 label, #gform_wrapper_2 label {
  color: #fff !important;
  margin-bottom: 4px !important;
  display: block !important;
}

/* Texte aide / compteur */
#gform_wrapper_1 .gfield_description,
#gform_wrapper_1 .charleft, #gform_wrapper_2 .gfield_description,
#gform_wrapper_2 .charleft {
  color: rgba(255,255,255,0.7) !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

/* Bouton */
#gform_wrapper_1 .gform_footer, #gform_wrapper_2 .gform_footer {
  margin-top: 24px !important;
  text-align: center !important;
}

#gform_wrapper_1 .gform_footer button[type="submit"], #gform_wrapper_2 .gform_footer button[type="submit"] {
  width: auto !important;
  min-width: 160px !important;
  padding: 18px 40px !important;
  border-radius: 60px !important;
  background-color: rgba(255, 255, 255, 0.20) !important;
  gap: 8px !important;
  color: white !important;
  border: none !important;
  font-weight: 700 !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: 0.3s ease !important;
}

#gform_wrapper_1 .gform_footer button[type="submit"]:hover, #gform_wrapper_2 .gform_footer button[type="submit"]:hover {
  color: black !important;
  background-color: #ffca28 !important;
}

/* Mobile */
@media (max-width: 768px) {
  #gform_wrapper_1 .gfield--width-half, #gform_wrapper_2 .gfield--width-half {
    width: 100% !important;
  }
  #gform_wrapper_1 .gform_footer button[type="submit"], #gform_wrapper_2 .gform_footer button[type="submit"] {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin: auto !important;
  }
}


/* AGENDA */

.fc-blog .blog__single-meta {
  display: none !important;
}

.comments-area {
  display: none !important;
}


/* ============================================
   AGENDAS ARCHIVE - CARDS LAYOUT
   ============================================ */

.agendas-archive {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.agendas-archive .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Layout */
.agendas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styles */
.agenda-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.agenda-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Container */
.agenda-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.agenda-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.agenda-card:hover .agenda-card-image img {
    transform: scale(1.05);
}

/* Date Badge */
.agenda-date-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #FFC107;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    min-width: 70px;
    max-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

}


/* Card Content */
.agenda-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Tags */
.agenda-tags {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agenda-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    background: #e0f2f7;
    color: #00838f;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}


.agenda-tags .no-tags {
    color: #FFC107;
    font-size: 13px;
    font-weight: 500;
}

/* Title */
.agenda-title {
    font-size: 20px;
    font-weight: 700;
    color: #212121;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.agenda-card:hover .agenda-title {
    color: #00838f;
}

/* No Agendas Message */
.no-agendas {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #757575;
}

/* ============================================
   PAGINATION
   ============================================ */

.agendas-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.agendas-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.agendas-pagination .page-numbers li {
    list-style: none;
}

.agendas-pagination .page-numbers a,
.agendas-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: #ffffff;
    color: #424242;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.agendas-pagination .page-numbers a:hover {
    background: #00838f;
    color: #ffffff;
    border-color: #00838f;
    transform: translateY(-2px);
}

.agendas-pagination .page-numbers .current {
    background: #FFC107;
    color: #ffffff;
    border-color: #FFC107;
    font-weight: 700;
}

.agendas-pagination .page-numbers .dots {
    border: none;
    background: transparent;
    color: #9e9e9e;
    cursor: default;
}

.agendas-pagination .page-numbers .dots:hover {
    background: transparent;
    transform: none;
}

/* Boutons Précédent/Suivant */
.agendas-pagination .page-numbers .prev,
.agendas-pagination .page-numbers .next {
    font-weight: 600;
    padding: 0 16px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet - 2 colonnes */
@media screen and (max-width: 1024px) {
    .agendas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .agenda-card-image {
        height: 240px;
    }
}

/* Mobile - 1 colonne */
@media screen and (max-width: 768px) {
    .agendas-archive {
        padding: 40px 0;
    }
    
    .agendas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .agenda-card-image {
        height: 220px;
    }
    
    .agenda-date-badge {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        min-width: 60px;
    }
    
    
    .agenda-card-content {
        padding: 20px;
    }
    
    .agenda-title {
        font-size: 18px;
    }
    
    /* Pagination responsive */
    .agendas-pagination {
        margin-top: 40px;
    }
    
    .agendas-pagination .page-numbers a,
    .agendas-pagination .page-numbers span {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
        padding: 0 10px;
    }
    .date-day {
        font-size: 24px;
    }
    
    .date-month {
        font-size: 12px;
    }
}

/* Très petit mobile */
@media screen and (max-width: 480px) {
    .agendas-archive .container {
        padding: 0 15px;
    }
    
    .agenda-card-image {
        height: 200px;
    }
    
    .agenda-title {
        font-size: 16px;
    }
    
    /* Pagination petit mobile */
    .agendas-pagination .page-numbers {
        gap: 5px;
    }
    
    .agendas-pagination .page-numbers a,
    .agendas-pagination .page-numbers span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 8px;
    }
}
/***STYLE POUR L'EXTRAIT ****/
 .agenda-excerpt {
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1.4;
    margin-left: 20px;
    margin-bottom: 20px !important;
}

/** ============================================
   VIDEO PREVIEW
   ============================================ */

.video-preview {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 16px;
    cursor: pointer;
}

.video-preview a {
    display: block;
    position: relative;
}

.video-preview img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.video-preview:hover img {
    transform: scale(1.05);
}

/* Overlay sombre — caché par défaut */
.video-preview a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-preview:hover a::after {
    opacity: 1;
}

/* Bouton play — caché par défaut */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Apparition au survol  pour la video*/
.video-preview:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-btn-wrapper {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.btn-watch-video {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ff0000;
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-watch-video:hover {
    background: #cc0000;
    transform: scale(1.05);
}
/* Style pour la date l'arcticle*/
.video-date {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 24px 20px 24px;
    flex-wrap: wrap;
}
.video-date p {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #757575 !important;
}
.video-date span {
    font-size: 13px;
    font-weight: 600;
    color: #757575;
    font-style: italic;
}
/* tags pour video*/
.video-tags .tag{
    display: inline-block;
    padding: 6px 12px;
    background: #e0f2f7;
    color: #00838f;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
.video-tags {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}
/* video css pour la date */
.video-date {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 24px 20px 0px;
    flex-wrap: wrap;
}
.video-date p {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #757575 !important;
}
.video-date span {
    font-size: 13px;
    font-weight: 600;
    color: #757575;
    font-style: italic;
}

/*  css article pour la date */
.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 24px 20px 20px;
    flex-wrap: wrap;
}
.article-date p {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #757575 !important;
}
.article-date span {
    font-size: 13px;
    font-weight: 600;
    color: #757575;
    font-style: italic;
}


.common-banner__content h1.title-animation {
    color: inherit !important; 
}

.common-banner__content h1.title-animation {
    color: #ffffff !important;
    font-weight: 800 !important;
    margin-block: 15px 20px !important;
}

@media only screen and (max-width: 767px) {
    .btn-decouvrir-equipe .help {
        left: 0 !important;
        right: 0 !important;
        width: fit-content !important;
        margin: auto !important;
    }

    .initiative-04 {
        display: none !important;
    }
}


.event .event__content h3 {
    font-weight: 700 !important;
    margin: 12px 0px !important;
    font-family: Roboto Condensed, sans-serif !important;
    font-size: 20px !important;
    line-height: 30px !important;
    color: white !important;
}

.help .content h3 {
    font-weight: 800 !important;
    color: var(--secondary-color) !important;
    margin-top: -8px !important;
    margin-bottom: 6px !important;
    font-size: 18px !important;
    line-height: 28px !important;
}

.team .team__single-content h3 {
    margin-top: -8px !important;
    font-weight: 800 !important;
    color: var(--secondary-color) !important;
    font-size: 18px !important;
    line-height: 28px !important;
}

.team__single-content a {
    pointer-events: none !important;
    cursor: default !important;
}


.team .team__single:hover .team__single-content h3 {
    color: var(--white) !important;
}

/* Style pour le texte vertical (ancien H5 maintenant DIV) */
.help .vertical-text > div {
    -webkit-writing-mode: vertical-rl !important;
    -ms-writing-mode: tb-rl !important;
    writing-mode: vertical-rl !important;
    -webkit-transform: rotate(180deg) !important;
    transform: rotate(180deg) !important;
    font-weight: 800 !important;
    color: var(--white) !important;
    text-transform: lowercase !important;
    font-size: 20px !important;
    line-height: 30px !important;
    display: inline-block !important;
    font-family: Roboto Condensed, sans-serif !important;
}

@media only screen and (min-width: 768px) {
    .event .event__content h3 {
        font-size: 24px !important;
        line-height: 34px !important;
    }
}

@media only screen and (min-width: 1200px) {
    .help .content h3 {
        font-size: 20px !important;
        line-height: 30px !important;
    }
    .team .team__single-content h3 {
        font-size: 20px !important;
        line-height: 30px !important;
    }
    .help .vertical-text > div {
        font-size: 24px !important;
        line-height: 34px !important;
    }
}


.team .team__icons {
    display: none !important;
}

.banner h1 span.h1-small {
    color: white !important;
}

body, h1, h1, h3, h4, h5, h6 {
    text-transform: none !important;
}

.site-credit .container {
    text-align: left;
}

@media (max-width: 991px) {
    .site-credit .container {
        text-align: center;
    }
}

/* cookie notice BTN */
#hu-revoke .hu-revoke-button {
    background: rgba(100, 100, 100, 0.3) !important; /* Fond semi-transparent */
    border: 1px solid rgba(150, 150, 150, 0.2) !important;
    border-radius: 50px !important;
    box-shadow: none !important;
    height: 40px !important;
    margin: 0 !important;
    min-height: 40px !important;
    min-width: 40px !important;
    outline: none !important;
    padding: 7px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    touch-action: manipulation !important;
    white-space: nowrap !important;
    width: 40px !important;
    
    /* Très discret */
    opacity: 0.25 !important;
    transition: all 0.3s ease !important;
}

#hu-revoke .hu-revoke-button:hover {
    opacity: 0.9 !important;
    background: var(--hu-btnColor) !important;
    transform: scale(1.1) !important;
}

.footer-two, .footer-three {
    padding-top: 0 !important;
}

#contact h1.title-animation {
    font-size: 55px !important;
    line-height: 65px !important;
    font-weight: 800 !important;
    font-family: Roboto Condensed, sans-serif !important;
    text-transform: lowercase !important;
    margin-top: 16px !important;
    color: var(--white) !important;
}

#contact h1.title-animation span {
    color: var(--base-color);
}

@media only screen and (max-width: 1199px) {
    #contact h1.title-animation {
        font-size: 40px !important;
        line-height: 50px !important;
    }
}

@media only screen and (max-width: 767px) {
    #contact h1.title-animation {
        font-size: 30px !important;
        line-height: 40px !important;
    }
}


/* Style pour les dates */


.date-month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: capitalize;
    margin-top: 2px;
    word-break: break-word;
}


.date-day {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    word-break: break-word;
}


/* Pour un texte personnalisé sur une seule ligne */
.date-single {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
    word-break: break-word;
}