/*
Theme Name: Genesis Sample
Theme URI: https://demo.studiopress.com/
Description: This is the sample theme created for the Genesis Framework.
Author: StudioPress
Author URI: https://www.studiopress.com/

Version: 3.4.3

Tags: accessibility-ready, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, left-sidebar, one-column, right-sidebar, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, wide-blocks

Template: genesis

License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Text Domain: genesis-sample
Requires at least: 5.4
Requires PHP: 5.6
*/

/* Table of Contents
- HTML5 Reset
	- Baseline Normalize
	- Box Sizing
	- Float Clearing
- Defaults
	- Typographical Elements
	- Headings
	- Objects
	- Gallery
	- Forms
	- Tables
	- Screen Reader Text
- Structure and Layout
	- Site Container
	- Site Inner
- Common Classes
	- Avatar
	- Genesis
	- Search Form
	- Titles
	- WordPress
- Widgets
	- Featured Content
- Plugins
	- Genesis eNews Extended
	- Genesis Simple FAQ
	- WPForms
- Skip Links
- Site Header
	- Title Area
- Site Navigation
	- Responsive Menu
	- Header Menu
	- Footer Menu
- Content Area
	- Entry Content
	- Entry Meta
	- Pagination
	- Entry Comments
- Sidebar
- Footer Widgets
- Site Footer
- Media Queries
	- Min-width: 960px
		- Site Header
		- Genesis Menu
		- Responsive Menu
		- Header Menu
		- Site Inner
		- Content
		- Sidebar
		- Author Box
		- After Entry
		- Column Classes
		- Entry Misc.
		- Footer Widgets
- Print Styles
*/


/* HTML5 Reset
---------------------------------------------------------------------------- */

/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
---------------------------------------------------------------------------- */
/* stylelint-disable */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}
/* stylelint-enable */

/* Box Sizing
--------------------------------------------- */

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

/* Float Clearing
--------------------------------------------- */

.author-box::before,
.clearfix::before,
.entry::before,
.entry-content::before,
.footer-widgets::before,
.nav-primary::before,
.nav-secondary::before,
.pagination::before,
.site-container::before,
.site-footer::before,
.site-header::before,
.site-inner::before,
.widget::before,
.wrap::before {
	content: " ";
	display: table;
}

.author-box::after,
.clearfix::after,
.entry::after,
.entry-content::after,
.footer-widgets::after,
.nav-primary::after,
.nav-secondary::after,
.pagination::after,
.site-container::after,
.site-footer::after,
.site-header::after,
.site-inner::after,
.widget::after,
.wrap::after {
	clear: both;
	content: " ";
	display: table;
}


/* Defaults
---------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

html {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body {
	background-color: #fff;
	color: #333;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.625;
	margin: 0;
	overflow-x: hidden;
}

button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
	transition: all 0.2s ease-in-out;
}

a {
	color: #0073e5;
	text-decoration: underline;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

a:focus,
a:hover {
	color: #333;
	text-decoration: none;
}

p {
	margin: 0 0 28px;
	padding: 0;
}

ol,
ul {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

hr {
	border: 0;
	border-collapse: collapse;
	border-bottom: 1px solid currentColor;
	clear: both;
	color: #eee;
	margin: 1.65em auto;
}

b,
strong {
	font-weight: 700;
}

blockquote,
cite,
em,
i {
	font-style: italic;
}

mark {
	background: #ddd;
	color: #333;
}

blockquote {
	margin: 30px;
}

/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 20px;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 27px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

.entry-content h3,
.entry-content h4 {
	font-weight: 600;
}

.entry-content h4 {
	margin-top: 40px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: top;
}

figure {
	margin: 0;
}

/* Gallery
--------------------------------------------- */

.gallery {
	overflow: hidden;
}

.gallery img {
	border: 1px solid #eee;
	height: auto;
	padding: 4px;
}

.gallery img:focus,
.gallery img:hover {
	border: 1px solid #999;
	outline: none;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.6666%;
}

.gallery-columns-7 .gallery-item {
	width: 14.2857%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.1111%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
	clear: left;
}

.gallery-item {
	float: left;
	margin: 0 0 30px;
	text-align: center;
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
	background-color: #fff;
	border: 1px solid #ddd;
	color: #333;
	font-size: 18px;
	font-weight: 400;
	padding: 15px;
	width: 100%;
}

