@charset "UTF-8";

dl,
li,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
body,
html,
p,
blockquote {
  margin: 0;
  padding: 0;
}
img {
  border: 0;
}
h1, h2, h3, h4, h5, h6 {
    color: #039e0d;
}
a {
  color: #14a74a;
}
a:hover {
  color: #14a74a;
  text-decoration: none;
}
body {
  background: #ffffff;
  color: #000;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
}
.hidden {
  visibility: hidden;
}
input,
textarea,
select {
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  color: #000;
}
input:focus,
textarea:focus {
  outline: none;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* ------------ */
/* Увеличение фото */
#cboxOverlay {
  background: #000000e0 !important;
}

/* Редактор страниц сайта */
:where(.editor-styles-wrapper) {
  background-color: #fff;
}
/* ------------ */
.bg-grey {
  position: absolute;
  width: 100%;
  height: 300px;
  top: 0;
  left: 0;
  background: url(/wp-content/themes/twentytwentyone-child/assets/images/header/bg_content.png) left top repeat-x;
  z-index: -1;
}

/* отступ всего контента от header */
main {
  margin-top: 20px;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  color: #333;
}

.site-content {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: row;
  align-items: flex-start;
  flex: 1 0 auto;
  width: 100%;
  margin-bottom: 20px;
}

/* меню навигация */
.main-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: 100%;
  padding-left: 5px;
  margin-right: 40px;
}

/* Бургер-иконка (скрыта по умолчанию) */
/* Основные стили бургер-меню */
.main-nav-burger {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #039f0d;
  padding: 5px;
  border-radius: 15px;
  box-shadow: 0px 0px 5px 0 #000000;
  border: solid 2px #fff;
}

/* Бургер-иконка (скрыта на десктопе) */
.burger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Контейнер меню с затемнением */
.burger-menu-overlay {
    display: block;
}

