/*
 Theme Name:   Schlüsseldienst Munchen
 Theme URI:    https://example.com/mytheme-child/
 Description:  Дочерняя тема для MyTheme
 Author:       Ваше имя
 Author URI:   https://example.com
 Template:     multisite
 Version:      1.0.0
 Text Domain:  muenchen-24std
*/

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

@media (min-width: 1170px) {
	.header__navigation {
		flex-grow: 1;
	}
	.header-navigation__items {
		justify-content: space-around;
	}
}

@media (min-width: 768px) {
	.tabs-items {
		width: 100%;
		overflow-x: auto;
		padding: 5px 2px 15px;
	}

	.tabs-items__item {
		min-width: 220px;
		flex-shrink: 0;
	}
}

.tabs-items__item {
	display: inline-block !important;
	width: auto !important;
	margin: 2px 0;
}

.tabs__navigation {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0 10px;
}

.tabs-items {
	margin-bottom: 0 !important;
	flex-wrap: nowrap !important;
}

.tabs__navigation svg {
	fill: #ef7b4f;
}

.tabs__scrollbar {
	position: static !important;
	margin-bottom: 15px;
}

.muenchen-faq-services {
	margin-bottom: 50px;
}

.muenchen-faq-services__item {
	display: flex;
	gap: 6px;
	color: #fff;
	align-items: center;
	font-size: 16px;
	margin-bottom: 10px;
}

.muenchen-faq-services__item::before {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-image: url('./assets/static/images/icons/chevron-right.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.faq__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.faq {
	background-image: url('./assets/static/images/faq-bg.webp') !important;
	background-position: center top;
}

.callback-block {
	background-image: url('./assets/static/images/callback-block-bg.webp') !important;
	position: relative;
}

.callback-block::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	z-index: 1;
}

.callback-block__wrapper {
	z-index: 2;
	position: relative;
}

.callback-block__button {
	display: flex;
	justify-content: center;
}

.questions__title::before {
	background-image: url('./../multisite/assets/static/images/icons/check.svg') !important;
}

.home-page .welcome-block + .text-block {
	padding-bottom: 0 !important;
}

.home-page .pay-ways-section {
	padding: 0 !important;
}

.home-page .faq {
	overflow: hidden !important;
}

.home-page .faq-block {
	margin: 0 !important;
}

.blog {
	margin: 50px 0;
}

.blog__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
@media (max-width: 768px) {
	.blog__items {
		grid-template-columns: repeat(1, 1fr);
	}
}

.blog__item {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.blog__item-thumbnail {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}

.blog__item-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.blog__item-date {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: white;
	color: #000;
	font-size: 14px;
	padding: 4px 8px;
	border-radius: 2px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog__item-title {
	font-weight: 700;
	font-size: 18px;
	color: #ef7b4f;
	text-decoration: none;
	line-height: 1.3;
}

.blog__item-title:hover {
	text-decoration: underline;
}

.blog__item-excerpt {
	font-size: 15px;
	color: #333;
	line-height: 1.5;
}

.text-block {
	padding: 20px;
	max-width: 100%;
	margin: 0 auto;
}

.text-block p {
	margin: 0 0 16px 0;
	line-height: 1.6;
}

.text-block h2,
.text-block h3,
.text-block h4,
.text-block h5,
.text-block h6 {
	margin: 24px 0 16px 0;
}

.text-block ul,
.text-block ol {
	margin: 0 0 16px 0;
	padding-left: 20px;
}

.text-block table {
	width: 100%;
	margin: 24px 0;
	border-collapse: collapse;
}

.text-block th,
.text-block td {
	padding: 12px;
	border: 1px solid #ddd;
}

.text-block th {
	background-color: #f5f5f5;
	text-align: left;
}

.text-block img {
	max-width: 100%;
	height: auto;
	margin: 16px 0;
	display: block;
}

.text-block figure {
	margin: 24px 0;
}

.text-block figcaption {
	margin-top: 8px;
	font-style: italic;
	color: #666;
	text-align: center;
}

.text-block blockquote {
	margin: 24px 0;
	padding: 16px;
	border-left: 4px solid #ddd;
	color: #555;
	background-color: #f9f9f9;
}

.text-block *:last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.text-block :is(h2, h3, h4, h5, h6) {
		hyphens: none !important;
	}
	.text-block :is(h2, h3, h4, h5, h6, ul, ol, blockquote) {
		display: flow-root !important;
	}
}

.text-block .wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
	text-align: center;
}
.text-block .wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}
.text-block .wp-caption-text {
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}
.text-block .alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
	max-width: calc(100% / 3);
}
.text-block .alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 10px;
	max-width: calc(100% / 3);
}
.text-block .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}
.text-block .alignnone {
	margin-bottom: 10px;
}
.text-block .clearfix::after {
	content: '';
	display: table;
	clear: both;
}

@media (max-width: 767px) {
	.text-block h2 {
		font-size: 24px;
	}

	.text-block h3 {
		font-size: 20px;
	}

	.text-block table {
		display: block;
		overflow-x: auto;
	}

	.text-block th,
	.text-block td {
		padding: 8px;
	}

	.text-block blockquote {
		padding: 12px;
	}

	.text-block .alignleft,
	.text-block .alignright {
		max-width: calc(100% / 2.5);
	}
}

