/* 3Business AI Hub — storyboard sections */
.page.page--aihub {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  text-align: center;
}

.aihub-home,
.aihub-article {
  width: 100%;
}

.aihub-article {
  display: none;
  padding: 20px 8px 40px;
  text-align: left !important;
}

.aihub-article.is-open {
  display: block !important;
}

.aihub-back {
  display: block;
  margin: 8px 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: #50489b;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.aihub-article > .aihub-cat {
  display: block;
  margin: 0 0 10px;
}

.aihub-article h1 {
  display: block;
  width: 100%;
  margin: 8px 0 12px;
  font-size: 32px;
  line-height: 1.3;
  color: #231f20;
  text-align: left;
}

.aihub-home.is-hidden {
  display: none !important;
}

body.is-ai-article-open #headerBanner {
  display: none !important;
}

.aihub-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4ebaab;
  margin-bottom: 10px;
}

.aihub-title {
  margin: 0 auto 16px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #50489b;
  text-align: center;
  padding: 0 0 10px;
}

.aihub-lead {
  margin: 0 auto 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #3e3e3e;
  text-align: center;
  max-width: 1100px;
}

.aihub-section {
  width: 100%;
  padding: 12px 20px 48px;
}

.aihub-section--tint {
  margin: 10px auto 30px;
  padding: 32px 28px 36px;
  border-radius: 28px;
  background: linear-gradient(90deg, #ffffff 0%, #f0fff9 50%, #ffffff 100%);
  box-shadow: 0 2px 14px #00000014;
  box-sizing: border-box;
}

.aihub-exec {
  width: 95%;
  margin: 0px auto 0px;
  padding: 26px 26px 24px;
  border-radius:   24px;
  background: linear-gradient(135deg, #f9f7fe 0%, #e8f8f4 100%);
  border: 1px solid #e4e0f5;
  text-align: center;
}

.aihub-exec h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #50489b;
  font-weight: 700;
  text-align: center;
}

.aihub-exec p {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #3e3e3e;
  text-align: center;
}

.aihub-carousel {
  position: relative;
  width: 100%;
  padding: 10px 8px;
}

.aihub-carousel .swiper-container {
  overflow: hidden;
  width: 100%;
}

.aihub-nav {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 12;
}

.aihub-nav--prev {
  left: 4px;
  background-image: url(../css/arrow-back.svg);
}

.aihub-nav--next {
  right: 4px;
  background-image: url(../css/arrow-next.svg);
}

/* 10 picks — two rows of five */
.aihub-picks.picks {
  max-width: 100%;
  padding: 0 2% 36px;
  overflow: visible;
}

.aihub-picks-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 8px;
  align-items: stretch;
}

.aihub-carousel .swiper-slide {
  line-height: 1.5 !important;
  height: auto !important;
}

.aihub-picks .pick,
.aihub-picks .pick.pick--left {
  width: 90%;
  max-width: none;
  min-height: 160px;
  margin: 0 !important;
}

.aihub-picks-grid .pick__body {
  padding: 24px 14px 16px;
  gap: 8px;
}

.aihub-picks-grid .pick__body h3 {
  font-size: 18px;
}

.aihub-picks-grid .pick__body p {
  font-size: 13px;
  line-height: 1.45;
}

.aihub-picks .pick--left .pick__num {
  width: 28px;
  left: 28%;
  font-size: 22px;
}

.aihub-carousel .swiper-button-prev,
.aihub-carousel .swiper-button-next {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 12;
}

.aihub-carousel .swiper-button-prev {
  left: 4px;
  background-image: url(../css/arrow-back.svg);
}

.aihub-carousel .swiper-button-next {
  right: 4px;
  background-image: url(../css/arrow-next.svg);
}

.page.page--aihub,
.tablewidth {
  max-width: 1400px;
  width: 100%;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.aihub-related-grid,
.aihub-more-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Featured article */
.aihub-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px 0;
  text-align: left;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px #00000022;
  text-decoration: none;
  color: inherit;
}

.aihub-hero__img {
  min-height: 260px;
  background: #e9e9e9 center / cover no-repeat;
}

.aihub-hero__body {
  padding: 28px 28px 24px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aihub-cat {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #4ebaab;
  border: 2px solid #4ebaab;
  width: fit-content;
  height: auto;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.aihub-hero h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.35;
  color: #50489b;
}

.aihub-hero p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #3e3e3e;
}

.aihub-meta {
  font-size: 13px;
  color: #696969;
}

.aihub-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aihub-tag {
  font-size: 12px;
  color: #50489b;
  background: #f4f1fb;
  border-radius: 999px;
  padding: 4px 10px;
}

/* Window cards (solutions + news) */
.aihub-win {
  display: block;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px #0000001f;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.25s ease;
}

.aihub-win:hover {
  transform: translateY(-4px);
}

.aihub-win__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f6;
}

.aihub-win__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aihub-win__img--crop img {
  height: 170%;
  object-position: top;
}

.aihub-win__body {
  padding: 16px 16px 20px;
  text-align: center;
}

.aihub-win__meta {
  font-size: 13px;
  color: #696969;
  margin-bottom: 8px;
}

