/*
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.2
*/

/* Les Ateliers VLM - header baseline */
:root {
	--vlm-red: #C00000;
	--vlm-black: #111111;
	--vlm-white: #FFFFFF;
	--vlm-light-gray: #F5F5F5;
	--vlm-text-gray: #666666;
}

#Action_bar,
#Subheader,
#Sliding-top,
#Footer .widgets_wrapper {
	display: none !important;
}

#Header_wrapper,
#Top_bar,
#Top_bar.is-sticky {
	background: var(--vlm-white) !important;
}

#Header_wrapper {
	border: 0 !important;
	box-shadow: none !important;
}

#Top_bar {
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	box-shadow: none !important;
}

#Top_bar .container,
#Top_bar .column {
	min-height: 76px;
}

#Top_bar .top_bar_left {
	display: flex;
	align-items: center;
	min-height: 76px;
}

#Top_bar .logo {
	margin: 0 32px 0 0;
}

#Top_bar #logo {
	display: flex;
	align-items: center;
	height: 76px;
	line-height: 1;
	padding: 12px 0 !important;
}

#Top_bar #logo img {
	width: auto;
	max-width: 190px;
	max-height: 52px;
}

#Top_bar .menu_wrapper {
	flex: 1 1 auto;
}

#Top_bar .menu > li > a,
#Top_bar .menu > li > a span:not(.description) {
	font-family: Montserrat, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--vlm-black);
}

#Top_bar .menu > li > a span:not(.description) {
	position: relative;
}

#Top_bar .menu > li > a span:not(.description)::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 14px;
	height: 2px;
	background: var(--vlm-red);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 180ms ease;
}

#Top_bar .menu > li.current-menu-item > a span:not(.description)::after,
#Top_bar .menu > li.current_page_item > a span:not(.description)::after,
#Top_bar .menu > li > a:hover span:not(.description)::after {
	transform: scaleX(1);
}

#Top_bar .responsive-menu-toggle {
	color: var(--vlm-black);
}

@media only screen and (max-width: 767px) {
	#Top_bar .container,
	#Top_bar .column,
	#Top_bar .top_bar_left {
		min-height: 66px;
	}

	#Top_bar #logo {
		height: 66px;
		padding: 10px 0 !important;
	}

	#Top_bar #logo img {
		max-width: 156px;
		max-height: 46px;
	}
}

/* Les Ateliers VLM - sticky header and hero refinements */
#Top_bar .menu > li > a span:not(.description)::after {
	display: none;
}

#Top_bar .menu > li.current-menu-item > a span:not(.description),
#Top_bar .menu > li.current_page_item > a span:not(.description),
#Top_bar .menu > li > a:hover span:not(.description) {
	text-decoration-line: underline;
	text-decoration-color: var(--vlm-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

#Top_bar.is-sticky .menu > li.current-menu-item > a span:not(.description),
#Top_bar.is-sticky .menu > li.current_page_item > a span:not(.description),
#Top_bar.is-sticky .menu > li > a:hover span:not(.description) {
	text-underline-offset: 6px;
}

.vlm-hero.vlm-component::after {
	display: none !important;
	content: none !important;
}

/* Les Ateliers VLM - moodboard direction */
:root {
	--vlm-dark-gray: #2B2B2B;
	--vlm-border: #E3E3E3;
	--vlm-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
	--vlm-font-title: Montserrat, Arial, sans-serif;
	--vlm-font-text: Roboto, Arial, sans-serif;
}

body,
#Wrapper,
#Content,
.vlm-page {
	background: var(--vlm-white) !important;
	color: var(--vlm-black);
	font-family: var(--vlm-font-text);
}

.vlm-page--home {
	max-width: none;
}

.vlm-page h1,
.vlm-page h2,
.vlm-page h3,
#Top_bar .menu > li > a,
#Top_bar .menu > li > a span:not(.description) {
	font-family: var(--vlm-font-title);
}

.vlm-page h2 {
	max-width: 760px;
	margin-bottom: 28px;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.02;
	text-transform: uppercase;
}

.vlm-page h2::after {
	display: block;
	width: min(260px, 44vw);
	height: 1px;
	margin-top: 18px;
	background: var(--vlm-red);
	content: "";
}

.vlm-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--vlm-black);
	font-family: var(--vlm-font-title);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.vlm-kicker::before {
	display: inline-block;
	width: 9px;
	height: 9px;
	background: var(--vlm-red);
	content: "";
}

