/*
Theme Name: ck-gaz
Author: 
Author 
Description: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/*переопределение переменных bootstrap*/
:root{
	--bs-font-sans-serif:  "Montserrat", sans-serif;
	--bs-body-font-weight: 300;
	--bs-body-color: initial;
	--bs-link-color-rgb: 0, 113, 162;
	--bs-link-hover-color-rgb: 232, 55, 49;
	--bs-link-color: #0071a2;
	--bs-link-hover-color: #e83531;
	--bs-navbar-toggler-icon-bg: url('./images/toggler.svg');
	--bs-body-bg: #f8f6f1;
	--bs-border-width: 1px;
	--bs-border-color: #000;
	--bs-border-radius: 6px;
	--bs-card-border-width: 0;
	--bs-card-border-radius: 0;
	--bs-card-bg: none;
}
body {
	font-optical-sizing: auto;
    font-weight: 300;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--bs-body-bg);
}
[href^="https://dzen.ru"] {
    display: block !important;
	color: red;
}
.full{
	width: 100%;

}
.social {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.social__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social__icon {
    margin-bottom: 12px;
}

.social__icon img {
    width: 48px;
    height: 48px;
    display: block;
    transition: transform 0.3s ease;
}

.social__item:hover .social__icon img {
    transform: scale(1.1);
}

.social__title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
}

.social__title a {
    text-decoration: none;
    color: inherit;
}

