/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.4
*/

/* ===== Bandeau logos références ===== */
.ariane-refs {
	--ariane-refs-pad-y: 56px;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: var(--ariane-refs-pad-y) 24px;
	text-align: center;
	box-sizing: border-box;
}

.ariane-refs__eyebrow {
	margin: 0 0 8px;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ariane-green, #bd7f4e);
}

.ariane-refs__title {
	margin: 0 0 36px;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #f2f6f2;
	line-height: 1.25;
}

.ariane-refs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 28px 48px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ariane-refs__item {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
}

.ariane-refs__item img {
	display: block;
	height: 52px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	opacity: 0.72;
	filter: grayscale(1) brightness(1.15);
	transition: opacity 0.25s ease, filter 0.25s ease;
}

.ariane-refs__item img:hover,
.ariane-refs__item img:focus {
	opacity: 1;
	filter: grayscale(0) brightness(1);
}

@media (max-width: 767px) {
	.ariane-refs {
		--ariane-refs-pad-y: 40px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.ariane-refs__title {
		margin-bottom: 28px;
	}

	.ariane-refs__list {
		gap: 22px 28px;
	}

	.ariane-refs__item img {
		height: 44px;
		max-width: 140px;
	}
}

/* Related posts: keep former h4 look after demoting to <p> for outline hygiene */
.section-post-related .post-related .desc .post-related-title {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

/* Desktop : coller le sous-menu au libellé (BeTheme met top:100% + padding 30px sur le lien) */
@media only screen and (min-width: 1240px) {
	#Top_bar:not(.is-sticky) #menu > ul > li > ul.sub-menu {
		top: calc(100% - 26px);
		margin-top: 0;
	}

	#Top_bar.is-sticky #menu > ul > li > ul.sub-menu {
		top: calc(100% - 8px);
		margin-top: 0;
	}
}

/* Social icons — BeTheme default 15px ; size the icon glyph itself */
#Footer .footer_copy .social li a,
#Side_slide .social li a {
	font-size: 26px;
	line-height: 1;
}

#Footer .footer_copy .social li a i,
#Side_slide .social li a i,
#Footer .footer_copy .social li a i:before,
#Side_slide .social li a i:before {
	font-size: 26px;
	line-height: 1;
	width: 1em;
}
