:root {
  --vgw-paper: #fbf7ef;
  --vgw-base: #fffaf1;
  --vgw-paper-deep: #efe4d1;
  --vgw-ink: #1f2822;
  --vgw-muted: #5d665f;
  --vgw-forest: #234536;
  --vgw-moss: #6b7b3d;
  --vgw-clay: #9b563f;
  --vgw-wine: #6b2835;
  --vgw-line: rgba(31, 40, 34, 0.18);
  --vgw-shadow: 0 18px 50px rgba(36, 44, 37, 0.14);
  --vgw-font-scale: 1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--vgw-ink);
  background:
    linear-gradient(90deg, rgba(35, 69, 54, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--vgw-paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(18px * var(--vgw-font-scale));
  line-height: 1.65;
}

body.vgw-font-large {
  --vgw-font-scale: 1.14;
}

a {
  color: var(--vgw-forest);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
  height: auto;
}

.has-base-background-color {
  background-color: var(--vgw-base);
}

.has-forest-background-color {
  background-color: var(--vgw-forest);
}

.has-cream-color {
  color: var(--vgw-base);
}

.vgw-wrap {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.vgw-topbar {
  background: var(--vgw-forest);
  color: var(--vgw-base);
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(15px * var(--vgw-font-scale));
}

.vgw-topbar-inner,
.vgw-header-inner,
.vgw-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.vgw-topbar-inner {
  min-height: 44px;
}

.vgw-font-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.vgw-font-tools button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--vgw-base);
  color: var(--vgw-forest);
  cursor: pointer;
  font: 700 16px/1 Arial, Helvetica, sans-serif;
}

.vgw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--vgw-line);
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(12px);
}

.vgw-header-inner {
  min-height: 78px;
}

.vgw-brand {
  display: grid;
  min-width: 220px;
  color: var(--vgw-ink);
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.vgw-brand strong {
  font-size: calc(22px * var(--vgw-font-scale));
  line-height: 1.05;
}

.vgw-brand span {
  color: var(--vgw-muted);
  font-size: calc(14px * var(--vgw-font-scale));
}

.vgw-nav {
  font-family: Arial, Helvetica, sans-serif;
}

.vgw-menu,
.vgw-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vgw-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.vgw-menu li {
  position: relative;
}

.vgw-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--vgw-ink);
  font-size: calc(16px * var(--vgw-font-scale));
  text-decoration: none;
}

.vgw-menu a:hover,
.vgw-menu a:focus-visible {
  background: var(--vgw-paper-deep);
}

.vgw-menu .sub-menu,
.vgw-menu .children {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: none;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--vgw-line);
  border-radius: 6px;
  background: var(--vgw-base);
  box-shadow: var(--vgw-shadow);
}

.vgw-menu li:hover > .sub-menu,
.vgw-menu li:focus-within > .sub-menu,
.vgw-menu li:hover > .children,
.vgw-menu li:focus-within > .children {
  display: block;
}

.vgw-menu .sub-menu a,
.vgw-menu .children a {
  width: 100%;
  justify-content: flex-start;
}

.vgw-main {
  overflow: hidden;
}

.vgw-content {
  padding-top: 74px;
  padding-bottom: 74px;
}

.vgw-content .entry-content {
  max-width: 860px;
}

.vgw-content .entry-content > .alignfull,
.vgw-front > .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.vgw-page-title {
  max-width: 860px;
  margin-bottom: 34px;
}

.vgw-page-title h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

.vgw-home-opener {
  background: var(--vgw-paper);
}

.vgw-home-opener .wp-block-columns {
  min-height: 0;
}

.vgw-home-opener h1 {
  max-width: 760px;
  color: var(--vgw-ink);
}

.vgw-home-opener p {
  max-width: 700px;
}

.vgw-home-opener .vgw-eyebrow {
  color: var(--vgw-wine);
}

.vgw-hero-image {
  overflow: hidden;
  border: 8px solid var(--vgw-base);
  background: #fff;
  box-shadow: var(--vgw-shadow);
}

.vgw-hero-image figure {
  margin: 0;
}

.vgw-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vgw-hero-image figcaption {
  padding: 10px 14px 14px;
  color: var(--vgw-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  text-align: center;
}

.vgw-eyebrow {
  margin-bottom: 14px;
  color: #f5dec3;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.vgw-section-label,
.vgw-meta {
  color: var(--vgw-wine);
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(14px * var(--vgw-font-scale));
  font-weight: 800;
  text-transform: uppercase;
}

.vgw-lead {
  color: var(--vgw-muted);
  font-size: calc(21px * var(--vgw-font-scale));
}

.vgw-note {
  border-left: 6px solid var(--vgw-clay);
  background: var(--vgw-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(17px * var(--vgw-font-scale));
}

.vgw-photo-frame {
  overflow: hidden;
  border: 8px solid var(--vgw-base);
  background: #fff;
  box-shadow: var(--vgw-shadow);
}

.vgw-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vgw-card {
  border: 1px solid var(--vgw-line);
  border-radius: 6px;
  background: var(--vgw-base);
  box-shadow: 0 12px 34px rgba(36, 44, 37, 0.08);
}

.vgw-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vgw-forest);
  color: var(--vgw-base);
  font: 800 18px/1 Arial, Helvetica, sans-serif;
}

.vgw-story img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.vgw-button-light .wp-block-button__link {
  background: var(--vgw-base);
  color: var(--vgw-forest);
}

.vgw-button-dark .wp-block-button__link {
  background: var(--vgw-forest);
  color: var(--vgw-base);
}

.vgw-button-outline .wp-block-button__link {
  border-color: var(--vgw-forest);
  color: var(--vgw-forest);
}

.wp-block-button__link,
.wp-block-search__button {
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.wp-block-search__input {
  min-height: 54px;
  border-radius: 4px;
  font-size: calc(18px * var(--vgw-font-scale));
}

.vgw-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vgw-post-card {
  padding: 24px;
}

.vgw-post-meta {
  margin-top: 12px;
  color: var(--vgw-wine);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.vgw-featured-image {
  margin: 34px 0;
}

.vgw-footer {
  background: var(--vgw-ink);
  color: var(--vgw-base);
  padding: 34px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(15px * var(--vgw-font-scale));
}

@media (max-width: 860px) {
  .vgw-topbar-inner,
  .vgw-header-inner,
  .vgw-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .vgw-menu {
    justify-content: flex-start;
  }

  .vgw-menu .sub-menu,
  .vgw-menu .children {
    position: static;
    display: block;
    min-width: 0;
    padding-left: 18px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .vgw-post-grid {
    grid-template-columns: 1fr;
  }
}
