/* roulang page: index */
:root{
  --bg:#f7f1eb;
  --bg-soft:#fcf8f4;
  --surface:#fffaf6;
  --surface-2:#f4ebe3;
  --surface-3:#efe4da;
  --primary:#7a2748;
  --primary-2:#9b4f68;
  --primary-dark:#5b1b36;
  --accent:#b38a5c;
  --accent-2:#d7b98b;
  --text:#21181c;
  --muted:#6f6166;
  --line:#e3d5cc;
  --line-2:#d6c3b7;
  --success:#4f7d5a;
  --shadow:0 18px 48px rgba(55, 24, 34, .10);
  --shadow-soft:0 8px 24px rgba(55, 24, 34, .08);
  --radius:18px;
  --radius-sm:14px;
  --radius-xs:12px;
  --container:1240px;
  --space-1:6px;
  --space-2:10px;
  --space-3:14px;
  --space-4:18px;
  --space-5:24px;
  --space-6:32px;
  --space-7:44px;
  --space-8:64px;
  --space-9:88px;
  --font-sans:"Inter","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --font-serif:"Source Han Serif SC","Songti SC","STSong","Noto Serif SC",serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(122,39,72,.10), transparent 60%),
    radial-gradient(900px 480px at 10% 0%, rgba(179,138,92,.10), transparent 56%),
    linear-gradient(180deg, #fbf7f2 0%, #f7f1eb 35%, #f6efe8 100%);
  line-height:1.75;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(transparent 0 0),
    radial-gradient(circle at 1px 1px, rgba(69,44,53,.03) 1px, transparent 1.4px);
  background-size:auto, 18px 18px;
  opacity:.65;
  mix-blend-mode:multiply;
}
img{
  display:block;
  max-width:100%;
  height:auto;
}
a{
  color:inherit;
  text-decoration:none;
  transition:color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
button,
input,
textarea,
select{
  font:inherit;
}
button{
  cursor:pointer;
}
::selection{
  background:rgba(122,39,72,.18);
  color:var(--text);
}
.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:saturate(160%) blur(8px);
  background:rgba(251,247,242,.90);
  border-bottom:1px solid rgba(227,213,204,.9);
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset;
}
.header-inner{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:78px;
  padding:14px 0;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:0 0 auto;
}
.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  background:
    linear-gradient(145deg, rgba(122,39,72,1), rgba(179,138,92,.92));
  box-shadow:0 12px 24px rgba(122,39,72,.24);
  position:relative;
  overflow:hidden;
}
.brand-mark::before,
.brand-mark::after{
  content:"";
  position:absolute;
  inset:auto;
  border-radius:999px;
  background:rgba(255,255,255,.18);
}
.brand-mark::before{
  width:18px;
  height:18px;
  left:8px;
  top:8px;
}
.brand-mark::after{
  width:12px;
  height:12px;
  right:8px;
  bottom:8px;
}
.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.brand-text strong{
  font-family:var(--font-serif);
  font-size:17px;
  line-height:1.2;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-text span{
  color:var(--muted);
  font-size:12px;
  line-height:1.2;
}
.nav-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-left:auto;
  flex:1 1 auto;
}
.site-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.site-nav a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.1px;
  border:1px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible{
  color:var(--primary-dark);
  background:rgba(122,39,72,.06);
  border-color:rgba(122,39,72,.10);
  transform:translateY(-1px);
  outline:none;
}
.site-nav a.is-active{
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow:0 10px 22px rgba(122,39,72,.18);
}
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.searchbar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  box-shadow:0 10px 26px rgba(49,21,31,.04);
  min-width:min(360px, 100%);
}
.searchbar input{
  width:100%;
  min-width:180px;
  border:0;
  outline:none;
  background:transparent;
  color:var(--text);
  padding:8px 12px;
}
.searchbar input::placeholder{
  color:#94858a;
}
.searchbar:focus-within{
  border-color:rgba(122,39,72,.30);
  box-shadow:0 14px 30px rgba(122,39,72,.08);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  letter-spacing:.1px;
  white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.btn:hover,
.btn:focus-visible{
  transform:translateY(-1px);
  outline:none;
}
.btn:active{
  transform:translateY(0);
}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow:0 14px 28px rgba(122,39,72,.24);
}
.btn-primary:hover,
.btn-primary:focus-visible{
  background:linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow:0 18px 34px rgba(122,39,72,.28);
}
.btn-secondary{
  color:var(--primary-dark);
  background:rgba(255,255,255,.7);
  border-color:rgba(122,39,72,.15);
}
.btn-secondary:hover,
.btn-secondary:focus-visible{
  background:#fff;
  border-color:rgba(122,39,72,.28);
  box-shadow:0 16px 28px rgba(122,39,72,.10);
}
.btn-ghost{
  color:var(--text);
  background:rgba(255,255,255,.6);
  border-color:rgba(227,213,204,.9);
}
.btn-ghost:hover,
.btn-ghost:focus-visible{
  border-color:rgba(122,39,72,.20);
  background:#fff;
}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-direction:column;
  box-shadow:0 10px 24px rgba(49,21,31,.05);
}
.nav-toggle span{
  width:18px;
  height:2px;
  border-radius:999px;
  background:var(--primary-dark);
  display:block;
}
.hero{
  position:relative;
  overflow:hidden;
  padding:32px 0 18px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(44,21,30,.76), rgba(44,21,30,.44)),
    url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
  filter:saturate(95%);
}
.hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:120px;
  background:linear-gradient(180deg, rgba(247,241,235,0) 0%, rgba(247,241,235,.58) 50%, rgba(247,241,235,1) 100%);
}
.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);
  gap:28px;
  align-items:stretch;
  padding:32px 0 26px;
}
.hero-copy{
  color:#fff;
  padding:24px 0 16px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
  font-size:13px;
  font-weight:700;
  letter-spacing:.15px;
}
.eyebrow i{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent-2);
  display:inline-block;
}
.hero h1{
  margin:18px 0 16px;
  max-width:12ch;
  font-family:var(--font-serif);
  font-size:clamp(40px, 5vw, 68px);
  line-height:1.06;
  letter-spacing:.4px;
}
.hero .subtitle{
  max-width:34em;
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.9;
  margin:0 0 22px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:22px;
}
.hero-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:13px;
  font-weight:700;
}
.pill strong{
  font-size:16px;
  color:#ffe9d7;
}
.hero-visual{
  position:relative;
  display:grid;
  gap:14px;
  grid-template-columns:1.1fr .9fr;
  align-items:stretch;
}
.hero-card{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  min-height:320px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
}
.hero-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(105%) contrast(102%);
  transform:scale(1.01);
}
.hero-card .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(18,10,14,.06) 0%, rgba(18,10,14,.38) 100%);
}
.hero-card .caption{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  color:#fff;
}
.caption .label{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-size:12px;
  font-weight:700;
  margin-bottom:10px;
}
.caption h2,
.caption h3{
  margin:0;
  font-family:var(--font-serif);
  line-height:1.2;
}
.caption h2{
  font-size:22px;
  margin-bottom:8px;
}
.caption p{
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:14px;
  line-height:1.7;
}
.hero-side{
  display:grid;
  gap:14px;
}
.info-panel{
  border-radius:24px;
  padding:18px;
  background:rgba(255,250,246,.88);
  border:1px solid rgba(255,255,255,.48);
  box-shadow:var(--shadow-soft);
}
.info-panel h3{
  margin:0 0 10px;
  font-family:var(--font-serif);
  font-size:18px;
}
.info-panel p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
}
.grid-mini{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.mini-cover{
  border-radius:18px;
  overflow:hidden;
  position:relative;
  min-height:148px;
  background:var(--surface-2);
  border:1px solid rgba(227,213,204,.9);
  box-shadow:0 10px 24px rgba(49,21,31,.06);
}
.mini-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease, filter .35s ease;
}
.mini-cover:hover img{
  transform:scale(1.04);
  filter:brightness(1.02);
}
.stat-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.stat{
  border-radius:18px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,243,237,.88));
  border:1px solid rgba(227,213,204,.95);
}
.stat strong{
  display:block;
  color:var(--primary-dark);
  font-size:24px;
  line-height:1.1;
  margin-bottom:6px;
  font-family:var(--font-serif);
}
.stat span{
  color:var(--muted);
  font-size:13px;
}
.section{
  position:relative;
  padding:var(--space-8) 0;
}
.section + .section{
  padding-top:0;
}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}
.section-title{
  margin:0;
  font-family:var(--font-serif);
  font-size:clamp(24px, 3vw, 34px);
  line-height:1.15;
  letter-spacing:.2px;
}
.section-subtitle{
  margin:8px 0 0;
  color:var(--muted);
  max-width:68ch;
  line-height:1.85;
  font-size:15px;
}
.section-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--primary-dark);
  font-weight:700;
  white-space:nowrap;
}
.section-link:hover,
.section-link:focus-visible{
  color:var(--primary);
  transform:translateX(2px);
  outline:none;
}
.panel{
  background:rgba(255,250,246,.84);
  border:1px solid rgba(227,213,204,.9);
  border-radius:28px;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.featured-grid{
  display:grid;
  grid-template-columns:1.35fr .95fr;
  gap:18px;
}
.featured-main{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  border:1px solid rgba(227,213,204,.9);
  box-shadow:var(--shadow-soft);
}
.featured-main .image{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
}
.featured-main .image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease, filter .45s ease;
}
.featured-main:hover .image img{
  transform:scale(1.04);
  filter:brightness(1.03);
}
.featured-main .content{
  padding:22px;
}
.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(122,39,72,.08);
  color:var(--primary-dark);
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(122,39,72,.10);
}
.featured-main h3,
.entry-card h3,
.news-title{
  margin:0;
  font-family:var(--font-serif);
  line-height:1.35;
}
.featured-main h3{
  font-size:22px;
  margin-bottom:10px;
}
.featured-main p,
.entry-card p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
}
.featured-main p{
  font-size:15px;
}
.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:16px;
  color:#7b6c71;
  font-size:13px;
}
.meta-row span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.meta-row span::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background:rgba(122,39,72,.45);
}
.featured-aside{
  display:grid;
  gap:14px;
}
.mini-card{
  display:grid;
  grid-template-columns:112px 1fr;
  gap:14px;
  align-items:center;
  overflow:hidden;
  padding:12px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(227,213,204,.9);
  box-shadow:var(--shadow-soft);
}
.mini-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.mini-card .thumb{
  width:112px;
  height:100px;
  border-radius:16px;
  overflow:hidden;
  flex:0 0 auto;
}
.mini-card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.mini-card:hover .thumb img{
  transform:scale(1.05);
}
.mini-card h4{
  margin:4px 0 8px;
  font-size:17px;
  line-height:1.45;
}
.mini-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.entry-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.entry-card{
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  border:1px solid rgba(227,213,204,.92);
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
}
.entry-card .image{
  aspect-ratio:4/3;
  overflow:hidden;
}
.entry-card .image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .42s ease, filter .42s ease;
}
.entry-card:hover .image img{
  transform:scale(1.04);
  filter:brightness(1.04);
}
.entry-card .content{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1 1 auto;
}
.entry-card h3{
  font-size:20px;
}
.entry-card .actions{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.entry-card .actions .read-link{
  color:var(--primary-dark);
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.entry-card .actions .read-link::after,
.section-link::after{
  content:"→";
  transition:transform .2s ease;
}
.entry-card:hover .actions .read-link::after,
.section-link:hover::after{
  transform:translateX(3px);
}
.latest-wrap{
  display:grid;
  gap:18px;
}
.latest-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,240,233,.92));
  border:1px solid rgba(227,213,204,.9);
}
.latest-note{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.latest-count{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  color:var(--primary-dark);
}
.latest-list{
  display:grid;
  gap:14px;
}
.news-card{
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(227,213,204,.92);
  box-shadow:var(--shadow-soft);
}
.news-link{
  display:block;
  padding:20px;
}
.news-link:hover .news-title,
.news-link:focus-visible .news-title{
  color:var(--primary);
}
.news-link:focus-visible{
  outline:2px solid rgba(122,39,72,.30);
  outline-offset:2px;
}
.news-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.news-tag{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(179,138,92,.12);
  color:#7e633d;
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(179,138,92,.16);
}
.news-time{
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
}
.news-title{
  font-size:20px;
  margin-bottom:10px;
}
.news-desc{
  margin:0;
  color:var(--muted);
  line-height:1.9;
  font-size:15px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
  color:#7b6c71;
  font-size:13px;
}
.news-meta .meta-group{
  display:inline-flex;
  flex-wrap:wrap;
  gap:10px;
}
.news-meta .meta-group span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.news-meta .meta-group span::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background:rgba(122,39,72,.48);
}
.news-cta{
  color:var(--primary-dark);
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.news-cta::after{
  content:"→";
}
.empty-state{
  padding:34px 22px;
  text-align:center;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,240,233,.96));
  border:1px dashed rgba(122,39,72,.22);
}
.empty-state p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
}
.tags-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:12px;
}
.tag-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px 18px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(227,213,204,.92);
  box-shadow:var(--shadow-soft);
}
.tag-card span{
  font-weight:700;
  color:var(--text);
}
.tag-card em{
  font-style:normal;
  color:var(--muted);
  font-size:13px;
}
.tag-card:hover{
  transform:translateY(-2px);
  border-color:rgba(122,39,72,.18);
  box-shadow:var(--shadow);
}
.guide-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
}
.guide-list{
  display:grid;
  gap:14px;
}
.guide-step{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:14px;
  align-items:start;
  padding:18px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(227,213,204,.92);
  box-shadow:var(--shadow-soft);
}
.step-num{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#fff;
  font-family:var(--font-serif);
  font-size:20px;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow:0 12px 24px rgba(122,39,72,.18);
}
.guide-step h3{
  margin:0 0 6px;
  font-size:18px;
}
.guide-step p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
}
.side-note{
  display:grid;
  gap:14px;
}
.note-card{
  border-radius:22px;
  padding:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,240,233,.92));
  border:1px solid rgba(227,213,204,.92);
  box-shadow:var(--shadow-soft);
}
.note-card h3{
  margin:0 0 10px;
  font-family:var(--font-serif);
  font-size:20px;
}
.note-card p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.9;
}
.note-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.note-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--text);
  font-size:14px;
  line-height:1.7;
}
.note-list li::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
  margin-top:8px;
  flex:0 0 auto;
}
.faq-wrap{
  display:grid;
  gap:12px;
}
.faq-item{
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(227,213,204,.92);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-weight:700;
  color:var(--text);
}
.faq-item summary::-webkit-details-marker{
  display:none;
}
.faq-item summary::after{
  content:"+";
  width:34px;
  height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(122,39,72,.08);
  color:var(--primary-dark);
  font-size:20px;
  line-height:1;
  flex:0 0 auto;
  transition:transform .22s ease, background-color .22s ease;
}
.faq-item[open] summary{
  border-bottom:1px solid rgba(227,213,204,.82);
}
.faq-item[open] summary::after{
  content:"−";
  transform:rotate(180deg);
  background:rgba(122,39,72,.12);
}
.faq-content{
  padding:0 20px 18px;
  color:var(--muted);
  line-height:1.9;
  font-size:14px;
}
.cta-panel{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(122,39,72,.96), rgba(73,33,45,.96)),
    url('/assets/images/backpic/back-2.jpg') center/cover no-repeat;
  color:#fff;
  box-shadow:var(--shadow);
}
.cta-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(18,10,14,.08), rgba(18,10,14,.42));
}
.cta-inner{
  position:relative;
  z-index:1;
  padding:34px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.cta-inner h2{
  margin:0 0 10px;
  font-family:var(--font-serif);
  font-size:clamp(26px, 3vw, 38px);
  line-height:1.15;
}
.cta-inner p{
  margin:0;
  max-width:42em;
  color:rgba(255,255,255,.88);
  line-height:1.9;
}
.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.cta-actions .btn-secondary{
  color:#fff;
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.20);
}
.cta-actions .btn-secondary:hover,
.cta-actions .btn-secondary:focus-visible{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.34);
}
.site-footer{
  margin-top:var(--space-8);
  padding:34px 0 28px;
  background:linear-gradient(180deg, rgba(45,23,30,.98), rgba(31,19,24,.98));
  color:rgba(255,255,255,.84);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr .65fr;
  gap:24px;
  align-items:start;
}
.footer-brand{
  display:grid;
  gap:14px;
}
.footer-brand .brand-text strong{
  color:#fff;
}
.footer-brand .brand-text span{
  color:rgba(255,255,255,.66);
}
.footer-desc{
  margin:0;
  max-width:34em;
  color:rgba(255,255,255,.74);
  line-height:1.9;
  font-size:14px;
}
.footer-links{
  display:grid;
  gap:10px;
}
.footer-links h3{
  margin:0 0 8px;
  font-family:var(--font-serif);
  color:#fff;
  font-size:17px;
}
.footer-links a{
  color:rgba(255,255,255,.78);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.footer-links a:hover,
.footer-links a:focus-visible{
  color:#fff;
  transform:translateX(2px);
  outline:none;
}
.footer-links a::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background:rgba(255,255,255,.44);
  flex:0 0 auto;
}
.footer-bottom{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:14px;
  font-size:13px;
  color:rgba(255,255,255,.64);
}
.back-top{
  color:#fff;
  font-weight:700;
}
.back-top:hover{
  color:#f9d9c1;
}
.search-hint{
  margin-top:10px;
  font-size:13px;
  color:rgba(255,255,255,.82);
}
.search-feedback{
  min-height:18px;
  margin-top:8px;
  font-size:13px;
  color:#f2dcc9;
}
.is-highlight{
  animation:highlightPulse 1.2s ease 1;
  box-shadow:0 0 0 1px rgba(179,138,92,.34), 0 18px 36px rgba(122,39,72,.12);
}
@keyframes highlightPulse{
  0%{transform:translateY(0); box-shadow:var(--shadow-soft)}
  35%{transform:translateY(-2px); box-shadow:0 0 0 1px rgba(179,138,92,.34), 0 18px 36px rgba(122,39,72,.12)}
  100%{transform:translateY(0); box-shadow:var(--shadow-soft)}
}
#latest-search-target{
  scroll-margin-top:96px;
}
@media (max-width: 1200px){
  .hero-inner{
    grid-template-columns:1fr;
  }
  .hero-visual{
    grid-template-columns:1fr 1fr;
  }
  .featured-grid,
  .guide-grid{
    grid-template-columns:1fr;
  }
  .entry-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  .tags-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 900px){
  .header-inner{
    flex-wrap:wrap;
  }
  .nav-panel{
    width:100%;
    order:3;
  }
  .searchbar{
    min-width:0;
    width:100%;
  }
  .hero{
    padding-top:18px;
  }
  .hero h1{
    max-width:14ch;
  }
  .grid-mini{
    grid-template-columns:1fr 1fr;
  }
  .stat-grid{
    grid-template-columns:1fr 1fr;
  }
  .entry-grid{
    grid-template-columns:1fr;
  }
  .latest-toolbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .news-link{
    padding:18px;
  }
  .cta-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width: 768px){
  .nav-toggle{
    display:inline-flex;
    margin-left:auto;
  }
  .nav-panel{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding:16px 0 6px;
  }
  .site-header.is-open .nav-panel{
    display:flex;
  }
  .site-nav ul{
    width:100%;
    gap:8px;
  }
  .site-nav a{
    width:100%;
    justify-content:center;
  }
  .header-actions{
    width:100%;
    flex-direction:column;
  }
  .searchbar{
    width:100%;
  }
  .hero{
    padding:16px 0 6px;
  }
  .hero-inner{
    padding-top:18px;
    gap:18px;
  }
  .hero-visual{
    grid-template-columns:1fr;
  }
  .hero-card{
    min-height:260px;
  }
  .info-panel{
    padding:16px;
  }
  .section{
    padding:56px 0;
  }
  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .featured-grid{
    gap:14px;
  }
  .mini-card{
    grid-template-columns:96px 1fr;
  }
  .mini-card .thumb{
    width:96px;
    height:90px;
  }
  .tags-grid{
    grid-template-columns:1fr 1fr;
  }
  .footer-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 520px){
  .container{
    width:min(var(--container), calc(100% - 22px));
  }
  .header-inner{
    min-height:72px;
  }
  .brand-mark{
    width:38px;
    height:38px;
    border-radius:12px;
  }
  .brand-text strong{
    font-size:15px;
  }
  .hero h1{
    font-size:clamp(32px, 12vw, 44px);
  }
  .hero .subtitle{
    font-size:15px;
  }
  .hero-actions,
  .cta-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .btn{
    width:100%;
  }
  .grid-mini{
    grid-template-columns:1fr;
  }
  .stat-grid{
    grid-template-columns:1fr;
  }
  .featured-main .content,
  .news-link,
  .guide-step,
  .note-card,
  .cta-inner{
    padding:16px;
  }
  .news-title{
    font-size:18px;
  }
  .entry-card h3,
  .featured-main h3{
    font-size:18px;
  }
  .tags-grid{
    grid-template-columns:1fr;
  }
  .faq-item summary{
    padding:16px;
  }
  .faq-content{
    padding:0 16px 16px;
  }
  .site-footer{
    margin-top:56px;
  }
  .footer-bottom{
    flex-direction:column;
  }
}