.vlm-hero.vlm-component {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
	gap: clamp(28px, 5vw, 70px);
	align-items: center;
	min-height: clamp(560px, 72vh, 760px);
	padding: clamp(54px, 8vw, 104px) clamp(24px, 7vw, 96px);
	border-left: 0;
	background: var(--vlm-white);
}

.vlm-hero.vlm-component::before {
	display: block;
	min-height: clamp(360px, 52vw, 620px);
	order: 2;
	background-image: linear-gradient(180deg, rgba(17,17,17,0.08), rgba(17,17,17,0.36)), url("assets/img/mood-hero-claustra.png");
	background-position: center;
	background-size: cover;
	box-shadow: var(--vlm-shadow);
	content: "";
}

.vlm-hero.vlm-component > * {
	max-width: 720px;
	order: 1;
}

.vlm-hero h1 {
	margin-bottom: 22px;
	font-size: clamp(44px, 6.5vw, 82px);
	font-weight: 800;
	line-height: 0.98;
	text-transform: uppercase;
}

.vlm-hero h1::after {
	display: block;
	width: 130px;
	height: 5px;
	margin-top: 28px;
	background: var(--vlm-red);
	content: "";
}

.vlm-hero__subtitle {
	max-width: 600px;
	color: var(--vlm-text-gray);
	font-size: clamp(17px, 1.5vw, 21px);
	line-height: 1.65;
}

.vlm-hero .vlm-ligne-rouge {
	display: none;
}

.vlm-section {
	padding: clamp(58px, 8vw, 108px) clamp(22px, 6vw, 88px);
}

.vlm-section--light {
	margin-right: calc(clamp(22px, 6vw, 88px) * -1);
	margin-left: calc(clamp(22px, 6vw, 88px) * -1);
	padding-right: clamp(22px, 6vw, 88px);
	padding-left: clamp(22px, 6vw, 88px);
	background: var(--vlm-light-gray);
}

.vlm-grid,
.vlm-grid--4,
.vlm-grid--5,
.vlm-articles {
	gap: clamp(18px, 2vw, 28px);
}

.vlm-card,
.vlm-article-card {
	position: relative;
	border: 1px solid var(--vlm-border);
	border-top: 0;
	background: var(--vlm-white);
	box-shadow: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.vlm-card::before,
.vlm-article-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 46px;
	height: 4px;
	background: var(--vlm-red);
	content: "";
}

.vlm-card:hover,
.vlm-card:focus-within,
.vlm-article-card:hover,
.vlm-article-card:focus-within {
	border-color: rgba(192, 0, 0, 0.34);
	box-shadow: var(--vlm-shadow);
	transform: translateY(-3px);
}

.vlm-card-title,
.vlm-card h3,
.vlm-article-card__title {
	font-family: var(--vlm-font-title);
	font-weight: 800;
	letter-spacing: 0;
}

.vlm-card-icon {
	color: var(--vlm-black);
}

.vlm-card-link,
.vlm-link-button {
	color: var(--vlm-red);
	font-family: var(--vlm-font-title);
	font-size: 12px;
	letter-spacing: 0.02em;
}

.vlm-component--applications .vlm-card {
	min-height: 430px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	padding-top: 180px;
	background: var(--vlm-black);
	color: var(--vlm-white);
}

.vlm-component--applications .vlm-card::before {
	inset: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
	opacity: 0.72;
	transition: opacity 180ms ease, transform 220ms ease;
}

.vlm-component--applications .vlm-card::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17,17,17,0.08), rgba(17,17,17,0.86));
	content: "";
}

.vlm-component--applications .vlm-card:nth-child(1)::before {
	background-image: url("assets/img/mood-hero-claustra.png");
}

.vlm-component--applications .vlm-card:nth-child(2)::before {
	background-image: url("assets/img/mood-design-bois.png");
}

.vlm-component--applications .vlm-card:nth-child(3)::before {
	background-image: url("assets/img/mood-rotomoulage.png");
}

.vlm-component--applications .vlm-card:nth-child(4)::before {
	background-image: url("assets/img/mood-cuisine-exterieure.png");
}

.vlm-component--applications .vlm-card:hover::before,
.vlm-component--applications .vlm-card:focus-within::before {
	opacity: 0.86;
	transform: scale(1.025);
}

.vlm-component--applications .vlm-card > * {
	position: relative;
	z-index: 1;
}

.vlm-component--applications .vlm-card-title,
.vlm-component--applications .vlm-card h3,
.vlm-component--applications .vlm-card p,
.vlm-component--applications .vlm-card-link,
.vlm-component--applications .vlm-card-icon {
	color: var(--vlm-white);
}