input:focus,
textarea:focus {
	border: 1px solid #999;
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

:-ms-input-placeholder {
	color: #333;
	opacity: 1;
}

::placeholder {
	color: #333;
	opacity: 1;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.site-container div.wpforms-container-full .wpforms-form input[type="submit"],
.site-container div.wpforms-container-full .wpforms-form button[type="submit"],
.button {
	background-color: #333;
	border: 0;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	padding: 15px 30px;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: auto;
}

button:focus,
button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:focus,
.site-container div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
.button:focus,
.button:hover {
	background-color: #0073e5;
	border-width: 0;
	color: #fff;
}

.entry-content .button:focus,
.entry-content .button:hover {
	color: #fff;
}

.button {
	display: inline-block;
}

.site-container button:disabled,
.site-container button:disabled:hover,
.site-container input:disabled,
.site-container input:disabled:hover,
.site-container input[type="button"]:disabled,
.site-container input[type="button"]:disabled:hover,
.site-container input[type="reset"]:disabled,
.site-container input[type="reset"]:disabled:hover,
.site-container input[type="submit"]:disabled,
.site-container input[type="submit"]:disabled:hover {
	background-color: #eee;
	border-width: 0;
	color: #777;
	cursor: not-allowed;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display: none;
}

/* Tables
--------------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 40px;
	width: 100%;
	word-break: break-all;
}

tbody {
	border-bottom: 1px solid #eee;
}

td,
th {
	line-height: 2;
	text-align: left;
	vertical-align: top;
}

td {
	padding: 0.5em;
}

tr {
	border-top: 1px solid #eee;
}

th {
	font-weight: 600;
	padding: 0.5em;
}

/* Screen Reader Text
--------------------------------------------- */

.screen-reader-shortcut,
.screen-reader-text,
.screen-reader-text span {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.widget_search input[type="submit"]:focus {
	background: #fff;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #333;
	display: block;
	font-size: 1em;
	font-weight: 700;
	height: auto;
	padding: 15px 23px 14px;
	text-decoration: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.more-link {
	display: inline-block;
	position: relative;
	margin-bottom: 30px;
}


/* Structure and Layout
---------------------------------------------------------------------------- */

/* Site Container
--------------------------------------------- */

.site-container {
	animation: fadein 1s;
	word-wrap: break-word;
}

@keyframes fadein {

	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}

}

/* Site Inner
--------------------------------------------- */

.site-inner {
	clear: both;
	margin: 0 auto;
	padding: 60px 30px 0;
}


/* Common Classes
---------------------------------------------------------------------------- */

/* Avatar
--------------------------------------------- */

.avatar {
	border-radius: 50%;
	float: left;
}

.author-box .avatar,
.alignleft .avatar {
	margin-right: 20px;
}

.alignright .avatar {
	margin-left: 20px;
}

.comment .avatar {
	margin: 0 15px 20px 0;
}

/* Genesis
--------------------------------------------- */

.after-entry,
.archive-description,
.author-box {
	margin-bottom: 40px;
}

.after-entry {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	padding: 20px 30px;
}

.after-entry .widget:last-of-type {
	margin-bottom: 0;
}

.breadcrumb {
	border-bottom: 1px solid #eee;
	font-size: 16px;
	margin-bottom: 40px;
	padding-bottom: 10px;
}

.genesis-title-hidden .breadcrumb {
	margin-top: 40px;
}

.archive-description p:last-child,
.author-box p:last-child {
	margin-bottom: 0;
}

/* Search Form
--------------------------------------------- */

.search-form {
	overflow: hidden;
}

.entry-content .search-form {
	margin-bottom: 40px;
	width: 50%;
}

.post-password-form input[type="submit"],
.search-form input[type="submit"] {
	margin-top: 10px;
}

.widget_search input[type="submit"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Titles
--------------------------------------------- */

.archive-description .entry-title,
.archive-title,
.author-box-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}

.entry-title {
	font-size: 30px;
	margin-bottom: 10px;
}

.entry-title a,
.sidebar .widget-title a {
	color: #333;
	text-decoration: none;
}

.entry-title a:focus,
.entry-title a:hover {
	color: #0073e5;
}

.widget-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
}

.genesis-title-hidden .site-inner {
	padding-top: 0;
}

/* WordPress
--------------------------------------------- */

a.aligncenter img {
	display: block;
	margin: 0 auto;
}

a.alignnone {
	display: inline-block;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
	max-width: 100%;
}

img.centered,
.aligncenter,
.singular-image {
	display: block;
	margin: 0 auto 30px;
}

img.alignnone,
.alignnone {
	margin-bottom: 15px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
	margin: 0 20px 20px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
	margin: 0 0 20px 20px;
}

figcaption,
.gallery-caption,
.wp-caption-text {
	font-size: 14px;
	font-weight: 600;
	margin-top: 0.5em;
	margin-bottom: 1em;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

.entry-content p.wp-caption-text {
	margin-bottom: 0;
}

.entry-content .wp-audio-shortcode,
.entry-content .wp-playlist,
.entry-content .wp-video {
	margin: 0 0 30px;
}

/* Widgets
---------------------------------------------------------------------------- */

.widget {
	margin-bottom: 40px;
}

.widget p:last-child,
.widget ul > li:last-of-type {
	margin-bottom: 0;
}

.widget ul > li {
	margin-bottom: 10px;
}

.widget ul > li:last-of-type {
	padding-bottom: 0;
}

.widget ol > li {
	list-style-position: inside;
	list-style-type: decimal;
	padding-left: 20px;
	text-indent: -20px;
}

.widget li li {
	border: 0;
	margin: 0 0 0 30px;
	padding: 0;
}

.widget_calendar table {
	width: 100%;
}

.widget_calendar td,
.widget_calendar th {
	text-align: center;
}

/* Featured Content
--------------------------------------------- */

.featured-content .entry {
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

.featured-content .entry:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
}

.featured-content .entry-title {
	font-size: 16px;
	margin-bottom: 5px;
	margin-top: 10px;
}


/* Plugins
---------------------------------------------------------------------------- */

/* Genesis eNews Extended
--------------------------------------------- */

.after-entry .enews {
	text-align: center;
	padding: 10px;
}

.sidebar .enews {
	background-color: #f5f5f5;
	padding: 30px;
}

.enews-widget input {
	font-size: 16px;
	margin-bottom: 10px;
}

.after-entry .enews-widget input {
	text-align: center;
}

.enews-widget input[type="submit"] {
	margin: 0;
	width: 100%;
}

.enews form + p {
	margin-top: 20px;
}

/* Genesis Simple FAQ
--------------------------------------------- */

.gs-faq__question {
	background: transparent;
	border-bottom: 1px solid #eee;
	color: #333;
	padding-left: 0;
	padding-right: 0;
}

.gs-faq__question:focus,
.gs-faq__question:hover {
	background: transparent;
	color: #0073e5;
}

.gs-faq__question::after {
	content: "\f132";
	font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
	float: right;
}

.gs-faq__question.gs-faq--expanded::after {
	content: "\f460";
}

/* WP Forms
--------------------------------------------- */

.entry-content .wpforms-container {
	margin-bottom: 40px;
}

.entry-content .wpforms-form .wpforms-field {
	clear: both;
	margin: 20px 0;
	overflow: hidden;
}

.site-container .wpforms-container .wpforms-form .wpforms-field input {
	border-radius: 0;
	height: auto;
	padding: 15px;
}

.site-container .entry-content .wpforms-form .wpforms-field-label {
	font-weight: 600;
}

.site-container .entry-content .wpforms-form .wpforms-field-sublabel {
	font-size: 14px;
	font-weight: 300;
}

.entry-content .wpforms-form .wpforms-field-hp {
	display: none !important;
	left: -9000px !important;
	position: absolute !important;
}

.site-container .entry-content .wpforms-form textarea {
	padding: 15px;
}

.site-container .entry-content .wpforms-form textarea.wpforms-field-small {
	height: 120px;
}

.site-container .entry-content .wpforms-form textarea.wpforms-field-medium {
	height: 200px;
}

.site-container .entry-content .wpforms-form textarea.wpforms-field-large {
	height: 300px;
}


/* Skip Links
---------------------------------------------------------------------------- */

.genesis-skip-link {
	margin: 0;
}

.genesis-skip-link .skip-link-hidden {
	display: none;
	visibility: hidden;
}

.genesis-skip-link li {
	height: 0;
	list-style: none;
	width: 0;
}

/* Display outline on focus */
:focus {
	color: #333;
	outline: #ccc solid 1px;
}


/* Site Header
---------------------------------------------------------------------------- */

.site-header {
	background-color: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	padding: 0 30px;
}

/* Title Area
--------------------------------------------- */

.title-area {
	float: left;
	padding-bottom: 25px;
	padding-top: 25px;
}

.wp-custom-logo .title-area {
	max-width: 350px;
	padding-bottom: 5px;
	padding-top: 5px;
	width: 100%;
}

.wp-custom-logo .custom-logo-link {
	display: block;
}

.wp-custom-logo .title-area img {
	width: auto;
}

.site-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0;
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
	color: #333;
	text-decoration: none;
}

.site-description,
.wp-custom-logo .site-title {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}


/* Site Navigation
---------------------------------------------------------------------------- */

.genesis-nav-menu {
	clear: both;
	line-height: 1;
	width: 100%;
}

.genesis-nav-menu .menu-item {
	display: block;
	float: none;
	position: relative;
}

.genesis-nav-menu a {
	color: #333;
	display: block;
	font-size: 15px;
	font-weight: 400;
	outline-offset: -1px;
	padding-bottom: 12px;
	padding-top: 12px;
	text-decoration: none;
}

.genesis-nav-menu a:focus,
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:focus,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
	color: #0073e5;
	text-decoration: none;
}

.genesis-nav-menu .sub-menu,
.genesis-nav-menu .sub-menu a {
	width: 100%;
}

.genesis-nav-menu .sub-menu {
	clear: both;
	display: none;
	left: -9999px;
	margin: 0;
	opacity: 1;
	padding-left: 15px;
	position: static;
	z-index: 99;
}

.genesis-nav-menu .sub-menu a {
	background-color: #fff;
	font-size: 14px;
	position: relative;
	word-wrap: break-word;
}

.genesis-nav-menu .menu-item:focus,
.genesis-nav-menu .menu-item:hover {
	position: relative;
}

.genesis-nav-menu .menu-item:hover > .sub-menu {
	display: block;
	left: auto;
	opacity: 1;
}

/* Responsive Menu
--------------------------------------------- */

.menu .menu-item:focus {
	position: static;
}

.menu .menu-item > a:focus + ul.sub-menu,
.menu .menu-item.sfHover > ul.sub-menu {
	left: auto;
	opacity: 1;
}

.js .nav-primary {
	display: none;
	position: relative;
}

.genesis-responsive-menu .genesis-nav-menu .menu-item:hover > .sub-menu {
	display: none;
}

.menu-toggle,
.sub-menu-toggle {
	background-color: transparent;
	border-width: 0;
	color: #333;
	display: block;
	margin: 0 auto;
	overflow: hidden;
	text-align: center;
	visibility: visible;
}

.menu-toggle:focus,
.menu-toggle:hover,
.sub-menu-toggle:focus,
.sub-menu-toggle:hover {
	background-color: transparent;
	border-width: 0;
	color: #0073e5;
}

.menu-toggle {
	float: right;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 15px 0;
	position: relative;
	z-index: 1000;
}

.menu-toggle.activated::before {
	content: "\f335";
}

.site-header .dashicons-before::before {
	transition: none;
}

.site-header .menu-toggle::before {
	float: left;
	margin-right: 5px;
	position: relative;
	text-rendering: auto;
	top: 1px;
}

.sub-menu-toggle {
	float: right;
	padding: 9px 10px;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 100;
}

.sub-menu .sub-menu-toggle {
	padding: 12px 10px;
}

.sub-menu-toggle::before {
	display: inline-block;
	text-rendering: auto;
	transform: rotate(0);
	transition: transform 0.25s ease-in-out;
}

.sub-menu-toggle.activated::before {
	transform: rotate(180deg);
}

/* Header Menu
--------------------------------------------- */

.nav-primary {
	clear: left;
	padding-bottom: 15px;
	padding-top: 15px;
	width: 100%;
}

/* Footer Menu
--------------------------------------------- */

.nav-secondary {
	margin-top: 10px;
}

.nav-secondary .genesis-nav-menu {
	line-height: 1.5;
}

.nav-secondary .menu-item {
	display: inline-block;
}

.nav-secondary a {
	margin-left: 10px;
	margin-right: 10px;
	padding: 0;
}


/* Content Area
---------------------------------------------------------------------------- */

/* Entry Content
--------------------------------------------- */

.entry {
	margin-bottom: 40px;
}

.entry-content ol,
.entry-content ul {
	margin-bottom: 30px;
	padding-left: 40px;
}

.entry-content ol > li {
	list-style-type: decimal;
}
/*
.entry-content ul > li {
	list-style-type: disc;
}*/

.entry-content ol ul > li,
.entry-content ul ul > li {
	list-style-type: circle;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.entry-content code {
	background-color: #f5f5f5;
}

.content .sticky {
	background-color: #f5f5f5;
	padding: 30px;
}

/* Entry Meta
--------------------------------------------- */

p.entry-meta {
	font-size: 16px;
	margin-bottom: 0;
}

.entry-header .entry-meta {
	margin-bottom: 20px;
}

.entry-footer .entry-meta {
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.entry-categories,
.entry-tags {
	display: block;
}

.entry-comments-link::before {
	content: "\2014";
	margin: 0 6px 0 2px;
}

/* Pagination
--------------------------------------------- */

.pagination {
	clear: both;
	margin: 60px 0;
}

.adjacent-entry-pagination {
	margin-bottom: 0;
}

.archive-pagination li {
	display: inline;
}

.archive-pagination li a {
	background-color: #f5f5f5;
	color: #333;
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 4px;
	padding: 8px 12px;
	text-decoration: none;
}

.archive-pagination li a:focus,
.archive-pagination li a:hover,
.archive-pagination li.active a {
	background-color: #333;
	color: #fff;
}

/* Entry Comments
--------------------------------------------- */

.comment-respond,
.entry-comments,
.entry-pings {
	margin-bottom: 40px;
}

.comment-list li {
	padding: 40px 0 0 30px;
}

.comment-list .depth-1 {
	padding-left: 0;
}

.comment-header {
	margin-bottom: 30px;
}

.comment-content {
	clear: both;
}

.comment-content ul > li {
	list-style-type: disc;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
	width: 50%;
}

.comment-respond label {
	display: block;
	margin-right: 12px;
}

.comment-header p {
	margin-bottom: 0;
}

.entry-pings .reply {
	display: none;
}

.comment-form-cookies-consent label {
	display: inline;
	padding-left: 10px;
}

/* Sidebar
---------------------------------------------------------------------------- */

.sidebar {
	font-size: 16px;
	line-height: 1.5;
}

.sidebar .widget {
	margin-bottom: 40px;
}

.sidebar p {
	margin-bottom: 20px;
}

/* Footer Widgets
---------------------------------------------------------------------------- */

.footer-widgets {
	border-top: 1px solid #eee;
	background-color: #fff;
	clear: both;
	padding: 60px 0;
}

.footer-widgets .wrap {
	margin-left: auto;
	margin-right: auto;
}

.footer-widget-area {
	margin-bottom: 40px;
	padding-left: 30px;
	padding-right: 30px;
}

.footer-widget-area:last-child,
.footer-widgets .widget:last-child {
	margin-bottom: 0;
}


/* Site Footer
---------------------------------------------------------------------------- */

.site-footer {
	background-color: #fff;
	border-top: 1px solid #eee;
	font-size: 15px;
	line-height: 1.5;
	padding: 30px;
	text-align: center;
}

.site-footer p {
	margin-bottom: 0;
}




/* ==========================================================================
   CRGF - ELITE ALL-BLUE GLOBAL DESIGN SYSTEM (MASTER)
   ========================================================================== */

:root {
    --crgf-brand-navy: #1e3b70;    
    --crgf-brand-dark: #122244;    
    --crgf-brand-silver: #a6a8ab;  
    --crgf-brand-light: #e8eaed;   
    --crgf-white: #ffffff;         
    --crgf-pitch-black: #060b14;   
}

/* ==========================================================================
   1. GENESIS OVERRIDES & MAIN MENU
   ========================================================================== */
.site-container { background-color: var(--crgf-pitch-black) !important; }
.site-inner, .content-sidebar-wrap, main.content, .entry, .entry-content {
    max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; border: none !important; background: transparent !important;
}

/* Frosted Main Menu */
.site-header {
    background-color: var(--crgf-pitch-black) !important; background: rgba(6, 11, 20, 0.75) !important; 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out; z-index: 9999; margin: 0 !important; position: sticky; top: 0;
}
.site-header .wrap { background: transparent !important; max-width: 1600px; }
.site-header .genesis-nav-menu a { color: var(--crgf-white) !important; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }

#crgf-home-redesign, #crgf-inner-page-redesign, .crgf-global-wrapper {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    color: var(--crgf-white); line-height: 1.6; background: var(--crgf-brand-navy); 
}

/* Base Utility Classes */
.crgf-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.crgf-text-center { text-align: center; } 
.crgf-mx-auto { margin-left: auto; margin-right: auto; }
.crgf-max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto;} .crgf-max-w-800 { max-width: 800px;  margin-left: auto; margin-right: auto;} .crgf-max-w-900 { max-width: 900px;  margin-left: auto; margin-right: auto;}
.crgf-mt-20 { margin-top: 20px; } .crgf-mt-30 { margin-top: 30px; } .crgf-mt-40 { margin-top: 40px; } .crgf-mt-50 { margin-top: 50px; }
.crgf-mb-20 { margin-bottom: 20px; } .crgf-mb-30 { margin-bottom: 30px; } .crgf-mb-40 { margin-bottom: 40px; } .crgf-mb-60 { margin-bottom: 60px; }
.crgf-justify-center { display: flex; justify-content: center; }

/* Grids */
.crgf-grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.crgf-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: stretch; }
.crgf-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ==========================================================================
   2. TYPOGRAPHY & METALLIC EFFECTS
   ========================================================================== */
