/*
 Theme Name:   Schlüsseldienst Dusseldorf
 Template:     multisite
 Theme URI:    https://example.com/mytheme-child/
 Description:  Дочерняя тема для MyTheme
 Author:       Ваше имя
 Author URI:   https://example.com
 Template:     mytheme
 Version:      1.0.0
 Text Domain:  mytheme-child
*/

.text-block li {
	display: inherit !important;
}

.masters {
	margin: 0 auto;
	padding: 20px;
	position: relative;
}

.masters__wrapper {
	position: relative;
}

.masters__title {
	text-align: center;
	margin-bottom: 20px;
}

.masters__controls {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	margin-bottom: 10px;
	pointer-events: auto;
	gap: 1rem;
}

.masters__prev,
.masters__next {
	background: #845c54;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s, box-shadow 0.3s;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.masters__prev:hover,
.masters__next:hover {
	background: #6f4c44;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.masters__prev svg,
.masters__next svg {
	display: block;
}

.masters__prev:hover,
.masters__next:hover {
	background: #ef7b4f;
}

.masters__list {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 0;

	-ms-overflow-style: none;
	scrollbar-width: none;
}
.masters__list::-webkit-scrollbar {
	display: none;
}

.masters__item {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	width: 300px;
	flex-shrink: 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 15px;
	scroll-snap-align: start;
}

.masters__stats {
	background: #ef7b4f;
	color: #fff;
	padding: 10px;
	margin-bottom: 10px;
	text-align: center;
	border-radius: 4px;
}

.masters__stat {
	display: block;
	font-size: 16px;
}

.masters__name {
	font-size: 20px;
	margin: 10px 0;
	text-align: center;
}

.masters__details {
	margin-bottom: 10px;
}

.masters__detail {
	display: block;
	font-size: 14px;
	color: #666;
}

.masters__call {
	display: block;
	width: 100%;
	padding: 10px;
	background: #ef7b4f;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-size: 16px;
	text-align: center;
}

@media (max-width: 1024px) {
	.masters__item {
		width: 250px;
	}
	.masters__prev,
	.masters__next {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}
}

@media (max-width: 768px) {
	.masters__item {
		width: 220px;
	}
	.masters__prev,
	.masters__next {
		width: 30px;
		height: 30px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.masters__item {
		width: 230px;
	}
	.masters__title {
		font-size: 20px;
	}
	.masters__prev,
	.masters__next {
		width: 26px;
		height: 26px;
		font-size: 12px;
	}
}

.how-we-work__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.how-we-work__title {
	font-size: 28px;
	font-weight: bold;
	color: #2c3e50;
	margin-bottom: 24px;
	line-height: 1.1;
}

.how-we-work__info p {
	font-size: 14px;
	font-weight: 500;
	color: #6c757d;
	line-height: 1.6;
	margin: 0;
}

.how-we-work__item {
	border-bottom: 1px solid #e9ecef;
	background: white;
}

.how-we-work__item:last-child {
	border-bottom: none;
}

.how-we-work__toggle {
	width: 100%;
	padding: 20px 0;
	background: transparent;
	border: none;
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.how-we-work__toggle:hover {
	color: #ef7b4f;
}
.how-we-work__toggle:hover::after {
	border-top-color: #ef7b4f;
}

.how-we-work__toggle::after {
	content: '';
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 8px solid #2c3e50;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.how-we-work__item.active .how-we-work__toggle {
	color: #ef7b4f;
}

.how-we-work__item.active .how-we-work__toggle::after {
	transform: rotate(180deg);
	border-top-color: #ef7b4f;
}

.how-we-work__content {
	height: 0;
	overflow: hidden;
	transition: height 0.3s ease;
	background: white;
}

.how-we-work__item.active .how-we-work__content {
	padding-bottom: 20px;
}

.how-we-work__content p {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #6c757d;
	line-height: 1.6;
}

@media (max-width: 767px) {
	.how-we-work__wrapper {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.partners__items {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin: 30px 0 0;
}

@media (max-width: 767px) {
	.partners__items {
		flex-direction: column;
		align-items: center;
	}
}

.partners__item {
	height: 100px;
}

.partners__item img {
	width: 100%;
	height: 100%;
}

.phone-button__number.rem img {
	height: 1rem;
}
.phone-button__number.inverse img {
	filter: invert(1);
}
