

/* Start:/local/templates/new-main/components/bitrix/news.list/branches.url/style.css?17651981662552*/
.links_filials {
  width: 100%;
  height: 170px;
  background: #f5f5f5;
  border-radius: 20px 20px 0px 0px;
  display: flex;
  justify-content: space-around;
  padding: 0px !important;
}
@media (max-width: 1202px) {
  .links_filials {
    display: none;
  }
}
.rowFilials {
  width: 100%;
  margin: 0 !important;
  -webkit-box-shadow: 0px 5px 7px -5px rgba(34, 60, 80, 0.6);
  -moz-box-shadow: 0px 5px 7px -5px rgba(34, 60, 80, 0.6);
  box-shadow: 0px 5px 7px -5px rgba(34, 60, 80, 0.6);
}
.header-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 колонок */
  gap: 10px;
}

/* Первые 6 элементов занимают всю первую строку */
.header-grid .link_page_filials:nth-child(-n + 6) {
  grid-column: span 1; /* Каждый занимает 1 колонку из 6 */
}

/* Последние 2 элемента - вторая строка */
.header-grid .link_page_filials:nth-child(n + 7) {
  grid-column: span 3; /* Каждый занимает 3 колонки из 6 (50%) */
}

/* Адаптивность */
@media (max-width: 768px) {
  .header-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на мобильных */
  }

  .header-grid .link_page_filials {
    grid-column: span 1;
  }
}
.link_page_filials {
  text-align: center;
}
.link_page_filials a {
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: -0.015em;
  color: #4d4a48;
  vertical-align: inherit;
  height: 78px;
  display: block;
  padding-top: 20px;
}
.link_page_filials a:hover {
  text-decoration: none;
  color: inherit;
}
.link_page_filials:nth-child(1) {
  border-radius: 20px 0px 0px 0px;
}
.link_page_filials:hover:nth-child(1) {
  border-radius: 20px 0px 0px 0px;
}
.link_page_filials:nth-child(6) {
  border-radius: 0px 20px 0px 0px;
}
.link_page_filials:hover:nth-child(6) {
  border-radius: 0px 20px 0px 0px;
}
.link_page_filials:focus-within {
  background: #58e3f55e;
  border-radius: 0px;
}
.link_page_filials:hover {
  background: #58e3f55e;
  border-radius: 0px;
  transition: 0.4s;
}
.card_guides {
  background: #ffffff;
  box-shadow: -3px 4px 14px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  max-width: 1596px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 106px;
  margin-bottom: 80px;
  padding-bottom: 40px;
}
.active_url {
  background: #58e3f55e;
  border-radius: 0px 0px;
}

/* End */


/* Start:/local/templates/new-main/components/bitrix/news.list/branches-guides/style.css?17652004211801*/
.guide_block {
  justify-content: center;
}
.img_name_guide {
  text-align: center;
}
.title_guide {
  text-align: center;
}
.title_guide h1 {
  font-style: normal;
  font-weight: bold;
  font-size: 30px !important;
  line-height: 120%;
  letter-spacing: -0.015em;
  color: #4d4a48;
  margin-top: 69px;
  margin-bottom: 50px;
}
.guide_info_div,
.guide_mail_div {
  display: flex;
  justify-content: center;
}
.guide_mail_div div:nth-child(1) {
  margin-right: 10px;
}
.guide_info_div div:nth-child(1) {
  margin-right: 10px;
}
.guide_info_div {
  margin-bottom: 11px;
}
.guide_mail_div {
  margin-bottom: 25px;
}
.guide_info {
  max-width: 315px;
  margin-left: auto;
  margin-right: auto;
}
.img_name_guide h3 {
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.015em;
  color: #4d4a48;
}
.img_name_guide p {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  text-align: center;
  letter-spacing: -0.015em;
  color: #4d4a48;
}
.guide_phone_mail_a a {
  font-style: normal;
  font-weight: 300;
  text-decoration: none;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: -0.015em;
  color: #615e5c;
}
.guide_phone_mail_a a:hover {
  text-decoration: none;
  color: inherit;
}
.guide_map_p h3 {
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: -0.015em;
  color: #615e5c;
}
.guide_map_p p {
  font-style: normal;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: -0.015em;
  color: #615e5c;
}
.guide_map_div {
  display: flex;
}
.guide_map_div div:nth-child(1) {
  margin-right: 10px;
}
.img_name_guide img {
  max-width: 299px;
  max-height: 299px;
}

/* End */
/* /local/templates/new-main/components/bitrix/news.list/branches.url/style.css?17651981662552 */
/* /local/templates/new-main/components/bitrix/news.list/branches-guides/style.css?17652004211801 */
