/*
Theme Name: Design Kids
Theme URI: https://designkids.com.au
Author: Design Kids
Description: Brochure theme for designkids.com.au. Creates the Home, About and Nursery Planning Guide pages on activation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: designkids
*/

:root {
  --paper: #fbf7f1;
  --card: #ffffff;
  --ink: #2d2a26;
  --muted: #6f6861;
  --accent: #d98c5f;
  --accent-soft: #f4dccb;
  --sage: #9db5a0;
  --line: #e9e1d6;
  --radius: 18px;
  --max: 64rem;
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { background: var(--paper); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem; flex-wrap: wrap;
}
.site-title { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.site-title a { color: var(--ink); text-decoration: none; }
.site-title a span { color: var(--accent); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.site-nav a {
  display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--ink); }
.site-nav .current-menu-item a { background: var(--ink); color: #fff; }

/* Hero */
.hero { padding: 3rem 0 2.5rem; text-align: center; }
.hero .wrap { max-width: 44rem; }
.hero h1 {
  margin: 0 0 0.75rem; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
}
.hero .tagline { margin: 0; color: var(--muted); font-size: 1.2rem; }
.hero::after {
  content: ""; display: block; width: 4rem; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sage)); margin: 1.75rem auto 0;
}

/* Content */
.site-main { padding: 1.5rem 0 4rem; }
.entry-content > * { max-width: 42rem; margin-left: auto; margin-right: auto; }
.entry-content > .wp-block-columns, .entry-content > .resources { max-width: none; }
.entry-content .lede { font-size: 1.25rem; line-height: 1.6; text-align: center; color: var(--ink); }
.entry-content h2 {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -0.015em; margin: 2.75rem auto 0.75rem;
}
.entry-content h3 { font-size: 1.15rem; font-weight: 700; margin: 1.75rem auto 0.4rem; }
.entry-content ul { padding-left: 1.2rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content li::marker { color: var(--accent); }
.wp-block-columns { display: flex; gap: 1.25rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.wp-block-column {
  flex: 1 1 15rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: 0 6px 20px rgba(45,42,38,0.05);
}
.wp-block-column h3 { margin-top: 0; }
.wp-block-column h3::before {
  content: ""; display: block; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--accent-soft); margin-bottom: 0.9rem;
}
.wp-block-column:nth-child(2) h3::before { background: #dfe8df; }
.wp-block-column:nth-child(3) h3::before { background: #e8e1f2; }
.resources {
  margin-top: 3rem; padding: 1.75rem 2rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.resources h3 { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .hero { padding: 2rem 0 1.5rem; }
  .entry-content .lede { text-align: left; }
}
