/*
Theme Name: Vee Lane's Backyard Homestead
Theme URI: https://mybackyardhomestead.com/
Description: A warm Colorado mountain field-journal child theme for Vee Lane's Backyard Homestead.
Author: Vworld New Media
Template: veelane-journal
Version: 1.0.8
Text Domain: vee-lanes-backyard-homestead
*/

:root {
  --paper: #f4eedf;
  --paper-deep: #e9dec4;
  --oat: #ddd0ad;
  --sun: #d9a928;
  --ochre: #b77a21;
  --rust: #a84f2b;
  --sage: #7c8562;
  --moss: #4f6347;
  --blue: #6e8581;
  --ink: #292b27;
  --muted: #656257;
  --line: rgba(41, 43, 39, .18);
  --white: #fffaf0;
  --shadow: 0 18px 55px rgba(57, 45, 27, .12);
  --radius: 18px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 106px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
h1, h2, h3, h4, .wordmark-name {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  text-wrap: balance;
}
p { margin-top: 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 9999; padding: 12px 18px; background: var(--ink); color: var(--white); }
.skip-link:focus { left: 10px; top: 10px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(41, 43, 39, .97);
  backdrop-filter: blur(12px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-brand { display: flex; flex: 0 1 350px; align-items: center; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; }
.custom-logo { width: min(350px, 34vw); max-height: 92px; object-fit: contain; object-position: left center; }
.main-nav { margin-left: auto; }
.main-nav-list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.main-nav a { color: var(--paper); font-size: 14px; font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: #f0cf70; }
.main-nav .nav-shop-item > a { padding: 11px 17px; border-radius: 999px; color: var(--white); background: var(--rust); }
.main-nav .nav-shop-item > a:hover { color: var(--white); background: #873b20; }

.eyebrow { margin: 0 0 17px; color: var(--moss); font-size: 12px; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.button, button, input[type='submit'], .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--rust);
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--rust) !important;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, button:hover, input[type='submit']:hover, .woocommerce a.button:hover { border-color: #873b20; background: #873b20 !important; }
.button.secondary { color: var(--ink) !important; background: transparent !important; border-color: var(--ink); }
.button.secondary:hover { color: var(--white) !important; background: var(--ink) !important; }
.text-link { font-size: 14px; font-weight: 800; text-decoration: none; }

/* The homepage is authored in native WordPress blocks. */
.home-page-content > * { margin-top: 0; margin-bottom: 0; }
.home-page-content figure { margin: 0; }
.home-page-content .hero-actions p { margin: 0; }
.home-page-content .wp-block-shortcode { margin: 0; }
.home-page-content .wp-block-image img { display: block; }
.home-page-content .secondary-button .wp-element-button { color: var(--ink) !important; background: transparent !important; border-color: var(--ink); }
.home-page-content .secondary-button .wp-element-button:hover { color: var(--white) !important; background: var(--ink) !important; }
.home-page-content .story .secondary-button .wp-element-button { color: var(--white) !important; border-color: rgba(255,255,255,.7); }
.home-page-content .season-note p { margin: 0; }
.home-page-content .season-note p:last-child { color: var(--muted); font-size: 14px; }
.home-page-content .path-card-copy > p:last-child { margin-bottom: 0; }

.hero { position: relative; overflow: hidden; padding: 78px 0 92px; background: linear-gradient(120deg, #f6f0e2 0%, #ece2c7 100%); }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .34;
  pointer-events: none;
  background-image: radial-gradient(circle at 8% 18%, rgba(217,169,40,.18) 0 3px, transparent 4px), radial-gradient(circle at 88% 24%, rgba(79,99,71,.14) 0 2px, transparent 3px);
  background-size: 84px 84px, 112px 112px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 68px; }
.hero h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(52px, 6vw, 84px); letter-spacing: -.05em; }
.hero-lead { max-width: 650px; margin-bottom: 18px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.hero-story { max-width: 680px; color: var(--muted); font-family: var(--serif); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo {
  position: absolute;
  inset: 0 34px 58px 0;
  overflow: hidden;
  border: 1px solid rgba(41,43,39,.18);
  border-radius: 48% 48% 18px 18px / 20% 20% 18px 18px;
  box-shadow: var(--shadow);
  background: var(--oat);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(33,31,24,.45)); }
.photo-caption { position: absolute; left: 24px; bottom: 76px; z-index: 2; color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.season-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(330px, 78%);
  padding: 24px 26px;
  border: 1px solid rgba(41,43,39,.18);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--white);
  transform: rotate(-1deg);
}
.season-note strong { display: block; margin-bottom: 6px; color: var(--rust); font-family: var(--serif); font-size: 23px; font-weight: 600; }
.season-note span { color: var(--muted); font-size: 14px; }
.mountain-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 68px; color: var(--sage); opacity: .55; }

.section { padding: 92px 0; }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 45px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(38px, 4vw, 58px); }
.section-heading p:last-child { max-width: 620px; margin-bottom: 4px; color: var(--muted); }

.paths { background: #f8f3e7; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-grid > *, .notes-grid > *, .archive-grid > *, .mbh-grid-3 > * {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}
.path-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 9px 30px rgba(57,45,27,.07);
  background: var(--white);
}
.path-card-image { height: 165px; overflow: hidden; }
.path-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.path-card:hover img { transform: scale(1.035); }
.path-card-copy { padding: 25px 25px 28px; }
.path-number { color: var(--ochre); font-family: var(--serif); font-size: 17px; font-weight: 700; }
.path-card h3 { margin: 8px 0 12px; font-size: 29px; }
.path-card p { color: var(--muted); font-size: 15px; }

.story { position: relative; overflow: hidden; background: var(--sage); color: var(--white); }
.story::after { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -200px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.035); }
.story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.story-image { overflow: hidden; border-radius: 48% 48% 12px 12px / 22% 22% 12px 12px; box-shadow: var(--shadow); }
.story-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story .eyebrow { color: #f6d678; }
.story h2 { color: var(--white); font-size: clamp(40px, 5vw, 68px); }
.story p { max-width: 700px; color: #faf6e9; }
.story-quote { margin: 26px 0; padding-left: 23px; border-left: 3px solid #f6d678; font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.story .button.secondary { color: var(--white) !important; border-color: rgba(255,255,255,.7); }

.field-notes { background: var(--paper); }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note-card { border-top: 2px solid var(--ink); }
.note-card-image { display: block; margin: 14px 0 20px; overflow: hidden; border-radius: 10px; aspect-ratio: 4/3; background: var(--paper-deep); }
.note-card-image img { width: 100%; height: 100%; object-fit: cover; }
.note-date { color: var(--moss); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.note-card h3 { margin: 9px 0 10px; font-size: 27px; }
.note-card h3 a { color: var(--ink); text-decoration: none; }
.note-card p { color: var(--muted); font-size: 15px; }

.free-resource { padding: 0 0 92px; background: var(--paper); }
.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}
.resource-art { min-height: 390px; }
.resource-art img { width: 100%; height: 100%; object-fit: cover; }
.resource-copy { padding: clamp(36px, 6vw, 72px); }
.resource-copy h2 { margin-bottom: 18px; font-size: clamp(38px, 4vw, 56px); }
.resource-copy p { color: var(--muted); }

.farmstand { background: #ece7c8; }
.products.columns-4, .woocommerce ul.products.columns-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .products .product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 28px rgba(57,45,27,.08);
  background: var(--white);
}
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; margin: 0 !important; object-fit: cover; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 21px 21px 7px !important; color: var(--ink); font-family: var(--serif); font-size: 21px !important; line-height: 1.15; }
.woocommerce ul.products li.product .price { display: block; padding: 0 21px 15px; color: var(--moss) !important; font-size: 14px !important; }
.woocommerce ul.products li.product .button { margin: 0 21px 23px !important; }

.newsletter { position: relative; overflow: hidden; background: #d8b45b; }
.newsletter::before { content: ''; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(120deg, transparent 0 40px, rgba(255,255,255,.2) 40px 41px); }
.newsletter-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.newsletter h2 { margin-bottom: 18px; font-size: clamp(42px, 5vw, 66px); }
.newsletter-copy > p:last-child { max-width: 570px; }
.newsletter-form { padding: 34px; border: 1px solid rgba(41,43,39,.25); border-radius: 18px; box-shadow: var(--shadow); background: rgba(255,250,240,.88); }
.newsletter-form form { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 12px; align-items: end; }
.newsletter-form .tnp-field { margin: 0; }
.newsletter-form label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.newsletter-form input[type='text'], .newsletter-form input[type='email'] {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(41,43,39,.24); border-radius: 8px; color: var(--ink); background: var(--white);
}
.newsletter-form input[type='submit'] { width: auto; min-height: 50px; border-radius: 8px; }

.site-footer { padding: 56px 0 30px; color: #ede5d3; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; }
.footer-brand { color: var(--white); font-family: var(--serif); font-size: 29px; font-style: italic; }
.site-footer p { max-width: 650px; color: #cbc4b7; font-size: 14px; }
.footer-links { align-content: start; }
.footer-nav-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #ede5d3; font-size: 14px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom p { margin: 0; font-size: 12px; }

.content-shell { padding: 70px 0 95px; }
.entry-header { margin-bottom: 38px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.entry-header h1 { max-width: 920px; margin-bottom: 14px; font-size: clamp(44px, 6vw, 76px); }
.entry-meta { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.entry-content { font-family: var(--serif); font-size: 20px; }
.entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 1.8em; font-size: 42px; }
.entry-content h3 { margin-top: 1.6em; font-size: 31px; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { padding: 20px 26px; border-left: 4px solid var(--ochre); color: var(--moss); font-size: 25px; }

.vlbh-breadcrumb { margin-bottom: 30px; }
.vlbh-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; color: var(--muted); list-style: none; font-size: 12px; }
.vlbh-breadcrumb li { display: inline-flex; align-items: center; }
.vlbh-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 7px; color: var(--ochre); }
.vlbh-breadcrumb a { color: var(--moss); font-weight: 750; text-decoration: none; }
.vlbh-breadcrumb [aria-current='page'] { color: var(--muted); }
.woocommerce-shell > .wrap > .vlbh-breadcrumb { margin-bottom: 28px; }

/* Single field-note layout. Repeated navigation and reading details live in
   the theme so authors only maintain the article itself. */
.single-journal { padding-bottom: 96px; }
.article-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 62px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(125deg, #f8f3e7 0%, #eadfca 100%);
}
.article-hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -230px;
  bottom: -290px;
  border: 1px solid rgba(183,122,33,.25);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(217,169,40,.055), 0 0 0 84px rgba(79,99,71,.035);
}
.article-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.86fr) minmax(430px,1.14fr); gap: clamp(38px,5vw,72px); align-items: center; }
.article-hero-no-image .article-hero-grid { grid-template-columns: minmax(0,900px); }
.article-hero-copy h1 { margin: 0 0 22px; font-size: clamp(45px,5.6vw,74px); letter-spacing: -.035em; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.article-breadcrumb { margin-bottom: 34px; }
.article-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; color: var(--muted); list-style: none; font-size: 12px; }
.article-breadcrumb li { display: inline-flex; align-items: center; }
.article-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 7px; color: var(--ochre); }
.article-breadcrumb a { color: var(--moss); font-weight: 750; text-decoration: none; }
.article-breadcrumb [aria-current='page'] { max-width: 270px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-reading-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.article-reading-stats span { display: inline-flex; align-items: baseline; gap: 5px; padding: 9px 13px; border: 1px solid rgba(41,43,39,.17); border-radius: 999px; color: var(--muted); background: rgba(255,250,240,.65); font-size: 12px; }
.article-reading-stats strong { color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 650; }
.article-hero-image { position: relative; display: grid; min-height: 330px; margin: 0; place-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 22px 70px 22px 22px; box-shadow: var(--shadow); background: rgba(255,250,240,.72); }
.article-hero-image::before { content: ''; position: absolute; inset: -12px 16px 16px -12px; z-index: -1; border: 2px solid rgba(183,122,33,.48); border-radius: 22px 70px 22px 22px; }
.article-hero-image img { width: 100%; max-height: 620px; object-fit: contain; border-radius: 13px 57px 13px 13px; }
.article-body { padding: clamp(54px,7vw,92px) 0 20px; }
.article-body > :first-child { margin-top: 0; }
.article-body table { width: min(100%, 980px); border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.article-body th, .article-body td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--paper-deep); }
.article-footer { margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line); }
.article-post-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.post-nav-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: clamp(24px,3vw,34px); border: 1px solid var(--line); border-radius: 17px; color: var(--ink); box-shadow: 0 8px 28px rgba(57,45,27,.06); background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-nav-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.post-nav-next { text-align: right; }
.post-nav-label { color: var(--ochre); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.post-nav-card strong { margin: 16px 0; font-family: var(--serif); font-size: clamp(24px,2.5vw,34px); font-weight: 550; line-height: 1.12; }
.post-nav-card time { color: var(--muted); font-size: 12px; }

/* Archive pages override the parent theme's obsolete single-column module. */
.archive-journal { min-height: 60vh; }
.archive-hero { padding: 58px 0 54px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg,#e6dcc3,#f7f1e4); }
.archive-hero-inner { max-width: 920px; margin-left: max(20px,calc((100% - 1180px)/2)); }
.archive-hero h1 { margin-bottom: 15px; font-size: clamp(48px,6vw,78px); }
.archive-description { max-width: 700px; color: var(--muted); font-family: var(--serif); font-size: 20px; }
.archive-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.archive-breadcrumb a { font-weight: 750; text-decoration: none; }
.archive-listing { padding: 68px 0 96px; }
.archive-journal .archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; align-items: stretch; }
.archive-journal .archive-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 9px 30px rgba(57,45,27,.07); background: var(--white); }
.archive-journal .note-card-image { flex: 0 0 auto; margin: 0; border-radius: 0; aspect-ratio: 16/10; background: var(--paper-deep); }
.archive-journal .note-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.archive-journal .archive-card:hover .note-card-image img { transform: scale(1.035); }
.note-card-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--moss); background: radial-gradient(circle at 75% 20%,rgba(217,169,40,.28),transparent 34%),linear-gradient(135deg,#e8dec2,#cfd2ad); font-family: var(--serif); font-size: 28px; font-style: italic; }
.archive-card-copy { display: flex; flex: 1; flex-direction: column; padding: 25px 25px 28px; }
.archive-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; color: var(--moss); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.archive-card h2 { margin: 0 0 13px; font-size: clamp(25px,2.3vw,32px); line-height: 1.12; }
.archive-card h2 a { color: var(--ink); text-decoration: none; }
.archive-card p { margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.archive-card .text-link { margin-top: auto; }
.archive-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 54px; }
.archive-pagination .page-numbers { display: inline-grid; min-width: 44px; min-height: 44px; place-items: center; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); text-decoration: none; }
.archive-pagination .current, .archive-pagination a:hover { color: var(--white); background: var(--moss); }
.archive-empty { max-width: 700px; padding: 40px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }

/* Native Gutenberg blocks used by the editable About page. */
.mbh-about-page { --mbh-ink:#151b15; --mbh-pine:#17652b; --mbh-moss:#466a3e; --mbh-cream:#e8edc8; --mbh-paper:#fbf9e9; max-width:none !important; color:var(--mbh-ink); font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.mbh-about-page * { box-sizing:border-box; }
.mbh-about-page h2,.mbh-about-page h3 { color:var(--mbh-ink); font-family:Georgia,"Times New Roman",serif; line-height:1.08; margin-top:0; }
.mbh-about-page h2 { font-size:clamp(2rem,4vw,3.5rem); margin-bottom:1rem; }
.mbh-about-page h3 { font-size:clamp(1.35rem,2vw,1.8rem); margin-bottom:.65rem; }
.mbh-about-page p,.mbh-about-page li { font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:1.03rem; line-height:1.75; }
.mbh-about-page .mbh-eyebrow { margin:0 0 .8rem; color:var(--mbh-pine); font-size:.78rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
.mbh-about-page .mbh-section { max-width:1160px; margin:0 auto; padding:clamp(2.5rem,6vw,5rem) 1.25rem; }
.mbh-about-page .mbh-intro { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr); gap:clamp(2rem,5vw,5rem); align-items:center; }
.mbh-about-page .mbh-intro img,.mbh-about-page .mbh-feature img { display:block; width:100%; height:100%; object-fit:cover; border-radius:18px; }
.mbh-about-page .mbh-intro figure { height:min(560px,65vw); min-height:390px; margin:0; }
.mbh-about-page .mbh-lead { color:#344034; font-size:1.22rem; line-height:1.65; }
.mbh-about-page .wp-element-button { display:inline-flex; align-items:center; justify-content:center; margin-top:.65rem; padding:.82rem 1.2rem; border:0; border-radius:8px; color:#fff !important; background:var(--mbh-pine) !important; font-weight:750; text-decoration:none !important; }
.mbh-about-page .wp-element-button:hover { background:#104d20 !important; }
.mbh-about-page .mbh-soft { max-width:none; margin:0; border-top:1px solid #d7ddb9; border-bottom:1px solid #d7ddb9; background:linear-gradient(135deg,#f3f6dd,var(--mbh-cream)); }
.mbh-about-page .mbh-grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.mbh-about-page .mbh-card { padding:1.6rem; border:1px solid #d9ddc8; border-radius:16px; box-shadow:0 10px 30px rgba(21,27,21,.05); background:#fff; }
.mbh-about-page .mbh-card .mbh-number { display:inline-grid; width:2.3rem; height:2.3rem; place-items:center; margin-bottom:1rem; border-radius:50%; color:var(--mbh-pine); background:var(--mbh-cream); font-weight:800; }
.mbh-about-page .mbh-card-icon { width:58px; height:58px; margin:0 0 1rem; padding:10px; border-radius:14px; background:#17652b; object-fit:contain; }
.mbh-about-page .mbh-card-icon img { width:100%; height:100%; object-fit:contain; }
.mbh-about-page .mbh-feature { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.mbh-about-page .mbh-feature-card { overflow:hidden; border:1px solid #d9ddc8; border-radius:18px; box-shadow:0 10px 32px rgba(21,27,21,.06); background:#fff; }
.mbh-about-page .mbh-feature-card > .wp-block-image img { height:330px; border-radius:0; }
.mbh-about-page .mbh-feature-copy { padding:1.5rem; }
.mbh-about-page .mbh-video { position:relative; overflow:hidden; aspect-ratio:16/9; background:#0c120d; }
.mbh-about-page .mbh-video figure,.mbh-about-page .mbh-video .wp-block-embed__wrapper { width:100%; height:100%; margin:0; }
.mbh-about-page .mbh-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.mbh-about-page .mbh-list { columns:2; column-gap:2rem; padding-left:1.2rem; }
.mbh-about-page .mbh-list li { break-inside:avoid; margin-bottom:.4rem; }
.mbh-about-page .mbh-callout { display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; padding:clamp(2rem,5vw,4rem); border-radius:20px; color:#f7f5e8; background:#101710; }
.mbh-about-page .mbh-callout h2 { margin-bottom:.6rem; color:#fff; }
.mbh-about-page .mbh-callout p { margin:0; color:#dce5d5; }
.mbh-newsletter-shell { max-width:1110px !important; margin:0 auto 5rem !important; padding:clamp(2rem,5vw,3.5rem) !important; border:1px solid #9fbd58; border-top:8px solid #efb84a; border-radius:20px; box-shadow:0 18px 45px rgba(70,106,62,.18); background:linear-gradient(135deg,#c7e98a 0%,#e7f3b2 100%); }
.mbh-newsletter-shell h2 { margin:0 0 .65rem; color:#151b15; font-family:Georgia,"Times New Roman",serif; font-size:clamp(2rem,4vw,3.2rem); }
.mbh-newsletter-shell p { max-width:720px; color:#243b22; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:1.05rem; line-height:1.65; }
.mbh-newsletter-shell label { display:block; margin-bottom:.4rem; color:#153f22; font-weight:800; }
.mbh-newsletter-shell form { display:grid; grid-template-columns:1fr 1.35fr auto; gap:1rem; align-items:end; margin-top:1.4rem; padding:1.25rem; border:1px solid rgba(23,101,43,.24); border-radius:14px; background:rgba(255,255,255,.34); }
.mbh-newsletter-shell input[type="text"],.mbh-newsletter-shell input[type="email"] { width:100%; min-height:52px; padding:.8rem; border:2px solid #17652b !important; border-radius:8px; box-shadow:0 3px 0 rgba(23,101,43,.16); color:#151b15; background:#fffdf2 !important; }
.mbh-newsletter-shell input[type="submit"],.mbh-newsletter-shell button { min-height:52px; padding:.8rem 1.35rem; border:2px solid #104d20 !important; border-radius:8px; box-shadow:0 4px 0 #104d20; color:#fff !important; background:#17652b !important; font-weight:800; cursor:pointer; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.entry-content > .legacy-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(46px, 6vw, 88px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8f3e7;
}
.entry-content > .legacy-panel:nth-of-type(even) { background: var(--paper-deep); }
.legacy-panel-inner {
  width: 80%;
  max-width: 1280px;
  margin-inline: auto;
}
.legacy-panel-inner > :first-child { margin-top: 0; }
.legacy-panel-inner > :last-child { margin-bottom: 0; }
.legacy-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(22px, 4vw, 46px); }
.legacy-column > :first-child, .legacy-text > :first-child, .legacy-blurb > :first-child { margin-top: 0; }
.legacy-column > :last-child, .legacy-text > :last-child, .legacy-blurb > :last-child { margin-bottom: 0; }
.legacy-image { margin: 24px 0; }
.legacy-image img { width: 100%; border-radius: 14px; }
.legacy-divider { margin: 38px 0; border: 0; border-top: 1px solid var(--line); }
.legacy-disclosure { display: grid; gap: 12px; }
.legacy-disclosure-item { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,250,240,.55); }
.legacy-disclosure-item summary { color: var(--ink); font-weight: 800; cursor: pointer; }
.legacy-callout { margin: 30px 0; padding: 28px; border-left: 4px solid var(--ochre); background: var(--paper-deep); }
.legacy-page-header { margin-bottom: 34px; }
.legacy-social-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.legacy-social-links a { display: inline-flex; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.legacy-contact-form { display: none; }

/* Existing editorial pages use the mbh component system. These overrides bring
   that content into the new mountain-field-journal palette without rewriting it. */
.entry-content > .mbh-about-page { max-width: 1100px; }
.mbh-about-page { color: var(--ink); font-family: var(--sans); }
.mbh-about-page h2, .mbh-about-page h3 { font-family: var(--serif); color: var(--ink); }
.mbh-about-page .mbh-eyebrow { color: var(--moss) !important; }
.mbh-about-page .mbh-soft {
  border: 1px solid var(--line) !important;
  background: linear-gradient(135deg, #eee4cc, #e5d9b7) !important;
}
.mbh-about-page .mbh-card,
.mbh-about-page .mbh-feature-card {
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(57,45,27,.07) !important;
  background: var(--white) !important;
}
.mbh-about-page .mbh-number {
  color: var(--ink) !important;
  background: #e7dcae !important;
}
.mbh-about-page .mbh-button {
  border-color: var(--rust) !important;
  color: var(--white) !important;
  background: var(--rust) !important;
}
.mbh-about-page .mbh-button.mbh-secondary {
  color: var(--ink) !important;
  background: transparent !important;
  border-color: var(--ink) !important;
}
.mbh-about-page .mbh-callout { background: var(--ink) !important; }
.mbh-about-page .mbh-callout h2,
.mbh-about-page .mbh-callout p,
.mbh-about-page .mbh-callout .mbh-eyebrow { color: var(--white) !important; }
.mbh-about-page .mbh-newsletter-shell {
  border: 1px solid rgba(41,43,39,.18) !important;
  border-top: 7px solid var(--sun) !important;
  box-shadow: var(--shadow) !important;
  background: linear-gradient(120deg, #e8dcc0, #d9b85d) !important;
}
.mbh-about-page .mbh-newsletter-shell input[type='text'],
.mbh-about-page .mbh-newsletter-shell input[type='email'] {
  color: var(--ink) !important;
  background: var(--white) !important;
  border-color: rgba(41,43,39,.28) !important;
}

.shop-intro { margin-bottom: 42px; }
.shop-intro h1 { margin-bottom: 18px; font-size: clamp(48px, 6vw, 78px); }
.shop-intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; max-width: 900px; color: var(--muted); }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }

.woocommerce-page .site-main, .woocommerce .content-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.woocommerce div.product { padding: 60px 0 90px; }
.woocommerce div.product div.images img { border-radius: 15px; }
.woocommerce div.product .product_title { font-size: clamp(38px, 4vw, 58px); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--ochre); background: var(--white); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ochre); }

@media (max-width: 980px) {
  body { padding-top: 100px; }
  .header-inner { min-height: 100px; }
  .header-brand { flex-basis: 280px; }
  .custom-logo { width: min(280px, 32vw); max-height: 86px; }
  .main-nav-list { gap: 14px; }
  .main-nav a { font-size: 12px; }
  .hero-grid, .story-grid, .newsletter-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-visual { min-height: 520px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .path-grid, .notes-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .products.columns-4, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .newsletter-form form { grid-template-columns: 1fr 1fr; }
  .newsletter-form .tnp-field-button { grid-column: 1 / -1; }
  .legacy-panel-inner { width: 88%; }
  .article-hero-grid { grid-template-columns: 1fr; }
  .article-hero-copy { max-width: 820px; }
  .article-hero-image { max-width: 820px; }
  .archive-journal .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body { padding-top: 166px; font-size: 16px; }
  .wrap, .narrow { width: min(100% - 28px, 1180px); }
  .header-inner { padding: 14px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .header-brand { width: 100%; flex-basis: auto; }
  .brand, .custom-logo-link { width: 100%; }
  .custom-logo { width: min(340px, 100%); max-height: 94px; }
  .main-nav { width: 100%; overflow-x: auto; padding-bottom: 5px; }
  .main-nav-list { width: max-content; }
  .main-nav a { white-space: nowrap; }
  .hero { padding: 50px 0 70px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: 50px; }
  .hero-visual { min-height: 450px; }
  .hero-photo { inset: 0 14px 54px 0; }
  .section { padding: 68px 0; }
  .path-grid, .notes-grid, .archive-grid, .resource-card, .footer-grid { grid-template-columns: 1fr; }
  .resource-art { min-height: 290px; }
  .story-grid { gap: 38px; }
  .story-image img { aspect-ratio: 16 / 11; }
  .newsletter-grid { gap: 35px; }
  .newsletter-form { padding: 22px; }
  .newsletter-form form { grid-template-columns: 1fr; }
  .newsletter-form .tnp-field-button { grid-column: auto; }
  .products.columns-4, .woocommerce ul.products.columns-4 { grid-template-columns: 1fr; }
  .shop-intro-copy { grid-template-columns: 1fr; gap: 5px; }
  .legacy-panel-inner { width: calc(100% - 32px); }
  .mbh-about-page .mbh-intro, .mbh-about-page .mbh-feature, .mbh-about-page .mbh-callout { grid-template-columns: 1fr; }
  .mbh-about-page .mbh-grid-3 { grid-template-columns: 1fr; }
  .mbh-about-page .mbh-intro figure { height: 420px; min-height: 0; }
  .mbh-about-page .mbh-list { columns: 1; }
  .mbh-newsletter-shell { margin-left: 1rem !important; margin-right: 1rem !important; }
  .mbh-newsletter-shell form { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .article-hero { padding: 38px 0 46px; }
  .article-breadcrumb { margin-bottom: 25px; }
  .article-hero-copy h1 { font-size: clamp(42px,13vw,60px); }
  .article-hero-image { min-height: 0; border-radius: 16px 42px 16px 16px; }
  .article-hero-image::before { inset: -7px 10px 10px -7px; border-radius: 16px 42px 16px 16px; }
  .article-post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .article-body { overflow-x: auto; font-size: 18px; }
  .article-body h2 { font-size: 34px; }
  .article-body h3 { font-size: 27px; }
  .archive-hero { padding: 42px 0 38px; }
  .archive-hero-inner { margin-inline: auto; }
  .archive-journal .archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
