/*
 * Property Guest Guide — shared styles
 * Used by guide-property.php (unified template for all 4 property guides)
 */

:root {
  --rg-gold:        #C8924A;
  --rg-gold-light:  #E8C99A;
  --rg-dark:        #1A1814;
  --rg-dark-soft:   #242018;
  --rg-warm:        #F6F0E8;
  --rg-warm-mid:    #EDE4D7;
  --rg-warm-deep:   #E3D5C3;
  --rg-text:        #2C2820;
  --rg-text-light:  #4A4540;
  --rg-text-xlight: #6B6257;
  --rg-border:      #D9CFC4;
  --rg-white:       #FDFAF6;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
.rg-guide * { margin: 0; padding: 0; box-sizing: border-box; }

.rg-guide {
  font-family: 'DM Sans', sans-serif;
  background: var(--rg-white);
  color: var(--rg-text);
  font-size: 16px;
  line-height: 1.7;
  max-width: 70%;
  margin: 80px auto 80px;
}

/* ── Cover hero — full image ────────────────────────────────────────────────── */
.rg-cover-hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background: var(--rg-dark);
  display: flex;
  align-items: flex-end;
}
.rg-cover-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}
.rg-cover-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,24,20,0.15) 0%, rgba(26,24,20,0.65) 50%, rgba(26,24,20,0.97) 100%);
}
.rg-cover {
  background: transparent;
  color: var(--rg-white);
  padding: 0 52px 52px;
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 0;
}
.rg-cover::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(200,146,74,.10);
}
.rg-cover::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(200,146,74,.07);
}
.rg-cover-eyebrow { font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(253,250,246,.85); margin-bottom: 12px; font-weight: 500; }
.rg-cover h1      { font-family: 'Cormorant Garamond', serif; font-size: 80px; line-height: 1.05; font-weight: 300; margin-bottom: 10px; letter-spacing: -.5px; color: var(--rg-white); }
.rg-cover h1 em   { color: var(--rg-gold-light); font-style: italic; font-weight: 300; }
.rg-cover-sub     { font-size: 22px; color: rgba(253,250,246,.90); line-height: 1.75; margin-bottom: 40px; max-width: 520px; font-weight: 400; }
.rg-cover-meta    { display: flex; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgba(200,146,74,.30); padding-top: 24px; }
.rg-cover-meta-item { font-size: 15px; color: rgba(253,250,246,.75); letter-spacing: 1.5px; text-transform: uppercase; }
.rg-cover-meta-item strong { display: block; color: var(--rg-gold-light); font-family: 'Cormorant Garamond', serif; font-size: 22px; letter-spacing: 0; text-transform: none; font-weight: 400; margin-bottom: 3px; font-style: italic; }

/* ── Address strip ──────────────────────────────────────────────────────────── */
.rg-address-strip {
  background: var(--rg-warm-mid);
  border-bottom: 1px solid var(--rg-border);
  padding: 16px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.rg-address-strip-addr     { font-size: 14px; color: var(--rg-text-light); font-weight: 400; }
.rg-address-strip-addr strong { color: var(--rg-text); font-weight: 600; }
.rg-address-strip-contact  { font-size: 14px; color: var(--rg-text-light); }
.rg-address-strip-contact a { color: var(--rg-gold); text-decoration: none; font-weight: 500; }

/* ── Neighbourhood ──────────────────────────────────────────────────────────── */
.rg-hood { border-bottom: 1px solid var(--rg-border); background: var(--rg-warm); }
.rg-hood-img  { width: 100%; height: 250px !important; object-fit: cover; object-position: center 60%; display: block; }
.rg-hood-body { padding: 28px 52px 32px; }
.rg-hood-tag  { font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--rg-gold); display: block; margin-bottom: 10px; font-weight: 600; }
.rg-hood-name { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; margin-bottom: 10px; }
.rg-hood-desc { font-size: 20px; color: var(--rg-text); line-height: 1.75; max-width: 700px; font-weight: 400; }

