﻿/* ============================================================
   INNER PAGE STYLES — pages.css
   Extends style.css for town and coast-life pages
   ============================================================ */

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--forest);
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,26,0.95) 0%,
    rgba(26,26,26,0.68) 50%,
    rgba(26,26,26,0.30) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 110px 28px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-hero__sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.76);
  max-width: 580px;
  line-height: 1.72;
  margin-top: 4px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--teal-light);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: rgba(255,255,255,0.28); font-size: 0.7rem; }

/* ============================================================
   PAGE SECTIONS
   ============================================================ */
.page-section { padding: 72px 0; background: var(--cream); }

.page-section--alt  { background: var(--cream-dark); }

.page-section--dark {
  background: var(--forest);
  position: relative;
}
.page-section--dark::before,
.page-section--mid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.3;
}
.page-section--dark h2,
.page-section--dark h3 { color: var(--white); }
.page-section--dark .section-eyebrow { color: var(--teal-light); }
.page-section--dark .section-sub     { color: rgba(255,255,255,0.60); }
.page-section--dark p                 { color: rgba(255,255,255,0.62); }

.page-section--mid {
  background: var(--forest-mid);
  position: relative;
}
.page-section--mid h2,
.page-section--mid h3  { color: var(--white); }
.page-section--mid .section-eyebrow { color: var(--teal-light); }
.page-section--mid .section-sub      { color: rgba(255,255,255,0.58); }
.page-section--mid p                  { color: rgba(255,255,255,0.60); }

/* ============================================================
   PAGE CONTENT (reading column)
   ============================================================ */
.page-content { max-width: 820px; }

.page-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 14px;
  line-height: 1.25;
}
.page-content h2 + .section-divider { margin-top: 0; }

.page-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  margin: 32px 0 8px;
  line-height: 1.3;
}

.page-content p {
  color: #3D3D3A;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.page-content p.intro-p {
  font-size: 1.08rem;
  font-weight: 300;
  color: #2A2A28;
  line-height: 1.92;
}
.page-content p strong { color: var(--forest); font-weight: 700; }

.page-content ul {
  list-style: none;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.page-content ul li {
  font-size: 0.97rem;
  color: #3D3D3A;
  padding-left: 22px;
  position: relative;
  line-height: 1.65;
}
.page-content ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-size: 0.82rem;
  top: 3px;
}
.page-content ul li strong { color: var(--forest); font-weight: 700; }

.section-divider {
  height: 1px;
  background: var(--cream-dark);
  margin: 36px 0;
  border: none;
}

/* ============================================================
   CATEGORY LINK GRID (town pages → coast-life pages)
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-teal);
  border-radius: 12px;
  padding: 22px 20px;
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(65,143,222,0.55);
  background: rgba(255,255,255,0.09);
}

.cat-card__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: rgba(65,143,222,0.12);
  border: 1px solid rgba(65,143,222,0.28);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  margin-top: 1px;
}
.cat-card__icon svg { width: 20px; height: 20px; }

.cat-card__content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.25;
}
.cat-card__content p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.56);
  line-height: 1.58;
  margin-bottom: 9px;
}
.cat-card__link {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal-light);
  transition: color 0.2s;
}
.cat-card:hover .cat-card__link { color: var(--teal); }

/* ============================================================
   TOWN LINK GRID (coast-life pages → town pages)
   ============================================================ */
.town-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.town-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-teal);
  background: var(--forest-mid);
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.town-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  border-color: rgba(65,143,222,0.50);
}
.town-card__img {
  height: 140px;
  background-size: cover;
  background-position: center;
}
.town-card__content {
  padding: 16px 18px 20px;
  flex: 1;
}
.town-card__content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}
.town-card__content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.58;
  margin-bottom: 9px;
}
.town-card__link {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.town-card:hover .town-card__link { color: var(--teal); }

/* ============================================================
   HIGHLIGHT GRID (2-col on town pages)
   ============================================================ */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 48px;
}

.highlight-grid li {
  list-style: none;
  padding: 0;
}
.highlight-grid li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 4px;
  line-height: 1.25;
}
.highlight-grid li strong a {
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  transition: color 0.18s, border-color 0.18s;
}
.highlight-grid li strong a:hover {
  color: var(--teal-dark);
  border-color: var(--teal-dark);
}
.highlight-grid li span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.62;
}
.highlight-grid li span a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  transition: color 0.18s, border-color 0.18s;
}
.highlight-grid li span a:hover {
  color: var(--forest);
  border-color: var(--forest);
}

/* Dark section variant */
.page-section--dark .highlight-grid li strong,
.page-section--mid  .highlight-grid li strong { color: var(--white); }
.page-section--dark .highlight-grid li span,
.page-section--mid  .highlight-grid li span   { color: rgba(255,255,255,0.52); }

/* ============================================================
   BUSINESS LIST (coast-life pages)
   ============================================================ */
.biz-section { margin-bottom: 44px; }

