/* Swear Like a Mother — site styles */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&display=swap');

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

html { font-size: 16px; }

body {
  background: #FEF8EE;
  color: #1C1007;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.75;
}

a { color: #B84A2F; }
a:hover { color: #8C3420; }

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

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

.shell {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  background: #B84A2F;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #FEF8EE;
  border-radius: 6px;
  color: #B84A2F;
  font-size: 50px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  line-height: 1;
  letter-spacing: 0;
  padding-top: 16px;
  flex-shrink: 0;
}

.brand-name {
  color: #FEF8EE;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: rgba(254, 248, 238, 0.8);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover { color: #FEF8EE; }

/* ── Intro band ──────────────────────────────────────── */

.site-intro {
  background: #F7EEE4;
  border-bottom: 2px solid #DDD0C4;
  padding: 36px 0;
}

.site-intro p {
  font-size: 1.15rem;
  color: #7A6555;
  font-style: italic;
}

/* ── Hero image ──────────────────────────────────────── */

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

/* ── Article feed (homepage) ─────────────────────────── */

.article-feed {
  padding: 56px 0;
}

.feed-item {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 2px solid #DDD0C4;
}

.feed-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feed-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  margin-bottom: 28px;
}

.feed-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B84A2F;
  margin-bottom: 8px;
}

.feed-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1C1007;
  margin-bottom: 14px;
}

.feed-title a {
  color: inherit;
  text-decoration: none;
}

.feed-title a:hover { color: #B84A2F; }

.feed-dek {
  font-size: 1.05rem;
  color: #7A6555;
  font-style: italic;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ── Article body (shared) ───────────────────────────── */

.article-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1C1007;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: 0.01em;
}

.article-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #B84A2F;
  margin: 1.75rem 0 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-body p {
  margin-bottom: 1.25rem;
}

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

.article-body ul {
  margin: 0 0 1.25rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body strong { font-weight: 700; }

.article-body a { color: #B84A2F; }

.article-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #DDD0C4;
  font-size: 0.9rem;
  color: #7A6555;
  font-style: italic;
}

.article-related a {
  color: #B84A2F;
  text-decoration: none;
}

.article-related a:hover { text-decoration: underline; }

.permalink-line {
  margin-top: 1.75rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.permalink-line a {
  color: #B84A2F;
  text-decoration: none;
}

.permalink-line a:hover { text-decoration: underline; }

/* ── Single post page ────────────────────────────────── */

.post-header {
  background: #F7EEE4;
  border-bottom: 2px solid #DDD0C4;
  padding: 48px 0 40px;
}

.post-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B84A2F;
  margin-bottom: 10px;
}

.post-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1C1007;
}

.post-dek {
  font-size: 1.1rem;
  color: #7A6555;
  font-style: italic;
  margin-top: 14px;
  line-height: 1.6;
}

.post-body {
  padding: 48px 0 64px;
}

.post-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  margin-bottom: 40px;
}

/* ── Blog index ──────────────────────────────────────── */

.page-header {
  background: #F7EEE4;
  border-bottom: 2px solid #DDD0C4;
  padding: 40px 0;
}

.page-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #1C1007;
}

.blog-list {
  list-style: none;
  padding: 48px 0 64px;
}

.blog-list li {
  border-bottom: 1px solid #DDD0C4;
  padding: 28px 0;
}

.blog-list li:first-child { padding-top: 0; }
.blog-list li:last-child { border-bottom: none; }

.blog-list a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1C1007;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.blog-list a:hover { color: #B84A2F; }

.blog-list .dek {
  font-size: 0.95rem;
  color: #7A6555;
  font-style: italic;
}

/* ── About page ──────────────────────────────────────── */

.about-body {
  padding: 48px 0 64px;
}

.about-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1C1007;
  margin: 2rem 0 0.75rem;
}

.about-body p {
  margin-bottom: 1.25rem;
  color: #1C1007;
}

/* ── 404 ─────────────────────────────────────────────── */

.lost {
  padding: 100px 0;
  text-align: center;
}

.lost-mark {
  font-family: 'Oswald', sans-serif;
  font-size: 88px;
  font-weight: 600;
  color: #B84A2F;
  line-height: 1;
  margin-bottom: 24px;
}

.lost h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1C1007;
  margin-bottom: 12px;
}

.lost p {
  color: #7A6555;
  margin-bottom: 28px;
  font-style: italic;
}

.lost a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B84A2F;
  text-decoration: none;
}

.lost a:hover { text-decoration: underline; }

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

.site-footer {
  background: #1C1007;
  color: rgba(254, 248, 238, 0.5);
  padding: 32px 0;
  font-size: 0.875rem;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: rgba(254, 248, 238, 0.5);
  text-decoration: none;
}

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

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

@media (max-width: 600px) {
  .brand-name { display: none; }
  .feed-title { font-size: 1.65rem; }
  .post-title { font-size: 1.8rem; }
  .hero-img { height: 260px; }
  .site-nav { gap: 18px; }
}
