/* Footer legacy styles — used by footer.php */

/* === Footer contact block (logo + address) === */
.footer-contact-block {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-contact-logo {
	max-width: 160px;
	height: auto;
}

.footer-contact-list {
	list-style: none;
	margin-top: 10px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--white-color);
}

.footer-contact-icon {
	max-width: 20px;
	max-height: 20px;
	flex-shrink: 0;
	margin-top: 3px;
}

.puzzle-container {
	max-width: 1920px;
	width: 100%;
	padding: 0 60px;
	margin: 0 auto;
}

.site-footer {
	background: linear-gradient(90deg, rgba(235, 150, 77, 0) 0%, rgba(235, 150, 77, 0.3) 24.53%, rgba(127, 16, 3, 0.3) 50%, rgba(91, 144, 222, 0.3) 75%, rgba(91, 144, 222, 0) 100%);
	border: 2px solid transparent;
	border-left: 0;
	border-right: 0;

	border-image: linear-gradient(90deg,
			rgba(235, 150, 77, 0),
			#EB964D 24.53%,
			#7F1003 50%,
			#5B90DE 75%,
			rgba(91, 144, 222, 0)) 1;
}

.site-footer .footer-top {
	padding: 50px 0 50px;
}

.site-footer .footerlogoWrap {
	background-color: var(--black-third-color);
	text-align: center;
	color: var(--white-color);
	font-size: 1.4rem;
	line-height: 1.8rem;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 35px;
}

.site-footer .footerlogoWrap .content {
	color: var(--green-second-color);
	padding-top: 7px;
	font-size: 1.125rem;
	line-height: 1.8rem;
}

.site-footer .footer-menu h2 {
	font-family: 'OpenSans-Regular';
	font-size: 1.375rem;
	line-height: 2rem;
	position: relative;
	text-transform: capitalize;
	margin-bottom: 48px;
	color: var(--white-color);
	display: flex;
	align-items: center;
}

.site-footer .footer-menu h2:after {
	content: "";
	background: var(--white-color);
	width: 35px;
	height: 3px;
	display: inline-block;
	position: absolute;
	left: 0;
	right: auto;
	bottom: -15px;
}

.site-footer .footer-menu h2 .bx {
	display: none;
}

