/*
Theme Name: MedSpace
Details URI: https://update.goodwinpress.ru/themes/medspace-changelog.html
Theme URI:  https://www.goodwinpress.ru/wp-tema-medspace/
Author: Алексей Goodwin
Author URI: https://goodwinpress.ru/
Description: Новая адаптивная быстрая и оптимизированная тема от GoodwinPress для создания сайта стоматологии, медицинской или ветеринарной клиники. Имеет статическую главную с набором готовых блоков, систему отделов и услуг, карточки врачей, поп-апы для онлайн-записи, дополнительные шаблоны страниц для персонала, контактов, страницу Спасибо. Липкий сайдбар. Отличное мобильное меню. Любые цвета оформления.
Version: 1.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: medspace
Domain Path: /languages
Tags: goodwin, goodwinpress, medic, dentist, clinic
*/

/*
===============================
= Содержание файла стилей =
============================================
01 Импорт
02 Переменные
03 Очистка
04 Глобальные стили
05 Подключение шрифтов
06 Основные контейнеры и размер шрифта
07 Кнопки
08 Заголовки
09 Верхняя панель над шапкой
10 Шапка сайта
11 Основное десктопное меню
12 Кнопка открытия дополнительного меню
13 Дополнительное десктопное меню
14 Кликабельный телефон в шапке
15 Кнока открытия мобильного меню
16 Мобильное меню (объединяет и основное, и дополнительное)
17 Контакты в мобильном меню
18 Главная страница - раздел Постер
19 Главная страница - раздел Проблемы
20 Главная страница - раздел Услуги (включает также и отделы)
21 Главная страница - раздел Преимущества
22 Главная страница - раздел Партнеры
23 Главная страница - раздел Отзывы (карусель на Swiper JS)
24 Главная страница - раздел Персонал (карусель на Swiper JS)
25 Главная страница - разделы для произвольного контента
26 Главная страница - раздел Призыв к действию
27 Страница Контакты
28 Подвал сайта
29 Модальные окна
30 Контактная форма в модальных окнах (стили для Contact Form 7)
31 Кнопки социальных сетей
32 Оформление внутренних страниц
33 Поисковая форма в шапке внутренних страниц
34 Хлебные крошки
35 Страница для вывода всех услуг (архив услуг с отделами)
36 Табы в отделах
37 Карточки услуг
38 Страница Персонал (архив всех врачей)
39 Карточки врачей
40 Страницы блога, рубрик
41 Записи блога
42 Информация о записи
43 Кнопки Поделиться в соц сетях
44 Виджеты в сайдбаре и подвале
45 Комментарии в записях и на страницах
46 Форма отправки комментариев
47 Внутренняя навигация внутри записей
48 Нумерованные списки
49 Маркированные списки
50 Адаптивные таблицы
51 Галереи WordPress
52 Постраничная навигация в блоге, рубриках, поиске
53 Призыв к действию  - шорткод
54 NEW - поп-ап cookies
55 NEW - новая сетка для услуг в отделе
*/


/*
===============================
= 01 Импорт
============================================
*/
@charset "UTF-8";
@import "assets/swiper.min.css";

/*
===============================
= 02 Переменные
============================================
*/
:root {
  --prime-font: 'Onest', sans-serif; /* шрифт */
  --dark-col: #2e363e; /* цвет шрифта */
  --light-col: #fff; /* белый для фонов и контрастных текстов */
  --grey-col: #626e86; /* серый для второстепенных текстов и подвала */
  --grey-bg: #fbfcfa; /* серый для соц сетей и дочернего списка в моб меню */
  --accent: #417505; /* цвет ссылки при наведении мыши */
  --border-col: #eff0f8; /* цвет бордюров, разделителей */
  --placeholder: #a7a8ba; /* цвет плейсхолдера в инпутах */
  --shadow: rgba(65, 117, 5, 0.08); /* цвет и прозрачность тени вокруг ячеек */
  --grey-bg2: #ececf3;
}

/*
===============================
= 03 Очистка
============================================
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  vertical-align: baseline;
  margin: 0;
  border: 0;
  padding: 0;
  font: inherit;
}

body {
  line-height: 1;
}

main {
  display: block;
}

strong {
  font-weight: 600;
}

em,
i {
  font-style: italic;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

iframe {
  max-width: 100%;
}

svg,
img,
embed,
object,
video {
  display: block;
  max-width: 100%;
}

img {
  border: 0;
  height: auto;
}

.aligncenter {
  margin: 0 auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

big {
  font-size: 131.25%;
}

ins {
  text-decoration: none;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: 0;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

input,
textarea {
  vertical-align: middle;
  background: var(--light-col);
}

input:focus,
button:focus,
select:focus {
  outline: 0;
}

pre {
  font-family: monospace;
  font-size: 1em;
}

.screen-reader-text {
  display: none;
}

[hidden] {
  display: none;
}

/*
===============================
= 04 Глобальные стили
============================================
*/
hr,
.wp-block-separator {
  display: block;
  clear: both;
  margin: 2em auto;
  border-top: 0;
  border-bottom: 1px solid var(--border-col);
  width: 100%;
  height: 1px;
}

:focus {
  outline: none;
  border: none;
}

.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

.focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

input::-moz-placeholder, select::-moz-placeholder {
  color: var(--placeholder);
}

input:-ms-input-placeholder, select:-ms-input-placeholder {
  color: var(--placeholder);
}

input:-moz-placeholder-shown {
  color: var(--placeholder);
}

input:-ms-input-placeholder {
  color: var(--placeholder);
}

input::placeholder,
input:placeholder-shown,
select::placeholder {
  color: var(--placeholder);
}

