/*
Theme Name: 1848 Founders Capital
Version: 1.0
Description: A child theme of Divi
Author: Kenton
Template: Divi
*/

@import url("../Divi/style.css");

.wpml-ls-legacy-list-horizontal {
	padding: 5px 0 5px 5px !important;
}

.wpml-ls-legacy-list-horizontal > ul {
	display: flex;
	gap: 20px;
}

.wpml-ls-legacy-list-horizontal a {
	padding: 0 !important;
}

.et_pb_column_0_tb_header.et_pb_column:has(.wpml-ls-legacy-list-horizontal) {
	gap: 0 !important;
}

.wpml-ls-link span {
	color: rgba(255, 255, 255, 0.40) !important;
}

.wpml-ls-current-language .wpml-ls-link span {
	color: #fff !important;
}

/* Initially hide both links to prevent flicker */
#uk-link, #intl-link {
	display: none !important;
}

/* Overlay */
#region-overlay {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background: rgba(7, 12, 18, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 22px;
	box-sizing: border-box;
}

/* Modal */
#region-modal {
	position: relative;
	width: min(1100px, 100%);
	min-height: 500px;
/* 	background: linear-gradient(180deg, #001426 0%, #000f1d 100%); */
	background: #01141C;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	color: #fff;
	font-family: Montserrat;
	overflow: hidden;
}

/* Close icon */
#region-close {
	position: absolute;
	top: 26px;
	right: 26px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: rgba(207, 222, 235, 0.5);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
}
#region-close:hover {
	color: rgba(235, 245, 255, 0.9);
	transform: scale(1.03);
}

/* 3-column internal layout */
.region-layout {
	display: grid;
	grid-template-columns: 1.2fr 1px 1.4fr;
	align-items: center;
	min-height: 500px;
	padding: 56px 68px;
	gap: 44px;
}

/* Left text */
.region-left h2 {
	margin: 0 0 22px;
	font-size: clamp(20px, 3vw, 24px);
	font-weight: 500;
	letter-spacing: 0.2px;
	color: #fff;
}
.region-left p {
	margin: 0 0 14px;
	max-width: 470px;
	font-size: 12px;
	line-height: normal;
	color: #fff;
	font-family: Montserrat;
	font-weight: 400;
}
.region-left p strong {
	color: #ffffff;
	font-weight: 700;
}

/* Vertical divider */
.region-divider {
	width: 1px;
	height: 68%;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(159, 182, 201, 0.2) 18%,
		rgba(159, 182, 201, 0.2) 82%,
		rgba(255, 255, 255, 0) 100%
	);
	justify-self: center;
}

/* Right options */
.region-right {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: center;
}

.region-option {
	background: transparent;
	border: none;
	text-align: center;
	color: #eef4fa;
	cursor: pointer;
	padding: 18px 8px;
	border-radius: 10px;
	transition: background 0.2s ease;
}
.region-option:hover {
	background: rgba(255, 255, 255, 0.05);
/* 	transform: translateY(-1px); */
}
.region-option-title {
	display: block;
	font-size: clamp(14px, 2.1vw, 18px);
	font-weight: 600;
/* 	margin-bottom: 7px; */
	line-height: 27px;
	color: #fff;
	font-family: Montserrat;
}
.region-option-sub {
	display: block;
	font-size: clamp(14px, 1.15vw, 15px);
	font-weight: 400;
	color: #fff;
	line-height: 27px;
	font-family: Montserrat;
}

/* Responsive */
@media (max-width: 980px) {
	.region-layout {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 48px 26px 30px;
		min-height: auto;
	}

	.region-divider {
		display: none;
	}

	.region-left h2 {
		font-size: 24px;
	}

	.region-left p {
		font-size: 14px;
		max-width: 100%;
	}

	.region-right {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	
	.region-option {
		background: rgba(255, 255, 255, 0.05) !important;
	}

	.region-option-title {
		font-size: 20px;
	}

	.region-option-sub {
		font-size: 18px;
	}
}









html, body {
	scrollbar-width: none;
	::webkit-scrollbar-width: thin;
	background: #030b12 !important;
}

html:has(.mobile_nav.opened) {
	overflow: hidden !important;
}

header {
	position: relative;
	z-index: 10;
}

.et_pb_section:has(#MainMenu) {
	transition: background .3s ease;
}

.et_pb_section:has(#MainMenu).is-pinned {
/* 	background: #030b12 !important; */
/* 	background: #01141c !important; */
	background: #001a24 !important;
}

/* MENU HOVER EFFECTS */

#menu-footer-menu li:last-child {
	padding-right: 0 !important;
}