.biz-section__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.biz-section__heading h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--forest);
  line-height: 1.25;
  margin: 0;
}
.biz-section__heading a {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal-dark);
  border: 1px solid rgba(61,122,108,0.4);
  border-radius: 20px;
  padding: 3px 10px;
  transition: background 0.2s, color 0.2s;
}
.biz-section__heading a:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

.biz-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.biz-list li {
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  border-left: 3px solid var(--teal);
}
.biz-list li strong {
  display: block;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 3px;
  font-size: 0.96rem;
}
.biz-list li strong a { color: var(--teal-dark); }
.biz-list li strong a:hover { color: var(--teal); }
.biz-list li span {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.62;
}
.biz-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(65,143,222,0.1);
  border: 1px solid rgba(65,143,222,0.22);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ============================================================
   RELATED LIFESTYLE LINKS (coast-life pages)
   ============================================================ */
.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.related-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(65,143,222,0.08);
  border: 1px solid rgba(65,143,222,0.28);
  border-radius: 20px;
  padding: 8px 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.related-tag:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ============================================================
   PAGE CTA
   ============================================================ */
.page-cta {
  background: var(--forest);
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.page-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.35;
}
.page-cta .section-eyebrow { color: var(--teal-light); }
.page-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-cta p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.82;
}
.page-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .cat-grid  { grid-template-columns: repeat(2, 1fr); }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cat-grid          { grid-template-columns: 1fr; }
  .town-grid         { grid-template-columns: 1fr; }
  .highlight-grid    { grid-template-columns: 1fr; gap: 18px; }
  .page-section      { padding: 52px 0; }
  .page-hero__content { padding: 96px 22px 48px; }
  .page-cta          { padding: 60px 0; }
}

/* ════════════════════════════════════════════════════════════
   TOWN PAGE SECTIONS (shared across all town pages)
   Moved out of newport.html inline <style> so every town renders
   identically. Accordion (.acc*) styles remain inline per town.
   ════════════════════════════════════════════════════════════ */

/* ── Living at a Glance snapshot grid ── */
.snapshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.snapshot-card { background: var(--white); border: 1px solid var(--forest); border-radius: 14px; padding: 24px 20px; }
.snapshot-card__icon { width: 30px; height: 30px; margin-bottom: 12px; color: var(--teal); }
.snapshot-card__icon svg { display: block; width: 100%; height: 100%; }
.snapshot-card__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 6px; }
.snapshot-card__value { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--forest); margin-bottom: 6px; line-height: 1.25; }
.snapshot-card__note { font-size: 0.8rem; color: var(--text-mid); line-height: 1.55; }
@media (max-width: 768px) { .snapshot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .snapshot-grid { grid-template-columns: 1fr; } }

/* ── Blog cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.blog-card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; }
.blog-card__tag { display: inline-block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--forest); color: var(--white); margin-bottom: 14px; align-self: flex-start; }
.blog-card__title { font-family: 'Playfair Display', serif; font-size: 1.08rem; font-weight: 700; color: var(--forest); line-height: 1.3; margin-bottom: 12px; }
.blog-card__excerpt { font-size: 0.84rem; color: var(--text-mid); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--cream-dark); padding-top: 16px; }
.blog-card__meta { font-size: 0.72rem; color: var(--text-mid); }
.blog-card__link { font-size: 0.78rem; font-weight: 700; color: var(--teal); text-decoration: none; letter-spacing: 0.03em; transition: color 0.18s; }
.blog-card__link:hover { color: var(--forest); }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Left-aligned section headers: sub-text flush with heading ── */
.section-header[style*="text-align:left"] .section-sub { margin-left: 0; margin-right: 0; max-width: 780px; }

/* ── Sub-navigation ── */
.subnav { background: var(--white); border-bottom: 1px solid var(--cream-dark); position: sticky; top: 70px; z-index: 90; }
.subnav__inner { display: flex; gap: 8px; padding: 11px 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 1200px; margin: 0 auto; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link { display: inline-flex; align-items: center; white-space: nowrap; padding: 7px 17px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-decoration: none; color: var(--forest); background: var(--cream); border: 1.5px solid var(--cream-dark); transition: background 0.18s, color 0.18s, border-color 0.18s; flex-shrink: 0; }
.subnav__link:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.subnav__link.active { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ── Video embed ── */
.video-outer { margin-top: 32px; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; background: var(--forest); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 14px; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.video-placeholder__icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.video-placeholder__title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; color: var(--white); }
.video-placeholder__sub { font-size: 0.83rem; color: rgba(255,255,255,0.6); max-width: 380px; line-height: 1.6; }

/* ── Beach access list ── */
.beach-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.beach-list li { display: flex; gap: 16px; align-items: flex-start; }
.beach-list__badge { background: var(--teal); color: var(--white); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.beach-list__body { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; }
.beach-list__body strong { color: var(--forest); }
.beach-list__body a { color: var(--forest); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--teal); transition: color 0.18s, border-color 0.18s; }
.beach-list__body a:hover { color: var(--teal); border-color: var(--teal); }

/* ── Hero stats bar ── */
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(12,28,20,0.82); backdrop-filter: blur(4px); border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stats__inner { display: flex; align-items: stretch; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero-stats__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; border-right: 1px solid rgba(255,255,255,0.1); text-align: center; }
.hero-stats__item:last-child { border-right: none; }
.hero-stats__label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 3px; }
.hero-stats__value { font-family: 'Playfair Display', serif; font-size: 0.88rem; font-weight: 600; color: var(--white); line-height: 1.2; }
@media (max-width: 600px) { .hero-stats__inner { flex-wrap: wrap; } .hero-stats__item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 10px 8px; } .hero-stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); } .hero-stats__item:last-child { flex: 0 0 100%; border-right: none; } }