/* Крестик для закрытия (скрыт по умолчанию) */
.burger-close {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 45px;
  background: #fff;
  border-radius: 15px;
  padding: 10px;
  cursor: pointer;
  z-index: 1002;
  color: #000;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Основное меню бургера */
.main-menu-burger {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu-burger li {
    position: relative;
}

.main-menu-burger a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.main-menu-burger a:hover {
    color: #0073aa;
}

/* Выпадающие меню для десктопа */
.main-menu-burger .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.main-menu-burger li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu-burger .sub-menu li {
    width: 100%;
}

.main-menu-burger .sub-menu a {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.main-menu-burger .sub-menu a:hover {
    background: #f5f5f5;
}
/* конец бургер меню */

.main-nav .sub-menu {
  display: none;
  padding-left: 15px;
}

.main-nav {
  margin-left: -25px;
}

.children {
  margin-left: -25px;
}

.main-nav .menu-item.open > .sub-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
  margin-left: -5px;
}

.main-menu li a {
    position: relative;
    display: block;
    padding-left: 14px;
    text-indent: -14px;
    line-height: 1.4;
}

.main-menu li a::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 3px;
  background: url("/wp-content/uploads/2025/11/arrow_grey.png") left top
    no-repeat;
  margin-right: 5px;
  vertical-align: middle;
}

.main-menu,
.main-menu li {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  gap: 10px;
  margin-bottom: 2px;
  font-size: 13px;
}

.nav-active {
  color: #5d5d5d;
  background: #f3f3f3;
  text-decoration: none;
  padding: 5px;
}

.bg__left-img {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  height: 300px;
  padding-left: 45px;
}

.bg__left-img img {
  width: 100%;
  height: auto;
}
/* ------------ */

/* курсор по ссылкам */
.main-nav .menu-item-has-children > a {
  cursor: pointer;
}

/* --- */

.site-header,
.site-footer {
  flex-shrink: 0;
  width: 100%;
}

.header {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 200px;
  color: #fff;
  background: #039e0d;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 1280px;
  height: 100%;
  z-index: 0;
}

.header-content {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.header__logo-contacts {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 230px;
  height: 100%;
  gap: 5px;
  text-align: center;
  margin-top: -10px;
  margin-left: 10px;
  text-align: center;
}

.header__logo-text {
  font-size: 11px;
}

.header__special-icons {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  width: 50px;
  padding-top: 20px;
}

.special-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 17px;
  height: 17px;
  transition: 0.3s;
}

.special-icons:hover {
  transform: scale(1.2);
  transition: 0.3s;
}

.special-icons img {
  width: 100%;
  height: auto;
}

.visio-active {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.visio-active:first-letter {
  font-size: 14px;
}

.visio-active:hover {
  color: #ffed00;
  transition: 0.3s;
}

.header__logo-contacts a {
  font-size: 13px;
  text-decoration: underline;
  color: #ffed00;
  transition: 0.3s;
}

.header__logo-contacts a:hover {
  text-decoration: none;
  color: #fff67f;
  transition: 0.3s;
}

.header__contacts-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* блок breadcrumb */
.breadcrumb-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.index-page .breadcrumb-wrapper {
  margin-bottom: -20px;
}

#breadcrumbs {
  display: none;
}

/* болок footer */
.footer {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  color: #fff;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.footer-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 10;
  padding: 0 30px;
}

.footer-text {
  width: 100%;
}

.telephone-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.telephone-wrapper a {
  font-size: 14px;
  color: #fff;
  transition: 0.3s;
}

.telephone-wrapper a:hover {
  color: #0c29ca;
  transition: 0.3s;
}

.footer-text p {
  margin-bottom: 3px;
}

.telephone-wrapper p {
  margin-right: 5px;
}

/* Все страницы */
.index-page {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.index-page-news-h2 {
  margin-top: -20px;
}

.recent-news__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: -20px;
}

.recent-news-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.recent-news__wrapper .news-meta {
    background: #ededed;
    padding: 3px 5px;
    border-radius: 5px;
}

.recent-news__wrapper h3 {
  font-size: 12px;
}

.news-pagination {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

/* все старницы */
.page,
.post {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.entry-content {
  width: 95%;
  margin-bottom: 50px;
}

.entry-title {
  font-size: 18px;
  text-transform: uppercase;
  color: #039e0d;
  margin-bottom: 20px;
  margin-top: 15px;
}

.wp-block-list li {
  margin-block: 5px;
}

.entry-content img {
  cursor: pointer;
  width: 100%;
  height: auto;
}

/* кастомное добавление файлов */
.files-block {
  max-width: 100%;
}

.files-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 500px;
  height: 30px;
  margin-bottom: 12px;
  padding: 4px 8px;
  border: 1px solid #dcdcdc;
  background: #f8f9fa;
  transition: all 0.2s ease;
}

.file-item:hover {
  background: #e9ecef;
  border-color: #007cba;
}

.file-date {
  min-width: 75px;
  color: #495057;
  font-weight: 500;
  margin-right: 20px;
}

.file-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 12px;
}

.file-icon,
.file-icon-placeholder {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-content__img {
  width: 30px;
  height: 30px;
}

.file-link {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex: 1;
  color: #007cba;
  text-decoration: none;
  font-weight: 500;
}

.file-link:hover {
  color: #005a87;
  text-decoration: underline;
}

.file-size {
  color: #6c757d;
  min-width: 70px;
  text-align: right;
}

/* Новости */
.all-news__button {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
  padding: 0 10px 0 25px;
  height: 30px;
  line-height: 29px;
  border: none;
  border-radius: 3px;
  background: #04980d url(./assets/images/news-button/bg_but.png) left top no-repeat;
  transition: 0.3s;
  color: #fff;
  text-decoration: none;
}

.all-news__button:hover {
  color: #fff;
  transform: scale(1.05);
  transition: 0.3s;
}

.posted-by {
  display: none;
}

/* скрываем return to listing */
.after-product-description {
  display: none !important;
}

.product-description .catalog-header {
  display: none !important;
}

.post-navigation {
  position: absolute;
  bottom: 0;
  left: 250px;
  right: 50px;
}

.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.post-title {
  display: none !important;
}

.meta-nav, .nav-previous {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* дома в управлении */
.product-image {
  width: 350px !important;
  height: auto !important;
  text-align: left !important;
}

.product-image > a > a > img {
  width: 70% !important;
  height: auto !important;
}

.list.archive-listing {
  min-height: fit-content !important;
  max-width: none !important;
}

#product_details_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
}

#product_details {
  width: 100% !important;
}

.product-details {
  font-size: 14px;
}

.product-details .shortdesc {
  display: none;
}

.product-list, body div.product-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .list.archive-listing {
  height: auto !important;
  max-width: 50% !important;
} */

/* скрываем кнопку плагина для слабовидящих */
#wp_access_helper_container > .aicon_link {
  display: none;
}
.accessability_container {
  position: fixed;
  top: 0;
  right: 0;
}

