/* ── Reset & Base ─────────────────────────────────────────────── */

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

body {
  margin: 0;
  background: #e8e4dc;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.625;
  color: #333;
}

a {
  color: #B75343;
  text-decoration: none;
}

a:hover {
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Typography ───────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  color: #211b1a;
}

h1 { font-size: 26px; }
h2 { font-size: 24px; }
h3 { font-size: 22px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin: 0 0 1em;
}

/* ── Site Header ──────────────────────────────────────────────── */

.site-header {
  background: #211b1a;
}

.site-branding {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px 8px;
}

.site-title {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 400;
}

.site-title a {
  color: #eaeaea;
  text-decoration: none;
}

.site-title a:hover {
  color: #fff;
}

.site-subtitle {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #eaeaea;
  letter-spacing: 0.05em;
}

/* ── Navigation ───────────────────────────────────────────────── */

.site-nav {
  background: #211b1a;
  border-top: 1px solid #3a3130;
}

.site-nav ul {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: block;
  padding: 12px 14px;
  color: #eaeaea;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: #3a3130;
}

/* ── Hero Strip ───────────────────────────────────────────────── */

.hero {
  width: 100%;
  height: 330px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── Page Layout ──────────────────────────────────────────────── */

.wrapper {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 24px 20px;
  gap: 0;
}

.main-content {
  width: 67%;
  background: #fff;
  padding: 24px 40px 24px 24px;
  border: 1px solid #e5e5e5;
  min-width: 0;
}

.sidebar {
  width: 33%;
  padding: 0 0 0 24px;
  min-width: 0;
}

/* ── Page & Post Content ──────────────────────────────────────── */

.page-title {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}

.post-meta {
  color: #888;
  font-size: 13px;
  margin: -4px 0 16px;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5em;
}

/* ── Callout Box ──────────────────────────────────────────────── */

.callout {
  background: #e8f2f9;
  border-left: 4px solid #5b8fb9;
  padding: 16px 20px;
  margin: 0 0 1.2em;
  border-radius: 2px;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ── Post List ────────────────────────────────────────────────── */

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
}

.post-list-item:last-child {
  border-bottom: none;
}

.post-list-title {
  margin: 0 0 4px;
  font-size: 18px;
}

.post-list-title a {
  color: #B75343;
}

.post-list-title a:hover {
  color: #000;
}

/* ── Sidebar ──────────────────────────────────────────────────── */

.sidebar-widget {
  margin-bottom: 28px;
}

.sidebar-widget h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #211b1a;
  padding-bottom: 6px;
  margin-top: 0;
  color: #211b1a;
}

.recent-posts,
.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li,
.archive-list li {
  border-bottom: 1px solid #e5e5e5;
  padding: 6px 0;
  font-size: 14px;
}

.recent-posts li:last-child,
.archive-list li:last-child {
  border-bottom: none;
}

/* ── Footer ───────────────────────────────────────────────────── */

.site-footer {
  background: #211b1a;
  color: #eaeaea;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  margin-top: 24px;
}

.site-footer a {
  color: #eaeaea;
}

.site-footer a:hover {
  color: #fff;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 640px) {
  .wrapper {
    flex-direction: column;
    padding: 16px;
  }

  .main-content {
    width: 100%;
    padding: 16px;
  }

  .sidebar {
    width: 100%;
    padding: 16px 0 0;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    padding: 10px 14px;
  }

  .hero {
    height: 140px;
  }
}
