/* Hide page titles site-wide */
.page .entry-title {
  display: none;
}
/* === FORCE LOFTY-LIKE TYPOGRAPHY (base) === */
html, body,
button, input, select, textarea {
  font-family: inherit;
}

/* Replace the font below once you confirm Lofty’s font-family */
:root {
  --lofty-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --lofty-body-size: 16px;
  --lofty-body-line: 1.55;
  --lofty-body-weight: 400;
  --lofty-heading-weight: 600;
}

body {
  font-family: var(--lofty-font) !important;
  font-size: var(--lofty-body-size) !important;
  line-height: var(--lofty-body-line) !important;
  font-weight: var(--lofty-body-weight) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lofty-font) !important;
  font-weight: var(--lofty-heading-weight) !important;
}
/* === BUTTONS: Lofty-ish === */
a.button, .button, button,
.wp-block-button__link,
.ast-button, .ast-custom-button {
  font-family: var(--lofty-font) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

a.button:hover, .button:hover, button:hover,
.wp-block-button__link:hover,
.ast-button:hover, .ast-custom-button:hover {
  filter: brightness(0.95);
}
/* === EXIT / BACK TO VISTAS LINK === */
.menu-exit > a {
  font-weight: 400 !important;
  opacity: 0.65;
  font-size: 0.95em;
}

.menu-exit > a:hover {
  opacity: 1;
  text-decoration: underline;
}
/* ===============================
   LOFTY-STYLE HEADER NAVIGATION
   =============================== */

.main-header-menu > li > a,
.ast-header-break-point .main-header-menu > li > a {
  font-family: var(--lofty-font) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  opacity: 0.95;
}

.main-header-menu > li > a:hover {
  opacity: 1;
}

.main-header-menu > li.current-menu-item > a,
.main-header-menu > li.current_page_item > a {
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}

/* Exit / Return link */
.menu-exit > a {
  font-weight: 400 !important;
  opacity: 0.6 !important;
  letter-spacing: 0.06em !important;
}

.menu-exit > a:hover {
  opacity: 1 !important;
  text-decoration: underline;
}
/* ===============================
   NAV: Match Lofty (darker, bolder, tighter)
   =============================== */

.main-header-menu > li > a,
.ast-header-break-point .main-header-menu > li > a {
  color: #000 !important;             /* Lofty is black */
  opacity: 1 !important;             /* remove gray fade */
  font-weight: 700 !important;       /* Lofty looks bold */
  font-size: 15px !important;        /* slightly bigger */
  letter-spacing: 0.05em !important; /* tighter than before */
  text-transform: uppercase !important;
}

/* Hover: keep it simple, still black */
.main-header-menu > li > a:hover {
  color: #000 !important;
  text-decoration: none !important;
}

/* Active item: Lofty-style red underline */
.main-header-menu > li.current-menu-item > a,
.main-header-menu > li.current_page_item > a {
  border-bottom: 3px solid #8b1e1e !important; /* close to Lofty underline */
  padding-bottom: 6px !important;
}

/* Exit / Return link stays lighter */
.menu-exit > a {
  font-weight: 500 !important;  /* lighter than main nav */
  opacity: 0.7 !important;
  letter-spacing: 0.04em !important;
}

.menu-exit > a:hover {
  opacity: 1 !important;
  text-decoration: underline !important;
}
/* ===============================
   EXIT LINK: Return to Vistas Realty Group
   =============================== */

.menu-exit > a {
  font-weight: 500 !important;
  opacity: 0.6 !important;
}

.menu-exit > a:hover {
  opacity: 1 !important;
  text-decoration: underline;
}
/* ===============================
   FORCE EXIT SHADING — Return to Vistas Realty
   Menu Item ID: 226
   =============================== */

#menu-item-226 > a {
  opacity: 0.55 !important;
  font-weight: 500 !important;
}

#menu-item-226 > a:hover {
  opacity: 1 !important;
  text-decoration: underline !important;
}
/* Footer legal links – subtle, not CTA */
.site-footer a {
  color: #000 !important;
  opacity: 0.65;
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
/* ===============================
   FOOTER – Match Lofty (dark background, white text)
   =============================== */

/* Footer background */
.site-footer,
.site-footer .ast-footer-overlay {
  background-color: #294E68 !important;
}

/* Footer text */
.site-footer,
.site-footer p,
.site-footer span,
.site-footer strong,
.site-footer li {
  color: #ffffff !important;
}

/* Footer links */
.site-footer a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Footer menu links (Astra-specific) */
.site-footer .ast-footer-menu a {
  color: rgba(255,255,255,0.85) !important;
}

.site-footer .ast-footer-menu a:hover {
  color: #ffffff !important;
}

/* Remove any lingering borders or separators */
.site-footer * {
  border-color: rgba(255,255,255,0.15) !important;
}
