.community-page .town-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.town-feature-photo {
  min-width: 0;
  margin: 0;
}

.town-feature-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--town-accent);
}

.town-feature-photo figcaption {
  margin-top: .5rem;
  color: var(--muted, #d7d9dc);
  font-size: .78rem;
  line-height: 1.5;
}

.town-feature-photo figcaption a,
.town-listing-fallback a,
.town-week-heading a {
  text-underline-offset: .2em;
}

.town-listing-fallback { margin: .75rem 0 0; }

.town-week {
  border-block: 1px solid var(--town-map);
  padding-block: 1.1rem;
}

.town-week-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  flex-wrap: wrap;
}

.town-week-heading a,
.town-week-forecast [role="status"],
.town-community-links summary {
  font-size: .86rem;
}

.town-week-forecast [role="status"] { margin: .35rem 0 .6rem; }

.town-week-forecast ul:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .4rem;
}

.town-week-forecast li {
  min-width: 0;
  background: var(--town-panel, var(--panel));
  border-top: 1px solid var(--town-accent);
  padding: .55rem .5rem;
  font-size: .83rem;
  line-height: 1.35;
}

.town-week-forecast strong,
.town-week-conditions,
.town-week-precipitation {
  display: block;
}

.town-week-temperatures {
  display: flex;
  flex-wrap: wrap;
  column-gap: .35rem;
  margin-block: .25rem;
  font-variant-numeric: tabular-nums;
}

.town-week-precipitation { margin-top: .25rem; }

.town-community-links { margin-top: .8rem; }
.town-community-links summary { cursor: pointer; }

@media (max-width: 760px) {
  .community-page .town-editorial-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .town-feature-photo img {
    max-height: 23rem;
    object-fit: contain;
    object-position: left center;
    border: 0;
  }

  .town-week-forecast ul:not([hidden]) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.25rem), 1fr));
  }
}

.town-story { padding-block: clamp(1.75rem, 5vw, 3.5rem); }

.town-story h2 {
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.town-story-rows { border-top: 1px solid var(--town-map); }

.town-story-rows article {
  display: grid;
  grid-template-columns: minmax(12rem, .6fr) minmax(0, 1.4fr);
  gap: .5rem 2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--town-map);
}

.town-story-rows h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  color: var(--town-accent);
}

.town-story-rows p { max-width: 46rem; margin: 0; }
.town-story-rows ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
}

.town-story-rows a { font-size: .88rem; text-underline-offset: .2em; }
.town-week h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.2rem); }
.town-week-fallback[hidden] { display: none; }
.town-week-icon {
  display: block;
  font-size: 1.4rem;
  min-height: 1.9rem;
  line-height: 1.4;
}
.town-week-precipitation { color: var(--muted, #d7d9dc); }

@media (max-width: 760px) {
  .town-story-rows article { grid-template-columns: minmax(0, 1fr); }
}

.town-photo-frame {
  aspect-ratio: 4 / 3;
  background: var(--town-ink);
  overflow: hidden;
  border: 1px solid var(--town-accent);
}

.town-photo-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border: 0;
}

.community-larchmont .town-photo-frame img { object-position: 53% center; }
.community-mamaroneck .town-photo-frame img { object-position: 53% 57%; }
.community-scarsdale .town-photo-frame img { object-position: 49% center; }

@media (max-width: 760px) {
  .town-photo-frame { aspect-ratio: 16 / 10; }
}
