.tm-hero {
  display: flex;
  position: relative;
  flex-direction: column;

  .tm-hero__container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 600px;

    &.right {
      .section {
        &:first-child {
          order: 2;
        }

        &:last-child {
          order: 1;
        }
      }
    }

    @media screen and (min-width: 992px) {
      min-height: unset;
      flex-direction: row;

      &.right {
        flex-direction: row;
      }
    }

    .tm-hero__media-container {
      display: flex;
      justify-content: center;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .tm-hero__media-container img,
    .tm-hero__media-container .image,
    .tm-hero__media-container video {
      display: block;
      margin: 0 auto;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Image Background Colors */

    .tm-hero__media-container.coral_gradient {
      background-color: #ffffff;
      background: radial-gradient(55vmax circle at 100% 100%, #ff4b42 0%, #ff6b6b 25%, rgba(255, 107, 107, 0.4) 55%, transparent 85%),
      radial-gradient(100vmax circle at 15% 100%, #ffdada 0%, #ffe9e9 45%, rgba(255, 255, 255, 0) 80%),
      radial-gradient(75vmax circle at 70% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    }

    .tm-hero__media-container.blue_gradient {
      background-color: #ffffff;

      background: radial-gradient(55vmax circle at 100% 100%, #9cbaff 0%, #b2cbff 15%, rgba(178, 203, 255, 0.3) 45%, transparent 75%),
      radial-gradient(100vmax circle at 15% 100%, #e6f0ff 0%, #f0f5ff 45%, rgba(255, 255, 255, 0) 80%),
      radial-gradient(75vmax circle at 70% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    }

    .tm-hero__media-container.midnight_navy {
      background-color: #1F2A33;
    }

    .tm-hero__media-container.open_sky {
      background-color: #A8C3EF;
    }

    .tm-hero__media-container.cloud_wash {
      background-color: #E1EAF9;
    }

    .tm-hero__media-container.living_coral {
      background-color: #F46256;
    }

    .tm-hero__media-container.warm_blush {
      background-color: #FCE7E3;
    }

    .tm-hero__text-container {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1.625rem;
      height: 100%;
      padding: 1.25rem 1.5rem;

      @media (min-width: 992px) {
        padding: 2rem;
      }

      /*Text Section Background Colors*/

      &.white {
        background-color: #FFFFFF;
      }

      &.quiet_white {
        background-color: #FBF7F4;
      }

      &.open_sky {
        background-color: #A8C3EF;
      }

      &.cloud_wash {
        background-color: #E1EAF9;
      }

      &.warm_blush {
        background-color: #FCE7E3;
      }

      &.midnight_navy {
        background-color: #1F2A33;
      }

      &.living_coral {
        background-color: #F46256;
      }

      /*Text Alignment*/

      &.top {
        justify-content: flex-start;
      }

      &.middle {
        justify-content: center;
      }

      &.bottom {
        justify-content: flex-end;
      }

      .tm-hero__description + .tm-hero__cta-button:hover {
        color: #FFFFFF;
        background-color: #1F2A33;
        border: 1px solid #FFFFFF;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) inset, 0 -2px 0 0 rgba(0, 0, 0, 0.05) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      }

      &.midnight_navy,
      &.living_coral {
        .tm-hero__header,
        .tm-hero__description {
          color: #FFFFFF;
        }

        .tm-hero__cta-button {
          color: #FFFFFF;
          border: 1px solid #FFF;
        }

        .tm-hero__description + .tm-hero__cta-button:hover {
          color: #1F2A33;
          background-color: #FFFFFF;
          border: 1px solid #1F2A33;
          box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) inset, 0 -2px 0 0 rgba(0, 0, 0, 0.05) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }
      }

      .tm-hero__header {
        color: #1F2A33;
        font-size: 3rem;
        letter-spacing: -0.06rem;
        font-family: "Gowun Batang", serif;
        line-height: 3rem;
        font-style: normal;
        font-weight: 400;

        @media (min-width: 992px) {
          font-size: 4.5rem;
          line-height: 4.5rem;
          letter-spacing: -0.09rem;
        }
      }

      .tm-hero__description {
        color: #1F2A33;
        font-family: Manrope, sans-serif;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem;

        @media (min-width: 992px) {
          font-size: 1.5rem;
          line-height: 2rem;
        }
      }

      .tm-hero__header,
      .tm-hero__description {
        margin: 0;
      }

      .tm-hero__cta-button {
        display: flex;
        padding: 0.75rem 2rem;
        justify-content: center;
        align-items: center;
        color: #1F2A33;
        font-family: Manrope, sans-serif;
        border: 1px solid #1F2A33;
        font-size: 1rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.5rem;
        border-radius: 9999px;
        background-color: transparent;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) inset, 0 -2px 0 0 rgba(0, 0, 0, 0.05) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      }
    }

    .tm-hero__media {
      display: block;
      width: 100%;
    }

    .section {
      box-sizing: border-box;
      width: 100%;
      max-width: 100%;
    }
  }

  .tm-hero__dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: center;
    margin-top: -0.5rem;
    width: 100%;
    z-index: 1;

    padding: 1rem;
    border-radius: 0.75rem 0.75rem 0 0;
    border-top: 1px solid #D4D4D9;
    border-right: 1px solid #D4D4D9;
    border-left: 1px solid #D4D4D9;
    background: #FFF;

    .tm-hero__dropdown-content {
      display: flex;
      flex-direction: column;
      gap: 0.62rem;

      .tm-hero__dropdown-description {
        margin: 0;
        color: #1F2A33;
        font-family: Manrope, sans-serif;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.25rem;
      }

      .tm-hero__dropdown-controls {
        gap: 0.75rem;
        display: flex;
        flex-direction: column;

        @media (min-width: 992px) {
          flex-direction: row;
        }

        .tm-dropdown {
          flex: 1;
        }

        .tm-hero__dropdown-submit-button {
          flex-shrink: 0;
          white-space: nowrap;
        }
      }

      .tm-hero__dropdown-submit-button {
        color: #FFF;
        background: #F46256;
        padding: 1.125rem;
        font-family: Manrope, sans-serif;
        font-size: 1rem;
        font-style: normal;
        font-weight: 600;
        border: 1px solid transparent;
        border-radius: 624.9375rem;

        &:hover {
          background-color: #FFF;
          color: #1F2A33;
          border: 1px solid #1F2A33;
        }

        &.midnight_navy {
          background-color: #1F2A33;
        }
      }
    }
  }
}


