/* og-dark-home.css v5.1 — sitewide dark theme for every public omargalan.com page (EN + ES).
   Loaded by mu-plugins/og-dark-home.php on every front-end page (never in wp-admin or the
   Divi builder). Built from v4.1 (homepages) + v5 family rules (city/area pages .og-ap,
   buy .og-bp, cash-offer .og-lp/.og-cf, pool pages #og-pool, sell .og-co, legal + card pages).
   Homepage-only parts (featured-home cards, sold bar, bio, hero divider fix) stay scoped to
   :is(body.home,body.page-id-424); /es/ contact-form waves stay scoped to body.page-id-424.
   Purely visual: no rule hides, disables or blocks any element; form markup, fields, consent
   text and routing are untouched (colours only).
   v5.1 (2026-10-25): restores the original brand teal #216778 (logo roof/tagline, links, labels, icons, flags)
   and every other per-spot original colour the dark theme had shifted to light teal #8FD0DC. Rollback: rollback-v5/.
   Rollback: restore the v4.1 files (rollback-v4.1/) or delete og-dark-home.php. */

html:has(> body){
  --dk-bg:#171717;        /* v2: very dark gray, ~9% lightness    */
  --dk-surface:#222222;   /* cards, buttons, inputs, menus        */
  --dk-surface-2:#2A2A2A; /* hover / nested surfaces              */
  --dk-border:#3A3A3A;    /* visible hairline borders             */
  --dk-border-strong:#55524E;
  --dk-text:#EDEAE4;      /* body + headings: warm light gray ~92% */
  --dk-muted:#B9B4AC;     /* secondary text, ~70% lightness       */
  --dk-faint:#8E8A84;     /* fine print / legal                   */
  --dk-divider:#FFFFFF;   /* wavy section dividers                */
  /* accents kept from live CSS */
  --ac-teal:#216778; --ac-teal-dark:#0B4F61; --ac-teal-light:#216778; /* v5.1: was #8FD0DC */
  --ac-gold:#D9B44A; --ac-yellow:#FFC845; --ac-wa:#25D366; --ac-blue:#2EA3F2;
}

/* ---------- 1. Page + every section / row background ---------- */
html:not(#_d):has(> body),html:not(#_d) body,html:not(#_d) body #page-container,html:not(#_d) body #et-main-area,html:not(#_d) body #main-content,html:not(#_d) body .et-l,html:not(#_d) body .et-l--header,html:not(#_d) body .et-l--body,html:not(#_d) body .et-l--footer,html:not(#_d) body .et_pb_section,html:not(#_d) body .et_pb_row,html:not(#_d) body .et_pb_column,html:not(#_d) body .et_pb_module:not(.et_pb_button):not(.et_pb_image),html:not(#_d) body .et_pb_menu,html:not(#_d) body .et_pb_menu__wrap,html:not(#_d) body .et_pb_menu .et-menu-nav,html:not(#_d) body .et_pb_blurb,html:not(#_d) body .et-pb-icon{
  background-color:var(--dk-bg)!important;
}