.crgf-imposing-metallic, .crgf-title {
    background: linear-gradient(to bottom, #ffffff 0%, #d1d6db 40%, #6f747a 48%, #3a3e45 50%, #b2b6bb 53%, #ffffff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0px 12px 30px rgba(0, 0, 0, 0.8);
    display: inline-block; background-size: 100% 100%; font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 800; margin-bottom: 24px; line-height: 1.15; letter-spacing: -0.5px;
}

.crgf-section-title {
    background: linear-gradient(180deg, #ffffff 0%, #d1d6db 50%, #a6a8ab 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); display: inline-block; position: relative; padding-bottom: 20px; margin-bottom: 30px; font-size: 2.8rem; font-weight: 800; line-height: 1.15;
}
.crgf-section-title::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 70px; height: 3px; background: linear-gradient(90deg, #ffffff 0%, var(--crgf-brand-silver) 100%); border-radius: 2px; box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.crgf-text-center .crgf-section-title::after { left: 50%; transform: translateX(-50%); }

.crgf-subtitle { font-size: 1.25rem; color: #e8eaed; margin-bottom: 40px; font-weight: 300; line-height: 1.6; }
.crgf-info-p { font-size: 1.2rem; color: var(--crgf-brand-light) !important; margin-bottom: 40px; }
.crgf-eyebrow { display: block; font-size: 0.95rem; font-weight: 800; letter-spacing: 2px; color: var(--crgf-brand-silver) !important; margin-bottom: 15px; text-transform: uppercase; }

/* ==========================================================================
   3. UNIVERSAL BUTTONS
   ========================================================================== */
a.crgf-btn {
    position: relative; display: inline-flex !important; align-items: center; justify-content: center; padding: 18px 40px !important; border-radius: 6px !important; font-size: 1.15rem !important; font-weight: 700 !important; text-decoration: none !important; overflow: hidden; z-index: 1; box-sizing: border-box; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease !important;
}
a.crgf-btn .btn-text { position: relative; z-index: 10; transition: color 0.4s ease; }
a.crgf-btn .btn-shine { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); z-index: 8; pointer-events: none; }
a.crgf-btn:hover .btn-shine { animation: crgf-btn-sweep 0.7s ease-in-out forwards; }
@keyframes crgf-btn-sweep { 0% { left: -100%; } 100% { left: 200%; } }

/* Variants */
a.crgf-btn-silver-blue { background: linear-gradient(135deg, #ffffff 0%, #e8eaed 40%, var(--crgf-brand-silver) 100%) !important; border: 1px solid rgba(255,255,255,0.8) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,1) !important; }
a.crgf-btn-silver-blue .btn-text { color: var(--crgf-brand-dark) !important; }
a.crgf-btn-silver-blue::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #2a4c7e 0%, var(--crgf-brand-navy) 50%, var(--crgf-brand-dark) 100%); opacity: 0; transition: opacity 0.4s ease; z-index: 2; }
a.crgf-btn-silver-blue:hover { transform: translateY(-4px) !important; box-shadow: 0 15px 25px rgba(0,0,0,0.3) !important; }
a.crgf-btn-silver-blue:hover::before { opacity: 1; }
a.crgf-btn-silver-blue:hover .btn-text { color: var(--crgf-white) !important; }

a.crgf-btn-blue-silver { background: linear-gradient(135deg, #2a4c7e 0%, var(--crgf-brand-navy) 50%, var(--crgf-brand-dark) 100%) !important; border: 1px solid rgba(255,255,255,0.1) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2) !important; }
a.crgf-btn-blue-silver .btn-text { color: var(--crgf-white); }
a.crgf-btn-blue-silver::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #ffffff 0%, #e8eaed 40%, var(--crgf-brand-silver) 100%); opacity: 0; transition: opacity 0.4s ease; z-index: 2; }
a.crgf-btn-blue-silver:hover { transform: translateY(-4px) !important; box-shadow: 0 15px 25px rgba(0,0,0,0.4) !important; }
a.crgf-btn-blue-silver:hover::before { opacity: 1; }
a.crgf-btn-blue-silver:hover .btn-text { color: var(--crgf-brand-dark); }

a.crgf-btn-white-premium { color: var(--crgf-pitch-black) !important; background: var(--crgf-white) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
a.crgf-btn-white-premium:hover { transform: translateY(-3px) !important; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important; }


/* ==========================================================================
   4. HERO SECTIONS & OVERLAPS
   ========================================================================== */
.crgf-hero, .crgf-hero-inner { position: relative; background-size: cover; background-position: center center; background-attachment: fixed; overflow: hidden; }
.crgf-hero { padding: 220px 0 320px 0; background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), url('/wp-content/uploads/2026/03/CRGF-Avantages-Sociaux-Services-Financiers-4.jpg'); }
.crgf-hero-inner { padding: 220px 0 220px 0; background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), url('/wp-content/uploads/2026/03/CRGF-Avantages-Sociaux-Services-Financiers-7.jpg'); }
/* ==========================================================================
   GLOBAL INNER PAGE HERO LAYOUT
   ========================================================================== */
/* Apply the padding, gradient, and positioning globally so you don't repeat code */
.crgf-hero-inner {
    padding: 220px 0 220px 0;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* ==========================================================================
   PAGE-SPECIFIC BACKGROUND IMAGES
   ========================================================================== */

/* 1. Assurance Collective */
#assurance-collective.crgf-hero-inner { 
    background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), 
    url('/wp-content/uploads/2026/03/CRGF-Avantages-Sociaux-Services-Financiers-7.jpg'); 
}

/* Hero Image for Assurance vie collective */
#hero-assurance-vie-collective.crgf-hero-inner {
    background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), 
    url('/wp-content/uploads/2026/03/CRGF-Avantages-Sociaux-Services-Financiers-5.jpg'); /* Replace with an appropriate image URL */
}

/* 2. Régime de retraite (RVER & Épargne) */
#regime-de-retraite.crgf-hero-inner { 
    background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), 
    url('/wp-content/uploads/2026/03/YOUR-RETRAITE-IMAGE.jpg'); /* Swap URL */
}

/* 3. Assurance Individuelle (Vie & Prestation du vivant) */
#assurance-individuelle.crgf-hero-inner { 
    background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), 
    url('/wp-content/uploads/2026/03/YOUR-INDIVIDUELLE-IMAGE.jpg'); /* Swap URL */
}

/* 4. À Propos / Notre Équipe */
#a-propos.crgf-hero-inner { 
    background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), 
    url('/wp-content/uploads/2026/03/YOUR-TEAM-IMAGE.jpg'); /* Swap URL */
}

/* 5. Contactez-nous */
#contact.crgf-hero-inner { 
    background-image: linear-gradient(to bottom, rgba(6, 11, 20, 0.8) 0%, rgba(18, 34, 68, 0.85) 60%, rgba(30, 59, 112, 1) 100%), 
    url('/wp-content/uploads/2026/03/YOUR-CONTACT-IMAGE.jpg'); /* Swap URL */
}

.crgf-hero-content { position: relative; z-index: 10; max-width: 850px; }
.crgf-mesh-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; }


/* Negative Space Drop for Homepage Services */
.crgf-services-overlap { position: relative; z-index: 20; margin-top: -180px; }
.crgf-services-main { padding: 120px 0 80px 0; background: transparent; }

/* ==========================================================================
   5. UNIFIED CARD SYSTEMS (Services & Target Market)
   ========================================================================== */