.current-menu-item a {
	color: #BD8D42 !important;
}

.et_pb_menu .et-menu-nav li a:hover {
	opacity: 1 !important;
}

.et_pb_menu .et-menu-nav li a,
.et-l--header .et_pb_text.et_clickable p {
	position: relative;
	text-decoration: none;
}

.et_pb_menu .et-menu-nav li a:hover,
.et-l--header .et_pb_text.et_clickable p:hover a {
	color: #BD8D42;
}

.et-l--header .et_pb_text.et_clickable p a {
	transition: all .4s ease-in-out;
}

.et_pb_menu .et-menu-nav li a::after,
.et-l--header .et_pb_text.et_clickable p::after {
	content: '';
	position: absolute;
	width: 0;
	height: 1px;
	display: block;
	margin-top: 5px;
	right: 0;
	background: #ffffff;
	transition: width 0.3s ease;
	-webkit-transition: width 0.3s ease;
}

.et_pb_menu .et-menu-nav #menu-main-menu li a::after {
	margin-top: 15px;
}

.et_pb_menu .et-menu-nav li a:hover::after,
.et-l--header .et_pb_text.et_clickable p:hover::after {
	width: 100%;
	left: 0;
	background: #BD8D42;
}

/* ------------------------------------------------------------ */

/* HOME HERO */

#Locations {
	display: flex;
	align-items: center;
	gap: 20px;
}

#Locations span:first-child {
	background: #535B63;
	width: 48px;
	height: 1px;
	display: flex;
}

#Locations span:not(:first-child) {
	line-height: 1.7px;
	font-size: 10px;
}

#Locations p {
	font-size: 10px;
	padding-bottom: 0;
	color: #fff;
}

/* ------------------------------------------------------------ */

/* KEY TEAM */

#KeyTeamRow {
	z-index: 9;
}

#KeyTeamRow .et_pb_column {
	cursor: pointer;
}

:root {
	--dm-bg: #021a1f;
	--dm-overlay: rgba(0, 0, 0, 0.65);
	--dm-accent: #caa84a;
	--dm-text: #e6f0f2;
	--dm-muted: #9fb6bb;
	--dm-radius: 10px;
	--dm-maxw: 1100px;
}

/* container & overlay */
.dm-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
@media (min-width: 981px) {
	.pin-spacer:has(> #dm-popup) {
		display: block !important;
	}
	.dm-popup {
		width: 100% !important;
		height: 100vh !important;
	}
	.dm-overlay {
		cursor: default !important;
		width: 100vw;
		height: 100vh;
	}
}

.dm-popup[aria-hidden="false"] {
	display: flex;
	pointer-events: auto;
	cursor: default;
}

.dm-overlay {
	position: fixed;
	inset: 0;
	background: var(--dm-overlay);
	opacity: 0;
	transition: opacity 0.22s ease;
}
.dm-popup[aria-hidden="false"] .dm-overlay {
	opacity: 1;
}

.dm-modal {
	position: relative;
	background: #01141C;
	color: var(--dm-text);
	border-radius: var(--dm-radius);
	max-width: var(--dm-maxw);
	width: 94%;
	max-height: 70vh;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
	transform: translateY(8px);
	opacity: 0;
	transition: all 0.22s ease;
	pointer-events: auto;
	overflow: hidden;
	margin-top: 82px;
}
.dm-popup[aria-hidden="false"] .dm-modal {
	transform: none;
	opacity: 1;
}

.dm-close {
	position: absolute;
	right: 18px;
	top: 14px;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 50%;
	transition:
		color 0.15s ease,
		background 0.15s ease;
}
.dm-close:hover {
	color: var(--dm-text);
	background: rgba(255, 255, 255, 0.02);
}

.dm-inner {
	display: flex;
	column-gap: 80px;
	row-gap: 30px;
	align-items: stretch;
	padding: 50px 50px;
	box-sizing: border-box;
}

