/* ===== HERO ===== */
.hero {
  background: url('../images/en26_banner.png') center/cover no-repeat;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-title {
  font-size: 58px;
  font-weight: 900;
  color: #fff;
  font-style: italic;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.95);
  max-width: 520px;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
/* .hero-watermark removed — banner image replaces SVG watermark */

/* ===== CARDS FLOATING SECTION ===== */
.cards-section {
  max-width: 1200px;
  margin: -50px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

/* NEWS CAROUSEL */
.news-card { padding: 24px; }
.news-card .section-header { margin-bottom: 16px; }
.carousel-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.carousel-slides { position: relative; height: 300px; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  padding: 32px 16px 12px;
  font-size: 14px;
  font-weight: 600;
}
.carousel-dots {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px 0 0;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--brand-blue); }

/* MAGAZINE CARD */
.magazine-card { padding: 24px; }
.magazine-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
  margin-top: 16px;
}
.magazine-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== NEWS LISTS ===== */
.news-lists-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.news-list-col {}
.news-list-col .section-header { margin-bottom: 12px; }
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 8px;
  border-bottom: 1px solid #eef2fa;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 4px;
}
.news-item:hover { background: var(--bg-light); }
.news-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
  min-width: 48px;
  padding-top: 2px;
}
.news-headline {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== TOPIC BANNERS ===== */
.topic-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.topic-banner {
  border-radius: 14px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 32px 28px;
}
.topic-banner-blue {
  background: url(../images/en26_CF01.png);
}
.topic-banner-green {
  background: url(../images/en26_CF02.png);
}
.topic-banner-content { position: relative; z-index: 2; }
.topic-banner-title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  max-width: 280px;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.topic-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--brand-blue);
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.topic-btn:hover { opacity: 0.88; }
.topic-btn-green {
  background: #fff;
  color: #2A7A48;
}
.topic-watermark {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  opacity: 0.15;
  pointer-events: none;
}

/* ===== STATS ===== */
.stats-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.stats-container {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ===== LABS ===== */
.labs-section {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lab-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 240px;
}
.lab-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.lab-card:hover img { transform: scale(1.04); }
.lab-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.72) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
}
.lab-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  max-width: calc(100% - 50px);
}
.lab-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.lab-arrow-btn:hover { background: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards-section { grid-template-columns: 1fr; }
  .news-lists-section { grid-template-columns: 1fr; }
  .topic-section { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(3, 1fr); }
  .labs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 38px; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .labs-grid { grid-template-columns: 1fr; }
}