/* ==========================================================================
   EchoFeel Header & Footer
   Matches https://echofeel.com/ — navy #26276a, accent #857eb0, bar #25294b
   ========================================================================== */

.ef-header,
.ef-footer {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ef-header *,
.ef-footer * {
	box-sizing: border-box;
}

.ef-container {
	width: 85%;
	max-width: 85%;
	margin: 0 auto;
	padding: 0;
}

.wp-site-blocks {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.wp-site-blocks > .site-header:first-child,
header.site-header,
.ef-header {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.site-header,
header.wp-block-template-part,
.wp-block-html {
	overflow: visible !important;
}

/* Header — top bar */
.ef-header {
	position: relative;
	z-index: 1000;
}

.ef-header-top {
	background: #26276a;
	color: #f1f1f1;
	font-size: 13px;
}

.ef-header-top .ef-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.ef-header-top ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.ef-top-contact li {
	margin-right: 18px;
}

.ef-top-contact a {
	color: #f1f1f1;
	text-decoration: none;
	padding: 12px 0;
	display: inline-block;
	font-size: 13px;
}

.ef-top-contact a i {
	margin-right: 6px;
}

.ef-top-social li {
	margin-left: 10px;
	padding: 10px 3px;
}

.ef-top-social a {
	color: #fff;
	font-size: 18px;
	text-decoration: none;
	transition: color .2s ease;
}

.ef-top-contact a:hover,
.ef-top-social a:hover {
	color: #857eb0;
}

/* Header — main bar */
.ef-header-main {
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
	position: relative;
	z-index: 1000;
	overflow: visible;
}

.ef-header-main .ef-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	position: static;
	overflow: visible;
}

.ef-logo {
	margin: 10px 0;
	display: inline-block;
	flex-shrink: 0;
}

.ef-logo img {
	width: 180px;
	max-width: 100%;
	height: auto;
	display: block;
}

/* Navigation */
.ef-nav {
	position: static;
	overflow: visible;
}

.ef-nav ul.ef-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	position: static;
	overflow: visible;
}

.ef-nav ul.ef-menu > li {
	position: relative;
}

.ef-nav ul.ef-menu > li.ef-has-mega {
	position: static;
}

.ef-mega-trigger {
	display: inline-flex;
	align-items: center;
	padding: 26px 15px;
}

.ef-nav ul.ef-menu > li > a {
	display: block;
	padding: 26px 15px;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 15px;
	color: #333;
	text-decoration: none;
	transition: color .5s ease;
}

.ef-mega-trigger > a {
	display: inline-block;
	padding: 0;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 15px;
	color: #333;
	text-decoration: none;
	transition: color .5s ease;
}

.ef-nav ul.ef-menu > li > a:hover,
.ef-nav ul.ef-menu > li.active > a,
.ef-nav ul.ef-menu > li.ef-has-mega:hover > .ef-mega-trigger > a {
	color: #26276a;
}

.ef-nav ul.ef-menu > li > a i {
	margin-left: 5px;
	font-size: 12px;
}

.ef-mega-toggle {
	background: none;
	border: 0;
	padding: 0;
	margin-left: 5px;
	cursor: pointer;
	color: #333;
	font-size: 12px;
	vertical-align: middle;
	transition: color .5s ease, transform .25s ease;
}

.ef-nav ul.ef-menu > li.ef-has-mega:hover .ef-mega-toggle,
.ef-nav ul.ef-menu > li.ef-has-mega.ef-mega-open .ef-mega-toggle {
	color: #26276a;
}

.ef-nav ul.ef-menu > li.ef-has-mega:hover .ef-mega-toggle i,
.ef-nav ul.ef-menu > li.ef-has-mega.ef-mega-open .ef-mega-toggle i {
	transform: rotate(180deg);
}

.ef-mega-toggle i {
	margin-left: 0;
}

/* Mega menu — matches echofeel.com .mega-menu.column-2 */
.ef-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	background: #fff;
	border: 1px solid #ddd;
	border-top: 2px solid #26276a;
	border-left: 5px solid #26276a;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
	padding: 20px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .5s ease, visibility .5s ease, transform .5s ease;
	z-index: 1001;
	pointer-events: none;
}

.ef-mega::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}

.ef-nav li.ef-has-mega:hover > .ef-mega,
.ef-nav li.ef-has-mega.ef-mega-open > .ef-mega,
.ef-mega:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.ef-mega-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	width: 85%;
	max-width: 85%;
	margin: 0 auto;
	padding: 0;
}

.ef-mega-image {
	padding: 0 15px 0 0;
}

.ef-mega-image a {
	display: block;
	height: 100%;
	overflow: hidden;
}

.ef-mega-image img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	display: block;
	object-fit: cover;
	margin-bottom: 0;
}

.ef-mega-links {
	min-width: 0;
	width: 100%;
	padding: 0 0 0 15px;
}

.ef-mega-links h3 {
	margin: 0 0 15px;
	font-size: 17px;
	color: #26276a;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0;
}

.ef-mega-list {
	display: block;
	width: 100%;
}

.ef-mega-list p {
	display: flex;
	align-items: flex-start;
	margin: 0 0 7px;
	padding: 0;
	line-height: 24px;
}

.ef-mega-icon {
	flex-shrink: 0;
	font-size: 18px;
	font-weight: normal;
	line-height: 24px;
	color: #857eb0;
	margin-right: 5px;
}

.ef-mega-icon i {
	color: #857eb0;
	font-size: 18px;
	line-height: 24px;
	transition: color .3s ease;
}

.ef-mega-list a {
	font-size: 17px;
	font-weight: 400;
	color: #333;
	text-decoration: none;
	transition: color .3s ease;
	line-height: 24px;
}

