body {
  background-color: #f0f0f0;
  /* background-color: #f7f9fa; */
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.topBlock {
  box-sizing: border-box;
  background: linear-gradient(#3fc595 0%, #238472 100%);
  width: 100%;
  padding: 32px 91px;
  border-radius: 0 0 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: relative;
}

.content {
  width: 100%;
  max-width: 1258px;
  display: flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  justify-content: space-between;
}

.contentHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.headerButton {
  box-sizing: border-box;
  background: #fff;
  text-transform: none;
  border-radius: 10px;
  touch-action: none;
  height: 50px;
  width: 50px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.headerButtonText {
  color: white;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
}

.headerIconButton {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  touch-action: none;
}

/* Content Block */
.content-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Image Block */
.image-block {
  max-width: 1440px;
  width: 100%;
  display: flex;
  margin-top: -100px;
  max-height: 530px;
}

.image-container {
  max-width: 1440px;
  width: 100%;
  display: flex;
  max-height: 530px;
  margin-top: -20px;
}

.hero-image {
  width: 100%;
  object-fit: cover;
}

/* Content Box */
.content-box {
  max-width: 672px;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 20px 0;
  gap: 40px;
}

.title {
  color: #0a212b;
  padding: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -1.36px;
  margin-bottom: 10px;
}

.subtitle {
  color: #69787e;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 10px;
  text-align: left;
}

/* Read More Link */

.read-more-wrapper {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 16px;
  width: 100%;
  box-shadow: 0px 16px 40px 0px rgba(210, 217, 222, 0.4);
  border-radius: 24px;
  margin-bottom: 10px;
  background-color: white;
}

.read-more {
  cursor: pointer;
  text-align: center;
  color: #69787e;
  font-size: 14px;
  text-decoration: underline;
}

.bottom-main {
  box-sizing: border-box;
  margin: 32px;
  background: linear-gradient(
    168deg,
    #8a35e2 0%,
    #8a36e1 6.67%,
    #883adf 13.33%,
    #8640dc 20%,
    #8349d7 26.67%,
    #8055d1 33.33%,
    #7b63ca 40%,
    #7673c2 46.67%,
    #7182ba 53.33%,
    #6c92b2 60%,
    #67a0ab 66.67%,
    #64aca5 73.33%,
    #61b5a0 80%,
    #5fbb9d 86.67%,
    #5dbf9b 93.33%,
    #5dc09a 100%
  );
  width: calc(100% - 64px);
  padding: 80px 59px 32px 59px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-content {
  width: 100%;
  max-width: 1258px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.bottom-main-text {
  color: #fff;
  text-align: center;
  font-size: 68px;
  font-style: normal;
  font-weight: 700;
  max-width: 790px;
  line-height: 76px;
  letter-spacing: -1.36px;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px;
}

.bottom-sub-text {
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  max-width: 438px;
  line-height: 28px;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px;
}

.bottom-content-header-main {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-sizing: border-box;
  padding-top: 20px;
}

.bottom-content-header-text {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  font-family: 'DM Sans', sans-serif;
  opacity: 0.6;
}

.logo-svg {
  box-sizing: border-box;
  background: #fff;
  text-transform: none;
  border-radius: 10px;
  touch-action: none;
  height: 50px;
  width: 50px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.box-container {
  width: 95vw;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  max-width: 650px;
}
.search-field {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 48px;
}
.search-icon {
  position: absolute;
  left: 20px;
  top: 15px;
}

.custom-input {
  border-radius: 48px;
  border: none;
  outline: none;
  background-color: white;
  font-family: 'DM Sans', sans-serif;
  margin: auto;
  width: 100%;
  height: 55px;
  padding-left: 60px;
  font-size: 16px;
}
.custom-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.itin-wrapper {
  margin: 20px 0px;
  max-width: 650px;
  /* padding: 0px 20px; */

  width: 93vw;
  margin: auto;
  margin-bottom: -30px;
}

.ad-container {
  width: 100%;
}

.itin-wrapper h2 {
  color: #0a212b;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  margin-bottom: -2px;
  margin-top: 20px;
  z-index: 1;
}

.article-container,
.results-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 30px;
  /* box-shadow: 0px 16px 40px 0px rgba(210, 217, 222, 0.4); */
  border-radius: 24px;
  overflow: hidden;
  padding: 10px 16px 10px;
  background-color: white;
}

.article-container2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  padding: 10px 32px 10px;
  background-color: #f0f0f0;
  /* background-color: #f7f9fa; */
}

.card-wrapper {
  padding: 10px 0px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-wrapper h3 {
  color: #0a212b;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  z-index: 1;
  cursor: pointer;
}
.card-wrapper h3:hover {
  text-decoration: underline;
}

.card-wrapper p {
  color: #0a212b;
  width: 100%;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  z-index: 1;
  opacity: 0.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5em;
  text-overflow: ellipsis;
}

.results-container {
  margin-top: 20px;
}
.articles-container {
  max-width: 650px;
  width: 100%;
}

div.buttons {
  display: flex;
  padding-bottom: 20px;
}
div.buttons .buttonStore {
  padding: 10px;
}
div.buttons .buttonStore.mobile {
  height: 64px;
}
div.buttons .buttonStore.desktop {
  height: 78px;
}


@media all and (max-width: 660px) {
  div.buttons {
    flex-direction: column;
  }
  div.buttons .buttonStore.desktop {
    display: none;
  }

}

@media all and (min-width: 661px) {
  div.buttons .buttonStore.mobile {
    display: none;
  }
  div.buttons .buttonStore:hover {
    background: #0a212b;
    border-radius: 48px;
  }

  div.buttons {
    flex-direction: row;
  }
}

@media (max-width: 1024px) {
  .hero-image {
    width: 100%;
    object-fit: cover;
    max-height: 260px;
    min-height: 260px;
    height: 100%;
  }
  .topBlock {
    justify-content: flex-start;
    padding: 20px;
  }
  .content-box {
    width: 90vw;
  }
  .title {
    text-align: left;
    font-size: 25px;
    line-height: 28px;
  }
  .subtitle {
    font-size: 14px;
    line-height: 18px;
  }
  .bottom-main {
    margin: 16px;
    width: calc(100% - 32px);
    padding: 80px 20px 20px 20px;
    margin-bottom: 0px;
  }

  .bottom-main-text {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -0.65px;
    margin-bottom: 14px;
  }

  .bottom-sub-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 32px;
  }

  .bottom-content-header-text {
    font-size: 12px;
    line-height: 20px;
  }
  .logo-svg {
    width: 40px;
    height: 40px;
  }
  .headerButton {
    width: 40px;
    height: 40px;
  }
  .contentHeader {
    gap: 8px;
  }
}

.show-more-btn {
  background-color: #2aad7a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 20px;
}

.show-more-btn:hover {
  background-color: #2aad7a;
}
