* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  color: #1a1a1a;
  background: #f5f5f5;
  line-height: 1.5;
}

/* Header */
header {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
}

header h1 a {
  color: #d32f2f;
  text-decoration: none;
}

header h1 a:hover {
  text-decoration: underline;
}

.tagline {
  margin: 0.25rem 0 0.75rem;
  color: #666;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: #b71c1c;
}

/* Quick Nav */
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
}

.quick-nav a {
  color: #d32f2f;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  transition: background 0.2s;
}

.quick-nav a:hover {
  background: #fce4ec;
}

/* Forum Sections */
.forum-section {
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.section-cover {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Posts */
.forum-section .post {
  padding: 1rem;
  border-top: 1px solid #f0f0f0;
}

.forum-section .post:first-of-type {
  border-top: none;
}

.post-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.post-link:hover h3 {
  color: #d32f2f;
}

.post-link:hover .post-cover {
  opacity: 0.9;
}

.post-cover {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s;
}

.post h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #1a1a1a;
  transition: color 0.2s;
}

.post .meta {
  font-size: 0.8rem;
  color: #999;
  margin: 0 0 0.5rem;
}

.post .body {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* Footer */
footer {
  margin-top: 2rem;
  border-top: 2px solid #e0e0e0;
  padding-top: 1.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #d32f2f;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.4rem;
}

.footer-col p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

a.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #fce4ec;
  color: #c62828;
  font-size: 0.78rem;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

a.tag:hover {
  background: #f8bbd0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #d32f2f;
}

.footer-disclaimer {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: #999;
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 0.3rem;
}

.footer-seo {
  font-size: 0.72rem !important;
  color: #bbb !important;
  word-spacing: 0.15em;
}

/* Responsive */
@media (min-width: 520px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main .footer-col:first-child {
    grid-column: 1 / -1;
  }
}