/* left column */
.dm-left {
	/* 	width: 320px;
	min-width: 220px; */
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 8px;
}
.dm-avatar-wrap {
	width: 190px;
	height: 190px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dm-avatar {
	width: 190px;
	height: 190px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

/* name & role */
.dm-name {
	margin-top: 18px;
	font-size: 16px;
	font-weight: 500;
	color: #D8E3F5;
	line-height: normal;
}
.dm-role {
	font-family: Montserrat;
	margin-top: 6px;
	font-size: 10px;
	color: #BD8D42;
	font-weight: 400;
	max-width: 150px;
	width: 100%;
	line-height: normal;
}

/* divider */
.dm-divider {
	width: 1px;
	background: rgba(255, 255, 255, 0.04);
	margin: 6px 0 6px 0;
	align-self: stretch;
}

/* right content */
.dm-right {
	flex: 1;
	overflow: auto;
	padding-right: 6px;
	color: var(--dm-text);
	font-size: 14px;
	line-height: 1.8;
	max-height: 371px;
	overflow-y: scroll;
	scrollbar-width: none;
}
.dm-right h4 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--dm-text);
	font-weight: 700;
}
.dm-right p {
	margin: 0 0 20px 0;
	color: var(--dm-muted);
}

@media (max-width: 900px) {
	.dm-inner {
		flex-direction: column;
		padding: 28px;
	}
	.dm-left {
		width: 100%;
		flex-direction: row;
		gap: 16px;
		align-items: center;
		text-align: left;
		padding-top: 0;
	}
	.dm-avatar-wrap {
		width: 96px;
		height: 96px;
	}
	.dm-avatar {
		width: 80px;
		height: 80px;
	}
	.dm-divider {
		display: none;
	}
	.dm-right {
		padding-top: 8px;
	}
	.dm-modal {
		max-height: 70vh;
		overflow-y: scroll;
	}
	.dm-name {
		margin-top: 0 !important;
	}
}

.popup-hidden {
	display: none !important;
}

/* ------------------------------------------------------------ */

/* WHAT WE DO */

.service-panel p:not(.service-panel__sub-heading) {
	color: #D8E3F5;
}

.service-panel__sub-heading {
	font-style: italic;
	font-size: 15px;
}

.service-link {
	cursor: pointer;
	padding: 0 !important;
}

.service-link.is-active p {
	color: #BD8D42 !important;
}

/* container */
.service-panels {
	position: relative;
	min-height: 260px;
	/* 	overflow-y: scroll;
	scrollbar-width: thin;
	scrollbar-color: #fff #030b12;
	scrollbar-button: #000;
	::-webkit-scrollbar-width: thin;
	::-webkit-scrollbar-color: #fff #030b12;
	::-webkit-scrollbar-button: #000; */
}

/* base: stacked panels */
.service-panel {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 380ms ease;
	box-sizing: border-box;
	z-index: 1;
}

@media (max-width: 980px) {
	.service-panel {
		overflow-y: scroll;
	}
}

/* panel that is "in the document" (participates) */
.service-panel.is-active {
	visibility: visible;
	pointer-events: auto;
}

/* visible state (opaque) */
.service-panel.is-visible {
	opacity: 1;
	visibility: visible;
}

/* z-index helpers so incoming sits above outgoing */
.service-panel.is-incoming { z-index: 3; }
.service-panel.is-outgoing { z-index: 2; }

/* Link active style (adjust to match your theme) */
.service-link {
	display: block;
	padding: 10px 0;
	color: #ddd;
	text-decoration: none;
}
.service-link.is-active {
	color: #f3c64b; /* example highlight color */
	font-weight: 600;
}

.service-link.is-active::before {
	content: url(/wp-content/uploads/2026/04/Arrow.svg);
	position: absolute;
	left: -30px;
}

/* ------------------------------------------------------------ */

/* CASE STUDIES */

.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item h2.et_pb_module_header {
	margin-top: 20px !important;
}

.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item h2.et_pb_module_header a::after {
	content: 'VIEW DETAILS';
	font-size: 14px;
	color: #BD8D42;
	font-family: Montserrat;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.68px;
	display: block;
	margin-top: 20px;
}

/* ------------------------------------------------------------ */

/* CONTACT POPUP */

@media (min-width: 981px) {
	.pin-spacer:has(> #custom-contact-popup) {
		position: fixed !important;
		pointer-events: none !important;
	}

	.pin-spacer:has(> #custom-contact-popup.show-modal) {
		pointer-events: all !important;
	}

	#custom-contact-popup {
		width: 100vw !important;
		height: 100vh !important;
		max-width: unset !important;
		max-height: unset !important;
	}
}

.et_pb_section_0_tb_header:has(#custom-contact-popup) {
	z-index: 9;
}

/* 1. Modal Overlay Background (UPDATED FOR FADE EFFECT) */
#custom-contact-popup {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 999999;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	height: 100%;
}

/* New class to trigger the fade in */
#custom-contact-popup.show-modal {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

