:root{
  --bg:#ffffff;
  --text:#141214;
  --muted:#5e565e;
  --border:#ece8ec;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(20,18,20,.08);

  --brand:#7b1f2a; /* maroon */
  --brand-2:#a62b39;
  --brand-soft:#f7eef0;

  --radius:18px;
  --radius-sm:12px;
  --container:1180px;

  --font: "Sen", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{ color:inherit; text-decoration:none; }
a:focus{ outline:3px solid rgba(123,31,42,.25); outline-offset:3px; border-radius:10px; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar-inner{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-mark{
  width:34px;height:34px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  display:grid;place-items:center;
  color:#fff;
  box-shadow:0 10px 30px rgba(123,31,42,.22);
}
.brand-title{
  display:flex;flex-direction:column;
  line-height:1.15;
}
.brand-title strong{ font-size:16px; letter-spacing:.2px; }
.brand-title span{ font-size:12px; color:var(--muted); }

.nav{
  display:flex;
  gap:14px;
  color:var(--muted);
  font-size:14px;
}
.nav a{ padding:8px 10px; border-radius:12px; }
.nav a:hover{ background:var(--brand-soft); color:var(--brand); }

.hero{
  padding:26px 0 10px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.hero-card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(180deg,#fff, #fff);
  box-shadow:var(--shadow);
}
.hero-card-inner{ padding:18px 18px 18px; }
.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:var(--brand-soft);
  color:var(--brand);
  font-size:12px;
  border:1px solid rgba(123,31,42,.12);
}
.hero-title{
  margin:12px 0 8px;
  font-size:34px;
  line-height:1.15;
  letter-spacing:-.4px;
}
.hero-sub{
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.hero-actions{
  display:flex;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  font-size:14px;
  border:1px solid var(--border);
  background:#fff;
}
.btn-primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
  box-shadow:0 14px 30px rgba(123,31,42,.22);
}
.btn:hover{ transform: translateY(-1px); transition:transform .12s ease; }

.hero-side{
  display:grid;
  grid-template-rows: 1fr 1fr;
  gap:18px;
}
.mini{
  padding:16px 16px 16px;
}
.mini h3{ margin:10px 0 6px; font-size:16px; line-height:1.25; }
.mini p{ margin:0; color:var(--muted); font-size:13px; }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:18px 0 12px;
}
.section-head h2{
  margin:0;
  font-size:18px;
  letter-spacing:.2px;
}
.section-head .meta{
  color:var(--muted);
  font-size:13px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin: 10px 0 18px;
}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--card);
  box-shadow: 0 8px 24px rgba(20,18,20,.06);
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.thumb{
  display:block;
  aspect-ratio: 16 / 9;
  overflow:hidden;
  background:#f4f2f4;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
}
.card-body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.kicker{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:12px;
}
.kicker b{
  font-weight:700;
  color:var(--brand);
}
.card h3{
  margin:0;
  font-size:17px;
  line-height:1.25;
  letter-spacing:-.1px;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.card .read{
  margin-top:auto;
  display:inline-flex;
  gap:8px;
  align-items:center;
  color:var(--brand);
  font-size:13px;
}

.pagination{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  margin: 18px 0 40px;
  flex-wrap:wrap;
}
.page-link{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font-size:14px;
  color:var(--muted);
}
.page-link.active{
  border-color: rgba(123,31,42,.30);
  background: var(--brand-soft);
  color:var(--brand);
  font-weight:700;
}
.page-link:hover{ color:var(--brand); background:var(--brand-soft); }

footer{
  border-top:1px solid var(--border);
  padding:22px 0 30px;
  color:var(--muted);
  font-size:13px;
}
.footer-grid{
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer-grid a{ color:var(--brand); }

/* Article */
.article-wrap{
  padding: 22px 0 36px;
}
.breadcrumbs{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
}
.breadcrumbs a{ color:var(--brand); }
.article{
  margin-top:10px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.article-head{
  padding:18px 18px 0;
}
.article h1{
  margin:10px 0 8px;
  font-size:34px;
  line-height:1.15;
  letter-spacing:-.4px;
}
.article-meta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.article-hero{
  margin-top:14px;
  aspect-ratio: 16/9;
  background:#f4f2f4;
  overflow:hidden;
}
.article-hero img{ width:100%; height:100%; object-fit:cover; }
.article-body{
  padding:18px;
}
.article-body p{ margin: 0 0 12px; }
.article-body h2{
  margin: 18px 0 8px;
  font-size:18px;
  letter-spacing:-.2px;
}
.note{
  background: #fff;
  border:1px dashed rgba(123,31,42,.25);
  border-radius: var(--radius-sm);
  padding:12px 12px;
  color:var(--muted);
  font-size:13px;
}
.credit{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
}
.related{
  margin-top:18px;
}
.related h3{ margin:0 0 10px; font-size:16px; }
.related-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.related a{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  display:block;
  background:#fff;
}
.related a:hover{ background:var(--brand-soft); border-color: rgba(123,31,42,.25); }
.related small{ display:block; color:var(--muted); margin-top:4px; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-side{ grid-template-rows:1fr; grid-template-columns:1fr 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .related-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero-title{ font-size:30px; }
  .article h1{ font-size:30px; }
}
@media (max-width: 640px){
  .grid{ grid-template-columns:1fr; }
  .hero-side{ grid-template-columns:1fr; }
  .related-grid{ grid-template-columns:1fr; }
  .hero-title{ font-size:26px; }
  .article h1{ font-size:26px; }
}


