/* =====================================================================
   MELIUS — Prosotheme v2 child
   Visual parity layer with the original theme (values measured on the
   live the old theme render in Chrome, 375-1920 px, + the old theme / site custom CSS).
   ===================================================================== */

/* ---------- Base (the old theme: html 62.5 %, body Lora 1.5em/1.714em #5d5d5d on #f8f8f8) ---------- */
html { font-size: 10px; }
body {
	font-family: "Lora", serif; font-size: 15px; line-height: 1.714em; font-weight: 400; color: #5d5d5d;
	background-color: #000; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.content-outer, .content { background-color: #f8f8f8; }
*, *::before, *::after { box-sizing: border-box; }

h1, h2, h3, h4, h5, h6 { color: #2e2f31; font-family: "Poppins", sans-serif; line-height: 1.267em; font-weight: 600; font-style: normal; margin-top: 0; margin-bottom: 30px; text-transform: none; letter-spacing: normal; }
h1, .h1 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 2.714em; }
h2, .h2 { font-size: 2.286em; }
h3, .h3 { font-size: 1.7em; }
h4, .h4 { font-size: 1.4em; }
h5, .h5 { font-family: "Lora", serif; font-weight: 400; font-size: 1.3em; }
h6, .h6 { font-size: 1em; }
@media (max-width: 991px) { body h1 { font-size: 2.17em; } }
@media (max-width: 767px) {
	body h2 { font-size: 1.82em; }
	body h3 { font-size: 1.485em; }
	body h4 { font-size: 1.143em; }
	body h5 { font-size: 1em; }
	body h6 { font-size: .8em; }
}
.content-inner h1, .content-inner h2, .content-inner h3, .content-inner h4, .content-inner h5, .content-inner h6 { margin-bottom: 30px; }
p { line-height: 1.714em; margin: 0 0 1.571em; }
.content-inner p:last-child { margin-bottom: 1.571em; }
.wpb_text_column :last-child, .wpb_text_column p:last-child { margin-bottom: 0; }
strong, b { font-weight: bold; }
em, i { font-style: italic; }
a { color: #4a90e2; text-decoration: none; transition: color .2s linear, opacity .2s linear, background-color .2s linear, border-color .2s linear; }
a:hover { color: #1b1d1f; }
.content-inner ul:not([class]), .content-inner ol:not([class]) { padding-left: 18px; margin-bottom: 1.571em; }
.content-inner ul:not([class]) { list-style: disc outside; }
.content-inner ol:not([class]) { list-style: decimal outside; }
.content-inner blockquote { font-family: "Playfair Display", serif; font-weight: normal; font-size: 1.286em; font-style: normal; padding: 0 0 0 15px; margin: 0 0 1.571em; border-left: 2px solid rgba(0,0,0,.2); color: #000; background: none; quotes: none; }
.content-inner blockquote::before, .content-inner blockquote::after { content: none; }
@media (min-width: 992px) { .content-inner blockquote { padding-left: 20px; } }
@media (max-width: 767px) { .content-inner blockquote { font-size: 1.143em !important; } }
img { max-width: 100%; height: auto; }
.content-inner .wpb_text_column img, .main-footer img { vertical-align: baseline; } /* v2 reset sets middle */

/* ---------- Containers (the old theme: 750 / 940 / 1140 / 1400 px) ---------- */
html body[class] .container { max-width: 100%; margin-left: auto; margin-right: auto; padding: 0 15px; width: auto; }
@media (min-width: 768px) { html body[class] .container { width: 750px; } }
@media (min-width: 992px) { html body[class] .container { width: 940px; } }
@media (min-width: 1200px) { html body[class] .container { width: 1140px; } }
@media (min-width: 1480px) { html body[class] .container { width: 1400px; } }
.content-inner, .content-inner.container { padding-top: 0; padding-bottom: 0; }
.content-outer, .content-inner { display: flow-root; }
.content { min-height: 0 !important; }

/* the old theme grid used inside the CF7 forms + listing templates */
.l-grid-row { margin-left: -15px; margin-right: -15px; }
.l-grid-row::after { content: ""; display: table; clear: both; }

/* ---------- Header — desktop + tablet (the old theme: solid #272322 bar, fixed, 90 px; logo 56 px) ---------- */
.main-header .header-bottom { background-color: #272322; padding: 0; transition: background-color .3s ease; }
.main-header .logo-wrapper { height: 90px; line-height: 90px; transition: height .4s cubic-bezier(.215,.61,.355,1), line-height .4s cubic-bezier(.215,.61,.355,1); }
.main-header .logo-wrapper a { display: block; line-height: 0; padding-top: 17px; transition: padding .4s cubic-bezier(.215,.61,.355,1); }
.main-header .logo-wrapper img { display: block; height: 56px; width: auto; max-width: none; margin: 0; transition: height .4s cubic-bezier(.215,.61,.355,1); }
.main-header .main-menu > li > a {
	font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 700; font-style: normal;
	line-height: 90px; padding: 0 20px; color: #fff; text-transform: none; letter-spacing: normal;
	transition: color .2s linear, line-height .4s cubic-bezier(.215,.61,.355,1);
}
@media (min-width: 992px) { .main-header .main-menu > li + li { margin-left: 4px; } } /* the old theme inline-block items: one space between them */
.main-header .main-menu > li:hover > a,
.main-header .main-menu > li.current-menu-item > a,
.main-header .main-menu > li.current-menu-ancestor > a,
.main-header .main-menu > li.current_page_item > a { color: #4a90e2; }
/* sub-menu (the old theme: 17em = 272 px, #272322, items 7 / 15 px, 1 px #4a90e2 separators, fade in) */
.main-header .main-menu > li > ul.sub-menu {
	display: block; visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 0; margin: 0; width: 272px;
	background-color: #272322; padding: 0; z-index: 999; transition: opacity .3s ease, visibility .3s ease;
}
.main-header .main-menu > li:hover > ul.sub-menu { visibility: visible; opacity: 1; }
.main-header .main-menu > li > ul.sub-menu > li { border-bottom: 1px solid #4a90e2; line-height: 1.714em; }
.main-header .main-menu > li > ul.sub-menu > li:last-child { border-bottom: 0; }
.main-header .main-menu li > ul.sub-menu > li > a {
	display: block; padding: 7px 15px; font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 700;
	line-height: 1.714em; color: #fff; text-align: left; white-space: normal;
}
.main-header .main-menu li > ul.sub-menu > li > a:hover,
.main-header .main-menu li > ul.sub-menu > li.current-menu-item > a { color: #4a90e2; }
.main-header .main-menu .sub-menu-arrow { display: none; }

/* fixed header from 768 px; the page starts under it (the old theme #main-header-outer) */
@media (min-width: 768px) {
	html body[class] .main-header { position: fixed; top: 0 !important; left: 0; right: 0; width: 100%; z-index: 102; }
	.wrapper { padding-top: 90px; }
	.admin-bar .main-header { margin-top: 32px; }
	/* the old theme "small header" from 90 px of scroll: 76 px bar, logo 50 px (class set by js/javascript.js) */
	.main-header.melius-small .logo-wrapper { height: 76px; line-height: 76px; }
	.main-header.melius-small .logo-wrapper a { padding-top: 13px; }
	.main-header.melius-small .logo-wrapper img { height: 50px; }
	.main-header.melius-small .main-menu > li > a { line-height: 76px; }
}
/* v2's own scroll states must not restyle the header */
.main-header.scrollmin .header-bottom, .main-header.scrolled .header-bottom { box-shadow: none; }

/* ---------- Header — tablet 768-991 px (the old theme: same desktop bar, logo left, menu replaced by the navicon
   burger on the right; 96 px tall at exactly 768 px because the old theme's 90 px rule is min-width 769; the burger
   opens the #mobile-nav panel under the bar) ---------- */
.melius-nav-buttons { display: none; }
@media (min-width: 768px) and (max-width: 991px) {
	/* undo v2's 991 px mobile switch (options.css header_mobile_breakpoint) */
	.main-header .header-container { display: block; position: relative; z-index: 102; }
	.main-header .header-mobile { display: block; height: 0; background: transparent; }
	.main-header .header-mobile-inner-padding { display: none; }
	.main-header .header-bottom .main-menu-container, .main-header .header-bottom .widget-header-bottom-left, .main-header .header-bottom .widget-header-bottom-right { display: none; }
	.main-header .melius-nav-buttons { display: block; float: right; margin: 0; padding: 0; list-style: none; }
	.main-header .melius-nav-buttons > li { float: left; margin: 0; }
	.main-header .melius-nav-buttons .melius-tablet-menu-btn { position: relative; display: block; width: 36px; height: 90px; padding: 0 10px; color: #fff; transition: height .4s cubic-bezier(.215,.61,.355,1), color .2s linear; }
	.main-header .melius-nav-buttons .melius-tablet-menu-btn:hover { color: #737373; }
	/* Ionicons navicon-round at 19.6 px: three 15 x 3 px rounded bars, 5 px pitch, first bar 7 px above the middle */
	.main-header .melius-nav-buttons .melius-tablet-menu-btn i { position: absolute; left: 10px; top: calc(50% - 7px); display: block; width: 16px; height: 3px; border-radius: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }
	.main-header.melius-small .melius-nav-buttons .melius-tablet-menu-btn { height: 76px; }
	.main-header .header-mobile-menu { position: fixed; top: 90px; left: 0; right: 0; }
	.main-header.melius-small .header-mobile-menu { top: 76px; }
}
@media (min-width: 768px) and (max-width: 768px) {
	.main-header:not(.melius-small) .logo-wrapper { height: 96px; line-height: 96px; }
	.main-header:not(.melius-small) .logo-wrapper a { padding-top: 20px; }
	.main-header:not(.melius-small) .melius-nav-buttons .melius-tablet-menu-btn { height: 96px; }
	.wrapper { padding-top: 96px; }
	.main-header:not(.melius-small) .header-mobile-menu { top: 96px; }
}

/* ---------- Header — phones below 768 px: #272322 bar 65 px, scrolls with the page (the old theme had no sticky
   mobile header); logo 35 px LEFT + burger RIGHT (v2 options header_mobile_logo_position=left,
   header_mobile_menu_position=right, JP; the old theme had burger left, logo centred) ---------- */
@media (max-width: 767px) {
	html body[class] .main-header { position: relative; top: auto !important; }
	.wrapper { padding-top: 0; }
	.main-header .header-mobile { background-color: #272322; }
	.header-mobile-inner-padding { padding: 0 15px; }
	.header-mobile-logo, .header-mobile-menu-btn { line-height: 65px; height: 65px; }
	.header-mobile-logo a { display: inline-block; line-height: 0; vertical-align: top; margin-top: 15px; }
	.header-mobile-logo img { height: 35px; width: auto; }
	.header-mobile-menu-btn .mobile-menu-btn { display: block; width: auto; height: 65px; line-height: 0; padding: 24px 0 0 18px; box-sizing: border-box; color: #fff; }
	/* the old theme burger = Ionicons navicon-round at 24 px: three 19 x 3 px rounded bars, 6 px pitch */
	.header-mobile-menu-btn .mobile-menu-btn i { display: block; width: 19px; height: 3px; border-radius: 1.5px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor; font-size: 0; line-height: 0; }
	.header-mobile-menu-btn .mobile-menu-btn i::before { content: none; }
}
/* the old theme #mobile-nav panel (#272322): items #bfbfbf 10 px padding, 1 px #26292a separators, staggered fade-in */
@media (max-width: 991px) {
	.main-header .header-mobile-menu { background-color: #272322; padding: 15px 15px 45px; z-index: 101; box-sizing: border-box; max-height: calc(100vh - 65px); overflow-y: auto; overflow-x: hidden; }
	.header-mobile-menu .mobile-menu li { border-bottom: 0; position: relative; }
	.header-mobile-menu .mobile-menu li > a { display: block; color: #bfbfbf; padding: 10px 0; border-bottom: 1px solid #26292a; line-height: 1.6em; font-size: 15px; font-family: "Lora", serif; font-weight: 400; text-align: left; }
	.header-mobile-menu .mobile-menu li.current-menu-item > a, .header-mobile-menu .mobile-menu li > a:hover { color: #4a90e2; }
	.header-mobile-menu .mobile-menu .sub-menu { margin-left: 15px; }
	.header-mobile-menu .mobile-menu > li { opacity: 0; transform: scale(1.2) translateY(-24px); transition: opacity .35s ease-out, transform .35s ease-out; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li { opacity: 1; transform: none; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(1) { transition-delay: 300ms, 300ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(2) { transition-delay: 500ms, 500ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(3) { transition-delay: 600ms, 600ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(4) { transition-delay: 700ms, 700ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(5) { transition-delay: 800ms, 800ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(6) { transition-delay: 900ms, 900ms; }
	.header-mobile-menu .sub-menu-arrow { color: #bfbfbf; line-height: 45px; }
	/* the old theme: burger turns #4a90e2 while the panel is open */
	.header-mobile-menu-btn .mobile-menu-btn:hover { color: #4a90e2; } /* the old theme: blue on hover only, white again once the menu is open */
	/* the old theme: chevron-down (Ionicons) on parents (no flip, see the JP block at the end) */
	.header-mobile-menu li > .sub-menu-arrow i.sub-menu-arrow-close { display: none !important; }
	.header-mobile-menu li > .sub-menu-arrow i.sub-menu-arrow-open { display: inline-block !important; font-size: 11px; transition: transform .2s; }
	.header-mobile-menu li.sub-menu-open > .sub-menu-arrow i.sub-menu-arrow-open { transform: rotate(180deg); }
}

/* ---------- Page title band: the old theme pages had it hidden (site custom CSS); listings print their own ---------- */
.title-outer { display: none; }

/* ---------- Buttons (the old theme old_button btn-l btn-full, custom colours: 2 px #0a0a0a border, square) ---------- */
.dist-btn {
	position: relative; display: inline-block; vertical-align: middle; overflow: hidden;
	font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 700; line-height: 22.864px; letter-spacing: 0; text-transform: none;
	padding: 12px 30px; border: 2px solid #0a0a0a; border-radius: 0;
	background-color: #abd4e5; color: #0a0a0a !important; text-align: center; text-decoration: none; cursor: pointer;
	transition: color .2s linear, background-color .2s linear, border-color .2s linear, opacity .2s linear;
	-webkit-appearance: none; appearance: none;
}
.dist-btn.type2 { background-color: #fff; }
.dist-btn.type3 { background-color: #7ae7d0; }
/* the old theme hover: background "unset" (transparent), text + border stay #0a0a0a */
.dist-btn:hover, .dist-btn.type2:hover, .dist-btn.type3:hover { background-color: transparent; color: #0a0a0a !important; border-color: #0a0a0a; }
@media (max-width: 767px) { .dist-btn { font-size: 13px; line-height: 18.577px; padding: 10px 28px; } }
/* the old theme site CSS gave the #7ae7d0 buttons (old_dynamic-e03e334a = type3) 10 px right + 10 px bottom below 770,
   others none. JP rule: two buttons never closer than 15 px -> a button followed by another one gets 15 px. */
.dist-btn { margin: 0; }
.dist-btn.type3 { margin-right: 10px; }
.dist-btn:has(+ .dist-btn) { margin-right: 15px; }
@media (max-width: 769px) { .dist-btn.type3 { margin-bottom: 10px; } .dist-btn:has(+ .dist-btn) { margin-bottom: 15px; } }

/* ---------- Forms (the old theme inputs + site custom CSS: white Montserrat 300 labels, white field text) ---------- */
.content-inner input[type="text"], .content-inner input[type="tel"], .content-inner input[type="number"], .content-inner input[type="email"],
.content-inner input[type="password"], .content-inner input[type="search"], .content-inner input[type="url"], .content-inner textarea {
	background-color: transparent; border: 1px solid #bfbfbf; line-height: 1.286em; padding: 12px; height: auto;
	font-family: "Open Sans", sans-serif; color: #fff; font-size: 15px; width: 100%; margin: 0;
	outline: none; -webkit-appearance: none; appearance: none; border-radius: 0; box-shadow: none;
	transition: border-color .2s linear, background-color .2s linear, color .2s linear;
}
.content-inner textarea { line-height: 1.714em; padding: 15px; }
/* v2 / CF7 restyle fields (Montserrat 300, fixed heights): restore the old theme's Open Sans 400 boxes */
html body .content-inner .wpcf7 input.wpcf7-form-control:not(.wpcf7-submit), html body .content-inner .wpcf7 select.wpcf7-form-control, html body .content-inner .wpcf7 textarea.wpcf7-form-control {
	font-family: "Open Sans", sans-serif; font-weight: 400; font-size: 15px; color: #fff; letter-spacing: normal; text-transform: none; border-radius: 0; box-shadow: none; min-height: 0; border: 1px solid #bfbfbf; background-color: transparent;
}
html body .content-inner .wpcf7 input.wpcf7-form-control:not(.wpcf7-submit) { height: auto; line-height: 1.286em; padding: 12px; }
html body .content-inner .wpcf7 select.wpcf7-form-control { height: auto; line-height: 1.286em; padding: 13px 40px 13px 15px; }
/* melius-select-arrow */
html body .content-inner .wpcf7 select.wpcf7-form-control { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cpolyline points='15,5.5 20,10.5 25,5.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: 100% center; background-repeat: no-repeat; }
html body .content-inner .wpcf7 textarea.wpcf7-form-control { height: auto; line-height: 1.714em; padding: 15px; }
.content-inner input:focus, .content-inner textarea:focus { border-color: #737373; }
.content-inner select { padding: 13px 40px 13px 15px; width: auto; border: 1px solid #bfbfbf; border-radius: 0; background-color: #fff; font-family: "Open Sans", sans-serif; font-size: 15px; line-height: 1.286em; color: #fff; -webkit-appearance: none; appearance: none; }
.content-inner label { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 1em; line-height: 1.286em; color: #fff; padding: 12px 0; display: inline-block; width: 100%; margin: 0; }
.content-inner input.wpcf7-form-control.wpcf7-submit {
	display: inline-block; width: auto; height: auto; margin: 0; padding: 12px 25px; border: 0; border-radius: 0;
	font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; line-height: 17.148px; letter-spacing: 0;
	background-color: #1b1d1f; color: #fff; cursor: pointer; -webkit-appearance: none; appearance: none;
	transition: color .2s linear, background-color .2s linear;
}
.content-inner input.wpcf7-form-control.wpcf7-submit:hover { background-color: #4a90e2; color: #fff; }
@media (min-width: 768px) { .content-inner input.wpcf7-form-control.wpcf7-submit { float: right; } }
@media (max-width: 767px) { .content-inner input.wpcf7-form-control.wpcf7-submit { font-size: 11px; line-height: 15.719px; padding: 11px 23px; } }
.wpcf7 .wpcf7-spinner { display: none; }
.wpcf7 br { display: none; }
.wpcf7 form.wpcf7-form p { margin-bottom: 0 !important; }
/* CF7: v2 turns fields into blocks — the old theme kept them inline-block */
input.wpcf7-form-control.wpcf7-text, select.wpcf7-form-control.wpcf7-select, textarea.wpcf7-form-control.wpcf7-textarea { display: inline-block; resize: vertical; vertical-align: revert; }
form.wpcf7-form .wpcf7-response-output { border: 0; background-color: #fff; padding: 15px; border-top: 3px solid #8fae1b; margin: 0 0 30px 0; display: inline-block; position: static; color: inherit; font-weight: 400; font-size: 1em; text-transform: none; letter-spacing: 0; }
form.wpcf7-form .wpcf7-response-output::before { content: none; }
form.wpcf7-form span.wpcf7-not-valid-tip { color: #b81c23; }

/* ---------- WPBakery helpers ---------- */
/* Prosotheme v2 zeroes two WPBakery defaults that the old theme kept: restore the js_composer values */
div.vc_col-has-fill>.vc_column-inner,
div.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,
div.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,
div.vc_row-has-fill>.vc_column_container>.vc_column-inner { padding-top: 35px; }
.wpb_button:last-child, .wpb_content_element:last-child, ul.wpb_thumbnails-fluid>li:last-child { margin-bottom: 35px; }
.vc_custom_heading.melius-heading { margin-top: 0; margin-bottom: 30px; }
/* every vc_empty_space here was a old_separator: the old theme drew it inline-block (adds the line-box descender gap) */
.content-inner .vc_empty_space { display: inline-block; width: 100%; vertical-align: baseline; }
/* the old theme site custom CSS: icon + text blocks of the home "services" band and the page title bars */
div .inline-icon { display: inline-block; padding-left: 30px; vertical-align: middle; }
div .inline-icon h3 { margin-bottom: 8px; }
div .inline-icon-fil { display: inline-block; padding-left: 0; vertical-align: middle; }
@media (min-width: 768px) { div .inline-icon-fil p { margin-bottom: 8px; padding-left: 20px; } }
#rev_slider_1_1_wrapper { width: 100% !important; left: 0 !important; }

/* ---------- News listing ([dist_post_listing template_file="large"] = the old theme "alternate") ---------- */
.blog-listing-holder.blog-listing-large-box, .blog-listing-holder.blog-listing-large-box .blog-listing-inner { margin: 0; padding: 0; display: block; }
.melius-alt-post, .blog-listing-holder article.melius-alt-post { position: relative; margin: 60px 0 50px; padding: 0 0 50px; border-bottom: 1px solid #ededed; }
.blog-listing-holder article.melius-alt-post:first-child { margin-top: 0; }
.melius-alt-post:first-child { margin-top: 0; }
.melius-alt-row { margin: 0 -15px; }
.melius-alt-row::after { content: ""; display: table; clear: both; }
.melius-alt-col { float: left; width: 100%; padding: 0 15px; }
@media (min-width: 768px) { .melius-alt-col { width: 50%; } }
.melius-alt-img a { display: block; }
.melius-alt-img img, .blog-listing-holder .melius-alt-img img { display: block; max-width: 100%; height: auto; } /* width = HTML attribute, like the old theme */
.content-inner .melius-post-meta { font-size: .786em; text-transform: capitalize; letter-spacing: 1px; line-height: 1.4em; margin: 20px 0 15px; color: #5d5d5d; }
.content-inner .melius-post-meta a { color: #4a90e2; }
.content-inner .melius-post-meta a:hover { color: #1b1d1f; }
.content-inner .melius-post-meta > span + span::before { content: ' | '; }
.content-inner .melius-alt-bottom-meta a { color: inherit; }
.content-inner .melius-alt-post h2.melius-alt-title { margin: 0 0 10px; font-family: "Poppins", sans-serif; font-size: 2.143em; line-height: 1.267em; font-weight: 600; color: #2e2f31; word-wrap: break-word; }
.content-inner .melius-alt-post h2.melius-alt-title a { color: #2e2f31; }
.content-inner .melius-alt-post h2.melius-alt-title a:hover { color: #4a90e2; }
.content-inner .melius-alt-post p.melius-alt-excerpt { margin: 0 0 1.571em; }

/* ---------- Image box ([melius_image_box] = the old theme vendor old_image_box) ---------- */
.melius-image-box { position: relative; overflow: hidden; padding: 30px; background-color: #000; margin-bottom: 0; }
.wpb_wrapper > .melius-image-box:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .melius-image-box { padding: 50px; } }
.melius-image-box .melius-image-box-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; opacity: .7; transition: transform .3s ease-in-out, opacity .3s ease-in-out; }
.melius-image-box .melius-image-box-inner { position: absolute; top: 50%; left: 0; transform: translateY(-50%); padding: 30px; z-index: 5; color: #fff; }
@media (min-width: 768px) { .melius-image-box .melius-image-box-inner { padding: 50px; } }
.content-inner .melius-image-box h4.melius-image-box-title { color: #fff; margin-bottom: 30px; }
.melius-image-box .melius-image-box-link { position: absolute; z-index: 6; top: 0; left: 0; width: 100%; height: 100%; text-indent: -9999px; }
.melius-image-box::after { position: absolute; z-index: 6; left: 0; bottom: 0; width: 100%; height: 4px; content: ' '; background-color: #4a90e2; transform: translateX(-100%); transition: transform .3s ease-in-out; }
.melius-image-box:hover::after { transform: translateX(0); }
.melius-image-box:hover .melius-image-box-img { transform: scale(1.1); opacity: .9; }

/* ---------- Footer (the old theme: 4 widget columns on #2b2c31, text #ccc; copyright bar #000, text #777) ---------- */
.main-footer .footer-top-bottom { background-color: #2b2c31; background-image: none; }
.main-footer .footer-top { padding: 60px 0; color: #ccc; background: transparent; }
.main-footer .footer-top .container { padding: 0; }
.main-footer .footer-top .footer-col { padding: 0 15px; width: 25%; text-align: left; }
.main-footer .footer-top .widget { color: #ccc; margin: 0; font-size: 15px; line-height: 1.714em; }
.main-footer .footer-top .footer-col-4 .widget { margin-bottom: 60px; }
.main-footer .footer-top .widget > h5, .main-footer .footer-top .widget h4.widget-title, .main-footer .footer-top .widget .widget-title {
	font-family: "Montserrat", sans-serif; font-size: 1em; font-weight: 600; line-height: 1em; letter-spacing: 0; text-transform: none;
	color: #fff; margin: 0 0 15px;
}
.main-footer .footer-top a { color: #ccc; }
.main-footer .footer-top a:hover { color: #4a90e2; }
.main-footer .footer-top p { margin: 0 0 1.571em; }
.main-footer .footer-top .widget_media_image img { display: inline-block; vertical-align: baseline; max-width: 100%; height: auto; }
.main-footer .footer-top .cnss-social-icon a { color: #fff; background-color: #2b2c31; }
/* footer button (custom_html widget, the old theme .btn.btn-full.btn-l + site CSS: #7ae7d0, black text, no border) */
.main-footer .footer-top a.melius-footer-btn {
	display: inline-block; position: relative; overflow: hidden; vertical-align: middle;
	font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 700; line-height: 22.864px; letter-spacing: 0;
	padding: 12px 30px; border: 0; background-color: #7ae7d0; color: #000 !important; text-align: center;
	transition: color .2s linear, background-color .2s linear;
}
.main-footer .footer-top a.melius-footer-btn:hover { background-color: #4a90e2; color: #000 !important; }
@media (max-width: 767px) { .main-footer .footer-top a.melius-footer-btn { font-size: 13px; line-height: 18.577px; padding: 10px 28px; } }
.main-footer .footer-bottom { background-color: #000; color: #777; padding: 15px 0; line-height: 1.714em; font-size: 15px; }
.main-footer .footer-bottom .container::after { content: ""; display: table; clear: both; }
.main-footer .footer-bottom a { color: #777; }
.main-footer .footer-bottom a:hover { color: #fff; }
.main-footer .footer-bottom .widget { margin: 0; }
.main-footer .footer-bottom p { margin: 0; }
.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-left { float: left; width: auto; text-align: left; padding: 0; }
.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-right { float: right; width: auto; text-align: right; padding: 0; }
.main-footer .footer-bottom img.melius-credit { display: block; float: right; width: 400px; max-width: 100%; height: auto; }
@media (max-width: 767px) {
	/* JP: whole footer centred below 768 px (the old theme stacked the columns left-aligned) */
	.main-footer .footer-top .footer-col { float: none; width: 100% !important; text-align: center !important; }
	.main-footer .footer-top .footer-col + .footer-col { margin-top: 0; }
	.main-footer .footer-top .footer-col .widget { margin-bottom: 60px; }
	.main-footer .footer-top .widget_media_image img { width: 100%; }
	.main-footer .footer-top .cnss-social-icon { text-align: center !important; }
	.main-footer .footer-bottom, .main-footer .footer-bottom .container { text-align: center; }
	.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-left,
	.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-right { float: none; width: 100%; text-align: center; }
	.main-footer .footer-bottom img.melius-credit { float: none; margin-left: auto; margin-right: auto; }
}

/* ---------- Back-to-top (the old theme #to-top, markup from inc/melius.php) ---------- */
#to-top { position: fixed; right: 10px; bottom: 10px; z-index: 50; width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 14px; color: #fff; background-color: #000; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
@media (min-width: 768px) { #to-top { right: 30px; bottom: 30px; } }
#to-top.top-is-visible { visibility: visible; opacity: .8; }
#to-top.top-fade-out { visibility: visible; opacity: .5; }
#to-top:hover { opacity: 1; color: #fff; }
#to-top i { position: absolute; left: 50%; top: 19px; width: 5.5px; height: 5.5px; margin-left: -2.5px; border-left: 1.2px solid currentColor; border-top: 1.2px solid currentColor; transform: rotate(45deg); box-sizing: border-box; }
.back-to-top { display: none !important; }

/* ---------- the old theme listing templates: single post, search, 404, archives ---------- */
.melius-tpl .melius-container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 1480px) { .melius-tpl .melius-container { max-width: 1400px; } }
@media (max-width: 1199px) { .melius-tpl .melius-container { max-width: 940px; } }
@media (max-width: 991px) { .melius-tpl .melius-container { max-width: 750px; } }
@media (max-width: 767px) { .melius-tpl .melius-container { max-width: none; } }
/* #page-header-default */
.melius-tpl .melius-page-header { position: relative; margin-bottom: 25px; padding: 25px 0; border-bottom: 1px solid #ededed; }
@media (min-width: 768px) { .melius-tpl .melius-page-header { padding: 35px 0; margin-bottom: 35px; } }
@media (min-width: 992px) { .melius-tpl .melius-page-header { padding: 50px 0; margin-bottom: 50px; } }
.melius-tpl .melius-page-header.melius-header-pagination { padding-bottom: 0; }
@media (min-width: 768px) { .melius-tpl .melius-page-header.melius-header-pagination { padding-right: 150px; padding-bottom: 50px; } }
/* (the old theme keeps 50 px bottom padding on header-pagination at 768-991 too) */
.content-inner .melius-tpl h1.melius-page-header-title { margin: 0; font-family: "Poppins", sans-serif; font-size: 3.8em; line-height: 1.143em; font-weight: 700; color: #2e2f31; text-transform: none; letter-spacing: normal; }
.content-inner .melius-tpl-search h1.melius-page-header-title { font-size: 3.2em; }
@media (min-width: 768px) and (max-width: 991px) { .content-inner .melius-tpl h1.melius-page-header-title { font-size: 3.2em; } }
@media (min-width: 460px) and (max-width: 767px) { .content-inner .melius-tpl h1.melius-page-header-title { font-size: 2.8em; } }
@media (max-width: 459px) { .content-inner .melius-tpl h1.melius-page-header-title { font-size: 2em; } }
.melius-page-header-meta { position: relative; z-index: 1; font-size: .643em; line-height: 1.4em; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
@media (min-width: 460px) { .melius-page-header-meta { font-size: .786em; } }
.melius-page-header-meta > span + span::before { content: ' | '; }
.content-inner .melius-page-header-meta a { color: #4a90e2; }
/* prev / news / next (Ionicons 2.857em glyphs, drawn in CSS) */
.melius-page-header-nav { text-align: center; padding: 10px 0; margin-top: 10px; border-top: 1px solid #ededed; }
@media (min-width: 768px) { .melius-page-header-nav { position: absolute; top: 50%; right: 0; transform: translateY(-50%); padding: 0; margin-top: 0; text-align: left; border-top: 0; } }
.melius-page-header-nav a { display: inline-block; vertical-align: baseline; padding: 0 10px; color: #2e2f31; line-height: 25.71px; }
/* Post nav icons = Ionicons 2.0.0 (MIT, same font the old theme shipped): ion-ios-arrow-left/right + ion-android-apps at 2.857em */
@font-face { font-family: "Ionicons"; src: url(../fonts/ionicons.woff?v=2.0.0) format("woff"), url(../fonts/ionicons.ttf?v=2.0.0) format("truetype"); font-weight: 400; font-style: normal; font-display: block; }
.melius-ico { display: inline; font-family: "Ionicons"; font-style: normal; font-weight: 400; font-variant: normal; text-transform: none; font-size: 42.855px; line-height: 25.71px; color: #2e2f31; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; vertical-align: baseline; } /* inline at the body line-height, like the old theme <i class="ion-*"> */
.melius-ico-prev::before { content: "\f3d2"; }
.melius-ico-next::before { content: "\f3d3"; }
.melius-ico-grid::before { content: "\f35c"; }
/* single post body */
.melius-tpl-single .melius-single-img { margin-bottom: 30px; }
.melius-tpl-single .melius-single-img a { display: block; }
.melius-tpl-single .melius-single-img img { display: block; }
.melius-tpl-single .melius-single-content { padding: 0 0 2.143em; }
.melius-tpl-single .melius-single-content > :last-child::after { clear: both; content: ' '; display: block; }
.melius-tpl-single article.melius-single-post { margin: 0 0 50px; }
.melius-share-box { border-top: 1px solid #ededed; padding: 2.143em 0; text-align: center; }
.melius-share { padding: 5px 0; display: inline-block; vertical-align: baseline; }
.melius-share-box .melius-container { min-height: 55px; }
@media (max-width: 767px) { .melius-share-box .melius-container { min-height: 0; padding-bottom: 8px; } }
.melius-share-buttons { display: inline-block; font-size: 18px; }
.melius-share-buttons a { display: inline-block; color: #a7a7a7; margin: 0 5px 5px 0; border: 2px solid #c2c2c2; line-height: 22px; padding: 5px 10px 5px 15px; border-radius: 90px; outline: none; }
@media (min-width: 768px) { .melius-share-buttons a { margin-bottom: 0; } }
.melius-share-buttons a span { font-size: 11px; vertical-align: middle; margin-left: 15px; border-radius: 7px; padding: 0 10px; background-color: #c2c2c2; color: #fff; font-family: "Lora", serif; }
.melius-share-buttons a i { font-size: 18px; }
.melius-share-buttons .melius-share-facebook { border-color: #3b5998; color: #3b5998; } .melius-share-buttons .melius-share-facebook span { background-color: #3b5998; }
.melius-share-buttons .melius-share-twitter { border-color: #55acee; color: #55acee; } .melius-share-buttons .melius-share-twitter span { background-color: #55acee; }
.melius-share-buttons .melius-share-google-plus { border-color: #dc4e41; color: #dc4e41; } .melius-share-buttons .melius-share-google-plus span { background-color: #dc4e41; }
.melius-share-buttons .melius-share-linkedin { border-color: #0077b5; color: #0077b5; } .melius-share-buttons .melius-share-linkedin span { background-color: #0077b5; }
.melius-share-buttons .melius-share-pinterest { border-color: #cb2027; color: #cb2027; } .melius-share-buttons .melius-share-pinterest span { background-color: #cb2027; }
.melius-share-buttons a:hover { color: #fff; }
/* search */
.melius-tpl-search, .melius-tpl-archive { padding: 0; }
@media (min-width: 768px) { .melius-tpl-search, .melius-tpl-archive { padding: 50px 0 30px; } }
.melius-search-form { margin: 0 0 30px; }
.content-inner .melius-search-form input.search { display: block; width: 100%; height: auto; margin: 0; padding: 12px; border: 1px solid #bfbfbf; background: transparent; font-family: "Open Sans", sans-serif; font-size: 15px; line-height: 1.286em; color: #fff; }
.content-inner .melius-search-form input.search-submit { display: inline-block; float: right; margin: 15px 0 0; padding: 12px 25px; border: 0; border-radius: 0; background-color: #1b1d1f; color: #fff; font-family: "Montserrat", sans-serif; font-size: 12px; line-height: 17.148px; font-weight: 700; letter-spacing: 0; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .2s linear; }
.content-inner .melius-search-form input.search-submit:hover { background-color: #4a90e2; }
.melius-search-form::after { content: ""; display: table; clear: both; }
.melius-search-results { position: relative; }
.melius-search-results::after { content: ""; display: block; clear: both; }
.melius-search-card { position: relative; float: left; width: 23.5%; margin: 0 2% 2% 0; background-color: #fff; }
.melius-masonry.is-laid-out .melius-search-card { position: absolute; margin: 0; float: none; }
.melius-search-card .melius-card-img { position: relative; }
.melius-search-card .melius-card-img a { display: block; }
.melius-search-card .melius-card-img img { display: block; width: 100%; height: auto; }
.melius-search-card .melius-card-type { position: absolute; top: 15px; left: 15px; z-index: 2; font-size: 11.79px; line-height: 16.506px; text-transform: capitalize; letter-spacing: 1px; }
.melius-search-card .melius-card-type span { display: inline; padding: 2px 5px; border: 2px solid rgba(0,0,0,.2); border-radius: 12px; color: rgba(0,0,0,.5); }
.melius-search-card.has-img .melius-card-type span { border-color: rgba(255,255,255,.8); color: rgba(255,255,255,.8); }
.melius-search-card .melius-card-content { padding: 12%; margin: 6% 0 35px; color: #5d5d5d; } /* no word-wrap: the old theme lets long words overflow (computed overflow-wrap normal), break-word added a line on "Accueil" at 1024 */
.melius-search-card.has-img .melius-card-content { margin-top: 0; }
.content-inner .melius-search-card h2.melius-card-title { margin: 10px 0; font-family: "Poppins", sans-serif; font-size: 1.429em; line-height: 1.267em; font-weight: 600; color: #2e2f31; }
.content-inner .melius-search-card h2.melius-card-title a, .content-inner .melius-archive-post h2.melius-archive-title a { color: #2e2f31; }
.content-inner .melius-search-card h2.melius-card-title a:hover, .content-inner .melius-archive-post h2.melius-archive-title a:hover { color: #4a90e2; }
.melius-search-card .melius-card-meta { position: absolute; left: 0; bottom: 0; width: 100%; padding: 0 15px; border-top: 1px solid #ededed; }
.content-inner .melius-search-card .melius-card-meta a { display: inline-block; margin: 10px 0; font-size: 11.79px; line-height: 16.506px; text-transform: capitalize; letter-spacing: 1px; color: #5d5d5d; }
@media (max-width: 767px) { .melius-search-card { width: 100%; margin-right: 0; } }
@media (min-width: 460px) and (max-width: 767px) { .melius-search-card { width: 49%; } }
/* pagination (JP rule: 15 px apart) */
.melius-pagination { display: flow-root; }
.melius-pagination .page-numbers { display: block; float: left; width: 32px; height: 32px; margin: 15px 15px 15px 0; line-height: 32px; text-align: center; font-size: 14px; font-weight: 600; color: #fff; background-color: #1b1d1f; }
.content-inner .melius-pagination a.page-numbers { color: #fff; }
.melius-pagination .page-numbers.current, .content-inner .melius-pagination a.page-numbers:hover { background-color: #4a90e2; color: #fff; }
/* 404 */
.melius-tpl-404 .melius-page-header { text-align: center; }
.content-inner .melius-tpl-404 h1.melius-page-header-title { text-align: center; }
.melius-tpl-404 .melius-container:last-child { display: flow-root; }
.melius-tpl-404 .melius-main { text-align: center; padding: 0; max-width: none; margin: 0 0 30px; }
@media (min-width: 992px) { .melius-tpl-404 .melius-main { padding: 0 15px; max-width: 800px; margin: 0 auto 30px; } }
.melius-tpl-404 .melius-search-form { margin: 0; text-align: center; }
.melius-tpl-404 .melius-search-form::after { content: none; }
.content-inner .melius-tpl-404 .melius-search-form input.search-submit { margin-top: 0; }
/* search: the old theme form box = the input only (submit floats out, cards start 30 px under the input) */
.melius-tpl-search .melius-page-header, .melius-tpl-archive .melius-page-header { margin-bottom: 0; }
@media (max-width: 767px) {
	.melius-tpl-search .melius-page-header, .melius-tpl-archive .melius-page-header { margin-bottom: 25px; }
	.content-inner .melius-search-form input.search-submit { float: none; font-size: 11px; line-height: 15.719px; padding: 11px 23px; }
	.melius-tpl-404 .melius-main { padding: 0; }
	.melius-page-header-nav { min-height: 66px; }
	.melius-page-header-nav a { vertical-align: middle; margin-top: 2px; }
}
.melius-tpl-search .melius-search-form { margin-top: 30px; }
.melius-tpl-search .melius-search-form::after { content: none; }
.melius-tpl-search .melius-search-form { position: relative; z-index: 0; }
.content-inner .melius-tpl-404 .melius-main h2 { margin: 0 0 30px; }
.content-inner .melius-tpl-404 .melius-main p { margin: 0 0 1.571em; }
.content-inner .melius-tpl-404 .melius-search-form input.search { display: inline-block; text-align: center; margin-bottom: 15px; }
/* archives: the old theme "standard" layout */
.melius-archive-post { margin: 60px 0 50px; }
.melius-archive-post:first-child { margin-top: 0; }
.melius-archive-img a { display: block; }
.melius-archive-img img { display: block; max-width: 100%; height: auto; }
.melius-archive-content { padding: 0 0 2.143em; border-bottom: 1px solid #ededed; }
.content-inner .melius-archive-post h2.melius-archive-title { margin: 0 0 10px; font-family: "Poppins", sans-serif; font-size: 2.143em; line-height: 1.267em; font-weight: 600; color: #2e2f31; }
.content-inner .melius-archive-post .melius-post-meta { text-transform: capitalize; }
.content-inner .melius-archive-post .melius-post-meta .melius-post-meta-date a { color: inherit; }
.content-inner .melius-archive-content p { margin: 0 0 1.571em; }
.content-inner .melius-archive-content p:last-child { margin-bottom: 1.571em; }

/* WordPress editor alignment classes (the old theme defaults) */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }

/* Easy Social Icons: v2 fontawesome5.min.css forces .fab to FA5 Brands (boxed LinkedIn); live renders them with the plugin FA7 font like the old theme */
.cnss-social-icon .fab, .cnss-social-icon .fa-brands { font-family: "Font Awesome 7 Brands"; font-weight: 400; }
/* share buttons: same Font Awesome 7 Brands glyphs as live (v4-shim classes fa-facebook / google-plus / linkedin) */
.melius-share i.fab, [class*="melius-share-"] i.fab { font-family: "Font Awesome 7 Brands"; font-weight: 400; vertical-align: middle; }

/* JP: select arrow white (the old theme PNG was a dark chevron, invisible on the blue form) + readable choices in the open list
   (the old theme options inherited white text on a white list) */
html body .content-inner .wpcf7 select.wpcf7-form-control option { color: #1b1d1f; background-color: #fff; }
/* JP: addresses + phone numbers are links (tel: / Google Maps); same look as the text, hover = site accent */
.content-inner a.melius-contact-link { color: inherit; text-decoration: none; }
.content-inner a.melius-contact-link:hover { color: #4a90e2; }

/* JP: footer logo centred below 768 like the rest of the footer. The PNGs carry transparent space on the right of the artwork
   (FR 1.50 % left / 23.43 % right, EN 1.50 % / 13.39 %%), so centring the box is not enough: shift by half the difference. Size unchanged (the old theme: 100 %). */
@media (max-width: 767px) {
	.main-footer .footer-top img.wp-image-287 { transform: translateX(10.97%); }
	.main-footer .footer-top img.wp-image-288 { transform: translateX(5.95%); }
	/* the shifted part is only the PNG's transparent margin: clip it so the page never scrolls sideways */
	.main-footer .footer-top .widget_media_image { overflow: hidden; }
}

/* JP: never split a word inside a heading. WPBakery 9 sets .vc_custom_heading { overflow-wrap: break-word } (the old theme old_heading did not),
   which cut "environnemen-t" below ~330 px. the old theme behaviour: words stay whole. */
html body .vc_custom_heading { overflow-wrap: normal; word-wrap: normal; }
/* ...and below 360 px the longest heading word ("Accompagnement", 318 px at 32.55 px) no longer fits even the screen (cut off at 320 px on
   live the old theme too): scale h1 with the viewport there so every word stays whole and visible. 360 px and up = the old theme size unchanged. */
@media (max-width: 359px) { html body .content-inner h1 { font-size: 8.1vw; } }

/* JP: footer button stays on one line at 768-991 (4 footer columns are 158 px wide there; "Écrivez-nous" needs 167 px with 30 px padding) */
@media (min-width: 768px) and (max-width: 991px) { .main-footer .footer-top a.melius-footer-btn { white-space: nowrap; padding-left: 25px; padding-right: 25px; } }

/* JP: mobile menu open submenu = the old theme: parent label + chevron turn #4a90e2, chevron stays pointing down (Ionicons chevron-down 10 px),
   no v2 grey line above the submenu, sub items indented 15 px (v2 added 20 px more). */
.header-mobile-menu .mobile-menu .sub-menu { border-top: 0; padding-left: 0; }
.header-mobile-menu .mobile-menu li.sub-menu-open > a, .header-mobile-menu li.sub-menu-open > .sub-menu-arrow { color: #4a90e2; }
.header-mobile-menu li > .sub-menu-arrow i.sub-menu-arrow-open, .header-mobile-menu li.sub-menu-open > .sub-menu-arrow i.sub-menu-arrow-open { transform: none; font-size: 10px; }
.header-mobile-menu li > .sub-menu-arrow i.sub-menu-arrow-open::before { content: "\f123"; font-family: "Ionicons"; font-weight: 400; font-style: normal; }

/* JP (2026-11-24): mobile header = logo LEFT, burger RIGHT (JP's choice, differs from the old theme's burger-left / logo-centred) */
@media (max-width: 767px) {
	.header-mobile-menu-btn .mobile-menu-btn { padding-left: 0; padding-right: 0; }
}
/* JP: mobile burger = the real the old theme glyph (Ionicons navicon-round 25.71 px); the CSS-drawn bars were thinner than live */
@media (max-width: 767px) {
	.header-mobile-menu-btn .mobile-menu-btn { padding: 16px 0 0 18px; line-height: normal; }
	.header-mobile-menu-btn .mobile-menu-btn i { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; font: normal 400 25.71px/33px "Ionicons"; }
	.header-mobile-menu-btn .mobile-menu-btn i::before { content: "\f20d"; }
}
.header-mobile-menu li > .sub-menu-arrow i.sub-menu-arrow-open { font: normal 400 10px/24px "Ionicons"; vertical-align: baseline; position: relative; top: -3px; left: -1px; } /* JP: same metrics as the old theme chevron */
/* JP: tablet burger = the real the old theme glyph too (Ionicons navicon-round 21 px), centred in the bar whatever its height (90 / 76 / 96) */
@media (min-width: 768px) and (max-width: 991px) {
	.main-header .melius-nav-buttons .melius-tablet-menu-btn i { top: 50%; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; transform: translateY(-50%); margin-top: -1px; font: normal 400 21px/1 "Ionicons"; }
	.main-header .melius-nav-buttons .melius-tablet-menu-btn i::before { content: "\f20d"; }
}

/* JP: News (161 / 272) "Contactez-nous" + "Consultez les services" stay on ONE line at every width, 15 px apart.
   The column is the size container; when the pair would not fit at the normal size, the side padding shrinks first
   (to 12 px min), then the font (the FR pair = 20.5 em of text + 4 borders + 15 px gap). Wide screens unchanged. */
:is(.page-id-161, .page-id-272) .wpb_wrapper:has(> a.dist-btn + a.dist-btn) { container-type: inline-size; white-space: nowrap; }
:is(.page-id-161, .page-id-272) .wpb_wrapper:has(> a.dist-btn + a.dist-btn) > :not(a) { white-space: normal; }
:is(.page-id-161, .page-id-272) .wpb_wrapper:has(> a.dist-btn + a.dist-btn) > a.dist-btn {
	--melius-btn-fs: 16px; --melius-btn-pad: 30px;
	font-size: min(var(--melius-btn-fs), calc((100cqi - 25px - 48px) / 20.5));
	padding-left: clamp(12px, calc((100cqi - 25px - 20.5em) / 4), var(--melius-btn-pad));
	padding-right: clamp(12px, calc((100cqi - 25px - 20.5em) / 4), var(--melius-btn-pad));
	vertical-align: top; margin-bottom: 0;
}
:is(.page-id-161, .page-id-272) .wpb_wrapper:has(> a.dist-btn + a.dist-btn) > a.dist-btn:last-of-type { margin-right: 0; }
@media (max-width: 767px) { :is(.page-id-161, .page-id-272) .wpb_wrapper:has(> a.dist-btn + a.dist-btn) > a.dist-btn { --melius-btn-fs: 13px; --melius-btn-pad: 28px; } }

/* JP: contact form row (Nous joindre 149 / Contact us 267) full width below 992: the form column takes the whole row,
   the empty right column (background only) goes away. 992+ unchanged (form half width like the old theme). */
@media (max-width: 991px) {
	.vc_custom_1625077898653 > .wpb_column:has(.wpcf7) { width: 100%; float: none; }
	.vc_custom_1625077898653 > .wpb_column:not(:has(.wpcf7)) { display: none; }
}

/* JP: home service list (icon + "Discover the service") - icon ALWAYS left, text right, at every width.
   the old theme: two inline-blocks (vertical-align middle) that wrapped the text under the icon when the title was long. */
.wpb_wrapper:has(> .inline-icon + .inline-icon) { display: flex; flex-wrap: nowrap; align-items: center; }
.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon:first-child { flex: none; }
.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon + .inline-icon { flex: 1 1 auto; min-width: 0; }
/* JP: below 768 the services section ("Propulsez vos équipes" + icon list) is one column, as it already was below 640:
   at 640-767 the two half columns left the titles ~150 px beside the icon and they ran off the screen. */
@media (max-width: 767px) {
	.vc_custom_1624978656092 > .wpb_column { width: 100%; float: none; }
}
/* JP: icon list titles always fit beside the icon: the pair is a size container; the h3 shrinks only when its longest word
   ("organisationnel" = 8.1 em) would not fit in the space left by the icon (107 px) + gap. Normal size wherever it fits. */
.wpb_wrapper:has(> .inline-icon + .inline-icon) { container-type: inline-size; --melius-ii-gap: 30px; --melius-ii-h3: 25.5px; }
.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon + .inline-icon { padding-left: var(--melius-ii-gap); }
.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon + .inline-icon h3 { font-size: min(var(--melius-ii-h3), calc((100cqi - 107px - var(--melius-ii-gap) - 2px) / 8.1)); }
@media (max-width: 767px) { .wpb_wrapper:has(> .inline-icon + .inline-icon) { --melius-ii-h3: 22.275px; } }
@media (max-width: 479px) { .wpb_wrapper:has(> .inline-icon + .inline-icon) { --melius-ii-gap: 15px; } }
/* JP: no left padding on the icon from 768 to 991 (the old theme gave both .inline-icon blocks 30 px); the title sizing counts the icon padding too. */
.wpb_wrapper:has(> .inline-icon + .inline-icon) { --melius-ii-ipad: 30px; }
.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon:first-child { padding-left: var(--melius-ii-ipad); }
@media (min-width: 768px) and (max-width: 991px) { .wpb_wrapper:has(> .inline-icon + .inline-icon) { --melius-ii-ipad: 0px; } }
.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon + .inline-icon h3 { font-size: min(var(--melius-ii-h3), calc((100cqi - 107px - var(--melius-ii-ipad) - var(--melius-ii-gap) - 4px) / 8.1)); }
/* JP: below 419 the title + link go UNDER the icon (left-aligned with it, the old theme padding); title back to its normal size,
   still capped so the longest word fits the column. */
@media (max-width: 418px) {
	.wpb_wrapper:has(> .inline-icon + .inline-icon) { flex-direction: column; align-items: flex-start; }
	.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon + .inline-icon { --melius-ii-gap: 30px; flex: none; width: 100%; box-sizing: border-box; margin-top: 10px; }
	.wpb_wrapper:has(> .inline-icon + .inline-icon) > .inline-icon + .inline-icon h3 { font-size: min(var(--melius-ii-h3), calc((100cqi - 30px - 4px) / 8.1)); }
}