/* 2. Main Popup Box */
.popup-content {
	background-color: #0B161D;
	width: 90%;
	max-width: 1000px;
	/* 	max-height: 80vh;
	height: 100%; */
	padding: 100px;
	position: relative;
	border-radius: 6px;
	box-shadow: 0 15px 40px rgba(0,0,0,0.6);
	box-sizing: border-box;
}

/* 3. Close Button (X) */
.close-btn {
	position: absolute;
	top: 25px;
	right: 30px;
	color: #4a5a68;
	font-size: 32px;
	font-weight: 300;
	cursor: pointer;
	line-height: 1;
	transition: color 0.3s ease;
}
.close-btn:hover { color: #ffffff; }

/* 4. Typography */
.popup-content h2 {
	color: #D8E3F5;
	font-family: Montserrat;
	font-size: 50px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-top: 0;
	margin-bottom: 35px;
}
.popup-content h2 strong {
	font-weight: 600;
}

/* 5. Mobile Responsiveness */
@media (max-width: 768px) {
	.popup-content { padding: 40px 25px; }

	.cf7-custom-grid p span:last-child {
		grid-column: 1/2 !important;
		grid-row: 2/3 !important;
	}

	#custom-contact-popup .wpcf7-form-control.wpcf7-text,
	#custom-contact-popup .wpcf7-form-control.wpcf7-textarea {
		margin-bottom: 5px !important;
	}

	.popup-content h2 {
		font-size: 30px !important;
	}
}

/* 6. Basic CF7 Styling overrides */
#custom-contact-popup .wpcf7-form-control.wpcf7-text,
#custom-contact-popup .wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 15px;
	border-radius: 3px;
	border: none;
	background: #fff;
	margin-bottom: 20px;
}
#custom-contact-popup .wpcf7-submit {
	background-color: #BD8D42;
	color: #ffffff;
	border: 1px solid #BD8D42;
	padding: 16px 45px;
	font-size: 16px;
	border-radius: 3px;
	letter-spacing: -0.657px;
	line-height: normal;
	cursor: pointer;
	transition: all 0.3s ease;
}
#custom-contact-popup .wpcf7-submit:hover { background-color: #01141C; color: #BD8D42; }

/* CONTACT FORM POPUP */

/* --- CF7 Custom Grid Layout --- */
.cf7-custom-grid p {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
}
.cf7-custom-grid p span:first-child {
	grid-column: 1/2;
	grid-row: 1/2;
}
.cf7-custom-grid p span:last-child {
	grid-column: 2/3;
	grid-row: 1/2;
}
/* .cf7-full-width {
margin-bottom: 20px;
} */

/* --- CF7 Footer Layout (Checkbox + Button) --- */
.cf7-form-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	column-gap: 150px;
}
.cf7-consent {
	max-width: 70%;
	color: #ffffff;
	font-size: 13px;
	line-height: 1.4;
}

/* Clean up default CF7 checkbox styling */
.cf7-consent .wpcf7-list-item { 
	margin: 0; 
}
.cf7-consent input[type="checkbox"] {
	margin-right: 10px;
	cursor: pointer;
}

label:has([name="your-consent"]) {
	display: flex;
	align-items: flex-start;
}

.cf7-submit p {
	text-align: right;
}

.wpcf7-acceptance .wpcf7-list-item-label {
	color: #FFF;
	font-family: Montserrat;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.657px;
	display: inline-flex;
}

.wpcf7-not-valid-tip {
	position: absolute;
	bottom: 0;
}

input::placeholder,
textarea::placeholder,
input,
textarea {
	color: #06293D;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.657px;
}

input:focus::placeholder,
textarea:focus::placeholder {
	opacity: 0.5;
}

