/* Medical team / doctors — infinite card marquee */

.rewa-doctors {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(14, 116, 144, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(224, 164, 78, 0.07), transparent 50%),
    #fbfdfe;
  scroll-margin-top: 80px;
  overflow: hidden;
}

.rewa-doctors__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.rewa-doctors__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.rewa-doctors__kicker {
  color: #0891b2;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

.rewa-doctors__title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  margin: 12px 0 14px;
  color: #0c3640;
  letter-spacing: -0.5px;
}

.rewa-doctors__subtitle {
  color: #5a7b82;
  font-size: 17px;
  margin: 0;
  line-height: 1.65;
}

.rewa-doctors__marquees {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 -24px;
}

.rewa-doctors__row {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

[dir='rtl'] .rewa-doctors__row {
  mask-image: linear-gradient(
    to left,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to left,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.rewa-doctors__track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  animation: rewaDoctorsScroll 58s linear infinite;
  will-change: transform;
}

.rewa-doctors__row--reverse .rewa-doctors__track {
  animation-direction: reverse;
  animation-duration: 64s;
}

.rewa-doctors__row:hover .rewa-doctors__track {
  animation-play-state: paused;
}

@keyframes rewaDoctorsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

[dir='rtl'] .rewa-doctors__track {
  animation-name: rewaDoctorsScrollRtl;
}

@keyframes rewaDoctorsScrollRtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

.rewa-doctors__card {
  flex-shrink: 0;
  width: 292px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #eaf2f3;
  border-radius: 22px;
  padding: 28px 22px 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(16, 59, 68, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.rewa-doctors__card:hover,
.rewa-doctors__card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(14, 116, 144, 0.14);
  border-color: #b8d9df;
  outline: none;
}

.rewa-doctors__card:focus-visible {
  outline: 3px solid #e0a44e;
  outline-offset: 3px;
}

.rewa-doctors__photo-wrap {
  width: 118px;
  height: 118px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #0e7490, #0891b2, #e0a44e);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.rewa-doctors__card:hover .rewa-doctors__photo-wrap {
  box-shadow: 0 12px 32px rgba(14, 116, 144, 0.28);
  transform: scale(1.04);
}

.rewa-doctors__photo {
  width: 110px;
  height: 110px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #eaf2f3;
}

.rewa-doctors__photo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ecf6f8, #e0eef1);
  color: #0e7490;
  font-size: 42px;
}

.rewa-doctors__name {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 17.5px;
  margin: 0 0 8px;
  color: #0c3640;
  line-height: 1.35;
}

.rewa-doctors__specialty {
  display: inline-block;
  color: #0e7490;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.12);
}

.rewa-doctors__subs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  min-height: 28px;
}

.rewa-doctors__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f4fafb;
  border: 1px solid #e2eef0;
  color: #41646b;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rewa-doctors__chip--more {
  background: rgba(224, 164, 78, 0.12);
  border-color: rgba(224, 164, 78, 0.28);
  color: #9a6b1e;
}

.rewa-doctors__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  color: #0891b2;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, gap 0.2s ease;
}

.rewa-doctors__card:hover .rewa-doctors__cta {
  color: #0e7490;
  gap: 10px;
}

.rewa-doctors__badge {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eaf2f3;
}

.rewa-doctors__badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5a7b82;
  font-size: 14px;
  font-weight: 600;
}

.rewa-doctors__badge-item svg {
  flex-shrink: 0;
  color: #e0a44e;
}

/* Doctor profile page */
.rewa-doctor-page {
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(14, 116, 144, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 20%, rgba(224, 164, 78, 0.08), transparent 50%),
    #f7fbfc;
  min-height: 100vh;
}

.rewa-doctor-page__main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.rewa-doctor-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #7a989e;
  font-size: 13.5px;
  font-weight: 600;
}

.rewa-doctor-breadcrumb a {
  color: #0e7490;
  text-decoration: none;
}

.rewa-doctor-breadcrumb a:hover {
  text-decoration: underline;
}

.rewa-doctor-breadcrumb i {
  font-size: 12px;
  opacity: 0.7;
}

.rewa-doctor-breadcrumb span {
  color: #41646b;
}

.rewa-doctor-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.rewa-doctor-profile__aside {
  background: #fff;
  border: 1px solid #eaf2f3;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 32px rgba(16, 59, 68, 0.06);
  position: sticky;
  top: 96px;
}

.rewa-doctor-profile__photo-wrap {
  width: 168px;
  height: 168px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #0e7490, #0891b2, #e0a44e);
  box-shadow: 0 12px 36px rgba(14, 116, 144, 0.22);
}

.rewa-doctor-profile__photo {
  width: 158px;
  height: 158px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #eaf2f3;
}

.rewa-doctor-profile__photo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ecf6f8, #e0eef1);
  color: #0e7490;
  font-size: 64px;
}

.rewa-doctor-profile__name {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #0c3640;
  margin: 0 0 10px;
  line-height: 1.3;
}

.rewa-doctor-profile__specialty {
  display: inline-block;
  color: #0e7490;
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.14);
}