legend {
  display: table;
  padding: 0;
  max-width: 100%;
  white-space: normal;
  color: inherit;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  padding: 0;
  box-sizing: border-box;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

p {
  margin-bottom: 1.1em;
  font-weight: normal;
}

p:last-child {
  margin-bottom: 0;
}

button {
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  background: transparent;
  cursor: pointer;
}

.wp-caption,
.wp-caption-text,
.gallery-caption {
  font-size: 0.85rem;
  color: var(--grey-col);
}

a.gpress {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.lazy-hidden {
  opacity: 0;
}

.lazy-loaded {
  opacity: 1;
  transition: opacity 0.3s;
}

.flex-fix {
  margin: 0 !important;
  border: none;
  padding: 0 !important;
  width: 0;
  height: 0;
  background: none;
  opacity: 0;
  visibility: hidden;
}

.disable-scroll {
  position: relative;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

a {
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}

a:hover {
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}


/*
===============================
= 05 Подключение шрифтов
============================================
*/
@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-Black.eot');
    src: local('Onest Black'), local('Onest-Black'),
        url('assets/fonts/subset-Onest-Black.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-Black.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-Black.woff') format('woff'),
        url('assets/fonts/subset-Onest-Black.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-Black.svg#Onest-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-Regular.eot');
    src: local('Onest Regular'), local('Onest-Regular'),
        url('assets/fonts/subset-Onest-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-Regular.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-Regular.woff') format('woff'),
        url('assets/fonts/subset-Onest-Regular.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-Regular.svg#Onest-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-ExtraBold.eot');
    src: local('Onest ExtraBold'), local('Onest-ExtraBold'),
        url('assets/fonts/subset-Onest-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-ExtraBold.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-ExtraBold.woff') format('woff'),
        url('assets/fonts/subset-Onest-ExtraBold.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-ExtraBold.svg#Onest-ExtraBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-ExtraLight.eot');
    src: local('Onest ExtraLight'), local('Onest-ExtraLight'),
        url('assets/fonts/subset-Onest-ExtraLight.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-ExtraLight.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-ExtraLight.woff') format('woff'),
        url('assets/fonts/subset-Onest-ExtraLight.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-ExtraLight.svg#Onest-ExtraLight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-Bold.eot');
    src: local('Onest Bold'), local('Onest-Bold'),
        url('assets/fonts/subset-Onest-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-Bold.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-Bold.woff') format('woff'),
        url('assets/fonts/subset-Onest-Bold.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-Bold.svg#Onest-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-Thin.eot');
    src: local('Onest Thin'), local('Onest-Thin'),
        url('assets/fonts/subset-Onest-Thin.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-Thin.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-Thin.woff') format('woff'),
        url('assets/fonts/subset-Onest-Thin.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-Thin.svg#Onest-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-SemiBold.eot');
    src: local('Onest SemiBold'), local('Onest-SemiBold'),
        url('assets/fonts/subset-Onest-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-SemiBold.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-SemiBold.woff') format('woff'),
        url('assets/fonts/subset-Onest-SemiBold.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-SemiBold.svg#Onest-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-Light.eot');
    src: local('Onest Light'), local('Onest-Light'),
        url('assets/fonts/subset-Onest-Light.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-Light.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-Light.woff') format('woff'),
        url('assets/fonts/subset-Onest-Light.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-Light.svg#Onest-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('assets/fonts/subset-Onest-Medium.eot');
    src: local('Onest Medium'), local('Onest-Medium'),
        url('assets/fonts/subset-Onest-Medium.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/subset-Onest-Medium.woff2') format('woff2'),
        url('assets/fonts/subset-Onest-Medium.woff') format('woff'),
        url('assets/fonts/subset-Onest-Medium.ttf') format('truetype'),
        url('assets/fonts/subset-Onest-Medium.svg#Onest-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/*
===============================
= 06 Основные контейнеры и размер шрифта
============================================
*/
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
}
@media (max-width: 1360px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
}

*,
::before,
::after {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  font-family: var(--prime-font);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  font-size: 1.1rem;
  line-height: 1.6;
  word-wrap: break-word;
  background-color: var(--light-col);
}

.wrap {
  flex: 1 0 auto;
}

.container {
  margin: 0 auto;
  padding: 0 2rem;
  max-width: calc(1300px + 4rem);
}
@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
    max-width: calc(1300px + 2rem);
  }
}
@media (max-width: 320px) {
  .container {
    padding: 0 0.5rem;
    max-width: calc(1300px + 1rem);
  }
}

/*
===============================
= 07 Кнопки
============================================
*/
a.btn,
button.btn,
.wpcf7-submit,
.submit {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  box-shadow: 1px 8px 10px -5px rgba(35, 39, 68, 0.1);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  cursor: pointer;
}
a.btn:hover,
button.btn:hover,
.wpcf7-submit:hover,
.submit:hover {
  box-shadow: none;
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
a.btn.focus-visible,
button.btn.focus-visible,
.submit-btn.focus-visible,
.submit.focus-visible {
  outline-offset: 2px;
}

a.ghost-btn,
button.ghost-btn {
  border: 1px solid var(--light-col);
  padding: 1rem 1.5rem;
  box-shadow: none;
  background-color: transparent !important;
}
.personal-item a.ghost-btn,
.personal-item button.ghost-btn {
  border-color: var(--grey-col);
  width: 100%;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--grey-col);
}


/*
===============================
= 08 Заголовки
============================================
*/
.home-title {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  line-height: 130%;
  letter-spacing: -1px;
}
@media (max-width: 1500px) {
  .home-title {
    font-size: 1.9rem;
  }
}
@media (max-width: 1024px) {
  .home-title {
    text-align: center;
  }
}
@media (max-width: 900px) {
  .home-title {
    font-size: 1.7rem;
  }
}
@media (max-width: 600px) {
  .home-title {
    font-size: 1.5rem;
  }
}

.page-title {
  margin-bottom: 1.4rem;
  font-size: 2.2rem;
  line-height: 120%;
  letter-spacing: -1px;
}
@media (max-width: 1500px) {
  .page-title {
    font-size: 2rem;
  }
}

.page-template-default .page-title {
  margin-bottom: 0;
}

.page-template-default .page-header__descr {
  margin-top: 1.4rem;
}

.title--center {
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
}

.post__content h1,
.post__content h2,
.post__content h3,
.post__content h4,
.post__content h5,
.post__content h6,
.custom-section h1,
.custom-section h2,
.custom-section h3,
.custom-section h4,
.custom-section h5,
.custom-section h6 {
    margin-bottom: 1.2rem;
}

.post__content h1 {
  font-size: 1.8rem
}

.post__content h2 {
  font-size: 1.6rem
}

.post__content h3 {
  font-size: 1.4rem
}

.post__content h4 {
  font-size: 1.3rem
}

.post__content h5 {
  font-size: 1.2rem
}

.post__content h6 {
  font-size: 1.1rem
}


.section-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .section-content {
    text-align: center;
  }
}
@media (max-width: 900px) {
  .section-content {
    display: block;
  }
}

.section-text {
  padding-right: 3rem;
  max-width: 900px;
  color: var(--grey-col);
}
@media (max-width: 900px) {
  .section-text {
    margin-bottom: 1.5rem;
    padding-right: 0;
  }
}

.visually-hidden {
  position: absolute;
  margin: -1px;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}


/*
===============================
= 09 Верхняя панель над шапкой
============================================
*/
.sub-header {
  font-size: 1rem;
}
.sub-header__wrap {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: var(--light-col);
}
@media (max-width: 760px) {
  .sub-header__wrap {
    justify-content: center;
  }
}
.sub-header__title {
  font-weight: 500;
}
@media (max-width: 1200px) {
  .sub-header__schedule {
    display: none;
  }
}
@media (max-width: 1200px) {
  .sub-header__adress {
    padding-left: 2rem;
  }
}
@media (max-width: 760px) {
  .sub-header__adress {
    display: none;
    padding-left: 0;
  }
}
@media (max-width: 1200px) {
  .sub-header {
    font-size: 0.9rem;
  }
}



/*
===============================
= 10 Шапка сайта
============================================
*/
.header {
  border-bottom: 1px solid var(--border-col);
  padding: 0.9rem 0;
}
.header .header-wrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1360px) {
  .header__btn {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .header__btn {
    display: inline-block !important;
  }
}
@media (max-width: 760px) {
  .header__btn {
    display: none !important;
  }
}


/*
===============================
= 11 Десктопное меню
============================================
*/
.header-nav {
  position: relative;
  display: flex;
  align-items: center;
}
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }
}

.header-menu {
  display: flex;
  flex-shrink: 0;
  /* margin-right: 1.7rem; */
  height: 100%;
}
.header-menu__wrapper {
  position: relative;
}
.header-menu__wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -135%;
  z-index: 10;
  width: 100%;
  height: 150%;
  background-color: transparent;
}
.header-menu .sub-menu {
  position: absolute;
  left: -2.5rem;
  top: 200%;
  z-index: 10;
  display: none;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  padding: 2.5rem 2.5rem 2rem;
  width: 260px;
  box-shadow: 1px 12px 15px -5px rgba(46, 56, 117, 0.15);
  font-size: 1rem;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
.header-menu .sub-menu li {
  position: relative;
}
.header-menu .sub-menu li + * {
  margin-top: 0.9rem;
  margin-left: 0;
}
.header-menu .sub-menu a {
  text-decoration: none;
}
.header-menu .sub-menu a:hover {
  text-decoration: underline;
}

.header-menu .sub-menu .menu-item>.sub-menu {
  left: 105%;
  top: -2.5rem !important;
}

.header-menu li {
  position: relative;
}
.header-menu li + * {
  margin-left: 22px;
}
.header-menu li.menu-item-has-children {
  padding-right: 1rem;
}
.header-menu li.menu-item-has-children::before {
  content: "";
  position: absolute;
  right: -1rem;
  top: 0;
  z-index: 1;
  width: 1.9rem;
  height: 1.9rem;
  background-image: url("assets/img/svg/chevron_down.svg");
  background-position: center;
  background-size: 1.2rem 1.2rem;
  background-repeat: no-repeat;
  transition: transform 300ms ease-in-out;
}
.header-menu .sub-menu li.menu-item-has-children:hover::before {
  transform: rotate(-90deg);
  transition: transform 300ms ease-in-out;
}

.header-menu li.menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -145%;
  z-index: 1;
  width: 100%;
  height: 150%;
  background-color: transparent;
}
.header-menu li a {
  text-decoration: none;
}
.header-menu li a:hover {
  text-decoration: underline;
}

.header-menu .sub-menu li.menu-item-has-children::after {
  display: none;
}


/*
===============================
= 12 Кнопка открытия дополнительного меню
============================================
*/
.header-menu__btn {
  padding-top: 6px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: color 300ms ease-in-out;
}

@media (max-width: 1024px) {
  .header-menu__btn {
    display: none;
  }
}
 
.header-menu__btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  transition: fill 300ms ease-in-out;
}
.header-menu__btn:hover svg {
  transition: fill 300ms ease-in-out;
}

/*
===============================
= 13 Дополнительное десктопное меню
============================================
*/
.header-secondary-menu {
  position: absolute;
  left: 50%;
  top: 172%;
  z-index: 10;
  display: none;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  padding: 2.5rem 2.5rem 2rem;
  width: 260px;
  box-shadow: 1px 12px 15px -5px rgba(46, 56, 117, 0.15);
  font-size: 1rem;
  transform: translateX(-25%);
}
.header-secondary-menu li + * {
  margin-top: 0.9rem;
}

.header-secondary-menu li {
  text-decoration: none;
}

.header-secondary-menu li a {
  text-decoration: none;
}

.header-secondary-menu li a:hover {
  text-decoration: underline;
}


/*
===============================
= 14 Кликабельный телефон в шапке
============================================
*/
.header-phone {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.header-phone__icon {
  border-radius: 50%;
  padding: 6px;
  width: 32px;
  height: 32px;
  background-color: var(--grey-bg);
  transition: background-color 300ms ease-in-out;
}
.header-phone__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--prime-font);
  transition: fill 300ms ease-in-out;
}
.header-phone__num {
  display: block;
  padding-left: 1rem;
  text-decoration: none;
  color: var(--prime-font);
  transition: color 300ms ease-in-out;
}
 
.header-phone:hover .header-phone__icon svg {
  fill: var(--light-col);
}
@media (max-width: 600px) {
  .header-phone {
    display: none;
  }
}

