/* Additions for the self-hosted static Cornerstone site */
.cs-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.cs-form{max-width:760px;margin:10px 0 30px}
.cs-field{margin:0 0 16px;border:0;padding:0}
.cs-field label,.cs-field legend{display:block;font-weight:600;margin:0 0 6px;font-size:.95rem}
.cs-field input[type=text],.cs-field input[type=email],.cs-field input[type=tel],.cs-field select,.cs-field textarea{width:100%;padding:10px 12px;border:1px solid #bbb;border-radius:4px;font:inherit;background:#fff;box-sizing:border-box}
.cs-field textarea{min-height:110px}
.cs-opt{display:inline-flex!important;align-items:center;gap:6px;font-weight:400!important;margin:0 18px 8px 0!important}
.cs-req{color:#b00020}
.cs-note{font-size:.85rem;color:#555}
.cs-submit{min-width:180px;padding:10px 24px}
.cs-intro{font-size:1.05rem;margin:10px 0 20px}
.cs-cta{text-align:center;padding:36px 20px;margin:20px auto;max-width:900px}
.cs-cta p{font-size:1.15rem;margin-bottom:16px}
.cs-cta .btn{margin:4px 6px}
.cs-cta-banner{background:rgba(0,0,0,.45);color:#fff;border-radius:6px;max-width:760px}
.cs-cta-banner p{color:#fff}
.cs-mra{margin:8px 0}
.cs-page{max-width:900px;min-height:50vh}
.cs-page h2{font-size:1.3rem;margin-top:24px}
.cs-doclist li{margin:8px 0}
.cs-legal{width:100%;text-align:center;font-size:.85rem;color:#ddd;padding:18px 15px 6px;border-top:1px solid rgba(255,255,255,.2);margin-top:12px}
.cs-legal a{color:#fff;text-decoration:underline}
.cs-legal p{margin:4px 0}
/* dropdowns (replaces the old React behaviour) */
#main-nav .dropdown{position:relative}
#main-nav .dropdown-menu{display:none;position:absolute;top:100%;left:0;z-index:2000}
#main-nav .dropdown-menu.show,#main-nav .dropdown:hover>.dropdown-menu,#main-nav .dropdown:focus-within>.dropdown-menu{display:block}
/* mobile menu */
.cs-menu-toggle{display:none;margin-left:auto;background:none;border:1px solid #999;border-radius:4px;padding:8px 10px;cursor:pointer;align-items:center;gap:4px;flex-direction:column}
.cs-menu-toggle span{display:block;width:24px;height:3px;background:#333;border-radius:2px}
.cs-menu-toggle em{font-style:normal;font-size:.7rem;line-height:1;color:#333}
.cs-mobile-menu{display:none;width:100%;background:#fff;border-top:1px solid #ddd;max-height:75vh;overflow:auto}
.cs-mobile-menu.open{display:block}
.cs-mobile-menu ul{list-style:none;margin:0;padding:0}
.cs-mobile-menu>ul>li{border-bottom:1px solid #eee}
.cs-mobile-menu a,.cs-mobile-menu .cs-mm-group>span{display:block;padding:12px 16px;color:#222;text-decoration:none}
.cs-mobile-menu .cs-mm-group>span{font-weight:700}
.cs-mobile-menu .cs-mm-group ul a{padding-left:32px;font-size:.95rem}
@media (max-width:991.98px){.cs-menu-toggle{display:inline-flex}#HeaderRow2{flex-wrap:wrap}}

/* Static copy: the iHouse sticky-header JS is gone, so keep the nav in normal flow
   (otherwise it is frozen as position:fixed and covers the top bar with the
   phone / NY Fair Housing / S.O.P. links). */
div:has(> #NavWrapper) { position: relative !important; top: auto !important; }

.license{font-size:.6em;font-weight:400;white-space:nowrap;opacity:.85;vertical-align:middle}
.license{font-family:inherit}.cs-legal .license,p .license{font-size:inherit;opacity:1}
