/*!
	Theme Name: prodoc
	Theme URI: http://underscores.me/
	Author: Underscores.me
	Author URI: http://underscores.me/
	Description: Description
	Version: 1.0.0
	Tested up to: 5.4
	Requires PHP: 5.6
	License: GNU General Public License v2 or later
	License URI: LICENSE
	Text Domain: prodoc
	Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
	
	This theme, like WordPress, is licensed under the GPL.
	Use it to make something cool, have fun, and share what you've learned.
	
	prodoc is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
	Underscores is distributed under the terms of the GNU GPL v2 or later.
	
	Normalizing styles have been helped along thanks to the fine work of
	Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
	>>> TABLE OF CONTENTS:
	----------------------------------------------------------------
	# Generic
	- Normalize
	- Box sizing
	# Base
	- Typography
	- Elements
	- Links
	- Forms
	## Layouts
	# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
	# plugins
	- Jetpack infinite scroll
	# Utilities
	- Accessibility
	- Alignments
	
--------------------------------------------------------------*/
.breadcrumbs {
	padding: 37px 0;
    max-width: 1280px;
    width: 80%;
    margin: auto;
}

.breadcrumb a{
	font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #898989;
	text-decoration: none;
}

.breadcrumb span{
	margin: 0 5px;
}

.breadcrumb {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #898989;
	background-color: transparent;
}

@media (max-width: 960px) {
    .breadcrumb {
        height: 24px;
	}
}

.our-mission__text_page {
	justify-content: unset;
}

.our-team {
	width: 100%;
	padding: 80px 0;
}
.our-team__container {
	max-width: 1280px;
	width: 80%;
	margin: auto;
}
.our-team__top {
	display: flex;
	flex-direction: column;
	gap: 60px;
	margin: auto auto 60px auto;
	max-width: 990px;
}
.our-team__title {
	text-align: center;
}
.our-team__description {
	text-align: center;
}
.our-team__wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 18px;
}
.our-team__item {
	position: relative;
	display: flex;
	transition: 0.5s;
	padding: 15px 15px 20px 15px;
	margin: 0 0 160px;
}
.our-team__item:hover {
	padding: 15px;
}
.our-team__item:hover .our-team__item-text {
	
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	background: rgba(0, 0, 0, 0.6);
}

.our-team__item:hover p {
	align-self: auto;
	background: none;
	width: auto;
	display: block;
	height: auto;
}

.our-team__item-description{
	opacity: 0;
	visibility: hidden;
}

.our-team__item:hover .our-team__item-link{
	opacity: 1;
	visibility: visible;
}
.our-team__item:hover .our-team__item-description {
	opacity: 1;
	visibility: visible;
}
.our-team__item:hover .our-team__item-title{
	display: none;
}
.our-team__item-img {
	position: absolute;
	height: 100%;
	width: 100%;
	
	object-fit: cover;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
}
.our-team__item-text {
	position: relative;
	z-index: 2;
	padding: 15px;
	
	transition: 0.3s;
	width: 100%;
	display: grid;
	grid-template-rows: 3fr 2fr auto;
	bottom: -50%;
}
.our-team__item-title {
	color: rgba(20, 20, 30, 1);
	font-family: "montserrat bold", sans-serif;
	text-align: center;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	align-self: center;
	background: rgba(255, 255, 255, 0.8);
	width: 120%;
	display: flex;
	height: 40%; 
	padding: 0 15px;
	align-items: center;
	justify-content: center;
	transition: 0.5s;
	justify-self: center;
}
.our-team__item-description p{
	margin: 15px;
}