/* ── Market data cards ── */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.market-card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: 14px; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.market-card__label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-dark); }
.market-card__num { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; color: var(--forest); line-height: 1.1; }
.market-card__sub { font-size: 0.75rem; color: var(--text-mid); line-height: 1.4; }
.market-card__badge { display: inline-block; font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; margin-top: 4px; }
.market-card__badge--green { background: rgba(65,143,222,0.14); color: #7A6030; }
.market-card__badge--yellow { background: #fff3cd; color: #856404; }
.market-card__badge--blue { background: #d0e8fb; color: #0d4f8c; }
.market-card__badge--red { background: #fde8e8; color: #8c1a1a; }
@media (max-width: 900px) { .market-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .market-grid { grid-template-columns: 1fr; } }

/* ── Realtor section ── */
.realtor-section { background: var(--cream); }
.realtor-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; margin-top: 36px; }
.realtor-card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: 16px; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.realtor-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; text-align: left; padding: 36px 40px; border: 2px solid var(--teal); background: var(--white); }
.realtor-card__photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; background: var(--cream-dark); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; flex-shrink: 0; overflow: hidden; }
.realtor-card--featured .realtor-card__photo { width: 160px; height: 160px; font-size: 3rem; }
.realtor-card__badge { display: inline-block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--teal); color: var(--white); }
.realtor-card__name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--forest); margin: 0; }
.realtor-card--featured .realtor-card__name { font-size: 1.5rem; }
.realtor-card__title { font-size: 0.78rem; color: var(--teal-dark); font-weight: 700; letter-spacing: 0.04em; }
.realtor-card__bio { font-size: 0.87rem; color: var(--text-mid); line-height: 1.6; }
.realtor-card__meta { font-size: 0.75rem; color: var(--text-mid); }
.realtor-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.realtor-card__spot { background: var(--cream); border: 2px dashed var(--cream-dark); border-radius: 16px; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 200px; }
.realtor-card__spot-icon { width: 32px; height: 32px; opacity: 0.35; color: var(--text-mid); }
.realtor-card__spot-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); }
.realtor-card__spot-sub { font-size: 0.72rem; color: var(--text-mid); opacity: 0.7; }
@media (max-width: 900px) { .realtor-grid { grid-template-columns: 1fr 1fr; } .realtor-card--featured { grid-column: 1 / -1; grid-template-columns: 140px 1fr; padding: 28px 24px; gap: 24px; } }
@media (max-width: 600px) { .realtor-grid { grid-template-columns: 1fr; } .realtor-card--featured { grid-template-columns: 1fr; text-align: center; } .realtor-card--featured .realtor-card__photo { margin: 0 auto; } .realtor-card__actions { justify-content: center; } }

/* ── Coldwell Banker Professional Group Partnership Banner ── */
.rog-banner { background: #0A1730; padding: 28px 24px; }
.rog-banner__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rog-brand { display: flex; align-items: center; gap: 16px; }
.rog-logo-mark { width: 64px; height: 64px; flex-shrink: 0; display: block; }
.rog-spot__icon { width: 52px; height: 52px; display: block; margin: 0 auto 12px; }
.rog-wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.rog-wordmark__realty { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.42); }
.rog-wordmark__one { font-size: 1.15rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #418FDE; }
.rog-wordmark__group { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.42); }
.rog-banner__divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.rog-banner__right { display: flex; flex-direction: column; gap: 4px; }
.rog-banner__excl { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #418FDE; }
.rog-banner__territory { font-size: 0.82rem; color: rgba(255,255,255,0.42); margin: 0; }
.rog-agent-badge { display: inline-block; background: #418FDE; color: #0A1730; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.rog-spot { border: 1.5px dashed rgba(65,143,222,0.35) !important; background: rgba(65,143,222,0.04) !important; }
.rog-spot__btn { border-color: #418FDE !important; color: #418FDE !important; }
.rog-spot__btn:hover { background: #418FDE !important; color: #0A1730 !important; border-color: #418FDE !important; }
@media (max-width: 560px) { .rog-banner__divider, .rog-banner__right { display: none; } }

/* Deep-dive pages: optional hero video and in-body photos */
.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__video { display: none; }
}
.dd-figure { margin: 32px 0; }
.dd-figure img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.dd-figure figcaption {
  font-size: .78rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .dd-figure img { height: 240px; }
}

/* find-your-town: Resource Network copy in full white for readability */
.network-section p,
.network-section .section-eyebrow { color: var(--white); }
