/* Florida Property Seekers 2 universal shell */

:root {
  --fps-shell-max: 1460px;
  --fps-sidebar-width: 276px;
  --fps-shell-gap: 24px;
}

/* Keep the MLS/brokerage identity visible as part of the sticky header stack. */
.fps-sticky-header-stack {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.fps-sticky-header-stack .site-header {
  position: relative;
  top: auto;
  z-index: auto;
}

/* Use the full desktop shell width for the simplified single-row navigation. */
.header-nav-inner {
  width: min(calc(100% - 40px), var(--fps-shell-max));
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.nav-links {
  flex-wrap: nowrap;
}

.nav-all-links {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.nav-all-links a {
  padding: 5px 2px;
  font-size: 13.5px;
}

.fps-real-estate-strip {
  width: 100%;
  background: #0a1930;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.fps-real-estate-strip-inner {
  width: min(100% - 28px, 1220px);
  min-height: 29px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px 8px;
  padding: 5px 0;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.mobile-nav-toggle { display: none; }
.nav-group-row { display: flex; width: 100%; align-items: center; gap: 14px; }
.nav-group-label { flex: 0 0 218px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .065em; text-transform: uppercase; white-space: nowrap; }
.nav-group-links { display: flex; min-width: 0; align-items: center; gap: 10px; white-space: nowrap; }
.nav-group-links a { padding: 5px 0; font-size: 14px; line-height: 1.25; white-space: nowrap; }
.nav-divider { color: rgba(10,25,48,.28); font-size: 13px; font-weight: 700; user-select: none; }
.mobile-nav-toggle-icon { display: grid; width: 22px; gap: 5px; }
.mobile-nav-toggle-icon span { display: block; width: 100%; height: 2px; border-radius: 999px; background: currentColor; }

.fps-site-layout {
  width: min(calc(100% - 40px), var(--fps-shell-max));
  margin: 28px auto 0;
  display: grid;
  gap: var(--fps-shell-gap);
  align-items: start;
}

.fps-site-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) var(--fps-sidebar-width); }
.fps-site-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); max-width: 1240px; }
.fps-main-content { min-width: 0; }

/* The universal grid owns page width and outer spacing in FPS 2. */
.fps-main-content.page,
.fps-main-content.guide-simple,
.fps-main-content.community-index-page,
.fps-main-content.lead-page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0;
}


.fps-site-sidebar {
  min-width: 0;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 136px;
}

.fps-sidebar-card,
.fps-sidebar-image-card {
  overflow: hidden;
  border: 1px solid rgba(10,25,48,.11);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(10,25,48,.035);
}

