/*
Theme Name: PuppyShot
Theme URI: https://example.com/puppyshot
Author: PuppyShot
Description: Lightweight custom blog theme converted from the PuppyShot static pet blog design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: puppyshot
*/

:root {
  --cream: #faf6f0;
  --warm-white: #fffdf9;
  --bark: #3d2b1f;
  --terracotta: #c4623a;
  --sage: #6b8f6e;
  --dusty-rose: #d4947a;
  --gold: #d4a853;
  --light-sage: #eaf0e8;
  --light-terra: #faeae3;
  --text-main: #2a1a10;
  --text-muted: #7a6258;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
  pointer-events: none;
  z-index: 1000;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 60px;
  background: rgba(250,246,240,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61,43,31,.08);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(61,43,31,.08); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--terracotta);
  border-radius: 50% 50% 50% 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform: rotate(-10deg);
}
.logo-text {
  font-family: "Nunito Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--bark);
  letter-spacing: 0;
}
.logo-text span { color: var(--terracotta); }
.primary-menu,
.footer-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu { align-items: center; }
.primary-menu a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  position: relative;
  transition: color .2s;
}
.primary-menu a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform .25s;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-parent > a { color: var(--terracotta); }
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current-menu-parent > a::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  background: var(--bark);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}
.container {
  width: min(1200px, calc(100% - 120px));
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.section-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--bark);
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}
.btn-primary,
.wp-block-button__link,
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(196,98,58,.3);
  transition: transform .25s, background .25s, gap .2s;
}
.btn-primary:hover,
.wp-block-button__link:hover,
.read-more:hover {
  background: var(--bark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-secondary {
  color: var(--bark);
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: gap .2s;
}
.btn-secondary:hover { gap: 14px; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--light-terra);
  border: 1px solid rgba(196,98,58,.25);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 28px;
}
.hero-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  color: var(--bark);
  letter-spacing: 0;
  margin: 0 0 24px;
}
.hero-title em,
.accent { color: var(--terracotta); font-style: italic; }
.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 0 44px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(61,43,31,.1);
}
.stat-number {
  font-family: "Nunito Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--bark);
}
.stat-label { font-size: 12px; color: var(--text-muted); }
.hero-right { position: relative; overflow: hidden; }
.hero-bg-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--light-sage), var(--light-terra));
}
.hero-card-grid {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 90px 60px;
}
.hero-card-row { display: flex; gap: 22px; }
.hero-card {
  flex: 1;
  min-height: 150px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(61,43,31,.08);
  animation: float 5s ease-in-out infinite;
}
.hero-card:nth-child(2) { animation-delay: -2s; }
.hcard-badge {
  display: inline-flex;
  margin-bottom: 18px;
  background: var(--light-terra);
  color: var(--terracotta);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.hcard-badge.green { background: var(--light-sage); color: var(--sage); }
.hcard-emoji { font-size: 28px; margin-bottom: 10px; }
.hcard-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--bark);
  line-height: 1.25;
}
.hcard-text { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-top: 8px; }

