/* Aurora — editorial/magazine theme */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font, Georgia, serif);
  color: #1f2937;
  background: #fff;
  line-height: 1.65;
}
a { color: var(--accent, #2563eb); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--maxw, 1100px); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { border-bottom: 1px solid #e5e7eb; padding: 1rem 0 0.5rem; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.brand { font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.brand-logo { max-height: 44px; }
.nav { display: flex; gap: 1.1rem; flex: 1; flex-wrap: wrap; font-family: system-ui, sans-serif; font-size: .95rem; }
.nav a { color: #374151; }
.search input { padding: .4rem .6rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: .9rem; }
.tagline { color: #6b7280; font-style: italic; padding-bottom: .5rem; }

/* Layout */
.layout { display: grid; gap: 2.5rem; padding: 2rem 1.25rem; }
.layout.with-sidebar { grid-template-columns: 1fr 300px; }
.layout.no-sidebar { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .layout.with-sidebar { grid-template-columns: 1fr; } }

/* Post grid + cards */
.post-grid { display: grid; gap: 2rem; }
.postcard { border-bottom: 1px solid #eee; padding-bottom: 1.5rem; }
.postcard-img img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 8px; }
.postcard-title { font-size: 1.6rem; margin: .8rem 0 .3rem; line-height: 1.25; }
.postcard-title a { color: var(--primary); }
.postcard-meta { color: #6b7280; font-size: .85rem; font-family: system-ui, sans-serif; }
.postcard-excerpt { color: #374151; }
.readmore { font-family: system-ui, sans-serif; font-weight: 600; font-size: .9rem; }

/* Archive */
.archive-title { font-size: 2rem; border-bottom: 2px solid var(--accent); padding-bottom: .4rem; }
.empty { color: #6b7280; }

/* Single */
.single .post-title { font-size: 2.5rem; line-height: 1.15; margin: .5rem 0; color: var(--primary); }
.post-meta { color: #6b7280; font-family: system-ui, sans-serif; font-size: .9rem; margin-bottom: 1.2rem; }
.featured img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 10px; margin: 1rem 0; }
.post-body { font-size: 1.12rem; }
.post-body h2 { font-size: 1.7rem; margin-top: 2rem; }
.post-body h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.post-body figure { margin: 1.5rem 0; }
.post-body figcaption { font-size: .82rem; color: #6b7280; text-align: center; font-family: system-ui, sans-serif; }
.post-body blockquote { border-left: 4px solid var(--accent); margin: 1.5rem 0; padding: .3rem 1.2rem; color: #4b5563; font-style: italic; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.post-body th, .post-body td { border: 1px solid #e5e7eb; padding: .6rem; text-align: left; }
.post-body img { border-radius: 8px; }

.takeaways { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem 1.4rem; margin: 1.5rem 0; }
.takeaways h3 { margin-top: 0; }
.faq details { border-bottom: 1px solid #eee; padding: .6rem 0; }
.faq summary { font-weight: 600; cursor: pointer; }

.tags { margin: 1.6rem 0; font-family: system-ui, sans-serif; }
.tags a { display: inline-block; background: #f3f4f6; padding: .25rem .6rem; border-radius: 999px; margin: 0 .4rem .4rem 0; font-size: .82rem; color: #4b5563; }

/* Related */
.related { margin-top: 2.5rem; border-top: 1px solid #eee; padding-top: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.related-card { display: block; font-family: system-ui, sans-serif; font-size: .9rem; color: var(--primary); }
.related-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: .4rem; }

/* Sidebar */
.sidebar { font-family: system-ui, sans-serif; }
.widget { margin-bottom: 2rem; }
.widget h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; border-bottom: 2px solid var(--accent); padding-bottom: .3rem; }
.cat-list { list-style: none; padding: 0; }
.cat-list li { padding: .3rem 0; border-bottom: 1px solid #f3f4f6; }

/* Breadcrumbs */
.breadcrumbs { font-family: system-ui, sans-serif; font-size: .82rem; color: #6b7280; margin-bottom: .8rem; }
.breadcrumbs .sep { margin: 0 .4rem; color: #cbd5e1; }

/* Pagination */
.pagination { display: flex; align-items: center; gap: 1.5rem; justify-content: center; margin: 2.5rem 0; font-family: system-ui, sans-serif; }
.page-info { color: #6b7280; font-size: .9rem; }

/* Comments */
.comments { margin-top: 3rem; border-top: 1px solid #eee; padding-top: 1.5rem; font-family: system-ui, sans-serif; }
.comment-list { list-style: none; padding: 0; }
.comment { border-bottom: 1px solid #f3f4f6; padding: .9rem 0; }
.comment.is-owner { background: #f8fafc; border-radius: 8px; padding: .9rem; }
.comment-meta { font-size: .85rem; color: #6b7280; }
.comment-form { margin: 1rem 0 2rem; display: grid; gap: .6rem; }
.comment-form .form-row { display: flex; gap: .6rem; }
.comment-form input, .comment-form textarea { width: 100%; padding: .5rem .7rem; border: 1px solid #d1d5db; border-radius: 6px; font: inherit; }
.comment-form .hp { display: none !important; }
.btn { background: var(--accent); color: #fff; border: 0; padding: .55rem 1.1rem; border-radius: 6px; cursor: pointer; font-weight: 600; justify-self: start; }

/* Footer */
.site-footer { border-top: 1px solid #e5e7eb; margin-top: 3rem; padding: 2rem 0; color: #6b7280; font-family: system-ui, sans-serif; font-size: .9rem; }
.footer-nav a { margin-right: 1rem; color: #6b7280; }
