/* about.homeasap.com: "mls" family (pages driven by the HomeASAP API: MLS checkers, dynamic ad
   previews, IDX product pages). Shared pieces only; each page's <style> holds the rest.
   Logic lives in assets/js/mls.js. */

/* Lato 300/700/900 (live loads it on the MLS Lead Ads / dynamic ads pages; their headings ask for
   'Figtree', Lato and Figtree never loads). Only fetched by pages that use it. */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/lato-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/lato-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/lato-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/lato-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* MLS checker form (live: the "smart-mls-selection-form" shortcode and its inline <style>) */
#smart-mls-selection-form { text-align: center; }
#smart-mls-selection-form select { height: 35px; border: 1px solid #bbb; background-color: #fff; color: #4e4e4e; font-size: 1rem; font-weight: 400; padding: .25rem .5rem; border-radius: 5px; width: 100%; max-width: 500px; margin: .25rem auto; }
#smart-mls-selection-form input[type="submit"] { display: block; padding: .5rem 1rem; width: 100%; max-width: 180px; margin: .75rem auto;
  border-radius: 5px; background-color: #f15f4c; color: #fff; font-size: 1rem; font-weight: 600; box-shadow: 0 4px 8px rgba(30,30,30,.3); border: none; cursor: pointer; }
#smart-mls-selection-form input[type="submit"]:hover { background: #e5e6ef; color: #494950; transition: all 500ms; transform: scale(1.05) translateY(-5px); }

/* Product heading block in the blue MLS-check heroes (.idx-mls-check text module) */
.mls-hero .idx-mls-check, .mls-hero .idx-mls-check h1, .mls-hero .idx-mls-check h2, .mls-hero .idx-mls-check p { color: #fff; }
.mls-hero .idx-mls-check { text-shadow: 0 0 .3em rgba(32,39,43,.3); }
.mls-hero .idx-mls-check .prod_heading_headline { margin-top: 0; }   /* live: no theme h2 top margin here */
.mls-hero .idx-mls-check h1 { font-size: 1.8rem; }
.mls-hero .prod_heading_icon { width: 50px; vertical-align: middle; margin-right: .5rem; }
.mls-hero .idx-mls-check h2 { font-size: 2.5rem; text-shadow: 0 0 .3em rgba(32,39,43,.3); }
@media (max-width: 980px) { .mls-hero .idx-mls-check h1 { font-size: 1.4rem; } .mls-hero .idx-mls-check h2 { font-size: 2.4rem; } }
@media (max-width: 767px) { .mls-hero .idx-mls-check h1 { font-size: 1.2rem; } .mls-hero .idx-mls-check h2 { font-size: 2.2rem; } }

/* Featured listings table filled by mls.js (theme CSS) */
.listing-table td { border: none; border-color: #e1e1e1; text-transform: capitalize; line-height: 125%; }
.listing-table tr { border-bottom: 1px solid #e1e1e1; }
.listing-table tr th:first-child, .listing-table tr td:first-child { border-left: none; border-bottom: 1px solid #e1e1e1; }
.listing-table td[data-th="Listing Photo"], .listing-table td[data-th="Listing Address"] { padding-right: 5px; }
.listing-table td[data-th="Beds"], .listing-table td[data-th="Baths"] { text-align: center; text-transform: uppercase; }
.listing-table .listing-photo-round { margin-right: 0; }

/* Empty white spacer section that closes several MLS-check pages (an empty Divi row) */
.mls-spacer .col { min-height: 1px; }

/* Divi "true parallax" background layer, positioned by assets/js/directory.js (same rules as directory.css):
   <div class="dir-parallax"><div class="dir-parallax__bg" style="background-image: …"></div></div> as a section's first child. */
.dir-parallax { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.section:has(> .dir-parallax) { isolation: isolate; }
.dir-parallax__bg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background: top / cover no-repeat; }