.vlm-component--applications .vlm-card-link::after,
.vlm-card-link::after {
	color: var(--vlm-red);
}

.vlm-button-devis,
.vlm-article-card__button {
	min-height: 48px;
	padding: 14px 24px;
	border: 1px solid var(--vlm-red);
	background: var(--vlm-red);
	font-family: var(--vlm-font-title);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.vlm-button-devis::after,
.vlm-article-card__button::after {
	margin-left: 14px;
	content: ">";
}

.vlm-cta.vlm-component {
	margin: 0;
	padding: clamp(44px, 7vw, 84px) clamp(24px, 7vw, 96px);
	background: var(--vlm-black);
	color: var(--vlm-white);
}

.vlm-cta h2,
.vlm-cta p {
	color: var(--vlm-white);
}

.vlm-cta .vlm-ligne-rouge {
	max-width: 360px;
}

.vlm-article-card__placeholder {
	background-image: linear-gradient(135deg, rgba(17,17,17,0.10), rgba(17,17,17,0.42)), url("assets/img/mood-cuisine-exterieure.png");
	background-position: center;
	background-size: cover;
}

@media only screen and (max-width: 980px) {
	.vlm-hero.vlm-component {
		grid-template-columns: 1fr;
	}

	.vlm-hero.vlm-component::before {
		order: 1;
		min-height: 360px;
	}

	.vlm-hero.vlm-component > * {
		order: 2;
	}
}

@media only screen and (max-width: 600px) {
	.vlm-hero.vlm-component,
	.vlm-section,
	.vlm-cta.vlm-component {
		padding-right: 22px;
		padding-left: 22px;
	}

	.vlm-hero h1 {
		font-size: 40px;
	}

	.vlm-component--applications .vlm-card {
		min-height: 360px;
	}
}

/* Les Ateliers VLM - compact header and hero title fix */
body:not(.template-slider) #Header,
body.header-below:not(.template-slider) #Header {
	min-height: 0 !important;
	padding-top: 0 !important;
}

#Header_wrapper {
	min-height: 0 !important;
}

#Header #Top_bar,
#Header #Top_bar .container,
#Header #Top_bar .column,
#Header #Top_bar .top_bar_left {
	min-height: 76px;
}

.vlm-hero h1 {
	margin-bottom: clamp(24px, 3vw, 34px);
	line-height: 1.08;
}

.vlm-hero__subtitle {
	clear: both;
}

@media only screen and (max-width: 767px) {
	#Header #Top_bar,
	#Header #Top_bar .container,
	#Header #Top_bar .column,
	#Header #Top_bar .top_bar_left {
		min-height: 66px;
	}

	.vlm-hero h1 {
		line-height: 1.12;
	}
}

/* Les Ateliers VLM - hero subtitle under title rule */
.vlm-hero.vlm-component > .vlm-hero__subtitle {
	grid-column: 1;
	width: 100%;
	max-width: none;
	margin-top: 0;
}

.vlm-hero h1 {
	max-width: none;
	margin-bottom: clamp(22px, 3vw, 32px);
}

.vlm-hero h1::after {
	margin-top: clamp(22px, 2.6vw, 30px);
}

@media only screen and (max-width: 980px) {
	.vlm-hero.vlm-component > .vlm-hero__subtitle {
		grid-column: auto;
	}
}

/* Les Ateliers VLM - reduced hero top spacing */
.vlm-hero.vlm-component {
	padding-top: clamp(28px, 4vw, 56px);
}

@media only screen and (max-width: 600px) {
	.vlm-hero.vlm-component {
		padding-top: 26px;
	}
}

/* Les Ateliers VLM - refreshed project photography */
.vlm-component--applications .vlm-card:nth-child(1)::before {
	background-image: url("assets/img/mood-cheminee-graphique.jpeg");
}

.vlm-component--applications .vlm-card:nth-child(2)::before {
	background-image: url("assets/img/mood-table-showroom.jpeg");
}

.vlm-component--applications .vlm-card:nth-child(4)::before {
	background-image: url("assets/img/mood-comptoir-showroom.jpeg");
}

.vlm-article-card__image img {
	filter: saturate(0.88) contrast(1.05);
}

.vlm-article-card:hover .vlm-article-card__image img,
.vlm-article-card:focus-within .vlm-article-card__image img {
	filter: saturate(1) contrast(1.08);
}

/* Les Ateliers VLM - remove hero before visual */
.vlm-hero.vlm-component::before {
	display: none !important;
	content: none !important;
}

.vlm-hero.vlm-component {
	grid-template-columns: 1fr;
}

.vlm-hero.vlm-component > * {
	max-width: none;
}

