/*
Theme Name: CLIGEST Kadence
Description: Thème enfant de Kadence pour www.cligest.com.
Template: kadence
Version: 1.1.29
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: cligest-kadence
*/

/* Liens du texte comme sous Regina Pro : gras, couleur du thème, sans soulignement. */
.entry-content p a:not(.wp-block-button__link) { font-weight: 700; text-decoration: none; }

/* Barre haute */
.site-top-header-wrap .site-header-row-container-inner { border-bottom: 1px solid #eaeaea; font-size: 16px; color: #333; }
.site-top-header-wrap .site-top-header-inner-wrap { min-height: 60px; }
.site-top-header-wrap .header-html-inner p { margin: 0; }
.site-top-header-wrap .cligest-topbar a { display: inline-flex; align-items: center; gap: 9px; margin-left: 25px; color: #333; text-decoration: none; }
.site-top-header-wrap .cligest-topbar a:hover { color: var(--global-palette1); }
.cligest-topbar a::before { content: ""; width: 15px; height: 15px; background: #808080; -webkit-mask: var(--cligest-topbar-icon) center / contain no-repeat; mask: var(--cligest-topbar-icon) center / contain no-repeat; }
.cligest-topbar__tel { --cligest-topbar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.cligest-topbar__mail { --cligest-topbar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 6.5V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6.5l-10 6.3z'/%3E%3Cpath d='M21.6 4.8A2 2 0 0 0 20 4H4a2 2 0 0 0-1.6.8L12 10.8z'/%3E%3C/svg%3E"); }
.site-top-header-wrap .header-social-wrap .social-button { width: auto; height: auto; padding: 0; background: none; color: #333; }
.site-top-header-wrap .header-social-wrap .social-button:hover { background: none; color: var(--global-palette1); }
.site-top-header-wrap .header-social-wrap .social-button svg { width: auto; height: 16px; }
@media (max-width: 767px) {
	.site-top-header-wrap .site-top-header-inner-wrap { min-height: 44px; }
	.site-top-header-wrap .cligest-topbar a { margin: 0 10px; font-size: 14px; }
}

/* Menu principal sur ordinateur, repris de Regina Pro : majuscules, « + » sur les parents, survol gris avec filet bleu. */
@media (min-width: 1025px) {
	#masthead .site-main-header-inner-wrap { min-height: 0; padding: 30px 0; }
	#masthead .site-bottom-header-inner-wrap { min-height: 0; padding-bottom: 30px; }
	#site-navigation .primary-menu-container > ul > li.menu-item { margin-right: 14px; padding: 15px 0; border-bottom: 1px solid transparent; transition: all .4s ease-in-out; }
	#site-navigation .primary-menu-container > ul > li.menu-item > a,
	#site-navigation .header-menu-container ul ul li.menu-item > a { padding: 0 10px; font-family: Lato, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; text-transform: uppercase; color: #333; }
	#site-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a { color: #333; }
	#site-navigation .primary-menu-container > ul > li.menu-item:hover,
	#site-navigation .header-menu-container ul ul li.menu-item:hover { background: #f6f6f6; border-bottom-color: var(--global-palette1); }
	#site-navigation .primary-menu-container > ul > li.menu-item:hover > a,
	#site-navigation .header-menu-container ul ul li.menu-item:hover > a { color: var(--global-palette1); background: none; }
	#site-navigation .header-menu-container ul ul.sub-menu { background: #fff; box-shadow: none; }
	#site-navigation .header-menu-container ul ul li.menu-item { width: 170px; padding: 8px 5px; border-bottom: 1px solid #eee; }
	#site-navigation .header-menu-container ul ul li.menu-item:last-child { border-bottom-color: transparent; }
	#site-navigation .header-menu-container ul ul li.menu-item > a { width: auto; }
	#site-navigation .header-menu-container ul ul li.menu-item.current-menu-item > a { color: #333; background: none; }
	#site-navigation .nav-drop-title-wrap { padding-right: 0; }
	#site-navigation .dropdown-nav-toggle { position: relative; top: 1px; right: auto; transform: none; display: inline-block; vertical-align: baseline; margin-left: 5px; width: 11px; height: 11px; background: #c6c6c6; -webkit-mask: linear-gradient(#000 0 0) center / 100% 3px no-repeat, linear-gradient(#000 0 0) center / 3px 100% no-repeat; mask: linear-gradient(#000 0 0) center / 100% 3px no-repeat, linear-gradient(#000 0 0) center / 3px 100% no-repeat; }
	#site-navigation .dropdown-nav-toggle .kadence-svg-iconset { display: none; }
}

/* Menu mobile : tiroir de Kadence aux couleurs de Regina Pro. */
.mobile-toggle-open-container .menu-toggle-open { color: #8a8a8a; }
.mobile-toggle-open-container .menu-toggle-open:hover { color: var(--global-palette1); }
#mobile-drawer .drawer-overlay { background: rgba(0, 0, 0, .4); }
#mobile-drawer .drawer-inner { background: #fff; color: #333; }
#mobile-drawer .drawer-header .drawer-toggle { color: #8a8a8a; }
#mobile-drawer .drawer-header .drawer-toggle:hover { color: var(--global-palette1); }
#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li .drawer-nav-drop-wrap > a { padding-block: 13px; font-family: Lato, sans-serif; font-size: 14px; font-weight: 700; line-height: 21px; text-transform: uppercase; color: #333; }
#mobile-drawer .mobile-navigation ul ul li > a { padding-left: 15px; font-weight: 400; }
#mobile-drawer .mobile-navigation ul li:not(.menu-item-has-children) > a,
#mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap { border-bottom-color: #eee; }
#mobile-drawer .mobile-navigation .drawer-sub-toggle { border-left-color: #eee; color: #8a8a8a; }
#mobile-drawer .mobile-navigation ul li > a:hover,
#mobile-drawer .mobile-navigation ul li .drawer-nav-drop-wrap > a:hover,
#mobile-drawer .mobile-navigation ul li.current-menu-item > a,
#mobile-drawer .mobile-navigation .drawer-sub-toggle:hover { color: var(--global-palette1); }

/* Diaporama comme sous Regina Pro : cadre de 630 px au plus, images en pleine largeur rognées par le bas. */
.cligest-slider { position: relative; overflow: hidden; margin-top: 0; height: min(630px, 93vw); }
.cligest-slider figure.wp-block-image { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.cligest-slider figure:first-of-type, .cligest-slider.is-ready figure.is-active { opacity: 1; }
.cligest-slider.is-ready figure:not(.is-active) { opacity: 0; }
.cligest-slider figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cligest-slider__dots { position: absolute; top: 50%; right: 40px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.cligest-slider__dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; }
.cligest-slider__dots button[aria-current="true"] { background: #fff; }

/* Bandeau d'appel */
/* Cyan affiché par la prod : le #08cae8 de Regina passe après le réglage du Customizer. */
:root { --cligest-cyan: #08cae8; --cligest-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 11'%3E%3Cpath d='M1.4 0 0 1.4 4.1 5.5 0 9.6 1.4 11l5.5-5.5z'/%3E%3C/svg%3E"); }
.single-content :is(h1, h2, h3, h4, h5, h6) a { color: var(--cligest-cyan); }
.cligest-callout { position: relative; z-index: 3; box-sizing: border-box; width: min(100% - 30px, 720px); margin: 0 auto 100px; padding: 40px; background: var(--cligest-cyan); color: #fff; }
.cligest-callout h1 { color: #fff; font-size: 25px; margin: 0 0 10px; }
.single-content .cligest-slider { margin-bottom: 0; }
.single-content .cligest-callout { margin-bottom: 100px; }
.single-content .cligest-callout .wp-block-buttons { margin: 34px 0 0; }
/* Chevron des boutons et liens, comme l'icône « bold-right » de Regina. */
.cligest-callout .wp-block-button__link::after,
.cligest-section .wp-block-button__link::after,
.cligest-service__more a::after { content: ""; display: inline-block; width: 7px; height: 11px; margin-left: 9px; background: currentColor; -webkit-mask: var(--cligest-chevron) no-repeat center / contain; mask: var(--cligest-chevron) no-repeat center / contain; }
.cligest-callout .wp-block-button.is-style-outline .wp-block-button__link { padding: 12px 35px; border-radius: 50px; line-height: 21px; color: #fff; border-color: #fff; background: transparent; }
.cligest-callout .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--cligest-cyan); }
@media (min-width: 769px) {
	.entry-content .cligest-callout { width: min(80%, 750px); margin-top: -175px; }
	.cligest-callout h1 { font-size: 40px; line-height: 60px; }
}
@media (max-width: 767px) {
	.cligest-slider__dots { right: 16px; }
}

/* Sections de l'accueil */
.cligest-section { padding-block: 30px 50px; }
/* Section serviços : 100 px au-dessus (marge du bandeau) et 100 px avant le titre suivant, comme en prod. */
.single-content .cligest-section:has(.cligest-services) { margin-bottom: 0; padding-block: 0 70px; }
.cligest-section__title { margin-bottom: 0; }
.cligest-section__title::after { content: ""; display: block; width: 60px; height: 2px; margin: 15px auto 30px; background: var(--cligest-cyan); }
.cligest-section .wp-block-button.is-style-outline .wp-block-button__link { padding: 12px 35px; border: 2px solid #333; border-radius: 50px; background: transparent; color: #333; font-size: 14px; line-height: 21px; text-transform: uppercase; }
.cligest-section .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #333; color: #fff; }
.single-content .cligest-section__lead { margin: -9px 0 50px; }
/* Section equipa : cartes 50 px sous le sous-titre, bouton 50 px sous les cartes, 100 px avant le titre suivant. */
.single-content .cligest-section:has(.cligest-team) { margin-bottom: 0; padding-block: 30px 70px; }
.single-content .cligest-section .cligest-team + .wp-block-buttons { margin: 50px 0 0; }
.cligest-section .wp-block-buttons { margin-top: 30px; }

/* Services */
/* Carte de Regina : icône à cheval sur le haut de la carte, texte 0/10/40. */
.single-content .cligest-services { gap: 30px; margin: 56.5px 0 50px; padding-inline: 15px; }
.single-content .cligest-services .cligest-service { margin-top: 64.5px; padding: 0 10px 40px; background: #f2f2f2; text-align: center; }
.single-content .cligest-service h3 { margin: 0 0 10px; text-transform: uppercase; font-size: 18px; line-height: 27px; }
.single-content .cligest-service p { margin: 0; }
.single-content .cligest-service .cligest-service__more { margin-top: 34px; }
.entry-content p.cligest-service__more a { font-size: 14px; font-weight: 400; text-transform: uppercase; text-decoration: none; }
.cligest-service__more a::after { margin-left: 6px; }
.single-content .cligest-section .cligest-services + .wp-block-buttons { margin: 0; }
.single-content .cligest-service .cligest-icon {
	position: relative;
	width: 129px;
	height: 129px;
	margin: -64.5px auto 36px;
	border: 2px solid var(--cligest-cyan);
	border-radius: 50%;
	background: #fff;
	transition: background-color .3s linear;
}
.cligest-icon::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 46px;
	height: 46px;
	background: var(--global-palette1);
	-webkit-mask: var(--cligest-icon) center / contain no-repeat;
	mask: var(--cligest-icon) center / contain no-repeat;
}
.cligest-service:hover .cligest-icon { background: var(--cligest-cyan); }
.cligest-service:hover .cligest-icon::before { background: #fff; }
.cligest-icon--stethoscope { --cligest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 2v2'/%3E%3Cpath d='M5 2v2'/%3E%3Cpath d='M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1'/%3E%3Cpath d='M8 15a6 6 0 0 0 12 0v-3'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/svg%3E"); }
.cligest-icon--flask { --cligest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v7.5a2 2 0 0 1-.2.9L4.7 20.5a1 1 0 0 0 .9 1.5h12.8a1 1 0 0 0 .9-1.5l-5.1-10.1a2 2 0 0 1-.2-.9V2'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M7 16h10'/%3E%3C/svg%3E"); }
.cligest-icon--hospital { --cligest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v4'/%3E%3Cpath d='M14 8h-4'/%3E%3Cpath d='M14 14h-4'/%3E%3Cpath d='M14 18h-4'/%3E%3Cpath d='M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18'/%3E%3C/svg%3E"); }
.cligest-icon--heart { --cligest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.5-1.5 3-3.2 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.8 0-3 .5-4.5 2-1.5-1.5-2.7-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4 3 5.5l7 7Z'/%3E%3Cpath d='M3.2 12h6.3l.5-1 2 4.5 2-7 1.5 3.5h5.3'/%3E%3C/svg%3E"); }

/* Contenu des pages intérieures comme sous Regina Pro : titres et paragraphes à 10 px, listes à puces carrées. */
body:not(.home) .single-content :is(h1, h2, h3, h4, h5, h6) { margin: 0 0 10px; }
body:not(.home) .single-content p { margin: 0 0 10px; }
body:not(.home) .single-content :is(ul, ol):where(:not([class]), .wp-block-list) { margin: 30px 0; padding-left: 50px; }
body:not(.home) .single-content ul:where(:not([class]), .wp-block-list) { list-style-type: square; }
body:not(.home) .single-content :is(ul, ol):where(:not([class]), .wp-block-list) > li { margin-bottom: 5px; }
body:not(.home) .single-content .wp-block-columns { gap: 30px; margin-bottom: 0; }
body:not(.home) .single-content :not(figure) > img,
body:not(.home) .single-content :not(figure) > a > img { display: inline; margin: 0; }
body:not(.home) .single-content { --wp--preset--font-size--medium: 20px; }
body:not(.home) .single-content .wp-block-image figure, body:not(.home) .single-content .wp-block-buttons { margin-bottom: 0; }
/* Boutons du contenu au style par défaut de WordPress, comme sous Regina Pro. */
body:not(.home) .single-content .wp-block-button:not(.is-style-outline) .wp-block-button__link { padding: calc(.667em + 2px) calc(1.333em + 2px); border-radius: 9999px; line-height: 1.5; text-transform: none; box-shadow: none; }
body:not(.home) .single-content .wp-block-button.is-style-outline .wp-block-button__link { padding: .667em 1.33em; border-radius: 9999px; line-height: 1.5; text-transform: none; box-shadow: none; }

/* Bannière de titre et fil d'Ariane des pages intérieures, repris de Regina Pro. */
body { background: #fff; }
.cligest-page-header .site-container,
.cligest-breadcrumb.site-container,
.page:not(.home) #primary .content-container,
.single-member #primary .content-container,
.single-post #primary .content-container { padding-inline: 15px; }
.cligest-page-header { padding: 70px 0; background: rgba(0, 0, 0, .7) no-repeat fixed center / cover; color: #fff; text-align: center; }
.cligest-page-header__title { margin: 0 0 5px; color: #fff; font-family: Montserrat, sans-serif; font-size: 30px; font-weight: 700; line-height: 45px; }
.cligest-page-header__subtitle { margin: 0; color: #fff; }
.cligest-breadcrumb { margin-top: 6px; margin-bottom: 46px; font-size: 14px; line-height: 50px; color: #333; }
.cligest-breadcrumb ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.cligest-breadcrumb li + li { margin-left: 5px; }
.cligest-breadcrumb li + li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 5px; background: currentColor; -webkit-mask: var(--cligest-chevron) no-repeat center / contain; mask: var(--cligest-chevron) no-repeat center / contain; }
.cligest-breadcrumb a { color: #333; font-weight: 400; text-decoration: none; }
.cligest-breadcrumb a:hover { color: var(--global-palette1); }
.cligest-page-header + #primary,
.cligest-breadcrumb + #primary { margin-top: 0; }
@media (max-width: 767px) {
	.cligest-breadcrumb { display: none; }
	.cligest-page-header + .cligest-breadcrumb + #primary { margin-top: 52px; }
}

/* Article seul comme sous Regina Pro : « Artigos recentes » à gauche (360 px) dès 992 px, masqué en dessous. */
@media (min-width: 992px) {
	.single-post.has-left-sidebar .content-container { display: grid; grid-template-columns: minmax(0, 360fr) minmax(0, 750fr); gap: 30px; }
	.single-post.has-left-sidebar #main { grid-column: 2; grid-row: 1; }
	.single-post.has-left-sidebar #secondary { grid-column: 1; grid-row: 1; }
}
@media (max-width: 991px) {
	.single-post.has-left-sidebar #secondary { display: none; }
}
.single-post .entry-header .entry-title { margin: 0; color: #333; font-family: Lato, sans-serif; font-size: 30px; font-weight: 400; line-height: 45px; }
.single-post .entry-header .entry-meta { margin: 0 0 10px; font-size: 14px; line-height: 21px; }
/* Navigation entre articles, filets gris de Regina Pro. */
.single-post .post-navigation { margin: 50px 0; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; line-height: 50px; }
.single-post .post-navigation .nav-links { display: flex; justify-content: space-between; gap: 30px; }
.single-post .post-navigation .nav-next { margin-left: auto; text-align: right; }
.single-post .post-navigation .nav-previous::after { display: none; }
.single-post .post-navigation a { color: #333; font-weight: 400; text-decoration: none; }
.single-post .post-navigation a:hover { color: var(--cligest-cyan); }
.cligest-post-nav__icon { display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: currentColor; -webkit-mask: var(--cligest-chevron) no-repeat center / contain; mask: var(--cligest-chevron) no-repeat center / contain; transform: scaleX(-1); }
.nav-next .cligest-post-nav__icon { margin: 0 0 0 10px; transform: none; }
/* Artigos relacionados : vignette, date et titre sur fond gris, cyan au survol, comme sous Regina Pro. */
.cligest-related { margin: 0 0 100px; }
.cligest-related__title { margin: 20px 0 10px; color: #333; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.1; }
.cligest-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; }
.cligest-related__post { display: block; background: #000; color: #333; font-weight: 400; text-decoration: none; }
.cligest-related__post img { display: block; width: 100%; height: auto; transition: opacity .3s linear; }
.cligest-related__inner { display: block; min-height: 139px; padding: 30px 20px; background: #f2f2f2; text-align: center; transition: background .3s linear; }
.cligest-related__date { display: block; margin: 0 0 10px; color: var(--global-palette1); font-family: Montserrat, sans-serif; font-size: 14px; line-height: 1.1; transition: color .3s linear; }
.cligest-related__name { display: block; color: #333; font-size: 16px; line-height: 24px; transition: color .3s linear; }
.cligest-related__post:hover .cligest-related__inner { background: var(--global-palette1); }
.cligest-related__post:hover :is(.cligest-related__date, .cligest-related__name) { color: #fff; }
.cligest-related__post:hover img { opacity: .6; }
@media (max-width: 767px) {
	.cligest-related__grid { grid-template-columns: minmax(0, 1fr); }
}
.single-post #secondary .widget { margin: 0 0 20px; }
.single-post #secondary .widget-title { margin: 0 0 10px; color: #333; font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 700; line-height: 40px; text-transform: none; letter-spacing: normal; }
.single-post #secondary .widget_recent_entries ul { margin: 0; padding: 0; list-style: none; }
.single-post #secondary .widget_recent_entries li { position: relative; margin: 0; padding: 0 0 0 20px; font-size: 16px; line-height: 25px; }
.single-post #secondary .widget_recent_entries li::before { content: ""; position: absolute; top: 7px; left: 0; width: 10px; height: 10px; background: var(--global-palette1); -webkit-mask: var(--cligest-chevron) no-repeat center / contain; mask: var(--cligest-chevron) no-repeat center / contain; }
.single-post #secondary .widget_recent_entries a { color: #333; font-weight: 400; text-decoration: none; }
.single-post #secondary .widget_recent_entries a:hover { color: var(--cligest-cyan); }

/* Pied de page */
.site-footer .site-container { padding-left: 15px; padding-right: 15px; }
.site-middle-footer-wrap .site-footer-row-container-inner { background: #2d3435; color: #808080; font-size: 14px; line-height: 30px; }
.site-middle-footer-wrap .site-middle-footer-inner-wrap { padding: 60px 0 0; }
.site-middle-footer-wrap .site-middle-footer-inner-wrap .widget { margin-bottom: 50px; }
.site-middle-footer-wrap a { color: #fff; text-decoration: none; }
.site-middle-footer-wrap a:hover { color: var(--global-palette1); }
.site-middle-footer-wrap .widget-title,
.site-middle-footer-wrap .cligest-footer-title { color: #fff; font-family: var(--global-heading-font-family); font-size: 14px; font-weight: 400; line-height: 30px; text-transform: uppercase; letter-spacing: normal; margin: 0 0 10px; }
.site-middle-footer-wrap p a { font-weight: 700; }
.site-middle-footer-wrap .menu { list-style: none; margin: 0; padding: 0; }
.site-middle-footer-wrap .widget .menu li { line-height: 30px; padding: 0; }
.site-middle-footer-wrap .menu a { display: inline; padding: 0; }
.site-middle-footer-wrap p { margin: 0 0 10px; }
.cligest-footer-icon::before,
.cligest-footer-social a { content: ""; display: inline-block; width: 14px; height: 14px; background: #fff; -webkit-mask: var(--cligest-footer-icon) center / contain no-repeat; mask: var(--cligest-footer-icon) center / contain no-repeat; }
.cligest-footer-icon::before { margin-right: 8px; vertical-align: -2px; }
.cligest-footer-icon--tel { --cligest-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 0h10a2 2 0 0 1 2 2v20a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 3v15h10V3zm5 16.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E"); }
.cligest-footer-icon--mail { --cligest-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 6.5V20a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1V6.5l-12 7z'/%3E%3Cpath d='M23.6 3.4A1 1 0 0 0 23 3H1a1 1 0 0 0-.6.4L12 10.5z'/%3E%3C/svg%3E"); }
.site-middle-footer-wrap .cligest-footer-icon--pin { position: relative; margin-top: -7px; padding-left: 24px; }
.cligest-footer-icon--pin::before { position: absolute; top: 7px; left: 0; margin: 0; --cligest-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 0a9 9 0 0 0-9 9c0 6.8 9 15 9 15s9-8.2 9-15a9 9 0 0 0-9-9zm0 12.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E"); }
.site-middle-footer-wrap .cligest-footer-social { display: flex; gap: 15px; list-style: none; margin: 0; padding: 0; line-height: 30px; }
.cligest-footer-social a { vertical-align: -2px; }
.cligest-footer-social a:hover { background: var(--global-palette1); }
.cligest-footer-social__facebook { --cligest-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 0h22a1 1 0 0 1 1 1v22a1 1 0 0 1-1 1h-6.2v-9.3h3.1l.5-3.6h-3.6V8.8c0-1 .3-1.8 1.8-1.8h1.9V3.8c-.3 0-1.5-.1-2.8-.1-2.8 0-4.7 1.7-4.7 4.8v2.6H9.9v3.6H13V24H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E"); }
.cligest-footer-social__linkedin { --cligest-footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M1 0h22a1 1 0 0 1 1 1v22a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1zm2.6 9v11.4h3.6V9zm1.8-5.7a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2zM9.6 9v11.4h3.6v-5.6c0-1.5.3-2.9 2.1-2.9 1.8 0 1.8 1.7 1.8 3v5.5h3.6v-6.3c0-3.1-.7-5.4-4.3-5.4-1.7 0-2.9.9-3.3 1.8V9z'/%3E%3C/svg%3E"); }
.site-bottom-footer-wrap .site-footer-row-container-inner { background: #404546; color: #808080; font-size: 12px; line-height: 18px; border: 0; }
.site-bottom-footer-wrap .site-bottom-footer-inner-wrap { padding: 21px 0; }
.site-bottom-footer-wrap p { margin: 0; }
.site-bottom-footer-wrap a,
#colophon .site-bottom-footer-wrap .footer-menu-container > ul > li > a,
#colophon .site-bottom-footer-wrap .footer-menu-container > ul > li.current-menu-item > a { color: #808080; text-decoration: none; text-transform: uppercase; padding: 0; }
.site-bottom-footer-wrap .footer-html { margin: 0; }
#colophon .site-bottom-footer-wrap .footer-navigation-wrap,
#colophon .site-bottom-footer-wrap .footer-navigation { justify-content: flex-end; }
@media (max-width: 767px) { #colophon .site-footer-bottom-section-2 { display: none; } }
#colophon .site-bottom-footer-wrap .footer-menu-container > ul > li { margin-left: 30px; }
#colophon .site-bottom-footer-wrap .footer-menu-container > ul > li:first-child { margin-left: 0; }
.site-bottom-footer-wrap a:hover,
#colophon .site-bottom-footer-wrap .footer-menu-container > ul > li > a:hover { color: #fff; }

/* Liste automatique des événements (/eventos/) */
.single-content .cligest-eventos .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.single-content .cligest-eventos .wp-block-post { margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid #e6e6e6; }
.single-content .cligest-eventos .wp-block-post-title { margin: 0 0 5px; font-size: 24px; }
.single-content .cligest-eventos .wp-block-post-title a { color: #333; font-weight: inherit; }
.single-content .cligest-eventos .wp-block-post-title a:hover { color: var(--global-palette1); }
.single-content .cligest-eventos .wp-block-post-date { margin: 0 0 10px; color: #808080; font-size: 14px; }
.single-content .cligest-eventos .wp-block-post-excerpt__excerpt { margin: 0 0 10px; }

/* Haut des pages des cliniques : carte et photo à la même hauteur, carte au-dessus sur mobile */
.entry-content.single-content .wp-block-columns.cligest-clinic-top { gap: 30px; margin-bottom: 50px; }
.cligest-clinic-top > .wp-block-column { display: flex; min-width: 0; }
.cligest-clinic-top__map { display: block; width: 100%; height: 360px; border: 0; }
.single-content .cligest-clinic-top__photo { width: 100%; margin: 0; }
.cligest-clinic-top__photo img { display: block; width: 100%; height: 360px; object-fit: cover; }
@media (max-width: 781px) {
	.entry-content.single-content .wp-block-columns.cligest-clinic-top { gap: 20px; margin-bottom: 40px; }
	.cligest-clinic-top__map { height: 300px; }
	.cligest-clinic-top__photo img { height: auto; aspect-ratio: 4 / 3; }
}
