/* Fix styles */
.logo_area img {
	margin-top: 5px;
	max-width: 60%;
	outline: none;
}

/* Header как menu-shrink на внутренних страницах (НЕ главная) */
body.page:not(.home) #header {
	background-color: #fff;
	box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.05);
}

body.page:not(.home) #header .nav > li > a {
	color: #757575;
}

body.page:not(.home) #header .nav > li > a:hover {
	color: #0e593d;
}

body.page:not(.home) #header .main_logo {
	display: block;
}

body.page:not(.home) #header .white_logo {
	display: none;
}

/* Отступ сверху для контента на внутренних страницах */
body.page:not(.home) .page_content {
	padding-top: 150px; 
	min-height: 1000px;
}

body.page:not(.home) .page_content img {
	border-radius: 5px;
}

/* Gallery Lightbox */
.wp-block-gallery figure {
	cursor: pointer;
	transition: transform 0.3s ease;
	margin-bottom: 20px; 
}

.wp-block-gallery {
	/* gap: 10px !important; */
}

.wp-block-image {
	margin-bottom: 20px;
}

.wp-block-gallery figure:hover {
	transform: scale(1.01);
}

.wp-block-gallery figcaption {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
	color: #666;
}

/* Выравнивание иконки и текста по центру в контактах */
.single_contact_info {
	display: flex;
	align-items: center;
}

.single_contact_info i {
	margin-right: 15px;
	flex-shrink: 0;
}

.single_contact_info p {
	margin: 0;
}

/* Стили для контента на внутренних страницах */
.entry-content h2 {
	font-size: 32px;
	font-weight: 700;
	color: #333;
	margin-top: 40px;
	margin-bottom: 20px;
}

.entry-content h3 {
	font-size: 24px;
	font-weight: 600;
	color: #444;
	margin-top: 30px;
	margin-bottom: 15px;
}

.entry-content p {
	font-size: 16px;
	line-height: 1.8;
	color: #666;
	margin-bottom: 20px;
}

.entry-content ul.wp-block-list {
	list-style: none;
	padding-left: 0;
	margin: 30px 0;
}

.entry-content ul.wp-block-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 1.8;
	color: #666;
}

.entry-content ul.wp-block-list li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #5cb85c;
	font-weight: bold;
	font-size: 18px;
}

.entry-content ul.wp-block-list li strong {
	color: #333;
	font-weight: 600;
}
 
/* Contact Form 7 Styling */
.wpcf7-form p {
	margin-bottom: 20px;
}

.wpcf7-form label {
	display: block;
	font-weight: 500;
	color: #333;
	margin-bottom: 8px;
	font-size: 14px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #666;
	transition: all 0.3s ease;
	background-color: #fff;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
	border-color: #5cb85c;
	outline: none;
	box-shadow: 0 0 8px rgba(92, 184, 92, 0.2);
}

.wpcf7-form textarea {
	min-height: 120px;
	resize: vertical;
}

.wpcf7-form input[type="submit"] {
	background-color: #0e593d;
	color: #fff;
	border: none;
	padding: 12px 40px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wpcf7-form input[type="submit"]:hover {
	background-color: #0e593d;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
}

.wpcf7-form input[type="submit"]:active {
	transform: translateY(0);
}

/* Spinner */
.wpcf7-spinner {
	margin-left: 10px;
}

/* Validation errors */
.wpcf7-not-valid-tip {
	color: #d9534f;
	font-size: 12px;
	margin-top: 5px;
	display: block;
}

.wpcf7-form-control.wpcf7-not-valid {
	border-color: #d9534f !important;
}

/* Response messages */
.wpcf7-response-output {
	margin-top: 20px;
	padding: 15px;
	border-radius: 4px;
	font-size: 14px;
}

.wpcf7-mail-sent-ok {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.wpcf7-spam-blocked {
	background-color: #fff3cd;
	border: 1px solid #ffeaa7;
	color: #856404;
}

/* Remove default margins */
.wpcf7-form br {
	display: none;
}

/* Google Map */
.google-map-container {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
}

.google-map-container iframe {
	display: block;
}

/* Mobile styles */
@media (max-width: 767px) {
	.logo_area img {
		max-width: 70%;
		margin-top: -9px;
		margin-left: 10px;
	}

	.navbar-toggle {
		margin-top: 6px;
	}
	
	.wpcf7-form input[type="submit"] {
		width: 100%;
		padding: 14px 20px;
	}
}