.our-team__item-description {
	color: var(--White, #fff);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    opacity: 0;
    visibility: hidden;
    font-weight: 700;
    max-height: 120px;
    margin: auto;
	margin-top: 0;
	padding-top: 40px;
}
.our-team__item-link {
	color: var(--White, #fff);
	font-size: 16px;
	font-style: normal;
	line-height: 24px;
	font-family: "montserrat bold", sans-serif;
	opacity: 0;
	visibility: hidden;
	text-decoration-line: underline;
	transition: 0.3s;
	margin: 0 auto;
}

.our-team__item-link:hover {
	color: #1b5fca;
}

.our-team__item {
	position: relative; /* Для позиционирования subtext */
}

.our-team__item-subtext {
	position: absolute;
	bottom: -180px; /* Настройте это значение для размещения под блоком */
	left: 0;
	right: 0;
	color: black;
	font-size: 14px;
	text-align: center;
	/* background-color: rgba(0, 0, 0, 0.5); */
	padding: 10px;
}


.our-mission {
	width: 100%;
	padding: 0;
}
.our-mission__container {
	max-width: 1280px;
	width: 80%;
	margin: auto;
}
.our-mission__top {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: auto auto 60px auto;
}
.our-mission__title {
	text-align: center;
}
.our-mission__description {
	text-align: center;
}

.our-mission__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-left: calc(-1 * ((100vw - 100%) / 2));
}
.our-mission__img {
	width: 100%;
	align-self: center;
	margin-top: auto;
}
.our-mission__text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 10px;
	padding: 0 0 24px 0;
}
.our-mission__wrapper-title {
	color: #14141e;
	font-size: 24px;
	font-style: normal;
	font-family: "montserrat bold", sans-serif;
	
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 15px 0;
}

.our-mission__bullits {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 30px 0 0 0;
}
.our-mission__bullits-item {
	display: flex;
	align-items: center;
	gap: 13px;
}

.our-mission__button {
	justify-self: end;
	margin: 0;
	max-width: 465px;
}

.single-content {
	width: 100%;
	padding: 70px 0 0 0;
}
.single-content__container {
	max-width: 1280px;
	width: 80%;
	margin: auto;
}
.single-content__top {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: auto auto 60px auto;
}
.single-content__title {
	text-align: center;
}
.single-content__description {
	text-align: center;
}

.single-content__wrapper ul{
	margin-bottom: 0;
}

.single-content__wrapper {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 20px;
	margin-left: calc(-1 * ((100vw - 80%) / 2));
}
.single-content__img {
	width: 100%;
	align-self: center;
}
.single-content__text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	/* gap: 40px; */
}
.single-content__wrapper-title {
	color: #14141e;
	font-size: 24px;
	font-style: normal;
	font-family: "montserrat bold", sans-serif;
	
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 15px 0;
}
.single-content__wrapper-description {
}
.single-content__bullits {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 30px 0 0 0;
}
.single-content__bullits-item {
	display: flex;
	align-items: center;
	gap: 13px;
}

.single-content__button {
	justify-self: end;
	margin: 0;
	max-width: 465px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    max-width: 1276px;
    margin: 20px auto;
    padding: 20px 0;
    position: relative;
}

.news-image {
    width: 297px;
    height: 297px;
    background-size: cover;
    background-position: center;
    border: 1px solid #ccc;
}

.news-content {
    margin-left: 30px;
    flex: 1;
}

.news-date {
    color: #A0A0A0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.news-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin: 0 0 10px;
}

.news-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
	/*  margin-bottom: 20px; */
}

.read-more {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #1B5FCA;
    text-decoration: none;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
	margin: 10px;
}

.read-more::after {
    content: '→'; /* Стрелка */
    margin-left: 8px; /* Расстояние между текстом и стрелкой */
    font-size: 24px;
    color: #1B5FCA;
    transition: transform 0.2s;
	font-weight: 700;
}

.read-more:hover::after {
    transform: translateX(4px); /* Анимация движения стрелки при наведении */
}

.read-more:hover {
    text-decoration: none; /* Убирает подчеркивание при наведении */
}

.news-divider {
    width: 100%;
    color:  #1b5fca;
    margin: 20px 0;
}


.news-content {
	width: 100%;
}