/* --- Mobile Responsiveness for the Form --- */
@media (max-width: 767px) {
	.cf7-custom-grid p { 
		grid-template-columns: 1fr; 
		gap: 15px; 
	}
	.cf7-form-footer { 
		flex-direction: column; 
		align-items: stretch; 
	}
	.cf7-consent { 
		max-width: 100%; 
		margin-bottom: 15px; 
	}
	#custom-contact-popup .wpcf7-submit {
		width: 100%;
	}

	/* 1. The Viewport: Hide overflow and allow vertical page scrolling */
	.mobile-peek-carousel .et_pb_ajax_pagination_container {
		overflow: hidden !important; 
		touch-action: pan-y; /* Crucial: allows users to still scroll down the page */
		width: 100%;
	}

	/* 2. The Track: Allow it to stretch past the screen width */
	.mobile-peek-carousel .et_pb_posts.et_grid_module {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 15px;
		width: max-content !important; 
		position: relative; /* Ensures our JS coordinates are accurate */
	}

	/* 3. The Cards: Keep the 85% peek width */
	.mobile-peek-carousel .et_pb_post {
		flex: 0 0 80vw !important; /* Using vw ensures consistent math */
		width: 80vw !important;
		margin-bottom: 0 !important; 
	}

	/* 1. The Viewport */
	.portfolio-peek-carousel .et_pb_ajax_pagination_container {
		overflow: hidden !important; 
		touch-action: pan-y; 
		width: 100%;
	}

	/* 2. The Track */
	.portfolio-peek-carousel .et_pb_posts.et_grid_module {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 15px;
		width: max-content !important; 
		position: relative; 
	}

	/* 3. The Portfolio Cards */
	.portfolio-peek-carousel .et_pb_portfolio_item {
		flex: 0 0 80vw !important; 
		width: 80vw !important;
		margin-bottom: 0 !important; 
	}

	.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item h2.et_pb_module_header a::after {
		font-size: 12px !important;
	}
}

/* ------------------------------------------------------------ */

/* MEDIA QUERIES */

@media (min-width: 981px) and (max-width: 1180px) {
	.et_pb_row_1_tb_header {
		column-gap: 0%;
	}

	.et_pb_row_1_tb_header > .et_pb_column:first-child {
		width: calc(74% - var(--horizontal-gap-parent, 5.5%)*0.4) !important;
	}

	.et_pb_row_1_tb_header > .et_pb_column:last-child {
		width: calc(38% - var(--horizontal-gap-parent, 5.5%)*0.4) !important;
	}

	#MainMenu .et_pb_menu__logo-wrap {
		max-width: 150px;
	}

	.et-l--header.et-l--header .et_pb_button,
	.et-l--header.et-l--header .et_pb_button:hover {
		padding: 5px 20px !important;
	}

	#HomeHero {
		padding-left: 48px;
	}
}

@media (min-width: 981px) {
	.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(6n + 1) {
		margin-top: 30px;
	}

	.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(6n + 2) {
		margin-top: 70px;
	}

	.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(6n + 3) {
		margin-top: 0;
	}

	.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(6n + 4) {
		margin-top: 0;
	}

	.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(6n + 5) {
		margin-top: 20px;
	}

	.et_pb_portfolio_0.et_pb_portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(6n + 6) {
		margin-top: 30px;
	}
}

@media (max-width: 980px) {
	#mobile_menu2 {
		display: block !important;
		position: fixed;
		left: auto;
		right: -100%;
		top: 80px;
		height: calc(100vh - 80px) !important;
		width: 100%;
		transition: right .3s ease;		
	}

	#mobile_menu2::after {
		content: '';
		background: url(https://1848founderscapital.com/wp-content/uploads/2026/04/10.webp);
		background-size: contain;
		background-position: bottom right;
		background-repeat: no-repeat;
		display: block;
		width: 100%;
		height: 100%;
		position: absolute;
		bottom: 0;
		right: 0;
		filter: opacity(0.5);
		pointer-events: none;
	}

	#mobile_menu2 a {
		font-size: 24px;
	}

	.mobile_nav.opened #mobile_menu2 {
		right: 1px;
		transition: right .3s ease;
	}

	.mobile_menu_bar:has(+ #mobile_menu2) {
		z-index: 99999;
	}

	.mobile_menu_bar:has(+ #mobile_menu2)::after {
		content: "M";
		font-family: ETmodules !important;
		font-size: 32px;
		color: #fff;
		line-height: 1;
		position: absolute;
		top: 2px;
		left: 0;
		cursor: pointer;
	}

	.mobile_nav.closed .mobile_menu_bar:has(+ #mobile_menu2)::after,
	.mobile_nav.opened .mobile_menu_bar:has(+ #mobile_menu2)::before {
		opacity: 0;
		pointer-events: none;
		transition: all .3s ease;
	}

	.mobile_nav.opened .mobile_menu_bar:has(+ #mobile_menu2)::after,
	.mobile_nav.closed .mobile_menu_bar:has(+ #mobile_menu2)::before {
		opacity: 1;
		pointer-events: all;
		transition: all .3s ease;
	}

	#mobile_menu2 li {
		transform: translatey(100%);
	}
}

@media (max-width: 768px) {
	#HomeBlog .et_pb_posts.et_grid_module {
		display: flex;
		justify-content: flex-start;
		overflow-x: scroll;
	}

	#HomeBlog article {
		flex: 0 0 100%;
	}
}

/* ------------------------------------------------------------ */


