.blog {
  margin: 48px 0;
}
.blog-main {
  padding: 90px 0 35px 7px;
}
.blog-main .description {
  margin-top: 20px;
  max-width: 445px;
}
.blog-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.blog-container .col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.blog-container .article-preview {
  max-height: 500px;
}
.blog-btn {
  margin: 50px auto 0;
  max-width: 250px;
}
@media screen and (max-width: 1023px) {
  .blog {
    margin: 56px 0;
  }
}
@media screen and (max-width: 767px) {
  .blog-main {
    padding: 0 0 16px;
  }
  .blog-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .blog-container .col {
    gap: 8px;
  }
  .blog-btn {
    margin: 16px auto 0;
    max-width: 260px;
  }
}

.page-switcher {
  padding: 48px 0;
  margin: 0 auto;
  width: max-content;
}
.page-switcher ul {
  display: flex;
  gap: 12px;
}

.page-switcher-btn {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #57b1c7;
  transition: ease 0.3s;
}
.page-switcher-btn:hover {
  background-color: #57b1c7;
  color: white;
}

.pagination-active .page-switcher-btn {
  background-color: #57b1c7;
  color: white;
}

.btn-prev {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .page-switcher {
    padding: 32px 0;
  }
  .page-switcher ul {
    gap: 8px;
  }
}
main > section:first-child .top-articles {
  padding-top: 50px;
}
@media screen and (max-width: 1440px) {
  main > section:first-child .top-articles {
    padding-top: 20px;
  }
}
@media screen and (max-width: 1023px) {
  main > section:first-child .top-articles {
    padding-top: 100px;
  }
}

.top-articles {
  margin-bottom: 100px;
}
.top-articles-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 50px;
}
.top-articles-head__description {
  color: #68838a;
  font-weight: 300;
}
.top-articles-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}
.top-articles .article-preview:first-child {
  grid-area: 1/1/3/4;
}
.top-articles .article-preview:nth-child(2) {
  grid-area: 1/4/2/7;
}
.top-articles .article-preview:nth-child(3) {
  grid-area: 2/4/3/7;
}
.top-articles .article-preview:nth-child(4) {
  grid-area: 1/7/3/13;
}
@media screen and (max-width: 1023px) {
  .top-articles {
    margin-bottom: 56px;
  }
  .top-articles-container {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
  }
  .top-articles .article-preview:first-child {
    grid-area: 1/1/5/7;
  }
  .top-articles .article-preview:nth-child(2) {
    grid-area: 1/7/3/13;
  }
  .top-articles .article-preview:nth-child(3) {
    grid-area: 3/7/5/13;
  }
  .top-articles .article-preview:nth-child(4) {
    grid-area: 5/1/9/13;
  }
}
@media screen and (max-width: 767px) {
  .top-articles-container {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
  }
}
@media screen and (max-width: 575px) {
  .top-articles-head {
    display: flex;
    align-items: start;
    flex-direction: column;
    margin-bottom: 16px;
  }
  .top-articles-head__description {
    margin-top: 24px;
    color: #68838a;
    font-weight: 300;
  }
}

.appointment-form {
  position: relative;
  display: flex;
  gap: 50px;
  background: linear-gradient(136deg, #fff 0%, rgba(255, 255, 255, 0.4980392157) 100%);
  box-shadow: 5px 10px 20px 0 rgba(87, 177, 199, 0.15);
  margin-bottom: 150px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 56px;
}
.appointment-form__bg {
  position: absolute;
  top: 0;
  right: 0;
}
.appointment-form__image {
  max-width: 400px;
  overflow: hidden;
  height: auto;
}
.appointment-form__image img {
  aspect-ratio: 400/536;
  object-fit: cover;
  height: 100%;
}
.appointment-form-body {
  max-width: 750px;
  padding: 50px 50px 50px 0;
  z-index: 1;
}
.appointment-form-body-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 35px;
}
.appointment-form-body-head .title * {
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
  color: #19424d;
}
.appointment-form-body-head .description {
  max-width: 295px;
}
.appointment-form-body form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.appointment-form-body form .default-btn {
  flex: 0 1 calc(50% - 10px);
  min-height: 48px;
}
.appointment-form-body form .default-input {
  flex: 1 1 calc(50% - 10px);
}
.appointment-form-body form .default-input.-comment {
  flex: 1 1 100%;
}
.appointment-form-body #appointmentFormMessage .appointment-form-body__thank-message {
  max-width: 350px;
  margin-bottom: 40px;
}
.appointment-form-body #appointmentFormMessage img {
  margin: 35px 0 25px;
  max-width: 125px;
  aspect-ratio: 1/1;
}
.appointment-form.-small .appointment-form {
  margin-bottom: 0;
  margin-top: 0;
}
.appointment-form.-small .appointment-form-body {
  padding: 20px;
}
.appointment-form.-small .appointment-form-body-head {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.appointment-form.-small .appointment-form-body-head .title {
  margin-right: auto;
}
.appointment-form.-small .appointment-form-body-head .title * {
  font-size: 24px;
  font-weight: 600;
}
.appointment-form.-small .appointment-form-body form {
  flex-direction: column;
  gap: 15px;
}
.appointment-form.-small .appointment-form-body form .default-btn {
  flex-basis: 100%;
}
.appointment-form.-small .appointment-form-body form .default-input.-comment {
  height: 100px;
  background-position: left 15px top 15px;
}
.appointment-form.-small #appointmentFormMessage .appointment-form-body__thank-message {
  max-width: 200px;
  margin-bottom: 40px;
}
.appointment-form.-small #appointmentFormMessage img {
  margin: 35px auto 25px;
  max-width: 100px;
  aspect-ratio: 1/1;
}
.appointment-form.-small #appointmentFormMessage .default-btn {
  display: none;
}
@media screen and (max-width: 1199px) {
  .appointment-form__image {
    display: none;
  }
  .appointment-form-body {
    padding: 50px;
  }
}
@media screen and (max-width: 767px) {
  .appointment-form {
    margin-bottom: 56px;
    gap: 0;
    flex-direction: column;
  }
  .appointment-form__bg {
    display: none;
  }
  .appointment-form__image {
    display: block;
    max-width: 100%;
  }
  .appointment-form__image img {
    aspect-ratio: 343/200;
    object-fit: cover;
    object-position: bottom;
  }
  .appointment-form-body {
    padding: 24px 16px 16px;
  }
  .appointment-form-body-head {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
  }
  .appointment-form-body-head .title * {
    font-size: 24px;
  }
  .appointment-form-body-head .title * br {
    display: none;
  }
  .appointment-form-body form {
    gap: 8px;
  }
  .appointment-form-body form .default-btn {
    flex: 1 1 100%;
  }
  .appointment-form-body form .default-input {
    flex: 1 1 100%;
  }
}