/* Mobile Portrait View */

@media screen and (max-width:479px) {

	*{box-sizing:border-box;}
	.container { width:auto; padding:0 20px;}
	#header { width:100%; padding:0 20px; position:inherit !important;}
	.home #header { width:100%; padding:0 0px; position:inherit !important;}
	.home #header .container {padding-right:0;}	
	.logo { float:none; text-align:center;}
	.call { float:none;}
	.blogposts { width:auto; display:block; margin-bottom:30px;}
	.copyright-wrapper .inner{ width:100%; padding:15px 0;}
	.copyright{ float:none; text-align:center; margin-bottom:10px;}
	.footer-menu ul { margin-left:0;}
	.footer-menu ul li { border-right:1px solid #fff; list-style:none; float:left; padding:0 10px;}
	.sicons { width:auto;}
	.footer, .copyright, .footer-menu { width:auto; padding:0 20px; float:none;}
	.copyright-txt, .design-by { text-align:center; float:none;}

/* ------ Extra ------ */

	.main-nav ul li ul li ul li a{padding-left:30px !important;}
	#header .logo{ float:none; padding-top:15px;}
	#header .call { float:none; text-align:center;}
	section{ padding:20px 0;}

/* --------- Pages ------- */
	.content-area{ width:auto; margin:0 20px; padding:50px 0;}
	.site-main{ width:auto; margin:0; padding:0; float:none;}
	#sidebar{ width:auto; margin:60px 0 0; padding:0; float:none;}
	h2.entry-title { font-size:18px; margin-bottom:0; padding-bottom:0;}
	.post-date, .post-comment, .post-categories { float:left;}
	a.contact{ margin-top:5px !important; font-size:12px !important;}
	h2.section-title{ margin-bottom:5px;}
	.pagination { width:100%;}
	.pagination ul { margin-left:0;}
	.pagination ul li { list-style:none;}
	.pagination ul li span, .pagination ul li a { float: left; padding: 5px; margin-right:5px; color:#fff;}
	a.view-more { padding:5px 10px; border-radius:5px; color:#fff;}
	.main-left h3, .main-right h3 { text-align:center;}
	a.checkmenu { color:#fff; text-decoration:none; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	a.checkmenu:hover { color:#fff;}
	.main-right img {margin:0 20px 20px 0;}
	.main-right img:nth-child(2n+2) { margin-right:0;}
	a.checksoup {color:#fff; text-decoration:none; position:relative; top:15px; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	.entry-content p input[type="submit"], .wpcf7 form input[type="submit"], #contact input[type="submit"], .search-submit{font:400 15px 'Roboto Condensed', sans-serif; margin:25px 0 0 0; padding:5px 20px; border:none; color:#ffffff; border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; -webkit-border-radius:4px; cursor:pointer; background-color:#ef4323;}
	.search-field { padding:4px 0 4px 5px; border-radius:5px; border:1px solid #e1d8d6;}
	.search-field { padding:5px 0 5px 5px; border-radius:5px; border:1px solid #e1d8d6;}
	.blog-post-repeat { border-bottom:1px solid #313131;}
	.entry-content iframe{max-width:100%;}
}

/* Mobile Landscape View */

@media screen and (max-width:719px) and (min-width:480px) { 
	*{box-sizing:border-box;}
	.container { width:auto; padding:0 20px;}
	#header { padding:0 20px; position:inherit !important;}
	.logo { float:none; text-align:center;}
	.call { float:none; text-align:center;}
	.blogposts { width:auto; display:block; margin-bottom:30px;}
	.footer, .copyright, .footer-menu { width:auto; padding:0 20px;}
	.copyright-txt, .design-by { text-align:center; float:none;}
	.footer-menu ul { margin-left:0;}
	.footer-menu ul li { border-right:1px solid #fff; list-style:none; display:inline; text-align:center; padding:0 10px;}
	.footer-menu ul li:nth-child(2n+2) { border-right:none;}


/* --------- Pages ------- */
	.content-area{ width:auto; margin:0 20px; padding:50px 0;}
	.site-main{ width:auto; margin:0; padding:0; float:none;}
	h2.entry-title {  margin-bottom:0; padding-bottom:0;}
	#sidebar{ width:auto; margin:60px 0 0; padding:0; float:none;}
	.entry-summary { clear:both;}
	.pagination { width:100%;}
	.pagination ul { margin-left:0;}
	.pagination ul li { list-style:none;}
	.pagination ul li span, .pagination ul li a { float: left; padding: 5px; margin-right:5px; color:#fff;}
	a.contact{ margin-top:5px !important; font-size:12px !important;}
	h2.section-title{ margin-bottom:5px;}
	.map iframe{ height:232px;}
	.main-left h3, .main-right h3 { text-align:center;}
	a.checkmenu { color:#fff; text-decoration:none; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	a.checkmenu:hover { color:#fff;}
	.main-right img {margin:0 20px 20px 0;}
	.main-right img:nth-child(3n+3) { margin-right:0;}
	a.checksoup {color:#fff; text-decoration:none; position:relative; top:15px; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	.entry-content p input[type="submit"], .wpcf7 form input[type="submit"], #contact input[type="submit"], .search-submit{font:400 15px 'Roboto Condensed', sans-serif; margin:25px 0 0 0; padding:5px 20px; border:none; color:#ffffff; border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; -webkit-border-radius:4px; cursor:pointer; background-color:#ef4323;}
	.search-field { padding:4px 0 4px 5px; border-radius:5px; border:1px solid #e1d8d6;}
	.search-field { padding:5px 0 5px 5px; border-radius:5px; border:1px solid #e1d8d6;}
	.blog-post-repeat { border-bottom:1px solid #313131;}
	.post-date, .post-comment, .post-categories { float:left;}
	.entry-content iframe{max-width:100%;}
}

@media screen and (max-width:899px) and (min-width:320px) { 

	h2.section-title { line-height:38px; font-size:30px !important; margin:0 auto;}
	.fourbox{ width:auto; float:none; margin:0 0 20px 0; padding-bottom:20px;}
	.cat_comments{ height:auto;}
	#contact .column-2, #contact .column-2.last_column{ width:100%; float:none; margin:0 0 20px 0;}	

	}
/* Tablet View */

@media screen and (max-width:1000px) and (min-width:720px) { 
	*{box-sizing:border-box;}
	.container { width:auto; padding:0 20px;}
	#header { padding:0 20px;}
	.blogposts { width:31%; display:inline-block; margin-bottom:30px;}
	.sicons { width:94%; margin:auto;}
	.footer, .copyright {float:left; margin-top:10px;}
	.footer-menu { float:right;}
	.footer-menu ul { margin-top:0;}
	.footer-menu ul li { border-right:1px solid #fff; list-style:none; float:left; padding:0 10px;}
	.footer-menu ul li:nth-child(2n+2) { border-right:none;}
	.cat_comments .cat, .cat_comments .comnt{ font-size:10px;}
	.clients img, .facts .stat{ margin-bottom:20px;}


/* --------- Pages ------- */
	.content-area{ width:auto; margin:0 20px; padding:50px 0;}
	.site-main{ width:60%; margin:0; padding:0; float:left;}
	a.contact{ margin-top:15px !important; font-size:18px !important;}
	.copyright-wrapper .inner{ width:95% !important; margin:0 auto; padding:10px 0;}
	a.view-more { padding:5px 10px; border-radius:5px; color:#fff;}
	a.view-more:hover { text-decoration:none; color:#fff;}
	a.checkmenu { color:#fff; text-decoration:none; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	a.checkmenu:hover { color:#fff;}
	.fa-heart { background:#a42811; border-top-left-radius:5px; border-bottom-left-radius:5px; position:relative; left:-10px; padding:12px 13px 11px;}
	.main-right img {margin:0 20px 20px 0;}
	.main-right img:last-child { margin-right:0;}
	a.checksoup {color:#fff; text-decoration:none; position:relative; top:15px; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	a.checksoup:hover { color:#fff; text-decoration:none;}
	.entry-content p input[type="submit"], .wpcf7 form input[type="submit"], #contact input[type="submit"]{font:400 15px 'Roboto Condensed', sans-serif; margin:25px 0 0 0; padding:5px 20px; border:none; color:#ffffff; border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; -webkit-border-radius:4px; cursor:pointer; background-color:#ef4323;}
	.entry-content p input[type="submit"], .wpcf7 form input[type="submit"], #contact input[type="submit"], .search-submit{font:400 15px 'Roboto Condensed', sans-serif; margin:25px 0 0 0; padding:5px 20px; border:none; color:#ffffff; border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; -webkit-border-radius:4px; cursor:pointer; background-color:#ef4323;}
	.search-field { padding:4px 0 4px 5px; border-radius:5px; border:1px solid #e1d8d6;}
	.blog-post-repeat { border-bottom:1px solid #313131;}
	.post-date, .post-comment, .post-categories { float:left;}
	h2.entry-title { font-size:25px; margin-bottom:0; padding-bottom:0;}
	.entry-summary { clear:both;} 
	.pagination { width:100%;}
	.pagination ul { margin-left:0;}
	.pagination ul li { list-style:none;}
	.pagination ul li span, .pagination ul li a { float: left; padding: 5px; margin-right:5px; color:#fff;}
}

@media screen and (min-width: 1000px) {
	.header .main-nav ul li ul li{display:block; position:relative; float:none; }
	.header .main-nav ul li ul li a{color:#000; display:block; padding-top:10px; padding-bottom:10px; border-bottom:1px #313131 solid;}
	h2.entry-title { margin-bottom:0; padding-bottom:0;}
	
}

@media screen and (min-width:1000px) and (max-width:1159px){
	.container, .copyright-wrapper .inner{ width:95% !important;}
	.main-nav .menu-navigacia-container>ul>li>a { padding:17px 0 0 26px;}
	.content-area { width:95%;}
	.site-main { width:70%;}
	#contactform_main .rightdiv textarea { padding:5px 0 0 5px; width:100%; height:70px;}
	.cat_comments .cat{ width:48%;}
	a.view-more { padding:5px 10px; border-radius:5px; color:#fff;}
	a.view-more:hover { text-decoration:none; color:#fff;}
	a.checkmenu { color:#fff; text-decoration:none; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	a.checkmenu:hover { color:#fff;}
	.main-right img {margin:0 18px 20px 0 !important;}
	.main-right img:nth-child(3n+3) { margin-right:0;}
	a.checksoup {color:#fff; text-decoration:none; position:relative; top:15px; padding:10px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px;}
	a.checksoup:hover { color:#fff; text-decoration:none;}
	.social-icons a { margin-right:11px;}
	.entry-content p input[type="submit"], .wpcf7 form input[type="submit"], #contact input[type="submit"]{font:400 15px 'Roboto Condensed', sans-serif; margin:25px 0 0 0; padding:5px 20px; border:none; color:#ffffff; border-radius:4px; -moz-border-radius:4px; -o-border-radius:4px; -webkit-border-radius:4px; cursor:pointer; background-color:#ef4323;}
	.pagination { width:100%;}
	.pagination ul { margin-left:0;}
	.pagination ul li { list-style:none;}
	.pagination ul li span, .pagination ul li a { float: left; padding: 5px; color:#fff;}	
}

.cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    border-radius: 24px 24px 0 0;
    background: #fff;
    padding-top: 18px;
    padding-bottom: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease
}

.cookies.is-open {
    opacity: 1;
    pointer-events: auto
}

.cookies__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.cookies__text {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%
}

.cookies__text a {
    color: #8d8d8d;
    text-decoration: underline
}

@media (max-width: 768px) {
    .cookies__text {
        font-size:10px
    }
}

.cookies__btn {
    flex: none;
    margin-left: 40px;
	transition: all 0.5s;
}

@media (max-width: 768px) {
    .cookies__btn {
        margin-left:20px
    }
}

.cookies__btn .btn {
    border-radius: 12px;
    padding: 14px 32px
}

.cookies__btn .btn:hover {
    background: #e8e6e4;
    cursor: pointer
}

@media (max-width: 768px) {
    .cookies__btn .btn {
        font-size:12px;
        line-height: 13px;
        border-radius: 6px;
        padding: 10px
    }
}

.footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.footer__links a {
	display: block;
	width: fit-content;
}

.footer__links a + a {
	margin-top: 10px;
}

/* Общий блок */
.home-news-section {
    width: 100%;
    padding: 50px 0;
}

.home-news-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок */

.home-news-head {
	display: flex;
	justify-content: space-between;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #000;
	align-items: center;
}

.home-news-heading {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin: 0;
	padding: 0;
    text-align: center;
    color: #000;
}

/* Контейнер новостей */
.home-news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 32px;
}

/* Элемент новости */
.home-news-item {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.home-news-item:hover {
    transform: translateY(-4px);
}

/* Изображение */
.home-news-thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Контент */
.home-news-content {
    padding: 16px;
}

.home-news-date {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.home-news-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}

.home-news-title a {
    color: #000;
    text-decoration: none;
}

.home-news-title a:hover {
    color: #0073aa;
}

/* Кнопка "Все новости" */
.home-news-cta {
    text-align: center;
}

.home-news-button {
    display: inline-block;
    padding: 10px 28px;
    background: #097bc1;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.home-news-button:hover {
    background: rgba(9, 123, 193, 0.8);
    color: #fff;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .home-news-item {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .home-news-heading {
        font-size: 24px;
    }

	.home-news-section {
		padding: 35px 0;
	}
	.home-news-head {
		margin-bottom: 22px;
	}

    .home-news-container {
        gap: 20px;
    }

    .home-news-item {
        flex: 1 1 100%;
    }

    .home-news-title {
        font-size: 17px;
    }

    .home-news-button {
        padding: 10px 24px;
        font-size: 15px;
    }
}