

/* Start:/bitrix/templates/empty/components/bitrix/menu/top/style.min.css?1757661050490*/
ul.left-menu{list-style:none;margin:0;padding:0;margin-bottom:8px;position:relative}ul.left-menu li{padding:10px 16px;background:#f5f5f5 url(/bitrix/templates/empty/components/bitrix/menu/top/images/left_menu_bg.gif) top repeat-x}ul.left-menu li a{font-size:100%;color:#bc262c;font-weight:bold;text-decoration:none}ul.left-menu li a:visited{color:#bc262c}ul.left-menu li a:hover{color:#bc262c}ul.left-menu li a.selected:link,ul.left-menu li a.selected:visited,ul.left-menu li a.selected:active,ul.left-menu li a.selected:hover{color:#fc8d3d}
/* End */


/* Start:/bitrix/templates/empty/components/bitrix/menu/botton/style.min.css?1757661050490*/
ul.left-menu{list-style:none;margin:0;padding:0;margin-bottom:8px;position:relative}ul.left-menu li{padding:10px 16px;background:#f5f5f5 url(/bitrix/templates/empty/components/bitrix/menu/botton/images/left_menu_bg.gif) top repeat-x}ul.left-menu li a{font-size:100%;color:#bc262c;font-weight:bold;text-decoration:none}ul.left-menu li a:visited{color:#bc262c}ul.left-menu li a:hover{color:#bc262c}ul.left-menu li a.selected:link,ul.left-menu li a.selected:visited,ul.left-menu li a.selected:active,ul.left-menu li a.selected:hover{color:#fc8d3d}
/* End */


/* Start:/bitrix/templates/empty/styles.css?175994266417377*/
body, p, a {
    font-family: 'Evolventa-Regular', sans-serif;
}
strong, b, h1, h2, h3 {
    font-family: 'Evolventa-Bold', sans-serif;
    font-weight: 700;
}
em, i {
    font-family: 'Evolventa-Oblique', sans-serif;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}    
/*Шапка (Верхняя панель с соц.сетями)*/
.top-bar {
    background: #fefeff;/*#1A3455*/
    color: #1A3455;
    font-size: 15px;
}

.content-bar {
    display: flex;
    align-items: center;
    justify-content: center; /* Центрировка по горизонтали */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}



.content-item {
    display: flex;
    justify-content: center; /* центрирует содержимое по горизонтали */
    align-items: center;     /* по вертикали - если нужно */
    width: 100%;
}
.logo {
    width: 500px;    /* увеличенный размер лого, подберите под ваш дизайн */
    height: auto;    /* сохраняет пропорции изображения */
    margin: 0;       /* убираем любые отступы по бокам */
    display: block;  /* чтобы margin авто и центрирование работали корректно, если нужно */
    padding-right: 20px;
}

/*Ярлыки Соц.сетей*/
.middle {
    display: flex;
    gap: 20px; 
    margin: 0;
    padding: 0;
    list-style: none;
}

.middle li {
  display: flex;
}

.middle a {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    text-decoration: none;
}

.middle a:before {
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: block;
    background: linear-gradient(45deg, #273863, #2d6b9f);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.middle i {
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    transition: transform 0.3s ease-out, color 0.3s ease-out;
    font-size: 20px;
    line-height: 20px;
    z-index: 1;
}

.middle a:hover:before {
    transform: scale(0.9);
}

.middle a:hover i {
    transform: scale(1.2);
    color: #1A3455;
}
/*Разделительная черта*/
.divider {
    width: calc(100% - 160px); /*отступ с каждой стороны */
    height: 1px;
    background-color: #ccc; 
    margin: 0 auto; 
    margin-top: 10px; 
    margin-bottom: 20px; 
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); 
}
/*Header(Шапка)*/
header {
    width: 100%;
    padding: 5px 100px;
    margin-top: -10px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    width: 100%;
    box-sizing: border-box;
}

.header-content {
    width: 100%;
    max-width: 1400px;
}


/*Меню*/
/* Основные стили современного меню */
.modern-menu {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 25px 0 15px;
    position: relative;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(245,248,252,0.8) 50%, rgba(255,255,255,0) 100%);
}

.modern-menu ul {
    display: flex;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.modern-menu li {
    position: relative;
    list-style: none;
}

.modern-menu a {
    color: #1A3455;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    padding: 12px 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: block;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 30px;
    overflow: hidden;
}

/* Эффект подчеркивания при наведении */
.modern-menu a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1A3455;
    transition: width 0.3s ease;
}

.modern-menu a:hover::before {
    width: 60%;
}

/* Эффект фона при наведении */
.modern-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,52,85,0.1) 0%, rgba(245,248,252,0.5) 100%);
    z-index: -1;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 30px;
}