/*
===============================
= 15 Кнопка открытия мобильного меню
============================================
*/
.mobile-menu-btn {
  position: relative;
  z-index: 9999;
  display: none;
  width: 32px;
  height: 32px;
}
.mobile-menu-btn__line {
  position: relative;
  display: block;
  border-radius: 2px;
  width: 100%;
  height: 2px;
  background-color: var(--grey-col);
  transition: background-color 0.3s ease-in-out;
}
.mobile-menu-btn__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  z-index: 1;
  border-radius: 2px;
  width: 85%;
  height: 2px;
  background-color: var(--grey-col);
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.is-active .mobile-menu-btn__line::before {
  top: 0;
  background-color: var(--light-col);
  transform: rotate(45deg);
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.mobile-menu-btn__line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  z-index: 1;
  border-radius: 2px;
  width: 85%;
  height: 2px;
  background-color: var(--grey-col);
  transition: bottom 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.is-active .mobile-menu-btn__line::after {
  bottom: 0;
  background-color: var(--light-col);
  transform: rotate(-45deg);
  transition: bototm 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.is-active .mobile-menu-btn__line {
  background-color: transparent;
  transition: background-color 0.02s ease-in-out;
}
.mobile-menu-btn.is-active {
  margin-right: 15px;
}
@media (max-width: 1024px) {
  .mobile-menu-btn.is-active {
    margin-right: 0;
  }
}
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }
}


/*
===============================
= 16 Мобильное меню
============================================
*/
.mobile-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
@media (max-width: 1024px) {
  .mobile-overlay {
    display: block;
  }
}

.mobile-nav {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 1rem 2rem 4rem;
  width: 360px;
  height: 100vh;
  background-color: var(--light-col);
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
}
.mobile-nav.is-open {
  transform: none;
}
@media (max-width: 1024px) {
  .mobile-nav {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    width: 290px;
  }
}
@media (max-width: 320px) {
  .mobile-nav {
    padding: 1rem;
    width: 250px;
  }
}

.mobile-menu li {
  font-size: 1.1rem;
}
.mobile-menu a {
  display: inline-block;
  padding: 0.75rem 0;
  text-decoration: none;
}
.mobile-menu a:hover {
  text-decoration: underline;
}
.mobile-menu .menu-item-has-children {
  position: relative;
}
.mobile-menu .menu-item-has-children::before {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 0.6rem;
  z-index: 1;
  width: 1.9rem;
  height: 1.9rem;
  background-image: url("assets/img/svg/chevron_down.svg");
  background-position: center;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
}
.mobile-menu .sub-menu {
  display: none;
  border-radius: 6px;
  padding: 0.8rem;
  padding-left: 1.2rem;
  background-color: var(--grey-bg);
}

.mobile-menu .sub-menu .sub-menu {
  padding: 0.3rem 0;

}

/*
===============================
= 17 Контакты в мобильном меню
============================================
*/
.mobile-menu-contacts {
  display: none;
  margin-top: 1rem;
  border-top: 1px solid var(--border-col);
  padding: 2rem 0;
  font-size: 1.1rem;
}
.mobile-menu-contacts__phone {
  display: block;
  margin-bottom: 0.6rem;
}
.mobile-menu-contacts__adress {
  display: block;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  border-top: 1px solid var(--border-col);
  padding-top: 1.5rem;
}
@media (max-width: 1200px) {
  .mobile-menu-contacts {
    display: block;
  }
}


/*
===============================
= 18 Главная страница - раздел Постер
============================================
*/
.poster__inner {
  padding: 3rem 0;
}
@media (max-width: 1024px) {
  .poster__inner {
    padding-bottom: 1rem;
  }
}
.poster__item {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1024px) {
  .poster__item {
    flex-direction: column;
    align-items: flex-start;
  }
}
.poster__caption {
  flex-shrink: 1;
  padding-right: 2rem;
  max-width: 650px;
}
@media (max-width: 1024px) {
  .poster__caption {
    order: 2;
    margin: 0 auto 3rem;
    padding-right: 0;
    text-align: center;
  }
}
.poster__expired {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.poster__title {
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
  line-height: 1.25;
  letter-spacing: -1px;
}
@media (max-width: 1200px) {
  .poster__title {
    font-size: 2.3rem;
  }
}
@media (max-width: 1024px) {
  .poster__title {
    margin: 0 auto 1.5rem;
    max-width: 500px;
    font-size: 2.1rem;
  }
}
.poster__text {
  display: block;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
.poster__note {
  padding-left: 1rem;
  font-size: 1rem;
  color: var(--grey-col);
}
@media (max-width: 1024px) {
  .poster__note {
    display: block;
    margin-top: 1.5rem;
    padding-left: 0;
  }
}

.poster__image {
  max-width: 690px;
}

.poster__image img {
  width: 100%;
  height: 100%;
}
@media (max-width: 1024px) {
  .poster__image img {
    margin-bottom: 3rem;
  }
}
@media (max-width: 1024px) {
  .poster__image {
    align-self: center;
    order: 1;
    max-width: 100%;
  }
}


/*
===============================
= 19 Главная страница - раздел Проблемы
============================================
*/
.problems {
  padding: 3rem 0 0;
  background-color: var(--grey-bg);
}

.problems-title {
  margin-bottom: 2.5rem;
}

.problems-list {
  display: grid;
  grid-column-gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
  .problems-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .problems-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .problems-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.problem-item {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
  border-radius: 8px;
  text-align: center;
  background-color: var(--light-col);
}
.problem-item__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1.3rem 1rem 2.1rem;
  box-shadow: 1px 5px 25px var(--shadow);
  font-size: 1.2rem;
  text-decoration: none;
  transition: box-shadow 0.3s ease-in, color 0.3s ease-in;
}
.problem-item__link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.6rem;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  background-image: url("assets/img/svg/plus-outline.svg");
  background-position: center;
  background-size: 1.6rem 1.6rem;
  background-repeat: no-repeat;
  transform: translateX(-50%);
  transition: background-color 0.3s ease-in;
}
.problem-item__link:hover {
  box-shadow: 1px 5px 35px rgba(65, 117, 5, 0.15);
  text-decoration: none;
  transition: box-shadow 0.3s ease-in, color 0.3s ease-in;
}
.problem-item__link:hover::before {
  transition: background-color 0.3s ease-in;
}


/*
===============================
= 20 Главная страница - раздел Услуги
============================================
*/
.otdel {
  position: relative;
  overflow-x: hidden;
}
.otdel__inner {
  padding: 6rem 0 8rem;
}

.error404-section .otdel__inner,
.service-page__inner {
  padding: 3rem 0;
}
@media (max-width: 1200px) {
  .otdel__inner {
    padding-bottom: 5rem;
  }
}
@media (max-width: 1024px) {
  .otdel__inner {
    padding: 4rem 0;
  }
}
.otdel__link {
  flex-shrink: 0;
  margin-top: 0.5rem;
  height: 50px;
}
@media (max-width: 1024px) {
  .otdel__link {
    height: 46px;
  }
}
.otdel-list {
  position: relative;
  display: grid;
  grid-column-gap: 2.55rem;
  grid-template-columns: repeat(4, 1fr);
}
.otdel-list::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: 3rem;
  z-index: -1;
  width: 60rem;
  height: 60rem;
  background-image: url("assets/img/svg/blob.svg");
  background-position: right bottom;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}