/* ── Top picks bar ──────────────────────────────────────────────────────────── */
.rg-top-picks {
  background: var(--rg-dark-soft);
  border-top: 1px solid rgba(200,146,74,.12);
  border-bottom: 1px solid rgba(200,146,74,.12);
  padding: 32px 52px;
}
.rg-tp-label     { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--rg-gold); margin-bottom: 20px; font-weight: 600; }
.rg-tp-grid      { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: rgba(200,146,74,.10); }
.rg-tp-item      { background: var(--rg-dark); overflow: hidden; }
.rg-tp-item-img  { width: 100%; height: 160px !important; object-fit: cover; object-position: center 60%; display: block; opacity: .85; }
.rg-tp-item-body { padding: 14px 16px 16px; }
.rg-tp-cat  { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--rg-gold); margin-bottom: 6px; font-weight: 600; }
.rg-tp-val  { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--rg-white); font-weight: 400; margin-bottom: 6px; }
.rg-tp-note { font-size: 15px; color: rgba(253,250,246,.90); line-height: 1.55; }

/* ── Section ────────────────────────────────────────────────────────────────── */
.rg-section           { padding: 40px 52px 0; }
.rg-section:last-of-type { padding-bottom: 52px; }
.rg-section-header    { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--rg-border); }
.rg-section-icon      { font-size: 20px; color: var(--rg-gold); font-weight: 700; }
.rg-section-title     { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; letter-spacing: -.2px; }