/* roulang page: article */
:root{
  --bg:#f7f1eb;
  --bg-soft:#fcf8f4;
  --surface:#fffaf6;
  --surface-2:#f4ebe3;
  --surface-3:#efe4da;
  --primary:#7a2748;
  --primary-2:#9b4f68;
  --primary-dark:#5b1b36;
  --accent:#b38a5c;
  --accent-2:#d7b98b;
  --text:#21181c;
  --muted:#6f6166;
  --line:#e3d5cc;
  --line-2:#d6c3b7;
  --success:#4f7d5a;
  --shadow:0 18px 48px rgba(55, 24, 34, .10);
  --shadow-soft:0 8px 24px rgba(55, 24, 34, .08);
  --radius:18px;
  --radius-sm:14px;
  --radius-xs:12px;
  --container:1240px;
  --space-1:6px;
  --space-2:10px;
  --space-3:14px;
  --space-4:18px;
  --space-5:24px;
  --space-6:32px;
  --space-7:44px;
  --space-8:64px;
  --space-9:88px;
  --font-sans:"Inter","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --font-serif:"Source Han Serif SC","Songti SC","STSong","Noto Serif SC",serif;
}
*,
*::before,
*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text);
  line-height:1.75;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(122,39,72,.10), transparent 60%),
    radial-gradient(900px 480px at 10% 0%, rgba(179,138,92,.10), transparent 56%),
    linear-gradient(180deg, #fbf7f2 0%, #f7f1eb 35%, #f6efe8 100%);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 1px 1px, rgba(69,44,53,.03) 1px, transparent 1.4px);
  background-size:18px 18px;
  opacity:.65;
  mix-blend-mode:multiply;
}
img{
  display:block;
  max-width:100%;
  height:auto;
}
a{
  color:inherit;
  text-decoration:none;
  transition:color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
a:hover{color:var(--primary-dark)}
button,
input,
textarea,
select{
  font:inherit;
}
button{
  cursor:pointer;
}
:focus-visible{
  outline:3px solid rgba(122,39,72,.22);
  outline-offset:2px;
}
.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}
.section-pad{
  padding:var(--space-8) 0;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.section-kicker::before{
  content:"";
  width:28px;
  height:1px;
  background:linear-gradient(90deg, rgba(122,39,72,.0), rgba(122,39,72,.75));
}
.section-title{
  margin:10px 0 0;
  font-family:var(--font-serif);
  font-size:clamp(26px, 2.6vw, 36px);
  line-height:1.25;
  letter-spacing:.2px;
}
.section-desc{
  max-width:720px;
  margin:10px 0 0;
  color:var(--muted);
  font-size:15px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(122,39,72,.08);
  color:var(--primary-dark);
  border:1px solid rgba(122,39,72,.12);
  font-weight:700;
  font-size:12px;
  line-height:1;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  letter-spacing:.1px;
  white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.btn:hover,
.btn:focus-visible{
  transform:translateY(-1px);
  outline:none;
}
.btn:active{
  transform:translateY(0);
}
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow:0 14px 28px rgba(122,39,72,.24);
}
.btn-primary:hover,
.btn-primary:focus-visible{
  color:#fff;
  background:linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow:0 18px 34px rgba(122,39,72,.28);
}
.btn-secondary{
  color:var(--primary-dark);
  background:rgba(255,255,255,.72);
  border-color:rgba(122,39,72,.15);
}
.btn-secondary:hover,
.btn-secondary:focus-visible{
  color:var(--primary-dark);
  background:#fff;
  border-color:rgba(122,39,72,.28);
  box-shadow:0 16px 28px rgba(122,39,72,.10);
}
.btn-ghost{
  color:var(--text);
  background:rgba(255,255,255,.58);
  border-color:rgba(227,213,204,.95);
}
.btn-ghost:hover,
.btn-ghost:focus-visible{
  color:var(--primary-dark);
  background:#fff;
  border-color:rgba(122,39,72,.20);
  box-shadow:0 16px 28px rgba(122,39,72,.08);
}
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:saturate(160%) blur(8px);
  background:rgba(251,247,242,.90);
  border-bottom:1px solid rgba(227,213,204,.9);
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset;
}
.header-inner{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:78px;
  padding:14px 0;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:0 0 auto;
}
.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(145deg, rgba(122,39,72,1), rgba(179,138,92,.92));
  box-shadow:0 12px 24px rgba(122,39,72,.24);
  position:relative;
  overflow:hidden;
}
.brand-mark::before,
.brand-mark::after{
  content:"";
  position:absolute;
  border-radius:999px;
  background:rgba(255,255,255,.18);
}
.brand-mark::before{
  width:18px;
  height:18px;
  left:8px;
  top:8px;
}
.brand-mark::after{
  width:12px;
  height:12px;
  right:8px;
  bottom:8px;
}
.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.brand-text strong{
  font-family:var(--font-serif);
  font-size:17px;
  line-height:1.2;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-text span{
  color:var(--muted);
  font-size:12px;
  line-height:1.2;
}
.nav-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-left:auto;
  flex:1 1 auto;
}
.site-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.site-nav a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.1px;
  border:1px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible{
  color:var(--primary-dark);
  background:rgba(122,39,72,.06);
  border-color:rgba(122,39,72,.10);
  transform:translateY(-1px);
  outline:none;
}
.site-nav a.is-active{
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow:0 10px 22px rgba(122,39,72,.18);
}
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.searchbar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  box-shadow:0 10px 26px rgba(49,21,31,.04);
  min-width:min(360px, 100%);
}
.searchbar input{
  width:100%;
  min-width:180px;
  border:0;
  outline:none;
  background:transparent;
  color:var(--text);
  padding:8px 12px;
}
.searchbar input::placeholder{
  color:#94858a;
}
.searchbar:focus-within{
  border-color:rgba(122,39,72,.30);
  box-shadow:0 14px 30px rgba(122,39,72,.08);
}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-direction:column;
  box-shadow:0 8px 20px rgba(49,21,31,.05);
}
.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  border-radius:999px;
  background:var(--primary-dark);
}
.article-banner{
  position:relative;
  padding:28px 0 16px;
}
.banner-shell{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(227,213,204,.95);
  box-shadow:var(--shadow);
  background:
    linear-gradient(135deg, rgba(48,19,29,.76), rgba(122,39,72,.30)),
    url('/assets/images/backpic/back-2.jpg') center/cover no-repeat;
}
.banner-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,248,243,.06), rgba(255,248,243,.20) 60%, rgba(255,248,243,.10));
  pointer-events:none;
}
.banner-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px, .85fr);
  gap:28px;
  padding:28px;
  align-items:center;
}
.banner-copy{
  color:#fff;
  min-width:0;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.92);
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  backdrop-filter:blur(4px);
}
.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  color:rgba(255,255,255,.82);
  font-size:13px;
}
.breadcrumb a{
  color:rgba(255,255,255,.92);
}
.breadcrumb span{
  opacity:.65;
}
.banner-copy h1{
  margin:0;
  font-family:var(--font-serif);
  font-size:clamp(28px, 3.2vw, 46px);
  line-height:1.18;
  letter-spacing:.2px;
  text-wrap:balance;
}
.banner-summary{
  max-width:760px;
  margin:16px 0 0;
  color:rgba(255,255,255,.86);
  font-size:16px;
}
.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.93);
  font-size:13px;
}
.meta-item strong{
  font-weight:700;
  color:#fff;
}
.banner-media{
  position:relative;
  min-height:320px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.banner-media .cover-frame{
  position:relative;
  width:min(100%, 420px);
  margin-left:auto;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 60px rgba(12, 6, 8, .26);
  background:rgba(255,255,255,.06);
}
.banner-media .cover-frame img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  transform:scale(1.01);
}
.banner-media .media-badge{
  position:absolute;
  left:18px;
  bottom:18px;
  display:grid;
  gap:4px;
  padding:14px 16px;
  border-radius:18px;
  max-width:220px;
  background:rgba(255,250,246,.92);
  color:var(--text);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:var(--shadow-soft);
}
.media-badge span{
  color:var(--muted);
  font-size:12px;
}
.media-badge strong{
  font-family:var(--font-serif);
  font-size:18px;
  line-height:1.2;
}
.media-badge small{
  color:var(--muted);
  font-size:12px;
}
.article-layout{
  padding:18px 0 var(--space-8);
}
.content-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 340px;
  gap:24px;
  align-items:start;
}
.article-card,
.side-card,
.cta-card,
.faq-item,
.related-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}
.article-card{
  padding:28px;
}
.article-lead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.article-lead .lead-left{
  min-width:0;
}
.article-lead h2{
  margin:0;
  font-family:var(--font-serif);
  font-size:22px;
  line-height:1.3;
}
.article-lead p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
}
.article-tip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(122,39,72,.06);
  color:var(--primary-dark);
  border:1px solid rgba(122,39,72,.12);
  font-weight:700;
  font-size:13px;
}
.richtext{
  color:var(--text);
  font-size:16px;
}
.richtext > :first-child{
  margin-top:0;
}
.richtext > :last-child{
  margin-bottom:0;
}
.richtext h2,
.richtext h3,
.richtext h4{
  margin:1.8em 0 .8em;
  line-height:1.32;
  font-family:var(--font-serif);
  color:var(--text);
}
.richtext h2{font-size:clamp(22px, 2vw, 28px)}
.richtext h3{font-size:clamp(18px, 1.6vw, 22px)}
.richtext p{
  margin:0 0 1em;
  color:#2b2025;
}
.richtext ul,
.richtext ol{
  margin:0 0 1.1em 1.2em;
  padding:0;
}
.richtext li{
  margin:.35em 0;
}
.richtext blockquote{
  margin:1.4em 0;
  padding:18px 18px 18px 20px;
  border-left:4px solid var(--primary);
  background:linear-gradient(135deg, rgba(122,39,72,.05), rgba(179,138,92,.05));
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  color:#392a31;
}
.richtext blockquote p:last-child{
  margin-bottom:0;
}
.richtext strong{
  color:var(--primary-dark);
}
.richtext a{
  color:var(--primary);
  text-decoration:underline;
  text-underline-offset:3px;
}
.richtext a:hover{
  color:var(--primary-dark);
}
.richtext img{
  width:100%;
  border-radius:16px;
  margin:1.4em 0;
  box-shadow:var(--shadow-soft);
}
.richtext figure{
  margin:1.4em 0;
}
.richtext figcaption{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}
.richtext table{
  width:100%;
  border-collapse:collapse;
  margin:1.4em 0;
  overflow:hidden;
  display:block;
  border-radius:16px;
  border:1px solid var(--line);
}
.richtext table th,
.richtext table td{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
  white-space:nowrap;
}
.richtext table th{
  background:var(--surface-2);
  color:var(--primary-dark);
}
.richtext code{
  padding:.18em .45em;
  border-radius:8px;
  background:rgba(122,39,72,.08);
  color:var(--primary-dark);
}
.richtext pre{
  overflow:auto;
  padding:18px 20px;
  border-radius:16px;
  background:#25191e;
  color:#f6ece8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.richtext pre code{
  padding:0;
  background:none;
  color:inherit;
}
.article-end{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--line);
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.side-sticky{
  position:sticky;
  top:98px;
  display:grid;
  gap:18px;
}
.side-card{
  padding:20px;
}
.side-card h2,
.side-card h3{
  margin:0;
  font-family:var(--font-serif);
  font-size:20px;
  line-height:1.3;
}
.side-card .side-desc{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
}
.info-list{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  display:grid;
  gap:12px;
}
.info-list li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px dashed var(--line);
  color:var(--muted);
  font-size:14px;
}
.info-list li:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.info-list strong{
  color:var(--text);
  font-weight:700;
}
.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.tag{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 11px;
  border-radius:999px;
  background:rgba(122,39,72,.06);
  border:1px solid rgba(122,39,72,.10);
  color:var(--primary-dark);
  font-size:12px;
  font-weight:700;
}
.story-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}
.story-card{
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:12px;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(227,213,204,.9);
  background:#fff;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.story-card:hover,
.story-card:focus-within{
  transform:translateY(-2px);
  border-color:rgba(122,39,72,.16);
  box-shadow:0 12px 24px rgba(55,24,34,.08);
}
.story-card img{
  width:84px;
  height:112px;
  object-fit:cover;
  border-radius:12px;
}
.story-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
}
.story-body h4{
  margin:0;
  font-size:15px;
  line-height:1.42;
  color:var(--text);
}
.story-body p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.story-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:12px;
}
.notice-box{
  margin-top:16px;
  padding:14px 16px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(122,39,72,.05), rgba(179,138,92,.06));
  border:1px solid rgba(122,39,72,.10);
  color:#3b2a31;
  font-size:14px;
}
.faq-section{
  padding:0 0 var(--space-8);
}
.faq-wrap{
  padding:24px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}
