.new-construction-incentives-section .section-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.builder-incentive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.builder-incentive-card {
  border: 1px solid #d8e5ea;
  border-radius: 18px;
  background: #f4f9fb;
  padding: 22px;
}

.builder-incentive-card h3 {
  margin: 0 0 8px;
  color: #202733;
  font-size: 19px;
}

.builder-incentive-card p {
  margin: 0 0 10px;
  color: #596775;
  line-height: 1.6;
}

.builder-incentive-builder {
  display: block;
  margin-bottom: 8px;
  color: #315f68;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.builder-incentive-meta {
  margin-top: 12px;
  font-size: 13px;
  color: #667684;
}

.community-item .community-builder-name {
  margin-bottom: 12px;
}

.community-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 14px 0;
}

.community-detail {
  border-top: 1px solid #edf1f4;
  padding-top: 8px;
}

.community-detail span {
  display: block;
  color: #778592;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.community-detail strong {
  display: block;
  margin-top: 2px;
  color: #25323d;
  font-size: 14px;
}

.community-quick-move-in {
  margin: 10px 0;
  font-size: 13px;
  font-weight: 700;
}

.community-highlights,
.community-amenities {
  margin-top: 13px;
}

.community-highlights strong,
.community-amenities strong {
  display: block;
  margin-bottom: 6px;
  color: #354550;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.community-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-detail-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f7;
  color: #526675;
  font-size: 12px;
  line-height: 1.2;
}

.community-incentive {
  margin: 15px 0;
  border-left: 3px solid #315f68;
  border-radius: 8px;
  background: #eef6f8;
  padding: 12px 14px;
}

.community-incentive-label {
  display: block;
  margin-bottom: 4px;
  color: #315f68;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.community-incentive strong {
  display: block;
  color: #26343d;
  font-size: 14px;
}

.community-incentive p {
  margin: 5px 0 0;
  font-size: 12px;
}

.community-office-info {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fafcfd;
  color: #60707d;
  font-size: 12px;
  line-height: 1.55;
}

.community-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.community-source-row a {
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .builder-incentive-grid,
  .community-detail-grid {
    grid-template-columns: 1fr;
  }
}

.new-construction-community-details:empty {
  display: none;
}

.community-extra-link {
  margin-top: 10px;
}

.community-extra-link a {
  font-size: 13px;
  font-weight: 700;
}

/* Community card imagery */
.community-item {
  overflow: hidden;
}

.new-construction-community-media {
  margin: -21px -21px 18px;
}

.community-card-image-link {
  position: relative;
  display: flex;
  width: 100%;
  height: 190px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  background: #eef4f6;
  border-bottom: 1px solid #e3e8ed;
}

.community-card-image {
  display: block;
  width: 100%;
  height: 100%;
}

.community-card-image.is-community-photo {
  object-fit: cover;
}

.community-card-image-link.has-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(20, 31, 40, 0), rgba(20, 31, 40, .12));
  pointer-events: none;
}

.community-card-image-link.has-logo {
  padding: 30px;
  background: #f2f7f9;
}

.community-card-image.is-builder-logo {
  width: min(170px, 60%);
  height: min(105px, 70%);
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .community-card-image-link {
    height: 210px;
  }
}


/* v5: optional research fields should not leave empty badge rows. */
.community-item .community-meta:empty {
  display: none;
}

/* v6: compact, consistent cards with expandable enrichment. */
.community-item {
  display: flex;
  flex-direction: column;
}

.community-item .community-source-row {
  margin-top: auto;
  padding-top: 14px;
}

.new-construction-community-details {
  margin-top: 4px;
}

.community-details-accordion {
  border-top: 1px solid #e7edf1;
  border-bottom: 1px solid #e7edf1;
}

.community-details-accordion summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  color: #315f68;
  font-size: 13px;
  font-weight: 800;
  user-select: none;
}

.community-details-accordion summary::-webkit-details-marker {
  display: none;
}

.community-details-accordion summary i {
  transition: transform .2s ease;
}

.community-details-accordion[open] summary i {
  transform: rotate(180deg);
}

.community-details-accordion-body {
  padding: 2px 0 15px;
}

.community-extra-group {
  margin-top: 13px;
}

.community-extra-heading {
  display: block;
  margin-bottom: 6px;
  color: #354550;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.community-card-image.is-logo,
.community-card-image.is-default {
  width: min(170px, 60%);
  height: min(105px, 70%);
  object-fit: contain;
}

.community-card-image-link.has-logo,
.community-card-image-link.has-default {
  padding: 30px;
  background: #f2f7f9;
}

.community-card-image-link.has-default {
  background: #eef3f6;
}

.community-card-image.is-photo {
  object-fit: cover;
}

.community-card-image-link.has-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(20, 31, 40, 0), rgba(20, 31, 40, .12));
  pointer-events: none;
}
