.smallTreatmentsBlock {
  padding: 112px 0;
  width: 100%;
}

.smallTreatmentsBlock__container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 0 auto;
  max-width: 1280px;
  width: min(100% - 160px, 1280px);
}

.smallTreatmentsBlock__header {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
  text-align: center;
}

.smallTreatmentsBlock__heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.smallTreatmentsBlock__top-row {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.smallTreatmentsBlock__top-text {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}

.smallTreatmentsBlock__section-wave {
  display: block;
  height: 9px;
  width: 54px;
}

.smallTreatmentsBlock__title {
  color: #ffffff;
  font-family: "Gilda Display", serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 1.2;
  margin: 0;
}

.smallTreatmentsBlock__header-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  gap: 10px;
  justify-content: center;
  line-height: 1.6;
  padding: 10px 20px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.smallTreatmentsBlock__header-button:hover {
  background: rgba(0, 204, 255, 0.2);
}

.smallTreatmentsBlock__header-button-icon {
  display: block;
  filter: brightness(0) invert(1);
  height: 15px;
  width: 15px;
}

.smallTreatmentsBlock__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 608px) minmax(0, 640px);
  justify-content: space-between;
}

.smallTreatmentsBlock__card-column {
  display: grid;
  gap: 32px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.smallTreatmentsBlock__card {
  background: transparent;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.smallTreatmentsBlock__card--featured {
  min-height: 768px;
}

.smallTreatmentsBlock__card--compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 368px;
}

.smallTreatmentsBlock__card-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.smallTreatmentsBlock__card-image-wrap::after {
  background: rgba(0, 0, 0, 0.2);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.smallTreatmentsBlock__card-image-wrap--featured {
  height: 360px;
}

.smallTreatmentsBlock__card-image-wrap--compact {
  height: 100%;
}

.smallTreatmentsBlock__card-image {
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 400ms ease,
    filter 280ms ease;
  width: 100%;
}

.smallTreatmentsBlock__card:hover {
  background-color: rgba(6, 32, 39, 0.8);
}

@media (hover: hover) and (pointer: fine) {
  .smallTreatmentsBlock__card:hover .smallTreatmentsBlock__card-image,
  .smallTreatmentsBlock__card:focus-within .smallTreatmentsBlock__card-image {
    filter: brightness(1.03);
    transform: scale(1.08);
  }
}

.smallTreatmentsBlock__card-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  min-height: 0;
  padding: 24px 0;
}

.smallTreatmentsBlock__card--featured .smallTreatmentsBlock__card-content {
  gap: 32px;
  padding: 48px 24px;
}

.smallTreatmentsBlock__card--compact .smallTreatmentsBlock__card-content {
  padding: 24px;
}

.smallTreatmentsBlock__card-label-wrap {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.smallTreatmentsBlock__card-label {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.smallTreatmentsBlock__card-wave {
  display: block;
  height: 6px;
  width: 36px;
}

.smallTreatmentsBlock__card-title {
  color: #ffffff;
  font-family: "Gilda Display", serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.32px;
  line-height: 1.2;
  margin: 0;
}

.smallTreatmentsBlock__card--featured .smallTreatmentsBlock__card-title {
  font-size: 48px;
  letter-spacing: 0.48px;
}

.smallTreatmentsBlock__card-text {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.smallTreatmentsBlock__card--featured .smallTreatmentsBlock__card-text {
  font-size: 18px;
}

.smallTreatmentsBlock__card-actions {
  align-items: center;
  display: inline-flex;
  gap: 24px;
  margin-top: auto;
}

.smallTreatmentsBlock__primary-cta {
  align-items: center;
  background: #00bfef;
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  padding: 10px 20px;
  text-decoration: none;
}

.smallTreatmentsBlock__primary-cta:hover {
  background: #00728e;
  border: 1px solid #00728e;
}

.smallTreatmentsBlock__read-more {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  gap: 8px;
  line-height: 1.6;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.smallTreatmentsBlock__read-more-icon {
  display: block;
  height: 15px;
  width: 15px;
}

.smallTreatmentsBlock__read-more:hover {
  text-decoration: underline;
}

@media (max-width: 1360px) {
  .smallTreatmentsBlock__container {
    width: min(100% - 80px, 1280px);
  }

  .smallTreatmentsBlock__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 1200px) {
  .smallTreatmentsBlock {
    padding: 96px 0;
  }

  .smallTreatmentsBlock__title {
    font-size: 50px;
  }

  .smallTreatmentsBlock__card--featured {
    min-height: 660px;
  }

  .smallTreatmentsBlock__card--compact {
    min-height: 300px;
  }

  .smallTreatmentsBlock__primary-cta {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .smallTreatmentsBlock {
    padding: 84px 0;
  }

  .smallTreatmentsBlock__grid {
    grid-template-columns: 1fr;
  }

  .smallTreatmentsBlock__card-column {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .smallTreatmentsBlock__card--featured {
    min-height: 560px;
  }

  .smallTreatmentsBlock__card--compact {
    grid-template-columns: 1fr;
    min-height: 420px;
  }

  .smallTreatmentsBlock__card--compact .smallTreatmentsBlock__card-image-wrap {
    height: 220px;
  }

  .smallTreatmentsBlock__title {
    font-size: 42px;
  }

  .smallTreatmentsBlock__primary-cta {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .smallTreatmentsBlock {
    padding: 72px 0;
  }

  .smallTreatmentsBlock__header {
    gap: 22px;
  }

  .smallTreatmentsBlock__heading {
    gap: 12px;
  }

  .smallTreatmentsBlock__title {
    font-size: 36px;
  }

  .smallTreatmentsBlock__card-column {
    grid-template-columns: 1fr;
  }

  .smallTreatmentsBlock__card--featured,
  .smallTreatmentsBlock__card--compact {
    min-height: 420px;
  }

  .smallTreatmentsBlock__card--featured .smallTreatmentsBlock__card-image-wrap {
    height: 250px;
  }

  .smallTreatmentsBlock__card-title,
  .smallTreatmentsBlock__card--featured .smallTreatmentsBlock__card-title {
    font-size: 32px;
    letter-spacing: 0.32px;
  }

  .smallTreatmentsBlock__card-text,
  .smallTreatmentsBlock__card--featured .smallTreatmentsBlock__card-text {
    font-size: 16px;
  }

  .smallTreatmentsBlock__card-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .smallTreatmentsBlock__primary-cta {
    font-size: 18px;
  }
}