a.crgf-card { display: flex; flex-direction: column; background: linear-gradient(135deg, #ffffff 0%, #f4f7f9 40%, var(--crgf-brand-light) 100%) !important; border-radius: 12px !important; text-decoration: none !important; box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important; transition: transform 0.4s ease, box-shadow 0.4s ease !important; height: 100%; position: relative; overflow: hidden; border: none !important; }
a.crgf-card::before { content: ""; position: absolute; bottom: 0; right: 0; width: 75px; height: 75px; background: linear-gradient(135deg, var(--crgf-brand-navy) 0%, var(--crgf-brand-dark) 100%); clip-path: polygon(100% 0, 100% 100%, 0 100%); z-index: 1; }
.card-blue-reveal { position: absolute; inset: 0; background: linear-gradient(135deg, #2a4c7e 0%, var(--crgf-brand-navy) 40%, var(--crgf-brand-dark) 100%); clip-path: polygon(100% calc(100% - 75px), 100% 100%, calc(100% - 75px) 100%); z-index: 2; transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.card-shine { position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); z-index: 3; pointer-events: none; }
a.crgf-card:hover { transform: translateY(-10px) !important; box-shadow: 0 30px 60px rgba(0,0,0,0.5) !important; }
a.crgf-card:hover .card-blue-reveal { clip-path: polygon(100% -200%, 100% 100%, -200% 100%); }
a.crgf-card:hover .card-shine { animation: crgf-shine-sweep 0.8s ease-in-out 0.1s forwards; }

.card-content-wrapper { padding: 50px 40px; position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; flex-grow: 1; }
.card-icon { margin: 0 auto 30px auto; color: var(--crgf-brand-navy); width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.5); border: 2px solid rgba(255,255,255,0.8); border-radius: 16px; transition: all 0.4s ease; }
.card-icon svg { width: 42px; height: 42px; stroke: currentColor; fill: none; }
.crgf-card h3 { font-size: 1.55rem; color: var(--crgf-brand-dark) !important; margin-bottom: 15px; font-weight: 900; margin-top: 0; transition: color 0.4s ease; }
.crgf-card p { color: #444 !important; line-height: 1.6; margin: 0; flex-grow: 1; transition: color 0.4s ease; }
a.crgf-card:hover .card-icon { color: var(--crgf-white); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: scale(1.05); }
a.crgf-card:hover h3, a.crgf-card:hover p { color: var(--crgf-white) !important; }

/* Target Card (Navy Blue) */
.crgf-target-market { padding: 120px 0; background: linear-gradient(to bottom, var(--crgf-brand-navy) 0%, var(--crgf-brand-dark) 100%); }
.crgf-target-card { background: linear-gradient(135deg, #2a4c7e 0%, var(--crgf-brand-navy) 100%); border: none; border-top: 4px solid var(--crgf-brand-silver); border-radius: 8px; padding: 60px 40px 50px 40px; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.25); transition: all 0.4s ease; position: relative; overflow: hidden; }
.crgf-target-card::after { content: ''; position: absolute; bottom: 0; right: 0; width: 150px; height: 150px; background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.05) 50%); z-index: 0; pointer-events: none; }
.crgf-target-card:hover { transform: translateY(-8px); box-shadow: 0 35px 70px rgba(0,0,0,0.5); border-top-color: var(--crgf-white); }
.target-icon { width: 64px; height: 64px; margin: 0 auto 30px auto; color: var(--crgf-white); display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; position: relative; z-index: 10; transition: transform 0.4s ease, background 0.4s ease; }
.target-icon svg { width: 32px; height: 32px; stroke: currentColor; fill: none; }
.crgf-target-card:hover .target-icon { transform: scale(1.05) translateY(-5px); background: rgba(255,255,255,0.25); }
.crgf-target-card h4 { font-size: 1.45rem; color: var(--crgf-white) !important; font-weight: 800; margin-bottom: 15px; position: relative; z-index: 10; }
.crgf-target-card p { color: var(--crgf-brand-light) !important; position: relative; z-index: 10;}

/* ==========================================================================
   6. MODULES (Partners, Info Grids, Lists, Images)
   ========================================================================== */
/* Partners Marquee */
.crgf-partners-section { padding: 120px 0 60px 0; background: transparent; overflow: hidden; }
.crgf-marquee-title { font-size: 0.95rem; font-weight: 800; letter-spacing: 2px; color: var(--crgf-brand-silver); margin-bottom: 50px; position: relative; display: inline-block; text-transform: uppercase; }
.crgf-marquee-title::before, .crgf-marquee-title::after { content: ""; position: absolute; top: 50%; width: 40px; height: 1px; background: var(--crgf-brand-silver); opacity: 0.3; }
.crgf-marquee-title::before { left: -60px; } .crgf-marquee-title::after { right: -60px; }
.crgf-marquee-container { width: 100%; overflow: hidden; white-space: nowrap; position: relative; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.crgf-marquee-track { display: inline-flex; gap: 80px; align-items: center; width: max-content; animation: crgf-scroll-marquee 50s linear infinite; }
.crgf-partner-logo { font-size: 1.5rem; font-weight: 800; color: var(--crgf-brand-light); text-transform: uppercase; opacity: 0.4; transition: opacity 0.3s ease, color 0.3s ease; cursor: default; }
.crgf-partner-logo:hover { opacity: 1; color: var(--crgf-white); }
@keyframes crgf-scroll-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 40px)); } }

/* Info Sections (Notre Engagement) */
.crgf-info-section { padding: 100px 0 120px 0; background-color: transparent; }
.crgf-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.crgf-image-wrapper { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.2); padding: 4px; }
.crgf-info-img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,59,112,0.4), rgba(6,11,20,0.6)); border-radius: 9px; pointer-events: none; transition: opacity 0.6s ease; opacity: 1; }
.crgf-image-wrapper:hover .crgf-info-img { transform: scale(1.06) translateY(-8px); }
.crgf-image-wrapper:hover .image-overlay { opacity: 0.2; }

/* Lists */
.crgf-feature-list { list-style: none; padding: 0; margin: 0; }
.crgf-feature-list li { font-size: 1.15rem; margin-bottom: 25px; font-weight: 700; color: var(--crgf-white) !important; display: flex; align-items: center; gap: 20px; }
.list-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); border-radius: 10px; color: var(--crgf-white); border: 1px solid rgba(255, 255, 255, 0.15); }
.list-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }

/* ==========================================================================
   7. L'AVANTAGE CRGF (Pourquoi Nous Choisir)
   ========================================================================== */
