/* Geographic city pages and the city index (src/components/geo/GeoPage.astro,
   src/pages/college-admissions-consultants.astro). Loaded after
   /css/admissions-consulting.css and built on its tokens; everything is scoped
   to .lp-geo and prefixed lp-geo- for the same reason as that sheet. These
   pages are mostly prose, about 2,000 words, so the measure is held to a
   readable line length. */

/* ---------- hero: pale, text only ---------- */
.lp-geo-hero { background: var(--lp-mist); }
.lp-page .lp-geo-hero > .lp-wrap { padding-block: 64px 56px; }
.lp-geo-hero h1 { max-width: 20ch; }
.lp-geo-crumb { font-size: 14px; color: var(--lp-muted); }
.lp-page .lp-geo-crumb a { color: var(--lp-navy); text-decoration: none; font-weight: 700; }
.lp-page .lp-geo-crumb a:hover { text-decoration: underline; }
.lp-geo-marks {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 15px; font-weight: 700; color: var(--lp-navy);
}
.lp-geo-marks li { display: flex; align-items: center; gap: 9px; }
.lp-geo-marks li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lp-gold-deep); flex: none;
}

/* ---------- prose ---------- */
.lp-geo-prose { max-width: 72ch; display: flex; flex-direction: column; gap: 18px; }
.lp-geo-prose p { font-size: 17.5px; line-height: 1.7; color: var(--lp-body); }
.lp-geo-prose h3 { margin-top: 14px; }
.lp-page .lp-geo-prose a,
.lp-page .lp-faq a,
.lp-page .lp-geo-nearby a {
  color: var(--lp-navy); text-decoration: underline; text-decoration-color: var(--lp-gold-deep);
  text-underline-offset: 3px; font-weight: 700;
}
.lp-page .lp-geo-prose a:hover, .lp-page .lp-faq a:hover, .lp-page .lp-geo-nearby a:hover { text-decoration-color: currentColor; }
.lp-page section > .lp-wrap .lp-geo-intro p { font-size: 19px; }
.lp-page section:has(> .lp-wrap > .lp-geo-intro) > .lp-wrap { padding-block: 56px 72px; }

/* ---------- services list ---------- */
.lp-geo-services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
/* four, two or one per row: never three and an orphan */
@media (max-width: 1000px) { .lp-geo-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-geo-services { grid-template-columns: 1fr; } }
.lp-geo-services li {
  border: 1px solid var(--lp-line); border-top: 3px solid var(--lp-gold); border-radius: 14px;
  padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; background: #fff;
}
.lp-geo-n { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--lp-gold-ink); }
.lp-page .lp-geo-services h3 a { color: var(--lp-navy); text-decoration: none; }
.lp-page .lp-geo-services h3 a:hover { text-decoration: underline; }
.lp-geo-services p { font-size: 15.5px; line-height: 1.55; color: var(--lp-body); }

/* ---------- why H&C ---------- */
.lp-geo-why { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-geo-why-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.lp-page .lp-geo-why-links a { color: var(--lp-gold); font-weight: 800; text-decoration: none; }
.lp-page .lp-geo-why-links a:hover { text-decoration: underline; }
@media (max-width: 860px) { .lp-geo-why { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FAQ answers carry links, and stay open-able ---------- */
.lp-geo .lp-faq details p { line-height: 1.65; }
.lp-geo-nearby { font-size: 16px; color: var(--lp-body); }

/* ---------- city index ---------- */
.lp-geo-index {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 28px 32px;
}
.lp-geo-index h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-gold-ink); margin-bottom: 10px; }
.lp-geo-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-page .lp-geo-index a { color: var(--lp-navy); font-weight: 700; text-decoration: none; font-size: 16.5px; }
.lp-page .lp-geo-index a:hover { text-decoration: underline; }

/* ---------- hero photo band (scripts/geo-photos.mjs) ----------
   Full width behind the heading, like the home page: the photo, a navy veil
   strong enough on the left for white text, and the copy on top. */
.lp-geo-hero--photo { position: relative; overflow: hidden; background: var(--lp-navy-deep); color: #fff; }
.lp-geo-hero-bg, .lp-geo-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-geo-hero-bg img { object-fit: cover; object-position: center; display: block; }
.lp-geo-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(27, 45, 68, .88) 0%, rgba(27, 45, 68, .72) 45%, rgba(27, 45, 68, .35) 100%);
}
.lp-geo-hero-copy { position: relative; z-index: 2; }
.lp-page .lp-geo-hero--photo > .lp-wrap { padding-block: 96px 88px; }
.lp-geo-hero--photo h1 { color: #fff; max-width: 18ch; }
.lp-geo-hero--photo .lp-eyebrow { color: var(--lp-gold); }
.lp-geo-hero--photo .lp-lede { color: #E6ECF3; max-width: 52ch; }
.lp-geo-hero--photo .lp-geo-crumb { color: #C9D3DF; }
.lp-page .lp-geo-hero--photo .lp-geo-crumb a { color: #fff; }
.lp-geo-hero--photo .lp-geo-marks { color: #fff; }
.lp-geo-hero--photo .lp-geo-marks li::before { background: var(--lp-gold); }
@media (max-width: 700px) {
  .lp-geo-hero--photo::before { background: linear-gradient(180deg, rgba(27, 45, 68, .70) 0%, rgba(27, 45, 68, .86) 100%); }
  .lp-page .lp-geo-hero--photo > .lp-wrap { padding-block: 64px 56px; }
}