/* 404 */
.error-404 {
  display: none;
}

/* Адаптивность */
/* Десктопная версия (выше 900px) */
@media (min-width: 901px) {
    .main-menu-burger {
        display: flex !important;
    }
    
    .burger-icon {
        display: none;
    }
    
    .burger-close {
        display: none !important;
    }

    .main-nav-burger {
      display: none;
    }
}

@media (max-width: 1025px) {
  .bg__left-img {
    padding-left: 40px;
  }
  .bg__left-img img {
    width: 90%;
  }
}

/* Медиа-запрос для мобильных устройств (до 900px) */
@media (max-width: 900px) {
  .entry-content, .entry-header {
    width: 90%;
    margin: 0 auto;
  }

  .main-nav {
    display: none;
  }

  /* Показываем бургер-иконку */
  .burger-icon {
      display: flex;
  }
  
  /* Скрываем основное меню по умолчанию */
  .main-menu-burger {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background: white;
      flex-direction: column;
      padding: 60px 20px 20px;
      overflow-y: auto;
      z-index: 1001;
      box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  }
  
  /* Затемнение фона */
  .burger-menu-overlay.active::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1000;
  }
  
  /* Показываем меню когда активно */
  .burger-menu-overlay.active .main-menu-burger {
      display: flex;
  }
  
  /* Показываем крестик когда меню открыто */
  .burger-menu-overlay.active .burger-close {
      display: block;
  }
  
  /* Стили для пунктов меню в мобильной версии */
  .main-menu-burger li {
      width: 100%;
      border-bottom: 1px solid #eee;
  }
  
  .main-menu-burger li:last-child {
      border-bottom: none;
  }
  
  .main-menu-burger a {
      padding: 15px;
      font-size: 16px;
      font-weight: 500;
  }
  
  /* Выпадающие меню для мобильных */
  .main-menu-burger .sub-menu {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      background: #f9f9f9;
      display: none;
      padding-left: 20px;
  }
  
  .main-menu-burger .sub-menu.active {
      display: block;
  }
  
  .main-menu-burger .sub-menu a {
      padding: 12px 15px;
      font-size: 14px;
      border-bottom: 1px solid #eee;
  }
  
  /* Анимация для бургер-иконки при открытии */
  .burger-icon.active span:nth-child(1) {
      transform: rotate(45deg) translate(6px, 6px);
  }
  
  .burger-icon.active span:nth-child(2) {
      opacity: 0;
  }
  
  .burger-icon.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
  }

  .index-page-news-h2, .recent-news__wrapper {
    width: 90%;
    margin: 0 auto;
  }

  .all-news__button {
    margin-left: 30px;
  }
  
  .responsive .list.archive-listing {
    min-height: 100% !important;
  }
}

