/* ============================================================
   BLOG & NEIGHBORHOOD PAGES — Subpage styles
   Loaded only on /blog/* and /courtier-immobilier-*/ pages
   ============================================================ */

/* Subpage hero (lighter than main hero) */
.subpage-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: var(--white);
  padding: 170px 0 70px;
  text-align: center;
  border-bottom: 4px solid var(--gold);
}

/* ============================================================
   Article hero — version claire pour pages d'article (style éditorial)
   ============================================================ */
.article-hero {
  background: #fff;
  padding: 160px 0 50px;
  border-bottom: 1px solid #eee;
}
.article-hero .container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
.article-hero .breadcrumbs {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.article-hero .breadcrumbs a {
  color: var(--gold);
  font-weight: 700;
  transition: color 0.2s;
}
.article-hero .breadcrumbs a:hover { text-decoration: underline; }
.article-hero .breadcrumbs .sep { margin: 0 8px; color: #ccc; }
.article-hero .eyebrow {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.article-hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.article-hero .lede {
  font-size: 18px;
  line-height: 1.65;
  color: #555;
  margin-bottom: 20px;
  max-width: 740px;
}
.article-hero .meta {
  font-size: 14px;
  color: #888;
  letter-spacing: 0.3px;
}
.article-hero .meta strong { color: var(--gold); font-weight: 700; }
.subpage-hero .container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.subpage-hero .breadcrumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.subpage-hero .breadcrumbs a { color: var(--gold); transition: color 0.2s; }
.subpage-hero .breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.subpage-hero .breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.subpage-hero .eyebrow {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.subpage-hero h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}
.subpage-hero .lede {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto;
}
.subpage-hero .meta {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}
.subpage-hero .meta strong { color: var(--gold); font-weight: 700; }

/* Blog listing grid */
.blog-listing { padding: 80px 0; background: #fafafa; }
.blog-listing .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.blog-card-image .category-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.blog-card-image .image-title {
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 20px;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 12px;
}
.blog-card .excerpt { color: #555; font-size: 14.5px; line-height: 1.65; flex: 1; }
.blog-card .blog-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  font-size: 12.5px;
  color: var(--text-muted);
}
.blog-card .read-more {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.blog-card a.card-link { display: contents; }

/* Article page */
.article-body { padding: 70px 0; background: #fff; }
.article-body .container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-body .toc {
  background: #faf7f5;
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 40px;
  border-radius: 4px;
}
.article-body .toc strong {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.article-body .toc ul { padding-left: 20px; list-style: decimal; }
.article-body .toc li { margin-bottom: 6px; font-size: 14.5px; }
.article-body .toc a { color: var(--black); border-bottom: 1px dashed transparent; }
.article-body .toc a:hover { border-bottom-color: var(--gold); color: var(--gold); }

.article-body h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 28px;
  line-height: 1.3;
  margin-top: 50px;
  margin-bottom: 16px;
  color: var(--black);
  scroll-margin-top: 100px;
}
.article-body h2::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 14px;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--black);
}
.article-body p { font-size: 16.5px; line-height: 1.85; color: #333; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; padding-left: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 10px; font-size: 16.5px; line-height: 1.75; color: #333; }
.article-body strong { color: var(--black); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: #faf7f5;
  padding: 18px 24px;
  margin: 28px 0;
  font-style: italic;
  color: #444;
  font-size: 17px;
  line-height: 1.7;
}
.article-body .callout {
  background: linear-gradient(135deg, #fff6f7 0%, #fff 100%);
  border: 1px solid #f4d4d8;
  border-left: 4px solid var(--gold);
  padding: 22px 26px;
  border-radius: 4px;
  margin: 30px 0;
}
.article-body .callout strong { color: var(--gold); display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.article-body .callout p:last-child { margin-bottom: 0; }

/* CTA banner inside articles & neighborhood pages */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  padding: 50px 24px;
  text-align: center;
  margin: 50px auto 0;
  max-width: 760px;
  border-radius: 6px;
}
.cta-banner h3 { font-family: 'Merriweather', Georgia, serif; font-size: 26px; margin-bottom: 12px; color: #fff; }
.cta-banner p { font-size: 16px; opacity: 0.95; margin-bottom: 20px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .btn {
  background: #fff;
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  transition: var(--transition);
}
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* Neighborhood page sections */
.local-stats {
  background: #fff;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}
.local-stats .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.local-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.local-stat {
  text-align: center;
  padding: 24px 18px;
  background: #fafafa;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}
.local-stat .num {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.local-stat .label { font-size: 13.5px; color: #555; line-height: 1.4; }

.area-content { padding: 60px 0; background: #fafafa; }
.area-content .container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.area-content h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 30px;
  margin-top: 50px;
  margin-bottom: 16px;
  color: var(--black);
}
.area-content h2:first-child { margin-top: 0; }
.area-content h2::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 14px;
}
.area-content p { font-size: 16.5px; line-height: 1.85; color: #333; margin-bottom: 18px; }
.area-content ul { margin: 0 0 22px 24px; padding-left: 8px; list-style: disc; }
.area-content li { margin-bottom: 10px; font-size: 16.5px; line-height: 1.75; }

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.neighborhood-tile {
  background: #fff;
  padding: 22px 20px;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  transition: var(--transition);
}
.neighborhood-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.neighborhood-tile h4 { font-size: 17px; color: var(--black); margin-bottom: 6px; font-weight: 700; }
.neighborhood-tile p { font-size: 14px; color: #666; line-height: 1.55; margin-bottom: 0; }

/* Mobile */
@media (max-width: 768px) {
  .subpage-hero { padding: 140px 0 50px; }
  .subpage-hero h1 { font-size: 30px; }
  .subpage-hero .lede { font-size: 16px; }
  .article-hero { padding: 130px 0 40px; }
  .article-hero h1 { font-size: 30px; line-height: 1.25; }
  .article-hero .lede { font-size: 16px; }
  .article-body { padding: 50px 0; }
  .article-body h2 { font-size: 24px; }
  .article-body p, .article-body li { font-size: 15.5px; }
  .blog-listing { padding: 60px 0; }
  .local-stats { padding: 40px 0; }
  .area-content { padding: 40px 0; }
  .area-content h2 { font-size: 24px; }
  .cta-banner h3 { font-size: 22px; }
}
