/* ==========================================================
   MikeDelRose.com brand layer, November 2026
   Follows coldwellbanker.com: a solid navy header bar, white
   pages, one clean sans-serif, 8px corners, soft card shadows.
   Navy is the primary. Silver and black are the accents.
   No gold anywhere.
   Loaded last on every page so it sits on top of each page's
   own styles and the September refresh layer.
   ========================================================== */

:root {
  --navy:       #163166;
  --navy-deep:  #0e2248;
  --ink:        #1f2430;
  --silver:     #a7a9ac;
  --silver-lt:  #c9cbce;
  --silver-dk:  #6b6e73;
  --line:       #e3e5e8;

  /* gold tokens retired: anything still pointing at them reads silver */
  --gold:       #a7a9ac;
  --gold-lt:    #c9cbce;
  --gold-light: #c9cbce;
  --gold-alt:   #a7a9ac;

  --font-head:  'Roboto', Helvetica, Arial, sans-serif;
  --font-body:  'Roboto', Helvetica, Arial, sans-serif;
  --font-h:     'Roboto', Helvetica, Arial, sans-serif;
  --font-b:     'Roboto', Helvetica, Arial, sans-serif;

  --cb-radius:  8px;
  --cb-shadow:  0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.06);
  --cb-shadow-hover: 0 4px 12px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.06);
}

/* ---------- Type: one family, quieter weights ---------- */
body {
  font-family: var(--font-body);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4,
.hero-headline, .hero-title, .section-title, .story-title, .cta-headline,
.course-title, .journey-card-title, .close-sec h2 {
  font-family: var(--font-head) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
h4, h5, h6 { font-weight: 500; }
strong, b { font-weight: 700; }

/* ---------- Header: the navy bar ---------- */
/* "html body" prefix outranks each page's own nav rules */
html body > nav:not(.cross-links), html body .top-nav, html body .std-nav, html body header.bar {
  background: var(--navy) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body header.bar nav { background: transparent !important; }

html body > nav:not(.cross-links) :is(a, span, div, b, small),
html body .top-nav :is(a, span, div, b, small),
html body .std-nav :is(a, span, b, small),
html body header.bar :is(a, span) {
  color: #fff !important;
}
html body > nav:not(.cross-links) :is(.nav-links a, .nav-phone, .nav-brand-sub),
html body .top-nav :is(.nav-back, .nav-brand span),
html body .std-nav :is(.std-links a, .std-brand small),
html body header.bar :is(nav a, .brand span),
html body > nav.nav .brand span {
  color: rgba(255,255,255,.82) !important;
}
html body > nav:not(.cross-links) .nav-links a:hover,
html body .std-nav .std-links a:hover, html body .std-nav .std-links a[aria-current="page"],
html body header.bar nav a:hover, html body .top-nav .nav-back:hover {
  color: #fff !important;
}
/* logos on the navy bar render white */
html body > nav:not(.cross-links) img, html body .top-nav img, html body .std-nav img, html body header.bar img {
  filter: brightness(0) invert(1);
}
html body .hamburger span, html body .nav-hamburger span { background: #fff !important; }

/* header buttons: outlined white, like CB's search-bar actions */
html body > nav:not(.cross-links) .nav-cta, html body .top-nav .nav-cta, html body .std-nav .std-cta {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.6) !important;
  border-radius: var(--cb-radius) !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
}
html body > nav:not(.cross-links) .nav-cta:hover, html body .top-nav .nav-cta:hover, html body .std-nav .std-cta:hover {
  background: #fff !important;
  color: var(--navy) !important;
  border-color: #fff !important;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost, .btn, .close-btn, .cta-schedule-btn, .drawer-cta,
.next-btn, .calc-btn, .rt-send, .resource-link, .copy-btn, .sb-next-go {
  border-radius: var(--cb-radius) !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
}
.close-btn.alt { border-color: rgba(22,49,102,.5) !important; }
.close-btn.alt:hover { border-color: var(--navy) !important; }

/* ---------- Cards: soft shadow, rounded, no hard borders ---------- */
.journey-card, .rating-card, .post-card, .blog-card, .article-card, .snapshot-card {
  border: 0 !important;
  border-radius: var(--cb-radius) !important;
  box-shadow: var(--cb-shadow) !important;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.journey-card:hover, .rating-card:hover, .post-card:hover, .blog-card:hover, .article-card:hover {
  box-shadow: var(--cb-shadow-hover) !important;
}

/* ---------- Accents ---------- */
::selection { background: rgba(167,169,172,.35); }
hr { border: 0; border-top: 1px solid var(--line); }
.rating-stars { color: var(--ink) !important; }
.town-stat-unit { color: var(--silver-dk) !important; }

/* ---------- Former gold buttons: white with navy type, like CB ---------- */
.tool-cta-btn, .hq-go, .btn-gold {
  background: #fff !important;
  color: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  border-radius: var(--cb-radius) !important;
}
.tool-cta-btn:hover, .hq-go:hover, .btn-gold:hover { background: #eef1f7 !important; opacity: 1 !important; }

/* ---------- Small contrast fixes found during the refresh ---------- */
.cb-ad-label { color: #5d6271 !important; }
.snapshot-date, .snapshot-n, .hero-data-note { color: rgba(255,255,255,.72) !important; }

/* ---------- Copyright strip (pages without their own footer line) ---------- */
.site-copyright {
  background: var(--navy-deep);
  color: rgba(255,255,255,.72);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .02em;
  text-align: center;
  padding: 18px 24px;
}
.site-copyright p { margin: 0 auto; max-width: 1100px; }
.site-copyright a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-copyright a:hover { color: var(--silver-lt); }