.social__desc {
    font-size: 13px;
    color: #666;
}
.social__link{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
/* Адаптив */
@media (max-width: 768px) {
    .social {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .social {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
a, .btn-link {
	text-decoration: none;
}
b, strong{
    font-weight: bold;
}
p:last-child {
	margin: 0;
}
img, video {
	max-width: 100%;
	height: auto;
}
iframe {
	max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}
.btn {
    margin: 0 auto;
	border-radius: 60px;
	font-size: 22px;
    font-weight: 700;
	padding: 15px 60px;
}
.btn-group-sm>.btn, .btn-sm {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: rgba(0, 0, 0, 0.75);
    pointer-events: none;
    background-color: rgba(255, 214, 0, 0.75);
    border-color: rgba(255, 214, 0, 0.75);
    opacity: 0.25;
}
.btn-primary {
	background-color: rgba(255, 214, 0, 1);
	border-color: rgba(255, 214, 0, 1);
	color: rgba(0, 0, 0, 1);
	box-shadow: 3px 3px 0 0 rgba(0, 0, 0, .5);
}
.btn-primary:hover, :not(.btn-check)+.btn-primary:active {
	background-color: rgba(255, 214, 0, 0.75);
	border-color: rgba(255, 214, 0, 0.75);
	color: rgba(0, 0, 0, 0.75);
	box-shadow: none;
}
.btn-primary:focus-visible {
	background-color: rgba(255, 214, 0, 0.75);
	border-color: rgba(255, 214, 0, 0.75);
	color: rgba(0, 0, 0, 0.75);
	box-shadow: 0 0 0 0.25rem rgba(255, 214, 0, .5);
}
.dashed-link {
	color: var(--bs-link-color);
	border-bottom: 1px dashed var(--bs-link-color);
}
.dashed-link:hover {
	color: var(--bs-link-hover-color);
	border-bottom: 1px dashed var(--bs-link-hover-color);
}
/*header*/
.header {
	padding-block-start: 30px;
	padding-block-end: 30px;
	display: flex;
	flex-direction: column;
    gap: 30px;
	position: sticky;
	top: 0;
	background: var(--bs-body-bg);
	z-index: 10;
}
.header p {
	margin: 0;
}
.header__top {
	display: flex;
    gap: 30px 15px;
    justify-content: space-between;
	flex-wrap: wrap;
}
.header__logo {
	display: flex;
    gap: 15px;
}
.header__slogan {
	margin: 0;
}
.header__subslogan {
	background-color: rgba(255, 214, 0, 1);
	border-radius: 60px;
	padding: 0.5rem 1rem;
	display: inline-block;
	font-weight: bold;
}
.header__phone {
	display: flex;
	flex-direction: column;
    gap: 0.25rem;
}
.order-callback__button {
	padding: 0;
	margin: 0;
	text-align: left;
	font-size: inherit;
	font-weight: inherit;
}
.order-callback__button::before {
	content:url('./images/phone.png');
	display: inline-block;
    vertical-align: middle;
	padding-inline-end: 10px;
}
.get-consultation__button {
	padding: 0;
	margin: 0;
	text-align: left;
	font-size: inherit;
	font-weight: inherit;
}
.get-consultation__button::before {
	content:url('./images/consult.png');
	display: inline-block;
    vertical-align: middle;
	padding-inline-end: 10px;
}
.header__email {
	display: flex;
	flex-direction: column;
    gap: .25rem;
}
.call-engineer__button {
	padding: 0;
	margin: 0;
	text-align: left;
	font-size: inherit;
	font-weight: inherit;
}
.call-engineer__button::before {
	content:url('./images/engie.png');
	display: inline-block;
    vertical-align: middle;
    padding-inline-end: 10px;
}
.header__social-img {
	padding-inline-end: 10px;
}
.header__marketing {
	display: flex;
	flex-direction: column;
    gap: .25rem;
}
.header__bonus-img {
	padding-inline-end: 10px;
}
.header__bottom {
	z-index: 1;
	position: relative;
	padding-bottom: 2rem;
}
.header__menu-button {
	display: none;
}
.header__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	border-radius: 10px;
	background: linear-gradient(to bottom, #fdfdfc, #f2f0ed) #f8f8f6;
	box-shadow: 0 3px 3px 1px #ccc;
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.header__menu .menu-item {
	flex-grow: 1;
	border-inline-end: 1px solid #bbb;
	position: relative;
}
.header__menu .menu-item:last-child {
	border: none;
}
.header__menu a, .footer__menu a {
	font-size: .96em;
	font-weight: 600;
	padding: .7em;
	color: var(--bs-body-color);
	text-decoration: none;
	display: block;
	text-align: center;
	white-space: nowrap;
}
.header__menu a:hover {
	color: var(--bs-link-hover-color);
}
.header__menu .sub-menu {
	position: absolute;
	list-style: none;
	padding: 2px 0 0;
	display: none;
}
.header__menu .sub-menu .sub-menu{
	top: 0;
	left: 100%;
	padding: 0 0 0 9px;
}
.header__menu .sub-menu .sub-menu:before {
    position: absolute;
    top: 12px;
    left: 0;
    width: 0;
    height: 0;
    content: '';
    border: 5px solid transparent;
    border-left: 5px solid rgb(232, 53, 49);
}
.header__menu .menu-item:hover>.sub-menu {
	display: flex;
	flex-direction: column;
	text-wrap-mode: nowrap;
}
.header__menu .sub-menu .menu-item {
	border-inline: 1px solid #bbb;
    border-block-end: 1px solid #bbb;    
    background: #fdfdfc;
}
.header__menu .sub-menu .menu-item:hover { 
    background: #f2f0ed;
}
.header__menu .sub-menu a {
	font-size: .8em;
	padding: .5em;
	text-align: left;
}
/*main*/

.main {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem 4rem;
	margin-block-end: auto;
}
.main-page {
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 45px;
}
.main__top {
	background: #e3eaf1;
}
.main__content {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
/*footer*/
.footer {
	margin-block-start: 90px;
	padding-block: 30px;
	background: #fff;
}
.footer p {
	margin: 0;
}
.footer__top {
	margin-block-start: -45px;
	margin-block-end: 45px;
}
.footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	border-radius: 10px;
	background: linear-gradient(to bottom, #fdfdfc, #f2f0ed) #f8f8f6;
	box-shadow: 0 3px 3px 1px #ccc;
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.footer__menu .menu-item {
	flex: 1;
	border-inline-end: 1px solid #bbb;
	position: relative;
}
.footer__menu .menu-item:last-child {
	border: none;
}
.footer__menu a {
	font-size: .96em;
	font-weight: 600;
	padding: .7em;
	color: var(--bs-body-color);
	text-decoration: none;
	display: block;
	text-align: center;
}
.footer__menu a:hover {
	color: var(--bs-link-hover-color);
}
.footer__menu .sub-menu {
	position: absolute;
	list-style: none;
	padding: 0;
	display: none;
}
.footer__bottom {
	display: flex;
    gap: 30px 15px;
    justify-content: space-between;
	flex-wrap: wrap;
}
.footer__logo {
	display: flex;
    gap: 15px;
	flex-direction: column;
}
.footer__copyright {
	margin: 0;
}
.footer__buttons {
	display: flex;
	flex-direction: column;
    gap: 15px;
}
.footer__phone {
	display: flex;
	flex-direction: column;
    gap: .25rem;
}
/*mmenu*/
#mmenu_button {
	padding: 5px 30px;
}
/*.mm-ocd {
	max-width: 100vw;
}*/
.mm-spn.mm-spn--light {
    color: #000;
}
.mm-spn li:after {
	margin-left: 0;
}

/*home.php*/
/*advantages*/
.main-page .advantages {
	display: flex;
	flex-direction: column;
	gap: 90px;
}
.advantages-mini__list {
	margin: 0;
    list-style: none;
	display: flex;
	gap: 30px 45px;
	font-size: 22px;
	line-height: 1.2;
    font-weight: 500;
    padding: 30px 20px;
    color: #fff;
    border-radius: 18px;
    background-color: #b00915;
	flex-wrap: wrap;
}
.advantages-mini__item {
	position: relative;
    padding: 0 0 0 60px;
	flex: 1 0 19%;
}
.advantages-mini__item:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
	height: 100%;
    min-height: 50px;
    content: '';
    background: url(./images/fire.png) 0 50% no-repeat;
	background-size: contain;
}
.main-page .advantages__title {
	font-size: 52px;
    font-weight: 700;
}
.main-page .advantages__list {
	margin: 0;
    list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 30px 45px;
	padding: 0;
}
.main-page .advantages__item {
	flex: 0 0 30%;
}
.main-page .advantages__item-accent {
	display: block;
	font-size: 18px;
	font-weight: bolder;
}
/*min-ob*/
.min-ob__title {
	background: url(./images/gerb.png) 100% 50% no-repeat;
	background-size: 350px auto;
	min-height: 200px;
    padding: 60px 350px 90px 0;
	font-size: 52px;
    font-weight: 700;
}
.min-ob__video {
	max-width: 700px;
    margin: 0 auto;
}
/*reviews*/
.reviews {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.reviews__title {
	font-size: 52px;
    font-weight: 700;
}
.reviews__cards {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.reviews__card {
	flex: 1 0 40%;
    display: flex;
    flex-direction: column;
	gap: 15px;
}
.reviews__iframe {
	max-width:100%;
	width: 100%;
	aspect-ratio: 16 / 9;
}
.reviews__description {
	font-size: 20px;
}
/*prices*/
.prices {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.prices__title {
	font-size: 52px;
    font-weight: 700;
}
.prices__description {
	font-size: 24px;
    line-height: 1.4;
}
.prices__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
    gap: 30px;
	flex-wrap: wrap;
}
.prices__item {
	padding: 70px 30px;
    text-align: center;
    border: 1px solid #eee;
    border-color: #e6e6e6;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .10);
	display: flex;
    flex-direction: column;
    flex: 1 0 30%;
	gap: 15px;
}
.prices__item-accent {
	font-size: 30px;
    font-weight: 700;
}
/*services*/
.services {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.services__title {
	font-size: 52px;
    font-weight: 700;
}
.services__description {
	font-size: 24px;
    line-height: 1.4;
}
.services__cards {
	max-width: 960px;
	margin: 15px auto;
	display: flex;
	flex-direction: column;
	gap: 45px;
}
.services__cards .card {
	display: flex;
    flex-direction: row;
	gap: 30px;
	align-items: center;
	border: none;
}
.services__cards .card:nth-child(2n) {
	flex-direction: row-reverse;
}
.services__cards .card__content {
	flex: 1 0 40%;
}
.services__cards .card__description {
	font-size: 18px;
    line-height: 1.4;
}
.services__cards .card__img-wrapper {
	flex: 1 0 45%;
}
.services__cards .card__img-wrapper img {
	border-radius: 6px;
	height: auto;
}
/*gallery*/
.gallery__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.gallery__list-col-4 {
	grid-template-columns: repeat(4, 1fr);
}
.gallery__item {
	flex: 1 0 20%;
}
/*video-blog*/
.video-blog {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.video-blog__title {
	font-size: 52px;
    font-weight: 700;
}
.video-blog__cards {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.video-blog__card {
	flex: 1 0 40%;
    display: flex;
    flex-direction: column;
	gap: 15px;
}
.video-blog__iframe {
	max-width:100%;
	width: 100%;
	aspect-ratio: 16 / 9;
}
.video-blog__description {
	font-size: 20px;
}
/*dialog*/
.dialog {
	display: none;
	max-width: 500px;
	border-radius: 6px;
	flex-direction: column;
}
/*cf7*/
.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.wpcf7-form-control.wpcf7-textarea::placeholder{
	color: #757575;
}
.wpcf7-form-control:not(.wpcf7-acceptance,.wpcf7-submit) {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;	
}
.wpcf7-form-control:focus {
    color: var(--bs-body-color);
    background-color: transparent;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}
.wpcf7-list-item {
	margin: 0;
}
.wpcf7-form-control.wpcf7-not-valid {
	border-color: rgb(220, 53, 69);
}
.wpcf7-form-control.wpcf7-not-valid:focus {
    border-color: rgb(220, 53, 69);
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25);
}
.wpcf7-form-control input[name=your-acceptance] {
	display: inline-block !important;
}
.wpcf7-acceptance {
	font-size: 14px;
}
.wpcf7-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: auto;
}
/*table*/
.main thead {
	
}
.main tbody {
	
}
.main tfood {
	
}
.main th {
	font-weight: bold;
    padding: 15px;
    text-align: center;
    background-color: #ddd;	
}
.main th:first-child {
    text-align: left;
}
.main td {
	padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;	
}
.main td:first-child {
    text-align: left;
}

@media (max-width: 1399.98px) {
	.header__logo {
		flex-direction: column;
	}
}
@media (max-width: 1199.98px) {
	.header__logo {
		max-width: 160px;
	}
	.header__slogan {
		display: none;
	}
}
@media (max-width: 991.98px) {
	.header__top {
			align-items: center;
	}
	.header__subslogan {
		display: none;
	}
	.header__phone > * {
		display: none;
	}
	.header__phone > *:first-child {
		display: block;
		font-size: 1.5rem;
	}
	.header__phone-add {
		display: none;
	}
	.header__email, .header__marketing {
		display: none;
	}
	.header__menu a, .footer__menu a {
		white-space: normal;
	}
	.header__menu-button {
		display: block;
	}
	.header__menu a {
		text-align: left;
	}
	.header__menu .menu-item {
		border: none;
	}
	.header__menu .sub-menu, .header__menu .menu-item:hover .sub-menu {
		display: block;
		position: fixed;
		padding: unset;
		margin: unset
	}
	.header__menu .sub-menu .menu-item {
		border: none;
		background: linear-gradient(to bottom, #fdfdfc, #f2f0ed) #f8f8f6;
	}
	.advantages-mini__item {
		flex: 1 0 40%;
	}
	.prices__item {
		padding: 50px 15px;
	}
}
@media (max-width: 767.98px) {
	.header__logo {
		max-width: 160px;
		width: 20%;
		justify-content: space-between;
		flex-direction: row;
	}
	.footer__top {
		display: none;
	}
	.gallery__item {
		flex: 1 0 45%;
	}
}
@media (max-width: 575.98px) {
	.advantages {
		gap: 30px;
	}
	.advantages-mini__list {
		font-size: 16px;
	}
	.advantages-mini__item:before {
		top: -15px;
	}
	.advantages__title {
		font-size: 26px;
	}
	.advantages__item {
		flex: 1 0 100%;
	}
	.min-ob__title {
		text-align: center;
		background-position: 50% 90%;
		background-size: 240px auto;
		min-height: 200px;
		padding: 30px 0 180px 0;
		font-size: 26px;
	}
	.reviews {
		gap: 30px;
	}
	.reviews__title {
		text-align: center;
		font-size: 26px;
	}
	.reviews__card {
		flex: 1 0 100%;
	}
	.prices__title {
		font-size: 26px;
	}
	.prices__item {
		flex: 1 0 50%;
		max-width: 280px;
        margin: 7.5px auto;
	}
	.services__title {
		font-size: 26px;
	}
	.services__cards .card, .services__cards .card:nth-child(2n) {
		flex-direction: column;
	}
	.video-blog {
		gap: 30px;
	}
	.video-blog__title {
		font-size: 26px;
	}
	.video-blog__card {
		flex: 1 0 100%;
	}
	.footer__bottom {
		justify-content: center;
	}
}


/*archive-news*/
.breadcrumbs {
	flex: 1 0 100%;
	margin-block: 0.75rem;
}
.doc-content {
	flex: 1 1 800px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.right-col {
	flex: 1 1 400px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.article-item {
	display: flex;
	gap: 1rem;
}
.article-item__col_left {
	width: 200px;
	flex-shrink: 0;
}
.article-item__col_right {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex-grow: 1;
}
.article-item__readmore {
	margin-top: auto;
	align-self: end;
}
.form-callback-container {
	padding: 25px 30px;
    background-color: #fff;
    border: 1px solid #eee;
}
/*блок преимуществ справа*/
.heading-line {
    font-size: 1.7em;
    position: relative;
    z-index: 4;
    text-align: center;
    background: url(./images/title-bg.png) center repeat-x;
}
.block-with-frame h3 {
    font-size: 1.7em;
    font-weight: 100;
    line-height: 1em;
    margin-bottom: -.5em;
    padding: 0 1em;
    text-align: center;
}
.block-with-frame h3 span {
    padding: 0 1em;
    background: #f7f6f1;
}
.ar-wrap {
	box-sizing:border-box;
	width: 100%;
	clear: both;
	padding: 2% 5%;
	border: 1px solid #D9D8D4;
	border-top: none;
	list-style: none;
}
.ar-row {
	margin:1em 0;
}
.ar-col {
	width:30%;
	margin:0 10%;
	float:left;
	text-align: center;
}
.ar-col img {
	width: 100%;
}
.ar-col p {
	font-family: "PTSerif";
	font-weight: 700;
	font-style: italic;
}
.clear {
    clear: both;
}
/*карточки дочерних страниц*/
.card__list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 0;
}
.card__item {
	padding: 1.5rem 1.5rem 2rem;
	border-radius: 1rem;
    background-color: #fff;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.card__img {
	width: 100%;
}
.card__title {
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.2;
	margin: 0;
}
.card__subtitle {
	margin: 0;
	font-weight: bold;
	color: red;
}
.card__btn {
	margin-top: auto;
}
.prop__list {
	list-style: none;
    padding: 0;
	margin: 0;
	display: flex;
    flex-direction: column;
    gap: .25rem;
}
.prop__item {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	border-block-end: 1px solid rgba(0,0,0,0.1);
}
.prop__label {
	font-weight: 600;
}
.calculation{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	text-align: center;
}
.video-reviews-section {
    margin: 60px 0;
}

.video-reviews {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-reviews__title {
    margin-bottom: 0;
}

.video-reviews__description {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: #4a627a;
    margin-top: 10px;
}

/* GRID на 2 колонки (без ul/li) */
.video-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Карточка видеоотзыва */
.video-reviews__card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: transparent;
    transition: transform 0.2s ease;
}

.video-reviews__card:hover {
    transform: translateY(-4px);
}

.video-reviews__iframe-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.video-reviews__iframe {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* Описание под видео */
.video-reviews__card-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0 0.25rem;
    color: var(--bs-body-color, initial);
}
.video-reviews__grid > p{
	display: none;
}
/* ========== АДАПТИВНОСТЬ (совместимо с медиазапросами темы) ========== */
@media (max-width: 1199.98px) {
    .video-reviews__title {
        font-size: calc(1.3rem + 1.8vw);
    }
    .video-reviews__description {
        font-size: calc(1rem + 0.6vw);
    }
}

@media (max-width: 991.98px) {
    .video-reviews {
        gap: 45px;
    }
    .video-reviews__grid {
        gap: 25px;
    }
    .video-reviews__card-description {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .video-reviews-section {
        margin: 45px 0;
    }
    .video-reviews {
        gap: 35px;
    }
    /* На планшетах и мобильных — одна колонка для удобного просмотра */
    .video-reviews__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 575.98px) {
    .video-reviews-section {
        margin: 30px 0;
    }
    .video-reviews {
        gap: 30px;
    }
    .video-reviews__title {
        font-size: 26px;
        text-align: center;
    }
    .video-reviews__description {
        font-size: 16px;
        text-align: center;
    }
    .video-reviews__grid {
        gap: 25px;
    }
    .video-reviews__card-description {
        font-size: 16px;
        text-align: left;
    }
}
@media (max-width: 1199.98px) {
	.card__title{
		font-size: calc(1.3rem + .6vw);
	}
}
@media (max-width: 991.98px) {
	.card__list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767.98px) {
	.card__item {
		padding: 1rem;
		gap: 1rem;
	}
	.card__btn {
		font-size: 1rem;
        padding: 0.5rem 2rem;
	}
}
@media (max-width: 575.98px) {
	.card__list {
		grid-template-columns: 1fr;
	}
}

/*карточки новостей*/

.wrapper {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 2rem 1.5rem ;
}
.card-news {
	border: none;
	border-radius: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
@media (max-width: 991.98px) {
	.wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575.98px) {
	.wrapper {
		grid-template-columns: 1fr;
	}
}

/*страницы с bootstrap*/
.section {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}
.card {
	background-color: #fff;
	padding: 1.5rem;
	gap: 2rem;
	border-radius: 1rem;
    border: none;
}
.card-img {
	border-radius: 0;
}
.card-body {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.card-footer {
	background: transparent;
    text-align: center;
    border: none;
}
.advantages-page {
	gap: 2rem;
}
.advantages-page .advantages__list {
	list-style: none;
}
.advantages-page .advantages__img {
	max-width: 100%;
	width: 150px;
}
.nav-tabs {
	border: none;
}
.nav-tabs .nav-link {
	background: rgba(33, 37, 41, 0.1);
	color: #000;
	border-radius: 0;
	border: 1px solid rgb(173, 181, 189);
	padding-inline: 2rem;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
	background: #b00707;
	color: #fff;
	border-color: #b00707;
}
.nav-tabs .nav-item:first-child .nav-link {
	border-top-left-radius: 1rem;
}
.nav-tabs .nav-item:last-child .nav-link {
	border-top-right-radius: 1rem;
}
.video-blog iframe {
	max-width:100%;
	aspect-ratio: 16 / 9;
}
.tab-pane {
	border: 1px solid rgb(173, 181, 189);
	border-radius: 0 0 1rem 1rem;
	background: #fff;
	padding: 1.5rem;
}
/*docs*/
.docs__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
    grid-template-columns: repeat(5, calc(20% - 24px));
    gap: 30px;
}
.docs__item {
	flex: 1 0 20%;
	background: rgba(33, 37, 41, 0.1);
	aspect-ratio: 3 / 4;
	box-shadow: 0.25rem 0.25rem 0.25rem rgba(0, 0, 0, 0.5);
	padding: 50% 0.5rem 1.5rem;
    text-align: right;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: space-between;
}
.docs__item:hover {
	background:rgba(255, 214, 0, 1)
}
.docs__title {
	color: #000;
	/*word-break: break-all;*/
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}
.docs__readmore {
	color: rgba(33, 37, 41, 0.9);
}
/*archive-jobs.php*/
.fire__list {
	margin: 0;
	padding: 0;
    list-style: none;
}
.fire__item {
    position: relative;
    padding: 0 0 0 27px;
	margin: 0.75rem 0;
}
.fire__item::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    content: '';
    background: url(./images/fire.png) 0 50% no-repeat;
    background-size: contain;
}
.card-jobs {
	gap: 1rem;
}
.job__header {
    background: no-repeat 100% 100% #e9e9e9;
	padding: 45px 220px 45px 50px;
}
@media (max-width: 767.98px) {
	.job__header {
		background-image:none !important;
		padding: 2rem;
	}	
}