/* Shared icon-card style (2026-10-29): no small corner icon, bold serif title, full-width text,
   icon as a faint gold background that animates on hover / tap. Used by fx/card-bg.js. */
/* small icons are replaced by the background copy */
html body .wl-card .wl-ic,
html body .pillar-list .pillar .p-icon,html body .pillar-list .pillar.in-view .p-icon,html body .pillar-list .pillar:focus-within .p-icon,
html body .why-cmp .cmp svg.ci{display:none!important}

.cbg-card,.wl-card,.pillar-list .pillar,.why-cmp .cmp,.mw-card{position:relative;overflow:hidden;isolation:isolate}
.cbg-card > :not(.cbg){position:relative;z-index:1}

.cbg{position:absolute;z-index:0;right:-22px;bottom:-26px;width:150px;height:150px;color:#B08A3A;opacity:.09;pointer-events:none;
  transform:rotate(-8deg);transform-origin:70% 70%;transition:transform .8s cubic-bezier(.16,.8,.24,1),opacity .5s ease,color .5s ease}@media (min-width:1024px){/*s80*/.cbg{right:-15.84px;bottom:-18.72px;width:108px;height:108px;color:#B08A3A;opacity:.09;pointer-events:none;transform:rotate(-8deg);transform-origin:70% 70%;transition:transform .8s cubic-bezier(.16,.8,.24,1),opacity .5s ease,color .5s ease}/*/s80*/}
.cbg svg{display:block;width:100%;height:100%;overflow:visible}
.cbg svg *{vector-effect:non-scaling-stroke;stroke-width:2.2px!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;animation:none!important;transform:none!important}@media (min-width:1024px){/*s80*/.cbg svg *{stroke-width:1.584px !important;stroke-dasharray:none !important;stroke-dashoffset:0 !important;animation:none !important;transform:none !important}/*/s80*/}
.cbg svg :is(.tint,.glow){display:none}
@media (hover:hover){.cbg-card:hover > .cbg{transform:rotate(4deg) scale(1.22) translate(-10px,-8px);opacity:.2;color:#9A7536}@media (min-width:1024px){/*s80*/.cbg-card:hover > .cbg{transform:rotate(4deg) scale(1.22) translate(-7.2px,-5.76px);opacity:.2;color:#9A7536}/*/s80*/}}
.cbg-card:focus-within > .cbg{transform:rotate(4deg) scale(1.22) translate(-10px,-8px);opacity:.2}@media (min-width:1024px){/*s80*/.cbg-card:focus-within > .cbg{transform:rotate(4deg) scale(1.22) translate(-7.2px,-5.76px);opacity:.2}/*/s80*/}
@media (hover:none){.cbg-card:active > .cbg{transform:rotate(4deg) scale(1.22) translate(-10px,-8px);opacity:.2}@media (min-width:1024px){/*s80*/.cbg-card:active > .cbg{transform:rotate(4deg) scale(1.22) translate(-7.2px,-5.76px);opacity:.2}/*/s80*/}}
html[lang="fa"] .cbg{right:auto;left:-22px;transform:rotate(8deg) scaleX(-1);transform-origin:30% 70%}@media (min-width:1024px){/*s80*/html[lang="fa"] .cbg{left:-15.84px;transform:rotate(8deg) scaleX(-1);transform-origin:30% 70%}/*/s80*/}
@media (hover:hover){html[lang="fa"] .cbg-card:hover > .cbg{transform:rotate(-4deg) scale(1.22) translate(10px,-8px) scaleX(-1)}@media (min-width:1024px){/*s80*/html[lang="fa"] .cbg-card:hover > .cbg{transform:rotate(-4deg) scale(1.22) translate(7.2px,-5.76px) scaleX(-1)}/*/s80*/}}
html[lang="fa"] .cbg-card:focus-within > .cbg{transform:rotate(-4deg) scale(1.22) translate(10px,-8px) scaleX(-1)}@media (min-width:1024px){/*s80*/html[lang="fa"] .cbg-card:focus-within > .cbg{transform:rotate(-4deg) scale(1.22) translate(7.2px,-5.76px) scaleX(-1)}/*/s80*/}
@media (hover:none){html[lang="fa"] .cbg-card:active > .cbg{transform:rotate(-4deg) scale(1.22) translate(10px,-8px) scaleX(-1)}@media (min-width:1024px){/*s80*/html[lang="fa"] .cbg-card:active > .cbg{transform:rotate(-4deg) scale(1.22) translate(7.2px,-5.76px) scaleX(-1)}/*/s80*/}}
@media (max-width:640px){.cbg{width:120px;height:120px;right:-16px;bottom:-20px}@media (min-width:1024px){/*s80*/.cbg{width:86.4px;height:86.4px;right:-11.52px;bottom:-14.4px}/*/s80*/}html[lang="fa"] .cbg{right:auto;left:-16px}@media (min-width:1024px){/*s80*/html[lang="fa"] .cbg{left:-11.52px}/*/s80*/}}

/* mortgage-agent cards: single column, text uses the full width */
.mw-grid .mw-card{display:block;padding:26px 26px 28px}@media (min-width:1024px){/*s80*/.mw-grid .mw-card{padding:18.72px 18.72px 20.16px}/*/s80*/}
@media (max-width:640px){.mw-grid .mw-card{padding:20px 20px 22px}@media (min-width:1024px){/*s80*/.mw-grid .mw-card{padding:14.4px 14.4px 15.84px}/*/s80*/}}

/* insurance cost cards: keep price text readable */
.why-cmp .cmp > .cbg{width:130px;height:130px;opacity:.06}@media (min-width:1024px){/*s80*/.why-cmp .cmp > .cbg{width:93.6px;height:93.6px;opacity:.06}/*/s80*/}
@media (hover:hover){.why-cmp .cmp:hover > .cbg{opacity:.12}}
.why-cmp .cmp:focus-within > .cbg{opacity:.12}
@media (hover:none){.why-cmp .cmp:active > .cbg{opacity:.12}}

/* bold serif card titles */
.wl-card h3{font-family:"EB Garamond",Georgia,serif!important;font-weight:700!important;letter-spacing:0}
.why-cmp .cmp > b{font-family:"EB Garamond",Georgia,serif;font-weight:700;font-size:21px;line-height:1.2;letter-spacing:0}@media (min-width:1024px){/*s80*/.why-cmp .cmp > b{font-size:15.12px;line-height:1.2;letter-spacing:0}/*/s80*/}
html[lang="fa"] .wl-card h3,html[lang="fa"] .why-cmp .cmp > b{font-family:Vazirmatn,Tahoma,sans-serif!important}
html[lang="zh-Hans"] .wl-card h3,html[lang="zh-Hans"] .why-cmp .cmp > b{font-family:"Noto Serif SC","Songti SC",serif!important}

/* contact cards (wolf-connect): same placement + motion */
.wc-way::before{left:auto!important;top:auto!important;right:-24px!important;bottom:-28px!important;width:160px!important;height:160px!important;transform-origin:70% 70%!important;transform:rotate(-8deg)!important;opacity:.08!important;transition:transform .8s cubic-bezier(.16,.8,.24,1),opacity .5s ease!important}@media (min-width:1024px){/*s80*/.wc-way::before{right:-17.28px !important;bottom:-20.16px !important;width:115.2px !important;height:115.2px !important;transform-origin:70% 70% !important;transform:rotate(-8deg) !important;opacity:.08 !important;transition:transform .8s cubic-bezier(.16,.8,.24,1),opacity .5s ease !important}/*/s80*/}
@media (hover:hover){.wc-way:not(.is-off):hover::before{transform:rotate(4deg) scale(1.22) translate(-10px,-8px)!important;opacity:.18!important}@media (min-width:1024px){/*s80*/.wc-way:not(.is-off):hover::before{transform:rotate(4deg) scale(1.22) translate(-7.2px,-5.76px) !important;opacity:.18 !important}/*/s80*/}}
.wc-way:not(.is-off):focus-visible::before{transform:rotate(4deg) scale(1.22) translate(-10px,-8px)!important;opacity:.18!important}@media (min-width:1024px){/*s80*/.wc-way:not(.is-off):focus-visible::before{transform:rotate(4deg) scale(1.22) translate(-7.2px,-5.76px) !important;opacity:.18 !important}/*/s80*/}
@media (hover:none){.wc-way:not(.is-off):active::before{transform:rotate(4deg) scale(1.22) translate(-10px,-8px)!important;opacity:.18!important}@media (min-width:1024px){/*s80*/.wc-way:not(.is-off):active::before{transform:rotate(4deg) scale(1.22) translate(-7.2px,-5.76px) !important;opacity:.18 !important}/*/s80*/}}
@media (max-width:900px){.wc-way::before{width:120px!important;height:120px!important;right:-16px!important;bottom:-20px!important}@media (min-width:1024px){/*s80*/.wc-way::before{width:86.4px !important;height:86.4px !important;right:-11.52px !important;bottom:-14.4px !important}/*/s80*/}}
html[lang="fa"] .wc-way::before{right:auto!important;left:-24px!important;transform:rotate(8deg) scaleX(-1)!important;transform-origin:30% 70%!important}@media (min-width:1024px){/*s80*/html[lang="fa"] .wc-way::before{left:-17.28px !important;transform:rotate(8deg) scaleX(-1) !important;transform-origin:30% 70% !important}/*/s80*/}
@media (hover:hover){html[lang="fa"] .wc-way:not(.is-off):hover::before{transform:rotate(-4deg) scale(1.22) translate(10px,-8px) scaleX(-1)!important}@media (min-width:1024px){/*s80*/html[lang="fa"] .wc-way:not(.is-off):hover::before{transform:rotate(-4deg) scale(1.22) translate(7.2px,-5.76px) scaleX(-1) !important}/*/s80*/}}

@media (prefers-reduced-motion:reduce){
  .cbg,.wc-way::before{transition:opacity .2s linear!important}
  .cbg-card:hover > .cbg,.cbg-card:focus-within > .cbg,.cbg-card:active > .cbg{transform:rotate(-8deg)!important}
  html[lang="fa"] .cbg-card:hover > .cbg,html[lang="fa"] .cbg-card:focus-within > .cbg{transform:rotate(8deg) scaleX(-1)!important}
  .wc-way:hover::before,.wc-way:focus-visible::before,.wc-way:active::before{transform:rotate(-8deg)!important}
  html[lang="fa"] .wc-way:hover::before{transform:rotate(8deg) scaleX(-1)!important}
}
.why-cmp .cmp > b:not(#z){font-family:"EB Garamond",Georgia,serif!important;font-weight:700!important}
.pillar-list .pillar h4{font-family:"EB Garamond",Georgia,serif!important;font-weight:700!important;font-size:21px!important;letter-spacing:0!important}@media (min-width:1024px){/*s80*/.pillar-list .pillar h4{font-size:15.12px !important;letter-spacing:0 !important}/*/s80*/}
html[lang="fa"] .why-cmp .cmp > b:not(#z),html[lang="fa"] .pillar-list .pillar h4{font-family:Vazirmatn,Tahoma,sans-serif!important}
html[lang="zh-Hans"] .why-cmp .cmp > b:not(#z),html[lang="zh-Hans"] .pillar-list .pillar h4{font-family:"Noto Serif SC","Songti SC",serif!important}
html body .cbg-card > .cbg{position:absolute!important;z-index:0!important;top:auto!important}
.why-cmp .cmp > .cbg svg *{fill:none!important;stroke:currentColor!important}
@media (max-width:640px){.wl-card h3{min-height:0!important}}
