/* How To Section */
.how-to-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--container-gap);
}

.how-to-section .title {
  font-size: var(--h1-font-size-mobile);
  font-weight: 400;
  line-height: var(--h1-line-height-mobile);
  text-align: left;
}

.how-to-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-to-section .main-content-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 297px;
}

.how-to-section .main-content-image img {
  width: 100%;
  min-height: 297px;
  height: auto;
  display: block;
}

.how-to-section .steps-panel {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.how-to-section .step-card {
  border-radius: 12px;
  background-color: #f4f4f3;
  padding: var(--padding-small);
}

.how-to-section .step-card .content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-to-section .step-card .step {
  width: 23px;
  height: 52px;

  font-family: Ubuntu;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  text-align: left;
}

.how-to-section .step-card .number {
  width: 23px;
  height: 52px;

  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;

  display: flex;
  align-items: center;

  color: #fffef9;

  /* Adding a border effect around the text using text-shadow */
  text-shadow: 
    -1px -1px 0 #353535, /* Top-left shadow */ 
    1px -1px 0 #353535,  /* Top-right shadow */ 
    -1px 1px 0 #353535,  /* Bottom-left shadow */
    1px 1px 0 #353535;   /* Bottom-right shadow */

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}

.how-to-section .step-card .description {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.how-to-section .step-card .content h2 {
  font-family: Ubuntu;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  color: #353535;
}

.how-to-section .step-card .content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 20.8px;
  text-align: left;
  color: #353535;
}

@media (width: 320px) {
  .how-to-section .step-card:first-of-type .content h2 {
    width: 140px;
    font-family: Ubuntu;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
    color: #353535;
  }
}

@media (min-width: 1280px) {
  .how-to-section .container {
    width: 1200px;
    gap: 60px;
  }

  .how-to-section .content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
  }

  .how-to-section .main-content-image {
    width: 582px;
    height: 660px;
    border-radius: 12px;
  }

  .how-to-section .main-content-image img {
    width: 582px;
    height: 660px;
    border-radius: 12px;
  }

  .how-to-section .steps-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .how-to-section .step-card {
    background-color: #f7f7f7;
    width: 582px;
    height: 150px;
    padding: 20px;
    border-radius: 12px;
  }

  .how-to-section .step-card .content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }

  .how-to-section .step-card .description {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }

  .how-to-section .step-card .step {
    width: 46px;
    height: 60px;
  }

  .how-to-section .step-card .step img {
    width: 46px;
    height: 60px;
  }

  .how-to-section .summary-link {
    font-family: Ubuntu;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    letter-spacing: 0.16px;
    text-align: left;
  }

  .how-to-section .step-card .number {
    width: 46px;
    height: 64px;

    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 80px;
    line-height: 60px; /* Or 75% of font-size */

    display: flex;
    align-items: flex-end;

    color: #ffffff;

    /* Adding a border effect around the text using text-shadow */
    text-shadow: 
      -1px -1px 0 #353535, /* Top-left shadow */
      1px -1px 0 #353535,  /* Top-right shadow */
      -1px 1px 0 #353535,  /* Bottom-left shadow */
      1px 1px 0 #353535;   /* Bottom-right shadow */

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
  }
}
