/* Shared portal layout and responsive rules. */
.portal-page {
  background: #f7fbff;
}
.portal-container {
  width: min(1210px, calc(100% - 48px));
  margin: 0 auto;
}
.portal-breadcrumb {
  height: 65px;
  padding-top: 85px;
  box-sizing: content-box;
  border-bottom: 1px solid #e6ebf2;
  background: #f9fcff;
  color: #8a909b;
  font-size: 14px;
}
.portal-breadcrumb .portal-container {
  padding-top: 22px;
}
.portal-main {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  padding: 30px 0 125px;
  background: linear-gradient(110deg, #edf6ff 0%, #fff 50%, #fffdf8 100%);
}
.portal-main > .portal-container {
  position: relative;
  z-index: 1;
}
.portal-decoration {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  /* opacity: 0.35; */
}
.portal-decoration-right {
  right: 5px;
  top: 70px;
  width: 427px;
  height: 530px;
  background: url("../images/hur@2x.png") center / contain no-repeat;
}
.portal-decoration-left {
  left: -100px;
  bottom: 5px;
  width: 280px;
  height: 250px;
  background: url("../images/line2@2x.png") center / contain no-repeat;
}
.portal-heading h1 {
  position: relative;
  display: inline-block;
  margin: 0 0 20px;
  color: #282d35;
  font-size: 36px;
  line-height: 1.2;
}
.portal-heading h1 span {
  background: linear-gradient(90deg, #018dfb, #34ba5d 46%, #ed9a4c);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.portal-heading h1 img {
  position: absolute;
  z-index: -1;
  right: -46px;
  top: 5px;
  width: 98px;
  /* opacity: 0.7; */
}
.portal-heading p {
  margin: 0 0 25px;
  color: #333333;
  font-size: 18px;
}
.portal-line {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #018dfb, #34ba5d, #ed9a4c);
}
.portal-actions {
  display: flex;
  gap: 22px;
  margin-top: 75px;
}
.portal-button {
  min-width: 160px;
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background-color: #ffffff;
}
.portal-button.primary {
  color: #fff;
  background: #0e67fc;
}

.portal-cta {
  width: min(1210px, 100%);
  min-height: 220px;
  margin: 58px 0 0;
  padding: 36px 20px 27px;
  border-radius: 8px;
  text-align: center;
  background: url("../images/bounm@2x.png") center / cover no-repeat;
}
.audience-main .portal-cta {
  height: 220px;
  min-height: 220px;
  background-image: url("../images/bounm@2x.png");
}
.portal-cta h2 {
  margin: 0;
  color: #333333;
  font-size: 30px;
}
.portal-cta p {
  margin: 8px 0 0;
  color: #000000;
  font-size: 18px;
}
.portal-cta .portal-actions {
  justify-content: center;
  margin-top: 23px;
}

@media (max-width: 900px) {
  .portal-container {
    width: calc(100% - 30px);
  }
  .portal-breadcrumb {
    padding-top: 75px;
  }
  .portal-main {
    min-height: 0;
    padding: 28px 0 50px;
  }
  .journal-card {
    grid-template-columns: 180px 1fr;
    gap: 24px;
  }
  .qr-placeholder {
    width: 180px;
    height: 180px;
  }
  .featured-news {
    grid-template-columns: 330px 1fr;
    gap: 20px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .steps > div {
    padding-left: 88px;
    font-size: 20px;
  }
  .steps b {
    width: 78px;
    height: 78px;
    font-size: 32px;
  }
  .steps > div::after {
    left: 88px;
  }
}
@media (max-width: 560px) {
  .portal-breadcrumb {
    height: 44px;
    font-size: 12px;
  }
  .portal-breadcrumb .portal-container {
    padding-top: 14px;
  }
  .portal-heading h1 {
    font-size: 25px;
  }
  .portal-heading h1 img {
    width: 78px;
    right: -36px;
    top: -5px;
  }
  .portal-heading p {
    margin-bottom: 20px;
    font-size: 13px;
  }
  .portal-decoration-right {
    right: -100px;
    top: 130px;
    width: 220px;
    height: 330px;
  }
  .portal-decoration-left {
    left: -85px;
    width: 220px;
    height: 155px;
  }
  .journal-card {
    display: block;
    min-height: 0;
    margin-top: 18px;
    padding: 20px 16px 24px;
  }
  .qr-placeholder {
    width: 150px;
    height: 150px;
    margin-bottom: 22px;
  }
  .journal-copy h2 {
    font-size: 22px;
  }
  .journal-copy p {
    font-size: 14px;
  }
  .portal-actions {
    gap: 10px;
  }
  .portal-button {
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }
  .steps-section {
    margin-top: 32px;
  }
  .steps-section h2,
  .contact-section-title,
  .news-section-title {
    font-size: 22px;
  }
  .steps {
    display: block;
    height: auto;
    border-radius: 15px;
  }
  .steps > div {
    height: 90px;
    padding: 0 14px 0 110px;
    font-size: 18px;
  }
  .steps b {
    left: 8px;
    width: 76px;
    height: 76px;
    font-size: 30px;
  }
  .steps > div::after {
    left: 110px;
    bottom: 8px;
  }
  .portal-cta {
    margin-top: 35px;
    padding: 25px 12px;
  }
  .portal-cta h2 {
    font-size: 21px;
  }
  .contact-section-title {
    margin-top: 32px;
  }
  .contact-cards,
  .contact-actions {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-cards article {
    min-height: 220px;
  }
  .contact-cards strong {
    font-size: 28px;
  }
  .contact-section-title.second {
    margin-top: 32px;
  }
  .news-tabs {
    gap: 12px;
    margin: 20px 0;
  }
  .news-tabs a {
    padding: 9px 14px;
    font-size: 15px;
  }
  .featured-news {
    display: block;
  }
  .news-image {
    height: 190px;
    margin-bottom: 20px;
  }
  .featured-news h3 {
    font-size: 21px;
  }
  .news-section-title.more {
    margin-top: 35px;
  }
  .news-list article {
    grid-template-columns: 100px 1fr 55px;
    gap: 10px;
    min-height: 110px;
  }
  .news-thumb {
    height: 72px;
  }
  .news-list h3 {
    font-size: 14px;
  }
  .news-list p {
    display: none;
  }
  .news-list time {
    font-size: 11px;
  }
  .news-arrow {
    width: 55px;
    height: 16px;
  }
  .detail-layout {
    display: block;
  }
  .detail-article {
    padding: 20px 16px 25px;
  }
  .detail-article h2 {
    font-size: 22px;
  }
  .detail-hero {
    height: 190px;
  }
  .detail-article p {
    font-size: 14px;
    line-height: 1.8;
  }
  .detail-aside {
    margin-top: 20px;
  }
}