.home .otdel-list::after {
  bottom: -2rem;
}
@media (max-width: 1200px) {
  .home .otdel-list::after {
    bottom: 1rem;
  }
}
.otdel-list__item {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 8px;
  box-shadow: 1px 12px 15px -5px var(--shadow);
  background-color: var(--light-col);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.otdel-list__item:hover {
  box-shadow: 1px 12px 15px -5px rgba(65, 117, 5, 0.05);
  transform: translateY(3px);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
@media (max-width: 1200px) {
  .otdel-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .otdel-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .otdel-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .otdel-list > * {
    justify-self: center;
  }
}

.otdel-item__content {
  position: relative;
  padding: 2rem 1rem;
}
.otdel-item__link {
  display: block;
  text-decoration: none;
}
.otdel-item__link:hover {
  text-decoration: none;
}

.otdel-item__title {
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 130%;
  letter-spacing: -0.2px;
  text-align: center;
  color: initial;
}
.otdel-item__title {
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.otdel-item__title a {
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.otdel-item__title a:hover {
  text-decoration: underline;
}
 
.otdel-item__link:hover .otdel-item__title {
  text-decoration: underline;
}
.otdel-item__img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}


/*
===============================
= 21 Главная страница - раздел Преимущества
============================================
*/
.about__inner {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding-bottom: 3rem;
}

.about-images {
  position: relative;
  display: grid;
  flex: 1;
  order: 1;
  grid-column-gap: 1.5rem;
  grid-template-columns: 48% 48%;
}
.about-images__img {
  margin-bottom: 1.5rem;
}
.about-images__img img {
  border-radius: 4px;
}

@media (max-width: 600px) {
  .about-images__img img {
    margin: 0 auto;
  }
}

.about-images__instagram {
  position: absolute;
  left: -3rem;
  bottom: 3rem;
  z-index: 1;
  border-radius: 30px;
  padding: 1.2rem 1.5rem 1.2rem 3rem;
  box-shadow: 1px 5px 25px var(--shadow);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--light-col);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  background-size: 100% 100%;
  transition: background 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.about-images__instagram::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 24px;
  height: 24px;
  background-image: url("assets/img/svg/about-instagram.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.about-images__instagram:hover {
  background-size: 300% 200%;
  transform: translateY(3px);
  transition: background 0.4s ease-in-out, transform 0.4s ease-in-out;
  color: var(--light-col);
  text-decoration: none;
}
@media (max-width: 1500px) {
  .about-images__instagram {
    left: 2rem;
  }
}
@media (max-width: 1200px) {
  .about-images {
    flex-basis: 100%;
    order: 2;
    grid-template-columns: 31% 31% 31%;
  }
}
@media (max-width: 1024px) {
  .about-images {
    grid-template-columns: 48% 48%;
  }
}
@media (max-width: 600px) {
  .about-images {
    grid-template-columns: 1fr;
  }
}

.about-content {
  flex: 1;
  order: 2;
  margin-left: 3rem;
}
@media (max-width: 1200px) {
  .about-content {
    order: 1;
    margin-bottom: 0;
    margin-left: 0;
  }
}

.about-title {
  margin-bottom: 3rem;
}

.about-list__item {
  position: relative;
  padding-left: 2rem;
}
.about-list__item::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: -1rem;
  z-index: -1;
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  opacity: 0.15;
}
.about-list__item:not(:last-child) {
  margin-bottom: 3rem;
}
@media (max-width: 1200px) {
  .about-list__item:not(:last-child) {
    margin-bottom: 4rem;
  }
}
@media (max-width: 1200px) {
  .about-list__item {
    flex-basis: 48%;
  }
}
@media (max-width: 1024px) {
  .about-list__item {
    flex-basis: 100%;
  }
}
.about-list__title {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
}
@media (max-width: 1200px) {
  .about-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
}
@media (max-width: 1024px) {
  .about-list {
    margin-bottom: 3rem;
  }
}


/*
===============================
= 22 Главная страница - раздел Партнеры
============================================
*/
.partners__list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding-bottom: 6rem;
}
@media (max-width: 1280px) {
  .partners__list {
    justify-content: flex-start;
    padding-bottom: 3rem;
  }
}
.partners__item {
  flex-basis: 15%;
}
@media (max-width: 1280px) {
  .partners__item {
    flex-basis: 25%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 1024px) {
  .partners__item {
    flex-basis: 33%;
    margin-bottom: 2rem;
  }
}
 
@media (max-width: 600px) {
  .partners__item {
    flex-basis: 45%;
  }
}

@media (max-width: 460px) {
  .partners__item {
    flex-basis: 100%;
  }
}

.partners__item img {
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 1200px) {
  .partners__item img {
    max-width: 200px;
  }
}

@media (max-width: 1024px) {
  .partners__item img {
   margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .partners__item img {
    max-width: 150px;
  }
}

.partners__item:hover img{
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
 
.partners__link.focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/*
===============================
= 23 Главная страница - раздел Отзывы
============================================
*/
.feedback {
  background-color: var(--grey-bg);
}
.feedback__title {
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .feedback__title {
    margin-bottom: 7rem;
  }
}

.feedback-list {
  position: relative;
  overflow-x: hidden;
  margin: 1rem auto 0;
  padding: 5rem 2rem 6rem;
  max-width: calc(1300px + 4rem);
}
@media (max-width: 1024px) {
  .feedback-list {
    padding-bottom: 5rem;
  }
}
@media (max-width: 600px) {
  .feedback-list {
    padding: 4rem 1rem;
  }
}

.feedback-card {
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 1px 12px 15px -5px var(--shadow);
  background-color: var(--light-col)
}
.feedback-card__info {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}
.feedback-card__info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  opacity: 0.15;
}
.feedback-card__link {
  margin-left: 0.5rem;
  text-decoration: none;
}
.feedback-card__link:hover {
  text-decoration: underline;
}
.feedback-card__doctor {
  position: relative;
  z-index: 1;
  display: block;
  padding-top: 1.5rem;
  padding-left: 1rem;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .feedback-card__doctor {
    padding-left: 1rem;
  }
}
.feedback-card__person {
  position: relative;
  z-index: 1;
  display: block;
  padding-left: 1rem;
  font-weight: 500;
  color: var(--grey-col);
}
@media (max-width: 1024px) {
  .feedback-card__person {
    padding-left: 1rem;
  }
}
@media (max-width: 1024px) {
  .feedback-card {
    padding: 1.5rem;
  }
}

.feedback-nav {
  position: absolute;
  right: 2.2rem;
  top: 5.5rem;
  display: flex;
  align-items: center;
}
.feedback-nav__next {
  margin-left: 0.5rem;
}
.feedback-nav__prev, .feedback-nav__next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  color: var(--grey-col);
  background: var(--grey-bg);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  cursor: pointer;
}
.feedback-nav__prev svg, .feedback-nav__next svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  -o-object-fit: cover;
  object-fit: cover;
}
.feedback-nav__prev:hover, .feedback-nav__next:hover {
  color: var(--light-col);
}
@media (max-width: 1024px) {
  .feedback-nav {
    left: 50%;
    right: initial;
    top: 9rem;
    transform: translateX(-50%);
  }
}


/*
===============================
= 24 Главная страница - раздел Персонал
============================================
*/
.personal__inner {
  overflow: hidden;
}

.personal-list {
  margin: 0 auto;
}

.personal-item {
  padding-bottom: 4rem;
}
.personal-item__img {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 6px;
  transition: transform 0.3s ease-in-out;
}
.personal-item__img img {
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .personal-item__img img {
    margin: 0 auto 1.2rem;
  }
}
 .personal-item__img:hover {
  transform: translateY(5px);
  transition: transform 0.3s ease-in-out;
}

.single-personal .personal-item__img:hover {
  transform: translateY(0);
}
.personal-item__img--single {
  float: left;
  margin: 0 3rem 0.5rem 0;
}

@media (max-width: 600px) {
  .personal-item__img--single  {
    float: none;
    margin: 0 0 2rem 0;
  }
  .personal-item__img--single img {
    margin: 0;
  }
}

.personal-item__name {
  margin-bottom: 0.6rem;
}
.personal-item__name a {
  text-decoration: none;
}
.personal-item__name a:hover {
  text-decoration: underline;
}
.personal-item__descr {
  font-size: 1.05rem;
  color: var(--grey-col);
}
.personal-item__btn {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  border-radius: 50%;
  padding-top: 0.5rem;
  width: 4rem;
  height: 4rem;
  box-shadow: 1px 12px 15px -5px var(--shadow);
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: center;
  color: var(--light-col);
  background-image: url("assets/img/svg/plus-outline.svg");
  background-position: center;
  background-size: 1.6rem 1.6rem;
  background-repeat: no-repeat;
  transition: background-color 0.3s ease-in;
}
@media (max-width: 1024px) {
  .personal-item__btn {
    right: 2rem;
  }
}
.personal-section .personal-item {
  padding-bottom: 0;
}

.personal-nav {
  display: flex;
  align-items: center;
  margin-right: 5px;
}
.personal-nav__next {
  margin-left: 0.5rem;
}
.personal-nav__prev, .personal-nav__next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  color: var(--grey-col);
  background: var(--grey-bg);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  cursor: pointer;
}
.personal-nav__prev svg, .personal-nav__next svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  -o-object-fit: cover;
  object-fit: cover;
}
.personal-nav__prev:hover, .personal-nav__next:hover {
  color: var(--light-col);
}
@media (max-width: 1024px) {
  .personal-nav {
    justify-content: center;
  }
}

.swiper-button-disabled {
  opacity: 0.5;
  pointer-events: none;
}


/*
===============================
= 25 Главная страница - разделы для произвольного контента
============================================
*/
.custom-section__inner {
  padding: 4rem 0;
}

.custom-title {
  margin-bottom: 2rem;
}

/*
===============================
= 26 Главная страница - раздел Призыв к действию
============================================
*/
.action {
  overflow-x: hidden;
  margin: 0 auto;
  margin-top: 4rem;
  width: 100%;
  max-width: 1920px;
}

.error404 .action {
  margin-top: 0;
}
.action__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5rem 0;
  background-position:  center;
  background-repeat: no-repeat;
  background-size: cover;
}
.action__inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}
.action__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  text-align: center;
  color: var(--light-col);
}

.action__title,
.action__phone {
  letter-spacing: 0.4px;
}
.action__text {
  display: block;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
.action__phone {
  display: table;
  margin: 0 auto;
  padding: 0 1rem;
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--light-col);
}
.action__phone:not(:last-child) {
  margin-bottom: 0.5rem;
}
.action__phone:hover {
  text-decoration: underline;
  color: var(--light-col);
}
.action__btn {
  margin-top: 1rem;
  color: var(--light-col);
}
.home .action {
  margin-top: 0;
}

/*
===============================
= 27 Страница Контакты
============================================
*/
 
.contact__title {
  color: var(--light-col);
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column-gap: 4rem;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 4rem;
  padding: 5rem 0;
}
.home .contact-inner {
  margin-top: 0;
}
@media (max-width: 600px) {
  .contact-inner {
    display: block;
  }
}

.contact-info {
  align-self: center;
  grid-column: span 4;
}


.contact-content {
  padding-top: 3rem;
}
 
