:root {
  --ink: #1a1a1a;
  --paper: #fdfcf9;
  --paper-2: #f3f1ea;
  --accent: #c8102e;
  --gold: #a8791a;
  --gold-bg: #fbf3de;
  --muted: #6b6b66;
  --border: #e2ded2;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }

.site-header { border-bottom: 3px solid var(--ink); background: var(--paper); }
.site-header .wrap { display: flex; align-items: baseline; gap: 14px; padding: 22px 20px 14px 20px; }
.logo { font-family: Georgia, "Times New Roman", serif; font-weight: 900; font-size: 30px; letter-spacing: -0.5px; display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; }
.tagline { color: var(--muted); font-size: 13px; font-style: italic; }
.site-nav { background: var(--ink); }
.site-nav .wrap { display: flex; gap: 4px; overflow-x: auto; padding: 0 20px; }
.site-nav a { color: #f0efe9; padding: 11px 14px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { background: var(--accent); color: #fff; }

main.wrap { padding: 28px 20px 50px 20px; min-height: 60vh; }
.section-title {
  font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 800;
  margin: 0 0 18px 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-featured { grid-template-columns: repeat(3, 1fr); margin-bottom: 30px; }
.featured-section .card { border: 2px solid var(--ink); }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
.card-image { height: 170px; background-size: cover; background-position: center; background-color: var(--paper-2); }
.card-image-empty { background: linear-gradient(135deg, var(--paper-2), var(--border)); }
.card-body { padding: 14px 16px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-category { display: inline-block; color: var(--accent); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.card-title { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 800; line-height: 1.25; margin: 0; }
.card-excerpt { color: #3a3a38; font-size: 13.5px; margin: 0; flex: 1; }
.card-date { color: var(--muted); font-size: 12px; }

.empty-state { padding: 60px 0; text-align: center; color: var(--muted); font-size: 16px; }

.morocota-widget {
  background: var(--gold-bg); border: 2px solid var(--gold); border-radius: 8px;
  padding: 20px 22px; margin-bottom: 30px;
}
.morocota-widget h2 { font-family: Georgia, "Times New Roman", serif; font-size: 20px; margin: 0 0 6px 0; color: #5c4108; }
.morocota-widget-sub { margin: 0 0 16px 0; font-size: 14px; color: #6b5a2a; max-width: 640px; }
.morocota-widget-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 12px; }
.morocota-stat { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--gold); border-radius: 6px; padding: 10px 12px; }
.morocota-stat .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.morocota-stat .value { font-size: 19px; font-weight: 800; color: var(--ink); }
.morocota-stat-highlight { background: var(--gold); border-color: var(--gold); }
.morocota-stat-highlight .label { color: #4a3506; }
.morocota-stat-highlight .value { color: #fff; }
.morocota-widget-footer { margin: 0; font-size: 12.5px; color: #6b5a2a; }

@media (max-width: 900px) {
  .morocota-widget-grid { grid-template-columns: repeat(2, 1fr); }
}

.article { max-width: 720px; margin: 0 auto; }
.article-title { font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 900; line-height: 1.2; margin: 10px 0 8px 0; }
.article-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.article-image { width: 100%; border-radius: 4px; margin-bottom: 20px; }
.article-body { font-size: 17px; line-height: 1.7; }
.article-body p { margin: 0 0 1.1em 0; }
.article-body img { max-width: 100%; border-radius: 4px; }
.article-body h2, .article-body h3 { font-family: Georgia, "Times New Roman", serif; }
.article-body blockquote { border-left: 3px solid var(--accent); margin: 1.2em 0; padding: 0.2em 1em; color: #444; }

.site-footer { border-top: 3px solid var(--ink); margin-top: 40px; padding: 20px 0 40px 0; color: var(--muted); font-size: 13px; }
.site-footer a { color: var(--accent); font-weight: 600; }

@media (max-width: 900px) {
  .grid, .grid-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid, .grid-featured { grid-template-columns: 1fr; }
  .logo { font-size: 24px; }
  .article-title { font-size: 26px; }
}
