@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --bg: #ffffff;
  --bg-card: #FAFAF9;
  --text: #1A1A18;
  --text-muted: #6B6860;
  --accent: #C85A1E;
  --accent-light: #F2E8DE;
  --border: #E8E4DC;
  --tag-bg: #F0EDE6;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
}

.nav-logo em { color: var(--accent); font-style: italic; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); font-weight: 500; }

.nav-btn {
  background: var(--accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
}

.nav-btn:hover { background: #A8481A; }

/* MAIN CONTENT */
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ARTICLE PAGES */
.article-body { max-width: 680px; margin: 0 auto; padding: 48px 0 80px; }
.article-body h2 { font-family: 'DM Serif Display', serif; font-size: 26px; font-weight: 400; margin: 40px 0 14px; }
.article-body p { font-size: 17px; line-height: 1.75; color: #2A2A28; margin-bottom: 20px; }
.article-body ul { padding-left: 20px; margin-bottom: 20px; }
.article-body ul li { font-size: 17px; line-height: 1.75; color: #2A2A28; margin-bottom: 8px; }

.callout { background: var(--accent-light); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 32px 0; font-size: 16px; line-height: 1.65; }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-decoration: none; font-size: 14px; margin-bottom: 32px; }
.back-link:hover { color: var(--accent); }

.article-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.article-date { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }

/* DOWNLOAD BOX */
.download-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--accent-light); border: 1px solid #E8C9B3; border-radius: 14px; padding: 20px 24px; margin: 32px 0; }
.download-box-left { display: flex; align-items: center; gap: 14px; }
.download-label { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.btn-download { display: inline-flex; align-items: center; gap: 7px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 100px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.btn-download:hover { background: #A8481A; }
.btn-download svg { width: 14px; height: 14px; }
.badge { background: var(--accent); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 20px; margin-left: 6px; font-weight: 600; }

/* RESOURCE LIST */
.resource-row { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 0.5px solid var(--border); gap: 20px; text-decoration: none; color: var(--text); }
.resource-row:hover .resource-title { color: var(--accent); }
.resource-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.resource-title { font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 400; margin-bottom: 4px; line-height: 1.3; transition: color 0.15s; }
.resource-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.arrow { font-size: 18px; color: var(--text-muted); flex-shrink: 0; }
.section-divider { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 28px 0 14px; border-bottom: 0.5px solid var(--border); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; padding: 13px 26px; border-radius: 100px; text-decoration: none; transition: background 0.15s; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #A8481A; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* FOOTER */
.site-footer { border-top: 0.5px solid var(--border); padding: 24px 48px; display: flex; justify-content: space-between; align-items: center; margin-top: 80px; }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 15px; color: var(--text); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* OLD FOOTER for article pages */
.footer { margin-top: 72px; padding-top: 32px; border-top: 0.5px solid var(--border); font-size: 13px; color: var(--text-muted); }
.footer a { color: var(--accent); text-decoration: none; }

/* SECTION LABEL */
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-nav { padding: 16px 20px; }
  .nav-links a:not(.nav-btn) { display: none; }
  .page-content { padding: 0 20px; }
  .article-body { padding: 32px 0 60px; }
  .site-footer { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }
}
