/**
 * inner-pages.css — Meadow Lane Park
 * Layouts specific to About, Amenities, Location, and Contact pages.
 */

/* ── Location page layout ────────────────────────────── */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  margin-top: var(--space-8);
}

.location-address {
  font-style: normal;
  color: var(--clr-text-dark);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

.location-features-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
}

.location-features-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--clr-stone);
  line-height: var(--leading-snug);
}

.location-features-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-teal);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── Nearby grid ─────────────────────────────────────── */
.nearby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.nearby-item {
  background: var(--clr-stone-light);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.nearby-item__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-slate);
  margin-bottom: 2px;
}

.nearby-item__dist {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}

/* ── Map placeholder ─────────────────────────────────── */
.map-placeholder {
  background: var(--clr-stone-light);
  border: 1px dashed var(--clr-stone);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
  color: var(--clr-text-light);
  text-align: center;
}

.location-map-embed {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.location-map-embed img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.location-map-embed--iframe {
  min-height: 420px;
}

.location-map-embed--iframe iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

.map-placeholder svg {
  color: var(--clr-teal-mid);
  opacity: 0.5;
}

.map-placeholder p {
  font-size: var(--text-sm);
  max-width: 280px;
  color: var(--clr-text-light);
}

/* Live map embed sizing */
.location-layout__map iframe {
  width: 100%;
  min-height: 440px;
  border-radius: var(--radius-lg);
  border: none;
  display: block;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1023px) {
  .location-layout  { grid-template-columns: 1fr; }
  .nearby-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .nearby-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   OWNERSHIP PAGE
   ═══════════════════════════════════════════════════════ */

/* ── Stat cards (right column of intro) ─────────────── */
.ownership-highlight-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.ownership-stat {
  background: var(--clr-teal-light);
  border: 1px solid var(--clr-teal-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}

.ownership-stat__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--clr-teal);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.ownership-stat__label {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  line-height: var(--leading-snug);
}

/* ── Comparison table ────────────────────────────────── */
.ownership-comparison h2 {
  margin-bottom: var(--space-3);
}

.ownership-comparison > p {
  color: var(--clr-text-mid);
  margin-bottom: var(--space-8);
  max-width: 60ch;
}

.ownership-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-2);
}

.ownership-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.ownership-table thead th {
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  border-bottom: 1px solid var(--clr-border);
}

.ownership-table__col--us {
  background: var(--clr-teal-light);
  color: var(--clr-teal);
  font-weight: 500;
  border-radius: 0;
}

.ownership-table thead .ownership-table__col--us {
  color: var(--clr-teal);
  border-bottom: 2px solid var(--clr-teal-mid);
}

.ownership-table thead .ownership-table__col--them {
  color: var(--clr-text-light);
}

.ownership-table tbody tr {
  border-bottom: 1px solid var(--clr-border);
}

.ownership-table tbody tr:last-child {
  border-bottom: none;
}

.ownership-table tbody td {
  padding: var(--space-4) var(--space-5);
  vertical-align: middle;
  color: var(--clr-text-dark);
}

.ownership-table tbody td:first-child {
  font-weight: 500;
  color: var(--clr-slate);
}

/* ── Comparison badges ───────────────────────────────── */
.ownership-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}

.ownership-badge--yes {
  background: rgba(74, 124, 111, 0.12);
  color: var(--clr-teal);
}

.ownership-badge--yes::before {
  content: '✓';
  font-size: 0.7rem;
}

.ownership-badge--no {
  background: rgba(0,0,0,0.04);
  color: var(--clr-text-light);
}

.ownership-badge--no::before {
  content: '✕';
  font-size: 0.7rem;
}

/* ── Process steps ───────────────────────────────────── */
.ownership-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.ownership-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.ownership-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-teal);
  color: white;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ownership-step__body h3 {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--clr-slate);
  margin-bottom: var(--space-2);
}

.ownership-step__body p {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  line-height: var(--leading-normal);
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767px) {
  .ownership-highlight-card {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ownership-stat {
    flex: 1;
    min-width: 140px;
  }

  .ownership-steps {
    grid-template-columns: 1fr;
  }

  .ownership-table thead th,
  .ownership-table tbody td {
    padding: var(--space-3);
  }
}

.ownership-table-note {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  margin-top: var(--space-3);
  line-height: var(--leading-snug);
}