.modern-menu a:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Активный пункт меню */
.modern-menu a.checked {
    color: #fff;
    background: #1A3455;
    box-shadow: 0 4px 12px rgba(26,52,85,0.2);
}

.modern-menu a.checked::before {
    display: none;
}

/* Разделитель меню - усовершенствованный */
.menu-divider {
    height: 1px;
    width: 80%;
    margin: 15px auto 0;
    background: linear-gradient(to right, transparent 0%, rgba(204,204,204,0.5) 50%, transparent 100%);
    position: relative;
}

.menu-divider::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: #1A3455;
    opacity: 0.3;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
    .modern-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modern-menu a {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .modern-menu {
        padding: 15px 0 10px;
    }
    
    .modern-menu ul {
        gap: 1px;
    }
    
    .modern-menu a {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .menu-divider {
        width: 90%;
    }
}

/* Анимация для меню */
@keyframes menuItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-menu li {
    animation: menuItemFadeIn 0.5s ease forwards;
}

.modern-menu li:nth-child(1) { animation-delay: 0.1s; }
.modern-menu li:nth-child(2) { animation-delay: 0.2s; }
.modern-menu li:nth-child(3) { animation-delay: 0.3s; }
.modern-menu li:nth-child(4) { animation-delay: 0.4s; }
.modern-menu li:nth-child(5) { animation-delay: 0.5s; }

/*MAIN*/
/*Основной стиль*/
main {
    padding: 30px 0;
    background: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
}

h2 {
    color: #1A3455;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
}

/*Поисковая строка*/
.search-section {
    position: relative;
    padding: 20px 0;
    background: #fff;
    margin-bottom: 30px;
}

.search-bar {
    position: relative; 
    max-width: 600px;
    margin: 0 auto;
    display: flex;
}

#searchInput {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
}

#searchButton {
    padding: 0 20px;
    background: #1A3455;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s;
}

#searchButton:hover {
    background: #2a4a75;
}

#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-item h3 {
    margin: 0 0 5px 0;
    color: #1A3455;
    font-size: 16px;
}

.search-result-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.no-results {
    padding: 15px;
    color: #666;
    text-align: center;
}

