:root {
  --deep-blue: #8A0E4B;      /* 标题主色：深玫 */
  --bright-blue: #C2185B;    /* 链接/文字强调：深玫（对比度更好） */
  --light-blue: #FFF1F6;     /* 浅玫瑰底 */
  --gray-blue: #7C6B73;      /* 次要文字：暖玫灰 */
  --dark-text: #5A4A52;      /* 正文：暖玫灰 */
  --white: #FFFFFF;
  --border: #F0E3EA;
  --orange: #E60039;         /* 辅助强调色：品牌玫红 */
  --accent: #E60039;         /* 图标/主强调：品牌玫红 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航栏 ===== */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 0 5px rgba(22,22,22,0.14);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; position: relative; }
.nav-toggle { display: none; border: 0; background: none; color: #E60039; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { display: block; height: 88px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 24px; align-items: center; }
.nav-menu a, .nav-menu .nav-no-link { font-size: 16px; color: #E60039; font-weight: 600; position: relative; padding: 6px 0; }
.nav-menu a.active { color: #E60039; }
.nav-menu .nav-no-link { cursor: default; user-select: none; }
.nav-menu li { position: relative; }
.nav-menu li.active > a::after,
.nav-menu li.active > .nav-no-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 3px; border-radius: 2px; background: #E60039;
}
.nav-menu .caret { font-size: 10px; opacity: .8; }
.nav-menu .dropdown {
  position: absolute; top: 100%; left: -12px; min-width: 168px;
  background: var(--white); border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(26,41,88,0.18); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  padding: 6px 0; z-index: 200;
}
.nav-menu li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .dropdown a {
  display: block; padding: 11px 20px; font-size: 14px; color: #E60039;
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-menu .dropdown a:hover { background: #E60039; color: #ffffff; }
.nav-lang { font-size: 14px; color: var(--gray-blue); display: flex; gap: 6px; }
.nav-lang .sep { color: var(--gray-blue); }
.nav-lang a { color: var(--gray-blue); }
.nav-lang a.active { color: #E60039; font-weight: 600; }

/* ===== 区块通用 ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--light-blue); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 32px; color: var(--deep-blue); font-weight: 700; }

/* ===== Banner 块 ===== */
.banner { position: relative; overflow: hidden; background: var(--white); padding: 0; }
.banner--split .banner-grid { display: flex; flex-direction: row; align-items: stretch; gap: 20px; padding: 60px 24px; }
.banner--split .banner-text { display: flex; flex-direction: column; justify-content: center; gap: 20px; flex: 1.25; padding-top: 20px; }
.banner--split .banner-text h1 { font-size: 48px; font-weight: 700; color: var(--title-color, var(--deep-blue)); line-height: 1.3; margin-bottom: 0; }
.banner--split .banner-text .sub { font-size: 24px; font-weight: 500; color: var(--sub-color, var(--gray-blue)); }
.banner--split .banner-media { position: relative; flex: 1; height: clamp(340px, 30vw, 440px); min-height: 0; align-self: center; }
.banner--split .banner-pattern {
  position: absolute; top: -45px; right: 10px; width: 95%; height: 95%;
  object-fit: contain; object-position: top right; display: block; z-index: 0;
}
.banner--split .banner-photo {
  position: absolute; top: 0; left: 0; width: 88%; height: 100%;
  object-fit: fill; display: block; z-index: 1; border-radius: 0;
}
.banner--centered { min-height: 420px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.banner--centered .cover { position: relative; z-index: 1; text-align: center; color: #fff; padding: 0 24px; }
.banner--centered .cover h1 { font-size: 52px; font-weight: 700; color: var(--title-color, #fff); letter-spacing: 4px; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.banner--centered .cover .sub { font-size: 40px; font-weight: 500; color: var(--sub-color, #fff); margin-top: 12px; letter-spacing: 2px; }

/* ===== 卡片网格块（可选列数） ===== */
.prog-grid { display: grid; gap: 28px; }
.prog-card {
  background: var(--white); border-radius: 12px; padding: 32px 24px;
  text-align: center; border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(26,41,88,0.14); }
.prog-card .icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--light-blue); color: var(--deep-blue);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.prog-card h3 { font-size: 19px; color: var(--deep-blue); line-height: 1.3; }
.prog-card .sub { font-size: 13px; color: var(--gray-blue); margin: 10px auto 18px; }
.prog-card .more {
  display: inline-block; color: var(--bright-blue); font-weight: 600; font-size: 14px;
  border-bottom: 2px solid transparent; transition: border-color .2s;
}
.prog-card .more:hover { border-color: var(--bright-blue); }

/* ===== 故事列表块（从集合自动取前 N 条，左右分栏） ===== */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.story-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.story-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(26,41,88,0.14); }
.story-card .thumb { height: 300px; background-size: cover; background-repeat: no-repeat; background-position: center; position: relative; }
.story-card .tag {
  position: absolute; top: 14px; left: 14px; background: var(--orange);
  color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 20px;
}
.story-card .body { padding: 24px; }
.story-card h3 { font-size: 19px; color: var(--deep-blue); }
.story-card p { font-size: 14px; color: var(--gray-blue); margin: 12px 0 16px; }
.story-card .read { color: var(--bright-blue); font-weight: 600; font-size: 14px; }
.story-card .read::after { content: " →"; }

/* ===== 项目一览矩阵块（3×3 卡片） ===== */
.proj-grid { display: grid; gap: 28px; }
.proj-card {
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(26,41,88,0.08);
  transition: transform .25s, box-shadow .25s;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(26,41,88,0.16); }
.proj-card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.proj-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-body { padding: 20px 24px 24px; }
.proj-body h3 { font-size: 20px; color: var(--deep-blue); font-weight: 600; }
.proj-body p { font-size: 14px; color: var(--gray-blue); margin-top: 8px; }
.title-on-image h2 { color: #ffffff; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }

/* ===== 优势图标网格块（图标+标题+描述） ===== */
.adv-grid { display: grid; gap: 28px; }
.adv-card {
  text-align: center; padding: 32px 20px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  transition: transform .25s, box-shadow .25s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(26,41,88,0.14); }
.adv-card .icon {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 20px;
  background: transparent; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.adv-card .icon img { width: var(--icon-size, 60px); height: var(--icon-size, 60px); display: block; }
.adv-card .icon-glyph {
  width: var(--icon-size, 60px); height: var(--icon-size, 60px); display: block;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.adv-card h3 { font-size: 19px; color: var(--title-color, var(--deep-blue)); font-weight: 600; }
.adv-card p { font-size: 14px; color: var(--sub-color, var(--gray-blue)); margin-top: 10px; line-height: 1.8; }
.adv-card.is-compact { padding: 18px 10px; }
.adv-card.is-compact .icon { width: 56px; height: 56px; margin-bottom: 10px; border-width: 1px; }
.adv-card.is-compact .icon img, .adv-card.is-compact .icon-glyph { width: var(--icon-size, 30px); height: var(--icon-size, 30px); }
.adv-card.is-compact h3 { font-size: 15px; }
.adv-card.is-compact p { font-size: 12px; margin-top: 5px; line-height: 1.55; }
.adv-card.is-icon-plain .icon { border: 0; background: transparent; }

/* ===== 中惠印记：Swiper 3D 封面流（参照 chinaaupairs.com） ===== */
.memory-slider { position: relative; overflow: hidden; }
.memory-slider .container { position: relative; z-index: 1; }
.memory-slider .swiper { padding: 24px 0 44px; position: relative; }
.memory-slider .slide-inner { position: relative; transition: transform .45s ease; }
.memory-slider .swiper-slide img {
  width: 100%; height: 380px; object-fit: cover; border-radius: 14px; display: block;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35); position: relative; z-index: 1;
}
.memory-slider .swiper-slide-prev .slide-inner::after,
.memory-slider .swiper-slide-next .slide-inner::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(15,25,50,0.42); border-radius: 14px; pointer-events: none;
}
.memory-slider .swiper-slide-active { z-index: 5; }
.memory-slider .swiper-slide-active .slide-inner { transform: scale(1.15); }
.memory-slider .swiper-slide-prev .slide-inner { transform: translateX(34px) scale(0.85); }
.memory-slider .swiper-slide-next .slide-inner { transform: translateX(-34px) scale(0.85); }
.memory-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: background .2s; border: none;
}
.memory-arrow:hover { background: #000000; }
.memory-arrow svg { width: 22px; height: 22px; display: block; }
.memory-arrow.prev { left: 16px; }
.memory-arrow.next { right: 16px; }

/* ===== 页脚 ===== */
footer { background: linear-gradient(124deg, rgba(110,11,62,.62) 0%, rgba(161,18,84,.62) 50%, rgba(194,24,91,.62) 100%), url('/assets/footbg.jpg') center/cover no-repeat; color: #ffd7e6; }
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 130px 24px 116px;
  display: grid; grid-template-columns: 1.2fr 1.8fr 1.25fr; gap: 40px;
}
.footer-brand img { display: block; margin-bottom: 14px; height: 110px; width: auto; }
.footer-brand .zh { font-size: 22px; font-weight: 700; color: #fff; }
.footer-brand .en { font-size: 12px; letter-spacing: 2px; color: #f0a9c6; margin-top: 4px; }
.footer-info p { font-size: 14px; margin-bottom: 12px; color: #ffd7e6; }
.footer-info .label { color: #f0a9c6; margin-right: 8px; }
.footer-qr { text-align: center; }
.footer-qr h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.qr-img { width: 88px; height: 88px; display: block; border-radius: 8px; }
.footer-copy { width: 100%; text-align: center; font-size: 12px; color: rgba(255, 215, 230, .72); padding: 18px 24px 22px; }
.qr-box { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.qr-item .qr {
  width: 92px; height: 92px; background: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--deep-blue);
  font-size: 11px; text-align: center; padding: 6px; margin-bottom: 8px;
}
.qr-item p { font-size: 13px; color: #ffd7e6; }
.foot-contact {
  display: block; margin-top: 18px; text-align: left;
  color: #ffd7e6; font-size: 14px; text-decoration: none;
}
.foot-contact:hover { color: #ffffff; }

/* ===== 旧版 P1 区块 ===== */
.image-block img { max-width: 100%; height: auto; display: block; }

/* P2 新增区块样式 */
.grid { display: grid; gap: 28px; }
.grid-gap-sm { gap: 16px; }
.grid-gap-md { gap: 28px; }
.grid-gap-lg { gap: 40px; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.grid-cell { min-width: 0; }
.grid-rows { display: flex; flex-direction: column; }
.grid-rows > .grid { width: 100%; }
.grid-cell.is-empty { min-height: 0; }
/* 网格单元内不再叠加容器的左右 24，避免与 grid gap 叠加导致间距过大 */
.grid-cell .container { padding-left: 0; padding-right: 0; }
.image-text { background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.image-text .it-img img { width:100%; height:100%; object-fit:cover; display:block; }
.image-text .it-body { padding: 18px 20px 22px; }
.image-text h3 { font-size: 18px; color: var(--title-color, var(--deep-blue)); }
/* 二维码：去掉白色卡片，只保留白色二维码框 + 背景上的标题 */
.image-text.is-qr { background: transparent; border: 0; border-radius: 0; overflow: visible; text-align: center; }
.image-text.is-qr .it-img {
  width: min(150px, 100%); height: auto; aspect-ratio: 1 / 1; margin: 0 auto 10px;
  padding: 10px; box-sizing: border-box; background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(138, 14, 75, 0.10);
}
.image-text.is-qr .it-img img { width: 100%; height: 100%; object-fit: contain; }
.image-text.is-qr .it-body { padding: 0; }
.image-text.is-qr h3 {
  font-size: 14px; text-align: center; color: var(--title-color, #fff);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* ===== 案例列表 / 详情 ===== */
.case-list-section { background: var(--light-blue); }
.case-list-title { text-align: center; margin: 0 0 34px; font-size: 30px; line-height: 1.35; font-weight: 700; color: var(--deep-blue); }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.case-card {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 8px; background-size: cover; background-position: center;
  background-color: var(--border);
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(138, 14, 75, 0.20); }
.case-card .title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(138, 14, 75, 0.55); backdrop-filter: blur(2px);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; line-height: 1.45;
}
.case-empty { padding: 64px 0; text-align: center; color: var(--gray-blue); }
.case-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.case-page-btn {
  min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--accent);
  border-radius: 6px; background: #fff; color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.case-page-btn:hover { background: var(--light-blue); }
.case-page-btn.is-active { background: var(--accent); color: #fff; }
.case-page-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.case-page-gap { color: var(--gray-blue); padding: 0 2px; }
.case-page-info { color: var(--gray-blue); font-size: 13px; margin-left: 8px; }
.case-detail-section { background: var(--light-blue); }
.case-article {
  max-width: 1200px; margin: 0 auto; padding: 40px 48px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(138, 14, 75, 0.06);
}
.case-detail-title { font-size: 30px; line-height: 1.4; color: var(--deep-blue); font-weight: 700; }
.case-detail-meta {
  color: var(--gray-blue); font-size: 14px; margin-top: 12px;
  padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.case-article .richtext { color: var(--dark-text); }
@media (max-width: 1000px) {
  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .case-list-title { font-size: 24px; margin-bottom: 24px; }
  .case-detail-title { font-size: 24px; }
  .case-article { padding: 26px 20px; border-radius: 10px; }
}
.image-text p { font-size: 14px; color: var(--sub-color, var(--gray-blue)); margin-top: 6px; }
.it-link { display:block; color: inherit; }
.gallery { display:grid; gap:16px; }
.gallery-cols-1 { grid-template-columns: 1fr; }
.gallery-cols-2 { grid-template-columns: repeat(2,1fr); }
.gallery-cols-3 { grid-template-columns: repeat(3,1fr); }
.gallery-cols-4 { grid-template-columns: repeat(4,1fr); }
.gallery-item img { width:100%; aspect-ratio:4 / 3; object-fit:cover; border-radius:10px; display:block; }
.richtext { font-size:16px; color: var(--dark-text); line-height:1.9; }
.richtext h2 { font-size:28px; color: var(--deep-blue); margin:24px 0 12px; }
.richtext h3 { font-size:22px; color: var(--deep-blue); margin:20px 0 10px; }
.richtext p { margin: 12px 0; }
.richtext ul, .richtext ol { margin: 12px 0 12px 24px; }
.richtext img { max-width:100%; border-radius:10px; }
.banner-cover { text-align:center; }
.button-block { text-align:center; }

/* section 内边距预设 */
.sec-pad-none { padding: 0; }
.sec-pad-sm { padding: 32px 0; }
.sec-pad-md { padding: 72px 0; }
.sec-pad-lg { padding: 96px 0; }

/* 标题组件 */
.section-heading { margin-bottom: 44px; }
.section-heading h2 { font-size: 32px; color: var(--title-color, var(--deep-blue)); font-weight: 700; }
.section-heading .subtitle { font-size: 18px; color: var(--sub-color, var(--gray-blue)); margin-top: 12px; }

/* 背景图 section：标题/副标题白字（自定义颜色优先） */
.on-image .section-heading h2,
.on-image .section-heading .subtitle { color: var(--sub-color, #fff); }

/* 图文卡片图片等高 */
.image-text .it-img { aspect-ratio: 4 / 3; overflow: hidden; }
.image-text .it-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-right {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 10px;
    padding: 12px 24px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.12); z-index: 200;
  }
  .nav.nav--open .nav-right { display: flex; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
  .nav-menu .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 4px 0 4px 14px; min-width: 0;
  }
  .nav-lang { border-top: 1px solid #eee; padding-top: 10px; width: 100%; }
  .story-grid, .footer-grid, .proj-grid, .adv-grid { grid-template-columns: 1fr; }
  .banner--split .banner-grid { flex-direction: column; padding: 40px 24px 60px; }
  .banner--split .banner-text { justify-content: flex-start; padding-top: 0; }
  .banner--split .banner-media { height: auto; min-height: 0; position: relative; }
  .banner--split .banner-photo { position: static; width: 100%; height: auto; margin-top: 24px; }
  .banner--split .banner-pattern { display: none; }
  .grid-cols-2, .grid-cols-3, .grid-cols-4, .grid-cols-5, .grid-cols-6, .gallery-cols-2, .gallery-cols-3, .gallery-cols-4 { grid-template-columns: 1fr; }
  /* 行内比例以 inline style 输出，移动端必须强制单列（仅按行布局） */
  .grid-rows > .grid { grid-template-columns: 1fr !important; }
  .grid-cell.is-empty { display: none; }
}
.image-text .it-subtitle { margin-top: 4px; color: #C07A39; font-size: 12px; font-weight: 600; }

/* Info list */
.info-list { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 26px; box-shadow: 0 6px 18px rgba(138,14,75,.05); }
.info-item { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; font-size: 15px; line-height: 1.7; border-bottom: 1px solid #f7eff3; }
.info-item:last-child { border-bottom: 0; }
.info-item.no-dot { padding-left: 0; }
.info-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 9px; }
.info-label { color: var(--deep-blue); }
.info-desc { color: var(--dark-text); }

/* Icon list */
.icon-list-block { display: grid; gap: 13px; }
.icon-list-row { display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 22px; box-shadow: 0 5px 14px rgba(138,14,75,.04); }
.icon-list-row.is-right { grid-template-columns: 1fr 62px; }
.icon-list-row.is-right .icon-list-node { order: 2; justify-self: end; }
.icon-list-row.is-right .icon-list-body { order: 1; }
.icon-list-node { width: 58px; height: 58px; border-radius: 50%; background: var(--light-blue); color: var(--accent); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.icon-list-node img, .icon-list-glyph { width: 26px; height: 26px; object-fit: contain; display: block; }
.icon-list-glyph { -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.icon-list-body h3 { color: var(--deep-blue); font-size: 17px; line-height: 1.4; }
.icon-list-body p { color: var(--gray-blue); font-size: 13.5px; line-height: 1.65; margin-top: 3px; }

/* Horizontal scroll */
.hscroll-viewport { overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: none; padding: 4px 4px 16px; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.hscroll-viewport::-webkit-scrollbar { display: none; }
.hscroll-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.hscroll-inner { position: relative; display: flex; align-items: stretch; gap: 20px; width: max-content; }
.hscroll-inner::before { content: ''; position: absolute; left: 0; right: 0; top: 195px; height: 2px; background: linear-gradient(90deg, var(--accent), #f3d6e2); display: none; }
.hscroll.timeline .hscroll-inner::before { display: block; }
.hscroll-item { flex: 0 0 260px; scroll-snap-align: start; display: flex; }
.hscroll-item > .container { width: 100%; max-width: none; padding: 0; margin: 0; display: flex; flex: 1; }
.hscroll-item .it-link { display: flex; flex: 1; }
.hscroll-item .image-text { height: auto; flex: 1; display: flex; flex-direction: column; }
.hscroll-item .it-body { flex: 1; }
.hscroll-item .it-img { height: 195px; aspect-ratio: auto; }
.hscroll-item .it-img img { width: 100%; height: 100%; object-fit: cover; }
.hscroll-item .it-body { padding: 15px 18px 18px; }
.hscroll-item .it-body h3 { font-size: 22px; }

@media (max-width: 860px) {
  .icon-list-row, .icon-list-row.is-right { grid-template-columns: 52px 1fr; gap: 14px; padding: 14px 16px; }
  .icon-list-row.is-right .icon-list-node { order: 0; justify-self: start; }
  .icon-list-row.is-right .icon-list-body { order: 0; }
  .icon-list-node { width: 48px; height: 48px; }
  .icon-list-node img, .icon-list-glyph { width: 23px; height: 23px; }
  .hscroll-item { flex-basis: 240px; }
  .hscroll-inner::before { top: 180px; }
  .hscroll-item .it-img { height: 180px; }
  .info-list { padding: 18px; }
  .entries-item { padding: 14px 16px; }
  .info-item { font-size: 14px; }
}

/* Vertical stack inside a grid cell */
.stack { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; }
.stack-gap-sm { gap: 8px; }
.stack-gap-md { gap: 16px; }
.stack-gap-lg { gap: 28px; }
.stack-item { min-width: 0; }
.stack-item > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
.image-block.has-ratio { overflow: hidden; }
.image-block.has-ratio img { display: block; }
.steps-title { margin: 0 0 20px; color: var(--deep-blue); font-size: 22px; font-weight: 700; line-height: 1.4; }
.steps { list-style: none; margin: 0; padding: 0; }
.step-item { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.step-item:last-child { border-bottom: none; }
.steps.no-connector .step-item { border-bottom: none; }
.step-n { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; line-height: 1; }
.step-body { flex: 1; min-width: 0; }
.step-title { color: var(--dark-text); font-size: 15px; line-height: 1.8; }
.step-desc { margin: 4px 0 0; color: var(--gray-blue); font-size: 14px; line-height: 1.7; }
.zigzag-title { margin: 0 0 20px; color: var(--deep-blue); font-size: 22px; font-weight: 700; line-height: 1.4; }
.zigzag { position: relative; display: block; }
.zigzag::before { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; transform: translateX(-1px); background: linear-gradient(#F0E3EA, #F3B9D2, #F0E3EA); }
.zigzag.no-line::before { display: none; }
.zigzag-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 34px 0; }
.zigzag-text { grid-column: 1; padding-right: 120px; text-align: left; color: var(--dark-text); font-size: 15px; line-height: 1.9; }
.zigzag-row.is-right .zigzag-text { grid-column: 2; padding-right: 0; padding-left: 120px; }
.zigzag-node { position: absolute; top: 50%; transform: translateY(-50%); width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.zigzag-row.is-left .zigzag-node { right: calc(50% + 12px); }
.zigzag-row.is-right .zigzag-node { left: calc(50% + 12px); }
.zigzag-glyph { width: 96px; height: 96px; background-color: var(--accent); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.zigzag-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; background: var(--accent); z-index: 2; }
.entries-title { margin: 0 0 20px; color: var(--deep-blue); font-size: 22px; font-weight: 700; line-height: 1.4; }
.entries-list { display: flex; flex-direction: column; gap: 12px; }
.entries-item { background: #FFF7FA; border-radius: 10px; padding: 16px 20px; }
.entries-label { color: var(--deep-blue); font-size: 15px; font-weight: 700; line-height: 1.6; }
.entries-text { margin-top: 6px; color: var(--dark-text); font-size: 15px; line-height: 1.85; white-space: pre-line; }
details.entries-item summary { cursor: pointer; list-style: none; position: relative; padding-right: 24px; }
details.entries-item summary::-webkit-details-marker { display: none; }
details.entries-item summary::after { content: '＋'; position: absolute; right: 0; top: 0; color: var(--accent); font-weight: 600; }
details.entries-item[open] summary::after { content: '－'; }
.info-list-title { margin: 0 0 11px; color: var(--deep-blue); font-size: 20px; line-height: 1.4; }
.info-list-title.is-center { text-align: center; }
.section-content > * { min-width: 0; }
.section-content > .container { width: 100%; }
.section-content > .container:first-child .section-heading { margin-bottom: 0; }
.grid-cell > .stack-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
.richtext-gallery { display: grid; gap: 12px; margin: 20px 0; }
.richtext-gallery-cols-1 { grid-template-columns: 1fr; }
.richtext-gallery-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.richtext-gallery-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.richtext-gallery-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.richtext-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 700px) { .richtext-gallery-cols-3, .richtext-gallery-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.richtext-image { margin: 20px 0; }
.richtext-image img { width: 100%; height: auto; border-radius: 8px; display: block; }
