/* Directory family (Real Estate Agent Directory / READ, affiliates): styles shared by 2+ of its pages.
   Values measured on live (computed styles at 1440 / 768 / 375). Page-only rules stay in each page. */

/* ---------- READ hero: blue photo band with the sign-up iframe (#join) ---------- */
.read-hero { padding-bottom: 100px; background-color: #1274ba; background-position: right 0 center;
  background-image: linear-gradient(180deg, rgba(18,116,186,.78) 0%, rgba(69,167,237,.78) 100%), url(../images/PP-HEADER-BG-2.webp); }
.read-hero > .row:first-of-type { margin-top: 3%; padding-top: 0; }
@media (max-width: 980px) {
  .read-hero { padding-bottom: 50px; }
  .read-hero > .row:first-of-type { margin-top: 0; }
}

/* "intro" text module: coral product name + white headline (live class kept) */
.intro { max-width: 600px; }
.intro, .intro li { color: #fff; }
.intro a { color: var(--light) !important; text-decoration: underline; }
.intro h1 { color: var(--coral) !important; font-size: 1.8rem; }
.intro h2 { font-size: 2.8rem; font-weight: 700; color: #fff; }
.intro p { margin-bottom: 1rem; }
.prod_heading_name, .prod_heading_headline { text-shadow: 0 0 8px rgba(34,39,43,.45); }
.prod_heading_icon { padding: 5px; margin-right: 1rem; border-radius: 50px; background-color: #fff; vertical-align: middle; box-shadow: 0 0 12px rgba(45,52,57,.35); }
@media (max-width: 600px) { .prod_heading_icon { display: none; } }
@media (max-width: 980px) { .intro { margin-top: 1rem; } }
@media (max-width: 767px) { .intro h1 { font-size: 1.4rem; } .intro h2 { font-size: 2.2rem; } .intro .prod_heading_headline { margin-top: 0; } }

/* Sign-up iframe card (Divi code module #join .__checkout-container) */
.join-card { text-align: left; }
.join-card iframe { width: 100%; min-width: 340px; height: 540px; border-radius: 20px;
  box-shadow: 0 4px 8px rgba(27,27,27,.05), 0 10px 20px rgba(27,27,27,.05); }
/* UI audit 2026-11-09: on small phones the 340px sign-in frame sat in a 300px column and ran 3px past the screen;
   it now borrows 20px either side of the column instead */
@media (max-width: 420px) { .join-card iframe { min-width: 0; width: calc(100% + 40px); margin-left: -20px; } }
.join-card .not-agent { padding-bottom: 0; text-align: center; }
.join-card .not-agent a, .not-agent a { color: #fff; font-weight: bold; text-decoration: underline; }

/* Blurb titles: markup keeps live's <h3><span>Title</span></h3>; the global `body *` rule then gives the span
   Barlow + line-height 1.4, exactly as live renders Divi blurb headers. */
/* READ feature blurbs (three columns, image on top, title centred, text left) */
.read-features .blurb { margin-bottom: 1rem !important; }
.read-features .blurb__body h3 { font-size: 1.4rem; font-weight: 700; }
.read-features .blurb__body p { text-align: left; }

/* "Upgrade Now" / "Join For Free Today" coral lift buttons (theme .button) */
.btn--coral { padding-left: 1em !important; padding-right: 1em !important; border-radius: 54px; background-color: var(--coral);
  color: var(--light) !important; font-size: 1.1rem; font-weight: 700 !important; }
.btn--coral::after { display: none; }

/* READ Pro band (blue, illustration, waves on top) */
.read-pro { padding: 4rem 0 2rem; background-color: #2b8fd7; background-image: url(../images/HEADER-REFERRALS-BG.webp); }
.read-pro .text { max-width: 600px; margin: 2% auto 20px !important; }
.read-pro .text a { color: var(--light) !important; text-decoration: underline; }
@media (max-width: 980px) {
  .read-pro { padding: 4rem 0 2rem; background-image: linear-gradient(180deg, #1168a7 0%, #2b8fd7 100%); }
}

/* Scroll-down chevrons (Divi icon module, looping slideTop) */
.scroll-cue { text-align: center; line-height: 0; }
.scroll-cue svg { display: block; fill: #fff; }

/* Blob mask (Divi background mask: white sheet with a blob-shaped hole over the column colour) */
.blob { position: relative; background-color: #afdff9; }
.blob::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: 50% / cover no-repeat
  url("data:image/svg+xml,%3Csvg fill='%23ffffff' viewBox='0 0 1920 1440' preserveAspectRatio='xMinYMin slice' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,1440H1920V0H0ZM729.79,450c112.5,8.65,199.22-58.32,293-101.82,36.35-25.81,75.42-47.67,120.66-60.64,411.05-130.29,634.07,288.11,369.08,599.49-3.24,4.19-6.56,8.32-9.910,12.42-47.1,57.67-104.37,106.58-168.16,146.51-333,208.45-851,170.72-1006.95-133.47-18.53-36.13-20.8-89.14-3.36-140-10.74-23.07-22-46.55-26.65-72C253.28,457.35,515.27,433.55,729.79,450Z'/%3E%3Cpath fill-opacity='.4' d='M1178.93,307.43c-57.11.78-107.59,18.28-156.1,40.78,36.35-25.81,75.42-47.67,120.66-60.64,411.05-130.29,634.07,288.11,369.08,599.49-3.24,4.19-6.56,8.32-9.910,12.420C1683.16,653.44,1539.44,291.86,1178.93,307.43ZM324.19,772.53c-17.44,50.85-15.17,103.86,3.36,140,156,304.19,674,341.92,1007,133.47C1004.57,1239.39,478.65,1104.63,324.19,772.53Z'/%3E%3C/svg%3E"); }
.blob--flip::before { transform: scale(-1,-1); }
.blob > * { position: relative; }

/* "You're already logged in" dialog (shown by directory.js) */
.already-mask { position: fixed; z-index: 1000; inset: 0; display: none; justify-content: center; align-items: center; background-color: rgba(0,0,0,.5); }
.already-model { width: 300px; margin-top: 60px; background: #fff; text-align: center; box-shadow: 1px 1px 10px rgba(0,0,0,.8); }
.already-model-header { display: flex; justify-content: center; align-items: center; height: 3em; color: #fff; background: #689cd4; }
.already-model-body { padding: 10px 0; }
.already-model-person { width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,.8); }
.already-model-buttons { margin-bottom: 20px; }
.already-model-buttons button { width: 100px; height: 35px; margin: 0 5px; font-size: 15px; cursor: pointer; }
.already-model-button-ok { background-color: #0fb87f; color: #fff; }
.already-model-button-cancel { background-color: #ebebeb; color: #999; }

/* ---------- AffiliateWP area (login / registration form look; see report: not functional statically) ---------- */

/* ---------- Join / login pages (/directory-join-login/, /read-referrals/) ---------- */
.join-hero > .row { padding: 4% 0 8%; }
.join-hero .hero-text { margin-bottom: 0 !important; color: var(--light); }
.join-hero .hero-text h1 { font-weight: 700; }
.join-point { margin-bottom: 24px !important; }
.join-point .blurb__inner { max-width: 600px; margin: 0; }
.join-point .blurb__image { width: 42px; }
.join-point__icon { display: block; width: 42px; height: 42px; padding: 8px; border: 2px solid #fff; border-radius: 100%; background-color: var(--coral); }
.join-point__icon svg { display: block; width: 22px; height: 22px; fill: #fff; }
.join-point .blurb__body, .join-point h4 { color: #fff; text-shadow: 0 0 .3em rgba(0,0,0,.4); }
.join-point h4 { font-size: 22px; }
.join-card--login { margin-bottom: 10px !important; }
@media (max-width: 980px) { .join-hero > .row { padding: 4% 0 10%; } }
@media (max-width: 767px) { .join-point__icon { width: 38px; height: 38px; } .join-point__icon svg { width: 18px; height: 18px; } .join-point .blurb__image { width: 38px; } }
.join-get__head { padding: 40px 0 0; }
@media (max-width: 767px) { .join-get__head { padding-top: 20px; } }
.join-get .blurb { margin-bottom: 1rem !important; }
.join-get .blurb__body h3 { font-size: 1.5rem; }
.join-count, .join-tools { padding-bottom: 3rem; }
.join-count > .row, .join-tools > .row.join-pp1 { width: 90%; }
.join-count .counter { width: 68%; margin-bottom: 7.042%; }
@media (max-width: 980px) { .join-count .counter { margin-bottom: 30px; } }
.join-count .counter__title { font-size: 26px; }
.join-tools__head { padding: 40px 0; }
.join-tools .prod_cat_headline { font-size: 48px; }
.join-tools .image { text-align: left; }
.join-pp1, .join-pp2 { margin-bottom: 100px; }
.join-pp1 { padding: 0; }
.join-pp2 { padding: 0 0 40px; }
.join-pp3 { padding-top: 0; }
@media (max-width: 980px) { .join-tools .image { text-align: center; } .join-tools .image img { width: auto; } .join-count .counter { width: 100%; } }

/* Divi "true parallax" background layer (positioned by directory.js) */
.dir-parallax { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.section:has(> .dir-parallax) { isolation: isolate; }   /* keeps the layer above the section's own background */
.dir-parallax__bg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background: top / cover no-repeat; }
