/* Fonts (Baloo 2 + Nunito) are loaded non-render-blocking in header.php. */

:root {
  /* Chihuahua blog brand palette */
  --cream: #fff7ec;
  --warm-cream: #fff1df;
  --blush: #f86f86;
  --blush-soft: #ffd6de;
  --chihuahua-tan: #d79a55;
  --caramel: #bd7436;
  --sky-blue: #a8e2ed;
  --cocoa: #2b180d;
  --muted-cocoa: #7c5b46;
  --white: #ffffff;
  --line: #f2d8c3;

  /* Fonts */
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shape and effects */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-soft: 0 16px 40px rgba(43, 24, 13, 0.08);
  --shadow-card: 0 10px 24px rgba(43, 24, 13, 0.06);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--font-body);
}

h1, h2, h3, .brand-wordmark {
  font-family: var(--font-heading);
  color: var(--cocoa);
  line-height: 1.05;   /* 0.95 made wrapped multi-line titles collide on phones */
}

h1 {
  font-size: clamp(3.25rem, 8vw, 6rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

a {
  color: inherit;
  text-decoration: none;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--blush);
  color: var(--white);
  padding: 0.9rem 1.35rem;
  font-weight: 800;
  box-shadow: var(--shadow-card);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--blush);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--blush);
  padding: 0.9rem 1.35rem;
  font-weight: 800;
}

.card {
  background: var(--white);
  border: 1px solid rgba(242, 216, 195, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.post-card img,
.hero-image,
.sidebar-card img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--blush-soft);
  color: var(--blush);
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
}

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);   /* plain 1fr can't shrink below long unbroken content */
  }
}
