/* ============================================================
   index.css — 首页专属样式
   ============================================================ */

/* ============================================================
   Hero Section — 左文右图 · 纯净背景 · 现代简洁
   ============================================================ */
.hero-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(197,160,89,.12) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 80% 65%, rgba(197,160,89,.08) 0%, transparent 55%),
    radial-gradient(ellipse 30% 35% at 85% 10%, rgba(197,160,89,.06) 0%, transparent 50%),
    linear-gradient(160deg, #ffffff 0%, #f7f1e4 35%, #efe0ca 65%, #f4ebe0 100%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -5rem;
  padding-top: 5rem;
}

/* 背景装饰 — 大圆 */
.hero-section::before {
  content: '';
  position: absolute;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,.08) 0%, transparent 65%);
  top: -14rem;
  right: -12rem;
  pointer-events: none;
}

/* 背景装饰 — 小圆 */
.hero-section::after {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,.05) 0%, transparent 60%);
  bottom: -4rem;
  left: -6rem;
  pointer-events: none;
}

/* ---------- 内容层 ---------- */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 82rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

/* 内容层装饰 — 左上软光晕 */
.hero-inner::before {
  content: '';
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,.06) 0%, transparent 65%);
  top: -6rem;
  left: -8rem;
  z-index: -1;
  pointer-events: none;
}

/* 内容层装饰 — 右下软光晕 */
.hero-inner::after {
  content: '';
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,.04) 0%, transparent 60%);
  bottom: -2rem;
  right: -4rem;
  z-index: -1;
  pointer-events: none;
}

/* ============================
   左侧 — 文字内容
   ============================ */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: hero-fade-up 0.7s ease-out both;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--primary);
  padding: 0.35rem 1rem;
  background: var(--secondary-container);
  color: var(--on-secondary-container);

  border-radius: 2rem;
  border: 1px solid rgba(197, 160, 89, 0.15);
}

.hero-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  color: var(--on-surface);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}
.hero-title-highlight {
  color: var(--primary);
  position: relative;
}
.hero-title-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.35em;
  background: rgba(197, 160, 89, 0.18);
  border-radius: 2px;
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.2vw, 2.2rem);
  font-weight: 400;
  color: var(--on-surface-variant);
  letter-spacing: 0.04em;
  margin: 0;
  margin-top: -0.5rem;
}

.hero-desc {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.6;
  margin: 0;
  max-width: 30rem;
  letter-spacing: 0.06em;
  padding-top: 0.875rem;
  border-top: 2px solid rgba(197,160,89,.25);
}

/* ---------- 数据统计行 ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
}
.hero-stat-num {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.875rem;
  color: var(--on-surface);
  line-height: 1.2;
}
.hero-stat-unit {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
}
.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--on-surface-variant);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(197, 160, 89, 0.2);
  flex-shrink: 0;
}

/* ---------- 标签 ---------- */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  background: rgba(28, 28, 23, 0.04);
  color: var(--on-surface-variant);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.hero-tag--accent {
  background: rgba(197, 160, 89, 0.1);
  color: var(--primary);
}

/* ---------- 按钮 ---------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 1rem 2.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25);
}
.btn-hero-primary:hover {
  background: #b28f4e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}
.btn-hero-primary:active { transform: scale(0.98); }

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--outline-variant);
  color: var(--on-surface);
  background: transparent;
  padding: 1rem 2.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
}
.btn-hero-outline .material-symbols-outlined {
  font-size: 1.125rem;
}
.btn-hero-outline:hover {
  border-color: var(--primary);
  background: rgba(197,160,89,.05);
}

/* ============================
   右侧 — 图片视觉区
   ============================ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-fade-up 0.7s ease-out 0.2s both;
}

.hero-img-frame {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0,0,0,.03),
    0 20px 50px rgba(0,0,0,.08);
  position: relative;
}
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.6);
  pointer-events: none;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s;
}
.hero-img-frame:hover img {
  transform: scale(1.03);
}

/* 浮动认证卡 */
.hero-float-card {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: #fff;
  border-radius: 0.875rem;
  padding: 0.75rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.04);
  animation: hero-float 3s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-float-card .material-symbols-outlined {
  font-size: 1.75rem;
  color: var(--primary);
}
.hero-float-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
}
.hero-float-card small {
  font-size: 0.6875rem;
  color: var(--on-surface-variant);
}

