/* Town-only additions. Hero and intro use the driveway child classes;
   service cards and overlapping photos use the homepage components. */

.page-town .town-breadcrumb { margin-bottom: 24px; color: var(--on-dark); font-size: 14px; }
.page-town .town-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-town .town-breadcrumb a { color: inherit; text-decoration: underline; }

/* The existing .svp-hero-inset and .svp-row-media classes size these boxes.
   Approved photographs can replace them without changing the layout. */
.page-town .town-image-placeholder {
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px dashed var(--muted);
  background: var(--band);
  color: var(--slate);
  text-align: center;
  overflow-wrap: anywhere;
}

/* The child reference has no standalone town lists or static review card. */
.page-town .town-section-body { margin-top: 28px; }
.page-town .town-review {
  width: min(100%, 640px);
  height: auto;
  margin: 28px auto 0;
}

/* Place the existing comparison component in the homepage About text column. */
.page-town .town-project-comparison { min-width: 0; }
.page-town .town-project-comparison .svp-comparison {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
}
.page-town .town-project-copy { margin-top: 24px; }

/* Compact project facts use the existing service-list labels and colors. */
.page-town .town-project-facts { gap: 6px; font-size: 16px; }

/* Long trust-card titles stay inside the existing mobile card faces. */
.page-town .town-why .why-card h3 { overflow-wrap: anywhere; }

/* A light trust band separates the dark reviews and CTA sections. */
.page-town .town-why { background: var(--band); }
.page-town .town-why .why-head h2 { color: var(--ink); }
.page-town .town-why .why-card::before {
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.page-town .reviews,
.page-town .town-why,
.page-town .svp-service-cta { border-top: 0; }

/* Native FAQ disclosures retain the site's section and body typography. */
.page-town .town-faq details { padding-block: 20px; border-bottom: 1px solid var(--line); }
.page-town .town-areas { text-align: center; }
.page-town .town-faq { text-align: left; }
.page-town .town-faq summary { cursor: pointer; color: var(--ink); }
.page-town .town-faq summary::marker { color: var(--accent); }
.page-town .town-faq summary h3 {
  display: inline;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
}
.page-town .town-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.page-town .town-faq .svp-body { margin-top: 16px; }

/* Reuse the CTA's fixed photo treatment and mobile scrolling fallback. */
.page-town .town-areas { padding-block: clamp(28px, 3vw, 40px); background: var(--ink); }
.page-town .town-areas-bg { background-image: url('/assets/cornelius-service-page/APR24-SPON-Lake-Norman_Lake-Norman-Aerial.jpg'); }
.page-town .town-strip--charlotte .town-areas-bg { background-image: url('/assets/charlotte-service-page/charlotte-neighborhoods-cta.webp?v=20261109charlottestrip'); }
.page-town .town-strip--concord .town-areas-bg { background-image: url('/assets/concord-service-page/concord-cta-neighborhoods.webp?v=20261109concord1'); }
.page-town .town-areas .svp-h2 { color: var(--on-dark); }
.page-town .town-areas-intro { margin-top: 16px; color: var(--on-dark); }
.page-town .town-areas-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin-top: 16px; }
.page-town .town-areas-list li { white-space: nowrap; color: var(--on-dark); }
.page-town .town-areas-list a { color: inherit; }
.page-town .svp-estimate,
.page-town .svp-estimate .contact { background: var(--band); }

/* Percentage crops keep the background photo covering the full hero. */
@media (min-width: 740px) and (max-width: 1342px) {
  .page-town .svp-hero-img { object-position: 50% 58%; }
}
@media (min-width: 740px) and (max-width: 899.98px) {
  .page-town #services .pg-explore { margin-top: 20px; }
}

@media (max-width: 739.98px) {
  .page-town .town-why .why-front { padding-inline: 4px; }
  .page-town .town-why .why-card h3 { font-size: 18px; }
}

/* Neutral alternative for town strips awaiting approved photography. */
.page-town .town-strip--neutral .town-areas-bg {
  background-image: none;
  background-color: var(--ink);
}