.faq-list{
  display:grid;
  gap:14px;
  margin-top:22px;
}
.faq-item{
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  font-weight:700;
  color:var(--text);
  user-select:none;
}
.faq-item summary::-webkit-details-marker{
  display:none;
}
.faq-item summary::after{
  content:"+";
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  border-radius:50%;
  background:rgba(122,39,72,.08);
  color:var(--primary-dark);
  font-size:20px;
  line-height:1;
  transition:transform .2s ease, background-color .2s ease;
}
.faq-item[open] summary{
  border-bottom:1px solid var(--line);
}
.faq-item[open] summary::after{
  content:"–";
  background:rgba(122,39,72,.12);
}
.faq-item .faq-body{
  padding:0 20px 18px;
  color:var(--muted);
}
.cta-section{
  padding:0 0 var(--space-8);
}
.cta-card{
  position:relative;
  overflow:hidden;
  padding:28px;
  background:
    linear-gradient(135deg, rgba(122,39,72,.08), rgba(255,250,246,.95)),
    url('/assets/images/backpic/back-3.webp') center/cover no-repeat;
}
.cta-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,250,246,.86), rgba(255,250,246,.74));
}
.cta-inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.cta-copy{
  max-width:760px;
}
.cta-copy h2{
  margin:0;
  font-family:var(--font-serif);
  font-size:clamp(24px, 2.3vw, 34px);
  line-height:1.28;
}
.cta-copy p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:15px;
}
.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.site-footer{
  margin-top:var(--space-8);
  padding:var(--space-8) 0 var(--space-6);
  background:linear-gradient(180deg, rgba(255,250,246,.92), rgba(244,235,227,.96));
  border-top:1px solid var(--line);
}
.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) repeat(2, minmax(180px, .8fr));
  gap:24px;
  align-items:start;
}
.footer-brand .brand{
  margin-bottom:12px;
}
.footer-desc{
  margin:0;
  color:var(--muted);
  max-width:34rem;
  font-size:14px;
}
.footer-links h3{
  margin:0 0 14px;
  font-family:var(--font-serif);
  font-size:18px;
  line-height:1.3;
}
.footer-links a{
  display:flex;
  align-items:center;
  min-height:40px;
  color:var(--muted);
  font-size:14px;
}
.footer-links a:hover,
.footer-links a:focus-visible{
  color:var(--primary-dark);
  transform:translateX(2px);
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.empty-state{
  min-height:320px;
  display:grid;
  place-items:center;
  gap:14px;
  padding:30px 10px;
  text-align:center;
}
.empty-state h2{
  margin:0;
  font-family:var(--font-serif);
  font-size:26px;
}
.empty-state p{
  margin:0;
  color:var(--muted);
  max-width:36rem;
}
@media (max-width: 1120px){
  .content-grid{
    grid-template-columns:minmax(0,1fr) 300px;
  }
}
@media (max-width: 1024px){
  .banner-inner{
    grid-template-columns:1fr;
  }
  .banner-media{
    min-height:auto;
  }
  .banner-media .cover-frame{
    width:min(360px, 100%);
  }
  .content-grid{
    grid-template-columns:1fr;
  }
  .side-sticky{
    position:static;
  }
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
  .footer-brand{
    grid-column:1 / -1;
  }
}
@media (max-width: 768px){
  .header-inner{
    min-height:66px;
    flex-wrap:wrap;
  }
  .nav-toggle{
    display:inline-flex;
    margin-left:auto;
  }
  .nav-panel{
    display:none;
    width:100%;
    margin-left:0;
    padding:10px 0 4px;
    flex-direction:column;
    align-items:stretch;
  }
  .nav-panel.is-open{
    display:flex;
  }
  .site-nav ul{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }
  .site-nav a{
    width:100%;
    justify-content:center;
  }
  .header-actions{
    width:100%;
  }
  .searchbar{
    min-width:0;
    width:100%;
  }
  .banner-inner,
  .article-card,
  .cta-card,
  .faq-wrap{
    padding:20px;
  }
  .banner-copy h1{
    font-size:clamp(26px, 8vw, 38px);
  }
  .article-lead,
  .cta-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .cta-actions{
    justify-content:flex-start;
  }
  .footer-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 520px){
  .container{
    width:min(var(--container), calc(100% - 20px));
  }
  .article-banner{
    padding-top:18px;
  }
  .banner-inner{
    gap:20px;
    padding:16px;
  }
  .banner-summary{
    font-size:15px;
  }
  .article-meta{
    gap:8px;
  }
  .meta-item{
    width:100%;
    justify-content:space-between;
  }
  .story-card{
    grid-template-columns:76px minmax(0,1fr);
  }
  .story-card img{
    width:76px;
    height:104px;
  }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
  }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
