/* =========================================================================
   Sagamento LFA — personnalisations du site lesfemmessaniment.fr
   (ex-CSS additionnel, chargé après les styles du thème)
   ========================================================================= */

/* Boutons WPBakery */
.vc_btn3.vc_btn3-shape-round { border-radius: 50% !important; padding-right: 20px; padding-left: 20px; font-weight: 600; vertical-align: middle; }
.vc_btn3.vc_btn3-style-custom { background-image: none !important; }
@media (min-width: 1250px) { .vc_btn3.vc_btn3-shape-round { min-height: 80px; padding-top: 28px; font-size: 16px !important; } }
@media (max-width: 1249px) { .vc_btn3.vc_btn3-shape-round { min-height: 50px; padding-top: 15px; font-size: 16px; } }

/* Loupe du pied de page */
.site-footer .wp-block-search__button {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	padding: 0 4px !important;
	line-height: 0 !important;
	background: none !important;
	border: 0 !important;
}
.site-footer .wp-block-search__button svg {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: none !important;
	fill: #faf266 !important;
}
.site-footer .wp-block-search__input { border: 2px solid #170D91 !important; border-radius: 30px !important; }

/* Agenda (accueil) */
.ecs-event-list { display: flex; flex-direction: column; align-items: center; list-style: none; gap: 30px; max-width: 900px; margin: 0 auto; padding: 40px 0 50px; text-align: left; color: #333; }
.ecs-event { display: flex; flex-direction: column; width: 100%; max-width: 800px; margin: 0; padding: 25px; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.ecs-event:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.ecs-event .duration.time { order: 1; display: inline-block; margin-bottom: 15px; padding: 8px 12px; border-radius: 8px; background: #f0f8ff; color: #4A4AFC !important; font: 700 16px 'Montserrat', sans-serif; }
.ecs-event .entry-title { order: 2; width: 100%; margin-bottom: 15px; }
.ecs-event .entry-title a { display: block; font: 600 20px 'Montserrat', sans-serif; color: #1a1a1a; text-transform: none; text-decoration: none !important; }
.ecs-event .entry-title a:hover { color: #4A4AFC; }
.ecs-excerpt { order: 3; flex: 1; max-width: calc(100% - 280px); margin: 0; font-size: 14px; line-height: 1.6; color: #666; }
.ecs-event .duration.venue { order: 4; max-width: calc(100% - 280px); margin-top: 10px; font-size: 13px; font-style: italic; color: #888; }
.ecs-event img { order: 5; max-width: 260px; height: auto; margin: -80px 0 0 auto; border-radius: 8px; object-fit: cover; }
@media (max-width: 600px) {
	.ecs-event { padding: 15px; }
	.ecs-excerpt, .ecs-event .duration.venue { max-width: 100%; margin-top: 10px; }
	.ecs-event img { max-width: 100%; margin: 15px 0 0; }
}

/* Portraits (accueil) */
.tpg-widget-heading-wrapper { display: none; }
.tpg-shortcode-main-wrapper .layout5 .rt-holder { height: 500px; border-radius: 0; padding: 80px 0 30px; background: #05FABF url("/wp-content/uploads/2025/01/lfa_icon_blanc.svg") no-repeat 10px 5px / 65px 65px; }
.layout5 .rt-holder .overlay { background-color: rgba(229,3,196,.8) !important; }

/* Bouton « charger plus » du fil Instagram */
.eapps-instagram-feed-posts-grid-load-more { visibility: hidden; margin-top: 50px !important; padding-top: 22px; min-height: 80px !important; border-radius: 50% !important; background-color: #E503C4 !important; color: #fff; font: 600 18px montserrat !important; text-align: center; cursor: pointer; }

/* Titres des widgets */
.widget .widget-title { margin-bottom: 5px; font-family: Akzidenz, sans-serif; font-size: 1.1rem; font-weight: 400 !important; text-transform: uppercase; }
.widget ul { font-weight: 400; font-size: .9rem; line-height: 1.2; }
