/* Alabama home: scoped farm directory and seasonal activity sidebar. */
.alabama-home {
  --ah-green: #19563d;
  --ah-blue: #234e76;
  --ah-orange: #a64b17;
  --ah-ink: #263e32;
  --ah-rule: #d5dfd8;
  background: #fff;
  color: var(--ah-ink);
}
.alabama-home a,
.alabama-home a:hover,
.alabama-home a:focus-visible {
  text-decoration: none;
}
.alabama-home a:focus-visible,
.alabama-home summary:focus-visible {
  outline: 3px solid #c17d14;
  outline-offset: 5px;
}
.alabama-home .site-header {
  background: #fff;
  border-bottom: 3px solid var(--ah-orange);
}
.alabama-home .wordmark,
.alabama-home .nav-links a {
  color: var(--ah-green);
}
.alabama-home .nav-links a:hover {
  color: var(--ah-orange);
}
.ah-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.ah-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  padding: 1.5rem 0;
  font-size: .85rem;
}
.ah-breadcrumb a {
  color: var(--ah-green);
}
.ah-kicker {
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ah-hero {
  display: grid;
  grid-template-columns: .85fr 1.3fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2.5rem;
  border-bottom: 5px solid var(--ah-green);
}
.ah-hero h1 {
  margin: 0;
  color: var(--ah-green);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 800;
}
.ah-hero .ah-kicker {
  color: var(--ah-orange);
}
.ah-lead {
  margin: 1.25rem 0;
  color: var(--ah-blue);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.5;
}
.ah-hero-copy > p {
  line-height: 1.7;
}
.ah-hero-copy .ah-hero-note {
  margin-top: 1.4rem;
  color: var(--ah-orange);
  font-size: .8rem;
  font-weight: 800;
}
.ah-photo {
  min-width: 0;
  margin: 0;
  border-radius: .8rem;
  overflow: hidden;
  background: var(--ah-green);
}
.ah-photo picture,
.ah-photo img {
  display: block;
  width: 100%;
}
.ah-photo img {
  height: auto;
}
.ah-photo figcaption {
  padding: .9rem 1.1rem;
  color: #fff;
  font-size: .75rem;
  line-height: 1.5;
}
.ah-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  align-items: start;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.ah-intro {
  margin-bottom: 2rem;
}
.ah-intro .ah-kicker {
  color: var(--ah-orange);
}
.ah-intro h2,
.ah-plan h2,
.ah-next h2 {
  margin: 0 0 1rem;
  color: var(--ah-green);
  font-size: 2rem;
  line-height: 1.2;
}
.ah-intro p,
.ah-plan p,
.ah-next p,
.ah-farm-body > p {
  line-height: 1.75;
}
.ah-intro-note {
  padding: .85rem 0 .85rem 1rem;
  border-left: 4px solid var(--ah-orange);
  color: var(--ah-orange);
  font-size: .9rem;
  font-weight: 650;
}
.ah-directory-heading {
  padding: 1.5rem;
  border-radius: .7rem .7rem 0 0;
  background: var(--ah-green);
  color: #fff;
}
.ah-directory-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 1.65rem;
}
.ah-farm {
  margin: 0;
  border: 1px solid var(--ah-rule);
  border-top: 0;
  border-radius: 0;
  background: #fff;
}
.ah-farm:last-child {
  border-radius: 0 0 .7rem .7rem;
}
.ah-farm > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 2rem;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  list-style: none;
  cursor: pointer;
}
.ah-farm > summary::-webkit-details-marker {
  display: none;
}
.ah-farm > summary::after {
  display: none;
}
.ah-farm > summary:hover,
.ah-farm[open] > summary {
  background: #f2f7f3;
}
.ah-location,
.ah-name,
.ah-features {
  display: block;
}
.ah-location {
  margin-bottom: .4rem;
  color: #4b6659;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.4;
}
.ah-name {
  color: var(--ah-green);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}