/* Стиль для кнопки перехода */
.go-to-news {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 10px;
    background: #1A3455;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}

.go-to-news:hover {
    background: #2a4a75;
}

/* Запрещаем клик сквозь результат */
.search-result-item {
    pointer-events: auto;
}

/*Главные новости*/
.main-news {
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.main-news-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.main-news-item.big {
    grid-row: span 2;
    height: 620px;
}

.main-news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.main-news-item:hover img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.news-overlay h3 {
    font-size: 20px;
    margin: 10px 0 5px;
}

.news-category {
    background: #1A3455;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
}
/* Последние новости и реклама */
.content-wrapper {
    display: flex;
    gap: 30px;
}

.latest-news {
    flex: 2;
}

.advertisement {
    flex: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.news-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.news-content h3 {
    color: #1A3455;
    font-size: 18px;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.news-content p {
    color: #333;
    line-height: 1.5;
}

/* Рекламный блок */
.advertisement {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Большой баннер */
.ad-big {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.ad-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Маленький баннер */
.ad-small {
    width: 100%;         /* Добавлена ширина */
    height: 190px;
    background: #f5f5f5; /* Можно добавить, чтобы фон под изображением был */
    border-radius: 8px;  /* Чтобы совпадал с .ad-big */
    overflow: hidden;
}

.ad-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Спецпроекты */
.special-projects {
    margin-top: 50px;
}

.projects-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.project-item {
    min-width: 300px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-item h3 {
    padding: 15px;
    color: #1A3455;
    font-size: 18px;
}

.project-item p {
    padding: 0 15px 15px;
    color: #666;
    line-height: 1.4;
}

/*Header(Шапка)*/
header {
    width: 100%;
    padding: 5px 100px;
    margin-top: -10px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    width: 100%;
    box-sizing: border-box;
}

.header-content {
    width: 100%;
}



/*Footer (Подвал)*/

footer {
  background: #00000c;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: 15px;
  margin-top: 40px;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-left, .footer-center, .footer-right {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 20px;
  display: block;
}

.footer-social {
  margin-top: 15px;
}
.footer-social a {
  color: #fff;
  margin-right: 12px;
  font-size: 22px;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #0063EC;
}

.footer-menu {
  padding: 0;
  margin: 0;
}
.footer-menu li {
  margin-bottom: 10px;
}
.footer-menu a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: #0063EC;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.footer-about {
  font-size: 13px;
  color: #cfd8dc;
  line-height: 1.5;
}

/*Страница путеводитель*/
/*Ката обьектов*/

/*Фильтр для Новости коломны*/
.filter-buttons {
    display: grid;
    grid-template-columns: repeat(6, 150px); /* 6 колонок по 150px шириной */
    grid-gap: 15px; /* Отступы между кнопками */
    justify-content: center; /* Центрируем всю сетку */
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 370px;
    max-width: 100%;
    box-sizing: border-box;
}

.filter-btn {
    padding: 8px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.filter-btn:hover{
    background: #1A3455;
    color: white;
    transform: scale(1.07);
}
.filter-btn.active {
    background: #1A3455;
    color: white;
}
@media (max-width: 1350px) {
    .filter-buttons {
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
        margin-bottom: 20px;
        margin-left: 20px;
        margin-right: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
}
@media (max-width: 600px) {
    .filter-buttons {
        grid-template-columns: repeat(2, 150px); /* 2 колонки */
        grid-auto-rows: auto; /* строки добавляются автоматически */
        justify-content: center;
        max-width: 320px; /* ограничиваем ширину по ширине кнопок + gap */
        margin-left: auto;
        margin-right: auto;
    }
    .filter-btn {
        padding: 7px 10px;
        font-size: 13px;
    }
}
@media (max-width: 400px) {
    .filter-btn {
        padding: 6px 8px;
        font-size: 12px;
    }
}



/*Адаптация сайта*/
/* --- Большие экраны (десктопы) --- */
@media (min-width: 1200px) {
  .container {
    padding: 0 100px;
  }
}

/* --- Средние экраны (ноутбуки, планшеты в горизонтали) --- */
@media (max-width: 1199px) and (min-width: 900px) {
  .container {
    padding: 0 40px;
  }
  .top-bar, header {
    padding: 15px 40px;
  }
  .divider {
    width: calc(100% - 80px);
  }
}

/* --- Планшеты и небольшие ноутбуки --- */
@media (max-width: 899px) and (min-width: 600px) {
  .container {
    padding: 0 15px;
  }
  .top-bar, header {
    padding: 10px 15px;
  }
  .divider {
    width: calc(100% - 30px);
  }
  nav {
    flex-direction: column;
    gap: 10px;
  }
  .main-news-item.big {
    height: 400px;
  }
  .main-news-item {
    height: 180px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .advertisement {
    flex-direction: row;
    gap: 10px;
  }
  .ad-big, .ad-small {
    height: 120px;
  }
}

/* --- Мобильные устройства --- */
@media (max-width: 599px) {
  .container {
    padding: 0 5px;
  }
  .top-bar, header {
    padding: 8px 5px;
    font-size: 13px;
  }
  .divider {
    width: 100%;
    margin: 10px 0;
  }
  .logo {
    width: 270px !important;
    height: 60px !important;
    margin-right: 10px;
  }
  .content-bar, .content-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  nav {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }
  .main-news {
    margin-bottom: 20px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }
  .main-news-item, .main-news-item.big {
    height: 140px;
  }
  .news-overlay h3 {
    font-size: 14px;
  }
  .news-category {
    font-size: 11px;
    padding: 2px 6px;
  }
  .news-item {
    flex-direction: column;
    gap: 8px;
  }
  .news-item img {
    width: 100%;
    height: 90px;
  }
  .ad-big, .ad-small {
    height: 70px;
  }
  .projects-carousel {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 0;
  }
  .project-item {
    min-width: 100%;
  }
  .project-item img {
    height: 100px;
  }
 footer {
    padding: 20px 0 10px 0;
    font-size: 12px;
  }
  .footer-main {
    flex-direction: column;
    gap: 10px;
  }
  .footer-logo {
    max-width: 100px;
    margin-bottom: 10px;
  }
  .footer-news-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
}
/* End */
/* /bitrix/templates/empty/components/bitrix/menu/top/style.min.css?1757661050490 */
/* /bitrix/templates/empty/components/bitrix/menu/botton/style.min.css?1757661050490 */
/* /bitrix/templates/empty/styles.css?175994266417377 */