.fps-sidebar-card { padding: 16px; }
.fps-sidebar-image-card img { display: block; width: 100%; height: auto; }
.fps-sidebar-kicker { margin: 0 0 5px; color: #0068b7; font-size: 9.5px; font-weight: 900; letter-spacing: .085em; line-height: 1.25; text-transform: uppercase; }
.fps-sidebar-title { margin: 0 0 10px; color: #0a1930; font-size: 16px; line-height: 1.22; }
.fps-sidebar-card p { margin: 0 0 11px; color: #53606c; font-size: 12.5px; line-height: 1.52; }
.fps-sidebar-card p strong { color: #0a1930; }

.fps-sidebar-primary { border-top: 3px solid #0068b7; }
.fps-sidebar-primary .fps-sidebar-kicker { color: #486679; }

.fps-sidebar-links { display: grid; }
.fps-sidebar-links a {
  position: relative;
  display: block;
  padding: 8px 18px 8px 0;
  border-top: 1px solid rgba(10,25,48,.075);
  color: #163b58;
  font-size: 12.75px;
  font-weight: 800;
  line-height: 1.38;
  text-decoration: none;
}
.fps-sidebar-links a::after { content: '›'; position: absolute; right: 1px; top: 50%; transform: translateY(-50%); color: rgba(0,104,183,.55); font-size: 17px; font-weight: 500; line-height: 1; }
.fps-sidebar-links a:first-child { padding-top: 0; border-top: 0; }
.fps-sidebar-links a:last-child { padding-bottom: 0; }
.fps-sidebar-links a:hover,
.fps-sidebar-links a:focus-visible { color: #0068b7; text-decoration: none; }

.fps-sidebar-button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(10,25,48,.17);
  border-radius: 8px;
  background: #fff;
  color: #0a1930;
  font-size: 12.5px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}
.fps-sidebar-button:hover,
.fps-sidebar-button:focus-visible { border-color: #0068b7; color: #0068b7; }
.fps-sidebar-text-link { color: #0068b7; font-size: 11.75px; font-weight: 850; text-decoration: none; }
.fps-sidebar-text-link:hover,
.fps-sidebar-text-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.fps-sidebar-community { border-color: rgba(0,104,183,.15); background: #f8fbfe; }
.fps-sidebar-community .fps-sidebar-kicker { color: #397292; }

.fps-sidebar-services { border-color: rgba(0,104,183,.16); background: #f7fbff; }
.fps-sidebar-services .fps-sidebar-kicker { color: #397292; }

/* Affiliate offers should look intentional and clearly different from FPS navigation. */
.fps-affiliate-card {
  border-color: rgba(181,138,50,.34);
  border-top: 3px solid #b58a32;
  background: #fffdf7;
  box-shadow: 0 5px 14px rgba(91,69,20,.035);
}
.fps-affiliate-card .fps-sidebar-kicker { color: #88681f; }
.fps-affiliate-card .fps-sidebar-button { border-color: rgba(181,138,50,.42); background: #fff; }
.fps-affiliate-card .fps-sidebar-button:hover,
.fps-affiliate-card .fps-sidebar-button:focus-visible { border-color: #8a681d; color: #795b18; }
.fps-affiliate-disclosure { margin-top: 8px; color: #847a66; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .065em; }

/* Wiley is intentionally presented as one FPS supporter, not the owner of the page content. */
.fps-sidebar-supporter {
  padding: 13px 15px;
  border-color: rgba(10,25,48,.085);
  background: #fbfbfa;
  box-shadow: none;
}
.fps-sidebar-supporter .fps-sidebar-kicker { margin-bottom: 4px; color: #7f755f; font-size: 8.75px; }
.fps-sidebar-supporter .fps-sidebar-title { margin-bottom: 4px; font-size: 14.5px; }
.fps-sidebar-supporter p { margin-bottom: 7px; color: #707981; font-size: 11px; line-height: 1.42; }
.fps-sidebar-supporter p strong { color: #3a4650; font-weight: 800; }
.fps-sidebar-supporter .fps-sidebar-text-link { font-size: 11px; }

.fps-sidebar-update-list { display: grid; gap: 9px; }
.fps-sidebar-update-list > div { padding-top: 9px; border-top: 1px solid rgba(10,25,48,.075); }
.fps-sidebar-update-list > div:first-child { padding-top: 0; border-top: 0; }
.fps-sidebar-update-list strong,
.fps-sidebar-update-list span { display: block; }
.fps-sidebar-update-list strong { color: #0a1930; font-size: 12.5px; }
.fps-sidebar-update-list span { margin-top: 2px; color: #66727d; font-size: 11.5px; line-height: 1.42; }

.fps-sub-footer { width: min(calc(100% - 40px), var(--fps-shell-max)); margin: 30px auto 0; }
.fps-sub-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 18px 20px; border: 1px solid rgba(10,25,48,.11); border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px rgba(10,25,48,.035); }
.fps-sub-footer-inner > div { display: grid; gap: 4px; }
.fps-sub-footer-kicker { color: #0068b7; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fps-sub-footer-inner strong { color: #0a1930; font-size: 14px; }
.fps-sub-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 16px; }
.fps-sub-footer a { color: #163b58; font-size: 13px; font-weight: 800; }

.fps-footer-real-estate-note { max-width: 680px; color: #9fb5c9; font-size: 10.5px; line-height: 1.45; }

/* Community article presentation now uses the same shell as the rest of FPS. */
.lead-page-card { overflow: hidden; border: 1px solid rgba(10,25,48,.12); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(10,25,48,.08); }
.lead-page-image { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.lead-page-content { padding: clamp(24px,3.2vw,40px); }
.lead-page-article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 13px; color: #6a7782; font-size: 12px; }
.lead-page-category { color: #0068b7; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.lead-page-content h1 { margin: 0 0 16px; color: #0a1930; font-size: clamp(31px,4vw,48px); line-height: 1.05; }
.lead-page-content h2 { margin: 0 0 10px; color: #0a1930; font-size: clamp(22px,2.5vw,30px); line-height: 1.15; }
.lead-page-content p, .lead-page-content li { color: #334155; line-height: 1.72; }
.lead-page-content > p { font-size: 17px; }
.lead-page-rich-sections { display: grid; gap: 18px; margin-top: 28px; }
.lead-page-rich-section, .lead-page-sources, .lead-page-professionals, .lead-page-related, .lead-page-tips { padding: 22px; border: 1px solid rgba(10,25,48,.09); border-radius: 14px; background: #fbfdff; }
.lead-page-rich-section ul, .lead-page-tips ul { margin-bottom: 0; }
.lead-page-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lead-page-related-card { display: block; padding: 16px; border: 1px solid rgba(10,25,48,.10); border-radius: 12px; background: #fff; }
.lead-page-related-card small, .lead-page-related-card strong { display: block; }
.lead-page-related-card small { color: #0068b7; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.lead-page-related-card strong { margin-top: 5px; color: #0a1930; font-size: 16px; line-height: 1.3; }
.lead-page-related-card p { margin: 7px 0 0; font-size: 13px; line-height: 1.55; }
.lead-page-action { margin-top: 24px; }
.lead-page-button { display: inline-flex; padding: 11px 16px; border-radius: 10px; background: #0068b7; color: #fff; font-weight: 900; }
.lead-page-next-resource { margin-top: 28px; padding: 18px; border-radius: 13px; background: #0a1930; color: #fff; }
.lead-page-next-resource span, .lead-page-next-resource strong, .lead-page-next-resource a { display: block; }
.lead-page-next-resource-label { color: #ffc72c; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.lead-page-next-resource strong { margin-top: 4px; font-size: 17px; }
.lead-page-next-resource a { margin-top: 9px; color: #fff; font-weight: 900; }

@media (max-width: 1100px) {
  .header-nav-inner { display: block; width: min(100% - 28px,1220px); margin: 0 auto; padding: 10px 0; }
  .mobile-nav-toggle { display: flex !important; min-height: 40px; align-items: center; justify-content: space-between; gap: 9px; padding: 8px 11px; border: 1px solid rgba(0,104,183,.22); border-radius: 9px; background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
  .header-actions { display: none !important; }
  .header-brand-inner { width: min(100% - 28px,1220px); min-height: 0; padding: 8px 0; align-items: center; flex-direction: row; justify-content: space-between; gap: 10px; }
  .brand-name { font-size: 16px; white-space: nowrap; }
  .nav-links { display: none !important; width: 100%; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; padding: 8px; border: 1px solid rgba(0,104,183,.16); border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgba(10,25,47,.10); }
  .nav-links.is-open { display: flex !important; }
  .nav-group-row { display: block; }
  .nav-group-label { display: block; margin: 4px 8px 3px; font-size: 10px; }
  .nav-group-links,
  .nav-all-links { display: block; white-space: normal; }
  .nav-divider { display: none; }
  .nav-links a { display: block; width: 100%; padding: 11px 13px; border-radius: 8px; text-align: left; white-space: normal; }

  .fps-site-layout.has-sidebar { grid-template-columns: minmax(0,1fr) 260px; gap: 20px; }
}

@media (max-width: 900px) {
  .fps-site-layout { width: min(calc(100% - 28px), 1240px); margin-top: 24px; }
  .fps-site-layout.has-sidebar { grid-template-columns: 1fr; }
  .fps-site-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fps-sidebar-supporter { grid-column: 1 / -1; }
  .fps-sub-footer { width: min(calc(100% - 28px),1240px); }
  .lead-page-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .fps-sticky-header-stack { position: relative; }
  .fps-real-estate-strip-inner { width: min(100% - 20px,1220px); font-size: 10px; }
  .fps-site-sidebar { grid-template-columns: 1fr; }
  .fps-sidebar-supporter { grid-column: auto; }
  .fps-sub-footer-inner { align-items: flex-start; flex-direction: column; }
  .fps-sub-footer nav { justify-content: flex-start; }
  .brand-name { font-size: 14px; }
  .lead-page-content { padding: 22px 18px; }
}

/* Contextual affiliate search creative */
.fps-affiliate-search-form {
  display: grid;
  gap: 7px;
  margin: 2px 0 10px;
}

.fps-affiliate-search-form label {
  color: #5d543f;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .025em;
}

.fps-affiliate-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.fps-affiliate-search-row input {
  min-width: 0;
  width: 100%;
  height: 38px;
  border: 1px solid rgba(10,25,48,.2);
  border-radius: 8px;
  background: #fff;
  color: #0a1930;
  font: inherit;
  font-size: 13px;
  padding: 0 10px;
}

.fps-affiliate-search-row input:focus {
  outline: 2px solid rgba(181,138,50,.28);
  outline-offset: 1px;
  border-color: #9c7829;
}

.fps-affiliate-search-row button {
  height: 38px;
  border: 1px solid #9a7425;
  border-radius: 8px;
  background: #b58a32;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 12px;
}

.fps-affiliate-search-row button:hover,
.fps-affiliate-search-row button:focus-visible {
  background: #8f6b23;
}

.fps-affiliate-brand-link {
  display: inline-block;
  margin-top: 1px;
}

.fps-foreclosure-affiliate .fps-affiliate-disclosure {
  margin-top: 9px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: .02em;
}