.categories,
.featured,
.recent,
.tips-section,
.content-section { padding: 80px 0; }
.featured-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.cat-card {
  background: var(--warm-white);
  border-radius: 24px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(61,43,31,.05);
  transition: transform .25s, box-shadow .25s;
}
.cat-card:hover,
.post-card:hover,
.recent-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61,43,31,.13);
}
.cat-icon {
  font-family: system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 32px;
  line-height: 1;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-name {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--bark);
  line-height: 1.25;
  margin: 0;
}
.cat-count { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.front-posts-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}
.post-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(61,43,31,.06);
  transition: transform .3s, box-shadow .3s;
}
.post-card.featured-main { grid-row: span 2; }
.post-thumb,
.post-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--bark);
}
.post-card.featured-main .post-thumb,
.post-img.big { height: 380px; }
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card:hover .post-thumb img,
.post-card:hover .post-thumb-fallback { transform: scale(1.08); }
.post-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  transition: transform .4s;
}
.img-bg-terra { background: linear-gradient(135deg,#faeae3,#edd5c8); }
.img-bg-sage { background: linear-gradient(135deg,#eaf0e8,#d2e0d0); }
.img-bg-gold { background: linear-gradient(135deg,#fbf0dc,#edd8a8); }
.img-bg-rose { background: linear-gradient(135deg,#f9e8e2,#edcec5); }
.img-bg-bark { background: linear-gradient(135deg,#ede5df,#d8ccca); }
.post-body { padding: 24px; }
.post-category,
.post-cat {
  display: block;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--bark);
  margin: 0 0 10px;
  transition: color .2s;
}
.post-card.featured-main .post-title { font-size: 25px; }
.post-title a:hover,
.post-card:hover .post-title { color: var(--terracotta); }
.post-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 14px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
}
.dot,
.post-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
}
.read-more {
  margin-top: 16px;
  padding: 0;
  background: transparent;
  color: var(--terracotta);
  box-shadow: none;
}
.read-more:hover {
  color: var(--terracotta);
  background: transparent;
  transform: none;
  gap: 14px;
}

.newsletter,
.nl-section,
.nl-wrap {
  width: min(1180px, calc(100% - 120px));
  margin: 0 auto 64px;
}
.nl-inner {
  background: var(--bark);
  border-radius: 22px;
  padding: 42px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.nl-inner::before {
  content: "PS";
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 160px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 900;
  opacity: .07;
  transform: rotate(15deg);
}
.nl-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 30px;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px;
}
.nl-title em { color: var(--gold); }
.nl-sub { color: rgba(255,255,255,.6); line-height: 1.55; margin: 0; }
.nl-row,
.nl-input-row { display: flex; gap: 12px; margin-bottom: 12px; }
.nl-input,
.search-field {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  outline: none;
}
.nl-input::placeholder { color: rgba(255,255,255,.45); }
.nl-btn,
.search-submit {
  background: var(--terracotta);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
}
.nl-note { color: rgba(255,255,255,.4); font-size: 12px; margin: 0; }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tip-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(61,43,31,.06);
}
.tip-num {
  font-family: "Nunito Sans", sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--light-terra);
}
.tip-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--bark);
  margin: 4px 0 8px;
}
.tip-text { color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.recent-list { display: grid; gap: 16px; }
.recent-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(61,43,31,.05);
  transition: transform .25s, box-shadow .25s;
}
.recent-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  overflow: hidden;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-category { color: var(--terracotta); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.recent-title {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--bark);
}
.recent-meta { color: var(--text-muted); font-size: 12px; margin-top: 5px; }
.recent-arrow { color: var(--terracotta); font-size: 22px; }

.archive-hero,
.page-hero,
.single-hero {
  padding: 140px 0 70px;
  background: var(--light-terra);
}
.archive-hero.is-sage { background: var(--light-sage); }
.archive-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}
.back-link { color: var(--text-muted); font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; margin-bottom: 24px; }
.archive-icon {
  font-family: system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.archive-title,
.page-title,
.single-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  color: var(--bark);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 16px;
}
.archive-description,
.page-intro,
.single-excerpt {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
}
.topic-sidebar {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(61,43,31,.08);
}
.topic-list { display: flex; flex-direction: column; gap: 10px; }
.topic-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bark);
  border: 1.5px solid transparent;
}
.topic-list a:hover { color: var(--terracotta); border-color: rgba(196,98,58,.2); }
.pagination {
  margin-top: 52px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.page-numbers {
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--bark);
  font-weight: 700;
}
.page-numbers.current { background: var(--bark); color: #fff; }

.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 0;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.8;
}
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: "Nunito Sans", sans-serif;
  color: var(--bark);
  line-height: 1.2;
}
.entry-content h2 { font-size: 36px; margin-top: 1.8em; }
.entry-content h3 { font-size: 28px; margin-top: 1.6em; }
.entry-content h4 { font-size: 22px; margin-top: 1.5em; }
.entry-content h5,
.entry-content h6 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-top: 1.4em;
}
.entry-content a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.article-image {
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(61,43,31,.1);
}
.article-image img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.article-image figcaption {
  padding: 10px 16px 12px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}