.crgf-advantage-section { padding: 100px 0 240px 0; background: linear-gradient(to bottom, var(--crgf-brand-dark) 0%, var(--crgf-pitch-black) 100%); color: var(--crgf-white); }
.crgf-advantage-card { display: flex; flex-direction: column; background: linear-gradient(135deg, #2a4c7e 0%, var(--crgf-brand-navy) 40%, var(--crgf-pitch-black) 100%) !important; border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important; transition: transform 0.4s ease, box-shadow 0.4s ease !important; height: 100%; position: relative; overflow: hidden; }
.crgf-advantage-card::before { content: ""; position: absolute; top: 0; left: 0; width: 75px; height: 75px; background: linear-gradient(135deg, #ffffff 0%, #e8eaed 40%, var(--crgf-brand-silver) 100%); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 1; }
.adv-grey-reveal { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #ffffff 0%, #e8eaed 30%, #c4c6c8 70%, var(--crgf-brand-silver) 100%); clip-path: polygon(0 0, 75px 0, 0 75px); z-index: 2; transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.adv-shine { position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); z-index: 3; pointer-events: none; }
.crgf-advantage-card:hover { transform: translateY(-10px) !important; box-shadow: 0 30px 60px rgba(0,0,0,0.6) !important; }
.crgf-advantage-card:hover .adv-grey-reveal { clip-path: polygon(0 0, 200% 0, 0 200%); }
.crgf-advantage-card:hover .adv-shine { animation: crgf-shine-sweep 0.8s ease-in-out 0.1s forwards; }
.adv-content-wrapper { padding: 50px 40px; position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; flex-grow: 1; }
.adv-icon { margin: 0 auto 30px auto; color: #ffffff; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3); border-radius: 16px; transition: all 0.4s ease; }
.crgf-advantage-card h4 { font-size: 1.55rem; color: #ffffff; margin-bottom: 15px; font-weight: 900; margin-top: 0; transition: color 0.4s ease; }
.crgf-advantage-card p { color: var(--crgf-brand-light); line-height: 1.6; margin: 0; flex-grow: 1; transition: color 0.4s ease; }
.crgf-advantage-card:hover .adv-icon { color: var(--crgf-brand-navy); background: rgba(255,255,255,0.7); border-color: var(--crgf-brand-navy); transform: scale(1.05); }
.crgf-advantage-card:hover h4 { color: var(--crgf-brand-dark) !important; }
.crgf-advantage-card:hover p { color: #444 !important; }
/* Add smooth transition to list items inside the card */
.crgf-advantage-card ul li { 
    transition: color 0.4s ease; 
}

/* Change color of list items to dark grey on card hover */
.crgf-advantage-card:hover ul li { 
    color: #444 !important; 
}
/* ==========================================================================
   8. PROCESS SECTION (Notre Approche)
   ========================================================================== */
.crgf-process-section { padding: 100px 0 160px 0; background: linear-gradient(to bottom, var(--crgf-pitch-black) 0%, var(--crgf-brand-dark) 100%); }
.crgf-process-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.crgf-process-content { text-align: left; }
.crgf-process-steps-vertical { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; position: relative; }
.crgf-process-steps-vertical::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 30px; width: 2px; background: linear-gradient(to bottom, transparent, rgba(166, 168, 171, 0.3), transparent); z-index: 0; }
.crgf-process-step-row { display: flex; align-items: flex-start; gap: 25px; position: relative; z-index: 1; }
.process-number { width: 60px; height: 60px; flex-shrink: 0; background: var(--crgf-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; color: var(--crgf-brand-navy); box-shadow: 0 10px 20px rgba(0,0,0,0.3); border: 1px solid #d1d6db; margin: 0; }
.process-text h4 { font-size: 1.4rem; color: var(--crgf-white); font-weight: 800; margin: 0 0 10px 0; }
.process-text p { color: var(--crgf-brand-light); font-size: 1.1rem; margin: 0; }

/* ==========================================================================
   9. FORMS, MAP & FOOTER TRANSITIONS
   ========================================================================== */
/* Premium Glass Gravity Forms */
.crgf-split-form-section { padding: 120px 0; background-color: var(--crgf-pitch-black); }
.crgf-form-wrapper { padding: 50px 40px; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper textarea, .gform_wrapper select { background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; color: #ffffff !important; border-radius: 4px; padding: 15px !important; font-size: 1rem; width: 100%; transition: all 0.3s ease; margin-bottom: 15px; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus { background: rgba(255, 255, 255, 0.1) !important; border-color: var(--crgf-brand-silver) !important; outline: none; box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
.gform_wrapper label.gfield_label { color: #d1d6db !important; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.gform_wrapper input[type="submit"] { background: #ffffff !important; color: #060b14 !important; font-weight: 800 !important; padding: 18px 30px !important; border-radius: 5px !important; text-transform: uppercase !important; letter-spacing: 1px !important; border: none !important; cursor: pointer; transition: all 0.3s ease !important; margin-top: 10px; width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.gform_wrapper input[type="submit"]:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important; transform: translateY(-3px); background: #e8eaed !important; }

/* Locations Map */
.crgf-locations-section { padding: 100px 0 180px 0; background: linear-gradient(to bottom, var(--crgf-brand-dark) 0%, var(--crgf-pitch-black) 100%); }
.crgf-locations-wrapper { background: linear-gradient(135deg, #1a2f4c 0%, var(--crgf-brand-navy) 100%); border-radius: 16px; padding: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); }
.crgf-locations-grid { display: flex; flex-wrap: wrap; gap: 15px; }
.crgf-loc-pill { background: rgba(255,255,255,0.05); color: var(--crgf-white); padding: 14px 28px; border-radius: 50px; font-weight: 600; border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s ease; cursor: pointer; }
.crgf-loc-pill:hover { background: var(--crgf-brand-silver); color: var(--crgf-brand-dark); border-color: var(--crgf-brand-silver); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.crgf-locations-map { width: 100%; height: 500px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.1); }
#crgf-map { width: 100%; height: 100%; z-index: 1; }
.custom-map-pin { background: transparent; border: none; }
.leaflet-popup-content-wrapper { border-radius: 8px; font-family: 'Inter', sans-serif; color: #122244; }

/* Combined CTA & Footer Contact Setup */
.crgf-combined-cta { background: var(--crgf-pitch-black); padding: 100px 0 140px 0; }
.crgf-cta-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 60px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.crgf-cta-testimonial { padding-right: 40px; border-right: 1px solid rgba(255,255,255,0.1); }
.crgf-cta-testimonial .quote-mark { color: var(--crgf-brand-silver); opacity: 0.5; margin-bottom: 20px; }
.crgf-cta-testimonial .testimonial-text { font-size: 1.3rem; font-style: italic; line-height: 1.6; color: #e8eaed !important; margin-bottom: 20px; font-weight: 400; }
.crgf-cta-testimonial .testimonial-author { color: var(--crgf-brand-silver) !important; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.crgf-cta-action p { font-size: 1.1rem; color: var(--crgf-brand-silver); margin-bottom: 35px; line-height: 1.6; }

/* Footer Glass Card Layout (Home Page Pre-Footer) */
.crgf-cta-section { background: var(--crgf-pitch-black); padding: 100px 0 200px 0; }
.crgf-glass-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 50px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.crgf-glass-card h4 { font-size: 1.8rem; color: var(--crgf-white); margin-bottom: 30px; margin-top: 0; font-weight: 700; }
.crgf-contact-list { list-style: none; padding: 0; margin: 0; }
.crgf-contact-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.crgf-contact-list li svg { color: var(--crgf-brand-silver); flex-shrink: 0; margin-top: 5px; }
.crgf-contact-list li span { display: block; color: var(--crgf-brand-light); font-size: 0.95rem; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.crgf-contact-list li strong { display: block; color: var(--crgf-white); font-size: 1.2rem; font-weight: 600; }





/* ==========================================================================
   PART A: OVERRIDE GENESIS THEME FOOTER BEHAVIOR
   ========================================================================== */
.footer-widgets-2, .footer-widgets-3, footer.site-footer { display: none !important; }
.footer-widgets, .footer-widgets .wrap { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; background: transparent !important; border: none !important; }
.footer-widgets-1 { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.footer-widgets-1 .widget, .footer-widgets-1 .widget-wrap, .footer-widgets-1 .textwidget { margin: 0 !important; padding: 0 !important; }

/* ==========================================================================
   PART B: CRGF CUSTOM FOOTER STYLING (5 COLONNES)
   ========================================================================== */
.crgf-footer-redesign { background-color: #060b14; color: #e8eaed; font-family: 'Inter', 'Source Sans Pro', sans-serif; border-top: 1px solid rgba(255, 255, 255, 0.05); width: 100%; }
.crgf-footer-redesign .crgf-container { max-width: 1400px !important; margin: 0 auto; padding: 0 30px; }

/* CSS Grid - FORCÉ À 5 COLONNES SUR DESKTOP */
.crgf-footer-grid { 
  display: grid !important; 
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr !important; 
  gap: 30px !important; 
  padding: 60px 0 50px 0 !important; 
}

/* Titles */
.crgf-footer-title { color: #ffffff; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-top: 0; margin-bottom: 15px; border: none !important; }
.crgf-footer-title a { color: #ffffff !important; text-decoration: none !important; transition: color 0.3s ease; }
.crgf-footer-title a:hover { color: #a6a8ab !important; }

/* Logo & Contacts */
.crgf-footer-logo-link { display: block; margin-bottom: 20px; }
.crgf-footer-logo { display: block; width: auto; max-width: 200px; height: auto; object-fit: contain; object-position: left center; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)); }
.crgf-footer-contact { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.crgf-footer-contact li { margin-bottom: 8px !important; font-size: 0.85rem; color: #e8eaed; border: none !important; display: flex; align-items: center; gap: 8px; }
.crgf-footer-contact li svg { color: #a6a8ab; flex-shrink: 0; }

/* Réseaux Sociaux */
.crgf-social-links { display: flex; gap: 10px; margin-top: 15px; }
.crgf-social-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; color: #a6a8ab !important; transition: all 0.3s ease; }
.crgf-social-icon:hover { background: #1e3b70; color: #ffffff !important; border-color: #1e3b70; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.4); }

/* Liens Subtils (À Propos & Bouton Contact) */
.crgf-subtle-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.crgf-subtle-link { color: #7b7977 !important; font-size: 0.85rem; text-decoration: none !important; transition: color 0.3s ease; }
.crgf-subtle-link:hover { color: #ffffff !important; }
.crgf-subtle-btn { display: inline-block; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: #a6a8ab !important; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 6px 14px; border-radius: 4px; text-decoration: none !important; transition: all 0.3s ease; }
.crgf-subtle-btn:hover { background: rgba(255,255,255,0.05); border-color: #ffffff; color: #ffffff !important; transform: translateY(-2px); }

/* Accès Clients (Colonne 5) */
.client-portal-link { display: flex; align-items: center; gap: 8px; color: #a6a8ab !important; font-weight: 600; font-size: 0.85rem;}
.client-portal-link:hover { color: #ffffff !important; }

/* Liens standards */
.crgf-footer-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.crgf-footer-links li { margin-bottom: 8px !important; border: none !important; }
.crgf-footer-links a:not(.client-portal-link) { color: #a6a8ab !important; font-size: 0.85rem; text-decoration: none !important; transition: all 0.3s ease; display: inline-block; line-height: 1.3; }
.crgf-footer-links a:not(.client-portal-link):hover { color: #ffffff !important; transform: translateX(3px); }

/* ==========================================================================
   FORMULAIRE GRAVITY FORMS - STYLING AVANCÉ (Masque le texte inutile)
   ========================================================================== */
.crgf-footer-form .gform_wrapper { margin: 0 !important; }
.crgf-footer-form .gform_heading,
.crgf-footer-form .gfield_label,
.crgf-footer-form .gform_required_legend,
.crgf-footer-form .gfield_required { display: none !important; }

.crgf-footer-form .gform_wrapper input[type="email"], 
.crgf-footer-form .gform_wrapper input[type="text"] { 
  background: rgba(255, 255, 255, 0.08) !important; 
  border: 1px solid rgba(255, 255, 255, 0.15) !important; 
  color: #ffffff !important; 
  border-radius: 4px; 
  padding: 10px 14px !important; 
  font-size: 0.85rem; 
  width: 100%; 
  transition: all 0.3s ease; 
  margin-bottom: 8px; 
  box-sizing: border-box; 
}
.crgf-footer-form .gform_wrapper input:focus { 
  background: rgba(255, 255, 255, 0.12) !important; 
  border-color: #ffffff !important; 
  outline: none; 
}
.crgf-footer-form .gform_wrapper input[type="submit"] { 
  background: #2a4c7e !important; 
  color: #ffffff !important; 
  font-weight: 700 !important; 
  font-size: 0.85rem !important; 
  padding: 10px 20px !important; 
  border-radius: 4px !important; 
  text-transform: uppercase !important; 
  letter-spacing: 1px !important; 
  border: none !important; 
  cursor: pointer; 
  transition: all 0.3s ease !important; 
  width: 100%; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}
.crgf-footer-form .gform_wrapper input[type="submit"]:hover { 
  background: #a6a8ab !important; 
  color: #060b14 !important; 
  transform: translateY(-2px); 
}

/* ==========================================================================
   SOUS-PIED DE PAGE (Subfooter & Anti-wpautop)
   ========================================================================== */
.crgf-subfooter { background-color: #03050a; padding: 20px 0; font-size: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* Empêche WP d'ajouter des paragraphes ou sauts de ligne invisibles qui cassent Flexbox */
.crgf-subfooter-wrap p, .crgf-subfooter-wrap br { display: none !important; }

/* Force l'affichage en ligne et bloque la largeur à 100% */
.crgf-subfooter-wrap { 
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  width: 100%; 
}

.crgf-subfooter-legal { display: flex; flex-direction: row; align-items: center; gap: 6px; }
.crgf-subfooter-legal a, .crgf-subfooter-legal span { display: inline-block !important; margin: 0 !important; }
.crgf-subfooter a { color: #7b7977 !important; text-decoration: none !important; transition: color 0.3s ease; }
.crgf-subfooter a:hover { color: #ffffff !important; }
.crgf-separator { color: #333; margin: 0 4px; }

/* LA MAGIE EST ICI : Le texte du droit d'auteur repousse tout le reste vers la gauche et se colle à droite */
.crgf-subfooter-copy { margin-left: auto; text-align: right; color: #555; }


/* FIX GENESIS ENTRY MARGINS */
.entry { margin-bottom: 0 !important; }
@media only screen and (min-width: 960px) {
  .after-entry, .archive-description, .author-box, .comment-respond, .entry, .entry-comments, .entry-pings { margin-bottom: 0 !important; }
}

/* RESPONSIVE */
@media only screen and (max-width: 1200px) {
  .crgf-footer-grid { grid-template-columns: 1fr 1fr 1fr !important; gap: 40px !important; }
}
@media only screen and (max-width: 900px) {
  .crgf-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
  .crgf-subfooter-wrap { flex-direction: column; text-align: center; gap: 10px; justify-content: center; }
  .crgf-subfooter-copy { margin-left: 0; text-align: center; }
  .crgf-subfooter-legal { flex-wrap: wrap; justify-content: center; }
}
@media only screen and (max-width: 650px) {
  .crgf-footer-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center; }
  .crgf-footer-logo { margin: 0 auto; }
  .crgf-footer-contact li, .crgf-social-links, .client-portal-link, .crgf-subtle-actions { justify-content: center; align-items: center; }
  .crgf-footer-links a:hover { transform: translateX(0) scale(1.05); }
}






/* ==========================================================================
   FROSTED GLASS STICKY HEADER
   ========================================================================== */

.site-header {
    /* Semi-transparent dark navy to pull colors from the hero section */
    background-color: rgba(6, 11, 20, 0.7) !important; 
    
    /* The "Frosted" effect - Blurs the background image as it scrolls under */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Subtle bottom border to define the edge against the image */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Smooth transition if the header changes height or color on scroll */
    transition: all 0.3s ease-in-out;
    
    /* Ensure it stays on top of all page elements */
    z-index: 9999;
}

/* Adjust the logo and menu link colors to ensure they pop on the glass */
.site-header .genesis-nav-menu a {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Optional: Make the header more solid once the user scrolls deep into the page */
.js .site-header.shrink {
    background-color: rgba(6, 11, 20, 0.95) !important;
}
/* 1. Force the main site container to have the Pitch Black base */
.site-container {
    background-color: #060b14 !important;
}

/* 2. Update the Header to ensure no theme-grey shows through */
.site-header {
    /* Use a solid starting color that matches your brand navy */
    background-color: #060b14 !important; 
    
    /* Apply the transparency only on the Alpha channel */
    background: rgba(6, 11, 20, 0.75) !important;
    
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Ensure no margins/paddings are creating "gaps" that show grey */
    margin: 0 !important;
    position: sticky;
    top: 0;
}

/* 3. Remove any default Genesis header backgrounds */
.site-header .wrap {
    background: transparent !important;
    max-width: 1600px;
}

/* Increase contrast for the aggressive metallic H1 on the industrial background */
#crgf-home-redesign .crgf-title {
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.9));
    letter-spacing: -1px; /* Makes the title look more "heavy-duty" */
}


/* --- UPDATED: CRGF Dark Brand Header & Menu Design --- */

/* 1. Main Header Container - Seamless blend into the Hero Section */
.site-header {
    background-color: #060b14; /* Matches the top of the Hero section */
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle separator */
}

/* 2. Alignment */
.site-header .wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 3. Title/Logo Area Padding */
.title-area {
    float: none; 
    padding: 0;
    max-width: 240px;
}

.title-area img.custom-logo {
    display: block;
    height: auto;
}

/* 4. Navigation Menu Styling */
.nav-primary {
    background-color: transparent;
}

.genesis-nav-menu {
    line-height: 1;
    width: auto;
}

/* 5. Menu Links (Inverted for Dark Background) */
.genesis-nav-menu a {
    color: #a6a8ab !important; /* Brand Silver */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
    position: relative;
    background: none;
    -webkit-text-fill-color: initial;
}

/* 6. Hover State - Bright White */
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item a {
    color: #ffffff !important; /* Bright white for contrast */
    transform: translateY(-1px);
}

/* 7. Current Page Indicator */
.genesis-nav-menu .current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

/* Mobile Responsiveness Fix */
@media only screen and (max-width: 960px) {
    .site-header .wrap {
        flex-direction: column;
        padding: 0 20px;
    }
    .title-area {
        margin-bottom: 20px;
    }
}






/* ==========================================================================
   CRGF - SUB-MENU (DROPDOWN) DARK THEME DESIGN
   ========================================================================== */

/* 1. Sub-menu Container */
.genesis-nav-menu .sub-menu {
    background-color: #122244 !important; 
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    border-radius: 8px !important; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important; 
    padding: 10px 0 !important;
    width: 280px !important; 
    
    /* Absolute positioning to prevent layout shifts */
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 15px !important; 
    
    /* OVERRIDE GENESIS JS INLINE STYLES */
    display: block !important; 
    height: auto !important;
    overflow: visible !important;
    
    /* CSS Animation */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
}

/* 2. THE INVISIBLE BRIDGE: Prevents the menu from closing when crossing the gap */
.genesis-nav-menu .sub-menu::after {
    content: '';
    position: absolute;
    top: -15px; /* Must match the margin-top above */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* 3. Show Sub-menu on Hover (Forces override of JS) */
.genesis-nav-menu .menu-item:hover > .sub-menu,
.genesis-nav-menu .menu-item.sfHover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 4. Triangle pointer at the top */
.genesis-nav-menu .sub-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 40px;
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent #122244 transparent;
}

/* 5. Sub-menu Links (Fixed width and hover issue) */
.genesis-nav-menu .sub-menu li {
    width: 100% !important;
    display: block !important;
}

.genesis-nav-menu .sub-menu a {
    display: block !important; /* Forces the link to take up the whole row */
    width: 100% !important; /* Overrides the Genesis 180px default */
    box-sizing: border-box !important; /* Keeps padding inside the 100% width */
    background-color: transparent !important;
    color: #a6a8ab !important; 
    font-size: 0.85rem !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 25px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    -webkit-text-fill-color: initial !important; 
}

/* 6. Disable main menu underline in dropdown */
.genesis-nav-menu .sub-menu a::after {
    display: none !important;
}

/* 7. Sub-menu Hover State */
.genesis-nav-menu .sub-menu a:hover,
.genesis-nav-menu .sub-menu .current-menu-item > a {
    background-color: #1e3b70 !important; 
    color: #ffffff !important; 
    padding-left: 32px !important; 
}



/* ==========================================================================
   UNIVERSAL HERO STRUCTURE (HOME & INNER PAGES)
   ========================================================================== */

/* The base container constraints (ensures left alignment doesn't stretch too far) */
.crgf-hero-content { 
    position: relative; 
    z-index: 10; 
    max-width: 850px; 
    text-align: left; /* Forces left alignment */
}

/* The exact Homepage Metallic Title applied globally */
.crgf-title { 
    background: linear-gradient(to bottom, #ffffff 0%, #d1d6db 40%, #6f747a 48%, #3a3e45 50%, #b2b6bb 53%, #ffffff 100%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    text-shadow: 0px 12px 30px rgba(0, 0, 0, 0.8);
    display: inline-block; 
    background-size: 100% 100%;
    font-size: clamp(2.2rem, 4.5vw, 4rem); 
    font-weight: 800; 
    margin-bottom: 24px; 
    line-height: 1.15; 
    letter-spacing: -0.5px; 
}

/* Subtitle matching the homepage */
.crgf-subtitle { 
    font-size: 1.25rem; 
    color: #e8eaed; 
    margin-bottom: 40px; 
    font-weight: 300; 
    line-height: 1.6; 
    max-width: 700px; 
}

/* Base styling for all inner page heroes */
.crgf-hero-inner {
    position: relative;
    padding: 220px 0 220px 0; /* Adjust height here if you want it shorter than home */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Background Mesh Elements */
.crgf-mesh-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; }

/* ==========================================================================
   10. MOBILE OPTIMIZATION (CRGF Custom Styles Only)
   ========================================================================== */

@media only screen and (max-width: 768px) {
    /* --- Typography --- */
    .crgf-imposing-metallic, .crgf-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Smaller font size on mobile */
        margin-bottom: 16px;
    }

    .crgf-section-title {
        font-size: 2rem; /* Smaller section titles */
        padding-bottom: 15px;
        margin-bottom: 20px;
    }

    .crgf-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .crgf-info-p {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    /* --- Spacing & Padding --- */
    .crgf-hero {
        padding: 120px 0 160px 0; /* Reduced top/bottom padding */
    }

    .crgf-hero-inner {
        padding: 120px 0; /* Reduced top/bottom padding */
    }

    .crgf-services-main {
        padding: 80px 0 40px 0;
    }

    .crgf-target-market,
    .crgf-info-section,
    .crgf-process-section,
    .crgf-advantage-section {
        padding: 80px 0; /* Consistent smaller padding for sections */
    }
    
    .crgf-partners-section {
        padding: 80px 0 40px 0;
    }

    /* --- Grids to Single Column --- */
    .crgf-grid-2x2,
    .crgf-grid-3,
    .crgf-split-grid,
    .crgf-info-grid,
    .crgf-process-layout {
        grid-template-columns: 1fr; /* Stack everything vertically */
        gap: 40px; /* Consistent gap */
    }

    /* --- Specific Adjustments --- */
    .crgf-services-overlap {
        margin-top: -80px; /* Reduce overlap on mobile */
    }

    .crgf-image-wrapper {
        margin-bottom: 30px; /* Add space below images when stacked */
    }

    /* Cards Padding */
    .card-content-wrapper,
    .crgf-target-card,
    .adv-content-wrapper {
        padding: 40px 25px; /* Slightly tighter padding inside cards */
    }

    /* Process Section Adjustments */
    .crgf-process-steps-vertical::before {
        left: 20px; /* Adjust timeline line position */
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .crgf-process-step-row {
        gap: 15px;
    }

    /* Hero content centering on mobile (Optional, usually looks better) */
    .crgf-hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .crgf-hero-actions {
       display: flex;
       justify-content: center;
    }
}

/* Very small screens (e.g., iPhone SE) */
@media only screen and (max-width: 480px) {
    .crgf-section-title {
        font-size: 1.75rem;
    }
}




/* ==========================================================================
CRGF LEGAL PAGES - Simple professional layout
========================================================================== */

.crgf-legal-page {
background: #ffffff !important;
color: #1f2933 !important;
font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.crgf-legal-section {
padding: 90px 0;
background: #ffffff;
}

.crgf-legal-content {
max-width: 900px;
margin: 0 auto;
background: #ffffff;
}

.crgf-legal-content h1 {
color: #122244;
font-size: 2.2rem;
font-weight: 800;
line-height: 1.2;
margin: 0 0 35px 0;
padding-bottom: 18px;
border-bottom: 1px solid #d9dee7;
}

.crgf-legal-content h2 {
color: #122244;
font-size: 1.35rem;
font-weight: 800;
line-height: 1.3;
margin: 42px 0 14px 0;
}

.crgf-legal-content p {
color: #2f3a45;
font-size: 1rem;
line-height: 1.75;
margin: 0 0 20px 0;
}

.crgf-legal-content strong {
color: #122244;
font-weight: 800;
}

.crgf-legal-content a {
color: #1e3b70;
font-weight: 700;
text-decoration: underline;
}

.crgf-legal-content a:hover {
color: #122244;
text-decoration: none;
}

@media only screen and (max-width: 768px) {
.crgf-legal-section {
padding: 60px 0;
}

.crgf-legal-content h1 {
font-size: 1.8rem;
}

.crgf-legal-content h2 {
font-size: 1.2rem;
}

.crgf-legal-content p {
font-size: 0.98rem;
}
}




/* ==========================================================================
   CRGF MOBILE FIXES - Header, Locations, CTA
   Add at bottom of stylesheet
   ========================================================================== */

@media only screen and (max-width: 960px) {

  /* Mobile header height + visibility fixes */
  .site-header {
    padding: 8px 0 !important;
  }

  .site-header .wrap {
    padding: 0 16px !important;
    gap: 4px !important;
  }

  .title-area,
  .wp-custom-logo .title-area {
    margin-bottom: 4px !important;
    padding: 0 !important;
    max-width: 190px !important;
  }

  .title-area img.custom-logo {
    max-height: 72px !important;
    width: auto !important;
  }

  .menu-toggle {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin: 0 auto 4px auto !important;
    padding: 4px 0 !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
  }

  .menu-toggle::before,
  .sub-menu-toggle::before {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .sub-menu-toggle {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    padding: 8px 12px !important;
  }

  .nav-primary {
    padding-top: 4px !important;
    padding-bottom: 8px !important;
  }

  .genesis-nav-menu a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }

  .genesis-nav-menu .sub-menu {
    position: static !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-left: 10px !important;
    background: rgba(18, 34, 68, 0.95) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .genesis-nav-menu .sub-menu a {
    color: #e8eaed !important;
    -webkit-text-fill-color: #e8eaed !important;
    background: transparent !important;
  }
}

@media only screen and (max-width: 768px) {

  /* Locations section mobile stacking */
  .crgf-locations-section {
    padding: 70px 0 !important;
  }

  .crgf-locations-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    padding: 40px 22px !important;
    align-items: stretch !important;
  }

  .crgf-locations-text {
    width: 100% !important;
  }

  .crgf-contact-address-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .crgf-loc-pill.address-card {
    width: 100% !important;
    padding: 18px 20px !important;
  }

  .crgf-locations-map {
    width: 100% !important;
    height: 380px !important;
    min-height: 380px !important;
  }

  #crgf-map {
    width: 100% !important;
    height: 380px !important;
    min-height: 380px !important;
  }

  /* CTA/testimonial mobile stacking */
  .crgf-cta-wrapper {
    grid-template-columns: 1fr !important;
    gap: 35px !important;
    padding: 36px 24px !important;
  }

  .crgf-cta-testimonial {
    padding-right: 0 !important;
    padding-bottom: 30px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  }

  .crgf-cta-testimonial .testimonial-text {
    font-size: 1.1rem !important;
    line-height: 1.55 !important;
  }

  .crgf-cta-action {
    text-align: left !important;
  }

  .crgf-cta-action .crgf-btn {
    width: 100% !important;
  }
}

@media only screen and (max-width: 480px) {
  .title-area,
  .wp-custom-logo .title-area {
    max-width: 170px !important;
  }

  .title-area img.custom-logo {
    max-height: 64px !important;
  }

  .crgf-locations-wrapper {
    padding: 34px 18px !important;
  }

  .crgf-locations-map,
  #crgf-map {
    height: 340px !important;
    min-height: 340px !important;
  }
}



/* ==========================================================================
   CRGF HOME - Location pills 2-column layout inside left panel
   ========================================================================== */

#crgf-home-redesign .crgf-locations-section .crgf-contact-address-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 520px !important;
}

#crgf-home-redesign .crgf-locations-section .crgf-loc-pill.address-card {
  width: auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 58px !important;
  padding: 14px 20px !important;
  margin: 0 !important;
  border-radius: 999px !important;
}

#crgf-home-redesign .crgf-locations-section .crgf-loc-pill.address-card .loc-title {
  display: block !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

/* Keep the names clean, but allow longer labels to wrap correctly */
#crgf-home-redesign .crgf-locations-section .crgf-loc-pill.address-card strong {
  white-space: normal !important;
}

/* On smaller mobile screens, return to one column for readability */
@media only screen and (max-width: 600px) {
  #crgf-home-redesign .crgf-locations-section .crgf-contact-address-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  #crgf-home-redesign .crgf-locations-section .crgf-loc-pill.address-card {
    width: 100% !important;
  }
}



/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (min-width: 480px) {

	table {
		table-layout: auto;
		word-break: normal;
	}

}

@media only screen and (min-width: 960px) {

	/* Site Header
	--------------------------------------------- */

	.site-header {
		position: sticky;
		top: 0;
		z-index: 9999;
	}

	.admin-bar .site-header {
		top: 32px;
	}

	/* Genesis Menu
	--------------------------------------------- */

	.genesis-nav-menu .menu-item {
		display: inline-block;
	}

	.genesis-nav-menu .menu-item:focus,
	.genesis-nav-menu .menu-item:hover {
		position: relative;
	}

	.genesis-nav-menu > .menu-bold > a {
		font-weight: 700;
	}

	.genesis-nav-menu > .menu-highlight > a {
		background-color: #333;
		border-radius: 3px;
		color: #fff;
		font-weight: 600;
		margin-left: 15px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.genesis-nav-menu > .menu-highlight > a:focus,
	.genesis-nav-menu > .menu-highlight > a:hover {
		background-color: #0073e5;
	}

	.genesis-nav-menu .sub-menu,
	.genesis-nav-menu .sub-menu a {
		width: 180px;
	}

	.genesis-nav-menu .sub-menu {
		border-top: 1px solid #eee;
		opacity: 0;
		padding-left: 0;
		position: absolute;
		transition: opacity 0.4s ease-in-out;
	}

	.genesis-nav-menu .sub-menu a {
		border: 1px solid #eee;
		border-top: 0;
		padding-bottom: 15px;
		padding-top: 15px;
	}

	.genesis-nav-menu .sub-menu .sub-menu {
		margin: -46px 0 0 179px;
	}

	/* Responsive Menu
	--------------------------------------------- */

	.js .nav-primary {
		display: block;
		padding-top: 15px;
	}

	.menu-toggle,
	.sub-menu-toggle {
		display: none;
		visibility: hidden;
	}

	/* Header Menu
	--------------------------------------------- */

	.nav-primary {
		clear: none;
		float: right;
		width: auto;
	}

	.nav-primary .genesis-nav-menu a {
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Site-Inner
	--------------------------------------------- */

	.site-inner {
		max-width: 1140px;
	}

	/* Content
	--------------------------------------------- */

	.content {
		float: left;
		width: 65%;
	}

	.sidebar-content .content {
		float: right;
	}

	.full-width-content .content {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	/* Sidebar
	--------------------------------------------- */

	.sidebar {
		float: right;
		width: 30%;
	}

	.sidebar-content .sidebar {
		float: left;
	}

	/* Author Box
	--------------------------------------------- */

	.author-box {
		background-color: #f5f5f5;
		padding: 30px;
	}

	/* After Entry
	--------------------------------------------- */

	.after-entry {
		padding: 40px 60px;
	}

	.after-entry .enews {
		padding-left: 30px;
		padding-right: 30px;
	}

	/* Column Classes
	--------------------------------------------- */

	.five-sixths,
	.four-sixths,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fourths,
	.three-sixths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		float: left;
		margin-left: 2.564102564102564%;
	}

	.one-half,
	.three-sixths,
	.two-fourths {
		width: 48.717948717948715%;
	}

	.one-third,
	.two-sixths {
		width: 31.623931623931625%;
	}

	.four-sixths,
	.two-thirds {
		width: 65.81196581196582%;
	}

	.one-fourth {
		width: 23.076923076923077%;
	}

	.three-fourths {
		width: 74.35897435897436%;
	}

	.one-sixth {
		width: 14.52991452991453%;
	}

	.five-sixths {
		width: 82.90598290598291%;
	}

	.first {
		clear: both;
		margin-left: 0;
	}

	/* Entry Misc.
	--------------------------------------------- */

	.after-entry,
	.archive-description,
	.author-box,
	.comment-respond,
	.entry,
	.entry-comments,
	.entry-pings {
		margin-bottom: 60px;
	}

	/* Footer Widgets
	--------------------------------------------- */

	.footer-widgets .wrap {
		max-width: 1140px;
	}

	.footer-widget-area {
		float: left;
		margin-bottom: 0;
		width: calc(100% / 3);
	}

}

/* Print Styles
---------------------------------------------------------------------------- */

@media print {

	*,
	*::before,
	*::after {
		background: transparent !important;
		box-shadow: none !important;
		color: #333 !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	a[href^="javascript:"]::after,
	a[href^="#"]::after,
	.site-title > a::after {
		content: "";
	}

	thead {
		display: table-header-group;
	}

	img,
	tr {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 2cm 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	blockquote,
	pre {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	.content,
	.content-sidebar {
		width: 100%;
	}

	button,
	input,
	select,
	textarea,
	.breadcrumb,
	.comment-edit-link,
	.comment-form,
	.comment-list .reply a,
	.comment-reply-title,
	.edit-link,
	.entry-comments-link,
	.entry-footer,
	.genesis-box,
	.header-widget-area,
	.hidden-print,
	.home-top,
	.nav-primary,
	.nav-secondary,
	.post-edit-link,
	.sidebar {
		display: none !important;
	}

	.title-area {
		text-align: center;
		width: 100%;
	}

	.site-title > a {
		margin: 0;
		text-decoration: none;
		text-indent: 0;
	}

	.site-inner {
		padding-top: 0;
		position: relative;
	}

	.author-box {
		margin-bottom: 0;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		orphans: 3;
		page-break-after: avoid;
		page-break-inside: avoid;
		widows: 3;
	}


	img {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	blockquote,
	pre,
	table {
		page-break-inside: avoid;
	}

	dl,
	ol,
	ul {
		page-break-before: avoid;
	}

}








/* ==========================================================================
   CRGF MOBILE MENU - Keep submenus collapsed until arrow is clicked
   ========================================================================== */

@media only screen and (max-width: 959px) {

  /* Default mobile submenu state: hidden/collapsed */
  .site-header .genesis-nav-menu .sub-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    margin: 6px 0 10px 0 !important;
    padding: 8px 0 !important;
    background: rgba(18, 34, 68, 0.95) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: hidden !important;
    height: auto !important;
  }

  /* Disable desktop hover behavior on mobile */
  .site-header .genesis-nav-menu .menu-item:hover > .sub-menu {
    display: none !important;
  }

  /* Open only when Genesis adds the activated class to the arrow button */
  .site-header .genesis-nav-menu .sub-menu-toggle.activated + .sub-menu,
  .site-header .genesis-nav-menu .sub-menu-toggle[aria-expanded="true"] + .sub-menu,
  .site-header .genesis-nav-menu .menu-item.sfHover > .sub-menu {
    display: block !important;
  }

  /* Hide desktop dropdown triangle/bridge on mobile */
  .site-header .genesis-nav-menu .sub-menu::before,
  .site-header .genesis-nav-menu .sub-menu::after {
    display: none !important;
  }

  /* Keep submenu links visible only after submenu opens */
  .site-header .genesis-nav-menu .sub-menu a {
    color: #e8eaed !important;
    -webkit-text-fill-color: #e8eaed !important;
    background: transparent !important;
    padding: 13px 24px !important;
  }

  .site-header .genesis-nav-menu .sub-menu a:hover {
    background: #1e3b70 !important;
    color: #ffffff !important;
  }

  /* Keep the arrow visible */
  .site-header .sub-menu-toggle {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header .sub-menu-toggle::before {
    color: #ffffff !important;
    opacity: 1 !important;
  }
}




/* ==========================================================================
   CRGF MOBILE MENU - Fix arrow overlap with parent menu text
   ========================================================================== */

@media only screen and (max-width: 959px) {

  /* Give the mobile menu enough width while keeping it centered */
  .site-header .nav-primary {
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
  }

  .site-header .genesis-nav-menu {
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
  }

  .site-header .genesis-nav-menu .menu-item {
    width: 100% !important;
    position: relative !important;
  }

  /* Main menu links need right padding so arrows do not sit on top of text */
  .site-header .genesis-nav-menu .menu-item-has-children > a {
    padding-right: 52px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  /* Keep normal menu items clean */
  .site-header .genesis-nav-menu a {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Position the submenu arrow cleanly on the far right */
  .site-header .sub-menu-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
  }

  /* Keep rotated arrow centered after submenu opens */
  .site-header .sub-menu-toggle.activated {
    transform: translateY(-50%) !important;
  }

  .site-header .sub-menu-toggle::before {
    margin: 0 !important;
    line-height: 1 !important;
  }

  /* Prevent current-page underline from running under the arrow */
  .site-header .genesis-nav-menu .current-menu-item > a::after {
    right: 52px !important;
  }
}


/* ==========================================================================
   CRGF MOBILE MENU - Keep opened submenu arrow aligned with parent item
   ========================================================================== */

@media only screen and (max-width: 959px) {

  /* Anchor the arrow to the top-level menu row, not the expanded submenu height */
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle {
    top: 0 !important;
    right: 0 !important;
    transform: none !important;
    height: 42px !important;
    width: 42px !important;
  }

  /* Keep the arrow in the same place after the submenu is opened */
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle.activated {
    top: 0 !important;
    right: 0 !important;
    transform: none !important;
  }

  /* Rotate only the icon, not the whole button position */
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle.activated::before {
    transform: rotate(180deg) !important;
  }

  /* Keep enough room for the arrow beside long parent menu labels */
  .site-header .genesis-nav-menu .menu-item-has-children > a {
    padding-right: 52px !important;
  }
}



/* ==========================================================================
   CRGF MOBILE MENU - Fix submenu collapse bug after multiple opened menus
   ========================================================================== */

@media only screen and (max-width: 959px) {

  /* Never let the Genesis sfHover state force a mobile submenu open */
  .site-header .genesis-nav-menu .menu-item.sfHover > .sub-menu,
  .site-header .genesis-nav-menu .menu-item:hover > .sub-menu {
    display: none !important;
  }

  /* Default state: all mobile submenus collapsed */
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu {
    display: none !important;
  }

  /* Open state: only open when the arrow itself is active */
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle.activated + .sub-menu,
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle[aria-expanded="true"] + .sub-menu {
    display: block !important;
  }

  /* Keep active arrow aligned beside the parent item */
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle,
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle.activated {
    top: 0 !important;
    right: 0 !important;
    transform: none !important;
    height: 42px !important;
    width: 42px !important;
  }

  /* Rotate only the icon when active */
  .site-header .genesis-nav-menu .menu-item-has-children > .sub-menu-toggle.activated::before {
    transform: rotate(180deg) !important;
  }
}



/* ==========================================================================
   CRGF MOBILE MENU - Active/current page styling
   ========================================================================== */

@media only screen and (max-width: 959px) {

  /* Active page itself */
  .site-header .genesis-nav-menu .current-menu-item > a,
  .site-header .genesis-nav-menu .current_page_item > a {
    color: #6fa8ff !important;
    -webkit-text-fill-color: #6fa8ff !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(111, 168, 255, 0.35) !important;
  }

  /* Parent menu item when the active page is inside its submenu */
  .site-header .genesis-nav-menu .current-menu-parent > a,
  .site-header .genesis-nav-menu .current-menu-ancestor > a,
  .site-header .genesis-nav-menu .current_page_parent > a,
  .site-header .genesis-nav-menu .current_page_ancestor > a {
    color: #6fa8ff !important;
    -webkit-text-fill-color: #6fa8ff !important;
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(111, 168, 255, 0.35) !important;
  }

  /* Keep submenu current page visibly highlighted when submenu is opened */
  .site-header .genesis-nav-menu .sub-menu .current-menu-item > a,
  .site-header .genesis-nav-menu .sub-menu .current_page_item > a {
    background: rgba(30, 59, 112, 0.85) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-left: 3px solid #6fa8ff !important;
    padding-left: 21px !important;
  }

  /* Active underline on mobile, without running under the arrow */
  .site-header .genesis-nav-menu .current-menu-item > a::after,
  .site-header .genesis-nav-menu .current_page_item > a::after,
  .site-header .genesis-nav-menu .current-menu-parent > a::after,
  .site-header .genesis-nav-menu .current-menu-ancestor > a::after,
  .site-header .genesis-nav-menu .current_page_parent > a::after,
  .site-header .genesis-nav-menu .current_page_ancestor > a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 52px;
    bottom: -4px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6fa8ff, transparent);
    display: block !important;
  }

  /* Do not show the underline inside the submenu cards */
  .site-header .genesis-nav-menu .sub-menu .current-menu-item > a::after,
  .site-header .genesis-nav-menu .sub-menu .current_page_item > a::after {
    display: none !important;
  }
}




/* ==========================================================================
CRGF - Bureaux au Québec placeholder page
========================================================================== */

#crgf-bureaux-quebec .crgf-bureaux-section {
padding: 100px 0 140px 0;
background: linear-gradient(to bottom, var(--crgf-brand-navy) 0%, var(--crgf-pitch-black) 100%);
}

#crgf-bureaux-quebec .crgf-bureaux-wrapper {
align-items: stretch;
}

#crgf-bureaux-quebec .crgf-bureaux-address-grid {
display: grid !important;
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
gap: 14px !important;
width: 100% !important;
margin-top: 30px;
}

#crgf-bureaux-quebec .address-card {
width: 100% !important;
min-width: 0 !important;
padding: 16px 18px !important;
border-radius: 14px !important;
background: rgba(255,255,255,0.055) !important;
border: 1px solid rgba(255,255,255,0.14) !important;
color: #ffffff !important;
text-align: left !important;
transition: all 0.3s ease !important;
box-shadow: none !important;
}

#crgf-bureaux-quebec .address-card:hover,
#crgf-bureaux-quebec .address-card.is-active-location {
background: rgba(255,255,255,0.12) !important;
border-color: var(--crgf-brand-silver) !important;
transform: translateY(-2px) !important;
}

#crgf-bureaux-quebec .address-card .loc-title {
display: block !important;
color: #ffffff !important;
font-size: 0.98rem !important;
font-weight: 800 !important;
line-height: 1.3 !important;
margin: 0 0 6px 0 !important;
}

#crgf-bureaux-quebec .address-card .loc-address {
display: block !important;
color: var(--crgf-brand-light) !important;
font-size: 0.86rem !important;
font-weight: 500 !important;
line-height: 1.45 !important;
margin: 0 !important;
}

#crgf-bureaux-quebec .crgf-locations-map {
width: 100% !important;
min-height: 620px !important;
height: 100% !important;
border-radius: 16px !important;
overflow: hidden !important;
background: rgba(255,255,255,0.04) !important;
}

#crgf-bureaux-map {
width: 100% !important;
height: 620px !important;
min-height: 620px !important;
border-radius: 16px !important;
overflow: hidden !important;
z-index: 1 !important;
}

@media only screen and (max-width: 768px) {
#crgf-bureaux-quebec .crgf-bureaux-section {
padding: 70px 0;
}

#crgf-bureaux-quebec .crgf-locations-wrapper {
grid-template-columns: 1fr !important;
}

#crgf-bureaux-quebec .crgf-bureaux-address-grid {
grid-template-columns: 1fr !important;
}

#crgf-bureaux-quebec .crgf-locations-map,
#crgf-bureaux-map {
height: 380px !important;
min-height: 380px !important;
}
}


/* ==========================================================================
   CRGF - Bureaux au Québec map frame alignment fix
   ========================================================================== */

#crgf-bureaux-quebec .crgf-bureaux-wrapper {
  align-items: start !important;
}

#crgf-bureaux-quebec .crgf-locations-map {
  height: 620px !important;
  min-height: 620px !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

#crgf-bureaux-map {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 620px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 16px !important;
}

#crgf-bureaux-map .leaflet-container,
#crgf-bureaux-map .leaflet-map-pane,
#crgf-bureaux-map .leaflet-tile-pane {
  margin: 0 !important;
  padding: 0 !important;
}

@media only screen and (max-width: 768px) {
  #crgf-bureaux-quebec .crgf-locations-map {
    height: 380px !important;
    min-height: 380px !important;
  }

  #crgf-bureaux-map {
    height: 100% !important;
    min-height: 380px !important;
  }
}