/* ==========================================================================
   Theme styles — services & flexible content blocks
   ========================================================================== */

/* ---------- article-page ---------- */
.article-page__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ---------- title_row ---------- */
.cases-title {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.cases-title.firstTitle {
	margin-top: 0;
}

/* ---------- simple_title_row ---------- */
.cases-title.simple {
	font-size: 1.25rem;
	font-weight: 600;
}

/* ---------- list_row ---------- */
.advertising-list {
	display: flex;
	flex-direction: column;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.advertising-list__item {
	align-items: flex-start;
	display: flex;
	gap: 10px;
}

.advertising-list__item .icon {
	flex-shrink: 0;
	margin-top: 3px;
}

/* ---------- img_row ---------- */
.advertising__image {
	overflow: hidden;
	border-radius: 8px;
}

.advertising__image img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

/* ---------- blockquote_row ---------- */
.quote-block {
	border-left: 4px solid currentColor;
	padding: 20px 24px;
}

.quote-block blockquote {
	margin: 0;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.7;
}

.quote-block blockquote .icon {
	display: block;
	font-size: 2rem;
	margin-bottom: 8px;
	opacity: 0.4;
}

/* ---------- slider_row ---------- */
.sliderAdvRow {
	overflow: hidden;
	position: relative;
}

.sliderAdvRow .swiper-slide {
	aspect-ratio: 1.618 / 1;
	overflow: hidden;
	border-radius: 4px;
}

.sliderAdvRow__link {
	display: block;
	width: 100%;
	height: 100%;
}

.sliderAdvRow .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sliderAdvRow .swiper-pagination {
	position: relative;
	margin-top: 12px;
}

/* ---------- gallery_row ---------- */
.galleryAdvRow {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.galleryAdvRow__item {
	flex: 0 0 calc(25% - 9px);
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--radius);
}

.galleryAdvRow__link {
	display: block;
	width: 100%;
	height: 100%;
}

.galleryAdvRow__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--transition);
}

.galleryAdvRow__item:hover img {
	transform: scale(1.04);
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
	.galleryAdvRow__item {
		flex: 0 0 calc(50% - 6px);
	}
}

@media (max-width: 767px) {
	.article-page__content {
		gap: 28px;
	}

	.cases-title {
		font-size: 1.375rem;
	}
}



.single-services .elementor.elementor-location-header {
	background: #03397a;
}

.single-services #content {
	top: 32px;
	position: relative;
	margin-bottom: 64px;
}

.entry-title-service {
	font-size: 44px !important;
	margin-bottom: 32px;
}


.article-page__content {
	color: #514d4d;
}

.article-page__content p {
	margin: 0;
}

.service-thumbnail {
	margin-bottom: 24px;
}

.single-services .elementor.elementor-location-header .elementor-section.elementor-top-section {
	margin: 0 !important;
}


.cases-title.simple.h3 {
	font-size: 22px;
}

.cases-title.simple.h2 {
	font-size: 26px;
	color: #000;
}

.cases-title.simple.h4 {
	font-size: 20px;
}

.fancybox__container .f-button.is-arrow {
	background: #000;
}

.fancybox__container .f-button {
	background: #000 !important;
}

/* ---------- services_grid shortcode ---------- */
.services-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.services-grid__item {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 0 calc(33.333% - 16px);
	min-height: 280px;
	border-radius: var(--radius, 8px);
	overflow: hidden;
	background-color: #03045E;
	background-size: cover;
	background-position: center;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* overlay поверх фонового изображения */
.services-grid__item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: #03045ECC;
	z-index: 0;
}

.services-grid__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 28px 24px;
	gap: 14px;
}

.services-grid__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff !important;
	text-align: center;
}

.services-grid__title a {
	text-decoration: none !important;
	color: #fff !important;
}


.services-grid__anons {
	line-height: 1.7;
	color: #fff !important;
	text-align: center;
}

.services-grid__btn {
	align-self: center;
	display: inline-block;
	padding: 10px 22px;
	border-radius: 4px;
	border: 1px solid rgb(0, 180, 216);
	color: #fff !important;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
	background: #00b4d8;
}

@media (max-width: 991px) {
	.services-grid__item {
		flex: 0 0 calc(50% - 12px);
	}
}

@media (max-width: 575px) {
	.services-grid__item {
		flex: 0 0 100%;
	}
}

/* ---------- slider_row ---------- */
.sliderAdvRow {
	overflow: hidden;
	position: relative;
	width: 100%;
}