.rewa-doctor-profile__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: start;
  margin-top: 8px;
}

.rewa-doctor-profile__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7fbfc;
  border: 1px solid #eaf2f3;
  color: #41646b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.rewa-doctor-profile__meta-item i {
  color: #0e7490;
  font-size: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

.rewa-doctor-profile__meta-item a,
a.rewa-doctor-profile__meta-item {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

a.rewa-doctor-profile__meta-item:hover {
  background: #ecf6f8;
  border-color: #cfe3e6;
}

.rewa-doctor-profile__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rewa-doctor-panel {
  background: #fff;
  border: 1px solid #eaf2f3;
  border-radius: 22px;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 28px rgba(16, 59, 68, 0.05);
}

.rewa-doctor-panel__title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #0c3640;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rewa-doctor-panel__title i {
  color: #0e7490;
  font-size: 22px;
}

.rewa-doctor-panel__text {
  margin: 0;
  color: #5a7b82;
  font-size: 15.5px;
  line-height: 1.75;
  white-space: pre-line;
}

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

.rewa-doctor-subs__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.06), rgba(224, 164, 78, 0.08));
  border: 1px solid rgba(14, 116, 144, 0.12);
  color: #0c3640;
  font-size: 14px;
  font-weight: 700;
}

.rewa-doctor-subs__chip i {
  color: #e0a44e;
  font-size: 15px;
}

.rewa-doctor-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.rewa-doctor-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 13px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.rewa-doctor-cta__btn:hover {
  transform: translateY(-2px);
}

.rewa-doctor-cta__btn--primary {
  background: linear-gradient(135deg, #0e7490, #0891b2);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 116, 144, 0.28);
}

.rewa-doctor-cta__btn--whatsapp {
  background: #25a65d;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 166, 93, 0.28);
}

.rewa-doctor-cta__btn--ghost {
  background: #ecf6f8;
  color: #0e7490;
}

.rewa-star {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  background-color: #d5e4e7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M234.29,114.85l-45,34.79,13.51,53.6a15.92,15.92,0,0,1-23.84,17.75L128,192.31,77.05,221a15.92,15.92,0,0,1-23.84-17.75l13.51-53.6-45-34.79A16,16,0,0,1,31,86.11l56.91-4.57,22.07-52.46a16,16,0,0,1,29.06,0l22.07,52.46L225,86.11a16,16,0,0,1,9.27,28.74Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M234.29,114.85l-45,34.79,13.51,53.6a15.92,15.92,0,0,1-23.84,17.75L128,192.31,77.05,221a15.92,15.92,0,0,1-23.84-17.75l13.51-53.6-45-34.79A16,16,0,0,1,31,86.11l56.91-4.57,22.07-52.46a16,16,0,0,1,29.06,0l22.07,52.46L225,86.11a16,16,0,0,1,9.27,28.74Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rewa-star--on {
  background-color: #e0a44e;
}

/* Ratings & reviews */
.rewa-doctor-alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.rewa-doctor-alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.rewa-doctor-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.rewa-doctor-ratings__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: #f7fbfc;
  border: 1px solid #eaf2f3;
}

.rewa-doctor-ratings__score {
  text-align: center;
  min-width: 110px;
}

.rewa-doctor-ratings__avg {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: #0c3640;
}

.rewa-doctor-ratings__stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 8px 0 6px;
  font-size: 16px;
}

.rewa-doctor-ratings__bar-row i,
.rewa-doctor-ratings__bar-row .rewa-star {
  color: #e0a44e;
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.rewa-doctor-review__stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  font-size: 14px;
}

.rewa-doctor-review__stars .rewa-star {
  width: 14px;
  height: 14px;
}

.rewa-doctor-ratings__count {
  color: #7a989e;
  font-size: 13px;
  font-weight: 600;
}

.rewa-doctor-ratings__bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rewa-doctor-ratings__bar-row {
  display: grid;
  grid-template-columns: 14px 14px 1fr 24px;
  gap: 8px;
  align-items: center;
  color: #5a7b82;
  font-size: 12.5px;
  font-weight: 700;
}

.rewa-doctor-ratings__bar-row i {
  color: #e0a44e;
  font-size: 12px;
}

.rewa-doctor-ratings__bar-track {
  height: 8px;
  border-radius: 999px;
  background: #e8f2f4;
  overflow: hidden;
}

.rewa-doctor-ratings__bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0e7490, #e0a44e);
}

.rewa-doctor-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.rewa-doctor-reviews__empty {
  margin: 0;
  color: #7a989e;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  padding: 18px 12px;
}

.rewa-doctor-review {
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid #eaf2f3;
  background: #fff;
}

.rewa-doctor-review__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.rewa-doctor-review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ecf6f8, #dceef2);
  color: #0e7490;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.rewa-doctor-review__meta {
  flex: 1;
  min-width: 0;
}

.rewa-doctor-review__meta strong {
  display: block;
  color: #0c3640;
  font-size: 15px;
  margin-bottom: 4px;
}

.rewa-doctor-review__stars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  font-size: 14px;
}