@media (max-width: 768px) {
  .menu-item a {
    font-size: 12px;
  }

  .files-block {
    padding: 0 10px;
  }

  .file-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .file-date {
    margin-right: 0;
    margin-bottom: 0;
  }
  .file-content {
    width: 100%;
  }
}
.content-area {
  position: relative;
  width: 100%;
}
/* карточки домов */
.product-list.default {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.al_archive {
  max-width: 30%;
}

/* карточки домов */
.classic-list-image-wrapper a > img {
  height: auto !important;
  max-height: fit-content !important;
}



/* media */
/* Добавляем мобильные стили в конец файла */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
  .site {
    max-width: 100%;
  }
  
  .main-nav {
    width: 300px;
  }
  
  .header {
    height: 200px;
  }
  
  .header__logo-contacts {
    width: 200px;
    margin-left: 5px;
  }
  
  .header__special-icons {
    padding-top: 15px;
  }
}

/* Мобильные устройства (480px - 768px) */
@media (max-width: 768px) {
  .site-content {
    flex-direction: column;
    margin-top: 5px;
  }
  
  .main-nav {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    order: 2;
    margin-top: 20px;
  }
  
  .main-menu,
  .main-menu li {
    gap: 8px;
  }
  
  .header {
    height: 150px;
    flex-wrap: wrap;
  }
  
  .header-content {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header__logo-contacts {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: auto;
    margin: 10px 0;
    align-items: center;
  }

  .header__logo-contacts > .logo {
    width: 120px;
    height: 150px;
  }

  .header__logo-contacts > .logo > a > img {
    width: 60%;
    height: auto;
  }

  .header__logo-text {
    margin-top: -80px;
  }
  
  .header__special-icons {
    position: absolute;
    bottom: -100px;
    left: 220px;
    flex-direction: row;
    width: 100%;
    height: auto;
    gap: 15px;
    padding-top: 10px;
  }

  .bg-grey {
    top: -5px;
  }

  .breadcrumb-wrapper {
    font-size: 9px;
    gap: 10px;
  }

  .breadcrumb-wrapper span {
    width: auto;
    height: 10px;
  }

  .breadcrumb-wrapper span a {
    width: auto;
  }

  .special-icons, .visio-active {
    background: #039f0d;
    padding: 5px;
    border-radius: 5px;
    border: solid 2px #fff;
  }
  
  .footer {
    height: auto;
    padding: 15px 0;
  }
  
  .footer-content {
    padding: 0 15px;
    gap: 10px;
  }
  
  .telephone-wrapper {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .entry-content {
    width: 90%;
    margin: 0 auto;
  }
  
  .entry-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .files-block {
    padding: 0 10px;
  }
  
  .file-item {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 8px;
  }
  
  .file-content {
    width: 100%;
  }
  .post {
    width: 90%;
    margin: 0 auto;
  }
  .entry-content {
    margin-bottom: 50px;
  }
  .post-navigation {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 600px) {
  .file-item {
    width: 90%;
    height: auto;
    margin-left: 10px;
  }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
  body {
    font-size: 11px;
  }
  .header__logo-contacts {
    width: 50%;
  }
  .header__logo-contacts a {
    font-size: 11px;
  }
  .main-nav-burger {
    width: 30px;
    height: 30px;
  }
  .burger-icon {
    top: -5px;
    right: 9px;
  }
  .burger-menu-overlay.active .burger-close {
    width: 25px;
    height: 25px;
    line-height: 20px;
  }
  .visio-active {
    font-size: 16px;
  }
  
  .main-nav .menu-item a::before {
    margin-right: 3px;
  }

  .entry-content {
    width: 90%;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .telephone-wrapper {
    flex-direction: column;
    gap: 5px;
  }
  
  .entry-title {
    font-size: 14px;
  }
  
  .file-link {
    font-size: 13px;
  }
}

@media (max-width: 850px) {
    .responsive .list .classic-list-image-wrapper {
        width: 50% !important;
    }
}