/* Florida Property Seekers 2 universal shell */

:root {
  --fps-shell-max: 1500px;
  --fps-sidebar-width: 300px;
  --fps-shell-gap: 26px;
}

.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: 34px 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: 15px;
  position: sticky;
  top: 150px;
}

.fps-sidebar-card,
.fps-sidebar-image-card {
  overflow: hidden;
  border: 1px solid rgba(10,25,48,.12);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(10,25,48,.06);
}

.fps-sidebar-card { padding: 19px; }
.fps-sidebar-image-card img { display: block; width: 100%; height: auto; }
.fps-sidebar-kicker { margin: 0 0 5px; color: #0068b7; font-size: 10px; font-weight: 900; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.fps-sidebar-title { margin: 0 0 12px; color: #0a1930; font-size: 18px; line-height: 1.2; }
.fps-sidebar-card p { margin: 0 0 13px; color: #53606c; font-size: 13px; line-height: 1.55; }
.fps-sidebar-card p strong { color: #0a1930; }
.fps-sidebar-links { display: grid; }
.fps-sidebar-links a { display: block; padding: 9px 0; border-top: 1px solid rgba(10,25,48,.09); color: #163b58; font-size: 13px; font-weight: 800; line-height: 1.4; text-decoration: none; }
.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: underline; text-underline-offset: 3px; }
.fps-sidebar-button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 9px 13px; border: 1px solid rgba(10,25,48,.18); border-radius: 9px; background: #fff; color: #0a1930; font-size: 13px; font-weight: 900; 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: 13px; font-weight: 850; text-decoration: none; }
.fps-sidebar-community { background: linear-gradient(145deg,rgba(47,107,79,.07),#fff 56%); }
.fps-sidebar-supporter { border-color: rgba(181,138,50,.24); background: #fbfaf7; }
.fps-sidebar-services { background: linear-gradient(145deg,rgba(0,104,183,.06),#fff 60%); }
.fps-affiliate-card { border-color: rgba(0,104,183,.24); }
.fps-affiliate-disclosure { margin-top: 9px; color: #7a8792; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.fps-sidebar-update-list { display: grid; gap: 11px; }
.fps-sidebar-update-list > div { padding-top: 11px; border-top: 1px solid rgba(10,25,48,.09); }
.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: 13px; }
.fps-sidebar-update-list span { margin-top: 3px; color: #66727d; font-size: 12px; line-height: 1.45; }

.fps-sub-footer { width: min(calc(100% - 40px), 1500px); margin: 34px auto 0; }
.fps-sub-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 22px 24px; border: 1px solid rgba(10,25,48,.11); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 9px 24px rgba(10,25,48,.05); }
.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: 720px; color: #aec4d8; font-size: 11px; line-height: 1.5; }

/* 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,4vw,46px); }
.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(32px,4.4vw,52px); 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 { 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) 270px; 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-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; }
}
