@charset "UTF-8";
@import "../assets/fonts/ttdrugs/stylesheet.css";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "TT Drugs", sans-serif;
  position: relative;
  color: #333;
}

html {
  height: 100%;
}

body {
  background-color: #ECECEC;
  padding: 30px;
  height: 100%;
  min-width: 400px;
}
@media (max-width: 1480px) {
  body {
    height: auto;
  }
}
@media (max-width: 768px) {
  body {
    padding: 0;
  }
}

button {
  cursor: pointer;
}

#wrapper {
  background-color: #FFFFFF;
  border-radius: 30px;
  padding: 20px 30px;
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 768px) {
  #wrapper {
    padding: 15px;
  }
}

svg {
  height: 100%;
  width: 100%;
  display: block;
}

.logotype {
  height: 60px;
  display: block;
  width: 154px;
}
@media (max-width: 480px) {
  .logotype {
    height: 40px;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .header {
    justify-content: center;
  }
}

.menu-button {
  padding: 20px 30px;
  border-radius: 100px;
  border: 1px solid #333333;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1em;
  background-color: #ffffff;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 16px;
}

.menu-button:hover {
  background-color: #333333;
}
.menu-button:hover span {
  color: #fff;
  transition: 0.3s;
}

.menu-button:not(:hover) span {
  transition: 0.3s;
}

.header__consultation {
  background-color: transparent;
  border: none;
  font-weight: 600;
  font-size: 16px;
}

.preview__link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.preview__image {
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

#container {
  height: calc(100% - 80px);
  flex-grow: 1;
  min-height: 600px;
}

.page.home #content {
  height: 100%;
  position: absolute;
}
@media (max-width: 1480px) {
  .page.home #content {
    position: relative;
  }
}

@media (max-width: 780px) {
  .menu, .header__consultation {
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 1000;
  }
  .menu span, .header__consultation span {
    display: none;
  }
}

@media (max-width: 780px) {
  .menu-button, .header__consultation {
    height: 50px;
    width: 50px;
    min-width: 50px;
    padding: 0;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #333333;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    background-position: center;
  }
}

@media (max-width: 780px) {
  .header__consultation {
    bottom: 70px;
    background-image: url("../assets/images/question.svg");
  }
}

@media (max-width: 780px) {
  .header__consultation.opened {
    background-image: url("../assets/images/close.svg");
    background-size: 12px 12px;
    background-repeat: no-repeat;
  }
}

@media (max-width: 780px) {
  .menu-button {
    background-image: url("../assets/images/menu.svg");
  }
}

@media (max-width: 780px) {
  .menu-button:hover {
    background-color: #fff;
  }
}

.front-page__wrapper {
  display: flex;
  gap: 14px;
  height: 100%;
}
@media (max-width: 1480px) {
  .front-page__wrapper {
    flex-direction: column;
  }
}
.front-page__wrapper > div {
  flex-basis: 50%;
}

.preview__title {
  font-size: 84px;
  line-height: 0.9em;
}
@media (max-width: 780px) {
  .preview__title {
    font-size: 60px;
  }
}
@media (max-width: 480px) {
  .preview__title {
    font-size: 42px;
  }
}