.aihub-win h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.4;
  color: #50489b;
  min-height: 48px;
  display: block;
}

.aihub-btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 8px 22px;
  border-radius: 8px;
  background-image: linear-gradient(to right, #514899, #4ebaab);
}

.aihub-soon {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #50489b;
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
}

.aihub-win-slide {
  width: 31%;
  height: auto;
  padding-bottom: 8px;
}

.aihub-article-slide {
  width: 31%;
  height: auto;
}

.aihub-mini {
  display: block;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px #00000018;
  text-decoration: none;
  color: inherit;
  height: 100%;
  text-align: left;
}

.aihub-mini img,
.aihub-mini__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: #eef2f6 center / cover no-repeat;
}

.aihub-mini__body {
  padding: 14px 16px 18px;
}

.aihub-mini .aihub-cat {
  margin-bottom: 6px;
}

.aihub-mini h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #50489b;
}

.aihub-mini .aihub-meta {
  font-size: 12px;
}

.aihub-article-bar {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 0 0 22px;
  color: #696969;
  font-size: 14px;
  width: 100%;
}

.aihub-share {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.aihub-share a,
.aihub-share button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #50489b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.aihub-cover {
  width: 60%;
  max-width: 60%;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto 24px;
}

.aihub-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.aihub-body {
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: #3e3e3e;
}

.aihub-body p {
  margin: 0 0 16px;
}

.aihub-body h2 {
  margin: 32px 0 14px;
  font-size: 22px;
  line-height: 1.4;
  color: #50489b;
  font-weight: 700;
}

.aihub-body h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  line-height: 1.4;
  color: #3e3e3e;
  font-weight: 700;
}

.aihub-body ul,
.aihub-body ol {
  margin: 0 0 18px 1.2em;
  padding: 0;
}

.aihub-body li {
  margin: 0 0 8px;
}

.aihub-body a {
  color: #50489b;
  font-weight: 700;
}

.aihub-summary {
  background: #f7f5fc;
  border-left: 4px solid #4ebaab;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 24px;
}

.aihub-summary p {
  margin: 0 0 8px;
}

.aihub-summary p:last-child {
  margin-bottom: 0;
}

.aihub-figure {
  width: 60%;
  max-width: 60%;
  margin: 8px auto 24px;
  border-radius: 16px;
  overflow: hidden;
}

.aihub-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.aihub-article-faq {
  margin: 8px 0 12px;
}

.aihub-article-faq h3 {
  color: #50489b;
}

.aihub-article-faq-wrap {
  overflow: hidden;
  clear: both;
  margin: 8px 0 12px;
}

.aihub-article-faq-wrap .empowertabheader {
  float: left;
  margin: 8px 0 16px;
}

.aihub-article-faq-wrap .accordion,
.aihub-article-faq-wrap .newfaqans {
  text-align: left;
}

.aihub-article-faq-wrap .accordion {
  border-bottom: 0;
}

.aihub-body h2.aihub-refs {
  margin-top: 56px;
  margin-bottom: 24px;
}

.aihub-body h2.aihub-refs + ul {
  margin-bottom: 28px;
}

.aihub-cta {
  margin: 36px 0 48px;
  text-align: center;
  clear: both;
}

body.is-ai-article-open .cta-wrap {
  display: none !important;
}

.aihub-mini .aihub-tags {
  margin-top: 8px;
}

.aihub-mini .aihub-tag {
  font-size: 11px;
  padding: 3px 8px;
}

.aihub-related-title {
  margin: 40px 0 18px;
  font-size: 24px;
  font-weight: 700;
  color: #50489b;
  text-align: left;
}

.aihub-faq {
  text-align: center;
}

.aihub-faq .accordion,
.aihub-faq .newfaqans {
  text-align: left;
}

.aihub-faq .accordion {
  border-bottom: 0px solid #b6bbcf;
}

@media (max-width: 900px) {
  .aihub-hero {
    grid-template-columns: 1fr;
  }
  .aihub-hero__body {
    padding: 20px 20px 24px;
  }
  .aihub-win-slide,
  .aihub-article-slide {
    width: 78%;
  }
  .aihub-title {
    font-size: 24px;
  }
  .aihub-section--tint,
  .aihub-exec {
    width: 84%;
    margin-left: auto;
    margin-right: auto;
    padding: 22px 16px;
  }
  .aihub-sol-swiper .swiper-wrapper,
  .aihub-news-swiper .swiper-wrapper,
  .aihub-article-swiper .swiper-wrapper {
    padding: 8px 0 12px !important;
  }
  .aihub-article h1 {
    font-size: 24px;
  }
  .aihub-cover,
  .aihub-figure {
    width: 100%;
    max-width: 100%;
  }
  .aihub-share {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .aihub-related-grid,
  .aihub-more-articles {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1100px) {
  .aihub-picks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .aihub-picks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .aihub-picks-grid {
    grid-template-columns: 1fr;
  }
  .aihub-picks .pick {
    max-width: 360px;
    min-height: 240px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .aihub-carousel {
    padding: 0 0 8px;
  }
}
