/* Nebraska state home. Load after /style/style.css. */
.ne-home {
  --nh-petrol: #173e48;
  --nh-rust: #ae3b24;
  --nh-gold: #e7b245;
  --nh-text: #45585e;
  --nh-rule: #cdd8da;
  --fleece-white: #fff;
  --fleece-card: #fff;
  --fleece-beige: #cdd8da;
  background: #fff;
  color: var(--nh-petrol);
}

.ne-home .site-header {
  background: var(--nh-petrol);
  border-bottom: 4px solid var(--nh-gold);
}

.ne-home .wordmark,
.ne-home .wordmark:hover,
.ne-home .wordmark .sub,
.ne-home .nav-links a,
.ne-home .nav-toggle {
  color: #fff;
}

.ne-home .nav-links {
  background: var(--nh-petrol);
}

.ne-home .nav-links a:hover {
  color: #fff;
  background: var(--nh-rust);
}

.ne-home .nav-toggle,
.ne-home .nav-links li + li a {
  border-color: #829b9f;
}

.nh-page {
  padding-block: 0 4rem;
}

.nh-shell {
  width: min(76rem, calc(100% - 3rem));
  margin-inline: auto;
}

.nh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding-block: 1.35rem;
  color: var(--nh-text);
  font-size: .8rem;
}

.nh-page a {
  color: var(--nh-rust);
  text-underline-offset: .22em;
}

.nh-page a:hover {
  text-decoration-thickness: 2px;
}

.nh-page :focus-visible {
  outline: 3px solid var(--nh-rust);
  outline-offset: 5px;
}

.nh-page .nh-eyebrow {
  margin: 0 0 1rem;
  font: 700 .7rem/1.5 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nh-hero {
  margin-bottom: 3.5rem;
}

.nh-photo {
  width: min(100%, 62rem);
  margin: 0 auto 1.5rem;
}

.nh-photo picture,
.nh-photo img {
  display: block;
  width: 100%;
}

.nh-photo img {
  height: auto;
}

.nh-hero-band {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 7px solid var(--nh-gold);
  background: var(--nh-petrol);
  color: #fff;
}

.nh-page h1 {
  margin: 0;
  color: #fff;
  font: 600 clamp(2.7rem, 5vw, 4.4rem)/1.05 var(--font-display);
  letter-spacing: -.04em;
}

.nh-hero-band > p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.85;
}

.nh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 3.5rem;
  align-items: start;
}

.nh-page h2 {
  margin: 0 0 1rem;
  color: var(--nh-petrol);
  font: 600 clamp(1.7rem, 2.5vw, 2.2rem)/1.22 var(--font-display);
  letter-spacing: -.025em;
}

.nh-page p {
  line-height: 1.8;
}

.nh-intro {
  margin-bottom: 2.5rem;
}

.nh-intro .nh-eyebrow,
.nh-questions > .nh-eyebrow {
  color: var(--nh-rust);
}

.nh-intro > p:not(.nh-eyebrow) {
  color: var(--nh-text);
}

.nh-section-heading {
  padding: 1.4rem 1.5rem;
  border-left: 6px solid var(--nh-gold);
  background: var(--nh-rust);
  color: #fff;
}

.nh-section-heading h2 {
  margin-bottom: .45rem;
  color: #fff;
  font-size: 1.65rem;
}

.nh-section-heading p {
  margin: 0;
  font-size: .82rem;
}

.nh-page details {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--nh-rule);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.nh-page summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 1.6rem 1.25rem;
  background: transparent;
  color: var(--nh-petrol);
  cursor: pointer;
  list-style: none;
}

.nh-page summary::before,
.nh-page summary::after {
  content: none;
}

.nh-page summary::marker {
  content: '';
}

.nh-page summary::-webkit-details-marker {
  display: none;
}

.nh-farm summary:hover {
  box-shadow: inset 5px 0 var(--nh-gold);
}

.nh-summary-copy,
.nh-town,
.nh-farm-name,
.nh-highlights {
  display: block;
}

.nh-summary-copy {
  min-width: 0;
}

.nh-town {
  margin-bottom: .45rem;
  color: var(--nh-rust);
  font: 700 .67rem/1.5 var(--font-body);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nh-farm-name {
  margin-bottom: .6rem;
  color: var(--nh-petrol);
  font: 600 1.5rem/1.22 var(--font-display);
  letter-spacing: -.025em;
}

.nh-highlights {
  color: var(--nh-text);
  font: 400 .8rem/1.7 var(--font-body);
}

.nh-summary-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .9rem;
}

.nh-profile-label {
  display: inline-block;
  padding: .5rem .6rem;
  color: #fff;
  background: var(--nh-rust);
  font: 700 .6rem/1 var(--font-body);
  letter-spacing: .08em;
  white-space: nowrap;
}

.nh-plus {
  position: relative;
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--nh-petrol);
}