.contact-content .contact-info__label {
  color: var(--grey-col);
}
.contact-content__inner {
  display: grid;
  grid-column-gap: 3rem;
  grid-template-columns: repeat(12, 1fr);
  margin-bottom: 4rem;
}
@media (max-width: 900px) {
  .contact-content__inner {
    display: block;
  }
}
.contact-content__media img {
  border-radius: 8px;
}
@media (max-width: 900px) {
  .contact-content__text {
    margin-bottom: 4rem;
  }
  .contact-content__media img {
    margin: 0 auto
  }
}
.contact-content__text, .contact-content__media {
  align-self: center;
  grid-column: span 6;
}

.contact-content__text {
  box-shadow: 1px 5px 35px var(--shadow);
  padding: 2rem;
  border-radius: 10px;
}

.contact-info__item {
  padding-left: 4.5rem;
}
@media (max-width: 600px) {
  .contact-info__item {
    padding-left: 0;
  }
}
.contact-info__label {
  display: block;
  font-size: 0.75rem;
  line-height: 150%;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--light-col);
}
.contact-info__showmap {
  margin-left: 1rem;
  font-size: 1rem;
  color: var(--grey-col);
  cursor: pointer;
}
.contact-info__showmap:hover {
  text-decoration: underline;
}
.contact-info__showmap--light {
  color: var(--light-col);
}
@media (max-width: 600px) {
  .contact-info__showmap {
    display: block;
    margin-top: 2rem;
    margin-left: 0;
  }
}
.contact-info__link {
  text-decoration: underline;
}
.contact-info__link:hover {
  text-decoration: underline;
}
.contact-info__btn {
  margin-top: 1rem;
  color: var(--light-col);
}
.contact-info__icon {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid var(--light-col);
  border-radius: 6px;
  padding: 0.6rem;
  width: 3rem;
  height: 3rem;
  fill: currentColor;
}
.contact-content__inner .contact-info__icon {
  border: 1px solid var(--grey-col);
  fill: var(--grey-col);
}
@media (max-width: 600px) {
  .contact-info__icon {
    display: none;
  }
}
.contact-info__adress, .contact-info__tel, .contact-info__chat, .contact-info__shedule {
  position: relative;
  margin-bottom: 1.8rem;
}
@media (max-width: 1024px) {
  .contact-info {
    justify-self: center;
    grid-column: span 7;
  }
}
@media (max-width: 600px) {
  .contact-info {
    text-align: center;
  }
}



/*
===============================
= 28 Подвал сайта
============================================
*/
.footer {
  flex: 0 0 auto;
  font-size: 1rem;
  color: var(--grey-col);
  background-color: var(--light-col);
}
.footer__inner {
  display: grid;
  grid-column-gap: 3rem;
  grid-template-columns: repeat(12, 1fr);
  border-bottom: 1px solid var(--border-col);
  padding: 4rem 0;
}
@media (max-width: 1024px) {
  .footer__inner {
    padding-bottom: 2rem;
  }
}
@media (max-width: 600px) {
  .footer__inner {
    display: block;
    padding: 4rem 1rem 4rem 0;
  }
}
.footer__notice {
  grid-column: span 4;
}
@media (max-width: 1024px) {
  .footer__notice {
    grid-column: span 12;
    margin-bottom: 3rem;
  }
}

/* меню в подвале */
.footer__nav {
  grid-column: span 5;
}

.footer__nav .footer-list {
  columns: 2;
}

@media (max-width: 1024px) {
  .footer__nav .footer-list {
    max-width: 500px;
  }
}

@media (max-width: 500px) {
  .footer__nav .footer-list {
    columns: 1;
    max-width: 100%;
  }
}

.footer__nav .footer-list li:not(:last-child) {
  margin-bottom: 0.6rem;
}
.footer__nav .footer-list li a {
  text-decoration: none;
  color: var(--grey-col);
}
.footer__nav .footer-list li a:hover {
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .footer__nav {
    grid-column: span 12;
  }
}
.footer__cards {
  grid-column: span 3;
}
@media (max-width: 1024px) {
  .footer__cards {
    grid-column: span 12;
    margin-top: 3rem;
  }
}
.footer__logos {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  color: var(--grey-col);
}
.footer__logos svg {
  margin-bottom: 1rem;
  width: 40px;
  height: 30px;
  fill: currentColor;
  -o-object-fit: cover;
  object-fit: cover;
}
.footer__logos svg:not(:last-child) {
  margin-right: 0.8rem;
}

.footer__statistics {
  margin-top: 1rem;
}

.credits {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding: 2rem 0;
  font-size: 0.9rem;
}
.credits__info {
  color: var(--grey-col);
}
@media (max-width: 1024px) {
  .credits__info:not(:last-child) {
    margin-bottom: 1rem;
  }
}
.credits a {
  text-decoration: none;
  color: var(--grey-col);
}
.credits a:hover {
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .credits {
    flex-direction: column;
  }
}

.back2top {
  position: fixed;
  bottom: 20px;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  color: var(--light-col);
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}
.back2top svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
  transform: rotate(90deg);
}
.back2top.is-active {
  display: flex;
}


/*
===============================
= 29 Модальные окна
============================================
*/
.modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10001;
  width: 100%;
  max-width: 530px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
.modal__close {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: -1rem;
  z-index: 9999;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  background-image: url("assets/img/svg/close.svg");
  background-position: center;
  background-size: 1.4rem 1.4rem;
  background-repeat: no-repeat;
}
 
.modal__content {
  border-radius: 8px;
  margin: 0 2rem;
  padding: 3rem 2rem 0;
  background-color: var(--light-col);
}
 
.modal__content--map {
  padding: 2rem 2rem 1.5rem;
}

@media (max-width: 600px) {
  .modal__content--map {
    padding: 0.8rem;
  }
}

.modal__title {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.6rem;
  padding-left: 1rem;
  font-weight: 700;
  font-size: 1.2rem;
}
.modal__title::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: -1rem;
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  opacity: 0.15;
}
.modal__process {
  display: block;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  padding-left: 1rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--grey-col);
}
.modal.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.modal-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
.modal-overlay.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}


/*
===============================
= 30 Контактная форма в модальных окнах
============================================
*/
.modal-form,
.wpcf7-form {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  width: 100%;
}

.wpcf7-form p {
  margin: 0;
}

.modal-form__label  {
  display: block;
}
.modal-form__label:not(:last-child) {
  margin-bottom: 1rem;
}
.modal-form__name {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 150%;
  color: var(--grey-col);
}
.modal-form__input,
.wpcf7-text {
  margin: 0;
  border: 1px solid #dcdfed;
  border-radius: 6px;
  padding: 1.1rem 1.1rem 1rem;
  width: 100%;
  height: 52px;
  font-family: inherit;
  font-variant-numeric: lining-nums;
  font-size: 1.1rem;
  line-height: 1;
  background-color: #fbfdff;
}
.modal-form__input.focus-visible,
.wpcf7-text.focus-visible  {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.modal-form__note,
.wpcf7-acceptance {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--grey-col);
}

.wpcf7-list-item {
  margin: 0;
}
.modal-form__link {
  color: var(--grey-col);
}
.modal-form__btn,
.wpcf7-submit {
  width: 100%;
  margin-top: 1.5rem;
}
.wpcf7-submit:disabled {
  opacity: 0.6;
}

.wpcf7-acceptance input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  position: relative;
  display: block;
  padding-left: 2rem;
}

.wpcf7-acceptance .wpcf7-list-item-label a {
  color: var(--grey-col);
}

.wpcf7-acceptance .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  background-color: transparent;
  border: 1px solid #b3b7cd;
  border-radius: 4px;
}

.wpcf7-acceptance input:checked + span::before {
  background-color: var(--accent);
  background-image: url("assets/img/svg/checked.svg");
  background-position: center;
  background-size: 1rem;
  background-repeat: no-repeat;
  border-color: transparent;
}

.modal-form__btn.focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/*
===============================
= 31 Кнопки социальных сетей
============================================
*/
.social-btns {
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
}
.social-btns__item {
  width: 2rem;
  height: 2rem;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}
.social-btns__item:not(:last-child) {
  margin-right: 1.1rem;
}
.social-btns__item:hover {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.social-btns__link {
  display: block;
  color: var(--light-col);
}
.social-btns__link svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
  -o-object-fit: cover;
  object-fit: cover;
  transition: fill 0.3s ease-in-out;
}
 
.social-btns--contact-page {
  justify-content: center;
  margin: 0 auto;
  padding: 2rem 0;
  max-width: 1920px;
  background-color: var(--grey-bg);
}
.social-btns--contact-page .social-btns__item {
  margin: 0 1rem;
  width: auto;
  height: auto;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 1;
}
.social-btns--contact-page .social-btns__item .social-btns__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.social-btns--contact-page .social-btns__item .social-btns__link:hover {
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}
@media (max-width: 900px) {
  .social-btns--contact-page .social-btns__item .social-btns__link {
    justify-content: flex-start;
  }
}
.social-btns--contact-page .social-btns__item svg {
  margin-right: 0.65rem;
  fill: currentColor;
  transition: fill 0.3s ease-in-out;
}
@media (max-width: 900px) {
  .social-btns--contact-page .social-btns__item {
    margin: 0;
    margin-bottom: 2rem;
    width: 33%;
  }
}
@media (max-width: 600px) {
  .social-btns--contact-page .social-btns__item {
    width: 48%;
  }
}
@media (max-width: 900px) {
  .social-btns--contact-page {
    flex-flow: wrap;
    justify-content: space-between;
    padding: 2rem 2rem 0;
  }
}
@media (max-width: 900px) {
  .social-btns {
    justify-content: flex-start;
  }
}