.post-preview {
  border-radius: 20px;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s;
  transform: scale(1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 780px) {
  .post-preview {
    min-height: 250px;
  }
}
@media (max-width: 480px) {
  .post-preview {
    padding: 15px;
  }
}
.post-preview .sprite-icon {
  transition: all 0.3s ease 0.2s;
}

.post-preview:hover {
  transform: scale(1.02);
}
.post-preview:hover .sprite-icon {
  transform: scale(1.07);
}

.preview__description {
  font-size: 16px;
}
@media (max-width: 480px) {
  .preview__description {
    font-weight: 600;
  }
}

.wrapper__left {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  height: 100%;
}

.post-preview--implantaciya {
  flex-basis: 100%;
}

.post-preview--ortopediya, .post-preview--gigiena, .post-preview--detskaya-stomatologiya {
  flex-basis: calc(50% - 6px);
}
.post-preview--ortopediya .preview__title, .post-preview--gigiena .preview__title, .post-preview--detskaya-stomatologiya .preview__title {
  font-size: 42px;
}
@media (max-width: 780px) {
  .post-preview--ortopediya .preview__title, .post-preview--gigiena .preview__title, .post-preview--detskaya-stomatologiya .preview__title {
    font-size: 34px;
  }
}
@media (max-width: 480px) {
  .post-preview--ortopediya .preview__title, .post-preview--gigiena .preview__title, .post-preview--detskaya-stomatologiya .preview__title {
    font-size: 28px;
  }
}

.post-preview--ortopediya, .post-preview--gigiena {
  min-height: 30%;
}
@media (max-width: 780px) {
  .post-preview--ortopediya, .post-preview--gigiena {
    min-height: 200px;
  }
}

.post-preview--detskaya-stomatologiya {
  background-color: #DDE6EB;
  flex-basis: 100%;
  flex-direction: column-reverse;
}
@media (max-width: 480px) {
  .post-preview--detskaya-stomatologiya {
    min-height: 190px;
  }
}
.post-preview--detskaya-stomatologiya .preview__image {
  width: auto;
  height: 80%;
  left: auto;
  right: 30px;
  margin: auto;
  transform: rotate(0);
  transition: transform 0.2s;
}
@media (max-width: 780px) {
  .post-preview--detskaya-stomatologiya .preview__image {
    height: 70%;
  }
}
.post-preview--detskaya-stomatologiya .preview__title {
  width: 50%;
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 480px) {
  .post-preview--detskaya-stomatologiya .preview__title {
    gap: 15px;
  }
}
.post-preview--detskaya-stomatologiya .preview__title .sprite-icon {
  fill: #333;
  height: 60px;
  width: 60px;
  min-width: 60px;
}
@media (max-width: 480px) {
  .post-preview--detskaya-stomatologiya .preview__title .sprite-icon {
    height: 40px;
    width: 40px;
    min-width: 40px;
  }
}

.post-preview--detskaya-stomatologiya:hover .preview__image {
  transform: rotate(10deg);
}

.wrapper__right {
  background-image: url("../assets/images/girl.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 30px;
}
@media (max-width: 780px) {
  .wrapper__right {
    padding: 15px;
    flex-direction: column;
    gap: 14px;
  }
}
.wrapper__right > div {
  flex-basis: calc(50% - 15px);
}
@media (max-width: 780px) {
  .wrapper__right > div {
    flex-basis: auto;
    width: 100%;
  }
}
.wrapper__right .preview__title {
  font-size: 32px;
  display: flex;
  flex-direction: column-reverse;
  position: static;
}
@media (max-width: 780px) {
  .wrapper__right .preview__title {
    font-size: 28px;
  }
}
.wrapper__right .sprite-icon {
  fill: #333;
  height: 60px;
  width: 60px;
  min-width: 60px;
  position: absolute;
  right: 30px;
  bottom: 30px;
}
@media (max-width: 780px) {
  .wrapper__right .sprite-icon {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}
.wrapper__right .post-preview {
  height: 329px;
}
@media (max-width: 780px) {
  .wrapper__right .post-preview {
    min-height: 0;
    height: 140px;
  }
}

.post-preview--lechenie-zubov {
  background-color: #fff;
}

.post-preview--ortodontiya {
  background: rgba(255, 255, 255, 0.5) no-repeat;
  backdrop-filter: blur(10px);
}
.post-preview--ortodontiya .sprite-icon {
  fill: #ffffff;
}
.post-preview--ortodontiya .preview__title {
  color: #fff;
}

.post__banner {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 780px) {
  .post__banner {
    height: 300px;
  }
}

.post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
}

.post__coloring {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.post__title {
  position: absolute;
  bottom: 1%;
  font-size: 136px;
  color: #fff;
  text-align: center;
  width: 100%;
  line-height: 0.8em;
}
@media (max-width: 1200px) {
  .post__title {
    font-size: 82px;
  }
}
@media (max-width: 780px) {
  .post__title {
    font-size: 54px;
  }
}
@media (max-width: 480px) {
  .post__title {
    font-size: 42px;
  }
}

.post__content {
  width: 80%;
  margin: auto;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 20px;
}
@media (max-width: 780px) {
  .post__content {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .post__content {
    width: 100%;
    padding-top: 15px;
  }
}
.post__content ul {
  padding-left: 30px;
  padding-bottom: 20px;
}
.post__content ul li {
  padding-bottom: 10px;
  line-height: 1.61em;
}
@media (max-width: 780px) {
  .post__content ul li {
    font-size: 14px;
  }
}
.post__content p {
  padding-bottom: 10px;
  line-height: 1.61em;
}
@media (max-width: 780px) {
  .post__content p {
    font-size: 14px;
  }
}
.post__content h2 {
  padding-bottom: 30px;
}

.post__text, .post__table-wrapper {
  flex-basis: 50%;
}
@media (max-width: 780px) {
  .post__text, .post__table-wrapper {
    width: 100%;
  }
}

.post__text {
  padding: 30px;
  border: 3px solid #f2f0fa;
  border-radius: 30px;
}
@media (max-width: 780px) {
  .post__text {
    padding: 15px;
  }
}

.post__table {
  padding: 10px;
  border-radius: 20px;
  background-color: #f2f0fa;
  width: 100%;
}
.post__table thead tr {
  background-color: #f2f0fa !important;
  margin-bottom: 5px;
}
.post__table thead tr th {
  font-size: 16px;
}
.post__table tr {
  max-height: 50px;
  height: 50px;
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
@media (max-width: 780px) {
  .post__table tr {
    height: auto;
    min-height: 50px;
    max-height: none;
  }
}
.post__table tr td {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post__table tr td:first-child {
  flex-basis: 70%;
  justify-content: flex-start;
}
@media (max-width: 780px) {
  .post__table tr td:first-child {
    flex-basis: 56%;
    font-size: 14px;
  }
}
.post__table tr td:last-child {
  flex-basis: 30%;
  justify-content: flex-end;
}
@media (max-width: 780px) {
  .post__table tr td:last-child {
    flex-basis: 40%;
    font-size: 14px;
  }
}
.post__table tr:nth-child(odd) {
  background-color: #e7e3fa;
  border-radius: 10px;
}

.single-post {
  height: auto;
}
.single-post #wrapper, .single-post #container, .single-post #content {
  height: auto;
  position: relative;
}

button {
  background-color: transparent;
  border: none;
}

.post__button {
  background-color: #8673c4;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  font-family: "TT Drugs", sans-serif;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  border-radius: 60px;
}

.post__button:hover {
  background-color: #7a60cd;
  transition: all 0.3s;
}

.post__button:not(:hover) {
  background-color: #8673c4;
  transition: all 0.3s;
}

.menu__close {
  display: none;
}
@media (max-width: 780px) {
  .menu__close {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50%;
    border: 1px solid #333;
    align-items: center;
    justify-content: center;
  }
  .menu__close svg {
    width: 25%;
    height: 25%;
  }
}

.menu-navigation {
  width: 400px;
  position: absolute;
  background-color: #fff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #333;
  left: -140px;
  z-index: 999;
}
@media (max-width: 780px) {
  .menu-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1111;
    width: 100%;
    border: none;
    border-radius: 0;
  }
}
.menu-navigation li {
  height: 50px;
  list-style: none;
}
.menu-navigation li a {
  text-decoration: none;
  font-size: 24px;
}
.menu-navigation li a:hover {
  font-size: 30px;
  transition: font-size 0.3s;
}
.menu-navigation li a:not(:hover) {
  transition: font-size 0.3s;
}

.nav-menu {
  display: flex;
  flex-direction: column;
}

.consultation__popup-close {
  position: absolute;
  right: 15px;
  top: 15px;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 780px) {
  .consultation__popup-close {
    display: none;
  }
}
.consultation__popup-close svg {
  width: 50%;
  height: 50%;
}

.consultation__popup {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.consultation__popup a {
  text-decoration: none;
}

.consultation__popup-wrapper {
  height: auto; /* или фиксированная высота */
  width: 50%;
  margin: auto;
  padding: 50px 80px 80px;
  background-color: #fff;
  border-radius: 20px;
}
@media (max-width: 780px) {
  .consultation__popup-wrapper {
    width: 100%;
    height: 100%;
    padding: 50px;
    border-radius: 0;
  }
}
.consultation__popup-wrapper h3 {
  text-align: center;
  font-size: 42px;
  line-height: 1em;
  margin-bottom: 50px;
}
@media (max-width: 780px) {
  .consultation__popup-wrapper h3 {
    font-size: 28px;
  }
}
.consultation__popup-wrapper p {
  font-size: 24px;
  text-align: center;
}
@media (max-width: 780px) {
  .consultation__popup-wrapper p {
    font-size: 18px;
  }
}

.consultation__popup.visible {
  opacity: 1;
  visibility: visible;
}

.consultation__popup-message {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.consultation__popup-message a {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 32px;
}
@media (max-width: 780px) {
  .consultation__popup-message a {
    font-size: 20px;
  }
}
.consultation__popup-message p {
  color: #999999;
}

@media (max-width: 480px) {
  .post-preview--implantaciya .preview__description, .post-preview--ortopediya .preview__description, .post-preview--gigiena .preview__description {
    color: #fff;
    text-shadow: 0px 0px 1px #1d0632;
  }
}

.footer {
  display: flex;
  padding-top: 20px;
  justify-content: space-between;
}
@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    gap: 5px;
  }
  .footer > * {
    text-align: center;
  }
}

.entry-title {
  font-size: 36px;
  width: 100%;
  text-align: center;
  line-height: 1em;
}

.textpage h2 {
  padding: 15px 0 15px;
  line-height: 1em;
}
.textpage p, .textpage li {
  padding-bottom: 10px;
  line-height: 1.61em;
}
.textpage ul {
  padding-left: 20px;
}

.page #content {
  position: relative;
  height: 100%;
}

#cookie_note {
  align-items: center;
  gap: 20px;
  display: none;
  position: fixed;
  z-index: 100;
  bottom: 15px;
  left: 50%;
  max-width: 90%;
  transform: translateX(-50%);
  padding: 20px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookie_note p {
  margin: 0;
  font-size: 0.7rem;
  text-align: left;
  color: black;
  line-height: 1.61em;
}

#cookie_note .btn-sm {
  display: block;
  margin: 0 auto;
}

.cookie_accept {
  width: 20%;
  font-size: 12px;
  border-radius: 5px;
  height: 40px;
  border: 1px solid #333;
}

.cookie_accept:hover {
  background-color: #333;
  color: #fff;
  transition: all 0.3s;
}

.cookie_accept:not(:hover) {
  transition: all 0.3s;
}

.cookie_text {
  flex-basis: calc(80% - 20px);
}

#cookie_note.show {
  display: flex;
}

@media (max-width: 575px) {
  #cookie_note.show {
    text-align: left;
  }
}
@media (max-width: 1024px) {
  #cookie_note {
    max-width: 96%;
    width: 100%;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 9999;
    transform: none;
  }
}
@media (max-width: 480px) {
  #cookie_note {
    flex-direction: column;
    align-items: flex-end;
  }
  .cookie_accept {
    width: auto;
    padding: 0px 20px;
  }
}
.consultation__popup-whatsapp {
  display: none;
}
@media (max-width: 780px) {
  .consultation__popup-whatsapp {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .consultation__popup-whatsapp a {
    width: 50px;
    height: 50px;
  }
  .consultation__popup-whatsapp .sprite-icon {
    fill: #333;
    width: 100%;
    height: 100%;
    display: block;
  }
}

.contacts {
  display: flex;
  width: 80%;
  min-width: 800px;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .contacts {
    flex-direction: column;
    min-width: 0;
    width: 100%;
    gap: 15px;
  }
}
.contacts p {
  display: flex;
  justify-content: center;
}

.contacts-page {
  padding-top: 30px;
}
@media (max-width: 780px) {
  .contacts-page {
    padding-top: 10px;
  }
}

@media (max-width: 780px) {
  .post-95 > header {
    display: none;
  }
}

.contacts__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contacts__map {
  flex-basis: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  flex-basis: 50%;
}
@media (max-width: 780px) {
  .contacts__info {
    gap: 10px;
  }
}

.contacts__image {
  flex-basis: 45%;
  height: 460px;
  overflow: hidden;
  border-radius: 20px;
}
.contacts__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact br {
  display: none;
}
.contact p {
  display: flex;
  flex-direction: column;
}
.contact span:first-child {
  font-weight: bold;
}
.contact a {
  text-decoration: none;
}

/*# sourceMappingURL=style.css.map */
