.doctor-page {
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.doctor-hero {
  background: #ffffff;
  padding: 12px;
  border-radius: 24px;
  margin-bottom: 20px;
}
.doctor-hero__container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  height: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
}

.schedule-text {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.doctor-content {
  max-width: 1134px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.doctor-hero__info {
  padding: 32px 0 36px 42px;
  display: flex;
  flex-direction: column;
  max-width: 660px;
  justify-content: space-between;
}

.doctor-hero__name {
  color: #0185ca;
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  margin-bottom: 16px;
}
.doctor-hero__position {
  color: #383838;
  font-weight: 500;
  line-height: 140%;
  font-size: 16px;
}

.doctor-hero__badges {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.doctor-badge {
  padding: 13px 21px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #f0f3f8;
  color: #383838;
  font-size: 16px;
  line-height: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
}

.doctor-hero__actions {
  display: flex;
  gap: 16px;
}

.btn {
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  opacity: 1;
  background: #0185ca;
  padding: 16px 28px 18px;
  box-shadow: 0px 2px 10px 0px #1018281a;
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  max-width: 250px;
  width: 100%;
}

.doctor-hero picture {
  width: 100%;
  display: block;
  max-width: 300px;
}

picture {
  width: 100%;
  display: block;
  max-width: 300px;
}
.btn--primary {
  background: #0185ca;
  color: white;
}

.btn--primary:hover {
  background: #0056b3;
}

.btn--secondary {
  background: transparent;
  /* color: white; */
  border: 1px solid #0185ca;
  color: #0185ca;
}

.btn--secondary:hover {
  background: #599de2;
  color: white;
}

.doctor-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: #e9ecef;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  color: #495057;
}

.schedule {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.schedule__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.schedule__table {
  width: 100%;
  border-collapse: collapse;
}

.schedule__row {
  border-bottom: 1px solid #f1f3f4;
}

.schedule__row:last-child {
  border-bottom: none;
}

.schedule__day {
  padding: 8px 0;
  font-weight: 500;
}

.schedule__time {
  padding: 8px 0;
  text-align: right;
  color: #6c757d;
}

.schedule__row.today {
  background: #e3f2fd;
  border-radius: 4px;
}

.schedule__note {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 10px;
  font-style: italic;
}

.profiles {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.profiles__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

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

.profiles__item {
  margin-bottom: 10px;
}

.profiles__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.profiles__link:hover {
  background: #f8f9fa;
}

.profiles__rating {
  color: #ffc107;
  font-weight: 600;
}

.doctor-main {
  display: grid;
  grid-template-columns: 363px auto;
  gap: 24px;
  margin-bottom: 100px;
}
.doctor-sidebar {
}
.schedule {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}
.doctor-hero__photo {
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}
.doctor-hero-mob {
  display: none;
}

.doctor-nav__list {
  display: flex;
  list-style: none;
  gap: 5px;
  padding: 8px;
  overflow-x: auto;
  justify-content: space-between;
  max-width: calc(100vw - 430px);
}


.doctor-nav__list::-webkit-scrollbar {
  height: 8px;               /* ширина scrollbar */
}
.doctor-nav__list::-webkit-scrollbar-track {
}
.doctor-nav__list::-webkit-scrollbar-thumb {
}


.doctor-nav__item {
}
.doctor-nav__link {
  display: block;
  padding: 11px 20px;
  color: #6c757d;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 17px;
  background: #dae9fe;
  font-weight: 500;
  font-size: 16px;
}
.doctor-nav__link:hover,
.doctor-nav__link.active {
  color: #007bff;
  border-bottom-color: #007bff;
}
.about__content {
  display: flex;
  gap: 24px;
  flex-direction: column;
  height: auto;
}

.wrapper-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.doctor-section {
  scroll-margin-top: 80px;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.doctor-section__title {
  color: #2c3e50;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 22px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.timeline-list {
}
.timeline-list span {
}
.timeline-list p:first-child {
  font-weight: 600;
  font-size: 18px;
  color: #383838;
  margin-bottom: 6px;
}
.specialization {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 calc(33.333% - 10px);
  min-width: 200px;
}

.specialization__name {
  font-weight: 600;
  margin-bottom: 8px;
}

.specialization__type {
  font-size: 0.85rem;
  color: #6c757d;
  padding: 2px 8px;
  background: #f8f9fa;
  border-radius: 4px;
  display: inline-block;
}

.services {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service {
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 16px 0;
  color: #333;
  border-bottom: 1px solid #f1f3f4;
}

.service:last-child {
  border-bottom: none;
}

.service__info {
  flex: 1;
}

.service__name {
  font-weight: 500;
  margin-bottom: 5px;
}

.service__duration {
  color: #6c757d;
  font-size: 0.9rem;
}

.service__price {
  font-weight: 600;
  font-size: 1.1rem;
  margin-right: 20px;
}

.documents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.document {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.document:hover {
  transform: translateY(-2px);
}

.document__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.document__info {
  padding: 15px;
}

.document__title {
  font-weight: 500;
  margin-bottom: 8px;
}

.document__details {
  font-size: 0.8rem;
  color: #6c757d;
}

.reviews {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.review {
  padding: 20px 0;
  border-bottom: 1px solid #f1f3f4;
}

.review:last-child {
  border-bottom: none;
}

.review__header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 10px;
}

.review__author {
  font-weight: 500;
}

.review__verified {
  color: #28a745;
  font-size: 0.8rem;
}

.review__text {
  line-height: 1.6;
  color: #555;
}

.publications {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.publication {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.publication__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.publication__content {
  padding: 15px;
}

.publication__type {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.publication__title {
  font-weight: 500;
  margin-bottom: 8px;
}

.publication__description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.publication__date {
  font-size: 0.8rem;
  color: #999;
}

.form-group {
}

.form-control {
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
}

.checkbox {
  display: flex;
  align-items: start;
  gap: 8px;
}

.checkbox input {
  margin-top: 3px;
}

.doctor-badge:hover {
  outline: 1px solid #c8ddf9;
  background: #e8f2ff;
}

.doctor-section p {
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
}

.wrapper-section {
}

.timeline-list span {
  background: #dee7ff;
  padding: 5px 12px;
  border-radius: 30px;
  max-width: 120px;
  width: 100%;
  text-align: center;
}

.timeline-list {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.timeline-list p:first-child {
}

.doctor-section .timeline + p {
  color: #656565;
  font-size: 14px;
}

.schedule-slots {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.schedule-slots__disclaimer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #856404;
}

.dates-selector {
  margin-bottom: 30px;
}

.dates-selector__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.date-btn:hover {
  border-color: #007bff;
}

.date-btn.active {
  border-color: #007bff;
  background: #007bff;
  color: white;
}

.date-btn__day {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
}

.date-btn__date {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
}

.date-btn.active .date-btn__date {
  color: rgba(255, 255, 255, 0.8);
}

.time-slots {
  margin-bottom: 30px;
}

.time-slots__title {
  margin-bottom: 15px;
}

.time-slots__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-slot:hover {
  border-color: #007bff;
}

.time-slot.active {
  border-color: #007bff;
  background: #007bff;
  color: white;
}

.no-slots {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px;
}

.schedule-slots {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
}

.schedule-slots__disclaimer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #856404;
}

.dates-selector__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.dates-selector__title {
  color: #2c3e50;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

.dates-selector__arrows {
  display: flex;
  gap: 8px;
}

.dates-selector__arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: #6c757d;
  border-radius: 40px;
}

.dates-selector__arrow:hover {
  border-color: #007bff;
  color: #007bff;
}

.dates-selector__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #e9ecef;
  color: #6c757d;
  background: #d7effd;
}

.dates-selector__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 5px 0;
  max-width: calc(100vw - 492px);
}

.dates-selector__list::-webkit-scrollbar {
  display: none;
}

.date-btn {
  flex: 0 0 auto;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  background: #f0f3f8;
  border-radius: 40px;
  font-size: 16px;
  line-height: 100%;
}

.date-btn:hover {
  border-color: #007bff;
}

.date-btn.active {
  border-color: #007bff;
  background: #007bff;
  color: white;
}

.time-slots {
  margin-bottom: 30px;
}

.time-slots__title {
  color: #2c3e50;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

.time-slots__list {
  display: flex;
  grid-template-columns: flex;
  gap: 8px;
}

.time-slot {
  padding: 12px 8px;
  border-radius: 40px;
  background: #f0f3f8;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  text-align: center;
  max-width: 100px;
  width: 100%;
}

.time-slot:hover {
  border-color: #007bff;
}

.time-slot.active {
  border-color: #007bff;
  background: #007bff;
  color: white;
  width: 100;
  height: 43;
  gap: 10px;
  opacity: 1;
  border-radius: 40px;
  padding-top: 12px;
  padding-right: 20px;
  padding-bottom: 12px;
  padding-left: 20px;
}

.time-slot.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #dee2e6;
  background: #0185ca;
  color: white;
}

.no-slots {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px;
  grid-column: 1 / -1;
}

.date-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #dee2e6;
  background: #0185ca;
  color: white;
}

.date-btn.disabled:hover {
  border-color: #dee2e6;
}

.time-slot.disabled:hover {
  border-color: #dee2e6;
}

.doctor-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  min-width: 363px;
}

.doctor-minicard {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: none;
}

.doctor-minicard.show {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.doctor-minicard__header {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
}

.doctor-minicard__photo {
  max-width: 72px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.doctor-minicard__info {
  gap: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.doctor-minicard__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.doctor-minicard__position {
  color: #6c757d;
  margin-bottom: 21px;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.doctor-minicard__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.doctor-minicard__badge {
  color: #4d4d4d;
  font-size: 14px;
  line-height: 100%;
}

.doctor-minicard__actions {
  display: flex;
  flex-direction: row;
  max-height: 50px;
  gap: 10px;
  align-items: center;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.schedule-card {
}

.schedule-card__table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.schedule-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-card__note {
  font-size: 0.75rem;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid #f1f3f4;
}

.profiles-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.profiles-card__title {
  margin-bottom: 24px;
  color: #2c3e50;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
}

.profiles-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profiles-card__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  text-decoration: none;
  color: #495057;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e6eeff;
}

.profiles-card__item:hover {
  border-bottom-color: #007bff;
}

.profiles-card__platform {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profiles-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  text-align: right;
  color: #383838;
}

.profiles-card__rating svg {
  width: 12px;
  height: 12px;
}

.doctor-minicard__actions .btn {
  padding: 12px;
}

.schedule-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.schedule-card__title {
  margin-bottom: 24px;
  color: #2c3e50;
  text-align: left;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
}

.schedule-card__table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.schedule-card__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  box-sizing: border-box;
  gap: 16px;
}

.schedule-card__row:not(:last-child) {
  border-bottom: 1px solid #f1f3f4;
}

.schedule-card__day {
  color: #495057;
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
}

.schedule-card__time {
  color: #2c3e50;
  text-align: right;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
}

.schedule-card__divider {
  width: 1px;
  height: 36px;
  background: #f1f3f4;
  margin: 0 8px;
}

.schedule-card__note {
  font-size: 0.8rem;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #f1f3f4;
  line-height: 1.4;
}

.contacts-info .btn--route-mob {
  display: none;
}

.schedule-card--alternative .schedule-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.schedule-card--alternative .schedule-card__row::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background: #f1f3f4;
}

.profiles-card__rating img {
  width: 20px;
}

.specialization-tabs {
  display: flex;
  gap: 12px;
  padding-bottom: 20px;
  justify-content: flex-start;
}

.specialization-tab {
  padding: 12px 20px;
  border-radius: 40px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  background: #f0f3f8;
}

.specialization-tab:hover {
  border-color: #007bff;
  color: #007bff;
}

.specialization-tab.active {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.specialization-content {
  position: relative;
}

.specialization-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.specialization-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.specialization-services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.specialization-service {
  background: #e0e8ff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  border-radius: 18px;
  color: #383838;
}

.specialization-service:hover {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
  text-decoration: none;
}

.specialization-show-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #fff;
  color: #007bff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 20px auto 0;
}

.specialization-show-all:hover {
  background: #f8f9fa;
  border-color: #007bff;
}

.specialization-show-all svg {
  transition: transform 0.3s ease;
}

.specialization-show-all:hover svg {
  transform: translateY(2px);
}

.specialization-fallback {
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  font-weight: 700;
  font-size: 16px;
  color: #383838;
  line-height: 100%;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f3f4;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid #e6eeff;
  align-items: center;
}

.table-row:hover {
  background-color: #f9f9f9;
}

.service {
}

.duration {
  color: #666;
}

.price {
  font-size: 16px;
}

.action {
  text-align: right;
}

.btn-book {
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #0185ca;
  padding-bottom: 6px;
  margin-right: 10px;
}

.btn-book:hover {
  border-bottom: 1px solid #007bff;
}

.documents-arrows {
  display: flex;
  gap: 8px;
}

.documents-arrow:hover {
  color: white;
}

.documents-slider__container {
  overflow: hidden;
}

.documents-slider__wrapper {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.document-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.document-card__image:hover img {
  transform: scale(1.05);
}

.document-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 90, 160, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.document-card__image:hover .document-card__overlay {
  opacity: 1;
}

.document-card__year {
  font-size: 0.85rem;
  color: #2c5aa0;
  font-weight: 600;
  margin-bottom: 8px;
}

.document-card__description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.documents-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  align-items: flex-start;
}

.documents-arrows {
  display: flex;
  gap: 8px;
}

.documents-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: #6c757d;
  border-radius: 40px;
}

.documents-arrow:hover {
  border-color: #007bff;
  color: #007bff;
}

.documents-arrow:disabled {
  background-color: #cccccc;
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #e9ecef;
  color: #6c757d;
  background: #d7effd;
}

.documents-slider__container {
  overflow: hidden;
}

.documents-slider__wrapper {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.document-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-card__image {
  position: relative;
  height: 400px;
  background: #f8f9fa;
}

.document-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.document-card__image:hover img {
  transform: scale(1.05);
}

.document-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 20px;
  border-radius: 10px;
}

.document-card__overlay {
}

.document-card__image:hover .document-card__overlay {
  opacity: 1;
}

.document-card__year {
  font-size: 0.85rem;
  color: #2c5aa0;
  font-weight: 600;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
}

.document-card__title {
  color: #333;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
}

.document-card__description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.publication-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.publication-card__image {
  height: 180px;
  overflow: hidden;
}

.publication-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.publication-card:hover .publication-card__image img {
  transform: scale(1.05);
}

.publication-card__content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.publication-card__title {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.publication-card__title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.publication-card__title a:hover {
  color: #2c5aa0;
}

.publication-card__excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

.publication-card__link {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.publication-card__link:hover {
  color: #1e3d6f;
  text-decoration: underline;
}

.publications-footer {
  text-align: center;
}

.btn-show-more {
  align-items: center;
  padding: 12px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 19px;
  border-radius: 8px;
  border-width: 1px;
  border: 1px solid #0185ca;
  box-shadow: 0px 2px 10px 0px #1018281a;
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  color: #0185ca;
  max-width: 250px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-show-more:hover {
  background: #599de2;
  color: white;
}

.btn-show-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-show-more svg {
  transition: transform 0.3s ease;
}

.btn-show-more:hover svg {
  transform: translateY(2px);
}

.schedule-slots__btn {
  background-color: #0185ca;
  color: #fff;
}

.publications-grid div {
  background: #e0e8ff;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  gap: 10px;
  line-height: 100%;
  color: #383838;
}

.publications-grid svg {
  max-width: 25px;
  width: 100%;
}

.contacts-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #2c5aa0;
}

.form-control::placeholder {
  color: #999;
}

.phone-input {
  font-family: monospace;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.btn--submit {
  background: #2c5aa0;
  color: white;
}

.btn--submit:hover {
  background: #1e3d6f;
}

.btn--call {
  background: transparent;
  border: 1px solid #2c5aa0;
  color: #2c5aa0;
}

.btn--call:hover {
  background: #2c5aa0;
  color: white;
}

.btn--route {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333;
  max-width: 200px;
  width: 100%;
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-weight: 500;
  display: flex;
  gap: 7px;
  font-size: 16px;
  line-height: 120%;
  border-radius: 9px;
  padding: 8px 14px;
  align-items: center;
}

.btn--route:hover {
  background: #f5f5f5;
  border-color: #2c5aa0;
  color: #2c5aa0;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.checkbox input[type="checkbox"] {
  margin-top: 2px;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
}

.contacts-card__title {
  margin: 0 0 15px 0;
  font-size: 1.2rem;
  color: #333;
}

.contacts-card__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.contacts-card__item:last-child {
  border-bottom: none;
}

.contacts-card__label {
  color: #666;
  font-size: 14px;
}

.contacts-card__text {
  color: #333;
  font-size: 14px;
  margin: 0;
}

.contacts-card__text--address {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.contacts-card__link {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contacts-card__link:hover {
  color: #1e3d6f;
  text-decoration: underline;
}

.contacts-card__link--phone {
  font-weight: 600;
  font-size: 16px;
}

form#booking-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  height: 100%;
}

textarea.form-control {
  height: 142px;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mark {
  width: 26px;
}

.contacts-picture {
  position: relative;
}
button:disabled {
  opacity: 0.5;
  background-color: #cccccc;
  color: #666666;
  background: #0185ca;
  color: white;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

.contacts-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-card__title {
  font-size: 14px;
  line-height: 120%;
  color: #656565;
}

span.contact-card__item {
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  color: #383838;
  margin-bottom: 6px;
}

.form-actions > * {
  width: 100%;
  max-width: 100%;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  padding: 20px 32px;
  background: #fff;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  z-index: 2;
  border: 0.5px solid #f4f4f4;
  box-shadow: 0px 8px 16px 0px #0000000d;
}

.rating-block {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}

.rating-score {
  font-weight: 600;
  font-size: 40px;
  line-height: 100%;
  color: #0185ca;
}

.rating-stars {
  font-size: 1.5rem;
  color: #ffd700;
  letter-spacing: 2px;
}

.rating-count {
  color: #0185ca;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
}

.btn--review {
  padding: 12px 24px;
  font-size: 14px;
  width: 100%;
  max-width: 100%;
}

.reviews-list {
  display: grid;
  gap: 20px;
}

.review-card {
  background: #fff;
  display: flex;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-verified,
.review-anonymous {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background: #f6f9ff;
  font-size: 14px;
  line-height: 100%;
  border-radius: 30px;
}

.review-verified {
}

.review-anonymous {
  color: #666;
  background: rgba(102, 102, 102, 0.1);
}

.review-card__author {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
}

.review-card__author strong {
  color: #333;
}

.review-card__content {
  margin-bottom: 15px;
}

.review-card__content p {
}

.review-read-more {
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  color: #0185ca;
}

.review-read-more:hover {
  color: #1e3d6f;
  text-decoration: underline;
}

.reviews-footer {
  text-align: center;
}

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

.rating-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-wrapper img {
  height: 30px;
  width: 30px;
}

.review-text {
  margin: 0;
  color: #666;
  line-height: 1.5;
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.review-text.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.review-read-more {
}

.review-read-more:hover {
  color: #1e3d6f;
}

.review-read-more__icon {
  transition: transform 0.3s ease;
}

.review-read-more.expanded .review-read-more__icon {
  transform: rotate(180deg);
}

.doctor-nav-accordion-btn {
  width: 100%;
  padding: 17px 24px;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  position: relative;
  display: none;
}

.acc-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid #007bff;
  border-bottom: 2px solid #007bff;
  transition: 0.3s;
}

.doctor-nav-wrapper.open .acc-arrow {
  transform: translateY(-50%) rotate(-135deg);
}

.doctor-nav-wrapper {
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  z-index: 10;
  border-radius: 24px;
  position: sticky;
  top: 100px;
}
.table-row-mob {
  display: none;
}

img.rating-phone {
  position: absolute;
  bottom: 0;
  right: -20px;
  z-index: -1;
  max-width: 250px;
  width: 100%;
}
.weekend {
  color: #0185ca;
}

.table-cell-mob {
  display: block;
  padding: 0px;
  border-bottom: none;
  margin-bottom: 4px;
}

@media (max-width: 1360px) {
  .doctor-hero__name {
    font-size: 26px;
  }

  .doctor-badge {
    font-size: 14px;
  }

  .doctor-hero__info {
    padding: 26px 0 26px 32px;
  }

  .doctor-hero__container {
    gap: 22px;
  }

  .doctor-nav__link {
    font-size: 14px;
    padding: 5px 8px;
  }

  .doctor-section {
    padding: 32px;
  }

  .doctor-section__title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .doctor-minicard.show {
    display: none;
  }
  .dates-selector__list {
    max-width: fit-content;
  }

  .doctor-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .doctor-sidebar {
    min-width: fit-content;
    display: contents;
    /* margin-bottom: 24px; */
  }

  .schedule-card {
  }
  .profiles-card {
    order: 2;
  }
  .doctor-content {
    max-width: fit-content;
    display: contents;
  }

  .doctor-hero {
    order: 1;
    margin-bottom: 24px;
  }
  .schedule-card {
    order: 2;
    margin-bottom: 0;
  }
  .profiles-card {
    order: 2;
    margin-bottom: 24px;
  }
  .doctor-nav-wrapper {
    order: 3;
  }
  .wrapper-section {
    order: 4;
    display: flex;
    flex-direction: column;
  }
  .doctor-section#schedule {
    order: 3;
  }
  .doctor-section#about {
    order: 5;
  }
  .doctor-section#specialization {
    order: 6;
  }
  .doctor-section#services-prices {
    order: 7;
  }
  .doctor-section#documents {
    order: 8;
  }
  .doctor-section#reviews {
    order: 9;
  }
  .doctor-section#publications {
    order: 10;
  }
  .doctor-section#contacts {
    order: 11;
  }
}

@media (max-width: 1024px) {
  .doctor-main {
    grid-template-columns: 1fr;
  }

  .doctor-sidebar {
    position: static;
    order: 2;
  }

  .doctor-minicard {
    display: none !important;
  }
  .doctor-sidebar {
    position: static;
    order: 2;
  }

  .doctor-minicard {
    display: none !important;
  }

  .doctor-hero__container {
    gap: 24px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  .doctor-hero__info {
    padding: 0;
  }
  .doctor-info-mob {
    margin-bottom: 24px;
  }

  .doctor-hero__actions .btn {
    max-width: none;
  }

  .doctor-hero__badges {
    display: none;
  }
  .doctor-hero__name {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .doctor-hero__position {
    font-size: 14px;
  }

  .doctor-hero__actions {
    display: flex;
    gap: 16px;
    flex-direction: column;
  }

  .doctor-hero picture {
    width: 100%;
    display: block;
    max-width: 350px;
    position: relative;
  }

  .doctor-hero-mob {
    display: flex;
    position: absolute;
    bottom: 8px;
    left: 10px;
    gap: 4px;
    right: 10px;
    margin-bottom: 0;
    justify-content: space-between;
  }

  .doctor-badge {
    font-size: 14px;
    padding: 12px 15px;
  }

  .doctor-hero {
    order: 1;
    padding: 24px;
    margin-bottom: 24px;
  }

  .schedule-card,
  .profiles-card {
    padding: 24px 28px;
  }
  .doctor-section {
    padding: 24px;
  }

  .time-slot {
    padding: 12px 20px;
    font-size: 14px;
  }

  .date-btn {
    font-size: 14px;
  }

  .table-row-mob-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    max-width: 100%;
    width: 100%;
  }

  .schedule-slots__btn {
    margin: 0 auto;
    display: block;
  }

  button.btn-book.popup-btn {
  }

  .table-row-mob-wrapper .table-cell {
    /* margin: 0; */
    max-width: 100%;
    width: 100%;
  }

  .table-row-mob-wrapper .table-cell-mob.price {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
  }

  .document-card {
    flex: 0 0 calc(50% - 10px);
  }
  .publications-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .doctor-nav {
    display: none !important;
  }

  .doctor-nav-wrapper {
  }
  .doctor-nav {
    display: none !important;
  }

  .doctor-nav-wrapper {
    display: block;
    position: static;
  }

  .doctor-nav {
    display: none !important;
  }

  .btn-show-more {
    display: none;
  }

  .doctor-nav-wrapper {
  }

  .doctor-nav-wrapper {
  }

  .doctor-nav-wrapper {
  }

  .doctor-nav-accordion-btn {
  }

  .acc-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #007bff;
    border-bottom: 2px solid #007bff;
    transition: 0.3s;
  }

  .doctor-nav-wrapper.open .acc-arrow {
    transform: translateY(-50%) rotate(-135deg);
  }

  .doctor-nav-accordion-content {
    display: none;
  }

  .doctor-nav__list {
    padding: 0px 24px 17px 24px;
    display: flex;
    flex-direction: column;
    max-width: none;
  }

  .contacts-picture {
    max-width: unset;
    position: static;
  }

  .form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .contacts-info {
    gap: 12px;
  }

  .btn--route {
    display: none;
  }

  .contacts-info .btn--route-mob {
    display: flex;
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    border-radius: 9px;
    justify-content: space-between;
    background: #e5f6fe;
    margin-bottom: 8px;
  }

  .acc-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #007bff;
    border-bottom: 2px solid #007bff;
    transition: 0.3s;
  }

  .doctor-nav-wrapper.open .acc-arrow {
    transform: translateY(-50%) rotate(-135deg);
  }

  .doctor-nav-accordion-content {
    display: none;
  }

  .doctor-minicard.show {
    display: none;
  }

  .doctor-nav-accordion-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .doctor-hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-hero__photo {
    margin: 0 auto;
  }

  .doctor-hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .specialization {
    flex: 1 1 100%;
  }

  .dates-selector__arrows {
    display: none;
  }

  .dates-selector__header {
  }

  .dates-selector__list {
    padding: 0 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    max-width: unset;
    gap: 12px;
  }

  .date-btn {
    min-width: 100px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .time-slots__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    max-width: unset;
    gap: 12px;
  }
  .doctor-minicard__header {
    flex-direction: column;
    text-align: center;
  }

  .doctor-minicard__photo {
    align-self: center;
  }

  .doctor-minicard__badges {
    justify-content: center;
  }

  .schedule-card__row {
    padding: 10px 0;
    min-height: 40px;
    gap: 12px;
  }

  .schedule-card__day,
  .schedule-card__time {
    font-size: 14px;
  }

  .schedule-card__divider {
    height: 16px;
    margin: 0 6px;
  }
  .specializations {
    /* padding: 20px; */
  }

  .specialization-tabs {
    gap: 6px;
    display: flex;
    flex-direction: column;
  }

  .specialization-tab {
    padding: 16px 24px;
    font-weight: 500;
  }

  .specialization-services {
    gap: 8px;
    display: flex;
    flex-direction: column;
  }

  .specialization-service {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
  }

  .specialization-show-all {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }
  .price-table {
    border: none;
  }

  .table-header {
    display: none;
  }

  .table-row {
    display: none;
  }

  .table-cell {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 5px 0;
  }

  .table-cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
  }

  .action::before {
    content: "";
  }

  .action {
    justify-content: end;
    margin-top: 10px;
  }
  .documents-header {
  }

  .documents-slider {
  }

  .document-card {
    flex: 0 0 calc(100% - 10px);
  }

  .documents-arrow {
    width: 35px;
    height: 35px;
  }

  .documents-header {
    padding: 0;
  }

  .documents-slider {
  }

  .document-card {
    flex: 0 0 calc(100% - 10px);
  }

  .documents-arrow {
    width: 35px;
    height: 35px;
  }

  .document-badge {
    padding: 12px 16px;
  }

  .publications-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .publication-card__image {
    height: 160px;
  }

  .publication-card__content {
    padding: 16px;
  }

  .contacts-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .booking-form,
  .contacts-card {
  }

  .form-actions {
    flex-direction: column;
  }

  .contacts-card__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .reviews-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .rating-block {
    flex-direction: column;
    gap: 10px;
  }

  .rating-score {
    font-size: 2rem;
  }

  .rating-stars {
    font-size: 1.25rem;
  }

  .review-card {
    padding: 20px;
  }

  .btn--review {
    width: 100%;
    justify-content: center;
  }

  .reviews-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }

  .reviews-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .rating-block {
    flex-direction: row;
    display: flex;
    align-items: center;
  }

  .rating-score {
    font-size: 2rem;
  }

  .schedule-slots__btn {
    background-color: #0185ca;
    color: #fff;
    margin: 0 auto;
    display: block;
  }
  .wrapper-section {
    order: 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .time-slot {
    max-width: unset;
  }

  .table-row-mob {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .time-slots__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-slots {
    padding: 20px 15px;
  }

  .date-btn {
    min-width: 90px;
    padding: 8px 10px;
  }
  .specialization-tabs {
    flex-direction: column;
  }

  .specialization-services {
    justify-content: center;
  }

  .documents-header {
  }

  .documents-slider {
  }

  .document-card__image {
    height: 160px;
  }

  .document-card__content {
    padding: 15px;
  }

  .documents-arrows {
    gap: 5px;
  }

  .documents-arrow {
    width: 32px;
    height: 32px;
  }

  .documents-header {
  }

  .documents-slider {
  }

  .document-card__image {
    height: 160px;
  }

  .document-card__content {
    padding: 15px;
  }

  .documents-arrows {
    gap: 5px;
  }

  .documents-arrow {
    width: 32px;
    height: 32px;
  }

  .publication-card__image {
    height: 140px;
  }

  .btn-show-more {
    width: 100%;
    justify-content: center;
  }

  .booking-form,
  .contacts-card {
  }

  .form-group {
  }

  .btn {
    padding: 10px 16px;
  }

  .reviews-header {
    padding: 15px;
  }

  .review-card {
    padding: 16px;
  }

  .reviews-wrapper {
  }

  .doctor-badge {
    font-size: 12px;
    padding: 12px;
  }

  .doctor-hero__name,
  .doctor-hero__position {
    text-align: left;
  }
  .schedule-card__divider {
    height: 30px;
  }

  .schedule-card__row {
    padding: 0;
    min-height: 0;
    gap: 12px;
  }

  .doctor-section p {
    font-size: 14px;
  }

  .document-card__image img {
    object-fit: fill;
  }

  .document-card__image {
    height: 300px;
  }

  .publications-grid a {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .doctor-badge {
    font-size: 11px;
  }

  .timeline-list {
    gap: 10px;
    flex-direction: column;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6eeff;
  }
}
