/* Knowledge Center custom layout */
.KCPage {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}
.KCHero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #ffffff;
  text-align: center;
  /* 原本 background url 請拿掉，交給 .KCHeroBg */
  background: #000;
  overflow: hidden;
}
/* 背景圖層 */
.KCHeroBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: translateY(0) scale(1.12);
}
/* 暗幕（讓字更清楚） */
.KCHero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* 你可以改成 linear-gradient 或加深 rgba */
  background: radial-gradient(70% 70% at 50% 50%, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 60%);
}
.KCHeroContent {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  will-change: transform, opacity; /* 若你要讓文字也有微視差/淡入 */
}
.KCHeroTitle {
  margin-bottom: 12px;
  color: #ffffff;
}
.KCHeroText {
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}
.KCSection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7% 5%;
}
.KCSectionSoft {
  background: #F7F7F8;
}
.KCContainer {
  width: 100%;
  max-width: 1224px;
  margin: 0 auto;
}
.KCTitle {
  margin-bottom: 3%;
  text-align: center;
  color: #151515;
}
.KCIntroIconGrid {
  display: grid;
  max-width: 1024px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
}
.KCIntroIconItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12%;
  padding: 10% 0;
  color: #151515;
  text-align: center;
  text-decoration: none;
  transition: transform .5s ease;
}
.KCIntroIconCircle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  height: auto;
  border: 1px solid #D9DCDD;
  border-radius: 999px;
  background: #ffffff;
  transition: transform .5s ease;
}
.KCIntroIconCircle:hover {
  transform: scale(1.2) rotate(0deg);
  /*transform: translateY(-3px);
    border-color: #0076DE;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);*/
}
/*.KCIntroIconItem:hover .KCIntroIconCircle {
    transform: translateY(-3px);
    border-color: #0076DE;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
	
}*/
.KCIntroIconImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.KCFeaturedGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2%;
  margin: 0 auto;
}
.KCFeaturedTitle {
  margin-bottom: 22px;
  text-align: center;
}
.KCFeaturedColumn {
  display: flex;
  flex-direction: column;
}
.KCCard {
  flex: 1;
  overflow: hidden;
  border: 1px solid #D9DCDD;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .02);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.KCCard:hover, .KCCard:has(.KCCardLink:focus-visible) {
  border-color: #0076DE;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .04);
}
.KCCardLink {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.KCImagePlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  color: #7b8794;
  background: linear-gradient(135deg, #d9dde3, #f5f6f8);
	overflow: hidden;
}
.KCFeaturedImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.KCCardLink:hover .KCFeaturedImage, .KCCardLink:focus-visible .KCFeaturedImage {
  transform: scale(1.05);
}
.KCCardBody {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.KCCardBody .KCBadgeRow {
  margin-top: auto;
}
.KCCardTitle {
  margin-bottom: 10%;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-height: calc((1.3em * 3));
  line-height: 1.3em;
  color: #151515;
}
.KCBadgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.KCBadge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2% 3%;
  border-radius: 999px;
  border: 1px solid #D9DCDD;
  color: #151515;
  font-size: 12px;
  line-height: 1.2;
  font-family: var(--op-font-family-base);
  font-weight: 700;
}
.KCTopicTabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.KCTopicTab {
  display: inline-flex;
  align-items: center;
  padding: 1% 3%;
  border: 1px solid #D9DCDD;
  border-radius: 999px;
  color: #151515;
  background: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}
.KCTopicTab:hover {
  border-color: #0076DE;
}
.KCTopicTab.Active {
  border-color: #0076DE;
  color: #0076DE;
}
.KCTopicTab:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.KCTopicTab:disabled:hover {
  border-color: #D9DCDD;
}
.KCTopicLine {
  border-top: solid 1px #d9dcdd;
  margin: 0 0 20px 0;
}
.KCResultMeta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.KCBackLink {
  color: #0076DE;
  text-decoration: none;
}
.KCArticleGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.KCArticleCard:not(.KCArticleCardVisible) {
  display: none;
}
.KCArticleCard {
  border: 1px solid #D9DCDD;
  border-radius: 30px;
  background: #ffffff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.KCArticleCard:hover, .KCArticleCard:has(.KCArticleCardLink:focus-visible) {
  border-color: #0076DE;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .04);
}
.KCArticleCardLink {
  display: block;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.KCArticleTitle {
	margin-bottom: 5%;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-height: calc((1.3em * 3));
  line-height: 1.3em;
  color: #151515;
}
.KCArticleDate {
  margin-bottom: 14px;
  color: #5d6670;
}
.KCContactSection {
  padding-top: 70px;
  padding-bottom: 70px;
  text-align: center;
}
.KCContactText {
  margin: 0 auto 3% auto;
  max-width: 1024px;
	text-align: center;
  color: #151515;
  font-weight: 700;
}
.KCSubmitButton {
  color: #ffffff;
  background-color: #0076de;
  box-sizing: border-box;
  border: solid 1px #0076de;
  border-radius: 50px;
	text-decoration:none;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.KCSubmitButton:hover {
  color: #ffffff;
  background-color: #005eb2;
  border: solid 1px #005eb2;
}
@media (min-width: 768px) {
  .KCHero {
    min-height: 410px;
    padding: 96px 40px;
  }
  .KCIntroIconGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .KCFeaturedGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .KCArticleGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1300px) {
  .KCHero {
    min-height: 700px;
  }
  .KCImagePlaceholder {
    height: 300px;
  }
}
@media (max-width: 767px) {
  .KCHero {
    min-height: 240px;
  }
  .KCHero::before {
    background: rgba(0, 0, 0, 0.2);
  }
  .KCHeroTitle {
    font-size: 34px;
  }
  .KCFeaturedColumn {
    padding: 5%;
  }
  .KCTopicLine {
    margin: 0 5% 20px 5%;
  }
  .KCResultMeta {
    padding: 0 5%;
  }
  .KCArticleGrid {
    padding: 0 5%;
  }
}
