/* =========================================================
   海葬指南详情页
   头部 / 底部 / 按钮 / 字体来自 common.css
   ========================================================= */

.article-crumb{
  background:#fff;border-bottom:1px solid var(--line)
}
.article-crumb .wrap{
  min-height:46px;display:flex;align-items:center;gap:7px;
  font-size:13px;color:#71838d;overflow:auto
}
.article-crumb a{color:var(--brand);white-space:nowrap}

.article-hero{
  min-height:480px;display:flex;align-items:center;color:#fff;overflow:hidden;
  background:
    linear-gradient(92deg,rgba(5,35,47,.96) 0%,rgba(7,58,74,.78) 48%,rgba(7,75,94,.28) 100%),
    url("../images/sea-local-04.jpg") center/cover no-repeat;
}
.article-hero-inner{
  padding:78px 0;max-width:920px
}
.article-hero .eyebrow{color:#ead4af}
.article-hero h1{
  font-size:clamp(40px,6vw,66px);line-height:1.08;letter-spacing:-.04em;
  margin:0 0 18px
}
.article-hero p{
  font-size:17px;color:rgba(255,255,255,.82);max-width:820px;margin:0 0 20px
}
.article-meta{
  display:flex;flex-wrap:wrap;gap:10px 18px;color:rgba(255,255,255,.73);
  font-size:13px
}
.article-meta span{
  display:inline-flex;align-items:center;gap:6px
}

.article-page{
  position:relative;
  background:
    linear-gradient(180deg,rgba(248,251,251,.985),rgba(248,251,251,.985)),
    url("../images/sea-local-01.jpg") center/cover no-repeat;
}
.article-layout{
  display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start
}
.article-main{
  min-width:0
}
.article-panel{
  background:#fff;border:1px solid var(--line);border-radius:24px;
  box-shadow:0 14px 44px rgba(8,47,62,.07);overflow:hidden
}

.article-cover{
  position:relative;height:340px;overflow:hidden;
  background:
    linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.10)),
    url("../images/sea-local-07.jpg") center/cover no-repeat;
}
.article-cover:after{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle at 80% 25%, rgba(255,255,255,.14), transparent 22%),
    linear-gradient(180deg,rgba(7,42,56,.02),rgba(7,42,56,.28));
}