.site-footer .footer-menu .footer-blog ul {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.site-footer .footer-menu .footer-blog ul li {
	padding-bottom: 0;
}

.site-footer .footer-menu ul {
	padding: 0;
	margin: 0;
}

/* .site-footer .footer-menu ul.menu {
	display: flex;
	flex-wrap: wrap;
} */

.site-footer .footer-menu ul li {
	list-style-type: none;
	padding-bottom: 18px;
}

/* 
.site-footer .footer-menu ul.menu li {
	width: 50%;
} */

.site-footer .footer-menu ul li:last-child {
	padding-bottom: 0;
}

.site-footer .footer-menu ul li a {
	text-decoration: none;
	font-size: 1.125rem;
	line-height: 1.8rem;
	color: var(--white-color);
	letter-spacing: 0;
	transition: color 0.22s ease, letter-spacing 0.22s ease, text-shadow 0.22s ease;
}

.site-footer .footer-menu ul li a:hover {
	color: #EB964D;
	letter-spacing: 0.05em;
	text-shadow: 0 0 8px rgba(235, 150, 77, 0.6), 0 0 20px rgba(235, 150, 77, 0.22);
}

.site-footer .footer-menu ul li.current-menu-item a {
	color: #EB964D;
}

.site-footer .socialMenuWrap ul.socialMenu {
	margin: 0;
	padding: 0;
}

.site-footer .socialMenuWrap ul.socialMenu li {
	list-style-type: none;
	padding-bottom: 21px;
}

.site-footer .socialMenuWrap ul.socialMenu li a {
	display: flex;
	align-items: center;
}

.site-footer .socialMenuWrap ul.socialMenu li:last-child {
	padding-bottom: 0;
}

.site-footer .socialMenuWrap ul.socialMenu li a {
	text-decoration: none;
	font-size: 1.125rem;
	line-height: 1.8rem;
	color: var(--white-color);
	letter-spacing: 0;
	transition: color 0.22s ease, letter-spacing 0.22s ease, text-shadow 0.22s ease;
}

.site-footer .socialMenuWrap ul.socialMenu li a span.imgs {
	width: 30px;
	height: 30px;
	padding-left: 0;
}

.site-footer .socialMenuWrap ul.socialMenu li a span.imgs img {
	width: 100%;
	height: 100%;
	transition: transform 0.25s ease, filter 0.25s ease;
}

.site-footer .socialMenuWrap ul.socialMenu li a:hover span.imgs img {
	transform: scale(1.22);
	filter: brightness(1.2) drop-shadow(0 0 5px rgba(235, 150, 77, 0.55));
}

.site-footer .socialMenuWrap ul.socialMenu li a:hover {
	color: #EB964D;
	letter-spacing: 0.05em;
	text-shadow: 0 0 8px rgba(235, 150, 77, 0.6), 0 0 20px rgba(235, 150, 77, 0.22);
}

.site-footer .socialMenuWrap ul.socialMenu li a span {
	padding-left: 10px;
	width: calc(100% - 30px);
	text-align: left;
}

.site-footer .footer-bottom {
	padding: 21px 0;
	border-top: 1px solid var(--border-color);
}

.site-footer .footer-bottom .copy-right {
	display: flex;
	gap: 10px;
	align-items: center;
}

.site-footer .footer-bottom .copy-right img {
	height: 40px;
}

.site-footer .copy-right .content {
	font-size: 1rem;
	line-height: 19.2px;
	color: var(--white-color);
	background: var(--light-black-bg);
	border: 1px solid var(--white-transparent-color);
	padding: 7px 9px;
	border-radius: 10px;
}

.site-footer .footer-bottom .menu-select-footer-menu-container .menu {
	margin: 0;
	padding-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.site-footer .footer-bottom .menu-select-footer-menu-container .menu li {
	list-style-type: none;
	padding-bottom: 0;
}

.site-footer .footer-bottom .menu-select-footer-menu-container .menu li a {
	font-weight: 400;
	font-size: 1rem;
	line-height: 19.2px;
	color: var(--white-color);
	padding: 0 9px;
	text-decoration: none;
	border-right: 1px solid var(--white-color);
	letter-spacing: 0;
	transition: color 0.22s ease, letter-spacing 0.22s ease, text-shadow 0.22s ease;
}

.site-footer .footer-bottom .menu-select-footer-menu-container .menu li a:hover {
	color: #EB964D;
	letter-spacing: 0.05em;
	text-shadow: 0 0 8px rgba(235, 150, 77, 0.6), 0 0 20px rgba(235, 150, 77, 0.22);
}

.site-footer .footer-bottom .menu-select-footer-menu-container .menu li:last-child a {
	border-right: none !important;
}

.site-footer .footer-bottom .menu-footer-links-container .menu li:first-child a {
	padding-left: 0;
	border-right: 1px solid var(--white-color);
}

.site-footer .footer-bottom .menu-footer-links-container .menu li:last-child a {
	padding-right: 0;
}

.site-footer .footer-bottom .menu-footer-links-container .menu li a {
	letter-spacing: 0;
	transition: color 0.22s ease, letter-spacing 0.22s ease, text-shadow 0.22s ease;
}

.site-footer .footer-bottom .menu-footer-links-container .menu li a:hover {
	color: #EB964D;
	letter-spacing: 0.05em;
	text-shadow: 0 0 8px rgba(235, 150, 77, 0.6), 0 0 20px rgba(235, 150, 77, 0.22);
}

.site-footer .footer-bottom .menu-footer-links-container .menu li.current-menu-item a {
	color: #EB964D;
}

@media(max-width: 1440px) {
	.site-footer .footer-menu h2 {
		font-size: 1.25rem;
		line-height: 1.5rem;
	}
}

@media(max-width: 1199px) {

	.puzzle-container {
		padding: 0 40px;
	}

	.footer-contact-block {
		gap: 16px;
	}

	.footer-contact-list {
		gap: 16px;
	}

	.site-footer .footer-menu-wrap,
	.site-footer .footer-menu.socialMenuWrap {
		padding-top: 50px;
	}

	.site-footer .socialMenuWrap ul.socialMenu li {
		padding-bottom: 15px;
	}

	.site-footer .footer-menu h2 {
		font-size: 1.125rem;
		line-height: 1.2px;
		margin-bottom: 30px;
	}

	.site-footer .socialMenuWrap ul.socialMenu {
		justify-content: center;
	}

	.site-footer .footer-bottom {
		padding: 16px 0;
	}

	.site-footer .footer-menu ul li {
		padding-bottom: 12px;
	}

	.site-footer .footer-menu ul li a {
		font-size: 1rem;
		line-height: 24px;
	}

	.site-footer .socialMenuWrap ul.socialMenu li a {
		font-size: 1rem;
		line-height: 24px;
	}

}

@media(max-width: 991px) {
	.puzzle-container {
		padding: 0 24px;
	}

	/* Contact block — add bottom separator so it reads as its own section when stacked */
	.footer-contact-block {
		/* padding-bottom: 15px; */
		/* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
		/* margin-bottom: 10px; */
	}

	.footer-contact-item {
		font-size: 0.95rem;
	}

	.site-footer .footer-menu h2 {
		font-size: 0.9rem;
		line-height: 1.4rem;
	}

	.site-footer .copy-right .content {
		font-size: 0.9rem;
		line-height: 22px;
	}

	.site-footer .footer-bottom .menu-footer-links-container .menu li a {
		font-size: 0.9rem;
		line-height: 22px;
	}

	.site-footer .footer-top {
		padding: 30px 0 30px;
	}

	.site-footer .footer-menu-wrap {
		padding-top: 0px;
	}

	.site-footer .footer-menu-wrap .footer-menu {
		padding-top: 15px;
	}

	.site-footer .footer-menu {
		width: 100% !important;
	}

	.site-footer .footer-menu.socialMenuWrap {
		width: 100% !important;
		padding-top: 0;
		margin: 0;
	}

	.site-footer .footer-menu.socialMenuWrap ul {
		margin: 10px 0 0px;
	}

	/* Accordion item — themed card */
	.site-footer .footer-menu-wrap .footer-menu {
		background: rgba(255, 255, 255, 0.03);
		border: 1px solid rgba(255, 255, 255, 0.07);
		border-radius: 8px;
		margin-bottom: 10px;
		padding: 0 !important;
		overflow: hidden;
	}

	.site-footer .footer-menu h2 {
		border-bottom: none;
		margin: 0;
		padding: 13px 14px;
		background: transparent;
		cursor: pointer;
	}

	.site-footer .footer-menu.active h2 {
		background: rgba(235, 150, 77, 0.06);
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	.site-footer .footer-menu h2:after {
		content: unset;
	}

	.site-footer .footer-menu h2 .bx {
		display: inline-flex;
		margin-left: auto;
		transition: transform 0.3s ease;
		color: rgba(255, 255, 255, 0.5);
	}

	.site-footer .footer-menu.active h2 .bx {
		transform: rotate(180deg);
		color: #EB964D;
	}

	.site-footer .footer-menu>div,
	.site-footer .footer-menu .socialMenu {
		display: none;
	}

	.site-footer .footer-menu.active>div {
		display: block;
		padding: 10px 14px !important;
		background: rgba(4, 5, 9, 0.35);
		animation: ftSlideDown 0.25s ease;
	}

	@keyframes ftSlideDown {
		from { opacity: 0; transform: translateY(-6px); }
		to   { opacity: 1; transform: translateY(0); }
	}

	.menu-select-footer-menu-container {
		display: block !important;
	}

	.footer-bottom .footer-menu {
		width: 50% !important;
	}

	.site-footer .footer-menu ul {
		margin: 0;
	}

	.site-footer .footer-bottom {
		padding: 14px 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-footer .footer-menu.active .socialMenu {
		display: block;
	}

	.site-footer .copy-right .content {
		text-align: center;
		padding-bottom: 5px;
	}

	.site-footer .footer-bottom .menu-footer-links-container .menu {
		justify-content: center;
	}
}

@media(max-width: 767px) {

	.puzzle-container {
		padding: 0 16px;
	}

	.footer-contact-item {
		font-size: 0.875rem;
		gap: 10px;
	}

	/* Footer bottom — stack vertically, center everything */
	.site-footer .footer-bottom {
		padding: 16px 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-footer .footer-bottom .row {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.site-footer .footer-bottom .col-md-6 {
		width: 100% !important;
		text-align: center;
	}

	/* Copyright — remove the bordered box, keep it as simple text */
	.site-footer .footer-bottom .copy-right {
		justify-content: center;
	}

	.site-footer .copy-right .content {
		background: transparent;
		border: none;
		padding: 0;
		border-radius: 0;
		font-size: 0.8rem;
		text-align: center;
		color: rgba(255, 255, 255, 0.65);
	}

	/* Footer bottom menu links — center and wrap */
	.footer-bottom .footer-menu {
		width: 100% !important;
	}

	.site-footer .footer-bottom .menu-select-footer-menu-container .menu,
	.site-footer .footer-bottom .menu-footer-links-container .menu {
		justify-content: center;
		flex-wrap: wrap;
		gap: 4px 0;
		margin-top: 0;
	}

	.site-footer .footer-bottom .menu-select-footer-menu-container .menu li a,
	.site-footer .footer-bottom .menu-footer-links-container .menu li a {
		font-size: 0.8rem;
		padding: 0 8px;
	}
}

@media(max-width: 480px) {

	.puzzle-container {
		padding: 0 12px;
	}

	.footer-contact-logo {
		max-width: 120px;
	}

	.footer-contact-item {
		font-size: 0.8rem;
	}

	.footer-contact-icon {
		max-width: 16px;
		max-height: 16px;
	}

	.site-footer .footer-top {
		padding: 20px 10px;
	}

	.site-footer .footer-menu ul li a {
		font-size: 0.875rem;
	}

	.site-footer .footer-bottom {
		padding: 12px 0;
	}
}