nav[aria-label="Main navigation"] a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  line-height: 1.3;
  border: 0;
}

nav[aria-label="Main navigation"] a.visit-button {
  padding: 8px 10px;
  background: transparent;
  color: inherit;
  border-color: transparent;
}

nav[aria-label="Main navigation"] a[aria-current] {
  background: var(--green, #243e31);
  color: white;
  border-radius: 4px;
  box-shadow: none;
}

.mobile-page-menu { display: none; }
@media (max-width: 600px) {
  header { flex-wrap: wrap; }
  header > .brand { flex-basis: 100%; justify-content: center; }
  header nav[aria-label="Main navigation"].native-mobile-navigation { display: none; }
  header .mobile-page-menu {
    display: block;
    width: 170px;
    max-width: 100%;
    min-height: 48px;
    margin: 0 auto;
    padding: 12px 15px;
    border: 1px solid #243e31;
    border-radius: 4px;
    background: #243e31;
    color: #fff;
    font: 16px/1.3 Arial, sans-serif;
    cursor: pointer;
  }
  header .mobile-page-menu:focus-visible { outline: 3px solid #bc853e; outline-offset: 3px; }
}

/* Stacked farm identity: logo first, name underneath. */
header > .brand {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center;gap:7px!important;text-align:center;max-width:100%;}
header > .brand .farm-logo {width:108px;height:90px;object-fit:contain;}
header > .brand > span {display:block;white-space:nowrap;font-size:clamp(24px,3.1vw,44px);line-height:1.12;}
@media(max-width:600px){header > .brand .farm-logo{width:88px;height:74px;}header > .brand > span{font-size:clamp(20px,6.7vw,32px);}header > .brand{width:100%;}}

@font-face{font-family:FarmHeritage;src:url('/fonts/cormorant.ttf') format('truetype');font-display:swap;font-weight:400;}
body h1,body h2,body h3,body h4,body header .brand>span,.footer-brand{font-family:FarmHeritage,Georgia,serif!important;}

footer .footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px;}footer .footer-logo{display:block;width:90px;height:78px;object-fit:contain;filter:invert(1);mix-blend-mode:screen;}@media(max-width:600px){footer .footer-logo{width:78px;height:68px;}}

/* Center the farm identity above navigation on every public page. */
body > header {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body > header > .brand {
  align-self: center;
  flex-basis: auto;
  margin-left: auto;
  margin-right: auto;
}
body > header > nav[aria-label="Main navigation"] {
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}
body > header > .mobile-page-menu {
  margin-left: auto;
  margin-right: auto;
}
