/* Jessica — a warm, minimal dating & relationships journal */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: #faf7f2;
  color: #3a2e28;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- header ---------- */
.site-top {
  border-bottom: 1px solid #e6dcd0;
  background: #fdfbf7;
  text-align: center;
  padding: 38px 0 0;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

.logo a {
  color: #3a2e28;
  text-decoration: none;
}

.logo .dot { color: #c96f4a; }

.motto {
  color: #8d7a6c;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 6px 0 22px;
}

.topmenu {
  border-top: 1px solid #efe6da;
  padding: 12px 0;
}

.topmenu a {
  color: #5d4c41;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 16px;
}

.topmenu a:hover { color: #c96f4a; }

/* ---------- home layout ---------- */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  padding: 48px 0 60px;
}

.section-head {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b85c38;
  border-bottom: 2px solid #c96f4a;
  display: inline-block;
  padding-bottom: 6px;
  margin: 0 0 26px;
}

/* featured article */
.featured {
  margin-bottom: 52px;
}

.featured .kicker {
  color: #c96f4a;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.featured h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.featured h2 a {
  color: #3a2e28;
  text-decoration: none;
}

.featured h2 a:hover { color: #b85c38; }

.featured p.excerpt {
  font-size: 18px;
  color: #5d4c41;
  margin: 10px 0 14px;
}

.byline {
  color: #8d7a6c;
  font-size: 14px;
  margin: 0 0 8px;
}

.byline .sep { margin: 0 8px; color: #cbb9a6; }

.read-on {
  color: #b85c38;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #c96f4a;
  padding-bottom: 2px;
}

.read-on:hover { color: #3a2e28; border-color: #3a2e28; }

/* entry list */
.entry {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid #e6dcd0;
}

.entry-date {
  color: #b09a86;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-top: 6px;
}

.entry h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.entry h3 a {
  color: #3a2e28;
  text-decoration: none;
}

.entry h3 a:hover { color: #b85c38; }

.entry p {
  color: #5d4c41;
  font-size: 15px;
  margin: 0;
}

/* sidebar */
.sidebar .panel {
  background: #f3ece2;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 30px;
}

.sidebar .panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  margin: 0 0 16px;
  border-bottom: 1px solid #dccfc0;
  padding-bottom: 10px;
}

.popular-item {
  margin-bottom: 16px;
}

.popular-item:last-child { margin-bottom: 0; }

.popular-item a {
  color: #3a2e28;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  display: block;
}

.popular-item a:hover { color: #b85c38; }

.popular-item .when {
  color: #b09a86;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar .note {
  font-size: 14px;
  color: #6d5b4e;
}

/* ---------- article & pages ---------- */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 46px 0 70px;
}

.crumb {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b09a86;
  margin-bottom: 20px;
}

.crumb a { color: #b85c38; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.article-body h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.article-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.3;
  margin: 40px 0 12px;
  color: #453730;
}

.article-body p { margin: 0 0 18px; }

.article-body a {
  color: #b85c38;
  text-decoration: underline;
  text-decoration-color: #e0c3b3;
}

.article-body a:hover { color: #3a2e28; }

.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }

.signoff {
  border-top: 1px solid #e6dcd0;
  margin-top: 44px;
  padding-top: 20px;
  color: #8d7a6c;
  font-size: 14px;
}

/* ---------- footer ---------- */
.colophon {
  border-top: 1px solid #e6dcd0;
  padding: 26px 0 34px;
  text-align: center;
  font-size: 14px;
  color: #8d7a6c;
}

.colophon .footlinks { margin-bottom: 8px; }

.colophon .footlinks a {
  color: #5d4c41;
  text-decoration: none;
  margin: 0 12px;
}

.colophon .footlinks a:hover { color: #b85c38; }

.colophon .fine { font-size: 12.5px; color: #b09a86; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .home-grid { grid-template-columns: 1fr; }
  .featured h2 { font-size: 30px; }
  .article-body h1 { font-size: 32px; }
  .entry { grid-template-columns: 1fr; gap: 4px; }
}