.article-intro{
  padding:28px 32px 10px
}
.article-summary{
  border-radius:20px;padding:20px 22px;
  background:
    linear-gradient(145deg,rgba(9,71,90,.98),rgba(11,93,114,.92)),
    url("../images/sea-local-03.jpg") center/cover no-repeat;
  color:#fff
}
.article-summary .eyebrow{color:#eed8b6}
.article-summary h2{
  font-size:24px;line-height:1.35;margin-bottom:10px
}
.article-summary ul{
  margin:0;padding-left:18px
}
.article-summary li{
  color:rgba(255,255,255,.82);font-size:14px;margin:8px 0
}

.article-body{
  padding:14px 32px 34px
}
.article-body h2{
  position:relative;
  scroll-margin-top:100px;
  font-size:29px;line-height:1.3;margin:36px 0 12px;
  padding-left:17px
}
.article-body h2:before{
  content:"";position:absolute;left:0;top:.2em;width:5px;height:1.2em;
  border-radius:999px;background:linear-gradient(180deg,var(--brand),#7ec7d6)
}
.article-body h3{
  font-size:20px;line-height:1.4;margin:24px 0 10px;color:#16394b
}
.article-body p{
  font-size:15px;color:#465f6b;line-height:1.95;margin:0 0 16px
}
.article-body ul,
.article-body ol{
  margin:0 0 18px 18px;color:#465f6b
}
.article-body li{margin:8px 0;line-height:1.9}
.article-body strong{color:#183546}
.article-body a{color:var(--brand)}
.article-body blockquote{
  margin:22px 0;padding:18px 20px;border-left:4px solid var(--gold);
  border-radius:0 16px 16px 0;background:#f5f9f9;color:#536c77
}

.answer-box{
  margin:24px 0;padding:20px 22px;border-radius:20px;
  background:#eef6f6;border:1px solid rgba(13,89,112,.12)
}
.answer-box h3{
  margin:0 0 8px;font-size:18px;color:var(--brand)
}
.answer-box p{margin:0;color:#4a6470}

.compare-mini{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0
}
.compare-mini-card{
  border-radius:18px;padding:18px;background:#fff;border:1px solid var(--line)
}
.compare-mini-card.one{
  background:
    linear-gradient(145deg,rgba(9,71,90,.97),rgba(12,95,115,.92)),
    url("../images/sea-local-04.jpg") center/cover no-repeat;
  color:#fff;border-color:transparent
}
.compare-mini-card.one p,
.compare-mini-card.one li{color:rgba(255,255,255,.78)}
.compare-mini-card h3{
  font-size:18px;margin:0 0 8px
}
.compare-mini-card ul{
  margin:0;padding-left:18px
}

.article-cta{
  margin-top:24px;border-radius:22px;padding:24px 24px;
  background:
    linear-gradient(110deg,rgba(7,48,62,.96),rgba(11,86,105,.92)),
    url("../images/sea-local-05.jpg") center/cover no-repeat;
  color:#fff;display:flex;justify-content:space-between;align-items:center;gap:22px
}
.article-cta p{margin:0;color:rgba(255,255,255,.75)}
.article-cta-actions{display:flex;gap:10px;flex-wrap:wrap}

.article-side{
  display:grid;gap:18px;position:sticky;top:104px
}
.side-box{
  background:#fff;border:1px solid var(--line);border-radius:22px;
  box-shadow:0 12px 36px rgba(8,47,62,.06);overflow:hidden
}
.side-box-head{
  padding:18px 20px;border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#fafdfd,#f5f9f9)
}
.side-box-head h3{
  margin:6px 0 0;font-size:18px
}
.toc-list{
  list-style:none;padding:12px 0;margin:0
}
.toc-list li{margin:0}
.toc-list li a{
  display:block;padding:11px 20px;color:#546d79;font-size:14px;
  border-left:3px solid transparent;transition:.18s ease
}
.toc-list li a:hover,
.toc-list li.active a{
  background:#f4f9f9;color:var(--brand);border-left-color:var(--brand)
}

.side-list{
  list-style:none;padding:8px 0;margin:0
}
.side-list li{margin:0}
.side-list li a{
  display:block;padding:13px 20px;color:#536c77;font-size:14px;
  border-top:1px dashed var(--line)
}
.side-list li:first-child a{border-top:0}
.side-list li a:hover{color:var(--brand);background:#fbfdfd}
.side-list small{
  display:block;color:#95a4ab;font-size:12px;margin-top:4px
}

.keywords-box{
  padding:18px 20px
}
.keyword-tags{
  display:flex;flex-wrap:wrap;gap:8px
}
.keyword-tags a{
  padding:7px 10px;border-radius:999px;background:#eef6f6;color:#4b6672;font-size:12px
}
.keyword-tags a:hover{background:var(--brand);color:#fff}

.related-section,
.latest-section,
.neighbor-section{
  margin-top:34px
}
.section-title{
  display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px
}
.section-title h2{
  font-size:28px;line-height:1.25;margin:0
}
.section-title p{
  color:var(--muted);margin:0
}

.neighbor-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:16px
}
.neighbor-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:22px;box-shadow:0 10px 32px rgba(8,47,62,.05)
}
.neighbor-card .label{
  display:block;font-size:12px;font-weight:800;color:#8798a0;margin-bottom:8px;letter-spacing:.08em
}
.neighbor-card h3{
  font-size:19px;line-height:1.5;margin:0 0 8px
}
.neighbor-card p{
  font-size:13px;color:var(--muted);margin:0
}
.neighbor-card:hover h3{color:var(--brand)}

.related-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px
}
.related-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;
  box-shadow:0 10px 28px rgba(8,47,62,.05)
}
.related-thumb{
  height:180px;background:#eaf3f4;overflow:hidden
}
.related-thumb img{
  width:100%;height:100%;object-fit:cover;transition:transform .35s ease
}
.related-card:hover .related-thumb img{transform:scale(1.04)}
.related-body{padding:18px}
.related-body .cat{
  display:inline-flex;min-height:24px;align-items:center;padding:0 10px;border-radius:999px;
  background:var(--sea);color:var(--brand);font-size:12px;font-weight:800;margin-bottom:8px
}
.related-body h3{
  font-size:18px;line-height:1.45;margin:0 0 8px
}
.related-body p{
  font-size:13px;color:var(--muted);margin:0
}

.latest-list{
  display:grid;gap:14px
}
.latest-item{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:18px 20px;box-shadow:0 8px 24px rgba(8,47,62,.04)
}
.latest-item h3{
  font-size:18px;line-height:1.5;margin:0 0 6px
}
.latest-item p{
  font-size:13px;color:var(--muted);margin:0 0 8px
}
.latest-item .meta{
  font-size:12px;color:#96a4ab
}

/* floating highlight links */
.article-facts{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px
}
.fact-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:17px 18px;box-shadow:0 8px 26px rgba(8,47,62,.04)
}
.fact-card b{
  display:block;font-size:15px;margin-bottom:4px;color:#17394a
}
.fact-card span{
  font-size:13px;color:#6a7d87
}

@media(max-width:1100px){
  .article-layout{grid-template-columns:1fr}
  .article-side{position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  .related-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .article-hero{min-height:auto}
  .article-hero-inner{padding:52px 0}
  .article-page .section{padding:52px 0}
  .article-cover{height:220px}
  .article-intro{padding:20px 18px 6px}
  .article-body{padding:12px 18px 24px}
  .article-body h2{font-size:24px}
  .article-body h3{font-size:18px}
  .compare-mini,
  .neighbor-grid,
  .related-grid,
  .article-facts,
  .article-side{
    grid-template-columns:1fr
  }
  .article-cta{display:block;padding:22px 18px}
  .article-cta-actions{margin-top:16px}
}

/* ===== V12: 完整相似文章卡片 ===== */
.related-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(8,47,62,.055);
  transition:transform .24s ease, box-shadow .24s ease;
}
.related-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 44px rgba(8,47,62,.11);
}
.related-thumb{
  display:block;
  position:relative;
  flex:0 0 185px;
  height:185px;
  overflow:hidden;
  background:#eaf3f4;
}
.related-thumb:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(4,39,52,.16));
  pointer-events:none;
}
.related-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.related-card:hover .related-thumb img{
  transform:scale(1.045);
}
.related-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:18px 18px 19px;
}
.related-body .cat{
  align-self:flex-start;
  display:inline-flex;
  min-height:24px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:var(--sea);
  color:var(--brand);
  font-size:12px;
  font-weight:800;
  margin-bottom:9px;
}
.related-body h3{
  display:block;
  font-size:18px;
  line-height:1.5;
  margin:0 0 9px;
  color:var(--ink);
}
.related-body h3 a{
  display:block;
  color:inherit;
}
.related-body h3 a:hover{
  color:var(--brand);
}
.related-body p{
  display:block;
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
  margin:0 0 13px;
}
.related-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px dashed var(--line);
  color:#8798a0;
  font-size:11px;
  line-height:1.5;
}
.related-meta span{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.related-read{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  color:var(--brand);
  font-size:13px;
  font-weight:800;
}
.related-read:hover{
  gap:9px;
}
