/* ============================================================
   case-portal.html · 门户网站建设案例 独有样式
   设计：大平台风 —— 幽灵大编号 bento 网格 + 拱形技术图
   ============================================================ */

/* ---------- 栏目规划 bento ---------- */
.portal-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.portal-col{
  position:relative;background:var(--paper);border-radius:var(--r-lg);
  padding:34px 26px 26px;overflow:hidden;
  transition:transform var(--t-fast),box-shadow var(--t-fast);
}
.portal-col:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.portal-col-no{
  position:absolute;right:14px;top:6px;
  font-family:var(--font-head);font-size:64px;font-weight:800;line-height:1;
  color:transparent;-webkit-text-stroke:1.5px var(--line);
}
.portal-col h3{font-size:18px;margin-bottom:10px;position:relative;z-index:1}
.portal-col p{font-size:14px;color:var(--ink-2);line-height:1.85;position:relative;z-index:1}

/* ---------- 技术架构 ---------- */
.portal-tech{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.portal-tech-text .sec-head{margin-bottom:22px}
.portal-tech-list{display:grid;gap:12px;margin-top:16px}
.portal-tech-list li{
  position:relative;padding:12px 16px 12px 38px;font-size:14.5px;color:var(--ink-2);
  background:var(--white);border-radius:var(--r-md);border:1px solid var(--line);
}
.portal-tech-list li::before{
  content:"";position:absolute;left:15px;top:19px;width:12px;height:12px;
  background:var(--navy-800);border-radius:3px;transform:rotate(45deg);
}
.portal-tech-photo img{
  width:100%;height:360px;object-fit:cover;
  border-radius:18px 60px 18px 18px;box-shadow:var(--shadow-md);
}
.portal-tech-photo figcaption{margin-top:14px;font-size:13px;color:var(--muted);text-align:center}

/* ---------- 运营支撑 ---------- */
.portal-ops-item{
  background:var(--white);border:1.5px solid var(--line);
  border-radius:var(--r-lg);padding:30px 26px;
}
.portal-ops-item h3{
  font-size:18px;margin-bottom:10px;display:inline-flex;align-items:center;gap:10px;
}
.portal-ops-item h3::before{
  content:"";width:10px;height:10px;border-radius:50%;background:var(--gold-500);
}
.portal-ops-item p{font-size:14.5px;color:var(--ink-2);line-height:1.9}

/* ---------- 案例大图（藏青衬底） ---------- */
.portal-showcase{background:var(--navy-900);padding:70px 0}
.portal-show img{
  width:100%;height:440px;object-fit:cover;
  border-radius:var(--r-xl);box-shadow:var(--shadow-lg);
}
.portal-show figcaption{
  margin-top:16px;text-align:center;font-size:14px;color:#C6CDDE;
}

/* ---------- 建设节奏（横排 chip） ---------- */
.portal-sched{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.portal-sched-item{
  background:var(--white);border:1.5px solid var(--line);border-radius:var(--r-md);
  padding:24px 22px;position:relative;
}
.portal-sched-time{
  display:inline-block;font-size:12.5px;font-weight:700;color:var(--gold-500);
  background:var(--gold-200);padding:3px 12px;border-radius:var(--r-pill);margin-bottom:12px;
}
.portal-sched-item h3{font-size:17.5px;margin-bottom:6px}
.portal-sched-item p{font-size:14px;color:var(--ink-2);line-height:1.85}

/* ---------- 成效数据 ---------- */
.portal-result{background:var(--white)}
.portal-stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.portal-stat{
  text-align:center;padding:34px 18px;
  border-radius:var(--r-lg);background:var(--paper);
  transition:transform var(--t-fast);
}
.portal-stat:hover{transform:translateY(-5px)}
.portal-stat-num{
  display:block;font-family:var(--font-head);
  font-size:clamp(30px,3.4vw,44px);font-weight:800;color:var(--navy-800);
  margin-bottom:8px;
}
.portal-stat p{font-size:13.5px;color:var(--muted)}

/* ---------- FAQ ---------- */
.portal-faq-wrap{max-width:860px}
.portal-faq-wrap .faq-item{
  display:flex;gap:20px;background:var(--white);
  border:1.5px solid var(--line);border-radius:var(--r-md);
  margin-bottom:14px;padding:22px 26px;
}
.portal-faq-wrap .faq-q{
  flex:1;display:flex;align-items:center;justify-content:space-between;gap:16px;
  text-align:left;font-family:var(--font-head);font-size:16px;font-weight:700;color:var(--navy-900);
}
.portal-faq-wrap .faq-plus{
  flex:none;width:28px;height:28px;border-radius:50%;
  background:var(--navy-800);color:var(--gold-300);
  display:inline-flex;align-items:center;justify-content:center;
  transition:transform var(--t-med);
}
.portal-faq-wrap .faq-plus svg{width:13px;height:13px}
.portal-faq-wrap .faq-item.open .faq-plus{transform:rotate(45deg)}
.portal-faq-wrap .faq-a{max-height:0;overflow:hidden;flex-basis:100%;flex-grow:1;flex-basis:auto}
/* 因 FAQ 项为 flex 布局，答案区放到 q 之后用网格更稳：此处改回块级表现 */
.portal-faq-wrap .faq-item{flex-direction:column}
.portal-faq-wrap .faq-a{max-height:0;overflow:hidden;transition:max-height .45s var(--ease)}
.portal-faq-wrap .faq-item.open .faq-a{max-height:260px}
.portal-faq-wrap .faq-a p{padding-top:12px;font-size:14.5px;color:var(--ink-2);line-height:1.95}

/* ---------- 相关推荐 ---------- */
.portal-rel-card{
  display:block;background:var(--white);border:1.5px solid var(--line);
  border-radius:var(--r-lg);padding:30px 26px;
  transition:transform var(--t-fast),box-shadow var(--t-fast);
}
.portal-rel-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.portal-rel-card h3{font-size:18.5px;margin-bottom:8px}
.portal-rel-card p{font-size:14px;color:var(--ink-2);margin-bottom:18px;line-height:1.85}
.portal-rel-more{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--gold-500)}
.portal-rel-more svg{width:16px;height:16px}

/* ---------- 响应式 ---------- */
@media (max-width:920px){
  .portal-cols{grid-template-columns:repeat(2,1fr)}
  .portal-tech{grid-template-columns:1fr}
  .portal-tech-photo{order:-1}
  .portal-sched{grid-template-columns:repeat(2,1fr)}
  .portal-stat-row{grid-template-columns:repeat(2,1fr);gap:16px}
  .portal-show img{height:280px}
}
@media (max-width:600px){
  .portal-cols,.portal-sched,.portal-stat-row,.portal-rel{grid-template-columns:1fr}
}
