/*
Theme Name: Zerif Lite Child
Theme URI: https://www.soenal.de/
Description: Child theme for Zerif Lite with custom footer improvements.
Author: Soenal
Template: zerif-lite
Version: 1.0.0
Text Domain: zerif-lite-child
*/

/* Improved footer layout and readability */
#footer {
	background: linear-gradient(90deg, #2f3337 0%, #1f2226 70%, #191b1f 100%);
	line-height: 1.45;
	padding: 44px 0;
}

#footer .company-details,
#footer .copyright {
	padding-top: 18px;
	padding-bottom: 18px;
}

#footer .company-details {
	color: #d8dee6;
}

#footer .company-details .icon-top {
	margin-bottom: 12px;
}

#footer .company-details .icon-top a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #f2f7fb;
	border: 1px solid #c8d9e6;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#footer .company-details .icon-top img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	opacity: 1;
}

#footer .company-details a,
#footer .company-details .zerif-footer-address,
#footer .company-details .zerif-footer-email,
#footer .company-details .zerif-footer-phone {
	color: #edf3f9;
	font-size: 17px;
	line-height: 1.6;
}

#footer .company-details a:hover {
	color: #90cdf4;
}

#footer .copyright {
	background: #191b1f;
	text-align: left;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	padding-left: 24px;
}

#footer #zerif-copyright {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
	color: #d8dee6;
}

#footer .zerif-copyright-box {
	margin-bottom: 6px;
}

#footer .zerif-copyright {
	font-size: 18px;
	font-weight: 600;
	color: #ffffff;
}

#footer .footer-credit {
	display: inline-block;
	font-size: 13px;
	line-height: 1.4;
	color: #b9c2cc;
}

#footer .footer-credit a {
	color: #ffffff;
}

#footer .footer-credit a:hover {
	color: #90cdf4;
}

@media (max-width: 991px) {
	#footer .copyright {
		text-align: center;
		border-left: 0;
		padding-left: 15px;
	}
}

@media (max-width: 767px) {
	#footer {
		padding: 30px 0;
	}

	#footer .company-details,
	#footer .copyright {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	#footer .company-details .zerif-footer-address,
	#footer .company-details .zerif-footer-email,
	#footer .company-details .zerif-footer-phone {
		font-size: 16px;
	}

	#footer .copyright,
	#footer #zerif-copyright,
	#footer .footer-credit {
		text-align: center;
	}
}

/* Startpage services UI */
#focus #custom_html-3 {
	display: block;
	float: none;
	clear: both;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

#focus #custom_html-3 .textwidget {
	display: block;
	width: 100%;
}

#focus #custom_html-3 .custom-html-widget {
	max-width: 1180px;
	margin: 12px auto 0;
	padding: 4px 8px 0;
}

#focus #custom_html-3 .custom-html-widget .row {
	display: block;
	margin: 0 0 20px;
}

#focus #custom_html-3 .custom-html-widget .row::before,
#focus #custom_html-3 .custom-html-widget .row::after {
	content: "";
	display: table;
}

#focus #custom_html-3 .custom-html-widget .row::after {
	clear: both;
}

#focus #custom_html-3 .custom-html-widget [class*="col-"] {
	float: left !important;
	width: 50% !important;
	padding: 0;
	margin: 0;
}

#focus #custom_html-3 .custom-html-widget [class*="col-"]:nth-child(odd) {
	padding-right: 10px;
}

#focus #custom_html-3 .custom-html-widget [class*="col-"]:nth-child(even) {
	padding-left: 10px;
}

#focus #custom_html-3 .custom-html-widget h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 16px 18px;
	border-radius: 14px 14px 0 0;
	background: linear-gradient(110deg, #0f3040 0%, #16516a 100%);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
}

#focus #custom_html-3 .custom-html-widget h2::before {
	content: "";
	width: 8px;
	height: 24px;
	border-radius: 5px;
	background: #8dd7ff;
}

#focus #custom_html-3 .custom-html-widget h2 a {
	color: #fff;
}

#focus #custom_html-3 .custom-html-widget .list-group {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 12px 14px 14px;
	border: 1px solid #dce5ec;
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
}

#focus #custom_html-3 .custom-html-widget .list-group-item {
	display: flex;
	align-items: center;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #e4ebf1;
	border-radius: 9px;
	background: #f7fafc;
	color: #24414f;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	transition: all 0.2s ease;
}

#focus #custom_html-3 .custom-html-widget .list-group-item::before {
	content: "\203A";
	margin-right: 9px;
	color: #0e9ac7;
	font-size: 22px;
	line-height: 1;
}

#focus #custom_html-3 .custom-html-widget .list-group-item:hover,
#focus #custom_html-3 .custom-html-widget .list-group-item:focus {
	border-color: #98cbde;
	background: #eef7fc;
	color: #163848;
	transform: translateX(2px);
}

@media (max-width: 991px) {
	#focus #custom_html-3 .custom-html-widget [class*="col-"] {
		float: none !important;
		width: 100% !important;
		padding-right: 0;
		padding-left: 0;
	}

	#focus #custom_html-3 .custom-html-widget h2 {
		font-size: 20px;
	}
}

@media (max-width: 575px) {
	#focus #custom_html-3 .custom-html-widget {
		padding: 0 2px;
	}

	#focus #custom_html-3 .custom-html-widget h2 {
		padding: 14px 14px;
		font-size: 18px;
	}

	#focus #custom_html-3 .custom-html-widget .list-group {
		padding: 10px;
	}

	#focus #custom_html-3 .custom-html-widget .list-group-item {
		min-height: 44px;
		padding: 10px;
		font-size: 14px;
	}
}

/* Hero text slider (no image slider) */
.home .home-header-wrap .header-content-wrap .container {
	position: relative;
	min-height: 260px;
}

.home .hero-slider-text {
	position: relative;
	min-height: 260px;
}

.home .hero-slider-track {
	position: relative;
	min-height: 230px;
}

.home .hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: translateY(18px);
	pointer-events: none;
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.home .hero-slide.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.home .hero-slide .buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.home .hero-slider-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -24px;
	display: flex;
	gap: 8px;
	justify-content: center;
}

.home .hero-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.home .hero-dot.is-active {
	background: #ffffff;
	transform: scale(1.25);
}

@media (max-width: 767px) {
	.home .home-header-wrap .header-content-wrap .container,
	.home .hero-slider-text {
		min-height: 300px;
	}

	.home .hero-slider-track {
		min-height: 270px;
	}

	.home .hero-slide .buttons .custom-button {
		width: 100%;
		max-width: 320px;
	}
}