.article-toc {
  padding: 22px 26px;
  margin: 32px 0;
  background: var(--light-sage);
  border-radius: 18px;
}
.article-toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--bark);
}
.article-toc ul {
  margin: 0;
}
body.page-id-9 .entry-content {
  max-width: none;
  width: min(1200px, calc(100% - 120px));
}
body.page-id-8 .entry-content {
  max-width: none;
  width: min(1200px, calc(100% - 120px));
}
.entry-content--wide {
  max-width: none;
  width: min(1200px, calc(100% - 120px));
}
.about-layout {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.about-layout h2,
.about-layout h3 {
  font-family: "Nunito Sans", sans-serif;
  color: var(--bark);
  line-height: 1.15;
  margin: 0;
}
.about-layout p {
  margin: 0;
  color: var(--text-main);
}
.about-kicker {
  color: var(--terracotta) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}
.about-intro {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding: 86px 0 52px;
}
.about-intro h2,
.about-topics h2,
.about-note h2 {
  font-size: clamp(32px, 3.4vw, 48px);
}
.about-intro p {
  font-size: 20px;
  line-height: 1.75;
}
.about-intro p + p { margin-top: 22px; }
.about-promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0 74px;
}
.about-promise > div,
.about-topic-grid article {
  background: #fff;
  border: 1px solid rgba(61,43,31,.08);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(61,43,31,.06);
}
.about-promise > div {
  padding: 28px;
}
.about-promise span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--light-terra);
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
}
.about-promise h3,
.about-topic-grid h3 {
  font-size: 25px;
  margin-bottom: 12px;
}
.about-promise p,
.about-topic-grid p,
.about-note p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.about-topics {
  display: grid;
  grid-template-columns: minmax(420px, .85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid rgba(61,43,31,.1);
}
.about-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.about-topic-grid article {
  padding: 26px;
}
.about-note {
  margin: 0 0 92px;
  padding: 44px 52px;
  background: var(--light-sage);
  border-radius: 22px;
}
.about-note h2 {
  margin-bottom: 16px;
}
.about-note p {
  max-width: 820px;
  font-size: 18px;
}
.single-featured-image {
  width: min(1040px, calc(100% - 120px));
  margin: -30px auto 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 42px rgba(61,43,31,.13);
}
.single-featured-image img { width: 100%; max-height: 560px; object-fit: cover; }
.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
}
.post-navigation,
.related-posts { width: min(1040px, calc(100% - 120px)); margin: 0 auto 80px; }
.nav-links-posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.nav-links-posts a,
.empty-state,
.contact-placeholder {
  display: block;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(61,43,31,.06);
}
.contact-placeholder {
  border-left: 4px solid var(--terracotta);
  color: var(--text-muted);
}
.wpcf7 {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 42px rgba(61,43,31,.12);
  max-width: 460px;
  margin: 0;
}
.wpcf7 p {
  margin: 0 0 10px;
}
.wpcf7 label {
  display: block;
  color: var(--bark);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}
.wpcf7-form-control-wrap {
  display: block;
  margin-top: 5px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 13px;
  border: 1.5px solid rgba(61,43,31,.12);
  border-radius: 10px;
  color: var(--text-main);
  background: #fff;
  outline: none;
  font-size: 13px;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--terracotta);
}
.wpcf7 textarea {
  height: 92px;
  min-height: 88px;
  resize: vertical;
}
.wpcf7-submit {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  background: var(--terracotta);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(196,98,58,.3);
}
.wpcf7-submit:hover {
  background: var(--bark);
}
.wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
}
.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 56px;
  align-items: start;
}
.contact-kicker {
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-heading {
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.03;
  color: var(--bark);
  margin: 0 0 14px;
}
.contact-copy {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 38px;
}
.contact-info-list {
  display: grid;
  gap: 0;
  max-width: 680px;
}
.contact-info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(61,43,31,.12);
}
.contact-info-row:last-child {
  border-bottom: 1px solid rgba(61,43,31,.12);
}
.contact-info-label {
  color: var(--bark);
  font-weight: 800;
}
.contact-info-value {
  color: var(--text-muted);
  text-align: right;
}
.contact-form-panel {
  background: var(--light-sage);
  border: 1px solid rgba(61,43,31,.08);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 20px 48px rgba(61,43,31,.18);
}
.contact-form-panel h2 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--bark);
}
.contact-form-panel .wpcf7 {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
}
.contact-form-panel .wpcf7 label {
  color: var(--bark);
}
.contact-form-panel .wpcf7 input[type="text"],
.contact-form-panel .wpcf7 input[type="email"],
.contact-form-panel .wpcf7 select,
.contact-form-panel .wpcf7 textarea {
  background: rgba(255,255,255,.86);
  border-color: rgba(61,43,31,.1);
}
.contact-form-panel .wpcf7-submit {
  background: #fff;
  color: var(--bark);
  box-shadow: none;
}
.contact-form-panel .wpcf7-submit:hover {
  background: var(--bark);
  color: #fff;
}
.search-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
}
.search-form .search-field {
  color: var(--text-main);
  background: #fff;
  border-color: rgba(61,43,31,.12);
}

