/* =========================================================
   KXYQY V6.1 - Home
   ========================================================= */
.kxy-hero-slider {
  position: relative;
  overflow: hidden;
  background: #e9f1f8;
}

.kxy-hero-track {
  position: relative;
  aspect-ratio: 1920 / 520;
}

.kxy-hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.kxy-hero-slide.is-active {
  visibility: visible;
  opacity: 1;
}

.kxy-hero-slide picture,
.kxy-hero-slide img {
  width: 100%;
  height: 100%;
}

.kxy-hero-slide img {
  object-fit: cover;
}

.kxy-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 58px;
  transform: translateY(-50%);
  border: 0;
  color: #ffffff;
  background: rgba(0, 38, 79, 0.24);
  font-size: 31px;
}

.kxy-hero-arrow--prev {
  left: 20px;
}

.kxy-hero-arrow--next {
  right: 20px;
}

.kxy-hero-dots {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.kxy-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.kxy-hero-dot.is-active {
  width: 22px;
  border-radius: 9px;
  background: #ffffff;
}

/* The block immediately below the banner is intentionally limited to 1180px. */
.kxy-home-portal {
  padding: 30px 0 24px;
}

.kxy-home-portal__box {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 34px;
  padding: 0;
}

.kxy-feature-news {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  background: #e8edf2;
}

.kxy-feature-news img {
  width: 100%;
  height: 236px;
  object-fit: cover;
}

.kxy-feature-news__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 18px 15px;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(0, 22, 48, 0.9));
}

.kxy-feature-news__caption h3 {
  overflow: hidden;
  margin-top: 3px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kxy-feature-news__caption time {
  font-size: 12px;
  opacity: 0.8;
}

.kxy-news-panel {
  min-width: 0;
}

.kxy-news-lines li {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px dotted #cfd8e2;
}

.kxy-news-lines a {
  overflow: hidden;
  position: relative;
  padding-left: 14px;
  color: #293746;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kxy-news-lines a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1px;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
  background: var(--kxy-blue-800);
}

.kxy-news-lines time {
  color: #83909d;
  font-size: 13px;
  text-align: right;
}

.kxy-business-compact {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.kxy-business-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: var(--kxy-radius);
  background: #ffffff;
  transition: 0.2s ease;
}

.kxy-business-card:hover {
  transform: translateY(-3px);
  border-color: #b9cce0;
  box-shadow: var(--kxy-shadow);
}

.kxy-business-card > img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.kxy-business-card__body {
  min-height: 162px;
  display: flex;
  flex-direction: column;
  padding: 15px 15px 13px;
}

.kxy-business-card h3 {
  min-height: 48px;
  color: var(--kxy-blue-900);
  font-size: 16px;
  line-height: 1.5;
}

.kxy-business-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  color: #5d6976;
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kxy-business-card__more {
  margin-top: auto;
  padding-top: 12px;
  color: var(--kxy-blue-800);
  font-size: 13px;
  text-align: right;
}

.kxy-home-bottom {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 18px;
}

.kxy-platform-card,
.kxy-cooperation-card {
  min-height: 185px;
  overflow: hidden;
  border: 1px solid #dce5ee;
  border-radius: var(--kxy-radius);
  background: #ffffff;
}

.kxy-platform-card {
  display: grid;
  grid-template-columns: 1fr 210px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(120deg, #074184, #0a5aa7);
}

.kxy-platform-card h3,
.kxy-cooperation-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.kxy-platform-card p,
.kxy-cooperation-card p {
  font-size: 14px;
  line-height: 1.85;
}

.kxy-platform-card img {
  align-self: end;
  width: 210px;
  max-height: 145px;
  object-fit: contain;
}

.kxy-cooperation-card {
  display: grid;
  grid-template-columns: 1fr 250px;
  padding: 24px 0 24px 28px;
  background: linear-gradient(90deg, #f7fbff 0%, #ffffff 65%);
}

.kxy-cooperation-card__stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
}

.kxy-cooperation-card__stats strong {
  display: block;
  color: var(--kxy-blue-800);
  font-size: 24px;
}

.kxy-cooperation-card__stats span {
  color: #6e7b88;
  font-size: 12px;
}

.kxy-cooperation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
