.home-feature-panel {
  display: grid;
  gap: 18px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.home-feature-card {
  border: 1px solid rgba(16, 35, 27, 0.1);
  border-radius: 20px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(21, 50, 37, 0.08);
}

.home-feature-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 9px;
  background: #e8f1ec;
  color: #244334;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-feature-card strong {
  display: block;
  color: #10231b;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.home-feature-card p {
  margin: 9px 0 0;
  color: #40564a;
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.55;
}

.fishability-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.timeline-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 27, 0.1);
  border-radius: 20px;
  padding: 17px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(21, 50, 37, 0.08);
}

.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #64748b;
}

.timeline-card[data-risk='good']::before { background: #477c59; }
.timeline-card[data-risk='caution']::before { background: #b7791f; }
.timeline-card[data-risk='poor']::before { background: #b42318; }
.timeline-card[data-risk='overflow']::before { background: #0f766e; }

.timeline-card span {
  display: block;
  margin-bottom: 8px;
  color: #607367;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-card strong {
  display: block;
  color: #10231b;
  font-size: 1.05rem;
  line-height: 1.25;
}

.timeline-card p {
  margin: 8px 0 0;
  color: #40564a;
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.45;
}

.condition-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.condition-split-card {
  border: 1px solid rgba(16, 35, 27, 0.1);
  border-radius: 20px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(21, 50, 37, 0.08);
}

.condition-split-card[data-tone='good'] { background: linear-gradient(180deg, #ffffff 0%, #e8f1ec 100%); }
.condition-split-card[data-tone='caution'] { background: linear-gradient(180deg, #ffffff 0%, #fff7e6 100%); }
.condition-split-card[data-tone='poor'] { background: linear-gradient(180deg, #ffffff 0%, #fff1f0 100%); }
.condition-split-card[data-tone='water'] { background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%); }

.condition-split-card span {
  display: block;
  margin-bottom: 8px;
  color: #607367;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-split-card strong {
  display: block;
  color: #10231b;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.15;
}

.condition-split-card p {
  margin: 9px 0 0;
  color: #40564a;
  font-weight: 780;
  line-height: 1.5;
}

.local-notes-details {
  display: grid;
  gap: 14px;
}

.local-notes-details summary {
  list-style: none;
  cursor: default;
}

.local-notes-details summary::-webkit-details-marker {
  display: none;
}

.local-note-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-note-list li {
  border: 1px solid rgba(16, 35, 27, 0.1);
  border-radius: 18px;
  padding: 15px 16px;
  background: #ffffff;
  color: #40564a;
  font-weight: 820;
  line-height: 1.5;
  box-shadow: 0 10px 26px rgba(21, 50, 37, 0.06);
}

.local-note-list li strong {
  display: block;
  margin-bottom: 5px;
  color: #10231b;
}

.home-feature-error {
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 18px;
  padding: 16px;
  background: #fff1f0;
  color: #5f1d18;
  font-weight: 850;
}

@media (max-width: 760px) {
  .home-feature-panel {
    gap: 14px;
  }

  .fishability-timeline,
  .condition-split-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card,
  .timeline-card,
  .condition-split-card {
    padding: 15px;
    border-radius: 17px;
  }

  .local-notes-details {
    display: block;
    border: 1px solid rgba(16, 35, 27, 0.1);
    border-radius: 18px;
    padding: 14px 15px;
    background: #ffffff;
  }

  .local-notes-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
  }

  .local-notes-details summary::after {
    content: '+';
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
    background: #e8f1ec;
    color: #244334;
    font-weight: 950;
  }

  .local-notes-details[open] summary::after {
    content: '−';
  }

  .local-notes-details .section-heading {
    margin-bottom: 0;
  }

  .local-notes-details .section-heading .eyebrow,
  .local-notes-details .section-heading .helper-text {
    display: none;
  }

  .local-notes-details .section-heading h2 {
    margin: 0;
    font-size: 1.2rem;
  }

  .local-note-list {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .local-note-list li {
    padding: 13px 14px;
    box-shadow: none;
  }
}
