/* Audience page styles. */
.join {
  margin-bottom: 12px;
}
.journal-card {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 60px;
  /* align-items: center; */
  width: min(1210px, 100%);
  min-height: 330px;
  margin: 24px 0 0;
  padding: 30px 34px;
  border-radius: 16px;
  background: url("../images/hemer@2x.png") center / cover no-repeat;
  box-shadow: 0 4px 18px #3f6f9a12;
}
.qr-placeholder {
  width: 390px;
  height: 260px;
  margin: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  background: #d8effd;
}
.journal-copy {
  display: flex;
  flex-direction: column;
}
.journal-copy h2 {
  margin: 0 0 12px;
  color: #333333;
  font-size: 30px;
}
.journal-copy p {
  margin: 17px 0 0;
  color: #333333;
  font-size: 20px;
  line-height: 1.8;
}
.steps-section {
  width: min(1210px, 100%);
  margin: 63px 0 0;
}
.steps-section h2,
.contact-section-title,
.news-section-title {
  margin: 0 0 38px;
  color: #30353c;
  font-size: 30px;
}
.steps-section h2 {
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  height: 66px;
  border: 1px solid #b8dff7;
  border-radius: 34px;
  background: #fff;
}
.steps > div {
  position: relative;
  min-width: 0;
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 18px 0 109px;
  color: #4f5864;
  font-size: 24px;
  white-space: nowrap;
}
.steps b {
  position: absolute;
  z-index: 1;
  left: -1px;
  top: 50%;
  width: 90px;
  height: 90px;
  margin: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #2ca5d4;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 36px;
}
.steps > div::after {
  position: absolute;
  left: 110px;
  bottom: -2px;
  width: 100px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #3f9efc 0%, #23b671 53%, #ed9a4c 100%);
  content: "";
}
.steps > div:nth-child(2) b {
  background: #ffad53;
}
.steps > div:nth-child(3) b {
  background: #25aaa7;
}

.portal-button {
  font-weight: 700;
}

@media (max-width: 1100px) {
  .journal-card {
    gap: 40px;
    padding: 28px 24px;
  }
  .steps > div {
    padding: 0 12px 0 96px;
    font-size: 18px;
  }
  .steps b {
    width: 78px;
    height: 78px;
    font-size: 30px;
  }
  .steps > div::after {
    left: 96px;
    width: 72px;
  }
}
@media (max-width: 900px) {
  .audience-main .portal-decoration {
    display: none;
  }
  .journal-card {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
    display: block;
  }
  .qr-placeholder {
    width: 360px;
    height: 260px;
    margin: 0 auto 20px;
  }
  .journal-copy h2 {
    font-size: 24px;
  }
  .journal-copy p {
    font-size: 16px;
  }
  .journal-copy .portal-actions,
  .portal-cta .portal-actions {
    flex-wrap: wrap;
    margin-top: 28px;
  }
}
@media (max-width: 900px) {
  .steps {
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 16px;
  }
  .steps > div {
    height: 88px;
    padding: 0 16px 0 100px;
    font-size: 16px;
  }
  .steps b {
    left: 10px;
    width: 68px;
    height: 68px;
    font-size: 24px;
  }
  .steps > div::after {
    left: 100px;
    bottom: 12px;
    width: 80px;
  }
  .audience-main .portal-cta {
    height: auto;
    padding: 28px 16px 24px;
  }
  .portal-cta h2 {
    font-size: 22px;
  }
  .portal-cta p {
    font-size: 15px;
  }
}
@media (max-width: 560px) {
  .journal-card {
    display: block;
    margin-top: 18px;
    padding: 20px 16px 24px;
  }
  .qr-placeholder {
    width: 360px;
    height: 260px;
    margin: 0 auto 20px;
  }
  .journal-copy h2 {
    font-size: 22px;
  }
  .journal-copy p {
    font-size: 15px;
  }
  .steps-section {
    margin-top: 36px;
  }
  .steps-section h2 {
    margin-bottom: 22px;
    font-size: 22px;
  }
}
