/* All styles are scoped to the West Virginia state home page. */
.wv-home {
  --wvh-forest: #235440;
  --wvh-deep: #193c31;
  --wvh-slate: #3b5a70;
  --wvh-copper: #98522d;
  --wvh-ink: #2c3832;
  --wvh-rule: #d2d7cd;
  background: #fffefb;
  color: var(--wvh-ink);
}

.wv-home .site-header {
  border-bottom-color: var(--wvh-rule);
}

.wv-home .nav-links [aria-current="page"] {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--wvh-forest);
  font-size: 0.9375rem;
  font-weight: 650;
}

.wv-home .wvh-shell {
  width: min(80rem, calc(100% - 3rem));
  margin-inline: auto;
}

.wv-home .wvh-page a {
  color: var(--wvh-forest);
  text-underline-offset: 0.2em;
}

.wv-home .wvh-page a:hover {
  color: var(--wvh-copper);
}

.wv-home .wvh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.4rem;
  font-size: 0.78rem;
}

.wv-home .wvh-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--wvh-copper);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wv-home .wvh-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 3rem;
  border-bottom: 2px solid var(--wvh-forest);
  padding-block: 1.2rem 2.6rem;
}

.wv-home h1 {
  margin: 0 0 1.3rem;
  color: var(--wvh-forest);
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.wv-home .wvh-lead {
  margin: 0 0 1rem;
  color: var(--wvh-slate);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
}

.wv-home .wvh-hero-copy > p:not(.wvh-eyebrow):not(.wvh-lead) {
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.wv-home .wvh-hero-copy .wvh-hero-note {
  margin-top: 1.5rem;
  border-left: 3px solid var(--wvh-copper);
  padding-left: 1rem;
  color: var(--wvh-slate);
  font-size: 0.84rem;
}

.wv-home .wvh-photo {
  min-width: 0;
  margin: 0;
}

.wv-home .wvh-photo picture,
.wv-home .wvh-photo img {
  display: block;
  width: 100%;
}

.wv-home .wvh-photo img {
  height: auto;
  border-radius: 3px;
}

.wv-home .wvh-photo figcaption {
  margin-top: 0.45rem;
  color: #616a61;
  font-size: 0.68rem;
}

.wv-home .wvh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  align-items: start;
  gap: 3.5rem;
  padding-block: 3rem;
}

.wv-home .wvh-main,
.wv-home .wvh-sidebar {
  min-width: 0;
}

.wv-home h2 {
  margin: 0 0 0.9rem;
  color: var(--wvh-forest);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.wv-home .wvh-section-heading {
  max-width: 45rem;
  margin-bottom: 1.8rem;
}

.wv-home .wvh-section-heading > p:last-child,
.wv-home .wvh-bottom p {
  font-size: 0.93rem;
  line-height: 1.8;
}

.wv-home .wvh-farm {
  margin-bottom: 1.1rem;
  border: 1px solid var(--wvh-rule);
  border-left: 4px solid var(--wvh-forest);
  background: #fff;
}

.wv-home .wvh-farm > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  cursor: pointer;
  list-style: none;
}

.wv-home .wvh-farm > summary::-webkit-details-marker {
  display: none;
}

.wv-home .wvh-farm-heading {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.wv-home .wvh-location {
  color: #606d64;
  font-size: 0.72rem;
  line-height: 1.5;
}

.wv-home .wvh-farm-name {
  color: var(--wvh-deep);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.25;
}

.wv-home .wvh-visit-type {
  color: var(--wvh-slate);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.6;
}

.wv-home .wvh-summary-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
}

.wv-home .wvh-profile-label {
  border: 1px solid var(--wvh-copper);
  border-radius: 2px;
  padding: 0.3rem 0.5rem;
  color: var(--wvh-copper);
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1.5;
  white-space: nowrap;
}

.wv-home .wvh-toggle {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  color: var(--wvh-forest);
  font-size: 1.45rem;
  line-height: 1;
}

.wv-home .wvh-toggle::before {
  content: "+";
}

.wv-home .wvh-farm[open] .wvh-toggle::before {
  content: "−";
}

.wv-home .wvh-farm > summary:hover .wvh-farm-name {
  color: var(--wvh-copper);
}

.wv-home .wvh-farm-body {
  border-top: 1px solid var(--wvh-rule);
  padding: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.8;
}

.wv-home .wvh-address {
  margin: 0 0 1rem;
  color: #606d64;
  font-size: 0.76rem;
}

.wv-home .wvh-farm-body h3 {
  margin: 0 0 1rem;
  color: var(--wvh-slate);
  font-size: 1.5rem;
  line-height: 1.3;
}

.wv-home .wvh-farm-notes {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.4rem;
  border-block: 1px solid var(--wvh-rule);
  margin-block: 1.4rem;
  padding-block: 1.2rem;
}

.wv-home .wvh-farm-notes h4 {
  margin: 0 0 0.45rem;
  color: var(--wvh-copper);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.wv-home .wvh-farm-notes p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
}

.wv-home .wvh-farm-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.wv-home .wvh-page .wvh-profile-button {
  display: inline-block;
  border-radius: 3px;
  padding: 0.8rem 1rem;
  background: var(--wvh-forest);
  color: #fff;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-decoration: none;
}

.wv-home .wvh-page .wvh-profile-button:hover {
  background: var(--wvh-deep);
}

.wv-home .wvh-official-link {
  font-size: 0.8rem;
}

.wv-home .wvh-visit-guide {
  margin-top: 3rem;
  border-top: 2px solid var(--wvh-slate);
  padding-top: 1.7rem;
}

.wv-home .wvh-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: 1.4rem;
}