.site-footer {
  background: var(--bark);
  color: rgba(255,255,255,.7);
  padding: 70px 60px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 36px;
}
.footer-brand .logo {
  align-items: center;
  margin-bottom: 14px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--gold); }
.footer-tagline {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  line-height: 1.65;
  max-width: 260px;
}
.footer-col h2,
.footer-col h4 {
  font-family: "Nunito Sans", sans-serif;
  color: #fff;
  font-size: 14px;
  margin: 0 0 18px;
}
.footer-menu {
  flex-direction: column;
  gap: 10px;
}
.footer-menu a,
.footer-links a { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-menu a:hover,
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.35);
  font-size: 12px;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1024px) {
  .site-header { padding: 18px 30px; }
  .container { width: min(100% - 60px, 1200px); }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 100px 30px 60px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid,
  .front-posts-grid,
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .post-card.featured-main { grid-column: span 2; grid-row: auto; }
  .archive-hero-grid { grid-template-columns: 1fr; }
  .newsletter,
  .nl-section,
  .nl-wrap {
    width: min(100% - 60px, 1180px);
    margin: 0 auto 52px;
  }
  .nl-inner { grid-template-columns: 1fr; padding: 36px 34px; gap: 24px; }
  .about-layout { width: 100%; }
  .about-intro,
  .about-topics {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-promise { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .site-header { padding: 16px 20px; }
  .menu-toggle { display: inline-flex; }
  .primary-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--warm-white);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 16px 40px rgba(61,43,31,.14);
  }
  .primary-menu.is-open { display: flex; }
  .primary-menu a { display: block; padding: 12px 14px; }
  .primary-menu a::after { display: none; }
  .container { width: min(100% - 40px, 1200px); }
  .hero-left { padding: 90px 20px 50px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .cat-grid,
  .posts-grid,
  .front-posts-grid,
  .tips-grid,
  .nav-links-posts { grid-template-columns: 1fr; }
  .post-card.featured-main { grid-column: auto; }
  .featured-header { align-items: start; flex-direction: column; }
  .newsletter,
  .nl-section,
  .nl-wrap {
    width: calc(100% - 40px);
    margin: 0 auto 44px;
  }
  .nl-inner { padding: 28px 22px; border-radius: 18px; }
  .nl-row,
  .nl-input-row,
  .search-form { flex-direction: column; }
  .single-featured-image,
  .post-navigation,
  .related-posts { width: calc(100% - 40px); }
  .entry-content { width: calc(100% - 40px); font-size: 17px; }
  body.page-id-9 .entry-content {
    width: calc(100% - 40px);
  }
  body.page-id-8 .entry-content {
    width: calc(100% - 40px);
  }
  .entry-content--wide {
    width: calc(100% - 40px);
  }
  .about-layout { width: 100%; }
  .about-intro {
    padding: 42px 0 30px;
    gap: 24px;
  }
  .about-intro p {
    font-size: 17px;
    line-height: 1.7;
  }
  .about-promise {
    gap: 14px;
    margin-bottom: 48px;
  }
  .about-promise > div,
  .about-topic-grid article {
    padding: 22px;
  }
  .about-topics {
    padding: 48px 0;
  }
  .about-topic-grid {
    grid-template-columns: 1fr;
  }
  .about-note {
    margin-bottom: 56px;
    padding: 28px 24px;
    border-radius: 18px;
  }
  .about-note p {
    font-size: 17px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 20px;
  }
  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .contact-info-value {
    text-align: left;
  }
  .contact-form-panel {
    padding: 18px;
  }
  .site-footer { padding: 50px 20px 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