/* Les Ateliers VLM - nautisme photography */
.vlm-component--applications .vlm-card:nth-child(3)::before {
	background-image: url("assets/img/nautisme-main-courante-inox.png");
}

/* Les Ateliers VLM - project study image captions */
.vlm-study-visual {
	margin: 0 0 28px;
}

.vlm-study-visual img {
	display: block;
	width: 100%;
	height: auto;
}

.vlm-study-visual figcaption {
	margin-top: 8px;
	color: var(--vlm-text-gray);
	font-family: var(--vlm-font-text);
	font-size: 12px;
	font-style: italic;
	line-height: 1.45;
	text-align: right;
}

/* Les Ateliers VLM - tighter hero and title-only red rules */
.vlm-hero.vlm-component {
	padding-top: clamp(18px, 2.8vw, 40px);
	padding-bottom: clamp(26px, 4vw, 52px);
}

.vlm-hero h1 {
	margin-bottom: clamp(12px, 1.8vw, 20px);
}

.vlm-hero h1::after {
	margin-top: clamp(12px, 1.6vw, 18px);
}

.vlm-hero.vlm-component > .vlm-hero__subtitle {
	margin-bottom: clamp(16px, 2vw, 24px);
}

.vlm-ligne-rouge {
	display: none !important;
}

@media only screen and (max-width: 600px) {
	.vlm-hero.vlm-component {
		padding-top: 18px;
		padding-bottom: 34px;
	}

	.vlm-hero h1 {
		margin-bottom: 14px;
	}

	.vlm-hero h1::after {
		margin-top: 12px;
	}
}

/* Les Ateliers VLM - WordPress and article elements brand colors */
body,
#Content,
.post,
.post-item,
.widget {
	font-family: var(--vlm-font-text);
	color: var(--vlm-text-gray);
}

#Content a,
.post a,
.post-item a,
.widget a,
#Filters a,
.pager a,
.pager-single a,
.pagination a,
.page-numbers,
.cat-item a,
.tagcloud a,
.post-tags a {
	color: var(--vlm-black) !important;
}

#Content a:hover,
#Content a:focus,
.post a:hover,
.post a:focus,
.post-item a:hover,
.post-item a:focus,
.widget a:hover,
.widget a:focus,
#Filters a:hover,
#Filters a:focus,
.pager a:hover,
.pager a:focus,
.pager-single a:hover,
.pager-single a:focus,
.pagination a:hover,
.pagination a:focus,
.page-numbers:hover,
.page-numbers:focus,
.cat-item a:hover,
.cat-item a:focus,
.tagcloud a:hover,
.tagcloud a:focus,
.post-tags a:hover,
.post-tags a:focus {
	color: var(--vlm-red) !important;
	text-decoration: none;
}

#Content .entry-title,
#Content .entry-title a,
#Content .post-title,
#Content .post-title a,
#Content .post-title h1,
#Content .post-title h2,
#Content .post-title h3,
#Content .post-title h1 a,
#Content .post-title h2 a,
#Content .post-title h3 a,
.widget > h3,
.widget .title,
#Filters .filters_buttons li.label {
	font-family: var(--vlm-font-title);
	color: var(--vlm-black) !important;
	letter-spacing: 0;
}

#Content .entry-title a:hover,
#Content .entry-title a:focus,
#Content .post-title a:hover,
#Content .post-title a:focus,
#Content .post-title h1 a:hover,
#Content .post-title h1 a:focus,
#Content .post-title h2 a:hover,
#Content .post-title h2 a:focus,
#Content .post-title h3 a:hover,
#Content .post-title h3 a:focus {
	color: var(--vlm-red) !important;
}

.post-meta,
.post-meta a,
.post-footer,
.post-footer a,
.post-footer a span.label,
.post-excerpt,
.widget_recent_entries ul li .post-date,
.Recent_posts ul li a .desc .date,
.Latest_news ul li .desc_footer,
#Filters .filters_buttons li.label {
	color: var(--vlm-text-gray) !important;
}

#Filters .filters_buttons li a,
#Filters .filters_wrapper ul li a,
.blog .filters_buttons li a,
.archive .filters_buttons li a {
	font-family: var(--vlm-font-title);
	font-weight: 700;
	color: var(--vlm-black) !important;
	letter-spacing: 0;
	border-color: var(--vlm-border) !important;
}

#Filters .filters_buttons li a i,
#Filters .filters_wrapper ul li a i {
	color: currentColor !important;
}