/* ── Pick cards ─────────────────────────────────────────────────────────────── */
.rg-pick-card {
  background: var(--rg-warm);
  border: 1px solid var(--rg-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.rg-pick-card:last-child { margin-bottom: 0; }
.rg-pick-card.top { border-left: 3px solid var(--rg-gold); }

.rg-pick-card-img {
  width: 100%;
  height: 250px !important;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.rg-pick-card-body {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}
.rg-pick-card.top .rg-pick-card-body { padding-left: 21px; }

.rg-pick-name    { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; line-height: 1.2; margin-bottom: 6px; color: var(--rg-text); }
.rg-pick-why     { font-size: 20px; color: var(--rg-text); line-height: 1.7; margin-bottom: 12px; font-weight: 400; }
.rg-pick-details { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rg-pick-detail  { font-size: 15px; color: var(--rg-text-xlight); }
.rg-pick-detail strong { color: var(--rg-text); font-weight: 600; }

/* ── Badge ──────────────────────────────────────────────────────────────────── */
.rg-badge {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
  height: fit-content;
}
.rg-badge-gold  { background: var(--rg-gold);      color: var(--rg-white); }
.rg-badge-dark  { background: var(--rg-dark);       color: var(--rg-gold-light); }
.rg-badge-warm  { background: var(--rg-warm-deep);  color: #6B5030; }
.rg-badge-green { background: #D4E8D0;              color: #2D5A25; }

/* ── Note / Tip ─────────────────────────────────────────────────────────────── */
.rg-note {
  background: var(--rg-dark);
  color: rgba(253,250,246,.95);
  font-size: 15px;
  padding: 12px 16px 12px 28px;
  border-radius: 2px;
  line-height: 1.65;
  position: relative;
  margin-top: 12px;
  font-weight: 400;
}
.rg-note::before { content: '◆'; position: absolute; left: 12px; top: 14px; font-size: 6px; color: var(--rg-gold); }
.rg-tip {
  background: var(--rg-warm-mid);
  border-left: 2px solid var(--rg-gold);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--rg-text);
  line-height: 1.65;
  font-weight: 400;
}

/* ── Divider ────────────────────────────────────────────────────────────────── */
.rg-divider { height: 1px; background: linear-gradient(to right, var(--rg-gold), transparent); margin: 40px 52px 0; opacity: .25; }

/* ── PDF bar ────────────────────────────────────────────────────────────────── */
.rg-pdf-bar {
  background: var(--rg-dark);
  border-top: 1px solid rgba(200,146,74,.20);
  padding: 40px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}
.rg-pdf-bar-label { font-size: 16px; color: rgba(253,250,246,.85); font-weight: 400; line-height: 1.5; max-width: 420px; }
.rg-pdf-bar-label strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--rg-gold-light); font-weight: 400; margin-bottom: 4px; font-style: italic; }
.rg-pdf-link {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rg-dark);
  background: var(--rg-gold);
  padding: 16px 32px;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
}
.rg-pdf-link:hover { background: var(--rg-gold-light); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

/* Laptop (1025–1280px) */
@media (max-width: 1280px) {
  .rg-guide { max-width: 80%; }
}

/* Tablet landscape (769–1024px) */
@media (max-width: 1024px) {
  .rg-guide       { max-width: 90%; margin: 60px auto; }
  .rg-cover h1    { font-size: 70px; }
  .rg-tp-grid       { grid-template-columns: 1fr 1fr; }
  .rg-tp-item-img   { height: 140px !important; }
  .rg-hood-img      { height: 220px !important; }
  .rg-pick-card-img { height: 220px !important; }
}

/* Tablet portrait (601–768px) */
@media (max-width: 768px) {
  .rg-guide { max-width: 96%; margin: 0 auto; }
  .rg-cover,
  .rg-hood-body,
  .rg-section,
  .rg-address-strip,
  .rg-top-picks,
  .rg-pdf-bar       { padding-left: 28px; padding-right: 28px; }
  .rg-divider        { margin-left: 28px; margin-right: 28px; }
  .rg-cover h1       { font-size: 60px; }
  .rg-cover-hero     { min-height: 70vh; }
  .rg-hood-img       { height: 200px !important; }
  .rg-pick-card-img  { height: 200px !important; }
  .rg-pick-card-body { grid-template-columns: 1fr; }
  .rg-pdf-bar        { flex-direction: column; align-items: flex-start; }
}

/* Large mobile (481–600px) */
@media (max-width: 600px) {
  .rg-guide { max-width: 100%; margin: 0; }
  .rg-cover,
  .rg-hood-body,
  .rg-section,
  .rg-address-strip,
  .rg-top-picks,
  .rg-pdf-bar       { padding-left: 20px; padding-right: 20px; }
  .rg-divider        { margin-left: 20px; margin-right: 20px; }
  .rg-cover h1       { font-size: 52px; }
  .rg-cover-sub      { font-size: 20px; }
  .rg-cover-hero     { min-height: 65vh; }
  .rg-hood-img       { height: 180px !important; }
  .rg-tp-grid        { grid-template-columns: 1fr 1fr; }
  .rg-tp-item-img    { height: 120px !important; }
  .rg-pick-card-img  { height: 180px !important; }
  .rg-pick-card-body { grid-template-columns: 1fr; }
  .rg-address-strip  { flex-direction: column; gap: 6px; }
  .rg-pdf-bar        { flex-direction: column; align-items: flex-start; }
  .rg-pdf-link       { width: 100%; text-align: center; }
}

/* Mobile (320–480px) */
@media (max-width: 480px) {
  .rg-cover h1       { font-size: 44px; }
  .rg-cover-hero     { min-height: 60vh; }
  .rg-cover-sub      { font-size: 18px; }
  .rg-hood-img       { height: 160px !important; }
  .rg-tp-grid        { grid-template-columns: 1fr; }
  .rg-tp-item-img    { height: 100px !important; }
  .rg-pick-card-img  { height: 160px !important; }
  .rg-section-title  { font-size: 22px; }
  .rg-pick-name      { font-size: 20px; }
  .rg-cover-meta     { gap: 16px; }
}

/* Very small (below 360px) */
@media (max-width: 360px) {
  .rg-cover h1       { font-size: 38px; }
  .rg-cover          { padding: 0 16px 36px; }
  .rg-cover-hero     { min-height: 55vh; }
  .rg-hood-img       { height: 140px !important; }
  .rg-pick-card-img  { height: 140px !important; }
}