html:not(#_d) body .et_pb_row,html:not(#_d) body .et_pb_column,html:not(#_d) body .et_pb_module:not(.et_pb_button):not(.et_pb_image),html:not(#_d) body .et_pb_blurb,html:not(#_d) body .et-pb-icon,html:not(#_d) body .et_pb_menu,html:not(#_d) body .et_pb_menu__wrap,html:not(#_d) body .et_pb_menu .et-menu-nav{background-color:transparent!important}

html:not(#_d) body .et_pb_image_wrap{background:transparent!important}


/* ---------- 2. Text ---------- */
html:not(#_d) body,html:not(#_d) body .et_pb_section,html:not(#_d) body .et_pb_text,html:not(#_d) body .et_pb_text_inner,html:not(#_d) body .et_pb_blurb_description,html:not(#_d) body .et_pb_section p,html:not(#_d) body .et_pb_section li,html:not(#_d) body .et_pb_section td,html:not(#_d) body .et_pb_section label{
  color:var(--dk-muted)!important;
}

html:not(#_d) body .et_pb_section h1,html:not(#_d) body .et_pb_section h2,html:not(#_d) body .et_pb_section h3,html:not(#_d) body .et_pb_section h4,html:not(#_d) body .et_pb_section h5,html:not(#_d) body .et_pb_section h6,html:not(#_d) body .et_pb_module_header,html:not(#_d) body .et_pb_module_header a,html:not(#_d) body .et_pb_section strong,html:not(#_d) body .et_pb_section b{
  color:var(--dk-text)!important;
}

/* any inline style="color:#1a1a1a / #000 / #333" text */
html:not(#_d) body .et_pb_section [style*="color: #1a1a1a"],html:not(#_d) body .et_pb_section [style*="color:#1a1a1a"],html:not(#_d) body .et_pb_section [style*="color: #000"],html:not(#_d) body .et_pb_section [style*="color:#000"],html:not(#_d) body .et_pb_section [style*="color: #333"],html:not(#_d) body .et_pb_section [style*="color:#333"]{color:var(--dk-text)!important}

/* intro paragraphs in the bio read slightly brighter than fine print */
html:not(#_d) :is(body.home,body.page-id-424) .et_pb_section_2 .et_pb_text p{color:#D6D2CB!important}


/* ---------- 3. Header / menu ---------- */
html:not(#_d) body .et_pb_section_0_tb_header{background-color:var(--dk-bg)!important}

/* logo PNG is dark ink on transparent: flip to light for the mockup only */
html:not(#_d) body .et-l--header img.wp-image-357{filter:invert(1) hue-rotate(180deg) brightness(1.05);filter:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='og' color-interpolation-filters='sRGB' x='0' y='0' width='1' height='1'%3E%3CfeColorMatrix in='SourceGraphic' values='0 0 0 0 .9294 0 0 0 0 .9176 0 0 0 0 .8941 0 0 0 1 0' result='ink'/%3E%3CfeColorMatrix in='SourceGraphic' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 0 4 0 0' result='m'/%3E%3CfeColorMatrix in='SourceGraphic' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 -4 0 1' result='im'/%3E%3CfeComposite in='SourceGraphic' in2='m' operator='in' result='t'/%3E%3CfeComposite in='ink' in2='im' operator='in' result='i'/%3E%3CfeComposite in='t' in2='i' operator='arithmetic' k1='0' k2='1' k3='1' k4='0'/%3E%3C/filter%3E%3C/svg%3E#og")}

html:not(#_d) body .et-l--header .et-menu a,html:not(#_d) body .et-l--header .et_pb_menu a{color:var(--dk-text)!important}

html:not(#_d) body .et-l--header .et-menu a:hover{color:#216778!important}

html:not(#_d) body .et_mobile_nav_menu .mobile_menu_bar:before,html:not(#_d) body .et_pb_menu .mobile_menu_bar:before{color:var(--dk-text)!important}

html:not(#_d) body .et_mobile_menu,html:not(#_d) body .et_pb_menu .et_mobile_menu,html:not(#_d) body .et-menu .sub-menu,html:not(#_d) body .nav li ul{
  background:var(--dk-surface)!important;border-color:var(--ac-teal)!important}

html:not(#_d) body .et_mobile_menu li a{color:var(--dk-text)!important;border-color:var(--dk-border)!important}

html:not(#_d) body .og-lang-switch,html:not(#_d) body .og-lang-switch a{color:var(--dk-text)!important}


/* ---------- 4. Wavy dividers: black -> white ---------- *//* Divi paints them as SVG data-URI backgrounds with fill #1a1a1a.
   brightness(0) flattens every fill to black, invert(1) turns it pure white;
   the per-layer fill-opacity (.3/.5/1) is preserved so the waves keep depth. *//* v4 waves: exact v2 geometry (Divi's 15px strips, same 3 paths/layers, same flips & tiling).
   Only the fill changes: front path = solid #EDEAE4 core; the two back layers are #EDEAE4 at
   0.3 / 0.62 opacity; every layer gets a small Gaussian blur (~0.4px core, ~1-1.4px halos)
   so the fade into #171717 follows the wave edge instead of horizontal bands. */
html:not(#_d) body .et_pb_top_inside_divider,html:not(#_d) body .et_pb_bottom_inside_divider{filter:none!important}
html:not(#_d) body .et_pb_section .et_pb_top_inside_divider{background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z'/%3E%3Cpath id='p2' d='M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='140' x2='0' y2='118'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='-80' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")!important}
html:not(#_d) body .et_pb_section .et_pb_bottom_inside_divider{background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M1280 3.4C1050.59 18 1019.4 84.89 734.42 84.89c-320 0-320-84.3-640-84.3C59.4.59 28.2 1.6 0 3.4V140h1280z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V140H0z'/%3E%3Cpath id='p2' d='M1280 51.76c-201 12.49-242.43 53.4-513.58 53.4-320 0-320-57-640-57-48.85.01-90.21 1.35-126.42 3.6V140h1280z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='130' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")!important}
/* footer has no Divi top divider; without one the last wave ends in a straight hard edge, so add a matching 15px one */
html:not(#_d) body .et_pb_section_0_tb_footer{position:relative}
html:not(#_d) body .et_pb_section_0_tb_footer::before{content:"";position:absolute;left:0;right:0;top:-1px;height:15px;z-index:1;pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z'/%3E%3Cpath id='p2' d='M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='140' x2='0' y2='118'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='-80' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:720px 15px;background-repeat:repeat-x;transform:scale(-1,1)}


/* ---------- 5. Buttons (neutral ones go dark; accent ones untouched) ---------- */
html:not(#_d) body .et_pb_section .et_pb_button:not(.og-hv-open),html:not(#_d) body .og-btn{
  background-color:var(--dk-surface)!important;color:var(--dk-text)!important;
  border-color:var(--dk-text)!important;
}

html:not(#_d) body .et_pb_section .et_pb_button:not(.og-hv-open):hover,html:not(#_d) body .og-btn:hover{background-color:var(--dk-surface-2)!important}

html:not(#_d) body .et_pb_button:after{color:inherit!important}

/* accent CTA keeps teal fill + white text exactly */
html:not(#_d) body .og-hv-open{background-color:var(--ac-teal)!important;color:#fff!important}


/* ---------- 6. Promo strip / sold ticker ---------- */
html:not(#_d) :is(body.home,body.page-id-424) .og-sold-bar{border:1px solid var(--dk-border)!important}

html:not(#_d) :is(body.home,body.page-id-424) .og-sold-bar,html:not(#_d) :is(body.home,body.page-id-424) .og-sold-bar *{background-color:transparent}

html:not(#_d) :is(body.home,body.page-id-424) .og-sold-bar{background-color:var(--dk-surface)!important}

html:not(#_d) :is(body.home,body.page-id-424) .og-sold-sel{background:var(--dk-surface)!important;color:var(--dk-text)!important;border-color:var(--dk-border-strong)!important}

html:not(#_d) :is(body.home,body.page-id-424) .og-sold-src,html:not(#_d) :is(body.home,body.page-id-424) .og-sold-upd,html:not(#_d) :is(body.home,body.page-id-424) .og-sold-src *,html:not(#_d) :is(body.home,body.page-id-424) [class*="og-sold-src"]{color:var(--dk-faint)!important}


/* ---------- 7. Cards (featured homes) ---------- */
html:not(#_d) :is(body.home,body.page-id-424) .og-card{
  background-color:var(--dk-surface)!important;color:var(--dk-text)!important;
  border:1px solid var(--dk-border)!important;
  box-shadow:0 2px 14px rgba(0,0,0,.6)!important;
}

html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-price,html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-price *{color:var(--dk-text)!important}

html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-addr,html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-meta,html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-mls{color:var(--dk-muted)!important}

html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-credit,html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-b{color:var(--dk-faint)!important}

/* small teal text on near-black fails contrast; use the site's own light teal */
html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-tag{color:#216778!important;border-color:#216778!important}

html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-more{color:#216778!important}

html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-ph{background-color:var(--dk-surface-2)!important}

html:not(#_d) body .og-legal,html:not(#_d) body .og-legal *,html:not(#_d) body .og-note,html:not(#_d) body .og-copy,html:not(#_d) body .og-copy *{color:var(--dk-faint)!important}




/* ---------- 8. Blurbs (Why Choose Omar Galan) ---------- */
html:not(#_d) body .et_pb_blurb .et-pb-icon{background-color:transparent!important}
 /* teal icon colour kept *//* ---------- 9. Links ---------- *//* Footer links keep the live #2EA3F2 blue; no generic body-link override needed. *//* ---------- 10. Forms, inputs, dialogs ---------- */
html:not(#_d) body input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),html:not(#_d) body select,html:not(#_d) body textarea{
  background-color:var(--dk-surface)!important;color:var(--dk-text)!important;
  border:1px solid var(--dk-border-strong)!important;
}

html:not(#_d) body input::placeholder,html:not(#_d) body textarea::placeholder{color:var(--dk-faint)!important}

html:not(#_d) body .og-hv-dialog,html:not(#_d) body .og-hv-dialog > *,html:not(#_d) body dialog,html:not(#_d) body .og-cf,html:not(#_d) body .og-cf-native,html:not(#_d) body form.og-cf{
  background-color:var(--dk-surface)!important;color:var(--dk-text)!important;border-color:var(--dk-border)!important}

html:not(#_d) body .og-hv-dialog h2,html:not(#_d) body .og-hv-dialog label,html:not(#_d) body .og-cf label{color:var(--dk-text)!important}


/* ---------- 11. Footer: stays black ---------- */
html:not(#_d) body .et_pb_section_0_tb_footer{background-color:var(--dk-bg)!important;border-top:0!important}

html:not(#_d) body .et-l--footer,html:not(#_d) body .et-l--footer p,html:not(#_d) body .et-l--footer li{color:var(--dk-muted)!important}

html:not(#_d) body .et-l--footer h1,html:not(#_d) body .et-l--footer h2,html:not(#_d) body .et-l--footer h3,html:not(#_d) body .et-l--footer h4,html:not(#_d) body .et-l--footer h5,html:not(#_d) body .et-l--footer strong{color:var(--dk-text)!important}

html:not(#_d) body .et-l--footer details{border-color:rgba(255,255,255,.18)!important}

html:not(#_d) body .et-l--footer summary{color:var(--dk-text)!important}

/* ---------- v2: "Listed by Omar" flags -> light teal with dark-teal text ---------- */
html:not(#_d) :is(body.home,body.page-id-424) .og-card .og-flag{background-color:#216778!important;color:#fff!important}

/* ---------- v2: catch any remaining near-black fills ---------- */
html:not(#_d) :is(body.home,body.page-id-424) .og-sold-bar [style*="background"],html:not(#_d) :is(body.home,body.page-id-424) .og-sold-bar .og-sold-main{background-color:transparent!important}

/* ================= v4.1 additions ================= */

/* ---------- 12. v4.1 fix: wave under the hero / pool strip on tablet + phone ----------
   Divi's tablet (<=980px) and phone (<=767px) settings for this one divider add
   transform:scale(1,-1) (a vertical flip) - desktop has no flip. With the v4 SVG, whose solid
   core sits on the seam side, the flip put the flat solid edge against the hero and the soft
   wave edge against the next section, leaving a dark wave-shaped gap at the seam.
   Undo the flip for this divider only; no-op on desktop. */
html:not(#_d) :is(body.home,body.page-id-424) .et_pb_section_0 > .et_pb_bottom_inside_divider{transform:scale(1,1)!important}
/* Seam hairline: where a section ends on a fractional pixel (common at phone widths, e.g. 360/414/430),
   the bottom strip and the next top strip are rasterised 1 device px apart and a dark hairline shows
   between them. Let every bottom strip overlap the next section by 1px (the next top strip / footer
   wave paints over the overlap, so nothing else moves). Applies only to wave strips on these pages. */
html:not(#_d) body .et_pb_section > .et_pb_bottom_inside_divider{bottom:-1px!important}

/* ================= Spanish homepage /es/ (page-id-424) only =================
   The /es/ page is one Divi section holding a hand-built .og-ap layout with its own
   .og-div wave strips, followed by a Divi contact form. */

/* ---------- 13. language bar, page wrapper, section backgrounds ---------- */
html:not(#_d) body #og-lb{background:var(--dk-bg)!important;color:var(--dk-muted)!important}
html:not(#_d) body .og-ap,html:not(#_d) body .og-ap .og-ap-sec,html:not(#_d) body .og-ap .og-ap-gray,html:not(#_d) body .og-ap .og-ap-dark,html:not(#_d) body .og-ap .og-ap-black,html:not(#_d) body .og-ap .og-ap-fine{background:var(--dk-bg)!important;color:var(--dk-muted)!important}
/* hero keeps its soft teal glow, on the dark base */
html:not(#_d) body .og-ap .og-ap-hero{background:radial-gradient(1200px 500px at 85% 0%,rgba(33,103,120,.38),transparent 60%),var(--dk-bg)!important}
html:not(#_d) body .og-ap .og-ap-band{background:var(--ac-teal)!important}

/* ---------- 14. text ---------- */
html:not(#_d) body .og-ap h1,html:not(#_d) body .og-ap h2,html:not(#_d) body .og-ap h3,html:not(#_d) body .og-ap summary,html:not(#_d) body .og-ap .og-ap-fine strong{color:var(--dk-text)!important}
html:not(#_d) body .og-ap p,html:not(#_d) body .og-ap li,html:not(#_d) body .og-ap .og-ap-lead,html:not(#_d) body .og-ap .og-ap-sub,html:not(#_d) body .og-ap ul.og-ap-go span{color:var(--dk-muted)!important}
html:not(#_d) body .og-ap .og-ap-prose p{color:#D6D2CB!important}
html:not(#_d) body .og-ap .og-ap-micro,html:not(#_d) body .og-ap .og-ap-hint,html:not(#_d) body .og-ap .og-ap-note,html:not(#_d) body .og-ap .og-ap-fine,html:not(#_d) body .og-ap .og-ap-fine p{color:var(--dk-faint)!important}
html:not(#_d) body .og-ap .og-ap-alt,html:not(#_d) body .og-ap .og-ap-alt a{color:var(--dk-text)!important}
/* teal text on near-black fails contrast: use the site's light teal */
html:not(#_d) body .og-ap ul.og-ap-go b,html:not(#_d) body .og-ap .og-ap-card a,html:not(#_d) body .og-ap .og-ap-prose a,html:not(#_d) body .og-ap .og-ap-faq a,html:not(#_d) body .og-ap .og-ap-note a,html:not(#_d) body .og-ap .og-ap-fine a,html:not(#_d) body .og-ap .og-ap-faq summary::after,html:not(#_d) body .og-ap .og-ap-card li::before{}

/* ---------- 15. cards, FAQ, chips, table ---------- */
html:not(#_d) body .og-ap ul.og-ap-go a,html:not(#_d) body .og-ap ul.og-ap-areas li,html:not(#_d) body .og-ap ul.og-ap-ben li,html:not(#_d) body .og-ap ul.og-ap-chips li,html:not(#_d) body .og-ap .og-ap-card,html:not(#_d) body .og-ap .og-ap-faq details{background:var(--dk-surface)!important;border-color:var(--dk-border)!important;box-shadow:0 2px 14px rgba(0,0,0,.6)!important}
html:not(#_d) body .og-ap ul.og-ap-areas li{border-left-color:var(--ac-teal)!important}
html:not(#_d) body .og-ap ul.og-ap-go a:hover,html:not(#_d) body .og-ap ul.og-ap-go a:focus-visible{background:var(--dk-surface-2)!important;border-color:#216778!important}
html:not(#_d) body .og-ap table.og-ap-cmp{border-color:var(--dk-border)!important}
html:not(#_d) body .og-ap table.og-ap-cmp th,html:not(#_d) body .og-ap table.og-ap-cmp td{background:var(--dk-surface)!important;color:var(--dk-muted)!important;border-color:var(--dk-border)!important}
html:not(#_d) body .og-ap table.og-ap-cmp thead th{background:var(--dk-surface-2)!important;color:var(--dk-text)!important}
html:not(#_d) body .og-ap table.og-ap-cmp thead th.og-ap-cash{background:var(--ac-teal)!important;color:#fff!important}
html:not(#_d) body .og-ap .og-ap-fine .og-ap-w{border-top-color:var(--dk-border)!important}

/* ---------- 16. .og-div wave strips -> the same v4 waves as the Divi dividers ----------
   Same geometry, size (720px / 100% x 15px), tiling and flips as before; only the image changes. */
html:not(#_d) body .og-ap .og-div--top{background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z'/%3E%3Cpath id='p2' d='M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='140' x2='0' y2='118'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='-80' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")!important}
html:not(#_d) body .og-ap .og-div--bottom{background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M1280 3.4C1050.59 18 1019.4 84.89 734.42 84.89c-320 0-320-84.3-640-84.3C59.4.59 28.2 1.6 0 3.4V140h1280z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V140H0z'/%3E%3Cpath id='p2' d='M1280 51.76c-201 12.49-242.43 53.4-513.58 53.4-320 0-320-57-640-57-48.85.01-90.21 1.35-126.42 3.6V140h1280z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='130' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")!important;bottom:-1px!important}

/* ---------- 17. close the contact-form area with a bottom wave ----------
   On /es/ a contact form sits between the last .og-div and the footer, so the footer's
   top wave would otherwise end in a flat hard edge. Give the section a matching bottom wave
   (it pairs with the footer wave exactly like the last section on the English page). */
html:not(#_d) body.page-id-424 #main-content .et_pb_section_0{position:relative;padding-bottom:24px!important}
html:not(#_d) body.page-id-424 #main-content .et_pb_section_0::after{content:"";position:absolute;left:0;right:0;bottom:0;height:15px;z-index:1;pointer-events:none;background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M1280 3.4C1050.59 18 1019.4 84.89 734.42 84.89c-320 0-320-84.3-640-84.3C59.4.59 28.2 1.6 0 3.4V140h1280z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V140H0z'/%3E%3Cpath id='p2' d='M1280 51.76c-201 12.49-242.43 53.4-513.58 53.4-320 0-320-57-640-57-48.85.01-90.21 1.35-126.42 3.6V140h1280z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='130' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:720px 15px;background-repeat:repeat-x}
@media only screen and (max-width:767px){html:not(#_d) body.page-id-424 #main-content .et_pb_section_0::after{background-size:100% 15px}}
/* the last .og-div (bottom of the small-print block) sits directly on the contact-form area, which has
   no top strip, so it would end in a flat hard edge: add the matching top strip right under .og-ap */
html:not(#_d) body.page-id-424 .og-ap{position:relative}
html:not(#_d) body.page-id-424 .og-ap::after{content:"";position:absolute;left:0;right:0;top:100%;height:15px;z-index:1;pointer-events:none;background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z'/%3E%3Cpath id='p2' d='M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='140' x2='0' y2='118'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='-80' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:50% 15px;background-repeat:repeat-x;transform:scale(-1,1)}
@media only screen and (max-width:767px){html:not(#_d) body.page-id-424 .og-ap::after{background-size:100% 15px}}

/* ===================================================================================
   v5 additions — every other public page. Same palette, same waves, accents kept.
   =================================================================================== */

/* ---------- 18. shared hand-built layouts: wrappers + plain sections ---------- */
html:not(#_d) body .og-lp,html:not(#_d) body #og-pool,html:not(#_d) body .og-co,html:not(#_d) body .og-bp,
html:not(#_d) body .og-lp .og-lp-sec,html:not(#_d) body .og-lp .og-lp-gray,html:not(#_d) body .og-lp .og-lp-dark,html:not(#_d) body .og-lp .og-lp-black,html:not(#_d) body .og-lp .og-lp-fine,
html:not(#_d) body .og-bp .og-bp-sec,html:not(#_d) body .og-bp .og-bp-gray,html:not(#_d) body .og-bp .og-bp-dark,html:not(#_d) body .og-bp .og-bp-lead-in,
html:not(#_d) body #og-pool .ogp-sec,html:not(#_d) body #og-pool .ogp-gray,html:not(#_d) body #og-pool .ogp-dark,html:not(#_d) body #og-pool .ogp-resale,html:not(#_d) body #og-pool .ogp-final,html:not(#_d) body #og-pool .ogp-fine,
html:not(#_d) body section.og-cf{background:var(--dk-bg)!important;color:var(--dk-muted)!important}
/* heroes keep their soft teal glow on the dark base (pool hero keeps its aqua gradient) */
html:not(#_d) body .og-lp .og-lp-hero,html:not(#_d) body .og-bp .og-bp-hero{background:radial-gradient(1200px 500px at 85% 0%,rgba(33,103,120,.38),transparent 60%),var(--dk-bg)!important}
html:not(#_d) body .og-lp .og-lp-band,html:not(#_d) body .og-bp .og-bp-band{background:var(--ac-teal)!important}
html:not(#_d) body .og-ap .og-ap-band p,html:not(#_d) body .og-lp .og-lp-band p,html:not(#_d) body .og-bp .og-bp-band p,html:not(#_d) body #og-pool .ogp-band p{color:#dbeef2!important}
html:not(#_d) body .og-ap .og-ap-band h2,html:not(#_d) body .og-lp .og-lp-band h2,html:not(#_d) body .og-bp .og-bp-band h2,html:not(#_d) body #og-pool .ogp-band h2{color:#fff!important}

/* ---------- 19. text ---------- */
html:not(#_d) body .og-lp :is(h1,h2,h3,h4,summary),html:not(#_d) body .og-bp :is(h1,h2,h3,h4,summary),html:not(#_d) body #og-pool :is(h2,h3,h4,summary),html:not(#_d) body .og-co :is(h2,h3,h4,summary,strong,b),
html:not(#_d) body .og-ap ul.og-ap-facts b,html:not(#_d) body .og-ap ul.og-ap-facts strong{color:var(--dk-text)!important}
html:not(#_d) body .og-lp :is(p,li,dd,dt,td,th,label),html:not(#_d) body .og-bp :is(p,li,dd,dt,td,th,label),html:not(#_d) body #og-pool :is(p,li,td,th),html:not(#_d) body .og-co :is(p,li,td,th,span.og-co-txt),
html:not(#_d) body .og-lp .og-lp-lead,html:not(#_d) body .og-bp .og-bp-lead,html:not(#_d) body #og-pool .ogp-lead,html:not(#_d) body #og-pool .ogp-sub,html:not(#_d) body .og-co .og-co-lead,
html:not(#_d) body .og-ap ul.og-ap-facts li,html:not(#_d) body .og-ap .og-ap-crumb{color:var(--dk-muted)!important}
html:not(#_d) body .og-lp .og-lp-prose p,html:not(#_d) body #og-pool .ogp-prose p{color:#D6D2CB!important}
html:not(#_d) body .og-lp :is(.og-lp-micro,.og-lp-hint,.og-lp-note,.og-lp-fine,.og-lp-fine p),html:not(#_d) body .og-bp :is(.og-bp-note,.og-bp-jl,.og-bp-f label small,.og-bp-disc),
html:not(#_d) body #og-pool :is(.ogp-hint,.ogp-mnote,.ogp-rqhint,.ogp-talk small,.ogp-fine p),html:not(#_d) body .og-co :is(.og-co-note,.og-co-micro,.og-co-fine),
html:not(#_d) body .og-ap .og-ap-crumb{color:var(--dk-faint)!important}
html:not(#_d) body .og-lp .og-lp-alt,html:not(#_d) body .og-lp .og-lp-alt a,html:not(#_d) body .og-bp .og-bp-alt a,html:not(#_d) body #og-pool .ogp-alt,html:not(#_d) body #og-pool .ogp-alt a{color:var(--dk-text)!important}
/* accent-coloured / white text inside accent blocks stays as designed */
html:not(#_d) body #og-pool .ogp-hero :is(p,li,h1,span,a,b),html:not(#_d) body #og-pool .ogp-hero .ogp-omar p.ogp-body{color:inherit}
html:not(#_d) body #og-pool .ogp-hero,html:not(#_d) body #og-pool .ogp-band{color:#fff!important}
html:not(#_d) body #og-pool .ogp-hero .ogp-omar p.ogp-body{color:#eaf8fb!important}
html:not(#_d) body #og-pool .ogp-hero .ogp-micro{color:#e4f6fa!important}
html:not(#_d) body #og-pool .ogp-band .ogp-tip :is(p,b,li){color:#fff3c4!important}
/* teal text on near-black fails contrast: use the site's light teal */
html:not(#_d) body .og-ap ul.og-ap-facts li b,html:not(#_d) body .og-ap .og-ap-crumb a,
html:not(#_d) body .og-lp ul.og-lp-go b,html:not(#_d) body .og-lp :is(.og-lp-card,.og-lp-prose,.og-lp-faq,.og-lp-note,.og-lp-fine) a,html:not(#_d) body .og-lp .og-lp-faq summary::after,html:not(#_d) body .og-lp .og-lp-card li::before,
html:not(#_d) body .og-bp a.og-bp-lnk,html:not(#_d) body .og-bp .og-bp-tag,html:not(#_d) body .og-bp .og-bp-faq summary::after,html:not(#_d) body .og-bp .og-bp-faq + .og-bp-note a,html:not(#_d) body .og-bp .og-bp-note a,
html:not(#_d) body #og-pool a:not([class*="ogp-btn"]):not(.ogp-chip),html:not(#_d) body #og-pool .ogp-lbl,html:not(#_d) body #og-pool .ogp-lockt,html:not(#_d) body #og-pool ul.ogp-go b,html:not(#_d) body #og-pool .ogp-faq summary::after,html:not(#_d) body #og-pool .ogp-card li::before,
html:not(#_d) body .og-co .og-co-kicker,html:not(#_d) body .og-co .og-co-alt a,html:not(#_d) body .og-co .og-co-faq a,html:not(#_d) body .og-co .og-co-faq summary::after,html:not(#_d) body .og-co .og-co-fine a{}
html:not(#_d) body #og-pool .ogp-hero a:not([class*="ogp-btn"]),html:not(#_d) body #og-pool .ogp-band a:not([class*="ogp-btn"]){color:#fff!important}
html:not(#_d) body #og-pool ul.ogp-go a,html:not(#_d) body #og-pool .ogp-talk a{color:var(--dk-text)!important}
html:not(#_d) body #og-pool ul.ogp-go span{color:var(--dk-muted)!important}


/* ---------- 20. cards, FAQ, chips, panels ---------- */
html:not(#_d) body .og-ap ul.og-ap-facts li,
html:not(#_d) body .og-lp ul.og-lp-go a,html:not(#_d) body .og-lp ul.og-lp-areas li,html:not(#_d) body .og-lp ul.og-lp-ben li,html:not(#_d) body .og-lp ul.og-lp-chips li,html:not(#_d) body .og-lp .og-lp-card,html:not(#_d) body .og-lp .og-lp-faq details,
html:not(#_d) body .og-bp .og-bp-qs,html:not(#_d) body .og-bp ul.og-bp-cards li,html:not(#_d) body .og-bp ul.og-bp-help li,html:not(#_d) body .og-bp .og-bp-cf,html:not(#_d) body .og-bp .og-bp-faq details,html:not(#_d) body .og-bp .og-bp-res,
html:not(#_d) body #og-pool .ogp-sp,html:not(#_d) body #og-pool ul.ogp-ben li,html:not(#_d) body #og-pool .ogp-card,html:not(#_d) body #og-pool .ogp-talk a,html:not(#_d) body #og-pool .ogp-faq details,html:not(#_d) body #og-pool ul.ogp-go a,
html:not(#_d) body .og-co ul.og-co-benefits li,html:not(#_d) body .og-co .og-co-faq details,html:not(#_d) body .og-cot a.og-cot-box{background:var(--dk-surface)!important;border-color:var(--dk-border)!important;box-shadow:0 2px 14px rgba(0,0,0,.6)!important}
html:not(#_d) body .og-ap ul.og-ap-facts li,html:not(#_d) body .og-bp ul.og-bp-cards li{border-top-color:var(--ac-teal)!important}
html:not(#_d) body .og-lp ul.og-lp-areas li{border-left-color:var(--ac-teal)!important}
html:not(#_d) body .og-lp ul.og-lp-go a:hover,html:not(#_d) body .og-lp ul.og-lp-go a:focus-visible,html:not(#_d) body #og-pool ul.ogp-go a:hover,html:not(#_d) body #og-pool .ogp-talk a:hover,html:not(#_d) body .og-cot a.og-cot-box:hover,html:not(#_d) body .og-cot a.og-cot-box:focus-visible{background:var(--dk-surface-2)!important;border-color:#216778!important}
html:not(#_d) body .og-bp .og-bp-res dl div{border-top-color:var(--dk-border)!important}
html:not(#_d) body .og-co .og-co-fine{border-top-color:var(--dk-border)!important}
html:not(#_d) body .og-lp .og-lp-fine .og-lp-w,html:not(#_d) body #og-pool .ogp-fine .ogp-w>div{border-top-color:var(--dk-border)!important}
/* buy page sticky jump bar */
html:not(#_d) body .og-bp .og-bp-jump{background:rgba(23,23,23,.97)!important;border-bottom-color:var(--dk-border)!important}
html:not(#_d) body .og-bp .og-bp-jump a:not(.on){color:var(--dk-text)!important}
html:not(#_d) body .og-bp .og-bp-jump a:not(.on):hover{background:var(--dk-surface-2)!important}
/* pool search panel controls (pressed / locked states keep their accent fills) */
html:not(#_d) body #og-pool .ogp-chip:not([aria-pressed="true"]):not(.ogp-locked),html:not(#_d) body #og-pool .ogp-seg button:not([aria-pressed="true"]){background:var(--dk-surface-2)!important;color:var(--dk-text)!important;border-color:var(--dk-border-strong)!important}
html:not(#_d) body #og-pool .ogp-seg{border-color:var(--dk-border-strong)!important}
html:not(#_d) body #og-pool .ogp-notice{background:rgba(31,163,199,.12)!important;border-color:#2b5f6b!important;border-left-color:#1fa3c7!important;color:#CDEFF6!important}
html:not(#_d) body #og-pool .ogp-notice *{color:inherit!important}
html:not(#_d) body #og-pool .ogp-sunline{background:rgba(255,200,69,.10)!important;border-color:rgba(255,200,69,.38)!important;color:#F3E3B0!important}
html:not(#_d) body #og-pool .ogp-sunline *{color:inherit!important}

/* ---------- 21. tables ---------- */
html:not(#_d) body .og-lp table.og-lp-cmp,html:not(#_d) body #og-pool table.ogp-cmp,html:not(#_d) body .og-co table.og-co-cmp{border-color:var(--dk-border)!important}
html:not(#_d) body .og-lp table.og-lp-cmp :is(th,td),html:not(#_d) body #og-pool table.ogp-cmp :is(th,td),html:not(#_d) body .og-co table.og-co-cmp :is(th,td){background:var(--dk-surface)!important;color:var(--dk-muted)!important;border-color:var(--dk-border)!important}
html:not(#_d) body .og-lp table.og-lp-cmp thead th,html:not(#_d) body #og-pool table.ogp-cmp thead th,html:not(#_d) body .og-co table.og-co-cmp thead th,
html:not(#_d) body .og-lp table.og-lp-cmp th[scope=row],html:not(#_d) body #og-pool table.ogp-cmp th[scope=row],html:not(#_d) body .og-co table.og-co-cmp th[scope=row]{background:var(--dk-surface-2)!important;color:var(--dk-text)!important}
html:not(#_d) body .og-lp table.og-lp-cmp thead th.og-lp-cash,html:not(#_d) body .og-co table.og-co-cmp thead th.og-co-cash,html:not(#_d) body #og-pool table.ogp-cmp thead th:nth-child(2){background:var(--ac-teal)!important;color:#fff!important}
html:not(#_d) body #og-pool table.ogp-cmp thead th:nth-child(3){background:#0b6e8f!important;color:#fff!important}
html:not(#_d) body #og-pool table.ogp-cmp thead th:nth-child(4){background:#2a8fa8!important;color:#fff!important}

/* ---------- 22. cash-offer multi-step form card (colours only; markup/steps untouched) ---------- */
html:not(#_d) body .og-cf .og-cf-card{--k:#EDEAE4;--m:#B9B4AC;--g:#2A2A2A;--l:#3A3A3A;background:var(--dk-surface)!important;color:var(--dk-text)!important;border:1px solid var(--dk-border)!important}
html:not(#_d) body .og-cf .og-cf-card :is(h3,legend,label){color:var(--dk-text)!important}
html:not(#_d) body .og-cf .og-cf-chip{background:var(--dk-surface-2)!important;color:var(--dk-text)!important;border-color:var(--dk-border-strong)!important}
html:not(#_d) body .og-cf .og-cf-chip:hover{background:#2f3a3c!important;border-color:#216778!important}
html:not(#_d) body .og-cf .og-cf-chip:not([aria-pressed="true"])::before{background-color:var(--dk-surface)!important;border-color:var(--dk-faint)!important}
html:not(#_d) body .og-cf .og-cf-chip[aria-pressed="true"]{background:rgba(42,122,140,.35)!important;border-color:#216778!important}
html:not(#_d) body .og-cf .og-cf-bar{background:var(--dk-border)!important}
html:not(#_d) body .og-cf .og-cf-check{background:rgba(42,122,140,.35)!important;color:#216778!important}
html:not(#_d) body .og-cf .og-cf-lang button[aria-pressed="true"]{background:var(--ac-teal)!important;color:#fff!important}
html:not(#_d) body .og-cf .og-cf-btn:hover{background:var(--ac-teal-dark)!important;color:#fff!important}
html:not(#_d) body .og-cf .og-cf-sms label,html:not(#_d) body .og-cf .og-cf-done p{color:var(--dk-muted)!important}
html:not(#_d) body .og-cf .og-cf-sum li{border-bottom-color:var(--dk-border)!important}
html:not(#_d) body .og-cf .og-cf-senderr{background:#3a1d1b!important;color:#F5C2BC!important}
html:not(#_d) body .og-cf .og-cf-errm{color:#F28B82!important}

/* ---------- 23. Divi modules on the buy / sell / legal pages ---------- */
html:not(#_d) body:not(.home):not(.page-id-424) .et_pb_section .et_pb_blurb{background-color:var(--dk-surface)!important;border:1px solid var(--dk-border)!important}
html:not(#_d) body .et_pb_contact_form_container .og-consent,html:not(#_d) body .et_pb_contact_form .og-consent{color:var(--dk-faint)!important}


/* ---------- 24. wave strips for sections built without .og-div ----------
   Pages that already carry .og-div strips keep them unchanged. The newer area pages, the pool
   pages and the few cash-offer sections without strips meet with a hard edge; give each such
   section the same top + bottom 15px strips as the .og-div pages (same images, sizes, flips). */
html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > :is(section,div.og-ap-fine,div.og-lp-fine,div.ogp-fine):not(:has(> .og-div)){position:relative}
html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > :is(section,div.og-ap-fine,div.og-lp-fine,div.ogp-fine):not(:has(> .og-div))::before,html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > :is(section,div.og-ap-fine,div.og-lp-fine,div.ogp-fine):not(:has(> .og-div))::after{content:"";position:absolute;left:0;right:0;height:15px;z-index:1;pointer-events:none;background-repeat:repeat-x;background-position:0 0;background-size:50% 15px}
html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > :is(section,div.og-ap-fine,div.og-lp-fine,div.ogp-fine):not(:has(> .og-div))::before{top:0;background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z'/%3E%3Cpath id='p2' d='M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='140' x2='0' y2='118'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='-80' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");transform:scale(-1,1)}
html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > section:not(:has(> .og-div)):first-child::before{transform:none}
html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > :is(section,div.og-ap-fine,div.og-lp-fine,div.ogp-fine):not(:has(> .og-div))::after{bottom:0;background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M1280 3.4C1050.59 18 1019.4 84.89 734.42 84.89c-320 0-320-84.3-640-84.3C59.4.59 28.2 1.6 0 3.4V140h1280z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V140H0z'/%3E%3Cpath id='p2' d='M1280 51.76c-201 12.49-242.43 53.4-513.58 53.4-320 0-320-57-640-57-48.85.01-90.21 1.35-126.42 3.6V140h1280z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='130' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
@media only screen and (max-width:767px){html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > :is(section,div.og-ap-fine,div.og-lp-fine,div.ogp-fine):not(:has(> .og-div))::before,html:not(#_d) body :is(.og-ap,.og-lp,#og-pool) > :is(section,div.og-ap-fine,div.og-lp-fine,div.ogp-fine):not(:has(> .og-div))::after{background-size:100% 15px}}

/* ---------- 25. .og-div strips on the buy + cash-offer layouts -> the same v4 waves ---------- */
html:not(#_d) body :is(.og-bp,.og-lp,.og-cf) .og-div--top,html:not(#_d) body .og-dz > .og-div--top{background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z'/%3E%3Cpath id='p2' d='M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='140' x2='0' y2='118'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='-80' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")!important}
html:not(#_d) body :is(.og-bp,.og-lp,.og-cf) .og-div--bottom,html:not(#_d) body .og-dz > .og-div--bottom{background-image:url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M1280 3.4C1050.59 18 1019.4 84.89 734.42 84.89c-320 0-320-84.3-640-84.3C59.4.59 28.2 1.6 0 3.4V140h1280z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V140H0z'/%3E%3Cpath id='p2' d='M1280 51.76c-201 12.49-242.43 53.4-513.58 53.4-320 0-320-57-640-57-48.85.01-90.21 1.35-126.42 3.6V140h1280z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='130' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")!important}

/* ---------- 26. plain (non-builder) page content: legal pages ----------
   Direct children of .entry-content only, so builder layouts (home, /es/, area pages) are untouched. */
html:not(#_d) body #main-content .entry-title,html:not(#_d) body #main-content .main_title,html:not(#_d) body #main-content .entry-content > :is(h1,h2,h3,h4,h5,h6){color:var(--dk-text)!important}
html:not(#_d) body #main-content .entry-content > :is(p,ul,ol,table,blockquote),html:not(#_d) body #main-content .entry-content > :is(ul,ol) li,html:not(#_d) body #main-content .entry-content > :is(p,ul,ol) :is(strong,b,em){color:var(--dk-muted)!important}
html:not(#_d) body #main-content .entry-content > :is(p,ul,ol,table) a:not([class]),html:not(#_d) body #main-content .entry-content > :is(ul,ol) li a:not([class]){}
html:not(#_d) body #main-content .container::before{background-color:var(--dk-border)!important}
/* ---------- v5.1 restore: spots whose original teal was overridden by a generic dark-theme text rule.
   ":not(#_e)" adds one id of specificity so these beat the #main-content .entry-content rules. Values = the original value in that spot. ---------- */
html:not(#_d):not(#_e) :is(body.home,body.page-id-424) .og-card .og-meta{color:#216778!important}
html:not(#_d):not(#_e) :is(body.home,body.page-id-424) .og-sold-bar{border-bottom-color:#216778!important}
html:not(#_d):not(#_e) body .og-co .og-co-kicker{color:#216778!important}
html:not(#_d):not(#_e) body .og-cf .og-cf-prog-lbl,html:not(#_d):not(#_e) body .og-cf .og-cf-prog-lbl b{color:#216778!important}
html:not(#_d):not(#_e) body .og-cf .og-cf-smshint{color:#216778!important}
html:not(#_d):not(#_e) body .og-cf .og-cf-intro>p.og-cf-ready{color:#9fd0db!important}
html:not(#_d):not(#_e) body .og-ap ul.og-ap-go b,html:not(#_d):not(#_e) body .og-ap ul.og-ap-facts b{color:#216778!important}
html:not(#_d):not(#_e) body #og-pool ul.ogp-go b,html:not(#_d):not(#_e) body #og-pool .ogp-lbl{color:#216778!important}
/* these spots were #0B4F61 / #2A7A8C / #0B6E8F before the dark theme; Omar asked for #216778 exactly on every restored teal */
html:not(#_d):not(#_e) body #og-pool .ogp-notice,html:not(#_d):not(#_e) body #og-pool .ogp-notice :is(span,strong,b,svg,circle,path){color:#216778!important}
html:not(#_d):not(#_e) body .og-t,html:not(#_d):not(#_e) body #og-pool .ogp-lockt{color:#216778!important}
html:not(#_d):not(#_e) body .og-cf .og-cf-check,html:not(#_d):not(#_e) body .og-cf .og-cf-check :is(svg,path){color:#216778!important}
/* og-wave-unify 2026-11-17
   Appended to og-dark-home.css (v5.1). Approved by Omar in writing, 5:33 PM
   America/New_York, 17 November 2026. Same rules as proposed.css, plus 12px/20px
   vertical margin on .og-wave-pair so the mid-page ribbon is not tight against
   the about card (as recommended in REPORT.md).

   Standard: 15px cream #EDEAE4 Wave 2, tile 50% 15px from 768px up and
   100% 15px on phones, full width, always a matched pair.
*/
html:has(> body) {
  --og-wave-h: 15px;
  --og-wave-size: 50% 15px;
  --og-wave-top-img: url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z'/%3E%3Cpath id='p2' d='M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='140' x2='0' y2='118'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='-80' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --og-wave-bottom-img: url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='p0' d='M1280 3.4C1050.59 18 1019.4 84.89 734.42 84.89c-320 0-320-84.3-640-84.3C59.4.59 28.2 1.6 0 3.4V140h1280z'/%3E%3Cpath id='p1' d='M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V140H0z'/%3E%3Cpath id='p2' d='M1280 51.76c-201 12.49-242.43 53.4-513.58 53.4-320 0-320-57-640-57-48.85.01-90.21 1.35-126.42 3.6V140h1280z'/%3E%3Cfilter id='f0' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='3 13'/%3E%3C/filter%3E%3Cfilter id='f1' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 9'/%3E%3C/filter%3E%3Cfilter id='f2' filterUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3CfeGaussianBlur stdDeviation='2 10'/%3E%3C/filter%3E%3ClinearGradient id='mg' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='22'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.5' stop-color='%23777'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='-1400' y='-100' width='4080' height='340'%3E%3Crect x='-1400' y='-100' width='4080' height='340' fill='url(%23mg)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg filter='url(%23f0)' fill='%23EDEAE4' fill-opacity='0.3'%3E%3Cuse href='%23p0' x='-1280'/%3E%3Cuse href='%23p0'/%3E%3Cuse href='%23p0' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f1)' fill='%23EDEAE4' fill-opacity='0.62'%3E%3Cuse href='%23p1' x='-1280'/%3E%3Cuse href='%23p1'/%3E%3Cuse href='%23p1' x='1280'/%3E%3C/g%3E%3Cg filter='url(%23f2)' fill='%23EDEAE4' fill-opacity='1'%3E%3Cuse href='%23p2' x='-1280'/%3E%3Cuse href='%23p2'/%3E%3Cuse href='%23p2' x='1280'/%3E%3Crect x='-1400' y='130' width='4080' height='90'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
@media only screen and (max-width: 767px) {
  html:has(> body) { --og-wave-size: 100% 15px; }
}

/* ----- 1. Shared geometry for every wave implementation already on the site ----- */
html:not(#_d) body .et_pb_top_inside_divider,
html:not(#_d) body .et_pb_bottom_inside_divider,
html:not(#_d) body .og-div,
html:not(#_d) body .et_pb_section_0_tb_footer::before,
html:not(#_d) body.page-id-424 #main-content .et_pb_section_0::after,
html:not(#_d) body.page-id-424 .og-ap::after {
  height: var(--og-wave-h) !important;
  background-size: var(--og-wave-size) !important;
  background-repeat: repeat-x !important;
  background-position: 0 0 !important;
}

/* Theme Builder header: phone divider is 13px / 100% 13px today. Override in CSS
   so we do not have to edit the Theme Builder header to unify it. */
html:not(#_d) body .et-l--header .et_pb_bottom_inside_divider,
html:not(#_d) body .et_pb_section_0_tb_header > .et_pb_bottom_inside_divider {
  height: var(--og-wave-h) !important;
  background-size: var(--og-wave-size) !important;
}

/* Footer top wave was the odd one out: 720px 15px at every width, including phones. */
html:not(#_d) body .et_pb_section_0_tb_footer::before {
  height: var(--og-wave-h) !important;
  background-size: var(--og-wave-size) !important;
  background-repeat: repeat-x !important;
  top: -1px;
}

/* /es/ close-waves also used 720px on desktop (the bottom of the contact-form area). */
html:not(#_d) body.page-id-424 #main-content .et_pb_section_0::after,
html:not(#_d) body.page-id-424 .og-ap::after {
  background-size: var(--og-wave-size) !important;
}

/* ----- 2. Reusable .og-div, so injected strips on pages that have no Code-module
          og-div CSS (home-value) still paint correctly. Safe if the page already
          defines .og-div — we only add geometry and the cream SVG. ----- */
html:not(#_d) body .og-dz,
html:not(#_d) body .og-wave-section { position: relative; }

html:not(#_d) body .og-div {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--og-wave-h) !important;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  z-index: 1;
  background-repeat: repeat-x !important;
  background-position: 0 0 !important;
  background-size: var(--og-wave-size) !important;
}
html:not(#_d) body .og-div--top {
  top: 0;
  background-image: var(--og-wave-top-img) !important;
  transform: scale(-1, 1);
}
html:not(#_d) body .og-div--top.og-div--first {
  transform: none;
}
html:not(#_d) body .og-div--bottom {
  bottom: -1px;
  background-image: var(--og-wave-bottom-img) !important;
  transform: none;
}

/* Mid-page pair: a 30px full-bleed ribbon (bottom strip + next top strip) for
   pages that are one long Code module, like /home-value/. */
html:not(#_d) body .og-wave-pair {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-top: 12px;
  margin-bottom: 20px;
  height: 30px;
  pointer-events: none;
  z-index: 1;
}
html:not(#_d) body .og-wave-pair .og-div--bottom {
  top: 0;
  bottom: auto;
}
html:not(#_d) body .og-wave-pair .og-div--top {
  top: 15px;
  bottom: auto;
}

/* ----- 3. Home value pages (EN 861, ES 867): pair the header and footer.
          The body is one Divi section with no native dividers today, so the
          header and footer waves sit alone and look thin / hard-edged. ----- */
html:not(#_d) body.page-id-861 #main-content .et_pb_section_0,
html:not(#_d) body.page-id-867 #main-content .et_pb_section_0 {
  position: relative;
}
html:not(#_d) body.page-id-861 #main-content .et_pb_section_0::before,
html:not(#_d) body.page-id-867 #main-content .et_pb_section_0::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--og-wave-h);
  z-index: 1;
  pointer-events: none;
  background-image: var(--og-wave-top-img);
  background-size: var(--og-wave-size);
  background-repeat: repeat-x;
  background-position: 0 0;
  transform: none; /* first strip under the header */
}
html:not(#_d) body.page-id-861 #main-content .et_pb_section_0::after,
html:not(#_d) body.page-id-867 #main-content .et_pb_section_0::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--og-wave-h);
  z-index: 1;
  pointer-events: none;
  background-image: var(--og-wave-bottom-img);
  background-size: var(--og-wave-size);
  background-repeat: repeat-x;
  background-position: 0 0;
  transform: none;
}
