:root {
  --green: #1a4a2e; 
  --green-mid: #2d6e47; 
  --green-light: #e8f2ec;
  --cream: #f5e9c8; 
  --cream-dark: #d4b96a;
  --text: #1a2e22; 
  --text-muted: #4a6a55; 
  --white: #fffdf7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', system-ui, -apple-system, sans-serif; background: var(--white); color: var(--text); padding-top: 60px; }

/* NAV */
nav { background: var(--green); padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; height: 60px; position: fixed; top: 0; left: 0; right: 0; z-index: 200; }

.subnav {
  display: none;
  background: var(--green-mid);
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 199;
  padding: 0;
}

.subnav a {
  display: inline-block;
  color: var(--cream);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  border-right: 1px solid rgba(245,233,200,0.15);
  transition: background 0.2s;
  white-space: nowrap;
}

.subnav a:hover { background: rgba(245,233,200,0.1); }
.subnav a.active-nav { color: var(--cream-dark); }

@media (max-width: 600px) { 
  .nav-links .hide-mobile { display: none; } 
  .subnav { display: flex; flex-wrap: nowrap; overflow-x: auto; }
  body { padding-top: 100px; }
}

.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; flex-shrink: 0; text-decoration: none; }
.nav-logo-text { font-family: 'Playfair Display', Georgia, serif; color: var(--cream); font-size: 17px; font-weight: 700; line-height: 1.1; }
.nav-logo-sub { color: var(--cream-dark); font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a { color: var(--cream); text-decoration: none; font-size: 14px; font-weight: 600; opacity: 0.85; cursor: pointer; white-space: nowrap; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--cream) !important; color: var(--green) !important; padding: 7px 16px !important; border-radius: 24px; opacity: 1 !important; font-weight: 700 !important; font-size: 13px !important; }

@media (max-width: 600px) {
  .nav-links .hide-mobile { display: none; }
  .nav-cta { padding: 6px 12px !important; font-size: 12px !important; white-space: nowrap; }
  .nav-links { gap: 0.4rem; }
  .nav-links li:not(:last-child) { display: none; }
}

/* FOOTER */
footer { 
  background: var(--green) !important;
  color: var(--cream) !important;
  text-align: center !important;
  padding: 2rem 1.25rem !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  width: 100% !important;
  display: block !important;
}

footer * {
  margin: 0 !important;
  padding: 0 !important;
}

footer strong { 
  color: var(--cream) !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer span {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* MAIN CONTENT */
.wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem 1.5rem;
  width: 100%;
}

main h1 {
  margin: 0.5rem 0 !important;
  padding: 0 !important;
}

.wp-block-group[class*="wp-container"] {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 !important;
}

/* Blog posts list */
.wp-block-post-template {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Individual post */
.wp-block-post {
  background: #f9f9f9;
  border-left: 4px solid var(--green);
  padding: 2rem;
  margin: 0 0 1rem 0;
  border-radius: 6px;
  transition: all 0.2s;
  width: 100%;
  max-width: 800px;
}

.wp-block-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 74, 46, 0.08);
}

.wp-block-post-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  padding: 0;
}

.wp-block-post-title a {
  color: var(--green);
  text-decoration: none;
}

.wp-block-post-title a:hover {
  color: var(--cream-dark);
}

.wp-block-post-author,
.wp-block-post-date {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.wp-block-post-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 1rem 0;
  padding: 0;
}

.wp-block-post-excerpt p {
  margin: 0;
  padding: 0;
}

.wp-block-post-featured-image {
  margin: 1rem 0;
}

.wp-block-post-featured-image img {
  border-radius: 6px;
  width: 100%;
  height: auto;
  display: block;
}

.entry-content {
  line-height: 1.8;
  color: var(--text);
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.entry-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green);
  font-size: 26px;
  margin: 1.75rem 0 0.75rem;
  padding: 0;
  font-weight: 700;
}

.entry-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green-mid);
  font-size: 20px;
  margin: 1.5rem 0 0.5rem;
  padding: 0;
}

.entry-content p {
  margin: 0 0 1rem;
  padding: 0;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.entry-content a:hover {
  color: var(--cream-dark);
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  main {
    padding: 0 1rem 1rem 1rem;
  }

  .wp-block-post {
    padding: 1.5rem;
    margin: 0 0 1rem 0;
    max-width: 100%;
  }

  .wp-block-post-title {
    font-size: 22px;
  }

  .entry-content {
    max-width: 100%;
  }

  .entry-content h2 {
    font-size: 20px;
  }

  .entry-content h3 {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  main {
    padding: 0 1rem 1rem 1rem;
  }

  .wp-block-post {
    padding: 1rem;
    margin: 0 0 1rem 0;
    max-width: 100%;
  }

  .wp-block-post-title {
    font-size: 19px;
  }

  .entry-content {
    font-size: 15px;
    max-width: 100%;
  }

  .entry-content h2 {
    font-size: 18px;
  }
}
