/* Основной контейнер секции */
.record-reception {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.record-reception__container {
  height: 280px;
  border-radius: 8px;
  background: #E8E6D4;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Левая часть */
.record-reception__content {
  width: 567.5px;
  height: 192px;
  display: flex;
  flex-direction: column;
  padding: 44px 0 44px 20px;
}

.record-reception__title {
  width: 100%;
  height: auto;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 100%;
  letter-spacing: 0;
  color: #18383C;
  margin: 0 0 30px 0;
}

/* Кнопки */
.record-reception__buttons {
  display: flex;
  gap: 10px;
}

.record-reception__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  text-decoration: none;
  line-height: 100%;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Основная кнопка */
.record-reception__btn--primary {
  width: 217px;
  height: 69px;
  padding: 26px 30px;
    background: var(--color-orange);
  color: #E8E6D4;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
    border: 1px solid var(--color-orange);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.record-reception__btn--primary:hover {
  background-color: var(--color-orange);
}

/* Кнопка с телефоном */
.record-reception__btn--secondary {
  width: 242px;
  height: 70px;
  padding: 25px 48px;
  background: #ffffff;
    border: 2px solid var(--color-orange);
    color: var(--color-orange);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* Правая часть (обертка и контейнер для корректных отступов) */
.record-reception__image-wrapper {
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 0;
}

.record-reception__image-container {
  width: 567.5px;
  height: 270px;
  box-sizing: border-box;
}

.record-reception__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  display: block;
}
@media screen and (max-width: 1199px){
  .record-reception__content{
    width: calc( 50% - 10px );
  }
  .record-reception__image-container{
    width: 100%;
  }
}
@media (max-width: 768px) {
  /* Общая обёртка */
  .record-reception {
    width: 100%;
    margin: 0;
  }

  /* Контейнер секции */
  .record-reception__container {
    align-items: center;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background-color: #E8E6D4;
    border-radius: 6px;
    box-sizing: border-box;
  }

  /* Контент без внутренних отступов */
  .record-reception__content {
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px 0;
  }

  .record-reception__title {
    width: 100%;
    height: auto;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    color: #18383C;
    margin: 0;
  }

  .record-reception__buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin: 0;
  }

  /* Кнопка "Записаться на приём" */
  .record-reception__btn--primary {
    width: 100%;
    ;
    padding: 21px 30px;
    font-size: 14px;
  }

  /* Кнопка с телефоном */
  .record-reception__btn--secondary {
    width: 100%;
    height: 60px;
    font-size: 16px;
    padding: 21px 30px;
  }

  /* Блок изображения */
  .record-reception__image-wrapper {
    height: 270px;
    padding: 0;
    margin: 0;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 5px 5px;
  }

  .record-reception__image-container {
    width: 100%;
    height: 100%;
  }

  .record-reception__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 6px 6px;
    display: block;
  }
}

@media (max-width: 480px) {
  /* Общая обёртка */
  .record-reception {
    width: 100%;
    margin: 0;
  }

  /* Контейнер секции */
  .record-reception__container {
    flex-direction: column;
    align-items: center;
  
    height: auto;
    gap: 20px;
    margin: 0 auto;
    background-color: #E8E6D4;
    border-radius: 6px;
    box-sizing: border-box;
  }

  /* Контент без внутренних отступов */
  .record-reception__content {
    width: auto;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px 0;
  }

  .record-reception__title {
    width: 100%;
    height: auto;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    color: #18383C;
    margin: 0;
  }

  .record-reception__buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin: 0;
  }

  /* Кнопка "Записаться на приём" */
  .record-reception__btn--primary {
    width: 100%;
    ;
    padding: 21px 30px;
    font-size: 14px;
  }

  /* Кнопка с телефоном */
  .record-reception__btn--secondary {
    width: 100%;
    height: 60px;
    font-size: 16px;
    padding: 21px 30px;
  }

  /* Блок изображения */
  .record-reception__image-wrapper {
    padding: 0;
    margin: 0;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 5px 5px;
  }

  .record-reception__image-container {
    width: 100%;
    height: 100%;
  }

  .record-reception__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 6px 6px;
    display: block;
  }
}