/* Mappa Blog — shared styles */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #F2EDE4; --ink: #1C1008; --accent: #C4623A;
  --faint: #8B7355; --card: #FDFAF6; --border: #E5DDD0;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Layout */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); padding: 0 24px; height: 56px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.site-header .logo { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.site-header .cta-btn { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }

.article-wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.article-hero { margin-bottom: 40px; }
.article-hero .category { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.article-hero h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; color: var(--ink); }
.article-hero .meta { font-size: 13px; color: var(--faint); }
.article-hero .intro { font-size: 19px; line-height: 1.6; color: var(--ink); margin-top: 24px; border-left: 4px solid var(--accent); padding-left: 20px; font-style: italic; }

/* Article body */
.article-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); margin: 44px 0 16px; line-height: 1.2; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 0; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body blockquote { margin: 32px 0; padding: 20px 24px; background: var(--card); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; font-style: italic; color: var(--faint); font-size: 18px; line-height: 1.6; }

/* CTA box */
.cta-box { background: var(--accent); color: #fff; border-radius: 16px; padding: 32px 28px; margin: 48px 0; text-align: center; }
.cta-box h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 10px; font-weight: 700; }
.cta-box p { margin: 0 0 20px; opacity: .9; font-size: 15px; }
.cta-box a { display: inline-block; background: #fff; color: var(--accent); padding: 12px 28px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 15px; }
.cta-box a:hover { background: var(--bg); }

/* Related */
.related { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); }
.related h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.related-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--ink); display: block; transition: transform .15s, box-shadow .15s; }
.related-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.related-card .rc-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.related-card .rc-title { font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.3; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.5); text-align: center; padding: 24px; font-size: 12px; }
.site-footer a { color: rgba(255,255,255,.7); }

@media (max-width: 600px) {
  .article-wrap { padding: 32px 16px 64px; }
}