.wv-home .wvh-guide-grid h3 {
  margin: 0 0 0.6rem;
  color: var(--wvh-slate);
  font-size: 1.22rem;
  line-height: 1.35;
}

.wv-home .wvh-guide-grid p {
  margin: 0 0 0.8rem;
  font-size: 0.86rem;
  line-height: 1.8;
}

.wv-home .wvh-sidebar section {
  margin-bottom: 2.4rem;
}

.wv-home .wvh-sidebar h2 {
  font-size: 1.65rem;
}

.wv-home .wvh-activities {
  border-top: 4px solid var(--wvh-copper);
  padding-top: 1.4rem;
}

.wv-home .wvh-activities ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wv-home .wvh-activities li {
  border-top: 1px solid var(--wvh-rule);
  padding-block: 1rem;
}

.wv-home .wvh-activities li > a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.wv-home .wvh-activities li p {
  margin: 0.4rem 0 0;
  color: #526259;
  font-size: 0.79rem;
  line-height: 1.7;
}

.wv-home .wvh-trip-notes {
  border-top: 1px solid var(--wvh-rule);
  padding-top: 1.5rem;
}

.wv-home .wvh-trip-notes h3 {
  margin: 1.2rem 0 0.4rem;
  color: var(--wvh-slate);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
}

.wv-home .wvh-trip-notes p,
.wv-home .wvh-faq p {
  margin-top: 0.4rem;
  font-size: 0.81rem;
  line-height: 1.8;
}

.wv-home .wvh-faq details {
  border-bottom: 1px solid var(--wvh-rule);
}

.wv-home .wvh-faq summary {
  padding-block: 0.85rem;
  color: var(--wvh-forest);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.6;
  cursor: pointer;
}

.wv-home .wvh-bottom {
  border-top: 1px solid var(--wvh-rule);
  margin-top: 2rem;
  padding-top: 1.8rem;
}

.wv-home .wvh-page :is(a, summary):focus-visible {
  outline: 3px solid var(--wvh-copper);
  outline-offset: 4px;
}

.wv-home .wvh-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 68rem) {
  .wv-home .wvh-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1.8rem;
  }

  .wv-home .wvh-layout {
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 2rem;
  }

  .wv-home .wvh-farm-name {
    font-size: 1.4rem;
  }

  .wv-home .wvh-farm > summary {
    padding: 1.1rem;
    gap: 0.7rem;
  }

  .wv-home .wvh-summary-actions {
    gap: 0.45rem;
  }
}

@media (max-width: 52rem) {
  .wv-home .nav-links [aria-current="page"] {
    padding: 0.75rem 0.875rem;
  }

  .wv-home .wvh-shell {
    width: min(42rem, calc(100% - 2rem));
  }

  .wv-home .wvh-hero,
  .wv-home .wvh-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wv-home .wvh-hero-copy {
    max-width: 35rem;
  }

  .wv-home h1 {
    font-size: clamp(2.7rem, 7.4vw, 4rem);
  }

  .wv-home .wvh-photo {
    width: 100%;
    max-width: 39rem;
    margin-inline: auto;
  }

  .wv-home .wvh-layout {
    padding-top: 2.2rem;
    gap: 2.8rem;
  }

  .wv-home .wvh-farm-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 40rem) {
  .wv-home .wvh-photo {
    max-width: 25rem;
  }

  .wv-home .wvh-photo img {
    width: auto;
    max-width: 100%;
    max-height: 32rem;
    margin-inline: auto;
  }

  .wv-home .wvh-farm-name {
    font-size: 1.3rem;
  }

  .wv-home .wvh-farm > summary {
    padding: 1rem 0.8rem;
    gap: 0.55rem;
  }

  .wv-home .wvh-profile-label {
    padding: 0.28rem 0.35rem;
    font-size: 0.55rem;
    letter-spacing: 0.02em;
  }

  .wv-home .wvh-summary-actions {
    gap: 0.3rem;
  }

  .wv-home .wvh-toggle {
    width: 1.1rem;
  }

  .wv-home .wvh-farm-body {
    padding: 1rem;
  }

  .wv-home .wvh-farm-notes,
  .wv-home .wvh-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
