/* The area filter hides this list while it shows the full regional results. */
#area-featured-grid:not(.area-hidden) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  align-items: start;
  gap: 1rem;
  padding-bottom: 0;
  overflow: visible;
  scroll-snap-type: none;
}
#area-featured-grid > li { width: auto; min-width: 0; }

[data-area-featured-card] {
  flex-direction: column;
  border: 1px solid #d6d3d1;
  border-radius: 1rem;
  background: #fff;
}
[data-area-featured-card] > [data-spot-card] {
  flex: none;
  border: 0;
  border-radius: 1rem 1rem 0 0;
  box-shadow: none;
  content-visibility: visible;
}
[data-area-featured-card] [data-spot-card-body] { padding: .75rem .875rem .25rem; }
[data-area-featured-card] h3 {
  display: block;
  height: auto;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.45;
}
[data-area-featured-card] [data-spot-card-body] > p {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  color: #57534e;
  font-size: .8125rem;
  line-height: 1.45;
}
[data-area-featured-card] [data-photo-subject-credit] { padding-inline: .875rem; }
.area-featured-points {
  display: grid;
  gap: .25rem;
  margin: .25rem .875rem .625rem;
  padding: 0;
  color: #44403c;
  font-size: .875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.area-featured-points strong { color: #134e4a; }
.area-featured-note { color: #292524; }
[data-area-featured-details] { border-top: 1px solid #e7e5e4; }
[data-area-featured-details] > summary {
  min-height: 44px;
  padding: .625rem .875rem;
  cursor: pointer;
  color: #115e59;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
}
[data-area-featured-details] > summary:focus-visible { outline-offset: -3px; }
.area-featured-expanded {
  display: grid;
  gap: .625rem;
  padding: 0 .875rem .75rem;
  color: #44403c;
  font-size: .875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.area-featured-expanded a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #115e59;
  text-decoration: underline;
  text-underline-offset: .2em;
}
/* Give each condition the full reading width below its equipment label. */
:is(#area-featured-grid, [data-home-featured-grid]) [data-area-featured-details] [data-twin-check-fact-row] {
  grid-template-columns: 20px minmax(0, 1fr);
  row-gap: .25rem;
}
:is(#area-featured-grid, [data-home-featured-grid]) [data-area-featured-details] [data-twin-check-status] {
  grid-column: 1 / -1;
  grid-row: 2;
}
[data-area-featured-details] [data-spot-eligibility] .line-clamp-2 { display: block; overflow: visible; }

@media (max-width: 39.99rem) {
  [data-area-featured-card] > [data-spot-card] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0;
  }
  [data-area-featured-card] [data-spot-card-media] {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    max-height: 12.5rem;
  }
}

/* Keep the national paid/free selections in two swipeable rows on phones. */
[data-home-featured-grid] {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .75rem;
  scroll-snap-type: x proximity;
}
[data-home-featured-grid] > li {
  flex: 0 0 88%;
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 48rem) {
  [data-home-featured-grid] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1rem;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
  :is(#area-featured-grid:not(.area-hidden), [data-home-featured-grid]) {
    align-items: stretch;
  }
  :is(#area-featured-grid, [data-home-featured-grid]) > li {
    display: flex;
    min-width: 0;
  }
  :is(#area-featured-grid, [data-home-featured-grid]) [data-area-featured-details] {
    margin-top: auto;
  }
  :is(#area-featured-grid, [data-home-featured-grid]):has([data-area-featured-details][open]) > li {
    align-self: start;
    width: 100%;
  }
}