.rewa-doctor-review__stars .rewa-star {
  width: 14px;
  height: 14px;
}

.rewa-doctor-review__label {
  color: #7a989e;
  font-size: 12.5px;
  font-weight: 600;
  margin-inline-start: 4px;
}

.rewa-doctor-review__date {
  color: #9bb0b5;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.rewa-doctor-review__text {
  margin: 0;
  color: #41646b;
  font-size: 14.5px;
  line-height: 1.7;
  white-space: pre-line;
}

.rewa-doctor-review__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rewa-doctor-review__tags span {
  padding: 4px 10px;
  border-radius: 8px;
  background: #f4fafb;
  border: 1px solid #e2eef0;
  color: #41646b;
  font-size: 12px;
  font-weight: 600;
}

.rewa-doctor-rating-form-wrap {
  padding-top: 8px;
  border-top: 1px solid #eaf2f3;
}

.rewa-doctor-rating-form__title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #0c3640;
  margin: 16px 0 14px;
}

.rewa-doctor-rating-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rewa-doctor-rating-form__label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: #0c3640;
  margin-bottom: 8px;
}

.rewa-doctor-rating-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rewa-doctor-rating-form__input,
.rewa-doctor-rating-form__textarea {
  width: 100%;
  border: 1px solid #d3e8eb;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #103b44;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rewa-doctor-rating-form__input:focus,
.rewa-doctor-rating-form__textarea:focus {
  outline: none;
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.rewa-doctor-rating-form__textarea {
  resize: vertical;
  min-height: 110px;
}

.rewa-doctor-star-input {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
  padding: 4px;
  border-radius: 12px;
}

.rewa-doctor-star-input.is-invalid {
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
  background: #fff8f8;
}

.rewa-doctor-star-input__btn {
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.15s ease;
}

.rewa-doctor-star-input__icon {
  display: block;
  width: 34px;
  height: 34px;
  background-color: #d5e4e7;
  transition: background-color 0.15s ease, transform 0.15s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M234.29,114.85l-45,34.79,13.51,53.6a15.92,15.92,0,0,1-23.84,17.75L128,192.31,77.05,221a15.92,15.92,0,0,1-23.84-17.75l13.51-53.6-45-34.79A16,16,0,0,1,31,86.11l56.91-4.57,22.07-52.46a16,16,0,0,1,29.06,0l22.07,52.46L225,86.11a16,16,0,0,1,9.27,28.74Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M234.29,114.85l-45,34.79,13.51,53.6a15.92,15.92,0,0,1-23.84,17.75L128,192.31,77.05,221a15.92,15.92,0,0,1-23.84-17.75l13.51-53.6-45-34.79A16,16,0,0,1,31,86.11l56.91-4.57,22.07-52.46a16,16,0,0,1,29.06,0l22.07,52.46L225,86.11a16,16,0,0,1,9.27,28.74Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rewa-doctor-star-input__btn.is-active .rewa-doctor-star-input__icon {
  background-color: #e0a44e;
}

.rewa-doctor-star-input__btn:hover {
  transform: scale(1.1);
}

.rewa-doctor-star-input__btn:focus-visible {
  outline: 2px solid #0e7490;
  outline-offset: 2px;
  border-radius: 8px;
}

.rewa-doctor-star-input__hint {
  margin: 8px 0 0;
  color: #0e7490;
  font-size: 13.5px;
  font-weight: 700;
}

.rewa-doctor-star-input.is-invalid + .rewa-doctor-star-input__hint {
  color: #b91c1c;
}

.rewa-doctor-rating-form__anon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5a7b82;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.rewa-doctor-rating-form__note {
  margin: 0;
  color: #9bb0b5;
  font-size: 12.5px;
  font-weight: 600;
}

.rewa-doctor-rating-form .rewa-doctor-cta__btn {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

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

  .rewa-doctor-rating-form__row {
    grid-template-columns: 1fr;
  }

  .rewa-doctor-star-input {
    justify-content: flex-start;
  }

  .rewa-doctor-star-input__icon {
    width: 30px;
    height: 30px;
  }
}

/* Reduced motion: static wrapped grid */
@media (prefers-reduced-motion: reduce) {
  .rewa-doctors__row {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .rewa-doctors__track {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 18px;
  }

  .rewa-doctors__card:hover {
    transform: none;
  }

  .rewa-doctors__card:hover .rewa-doctors__photo-wrap {
    transform: none;
  }
}

@media (max-width: 900px) {
  .rewa-doctor-profile {
    grid-template-columns: 1fr;
  }

  .rewa-doctor-profile__aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .rewa-doctors {
    padding: 72px 0;
  }

  .rewa-doctors__header {
    margin-bottom: 40px;
  }

  .rewa-doctors__card {
    width: 260px;
    padding: 24px 18px 18px;
  }

  .rewa-doctors__marquees {
    gap: 16px;
  }

  .rewa-doctor-page__main {
    padding: 28px 16px 60px;
  }

  .rewa-doctor-panel {
    padding: 22px 18px 20px;
  }

  .rewa-doctor-profile__name {
    font-size: 22px;
  }
}