.nh-plus::before,
.nh-plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .85rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  content: '';
}

.nh-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.nh-farm[open] .nh-plus::after {
  display: none;
}

.nh-farm[open] summary {
  border-bottom: 3px solid var(--nh-gold);
}

.nh-farm-content {
  padding: .25rem 1.5rem 1.7rem;
  color: var(--nh-text);
  font-size: .92rem;
}

.nh-facts {
  margin: 1.25rem 0;
  border-top: 1px solid var(--nh-rule);
}

.nh-facts > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--nh-rule);
  font-size: .84rem;
  line-height: 1.75;
}

.nh-facts dt {
  color: var(--nh-petrol);
  font-weight: 700;
}

.nh-facts dd {
  margin: 0;
}

.nh-farm-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nh-website {
  padding-block: .5rem;
  font-size: .84rem;
  font-weight: 600;
}

.nh-page .nh-profile-button {
  display: inline-block;
  padding: .8rem 1rem;
  background: var(--nh-petrol);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.nh-page .nh-profile-button:hover {
  background: var(--nh-rust);
  text-decoration: underline;
}

.nh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nh-questions,
.nh-next {
  margin-top: 3rem;
}

.nh-questions summary {
  display: block;
  min-height: 3rem;
  padding: 1rem 0;
  font: 600 .94rem/1.6 var(--font-body);
}

.nh-questions summary:hover {
  color: var(--nh-rust);
}

.nh-questions details p {
  margin: 0 0 1.15rem;
  color: var(--nh-text);
  font-size: .88rem;
}

.nh-next {
  padding-top: 2rem;
  border-top: 5px solid var(--nh-gold);
}

.nh-next p {
  color: var(--nh-text);
}

.nh-sidebar {
  display: grid;
  gap: 2rem;
}

.nh-sidebar h2 {
  font-size: 1.65rem;
}

.nh-activities {
  padding: 1.6rem;
  background: var(--nh-petrol);
  color: #fff;
  border-top: 6px solid var(--nh-gold);
}

.nh-page .nh-activities h2,
.nh-page .nh-activities a {
  color: #fff;
}

.nh-activities a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid #829b9f;
  text-decoration: none;
}

.nh-activities a:hover strong {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.nh-activities strong,
.nh-activities a > span {
  display: block;
}

.nh-activities strong {
  margin-bottom: .3rem;
  font-size: .9rem;
}

.nh-activities a > span {
  font-size: .77rem;
  line-height: 1.7;
}

.nh-visit-card {
  padding: 1.6rem;
  background: var(--nh-rust);
  color: #fff;
}

.nh-page .nh-visit-card h2 {
  color: #fff;
}

.nh-visit-card p:not(.nh-eyebrow),
.nh-fiber-card p:not(.nh-eyebrow) {
  font-size: .86rem;
}

.nh-visit-card p:last-child,
.nh-fiber-card p:last-child {
  margin-bottom: 0;
}

.nh-fiber-card {
  padding: 1.6rem 0 0;
  border-top: 6px solid var(--nh-gold);
}

.nh-fiber-card > .nh-eyebrow {
  color: var(--nh-rust);
}

.nh-fiber-card p:not(.nh-eyebrow) {
  color: var(--nh-text);
}

.ne-home .site-footer {
  background: var(--nh-petrol);
  border-top: 5px solid var(--nh-gold);
  color: #fff;
}

.ne-home .site-footer p {
  color: #fff;
}

@media (max-width: 64rem) {
  .nh-layout {
    grid-template-columns: minmax(0, 1fr) 16rem;
    gap: 2rem;
  }

  .nh-hero-band {
    gap: 2rem;
  }

  .nh-summary-tools {
    gap: .65rem;
  }
}

@media (max-width: 48rem) {
  .nh-shell {
    width: min(100% - 2rem, 38rem);
  }

  .nh-photo {
    width: min(100%, 25rem);
    margin-bottom: 1.25rem;
  }

  .nh-hero-band,
  .nh-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh-hero-band {
    gap: 1.4rem;
    padding: 2rem 1.5rem;
  }

  .nh-hero-band > p {
    font-size: 1rem;
  }

  .nh-page h1 {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
  }

  .nh-layout {
    gap: 3rem;
  }

  .nh-page .nh-farm summary {
    padding: 1.3rem .65rem;
    gap: .65rem;
  }

  .nh-farm-name {
    font-size: 1.25rem;
  }

  .nh-profile-label {
    padding: .45rem .4rem;
    font-size: .54rem;
    letter-spacing: .04em;
  }

  .nh-summary-tools {
    gap: .45rem;
  }

  .nh-highlights {
    font-size: .75rem;
  }

  .nh-farm-content {
    padding-inline: .85rem;
  }

  .nh-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .35rem;
  }

  .nh-hero {
    margin-bottom: 2.5rem;
  }
}