.ah-features {
  margin-top: .5rem;
  color: var(--ah-blue);
  font-size: .8rem;
  line-height: 1.5;
}
.ah-profile-tag {
  grid-column: 2;
  padding: .4rem .55rem;
  border: 1px solid var(--ah-orange);
  border-radius: .25rem;
  color: var(--ah-orange);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.4;
  white-space: nowrap;
}
.ah-toggle {
  position: relative;
  grid-column: 3;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ah-green);
}
.ah-toggle::before,
.ah-toggle::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: .8rem;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.ah-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.ah-farm[open] .ah-toggle::after {
  display: none;
}
.ah-farm-body {
  padding: .4rem 1.5rem 1.7rem;
}
.ah-address {
  color: var(--ah-blue);
  font-size: .85rem;
}
.ah-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}
.ah-notes aside {
  padding: 1rem;
  border: 1px solid var(--ah-rule);
  border-top: 3px solid var(--ah-orange);
  border-radius: .4rem;
}
.ah-notes .ah-experience {
  border-top-color: var(--ah-blue);
}
.ah-notes h3 {
  margin: 0 0 .6rem;
  color: var(--ah-orange);
  font-size: 1rem;
}
.ah-experience h3 {
  color: var(--ah-blue);
}
.ah-notes p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.7;
}
.ah-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.ah-actions:empty {
  display: none;
}
.ah-button {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: .35rem;
  background: var(--ah-orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.ah-button:hover {
  color: #fff;
  background: var(--ah-green);
}
.ah-site-link {
  color: var(--ah-blue);
  font-size: .85rem;
  font-weight: 750;
}
.ah-site-link:hover {
  color: var(--ah-orange);
}
.ah-plan {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border: 2px solid var(--ah-green);
  border-radius: .7rem;
}
.ah-plan-grid > div + div {
  padding-top: 1rem;
  border-top: 1px solid var(--ah-rule);
}
.ah-plan h3 {
  margin: 1rem 0 .5rem;
  color: var(--ah-blue);
  font-size: 1.1rem;
}
.ah-next {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 4px solid var(--ah-orange);
}
.ah-next a {
  color: var(--ah-orange);
  font-weight: 750;
}
.ah-next a:hover {
  color: var(--ah-green);
}
.ah-sidebar > section {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: .7rem;
}
.ah-sidebar h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  line-height: 1.25;
}
.ah-sidebar p {
  font-size: .85rem;
  line-height: 1.65;
}
.ah-activities {
  background: var(--ah-blue);
  color: #fff;
}
.ah-activities h2 {
  color: #fff;
}
.ah-activities ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ah-activities li {
  padding: 1rem 0;
  border-top: 1px solid #ffffff40;
}
.ah-activities li:last-child {
  padding-bottom: 0;
}
.ah-activities a {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.ah-activities a:hover {
  color: #ffdf9d;
}
.ah-activities li p {
  margin: .45rem 0 0;
}
.ah-visit-note {
  background: var(--ah-green);
  color: #fff;
}
.ah-visit-note h2 {
  color: #fff;
}
.ah-faq {
  border: 1px solid var(--ah-rule);
}
.ah-faq details {
  padding: .85rem 0;
  border-bottom: 1px solid var(--ah-rule);
}
.ah-faq details:last-child {
  border-bottom: 0;
}
.ah-faq summary {
  color: var(--ah-green);
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
}
.alabama-home .site-footer {
  background: var(--ah-green);
  color: #fff;
}
@media (max-width: 65rem) {
  .ah-layout {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 1.5rem;
  }
  .ah-notes {
    grid-template-columns: minmax(0, 1fr);
  }
  .ah-farm > summary {
    gap: .65rem;
    padding: 1.2rem;
  }
  .ah-name {
    font-size: 1.1rem;
  }
}
@media (max-width: 52rem) {
  .ah-hero,
  .ah-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ah-shell {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
  .ah-hero h1 {
    font-size: clamp(3rem, 8vw, 4.6rem);
  }
  .ah-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .ah-sidebar > section {
    margin-bottom: 0;
  }
  .ah-activities {
    grid-column: 1 / -1;
  }
  .ah-activities ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.5rem;
  }
}
@media (max-width: 40rem) {
  .ah-photo {
    max-width: 30rem;
    margin-right: auto;
    margin-left: auto;
  }
  .ah-farm > summary {
    grid-template-columns: minmax(0, 1fr) 2rem;
    gap: .75rem;
  }
  .ah-summary-text {
    grid-column: 1;
  }
  .ah-toggle {
    grid-column: 2;
    grid-row: 1;
  }
  .ah-farm--profile .ah-summary-text {
    grid-column: 1 / -1;
  }
  .ah-farm--profile .ah-profile-tag {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  .ah-farm--profile .ah-toggle {
    grid-column: 2;
    grid-row: 2;
  }
  .ah-farm-body,
  .ah-plan {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }
  .ah-sidebar,
  .ah-activities ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

.alabama-home .ah-current-nav {
  display: block;
  padding: .5rem .8rem;
  color: var(--ah-orange);
  font-weight: 700;
}