@media (max-width: 480px) {
	.text-block h2 {
		font-size: 20px;
	}

	.text-block h3 {
		font-size: 18px;
	}

	.text-block p {
		margin: 0 0 12px 0;
		font-size: 16px;
	}

	.text-block ul,
	.text-block ol {
		padding-left: 15px;
	}

	.text-block img {
		margin: 12px 0;
	}

	.text-block figure {
		margin: 16px 0;
	}

	.text-block blockquote {
		padding: 10px;
		border-left-width: 3px;
	}

	.text-block .alignleft {
		float: none;
		margin: 0 auto 10px auto;
		max-width: 100%;
	}
	.text-block .alignright {
		float: none;
		margin: 0 auto 10px auto;
		max-width: 100%;
	}

	.testimonial-slide__header {
		flex-direction: column;
		gap: 10px;
		align-items: start !important;
	}
}

.click-to-top,
.fixed-phone-button {
	z-index: 100;
}

.testimonial-slide__author-letter {
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	font-weight: bold;
	font-size: 20px;
}

.toc {
	margin: 30px auto;
}

.toc h2 {
	margin-bottom: 15px;
}

.toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.toc li {
	margin-bottom: 10px;
}

.toc a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-size: 16px;
	color: #8492a6;
	transition: color 0.2s;
}

.toc a::before {
	content: '→';
	margin-right: 8px;
	font-size: 14px;
	color: #ef7b4f;
}

.toc a:hover {
	color: #161c2d;
}

@media (max-width: 600px) {
	.toc {
		padding: 15px;
	}

	.toc a {
		font-size: 15px;
	}
}

:root {
	--carousel-btn-size: 42px;
}

.carousel {
	position: relative;
	margin: 0 auto;
	width: 100%;
}

.carousel-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	gap: 0;
}

.carousel-track::-webkit-scrollbar {
	display: none;
}

.carousel-item {
	flex: 0 0 auto;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	box-sizing: border-box;
	padding: 20px 5px;
}

.carousel-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: inherit;
	height: 100%;
	transition: box-shadow 0.2s ease;
}

.carousel-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.carousel-btn {
	width: var(--carousel-btn-size);
	height: var(--carousel-btn-size);
	min-width: var(--carousel-btn-size);
	min-height: var(--carousel-btn-size);
	display: flex;
	align-items: center;
	justify-content: center;

	position: absolute;
	top: 50%;
	transform: translateY(-50%);

	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 50%;

	font-size: 20px;
	color: #0d1c3c;
	cursor: pointer;
	user-select: none;
	z-index: 2;

	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
	background: #ef7b4f;
	color: #fff;
	border-color: #ef7b4f;
}

.carousel-btn.prev {
	left: 0;
}

.carousel-btn.next {
	right: 0;
}

.carousel-btn[disabled] {
	opacity: 0.4;
	pointer-events: none;
}

.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}

.carousel-dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: #cbd5e1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.carousel-dots button.active {
	background: #ef7b4f;
}

.carousel-thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.carousel-content {
	padding: 15px;
	text-align: left;
}

.carousel-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 10px;
	color: #0d1c3c;
	overflow-wrap: break-word;
	hyphens: auto;
}

.carousel-excerpt {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	overflow-wrap: break-word;
	hyphens: auto;
}

@media (max-width: 767px) {
	.carousel-btn {
		display: none;
	}
	.table__column:nth-child(2n + 1) {
		width: 70% !important;
	}
}

.breadcrumbs.breadcrumbs--color-links {
	margin: 2rem 0;
}
.breadcrumbs.breadcrumbs--color-links li a {
	color: #8492a6;
}
.breadcrumbs.breadcrumbs--color-links li a:hover {
	color: #ef7b4f;
}
.trustpilot {
	position: fixed;
	top: 50%;
	right: -10px;
	background-color: #fff;
	border: 2px solid #04da8d;
	border-radius: 5px 0 0 5px;
	transform: translateY(-50%);
	padding: 0.75rem 1rem 0.5rem;
	transition: all 0.2s ease-in-out;
}
.trustpilot:hover {
	transform: translateY(-50%) translateX(-10px);
}
.trustpilot__wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 5px;
}
.trustpilot__header {
	color: #000;
	font-weight: bold;
	font-size: 1rem;
}
.trustpilot__body svg {
	height: 1.5rem;
}
@media (max-width: 991px) {
	.trustpilot,
	.trustpilot:hover {
		right: 0;
		transform: translateY(-50%) translateX(0);
	}
}
@media (max-width: 480px) {
	.trustpilot {
		display: none;
	}
}

.welcome-block__text {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px !important;
    font-weight: 400;
    line-height: 1.6;
}

.welcome-block__text ul {
    list-style: disc;
    margin-left: 15px;
}

.welcome-block__text li {
    list-style: disc;
    margin-bottom: 8px;
}