/* Template 19: Content Portal (社区论坛 · 资讯综合门户风) */
:root {
  --primary: #ea580c;
  --accent: #f59e0b;
  --bg: #0e0d0c;
  --surface: #191816;
  --border: rgba(234, 88, 12, 0.25);
  --text: #f8fafc;
  --text-muted: #a8a29e;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.portal-header { background: #141311; border-bottom: 2px solid var(--primary); padding: 0.8rem 0; position: sticky; top: 0; z-index: 100; }
.portal-header-inner { display: flex; justify-content: space-between; align-items: center; }
.portal-header img { height: 38px; display: block; }
.portal-nav { display: flex; gap: 1.75rem; list-style: none; font-weight: 600; font-size: 0.95rem; }
.portal-nav a:hover, .portal-nav a.active { color: var(--primary); }

.portal-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--border); }
.portal-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; }
.portal-hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
.portal-hero p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }

.portal-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin: 3rem 0; }
.portal-article-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.8rem; }
.portal-article-card h4 { font-size: 1.2rem; margin-bottom: 0.6rem; color: #fff; }
.portal-article-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.portal-footer { border-top: 2px solid var(--primary); padding: 3rem 0; text-align: center; font-size: 0.85rem; color: #78716c; }

@media (max-width: 992px) {
  .portal-hero-grid, .portal-articles-grid { grid-template-columns: 1fr; }
  .portal-nav { display: none; }
}