.social-btns--footer {
  padding-top: 0;
}

@media (max-width: 900px) {
  .social-btns--footer {
    justify-content: flex-start;
  }
}

.social-btns__title {
  display: block;
  margin-bottom: 1rem;
}
.social-btns--footer .social-btns__link {
text-indent: -9999px;
font-size: 0;
transition: color 0.3s ease-in-out;
}

.social-btns--footer .social-btns__link svg {
  fill: currentColor;
}

@media (max-width: 900px) {
  .social-btns__item,
  .social-btns__link svg  {
    width: 2.4rem;
    height: 2.4rem;
  }
}


/*
===============================
= 32 Оформление внутренних страниц
============================================
*/
.page-header__inner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 2.2rem 0 2.6rem;
  background-color: var(--grey-bg);
}
.page-header__inner--error404 {
  padding-bottom: 4rem;
}
.page-header__content {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 760px) {
  .page-header__content {
    display: block;
  }
}
.page-header__info {
  flex-shrink: 1;
  padding-right: 2rem;
  max-width: 800px;
}

@media (max-width: 500px) {
  .page-header__info {
    padding-right: 0;
  }
}
.page-header__content--single .page-header__info {
  max-width: 800px;
}
.page-header__descr {
  display: block;
  max-width: 800px;
  font-size: 1.1rem;
  color: var(--grey-col);
}


/*
===============================
= 33 Поисковая форма в шапке внутренних страниц
============================================
*/
.search-form {
  position: relative;
  margin-top: 2rem;
}
.search-form::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 5;
  border-radius: 4px;
  width: 48px;
  height: 48px;
  background-size: 300% 100%;
}
.search-form__input {
  margin: 0;
  border: 1px solid var(--border-col);
  border-radius: 6px;
  padding: 0.7rem 3rem 0.7rem 1rem;
  width: 20rem;
  height: 52px;
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1;
  background-color: var(--light-col);
}
.search-form__input.focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .search-form__input {
    width: 100%;
  }
}
.search-form__submit {
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 10;
  border: 0;
  width: 48px;
  height: 48px;
  background-image: url("assets/img/svg/search.svg");
  background-position: center;
  background-size: 26px 26px;
  background-repeat: no-repeat;
  background-color: var(--light-col);
  cursor: pointer;
}
 

/*
===============================
= 34 Хлебные крошки
============================================
*/
.breadcrumbs {
  display: flex;
  flex-flow: wrap;
  align-content: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
}
.breadcrumbs__item {
  position: relative;
  font-size: 0.9rem;
}
.breadcrumbs__item::before {
  content: "";
  position: absolute;
  right: -1.35rem;
  top: 0.7rem;
  width: 0.8rem;
  height: 1px;
  background-color: #999;
}
.breadcrumbs__item:not(:last-child) {
  margin-right: 2rem;
}
.breadcrumbs__item:last-child::before {
  display: none;
}
.breadcrumbs__link {
  font-weight: 500;
  text-decoration: none;
  color: var(--grey-col);
}
.breadcrumbs__link:not(a[href]):hover {
  text-decoration: none;
  color: var(--grey-col);
}
.breadcrumbs__link:hover {
  text-decoration: underline;
}


/*
===============================
= 35 Страница для вывода всех услуг 
============================================
*/
.otdel-section__inner {
  padding: 3rem 0;
}

.otdel-section__home {
  padding: 0;
}

.otdel-section__home .otdel-item__title {
  padding-left: 0.5rem;
  text-align: left;
}

.service-list {
  margin-top: 1.5rem;
}
.service-list__item {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 1.75rem;
  font-size: 1.05rem;
}
.service-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("assets/img/svg/radio_filled.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.service-list__link {
  text-decoration: none;
  color: var(--grey-col);
}
.service-list__link:hover {
  text-decoration: underline;
}

/*
===============================
= 36 Табы в отделах
============================================
*/
.service-tabs {
  position: relative;
}
.service-tabs::after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  line-height: 0;
  visibility: hidden;
}
.service-tabs__content {
  padding-bottom: 1rem;
}

.tab-nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-top: 1.3rem;
}
.tab-nav__item {
  margin-bottom: 1rem;
  box-shadow: 1px 12px 15px -5px var(--shadow);
}
.tab-nav__item:not(:last-child) {
  margin-right: 1.75rem;
}
@media (max-width: 760px) {
  .tab-nav__item:not(:last-child) {
    margin-right: 1.25rem;
  }
}
.tab-nav__item.active a {
  color: var(--light-col);
}
@media (max-width: 760px) {
  .tab-nav__item {
    margin-bottom: 1.5rem;
  }
}
.tab-nav__link {
  display: inline-block;
  border-radius: 4px;
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
  background-color: var(--light-col);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  cursor: pointer;
}
.tab-nav__link:hover {
  text-decoration: none;
  color: var(--light-col);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
@media (max-width: 760px) {
  .tab-nav {
    flex-flow: wrap;
  }
}

.tab-content {
  margin-top: 2rem;
}
.tab-content__title {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.4rem;
}
.tab-content__image {
  float: left;
  margin: 0 2rem 0.3rem 0;
}
.tab-content__item {
  display: none;
}
.tab-content__item.active {
  display: block;
}


/*
===============================
= 37 Карточки услуг
============================================
*/
.service-single-content__inner {
  display: grid;
  grid-column-gap: 4rem;
  grid-template-columns: repeat(12, 1fr);
  padding: 3rem 0 1rem;
}
@media (max-width: 900px) {
  .service-single-content__inner {
    display: block;
  }
}
.service-single-content__text {
  grid-column: span 9;
}
@media (max-width: 900px) {
  .service-single-content__text {
    margin-bottom: 3rem;
  }
}
.service-single-content__sidebar {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .service-single-content__sidebar {
    border-top: 1px solid var(--border-col);
    padding-top: 2rem;
  }
}


/*
===============================
= 38 Страница Персонал
============================================
*/
.personal-section__inner {
  display: grid;
  grid-column-gap: 4rem;
  grid-template-columns: repeat(12, 1fr);
  padding: 3rem 0 1rem;
}
@media (max-width: 900px) {
  .personal-section__inner {
    display: block;
  }
}
.personal-section__content {
  grid-column: span 9;
}
.personal-section__grid {
  display: grid;
  grid-column-gap: 3rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .personal-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .personal-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .personal-section__grid {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }
}
.personal-section__sidebar {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .personal-section__sidebar {
    border-top: 1px solid var(--border-col);
    padding-top: 2rem;
  }
}
.personal-section .personal-list__item {
  margin-bottom: 3rem;
}


/*
===============================
= 39 Карточки врачей
============================================
*/
.person-info__filed {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--grey-col);
}

.person-info__value {
  margin-bottom: 2rem;
}

.person-info__value ul {
  display: table;
  margin-top: 1rem;
}

.person-info__value li {
  margin-bottom: 10px;
  list-style-type: disc;
  list-style-position: inside;
}

.person-info__value li:last-child {
  margin-bottom: 0;
}


/*
===============================
= 40 Страницы блога, рубрик
============================================
*/
.blog-content__inner {
  display: grid;
  grid-column-gap: 4rem;
  grid-template-columns: repeat(12, 1fr);
  padding: 3rem 0 1rem;
}
@media (max-width: 900px) {
  .blog-content__inner {
    display: block;
  }
}
.blog-content__post-col {
  grid-column: span 9;
}
@media (max-width: 900px) {
  .blog-content__post-col {
    margin-bottom: 2rem;
  }
}

.blog-content__post-col--fullwidth {
  grid-column: span 12;
}
.blog-content__sidebar {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .blog-content__sidebar {
    border-top: 1px solid var(--border-col);
    padding-top: 2rem;
  }
}

.blog-content .gp-entry {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5rem;
}

@media (max-width: 600px) {
  .blog-content .gp-entry {
     flex-direction: column;
  }
}

@media (max-width: 600px) {
  .blog-content .gp-entry {
    margin-bottom: 3rem;
  }
}

.single .blog-content .post:not(:last-child) {
  margin-bottom: 2rem;
}


/*
===============================
= 41 Записи блога
============================================
*/
.blog-content .post__content {
  margin-bottom: 2rem;
}
.blog-content .post__content p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}
.blog-content .post__thumbnail {
  margin-right: 2.5rem;
  width: 100%;
  max-width: 300px;
}

@media (max-width: 900px) {
  .blog-content .post__thumbnail {
    max-width: 200px;
  }
}

.blog-content .post__thumbnail img {
  border-radius: 8px;
}

@media (max-width: 600px) {
  .blog-content .post__thumbnail {
    display: table;
    margin-bottom: 2rem;
    max-width: 400px;
  }
}

.blog-content .post__title {
  margin-bottom: 0.9rem;
  font-weight: 600;
  font-size: 1.38rem;
  line-height: 140%;
}

