/**
 * Shared eXp-style chrome for My Home Finder portal pages (Hosting /web).
 * Pair with Font Awesome 4.x + Raleway (linked from each HTML page).
 */
:root {
  --exp-header-bg: #000000;
  --exp-accent: #c5a059;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --exp-hero-overlay: 0.5;
}

.page-wrapper.exp-shell {
  background: #ffffff;
}

.exp-site-header {
  background: var(--exp-header-bg) !important;
  color: #fff !important;
  padding: 0;
  margin: 0;
}

.exp-site-header a,
.exp-site-header .exp-nav-link {
  color: var(--exp-accent) !important;
}

.exp-site-header .exp-header-icons a,
.exp-site-header .exp-header-icons button {
  color: var(--exp-accent) !important;
}

.exp-site-header .exp-header-icons .fa.action,
.exp-site-header .exp-header-icons .fa.social {
  color: #fff !important;
}

.exp-header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 16px 4px;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-header-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
}

.exp-header-icons li {
  display: inline-flex;
  align-items: center;
}

.exp-header-icons a,
.exp-header-icons button {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.exp-header-icons .auth-btn {
  border: 1px solid rgba(177, 154, 85, 0.45);
  padding: 6px 12px;
  border-radius: 2px;
  color: var(--exp-accent) !important;
}

.exp-header-icons .auth-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.exp-header-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.exp-logo-link img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.exp-nav-primary {
  border-top: 1px solid rgba(177, 154, 85, 0.35);
  padding: 0 8px;
}

.exp-nav-primary > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0;
}

.exp-nav-primary > ul > li {
  position: relative;
}

.exp-nav-link {
  display: block;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.exp-nav-link:hover {
  color: #fff !important;
  background: #1a1a1a;
}

.exp-nav-dd:hover .exp-nav-submenu,
.exp-nav-dd:focus-within .exp-nav-submenu {
  display: block !important;
}

.exp-nav-submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #000 !important;
  border: 1px solid var(--exp-accent) !important;
  z-index: 2000;
  list-style: none;
  margin: 0;
  padding: 0;
}

.exp-nav-submenu a {
  display: block;
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.exp-nav-submenu a:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}

.exp-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 16px 44px;
}

.exp-hero--subpage {
  min-height: 220px;
  padding: 28px 16px 36px;
}

/* Open-house / login subpages: no headshot in hero (valuation uses --valuation row layout) */
.exp-hero--subpage:not(.exp-hero--valuation) .exp-headshot-wrap {
  display: none !important;
}

.exp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.exp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--exp-hero-overlay));
}

.exp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.exp-headshot-wrap {
  margin-bottom: 16px;
}

.exp-headshot {
  display: inline-block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.exp-headshot--sm {
  width: 88px;
  height: 88px;
  border-width: 3px;
}

.exp-hero-title {
  color: #fff !important;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.exp-hero-tagline {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.exp-hero--on-light .exp-hero-title,
.exp-hero--on-light .exp-hero-tagline {
  color: #111827 !important;
  text-shadow: none;
}

.exp-hero--on-light .exp-headshot {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.exp-below-hero {
  position: relative;
  z-index: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.exp-portal-body {
  font-family: Raleway, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