#Filters .filters_buttons li a:hover,
#Filters .filters_buttons li a:focus,
#Filters .filters_buttons li a.open,
#Filters .filters_wrapper ul li a:hover,
#Filters .filters_wrapper ul li a:focus,
#Filters .filters_wrapper ul li.current-cat a,
.style-simple #Filters .filters_wrapper ul li a:hover,
.style-simple #Filters .filters_wrapper ul li a:focus,
.style-simple #Filters .filters_wrapper ul li.current-cat a {
	color: var(--vlm-white) !important;
	background-color: var(--vlm-red) !important;
	border-color: var(--vlm-red) !important;
}

#Filters .filters_wrapper ul,
.widget:after,
.widget_categories ul,
.widget_archive ul,
.widget_meta ul,
.widget_pages ul,
.widget_recent_entries ul {
	border-color: var(--vlm-border) !important;
}

#Filters .filters_wrapper ul li a:after,
.style-simple #Filters .filters_wrapper ul li a:after,
.widget_categories ul li:after,
.widget_archive ul li:after,
.widget_meta ul li:after,
.widget_pages ul li:after,
.widget_recent_entries ul li:after,
.themebg,
.pager .pages a.active,
.pager .pages span.page-numbers.current,
.page-numbers.current {
	background-color: var(--vlm-red) !important;
	border-color: var(--vlm-red) !important;
}

.pager .pages a,
.pager .pages span.page-numbers,
.pagination .page-numbers,
.page-numbers,
.tagcloud a,
.post-tags a {
	border-color: var(--vlm-border) !important;
}

.pager .pages a:hover,
.pager .pages a:focus,
.pager .pages span.page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus,
.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
	color: var(--vlm-white) !important;
	background-color: var(--vlm-red) !important;
	border-color: var(--vlm-red) !important;
}

#Content .button,
#Content button,
#Content input[type="submit"],
#Content input[type="button"],
#Content .mfn-button,
#Content .vlm-button-devis,
#Content .vlm-article-card__button {
	font-family: var(--vlm-font-title);
	color: var(--vlm-white) !important;
	background-color: var(--vlm-red) !important;
	border-color: var(--vlm-red) !important;
}

#Content .button:hover,
#Content .button:focus,
#Content button:hover,
#Content button:focus,
#Content input[type="submit"]:hover,
#Content input[type="submit"]:focus,
#Content input[type="button"]:hover,
#Content input[type="button"]:focus,
#Content .mfn-button:hover,
#Content .mfn-button:focus,
#Content .vlm-button-devis:hover,
#Content .vlm-button-devis:focus,
#Content .vlm-article-card__button:hover,
#Content .vlm-article-card__button:focus {
	color: var(--vlm-white) !important;
	background-color: var(--vlm-black) !important;
	border-color: var(--vlm-black) !important;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
	border-color: var(--vlm-border) !important;
	color: var(--vlm-black);
	font-family: var(--vlm-font-text);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
	border-color: var(--vlm-red) !important;
	box-shadow: 0 0 0 1px var(--vlm-red);
}

::selection {
	color: var(--vlm-white);
	background-color: var(--vlm-red);
}

/* Les Ateliers VLM - native WordPress block defaults */
#Content .wp-block-button__link,
#Content .wp-element-button,
#Content .wp-block-search__button,
.widget .wp-block-search__button {
	font-family: var(--vlm-font-title);
	color: var(--vlm-white) !important;
	background: var(--vlm-red) !important;
	border-color: var(--vlm-red) !important;
	border-radius: 0;
}

#Content .wp-block-button__link:hover,
#Content .wp-block-button__link:focus,
#Content .wp-element-button:hover,
#Content .wp-element-button:focus,
#Content .wp-block-search__button:hover,
#Content .wp-block-search__button:focus,
.widget .wp-block-search__button:hover,
.widget .wp-block-search__button:focus {
	color: var(--vlm-white) !important;
	background: var(--vlm-black) !important;
	border-color: var(--vlm-black) !important;
}

.wp-block-categories a,
.wp-block-archives a,
.wp-block-latest-posts a,
.wp-block-tag-cloud a,
.wp-block-rss a {
	color: var(--vlm-black) !important;
}

.wp-block-categories a:hover,
.wp-block-categories a:focus,
.wp-block-categories .current-cat > a,
.wp-block-archives a:hover,
.wp-block-archives a:focus,
.wp-block-latest-posts a:hover,
.wp-block-latest-posts a:focus,
.wp-block-tag-cloud a:hover,
.wp-block-tag-cloud a:focus,
.wp-block-rss a:hover,
.wp-block-rss a:focus {
	color: var(--vlm-red) !important;
}