.ef-mega-list p:hover a {
	color: #26276a;
}

.ef-mega-list p:hover .ef-mega-icon,
.ef-mega-list p:hover .ef-mega-icon i {
	color: #26276a;
}

.ef-nav-toggle {
	display: none;
	background: none;
	border: 0;
	font-size: 26px;
	color: #26276a;
	cursor: pointer;
	padding: 10px;
}

/* Footer */
.ef-footer {
	position: relative;
	z-index: 1;
}

.ef-footer-top {
	background: #ffffff;
	border-top: 1px solid #b7b7b7;
	padding: 80px 0 60px;
	color: #000;
}

.ef-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}

.ef-footer-col h4 {
	color: #000;
	font-size: 18px;
	margin: 0 0 35px;
	position: relative;
	text-transform: uppercase;
	font-weight: 600;
}

.ef-footer-col h4::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -12px;
	height: 1px;
	width: 60px;
	background: #666;
}

.ef-footer-col h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -13px;
	height: 3px;
	width: 30px;
	background: #2e325d;
}

.ef-footer-logo {
	margin-bottom: 20px;
	display: inline-block;
}

.ef-footer-logo img {
	width: 220px;
	max-width: 100%;
	height: auto;
}

.ef-footer-col p {
	color: #000;
	font-size: 16px;
	line-height: 26px;
	margin: 0 0 15px;
}

.ef-footer-address {
	list-style: none;
	margin: 15px 0;
	padding: 0;
}

.ef-footer-address li {
	margin: 5px 0;
}

.ef-footer-address a {
	color: #000;
	text-decoration: none;
	font-size: 16px;
}

.ef-footer-address a i {
	margin-right: 8px;
	color: #26276a;
}

.ef-footer-address a:hover {
	color: #857eb0;
}

.ef-iso-logo {
	margin-top: 20px;
}

.ef-iso-logo h4 {
	font-size: 18px;
	background: #f6f6f6;
	padding: 10px;
	margin: 0 0 12px;
	border-bottom: 1px solid #22256a;
	text-transform: none;
}

.ef-iso-logo h4::before,
.ef-iso-logo h4::after {
	display: none;
}

.ef-iso-logo img {
	width: 100%;
	max-width: 400px;
	height: auto;
}

.ef-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ef-footer-links li {
	border-bottom: 1px dashed #666;
}

.ef-footer-links li:last-child {
	border-bottom: none;
}

.ef-footer-links a {
	color: #000;
	display: inline-block;
	margin: 10px 0;
	font-size: 16px;
	text-decoration: none;
}

.ef-footer-links a i {
	margin-right: 6px;
	color: #857eb0;
}

.ef-footer-links a:hover {
	color: #857eb0;
}

.ef-social {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.ef-social li {
	margin: 0 5px 5px 0;
}

.ef-social a {
	border: 1px solid #ddd;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	height: 40px;
	width: 40px;
	color: #26276a;
	text-decoration: none;
	transition: all .2s ease;
}

.ef-social a:hover {
	border-color: #857eb0;
	color: #857eb0;
}

.ef-whatsapp img {
	width: 200px;
	max-width: 100%;
	height: auto;
}

.ef-footer-bottom {
	background: #25294b;
	text-align: center;
}

.ef-footer-bottom p {
	color: #ccc;
	line-height: 60px;
	margin: 0;
	font-size: 16px;
}

@media (max-width: 991px) {
	.ef-container {
		width: 92%;
		max-width: 92%;
	}

	.ef-mega-inner {
		width: 92%;
		max-width: 92%;
		grid-template-columns: 1fr;
	}

	.ef-footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ef-footer-col:first-child {
		grid-column: 1 / -1;
	}

	.ef-mega-image {
		padding-right: 0;
		padding-bottom: 20px;
	}

	.ef-mega-links {
		padding-left: 0;
		border-left: none;
	}
}

@media (max-width: 767px) {
	.ef-container {
		width: 100%;
		max-width: 100%;
		padding: 0 15px;
	}

	.ef-mega-inner {
		width: 100%;
		max-width: 100%;
	}

	.ef-nav-toggle {
		display: inline-block;
	}

	.ef-nav {
		flex-basis: 100%;
	}

	.ef-nav ul.ef-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding-bottom: 15px;
	}

	.ef-nav.ef-open ul.ef-menu {
		display: flex;
	}

	.ef-mega-trigger {
		display: flex;
		width: 100%;
		padding: 12px 5px;
		border-top: 1px solid #eee;
	}

	.ef-mega-trigger > a {
		flex: 1;
	}

	.ef-nav ul.ef-menu > li > a {
		padding: 12px 5px;
		border-top: 1px solid #eee;
	}

	.ef-mega {
		position: static;
		left: auto;
		width: 100%;
		max-width: none;
		margin-left: 0;
		transform: none;
		border: none;
		box-shadow: none;
		padding: 0 0 0 15px;
		max-height: 0;
		overflow: hidden;
		opacity: 1;
		visibility: hidden;
		transition: max-height .3s ease;
		pointer-events: auto;
	}

	.ef-nav li.ef-has-mega.ef-mega-open > .ef-mega {
		visibility: visible;
		max-height: 1200px;
	}

	.ef-mega-inner {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.ef-mega-image {
		display: none;
	}

	.ef-mega-links {
		padding: 0;
		border-left: none;
	}

	.ef-footer-grid {
		grid-template-columns: 1fr;
	}

	.ef-header-top .ef-container {
		justify-content: center;
		text-align: center;
	}

	.ef-top-contact,
	.ef-top-social {
		justify-content: center;
	}
}
