:root {
  --brand: #7c3aed;
  --accent: #c084fc;
  --bg: #ffffff;
  --bg-secondary: #f8f7ff;
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-nav {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.nav-links a:hover {
  color: var(--brand);
}

.hero {
  background: var(--bg-secondary);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.hero-content {
  flex: 1;
}

.hero-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-title a:hover {
  color: var(--brand);
}

.hero-excerpt {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-sep {
  margin: 0 6px;
}

.hero-image {
  flex-shrink: 0;
  width: 300px;
  height: 220px;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: var(--radius);
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0;
}

.section-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-card-link {
  display: block;
}

.post-card-image {
  height: 160px;
  overflow: hidden;
}

.post-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  opacity: 0.85;
}

.post-card:nth-child(2) .post-card-image-placeholder {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.post-card:nth-child(3) .post-card-image-placeholder {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.post-card:nth-child(4) .post-card-image-placeholder {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.post-card:nth-child(5) .post-card-image-placeholder {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.post-card:nth-child(6) .post-card-image-placeholder {
  background: linear-gradient(135deg, #fa709a, #fee140);
}

.post-card:nth-child(7) .post-card-image-placeholder {
  background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

.post-card:nth-child(8) .post-card-image-placeholder {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.post-card:nth-child(9) .post-card-image-placeholder {
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

.post-card-body {
  padding: 16px;
}

.post-card-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.post-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.35;
  color: var(--text);
}

.post-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.home-sidebar {
  padding-top: 8px;
}

.sidebar-section {
  margin-bottom: 36px;
}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.popular-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.popular-item:hover .popular-title {
  color: var(--brand);
}

.popular-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand);
  min-width: 24px;
}

.popular-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.15s;
}

.newsletter-box {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 24px;
}

.newsletter-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
}
.newsletter-input:focus {
  outline: 2px solid var(--brand);
  border-color: transparent;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 0.8rem;
  background: var(--bg-secondary);
  border-radius: 20px;
  color: var(--text-secondary);
  transition: background 0.15s;
}
.tag:hover {
  background: var(--brand);
  color: white;
}

.tag-count {
  font-size: 0.7rem;
  opacity: 0.7;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}

.btn-primary {
  background: var(--brand);
  color: white;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-title {
  font-weight: 700;
  font-size: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-social a:hover {
  color: var(--brand);
}

.affiliate-cta {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
  text-align: center;
}
.affiliate-cta p {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.ad-slot {
  padding: 16px 0;
  text-align: center;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner {
    flex-direction: column;
  }
  .hero-image {
    width: 100%;
    height: 200px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
}
@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 16px;
    font-size: 0.8rem;
  }
  .hero {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 1.4rem;
  }
}
.post-single {
  padding-bottom: 60px;
}

.post-header {
  background: var(--bg-secondary);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.post-categories {
  margin-bottom: 8px;
}

.post-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.post-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 720px;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.post-content-grid {
  max-width: 720px;
  padding: 40px 0;
}

.post-body {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}
.post-body h2 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}
.post-body h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 12px;
}
.post-body p {
  margin-bottom: 20px;
}
.post-body ul, .post-body ol {
  margin: 16px 0 20px 24px;
}
.post-body ul li, .post-body ol li {
  margin-bottom: 8px;
}
.post-body blockquote {
  border-left: 3px solid var(--brand);
  padding: 12px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-body a:hover {
  opacity: 0.8;
}
.post-body strong {
  font-weight: 600;
}
.post-body code {
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.post-body pre {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 24px 0;
}
.post-body pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
}
.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.post-sources {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
}
.post-sources h3 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.post-sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-sources li {
  padding: 6px 0;
  font-size: 0.9rem;
  font-family: var(--font-sans);
}
.post-sources a {
  color: var(--brand);
}
.post-sources a:hover {
  opacity: 0.8;
}

/*# sourceMappingURL=main.css.map */