.wp-block-media-text__content{
	padding: 0;
}

.news-single__wrapper p {
	margin: 10px 0 0 0;
}

.wp-block-image img {
	width: 100%;
}

.wp-block-media-text .wp-block-media-text__content{
	padding: 0 0 0 3%; 
}

.has-media-on-the-right .wp-block-media-text__content{
	padding: 0 3% 0 0; 
}

.contacts {
	width: 100%;
	padding: 70px 0;
}
.contacts__container {
	max-width: 1280px;
	width: 80%;
	margin: auto;
}
.contacts__top {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: auto auto 60px auto;
}
.contacts__title {
	text-align: center;
}

.contacts__wrapper {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 20px;
}
.contacts__img {
	width: 100%;
	align-self: center;
}
.contacts__text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 40px;
}
.contacts__wrapper-title {
	color: #14141e;
	font-size: 24px;
	font-style: normal;
	font-family: "montserrat bold", sans-serif;
	
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 15px 0;
}
.contacts__bullits {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 30px 0 0 0;
}
.contacts__bullits-item {
	display: flex;
	align-items: center;
	gap: 13px;
}
.contacts__button {
	justify-self: end;
	margin: 0;
	max-width: 465px;
}

.contacts__title-style {
    font-weight: 700;
    font-size: 24px;
    line-height: 120%; /* or 29px */
    text-transform: uppercase;
    color: #000000;
}

.contacts__info-container {
    display: flex; /* Выстраивает элементы в одну строку */
    justify-content: space-between; /* Распределяет элементы на всю ширину */
    align-items: center; /* Выравнивание по центру по вертикали */
	margin-right: 60px;
}

.contacts__phone-container, .contacts__email-container {
    display: flex;
    flex-direction: column;
}

.contacts__phone, .contacts__email {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-align: left;
}

.contacts__phone-link, .contacts__email-link {
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
    color: #000000; /* Чёрный цвет */
    text-decoration: none; /* Убирает подчеркивание */
}

.contacts__phone-link:hover, .contacts__email-link:hover {
    text-decoration: none; /* Убирает подчеркивание при наведении */
}

.icon-background {
    color: #1B5FCA; /* Белый цвет иконки */
    padding: 8px; /* Отступы вокруг иконки */
    border-radius: 50%; /* Закруглённый фон */
    font-size: 16px; /* Размер иконки */
}

.contacts__address {
    font-size: 20px;
    font-weight: 700;
    line-height: 24.38px;
    text-align: left;
    color: #14141E; /* Белый цвет текста для контраста */
    padding: 10px; /* Отступы вокруг текста */
    border-radius: 8px; /* Скругленные углы для блока */
    display: inline-flex;
    align-items: center;
}

.registration-certificate {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
	
    color: #18438A; /* Синий цвет */
    text-decoration: none; /* Убирает подчеркивание по умолчанию */
}

.registration-certificate:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}

/* Мобильная версия */
@media (max-width: 768px) {
    .contacts__wrapper {
        display: block; /* Убираем grid и делаем элементы блочными */
        gap: 0; /* Убираем промежутки между элементами, если нужно */
	}
	
	.contacts__info-container {
		margin-right: 0;
		display: block;
	}
    
    .contacts__text {
		margin: 0 0 20px 0;
	}
	.our-mission__wrapper {
		display: block;
		gap: 0;
		margin-left: 0;
	}
	.wp-block-media-text {
		display: block;
	}
	.single-content__wrapper {
		display: block;
		gap: 0;
		margin-left: 0;
	}
	.news-item  {
		display: block;
		gap: 0;
	}
	.read-more {
		position: relative;
	}
	.news-content {
		margin: 30px 0 0 0;
		flex: 1;
	}
	.wp-block-media-text .wp-block-media-text__content {
		padding: 0;
	}
	
	.our-team__item:hover .our-team__item-description {
		max-height: none;
	}
}