
:root{
  --blue:#0a4f87;
  --blue2:#07365d;
  --pale:#99ccff;
  --gold:#f5c84c;
  --ink:#102a43;
  --paper:#ffffff;
  --soft:#eef6fc;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--soft);
  line-height:1.5;
}
a{color:#075c9f}
.site-header{
  background:linear-gradient(180deg,var(--blue),var(--blue2));
  color:#fff;
  padding:12px 18px 10px;
  border-bottom:4px solid var(--gold);
}
.site-header .inner,.page,.site-footer .inner{
  width:min(1100px,calc(100% - 28px));
  margin:auto;
}
.brand{
  text-align:center;
  font-weight:900;
  letter-spacing:.03em;
  font-size:clamp(24px,4vw,42px);
}
.tagline{
  text-align:center;
  margin-top:2px;
  font-weight:700;
  font-size:clamp(12px,1.8vw,17px);
}
.main-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
  padding:10px 0 0;
}
.main-nav a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:4px;
}
.main-nav a:hover,.main-nav a:focus{background:rgba(255,255,255,.14)}
.page{padding:18px 0 28px}
.flash-card{
  background:var(--pale);
  border:1px solid #5d9cca;
  box-shadow:0 5px 18px rgba(0,0,0,.13);
  margin:0 auto 18px;
  padding:10px;
}
.flash-stage{
  width:100%;
  margin:auto;
  background:var(--pale);
  display:flex;
  justify-content:center;
  align-items:flex-start;
}
.flash-stage ruffle-player{display:block;width:100%;height:100%}
.flash-status{
  text-align:center;
  font-size:12px;
  background:#fff;
  padding:5px;
  margin-top:6px;
}
.content-card{
  background:#fff;
  border:1px solid #c9dae8;
  border-radius:5px;
  padding:18px;
  margin:16px auto;
  box-shadow:0 3px 12px rgba(0,0,0,.07);
}
.content-card h1,.content-card h2{color:var(--blue2);line-height:1.2}
.content-card h1{font-size:clamp(25px,3vw,36px)}
.content-card h2{font-size:clamp(20px,2.4vw,28px)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cta{
  display:inline-block;background:var(--blue);color:#fff;text-decoration:none;
  font-weight:700;padding:10px 16px;border-radius:4px;margin:4px
}
.cta.alt{background:#8b1e1e}
.legacy-frame{
  width:100%;min-height:650px;border:0;background:#fff
}
.notice{font-size:13px;color:#52697a}
.site-footer{
  background:var(--blue2);color:#fff;padding:18px 0;font-size:12px;text-align:center
}
.site-footer a{color:#fff}
@media(max-width:700px){
  .two-col{grid-template-columns:1fr}
  .page{padding-top:10px}
  .flash-card{padding:4px}
  .main-nav{gap:4px}
  .main-nav a{font-size:12px;padding:5px 7px}
}


/* Restored Flash-era navigation */
.legacy-flash-nav{
  width:min(100%,850px);
  margin:0 auto 10px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:2px;
  padding:4px;
  background:#dff4ff;
  border:2px ridge #fff;
}
.legacy-flash-nav a{
  min-width:108px;
  padding:6px 9px;
  text-align:center;
  text-decoration:none;
  font:700 12px Verdana,Arial,sans-serif;
  color:#000080;
  background:#ccffff;
  border:1px solid #6ca6d8;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);
}
.legacy-flash-nav a:hover,
.legacy-flash-nav a:focus{
  background:#e8ffff;
  outline:2px solid #00a9ff;
  outline-offset:-2px;
}
.legacy-flash-nav a.active{
  color:#fff;
  background:#0000cc;
  border-color:#000080;
}
.entry-actions,
.foreclosure-actions{
  width:min(100%,850px);
  margin:10px auto 16px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
}
.entry-actions a,
.foreclosure-actions a{
  display:inline-block;
  padding:7px 11px;
  border:1px solid #164c7f;
  border-radius:3px;
  background:#e4f7ff;
  color:#000080;
  text-decoration:none;
  font:700 12px Verdana,Arial,sans-serif;
}
.entry-actions a:hover,
.foreclosure-actions a:hover{
  background:#cfffff;
}
.foreclosure-message{
  width:min(100%,850px);
  margin:0 auto 8px;
  text-align:center;
  color:#800000;
  font:900 clamp(18px,3vw,28px) Verdana,Arial,sans-serif;
  animation:foreclosureMessage 1.4s ease-out both;
}
@keyframes foreclosureMessage{
  from{opacity:0;transform:translateX(-35px)}
  to{opacity:1;transform:translateX(0)}
}
.flash-stage.passive-player ruffle-player{
  pointer-events:none;
}
.goodbad-main{
  width:min(100%,900px);
  margin:auto;
}
.goodbad-hero{
  max-width:592px;
  width:100%;
  height:auto;
  display:block;
  margin:10px auto;
}
.goodbad-choice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media(max-width:650px){
  .legacy-flash-nav a{min-width:0;flex:1 1 30%;font-size:11px}
  .goodbad-choice{grid-template-columns:1fr}
}

.flash-copyright-overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  min-height:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  color:#fff;
  background:#000080;
  font:11px Arial,Helvetica,sans-serif;
  z-index:4;
}
.flash-stage.has-copyright-overlay{position:relative;overflow:hidden}
.foreclosure-back{
  display:block;
  width:max-content;
  margin:12px auto;
  padding:7px 18px;
  border:1px solid #234e78;
  border-radius:4px;
  background:#e9f6ff;
  color:#003b70;
  font:bold 13px Arial,Helvetica,sans-serif;
  text-decoration:none;
}
@media(max-width:700px){
  .legacy-flash-nav{grid-template-columns:repeat(3,1fr)}
}

/* Round 4: align restored navigation to each Flash stage exactly. */
.legacy-flash-nav.nav-home{width:min(100%,650px)}
.legacy-flash-nav.nav-wide{width:min(100%,850px)}
.legacy-flash-nav{margin-bottom:2px;padding:0;border:0;gap:1px;background:#99ccff}
.legacy-flash-nav a{border-radius:0;padding:5px 3px;font-size:11px}
.flash-card.nav-attached{margin-top:0}
/* Copyright corrections cover only the original narrow copyright line. */
.flash-copyright-overlay{min-height:11px;height:11px;padding:0 3px;font-size:8px;line-height:11px;font-weight:normal}
.full-alike-link{width:min(100%,850px);margin:4px auto 6px;text-align:right}
.full-alike-link a{display:inline-block;padding:5px 9px;background:#eefaff;border:1px solid #477aa5;color:#003b70;text-decoration:none;font:bold 11px Arial,sans-serif}

.original-flash-nav{display:block;width:100%;height:88px;border:0;margin:0 auto;background:#fff;overflow:hidden}
.original-flash-nav.w650{max-width:650px}.original-flash-nav.w850{max-width:850px}
/* Round 5A: actual original Flash navigation */
.original-flash-nav{
  display:block;
  width:min(100%,850px);
  height:88px;
  border:0;
  margin:0 auto 2px;
  background:#fff;
  overflow:hidden;
}
body.home-page .source-copyright{width:min(100%,850px);margin:-12px auto 12px;padding:3px 8px;background:#000080;color:#fff;text-align:center;font:10px Arial,Helvetica,sans-serif;position:relative;z-index:6}
.home-page .source-copyright{width:min(100%,650px)}
.source-foreclosure-caption{width:min(100%,850px);margin:0 auto 3px;text-align:center;font:bold 20px Arial,Helvetica,sans-serif;color:#7d0000}

.history-card{max-width:900px;margin:18px auto;background:#fff;border:1px solid #c9dae8;border-radius:7px;padding:22px;box-shadow:0 3px 12px rgba(0,0,0,.08)}
.history-card h1,.history-card h2{color:#07365d;line-height:1.2}
.history-card .lead{font-size:1.08rem}
.history-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:20px 0 8px}
.history-actions a{display:inline-block;padding:11px 18px;border-radius:5px;font-weight:700;text-decoration:none}
.history-actions .current{background:#0a4f87;color:#fff}
.history-actions .archive{background:#8b1e1e;color:#fff}
.history-note{padding:12px 14px;background:#eef6fc;border-left:4px solid #f5c84c;margin-top:18px}
.simple-page{max-width:900px;margin:auto}
.simple-page .content-card{text-align:left}
.current-link{display:inline-block;background:#0a4f87;color:#fff!important;text-decoration:none;font-weight:700;padding:10px 16px;border-radius:4px;margin:5px}

/* Tighten the visual join between the original Flash navigation and the
   850px Buy/Sell/Foreclosure presentations. Home and Movie remain unchanged. */

/* Final Flash navigation/movie alignment */
.original-flash-nav{
  display:block;
  height:88px;
  border:0;
  margin:0 auto 0;
  background:#fff;
  overflow:hidden;
}
.original-flash-nav.w550{width:min(100%,550px);max-width:550px}
.original-flash-nav.w650{width:min(100%,650px);max-width:650px}
.original-flash-nav.w850{width:min(100%,850px);max-width:850px}

.flash-card.nav-attached{
  margin-top:0;
}
.flash-card.nav-attached.w550-card{
  max-width:572px !important; /* 550 movie + 10px padding each side + border */
}
.flash-card.nav-attached.w650-card{
  max-width:672px !important;
}
.flash-card.nav-attached.w850-card{
  max-width:872px !important;
}
.flash-card.nav-attached.flush-top{
  padding-top:0 !important;
}

/* Final visual alignment: match the complete lower presentation box, not just SWF stage */
.original-flash-nav.w550{width:min(100%,572px)!important;max-width:572px!important}
.original-flash-nav.w650{width:min(100%,672px)!important;max-width:672px!important}
.original-flash-nav.w850{width:min(100%,872px)!important;max-width:872px!important}

/* Match the lower Flash presentation's visible left/right border treatment. */
.original-flash-nav{
  box-sizing:border-box;
  border-left:1px solid #c9d4df !important;
  border-right:1px solid #c9d4df !important;
}
