.drawings-landing-cta-button {
  position: relative !important;
  top: auto !important;
}

.drawings-landing-cta-button span::after {
  background: url('../img/i3.svg') no-repeat 0 0;
}

@media only screen and (width <= 760px) {
  .drawings-landing-cta-button {
    position: relative !important;
    top: auto !important;
    margin-top: 24px;
  }
}

.drawings-final-section {
  margin-top: 56px;
  margin-bottom: 56px;
  border-radius: 24px;
  background-image: url('/img/drawings/background.svg');
  background-size: cover;
  background-position: center;
  padding: 40px 32px;
  position: relative;
  border: 1.5px solid #e0e0e2;
}

.drawings-final-section__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.drawings-final-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 24px;
}

.drawings-final-section__title {
  margin-bottom: 0;
}

.drawings-final-section__sub {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.4;
  opacity: 0.9;
  max-width: 500px;
}

.drawings-final-section__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 8px 0 24px;
}

.drawings-final-section__benefit {
  padding: 12px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 400;
  color: #0f172a;
  text-align: center;
  white-space: nowrap;
}

.drawings-final-section__benefit--1 {
  border: 3px solid #d4fbe6;
  background: #d4fbe6;
}

.drawings-final-section__benefit--2 {
  border: 3px solid #d3faf8;
  background: #d3faf8;
}

.drawings-final-section__benefit--3 {
  border: 3px solid #f2e0fc;
  background: #f2e0fc;
}

.drawings-final-section__benefit--4 {
  border: 3px solid #d3faf8;
  background: #d3faf8;
}

.drawings-final-section__btn {
  display: block;
  width: 50%;
  max-width: none;
  margin: 50px auto 0;
}

@media only screen and (width <= 760px) {
  .drawings-final-section {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 28px 16px;
  }

  .drawings-final-section__sub {
    font-size: 16px;
  }

  .drawings-final-section__btn {
    width: 100%;
    margin: 20px auto 0;
  }

  .drawings-final-section__benefit {
    white-space: normal;
  }
}

.drawings-type-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.drawings-type-buttons__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1.5px solid #e7e7e9;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition:
    border-color 0.15s,
    background 0.15s;
  cursor: pointer;
}

.drawings-type-buttons__btn:hover {
  border-color: #e0e0e2;
  background: #e7e7e9;
}

.drawings-type-buttons__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.drawings-type-buttons__label:has(.drawings-type-buttons__input:checked) {
  border-color: #e0e0e2;
  background: #e7e7e9;
}

#drawings-landing-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#drawings-landing-form .drawings-type-buttons {
  width: 100%;
}

#drawings-landing-form button.create-work-form1__submit {
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  margin-top: 24px;
}

@media only screen and (width <= 760px) {
  .drawings-type-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .drawings-type-buttons__btn {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
  }
}

.drawing-example-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  border-radius: 16px;
  border: 3px solid #cacad3;
  background: #fff;
  padding: 16px 20px;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.drawing-example-card__type {
  font-size: 20px;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 12px;
}

.drawing-example-card__image {
  margin-top: 8px;
  padding: 0 60px;
  border-radius: 12px;
  border: 1.5px solid #ececec;
  background: white;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawing-example-card__image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 240px;
  max-height: 240px;
  object-fit: contain;
}

@media only screen and (width <= 760px) {
  .drawing-example-card {
    border-radius: 12px;
    padding: 12px 14px;
  }

  .drawing-example-card__type {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .drawing-example-card__image {
    padding: unset;
  }

  .drawing-example-card__image img {
    height: 180px;
    max-height: 180px;
  }
}

.drawing-example-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.drawing-example-card-link:hover .drawing-example-card {
  border-color: #e0e0e2;
  background: #d4fbe6;
}

.drawing-examples-wrapper {
  overflow: hidden;
}

.drawing-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 1px;
  max-height: unset;
}

@media only screen and (width <= 760px) {
  .drawing-examples-wrapper {
    overflow: hidden;
    position: relative;
  }

  .drawing-examples-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
  }

  .drawing-examples-grid.is-looping {
    animation: carouselScroll var(--carousel-duration, 12s) linear infinite;
  }

  .drawing-examples-grid .drawing-example-card-link {
    flex: 0 0 auto;
    width: 200px;
  }

  @keyframes carouselScroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}