.blog-content .post__title--standart {
  margin-bottom: 1.2rem;
  font-size: 1.7rem;
}

.blog-content .post__title a {
  text-decoration: none;
}
.blog-content .post__title a:hover {
  text-decoration: underline;
}

blockquote {
  margin: 1.3rem 0 2rem;
  padding: 1.3rem 3rem;
  position: relative;
  border-left: 2px solid var(--dark-col);
  font-weight: var(--font-regular)
}

@media (max-width: 600px) {
  blockquote {
    padding: 1.3rem 0 1.3rem 2rem;
  }
}

blockquote p {
  margin: 0;
  font-size: 1.4rem;
}

@media (max-width: 600px) {
  blockquote p {
    font-size: 1.3rem;
  }
}

blockquote cite {
  font-size: 14px;
  display: block;
  margin-top: 20px;
  font-style: normal;
  text-align: right
}

.wp-block-pullquote {
  padding: 0;
  margin: 20px 0 35px
}

.wp-block-pullquote blockquote {
  background: 0;
  padding: 20px 0;
  margin: 0;
  border-top: 15px solid #f4f4f4;
  border-bottom: 15px solid #f4f4f4;
  border-left: 0
}

.wp-block-pullquote blockquote:after {
  display: none
}

.wp-block-pullquote p {
  margin: 0;
  line-height: 1.4;
  font-size: 20px
}

.single-thumbnail {
  margin-bottom: 2rem;
  display: block;
}

.single-thumbnail img {
  margin: 0 auto
}

.wp-block-image {
  display: initial;
}

.wp-block-image .alignleft {
  margin: 0 2rem 0.4rem 0;
}

img.alignleft {
  float: left;
  margin: 0 2rem 0.4rem 0;
}

.wp-block-image .alignright {
  margin: 0 0 0.8rem 2rem;
}

img .alignright {
  float: right;
  margin: 0 0 0.8rem 2rem;
}

.wp-block-image figcaption, 
.wp-block-table  figcaption {
  font-size: 0.95rem;
  color: var(--grey-col);
}


@media (max-width: 900px) {
.wp-block-image .alignleft,
.wp-block-image .alignright {
   margin: 0 auto 1rem;
   float: none;
   display: table
  }
}

.gpress-block-price {
  padding: 12px 0;
}

.page-template-thankyou-page-php .blog-content__inner {
  padding: 0;
}

/*
===============================
= 42 Информация о записи
============================================
*/
.post__meta {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-col);
  padding-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--grey-col);
}

.single .post__meta {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.post__meta a {
  text-decoration: none;
  color: var(--grey-col);
}
.post__meta a:hover {
  text-decoration: underline;
 
}

.post__wrapper p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.post__date::before {
  background-image: url("assets/img/svg/clock-blog.svg");
}
.post__comments::before {
  background-image: url("assets/img/svg/comment.svg");
}
.post__comments {
  display: inline-block;
  position: relative;
  margin-right: 0;
  padding-left: 1.5rem;
}
.post__date {
  display: inline-block;
  position: relative;
  margin-right: 0.8rem;
  padding-left: 1.5rem;
}
.post__category {
  margin-right: 0.8rem;
}
.post__category::before, .post__date::before, .post__comments::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 0.9rem;
  height: 0.9rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (max-width: 900px) {
  .blog-content .post {
    align-items: stretch;
  }
}
.blog-content--single .post {
  display: block;
}

.post-tags a {
  position: relative;
  display: inline-block;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--grey-col);
}
.post-tags a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.85rem;
  height: 0.85rem;
  background-image: url("assets/img/svg/tag-outline.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.post-tags a:not(:last-child) {
  margin-right: 1rem;
}
.post-tags a:hover {
  text-decoration: underline;
  color: var(--accent);
}



/*
===============================
= 43 Кнопки Поделиться в соц сетях
============================================
*/
.share-btns {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}
.share-btns__list {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}
.share-btns__title {
  margin-bottom: 1.2rem;
  font-weight: 400;
  font-size: 1rem;
  color: var(--grey-col);
}
.share-btns__item:not(:last-child) {
  margin-right: 0.5rem;
}
.share-btns__link {
  display: block;
  border-radius: 4px;
  width: 2.1rem;
  height: 2.1rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-color 0.3s ease-in-out;
}
.share-btns__link:hover {
  transition: background-color 0.3s ease-in-out;
}
.share-btns__link--whatsapp {
  background-image: url("assets/img/svg/whatsapp-color.svg");
  background-color: #00e47c;
}
.share-btns__link--vkontakte {
  background-image: url("assets/img/svg/vkontakte-color.svg");
  background-size: 32px 32px;
  background-color: #07f;
}
.share-btns__link--facebook {
  background-image: url("assets/img/svg/facebook-color.svg");
  background-color: #3b5998;
}
.share-btns__link--telegram {
  background-image: url("assets/img/svg/telegram-color.svg");
  background-color: #08c;
}
.share-btns__link--twitter {
  background-image: url("assets/img/svg/twitter-color.svg");
  background-color: #14a1e8;
}
.share-btns__link--odnoklassniki {
  background-image: url("assets/img/svg/odnoklassniki-color.svg");
  background-color: #ff982c;
}
.share-btns__link--viber {
  background-image: url("assets/img/svg/viber-color.svg");
  background-size: 20px 20px;
  background-color: #6246bc;
}


/*
===============================
= 44 Виджеты в сайдбаре и подвале
============================================
*/
.widget:not(:last-child) {
  margin-bottom: 3rem;
}

.sidebar__title {
  display: block;
  margin-bottom: 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.sidebar__widget ul li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
}
.sidebar__widget ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("assets/img/svg/radio_filled.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.sidebar__widget ul li a {
  text-decoration: none;
}
.sidebar__widget ul li a:hover {
  text-decoration: underline;
}



/*
===============================
= 45 Комментарии в записях и на страницах
============================================
*/
.comments {
  border-top: 1px solid var(--border-col);
  padding-top: 2.5rem;
}
.comments__title {
  display: block;
  margin-bottom: 3rem;
  font-weight: 600;
  font-size: 1.4rem;
}

#respond .comments__title {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .comments {
    margin-bottom: 3rem;
  }
}

.comment {
  display: flex;
  flex-flow: column nowrap;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .comment {
    margin-bottom: 2rem;
  }
}

.comment__wrapper {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  margin-bottom: 1.2rem;
}
@media (max-width: 600px) {
  .comment__wrapper {
    flex-flow: wrap;
  }
}
.comment__info {
  flex-shrink: 0;
  flex-basis: 200px;
  padding-right: 1rem;
  line-height: 110%;
}
@media (max-width: 1024px) {
  .comment__info {
    flex-basis: 150px;
  }
}
@media (max-width: 760px) {
  .comment__info {
    flex-basis: 100px;
    margin-right: 2rem;
  }
}
@media (max-width: 600px) {
  .comment__info {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}
 
@media (max-width: 600px) {
  .comment__text {
    flex-basis: 100%;
  }
}
.comment__author {
  font-weight: 700;
  font-size: 1.1rem;
}
.comment__author .url {
  text-decoration: none;
}
.comment__author .url:hover {
  text-decoration: underline;
}
.comment__meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}
.comment__meta a {
  text-decoration: none;
  color: var(--grey-col);
}


.comment__reply {
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  display: inline-block;
  border-top: 1px solid var(--border-col);
}
.comment-reply-link {
  color: var(--grey-col);
  cursor: pointer;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.comment-reply-link:hover {
 text-decoration: underline;
}

.comment-respond {
  border-radius: 10px;
  padding: 2rem;
  background-color: #f7f6fb;
}

.comment .children li {
  border: 1px solid var(--border-col);
  border-radius: 6px;
  padding: 2rem;
}

.comment .children li:not(:last-child) {
  margin-bottom: 2rem;
}

.comment .children li > .children li {
  border: none;
  padding: 0
}


@media (max-width: 1024px) {
  .comment .children li:not(:last-child) {
    margin-bottom: 1rem;
  }
}

.comment .children li:not(first-child){
  margin-top: 1.7rem;
  margin-bottom: 0;
}

.comment-awaiting-moderation {
  display: block;
  margin-bottom: 1.5rem;
  font-style: normal;
  font-size: 0.9rem;
}



/*
===============================
= 46 Форма отправки комментариев
============================================
*/
.comments__form {
  padding-top: 1rem;
}

.comment-form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.comment-form .comment-notes,
.logged-in-as,
.comment-form__agreement {
  display: block;
  flex-basis: 100%;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--grey-col);
}
.comment-form__agreement {
  margin-bottom: 0.5rem;
}
 
