/* ============================================================
   Luxe Life Realty — Blog Shared Stylesheet
   Theme: Dark header (#1a1a19) + Warm tan body (#beaf87) + Gold accent (#f99c00)
   Fonts: Playfair Display / Inter / Space Grotesk
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:       #1a1a19;
  --dark-soft:  #262626;
  --tan:        #beaf87;
  --tan-dark:   #a89868;
  --tan-light:  #cec09a;
  --gold:       #f99c00;
  --gold-dark:  #d4850a;
  --white:      #ffffff;
  --text-dark:  #1a1a19;
  --text-mid:   #3d3a30;
  --text-muted: #5c5646;
  --border:     rgba(26,26,25,0.18);
  --max-width:  740px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-dark);
  background: var(--tan);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.site-nav {
  background: var(--dark);
  padding: 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-nav__logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-nav__logo span { color: var(--gold); }
.site-nav__back {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--tan-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.site-nav__back:hover { color: var(--white); }

/* ── POST HERO HEADER (dark section) ── */
.post-hero {
  background: var(--dark);
  padding: 52px 28px 48px;
}
.post-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.post-hero__category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.post-hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.13;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Share row — sits between title and byline */
.share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.share-row__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.share-row__icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.share-icon:hover { background: var(--gold); color: var(--dark); }
.share-icon svg { flex-shrink: 0; }

/* Byline in dark header */
.post-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}
.post-byline__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(249,156,0,0.5);
  flex-shrink: 0;
  background: var(--dark-soft);
}
.post-byline__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  line-height: 1.2;
}
.post-byline__brokerage {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.post-byline__sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.15);
}
.post-byline__date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ── BODY CONTENT (tan section) ── */
.post-body-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 28px 80px;
}

/* TLDR */
.tldr {
  border-left: 4px solid var(--gold);
  background: rgba(26,26,25,0.06);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-bottom: 44px;
}
.tldr__label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.tldr__text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.72; }
.tldr__text strong { color: var(--text-dark); }
.tldr ul { margin: 8px 0 0 18px; }
.tldr ul li { margin-bottom: 6px; font-size: 0.95rem; color: var(--text-mid); }
.tldr ul li::marker { color: var(--gold-dark); }

/* Article body text */
.post-content p { margin-bottom: 1.55em; color: var(--text-mid); }
.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--text-dark);
  margin: 2.6em 0 0.7em;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.post-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  margin: 2em 0 0.5em;
  letter-spacing: -0.01em;
}
.post-content ul, .post-content ol { margin: 0 0 1.5em 1.4em; }
.post-content li { margin-bottom: 0.5em; color: var(--text-mid); }
.post-content strong { color: var(--text-dark); font-weight: 600; }
.post-content a { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--gold-dark); }
.post-content blockquote {
  border-left: 3px solid var(--gold);
  margin: 2em 0;
  padding: 16px 22px;
  background: rgba(26,26,25,0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-mid);
}
.post-content img {
  width: 100%;
  border-radius: 10px;
  margin: 2em 0;
  display: block;
}
.post-content .img-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -1.5em;
  margin-bottom: 2em;
}

/* Data callout cards */
.data-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.5em 0 2em; }
.data-card { background: rgba(26,26,25,0.07); border-radius: 10px; padding: 18px 20px; }
.data-card__label { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 6px; }
.data-card__value { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--text-dark); }
.data-card__sub { font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; }

/* Commission table */
.commission-table { width: 100%; border-collapse: collapse; margin: 1.5em 0 2em; font-size: 0.93rem; }
.commission-table th { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); text-align: left; padding: 10px 14px; background: rgba(26,26,25,0.08); border-bottom: 2px solid var(--border); }
.commission-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.commission-table tr:last-child td { border-bottom: none; font-weight: 600; color: var(--text-dark); background: rgba(26,26,25,0.08); }

/* Option cards */
.option-cards { display: grid; gap: 14px; margin: 1.5em 0 2em; }
.option-card { border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; background: rgba(26,26,25,0.04); }
.option-card__name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.93rem; color: var(--text-dark); margin-bottom: 7px; }
.option-card__desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }
.option-card--highlight { border-color: var(--gold-dark); background: rgba(249,156,0,0.07); }

/* Insight list */
.insight-list { list-style: none; margin: 0 0 1.5em; padding: 0; }
.insight-list li { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 0.93rem; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.insight-list li:last-child { border-bottom: none; }
.insight-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--gold-dark); font-size: 0.82rem; padding-top: 2px; }
.insight-text strong { color: var(--text-dark); display: block; margin-bottom: 3px; }

/* CTA */
.post-cta { background: var(--dark); border-radius: 14px; padding: 40px 36px; margin-top: 56px; text-align: center; }
.post-cta__label { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.post-cta__heading { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.55rem; color: var(--white); margin-bottom: 12px; line-height: 1.2; }
.post-cta__text { color: rgba(255,255,255,0.6); margin-bottom: 24px; font-size: 0.93rem; }
.post-cta__btn { display: inline-block; background: var(--gold); color: var(--dark); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.88rem; padding: 13px 28px; border-radius: 7px; text-decoration: none; transition: background 0.15s; }
.post-cta__btn:hover { background: var(--gold-dark); }

/* Footer */
.site-footer { background: var(--dark); padding: 28px 24px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.35); font-family: 'Space Grotesk', sans-serif; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* Blog index */
.blog-hero { background: var(--dark); padding: 72px 28px 60px; text-align: center; }
.blog-hero__label { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.blog-hero__title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--white); letter-spacing: -0.02em; margin-bottom: 14px; }
.blog-hero__sub { color: rgba(255,255,255,0.5); font-size: 1rem; max-width: 480px; margin: 0 auto; }

.posts-grid { max-width: 1100px; margin: 0 auto; padding: 52px 24px 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card { background: var(--dark); border-radius: 14px; overflow: hidden; text-decoration: none; display: block; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(26,26,25,0.25); }
.post-card__img { width: 100%; height: 190px; object-fit: cover; display: block; }
.post-card__body { padding: 22px 24px 26px; }
.post-card__meta { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 9px; }
.post-card__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.18rem; color: var(--white); line-height: 1.28; margin-bottom: 10px; }
.post-card__excerpt { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 16px; }
.post-card__read { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--gold); }

@media (max-width: 620px) {
  .post-hero { padding: 40px 20px 36px; }
  .post-body-wrap { padding: 36px 20px 60px; }
  .data-row { grid-template-columns: 1fr; }
  .post-cta { padding: 32px 20px; }
  .post-hero__title { font-size: 1.8rem; }
}