/* ---------- 移动端 ---------- */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 1.25rem 3rem;
  }
  .hero-content {
    gap: 1rem;
    text-align: center;
    align-items: center;
  }
  .hero-badge {
    align-self: center;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    padding-top: 0.75rem;
    max-width: 100%;
  }
  .hero-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    padding: 0.5rem 0;
  }
  .hero-stat {
    align-items: center;
  }
  .hero-stat-num {
    font-size: 1.25rem;
  }
  .hero-stat-unit {
    font-size: 0.6875rem;
  }
  .hero-stat-label {
    font-size: 0.625rem;
    white-space: nowrap;
  }
  .hero-stat-divider {
    width: 1px;
    height: 1.5rem;
    display: block;
    align-self: center;
    opacity: 0.3;
  }
  .hero-visual {
    order: -1;
  }
  .hero-img-frame {
    max-width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
  }
  .hero-float-card {
    bottom: 1rem;
    left: 0;
  }
  .hero-tags {
    justify-content: center;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .btn-hero-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    justify-content: center;
  }
  .btn-hero-outline {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    justify-content: center;
  }
}


/* ============================================================
   Core Features Section
   ============================================================ */
.features-section {
  padding: 6rem 2rem;
  background: var(--surface-container-low);
}
.features-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 768px)  { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--surface-container-lowest);
  padding: 1rem;
  border-radius: var(--radius-3xl);
  box-shadow: 0 32px 64px -12px rgba(28,28,23,0.06);
  text-align: center;
}
.feature-card .material-symbols-outlined {
  color: var(--primary);
  padding-top: 1rem;
  font-size: 5rem;
  margin-bottom: 1.5rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.feature-card p {
  color: var(--on-surface-variant);
   padding-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================================
   Medical & Nursing Services Section
   ============================================================ */
.services-section {
  padding: 8rem 2rem;
  background: var(--surface);
}
.services-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .services-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
  }
}
.services-header-text { max-width: 40rem; }
.services-header-text h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.875rem, 5vw, 3rem);
  color: var(--on-surface);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.accent-bar {
  height: 0.375rem;
  width: 6rem;
  background: var(--primary);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.services-header-text p {
  color: var(--on-surface-variant);
  font-size: 1.125rem;
  line-height: 1.7;
}
.expert-badge {
  display: none;
  align-items: center;
  gap: 1rem;
  background: var(--surface-container-low);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(209,197,180,0.1);
  white-space: nowrap;
}
@media (min-width: 1024px) { .expert-badge { display: flex; } }
.avatar-stack { display: flex; }
.avatar-dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 2px solid #ffffff;
  margin-left: -0.75rem;
}
.avatar-dot:first-child { margin-left: 0; }
.avatar-dot:nth-child(1) { background: var(--primary-container); }
.avatar-dot:nth-child(2) { background: var(--secondary-container); }
.avatar-dot:nth-child(3) { background: var(--tertiary-container); }
.expert-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.premium-card {
  background: var(--surface-container-low);
  border-radius: var(--radius-4xl);
  overflow: hidden;
  border: 1px solid rgba(209,197,180,0.05);
  box-shadow: 0 32px 64px -12px rgba(28,28,23,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.premium-card:hover { transform: translateY(-8px); }

.card-img-wrap {
  height: 16rem;
  position: relative;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.premium-card:hover .card-img-wrap img { transform: scale(1.1); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}
.card-img-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-img-tag .material-symbols-outlined { color: var(--primary); font-size: 1.5rem; }
.card-img-tag span:last-child {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--on-surface);
}
.card-body {
  padding: 2rem;
  flex: 1;
}
.card-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--on-surface);
}
.card-body > p {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.card-list { display: flex; flex-direction: column; gap: 1rem; }
.card-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-dot {
  margin-top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(197,160,89,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-dot .material-symbols-outlined {
  font-size: 0.75rem;
  color: var(--primary);
}
.card-list-item span:last-child {
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--on-surface-variant);
}

/* ============================================================
   Five Hearts Values Section
   ============================================================ */
.values-section {
padding: 2rem 1.5rem;	
  background: linear-gradient(180deg, #fdfaf5 0%, #f8f3e8 100%);
}

.values-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.values-section .section-header h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.875rem, 5vw, 3rem);
  color: var(--on-surface);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.values-section .section-header p {
  color: var(--on-surface-variant);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.value-card {
  background: #fff;
  border-radius: var(--radius-3xl);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(165, 137, 72, 0.06);
  border: 1px solid rgba(165, 137, 72, 0.08);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(165, 137, 72, 0.12);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform 0.3s;
}

.value-card:hover .value-icon-wrap {
  transform: scale(1.1);
}

.value-icon-wrap .material-symbols-outlined {
  font-size: 2rem;
}

.value-card h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}

/* ============================================================
   Environment Gallery Section
   ============================================================ */
.gallery-section {
  padding: 8rem 2rem;
  background: var(--surface-container-low);
  overflow: hidden;
}
.gallery-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}
.gallery-header h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.875rem, 5vw, 3rem);
  color: var(--on-surface);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.gallery-header p {
  color: var(--on-surface-variant);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.filter-tab {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.filter-tab.active {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 15px -3px rgba(197,160,89,0.2);
}
.filter-tab:not(.active) {
  background: var(--surface-container-lowest);
  color: var(--on-surface-variant);
  border-color: rgba(209,197,180,0.1);
}
.filter-tab:not(.active):hover {
  color: var(--primary);
  background: #fff;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  auto-rows: 280px;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 280px;
  }
  .g-col-8 { grid-column: span 8; }
  .g-col-4 { grid-column: span 4; }
  .g-col-3 { grid-column: span 3; }
  .g-col-6 { grid-column: span 6; }
  .g-row-2 { grid-row: span 2; }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  min-height: 280px;
}
.gallery-item.large { border-radius: var(--radius-4xl); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .g-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.gallery-overlay h4 {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-headline);
}
.gallery-overlay .g-h4-lg { font-size: 1.875rem; }
.gallery-overlay .g-h4-xl { font-size: 1.25rem; }
.gallery-overlay .g-h4-2xl { font-size: 1.5rem; }
.gallery-overlay p {
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  max-width: 24rem;
  font-size: 0.9375rem;
}
.gallery-overlay-sm {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay-sm { opacity: 1; }
.gallery-overlay-sm .g-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.gallery-overlay-sm .g-meta .material-symbols-outlined {
  color: var(--primary);
  font-size: 0.875rem;
}
.gallery-overlay-sm .g-meta span { color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; }
.gallery-overlay-sm h4 { color: #fff; font-size: 1.25rem; font-weight: 700; }
.gallery-overlay-sm .g-label { color: rgba(255,255,255,0.6); font-size: 0.625rem; }

/* ============================================================
   News Center Section — 双栏 TAB 切换
   ============================================================ */
.news-section {
  padding: 6rem 2rem;
  background: var(--surface);
}

.news-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.news-section .section-header h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.875rem, 5vw, 3rem);
  color: var(--on-surface);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.news-section .section-header p {
  color: var(--on-surface-variant);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ---------- TAB 导航 ---------- */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 2px solid var(--surface-variant);
}

.news-tab {
  position: relative;
  padding: 0.875rem 2.5rem;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.news-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.news-tab.active {
  color: var(--primary);
}

.news-tab.active::after {
  transform: scaleX(1);
}

.news-tab:hover {
  color: var(--primary);
}

/* ---------- TAB 面板 ---------- */
.news-tab-panel {
  display: none;
  max-width: 80rem;
  margin: 0 auto;
}

.news-tab-panel.active {
  display: block;
}

/* ---------- 分栏布局 ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .news-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .news-layout {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

/* ---------- 头条文章 ---------- */
.news-featured {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(28, 28, 23, 0.04);
  border: 1px solid rgba(209, 197, 180, 0.08);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}

.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(165, 137, 72, 0.1);
}

.news-featured-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.news-featured:hover .news-featured-img img {
  transform: scale(1.08);
}

.news-featured-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.875rem;
  background: #c0392b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.news-featured-body {
  padding: 1.75rem 2rem;
}

.news-featured-date {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  margin-bottom: 0.75rem;
  display: block;
}

.news-featured-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.5;
  margin-bottom: 0.875rem;
}

.news-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-featured-title a:hover {
  color: var(--primary);
}

.news-featured-excerpt {
  font-size: 0.9375rem;
  color: var(--on-surface-variant);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.3s;
}

.news-featured-more:hover {
  gap: 0.625rem;
}

.news-featured-more .material-symbols-outlined {
  font-size: 1rem;
  transition: transform 0.3s;
}

.news-featured-more:hover .material-symbols-outlined {
  transform: translateX(3px);
}

/* ---------- 文章列表 ---------- */
.news-list {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-3xl);
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 24px rgba(28, 28, 23, 0.04);
  border: 1px solid rgba(209, 197, 180, 0.08);
  display: flex;
  flex-direction: column;
}

.news-list-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-list ul li {
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(209, 197, 180, 0.2);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  transition: padding-left 0.25s;
}

.news-list ul li:hover {
  padding-left: 0.5rem;
}

.news-list ul li:last-child {
  border-bottom: none;
}

.news-list ul li time {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.news-list ul li a {
  font-size: 0.9375rem;
  color: var(--on-surface);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list ul li a:hover {
  color: var(--primary);
}

/* ---------- 底部更多按钮 ---------- */
.news-more {
  text-align: center;
  margin-top: 3rem;
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(197, 160, 89, 0.3);
}