.comment-form .comment-notes input {
  margin-right: 1rem;
}
.comment-form .comment-notes a,
.logged-in-as a,
.comment-form__agreement a {
  color: var(--grey-col);
}
.comment-form .comment-notes a:hover,
.logged-in-as a:hover,
.comment-form__agreement a:hover {
 
}
#comments-checkbox {
  margin-right: 10px;
}
.comment-form label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--grey-col);
}
@media (max-width: 600px) {
  .comment-form label {
    display: inline;
  }
}
.comment-form input[type=text],
.comment-form input[type=email] {
  margin: 0;
  border: 1px solid #dcdfed;
  border-radius: 6px;
  padding: 1.1rem 1.1rem 1rem;
  width: 100%;
  height: 50px;
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1;
  background-color: #fbfdff;
}
.comment-form-cookies-consent {
  flex-basis: 100%;
  margin-bottom: 0.6rem;
}
.comment-form-cookies-consent input {
  margin-right: 1rem;
}
.comment-form-author {
  flex: 1;
  margin-right: 1rem;
}
@media (max-width: 600px) {
  .comment-form-author {
    flex-basis: 100%;
    margin-right: 0;
  }
}
.comment-form-email {
  flex: 1;
  margin-left: 1rem;
}
@media (max-width: 600px) {
  .comment-form-email {
    flex-basis: 100%;
    margin-left: 0;
  }
}
.comment-form-comment {
  flex-basis: 100%;
  margin-bottom: 1rem;
}
.comment-form-comment textarea {
  margin: 0;
  border: 1px solid var(--border-col);
  border-radius: 6px;
  padding: 1rem;
  width: 100%;
  height: 150px;
  font-family: inherit;
  font-size: 1.1rem;
  background-color: #fbfdff;
  resize: none;
}
.comment-form .submit {
  margin-top: 1rem;
}

a#cancel-comment-reply-link {
  display: inline-block;
  padding-left: 10px;
  text-decoration: none;
  overflow: hidden;
  width: 32px;
  height: 32px
}

a#cancel-comment-reply-link:before {
  content: "\00D7";
  font-size: 30px;
  color: red;
  width: 36px;
  height: 36px
}

.comment-navigation {
  margin: 0 0 3rem !important;
}


/*
===============================
= 47 Внутренняя навигация внутри записей
============================================
*/

.post-navigation {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-top: 4rem;
  width: 100%;
}

.post-navigation__previous,
.post-navigation__next {
  border-radius: 8px;
  border: 1px solid var(--border-col);
  padding: 2rem;
  flex-basis: 48%
}

@media (max-width: 600px) {
  .post-navigation__previous,
  .post-navigation__next {
    flex-basis: 100%
  }

  .post-navigation__previous{
    margin-bottom: 1.5rem;
  }
}

.post-navigation__previous span,
.post-navigation__next span {
  color: var(--grey-col);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem
}

.post-navigation__previous a,
.post-navigation__next a {
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
}

.post-navigation__previous a:hover,
.post-navigation__next a:hover {
  text-decoration: underline;
}



/*
===============================
= 48 Нумерованные списки
============================================
*/
.post__content ol {
  list-style: decimal;
  list-style-position: inside;
  margin: 2rem 0;
}

.post__content ol li {
  margin: 0;
  padding: 0 0 10px 0
}

.post__content ol ol {
  list-style: upper-alpha
}

.post__content ol ol ol {
  list-style: lower-roman
}

.post__content ol ol ol ol {
  list-style: lower-alpha
}


/*
===============================
= 49 Маркированные списки
============================================
*/
.post__content ul {
  margin: 2rem 0;
}
.post__content ul li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
}

.post__content ul li ul {
  margin: 1rem 0;
}

.post__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("assets/img/svg/radio_filled.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


/*
===============================
= 50 Адаптивные таблицы
============================================
*/
table,
.wp-block-table {
    margin: 0 0 1rem;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.wp-block-table figcaption {
  margin-bottom: 1.2rem
}

table th {
    text-align: left;
    padding: .9em;
    font-weight: 700;
    border: 1px solid #eaeaea;
    background-color: #f6f7fb;
    word-break: normal
}

table td {
    font-size: 16px;
    padding: .9em;
    border: 1px solid #eaeaea;
    vertical-align: top;
    word-break: normal
}

table tr:nth-of-type(odd) {
    background-color: #f6f7fb
}

table tr:nth-of-type(even) {
    background: var(--bg-color)
}

.wp-block-table {
    border-collapse: collapse
}



/*
===============================
= 51 Галереи WordPress
============================================
*/
.blocks-gallery-grid,
.wp-block-gallery {
    margin-top: 0 !important;
}

.blocks-gallery-grid, .wp-block-gallery {
  margin-bottom: 1rem;
}

.wp-block-table {
    border-collapse: collapse
}

.wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: 100%;
    flex: 1;
    object-fit: cover
}

.blocks-gallery-grid li {
  padding-left: 0 !important;
}

.blocks-gallery-grid li::before {
  display: none;
}



/*
===============================
= 52 Постраничная навигация в блоге, рубриках, поиске
============================================
*/
.nav-links {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
}

.nav-links .nav-previous,
.nav-links .nav-next {
  text-align: center;
  margin: 0 auto;
  font-weight: 600;
}

.nav-links .nav-previous a,
.nav-links .nav-next  a {
  border-radius: 8px;
  border: 1px solid var(--border-col);
  display: block;
  padding: 1rem 2rem;
  text-decoration: none;
}

.nav-links .nav-previous a:hover,
.nav-links .nav-next  a:hover {
  border-color: transparent;
  color: var(--light-col);
  transition: background-color 0.3s ease-in-out;
}


/*
===============================
= 53 Призыв к действию  - шорткод
============================================
*/
 
.problem-action {
  margin: 2rem 0;
  border-radius: 8px;
  position: relative;
  box-shadow: 1px 5px 25px var(--shadow);
}

.problem-action__content {
  padding: 2.5rem 3rem 1.85rem;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

@media (max-width: 500px) {
  .problem-action__content {
    padding: 2.5rem 2rem 1.5rem;
  }
}


.problem-action__title {
  margin-bottom: 0.5rem;
  padding-right: 160px;
  display: block;
  font-size: 1.6rem;
  line-height: 1.2;
}
 
@media (max-width: 600px) {
  .problem-action__title {
  padding-right: 120px;
  }
}
  
@media (max-width: 500px) {
  .problem-action__title {
    padding-right: 50px;
    font-size: 1.2rem
  }
}

.problem-action__content:before {
  content: "";
  position: absolute;
  top:-3rem;
  right: 2.2rem;
  z-index: 10;
  width: 190px;
  height: 190px;
  background: url('assets/img/demo/tooth-xray-spot.svg') center center no-repeat;
  background-size: cover;
  transform: rotate(-5deg);
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 1024px) {
  .problem-action__content:before {
    top:-2rem;
    right: 1.2rem;
    width: 150px;
    height: 150px;
  }
}

.problem-action__content:hover:before {
  transform: rotate(0);
  transition: transform 0.4s ease-in-out;
}

@media (max-width: 500px) {
  .problem-action__content:before {
    top:-2.4rem;
    right: 0;
    width: 100px;
    height: 100px;
  }
}

a.problem-action__tel {
  padding-bottom: 3px;
  display:  block;
  font-size: 1.8rem;
  text-decoration: none;
}

a.problem-action__tel:hover {
  text-decoration: underline;
}

/*
===============================
= 54 Поп-ап Cookies
============================================
*/

.cookies-box {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 200;
  display: none;
	max-width: 396px;
	padding: 1.25rem;
  font-size: 16px;
	background-color: var(--light-col);
  border-radius: 8px;
	box-shadow: 0 10px 30px rgba(49, 50, 72, 0.35);
  transform: translate(1.5rem, -2rem);
  transition: transform 0.3s ease-in;
}

@media (max-width: 550px) {
	.cookies-box {
		max-width: 300px;
    font-size: 14px;
	}
}

.cookies-box.is-shown {
  transform: translate(1.5rem, -2rem);
}

.cookies-box__descr {
	margin-bottom: 1rem;
	line-height: 155%;
}

.cookies-box__descr > p {
  word-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

.cookies-box__descr a {
  color: #417505;
  text-decoration: none;
}

.cookies-box__btn {
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  background-color: transparent;
  color: var(--dark-col);
  border: 1px solid var(--dark-col);
  border-radius: 8px;
  font-weight: var(--bold);
  transition: color 0.3s ease-in, border-color 0.3s ease-in;
}

.cookies-box__btn:hover {
  color:  #417505;
  border: 1px solid  #417505;
}



/*
===============================
= 55 новый вариант вывода услуг в отделе в виде сетки
============================================
*/

.tax-gp_otdel .page-header {
  margin-bottom: 1rem;
}

.otdel-services__list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1280px) {
  .otdel-services__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .otdel-services__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .otdel-services__list {
    display: block;
  }
}

.services-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-col);
  border-radius: 1rem;
}

@media (max-width: 600px) {
  .services-list__item:not(:last-child) {
    margin-bottom: 2rem;
  }
}

.services-list__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.services-list__wrap {
  padding: 1.3rem;
}

.services-list__descr {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;  
  white-space: pre-wrap;  
}
 

.services-list__title {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  line-height: 130%;
  font-weight: 600;
  transition: color 0.3s;
}

.services-list__item:hover .services-list__title {
  color: #417505;
}

.services-list__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 1.3rem;
  color: #417505;
  border-top: 1px solid var(--border-col);
}

.services-list__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: var(--dark-col);
  background-color: var(--grey-bg2);
  transition: color 0.3s, background-color 0.3s;
}

.services-list__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor
}

.services-list__item:hover .services-list__icon {
  color: var(--light-col);
  background-color: #417505;
}