/* All advertising presentation is scoped; native organic cards and forms remain intact. */
/* Legacy priority is never presented as a paid endorsement, even in cached HTML. */
body .lf-head > .tooltip-element:has(.ad-badge),
body #finderListings .as-ads-search-badge {display:none!important;}
body .lf-head {display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
body .lf-head .as-sponsored-label {display:inline-flex;align-items:center;flex:0 0 auto;height:30px;padding:0 9px;border:1px solid #E5EAF2;border-radius:6px;background:#fff;color:#1A1A2E;font:600 11px/1.4 Poppins,sans-serif;white-space:nowrap;}
body.page-id-136 #finderListings .as-ads-search-card .lf-head {padding-right:0;}
.as-ads-native-products {display:none!important;}
#as-ads-home-slot {min-height:324px;}
.as-ads-dashboard ~ .user-promotion-packages .no-listings {display:none;}
.as-ads-home.as-ads-sponsors {padding:0;border:0;background:transparent;margin:0;}
.as-ads-home-note {font:400 12px/1.6 Poppins,sans-serif;color:#6B7280;margin:0 0 16px;}
.as-ads-home-empty {padding:24px;border:1px solid #E5EAF2;border-radius:16px;background:#fff;font:400 13px/1.7 Poppins,sans-serif;}
.as-ads-home-empty p {margin:0 0 8px;color:#6B7280;}
.as-ads-search-card .lf-item>a {position:relative;}
.as-ads-search-badge {position:absolute;left:12px;top:12px;z-index:3;padding:4px 10px;border-radius:6px;border:1px solid #E5EAF2;background:#fff;color:#1A1A2E;font:500 11px/1.6 Poppins,sans-serif;}
.as-ads-benefits {list-style:none;margin:0 0 24px;padding:0;display:grid;gap:16px;}
.as-ads-benefits li {padding:16px;background:#F7F9FB;border:1px solid #E5EAF2;border-radius:12px;}
.as-ads-benefits strong {display:block;font-size:13px;font-weight:600;margin-bottom:4px;}
.as-ads-benefits span {display:block;font-size:12px;line-height:1.7;color:#6B7280;}
.as-ads-purchase {margin:24px 0 0;}
.as-ads-purchase fieldset {border:0;padding:0;margin:0 0 16px;}
.as-ads-purchase legend {font-size:13px;font-weight:500;color:#1A1A2E;border:0;margin:0 0 12px;padding:0;}
.as-ads-duration-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.as-ads-duration-options label {position:relative;display:flex;align-items:flex-start;gap:8px;padding:16px 12px;margin:0;border:1px solid #E5EAF2;border-radius:12px;cursor:pointer;min-height:80px;}
.as-ads-duration-options label:has(input:checked) {border-color:#2D66DE;background:#F7F9FB;box-shadow:inset 0 0 0 1px #2D66DE;}
.as-ads-duration-options input[type=radio] {appearance:auto!important;position:static!important;opacity:1!important;width:16px!important;height:16px!important;margin:3px 0 0!important;padding:0!important;accent-color:#2D66DE;flex-shrink:0;}
.as-ads-duration-options label>span {display:flex;flex-direction:column;gap:4px;min-width:0;}
.as-ads-duration-options label>span>span {font-size:12px;font-weight:400;color:#6B7280;}
.as-ads-duration-options strong {font-size:18px;font-weight:600;color:#1A1A2E;}
.as-ads-duration-options label:focus-within {outline:3px solid #467FF7;outline-offset:3px;}
.as-ads-offer .as-ads-small {margin-bottom:16px;}
@media(max-width:400px){.as-ads-duration-options {gap:8px;}.as-ads-duration-options label {padding:12px 8px;flex-direction:column;}.as-ads-duration-options strong {font-size:16px;}}
.as-ads-sponsors,.as-ads-offer,.as-ads-dashboard {--ads-ink:#1A1A2E;--ads-muted:#6B7280;--ads-blue:#2D66DE;--ads-border:#E5EAF2;--ads-bg:#F7F9FB;color:var(--ads-ink);font-family:Poppins,sans-serif;min-width:0;}
.as-ads-sponsors {margin:0 0 24px;padding:20px;border:1px solid var(--ads-border);border-radius:16px;background:#fff;}
.as-ads-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.as-ads-heading h2 {font-size:16px;font-weight:600;line-height:1.5;margin:0;}
.as-ads-heading>span {font-size:11px;color:var(--ads-muted);}
.as-ads-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.as-ads-card {display:flex;flex-direction:column;min-width:0;border:1px solid var(--ads-border);border-radius:12px;overflow:hidden;background:var(--ads-bg);text-decoration:none!important;color:var(--ads-ink)!important;}
.as-ads-card:hover {border-color:var(--ads-blue);}
.as-ads-card>img {display:block;width:100%;height:128px;object-fit:cover;}
.as-ads-card-body {padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1;}
.as-ads-badge {font-size:10px;line-height:1.5;border:1px solid var(--ads-border);border-radius:4px;padding:3px 8px;background:#fff;color:var(--ads-muted);}
.as-ads-card h3 {margin:0;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;}
.as-ads-card p {margin:0;font-size:11px;color:var(--ads-muted);line-height:1.5;}
.as-ads-link {display:flex;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:8px;color:var(--ads-blue);font-size:12px;font-weight:500;}
.as-ads-offer p,.as-ads-dashboard>p {font-size:13px;line-height:1.75;margin:0 0 16px;color:var(--ads-muted);}
.as-ads-pilot {padding:24px;border:1px solid var(--ads-border);border-radius:16px;background:var(--ads-bg);margin:16px 0 24px;}
.as-ads-eyebrow {display:block;font-size:10px;font-weight:600;letter-spacing:1px;color:#2D66DE;margin-bottom:8px;}
.as-ads-offer h3 {font-size:17px;font-weight:600;line-height:1.5;margin:0 0 8px;}
.as-ads-offer .as-ads-primary,.as-ads-primary {display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #2D66DE;border-radius:12px;background:#2D66DE;color:#fff!important;padding:12px 20px;font:500 13px/1.5 Poppins,sans-serif;text-decoration:none;cursor:pointer;width:auto;box-shadow:none;}
.as-ads-primary:disabled {opacity:.65;cursor:wait;}
.as-ads-offer .as-ads-small,.as-ads-small {font-size:11px;line-height:1.8;color:#6B7280;margin:12px 0 0;}
.as-ads-notice {margin-bottom:0!important;}
.as-ads-upcoming {margin-bottom:16px;}
.as-ads-upcoming h3 {font-size:14px;}
.as-ads-upcoming>p {font-size:12px;margin-bottom:12px;}
.as-ads-prices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.as-ads-prices>div {display:flex;flex-direction:column;gap:4px;border:1px solid var(--ads-border);border-radius:12px;padding:12px 16px;}
.as-ads-prices span {font-size:12px;color:var(--ads-muted);}
.as-ads-prices strong {font-size:18px;color:var(--ads-ink);}
.as-ads-explanation {border-top:1px solid var(--ads-border);padding-top:8px;}
.as-ads-explanation summary {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;font-size:13px;font-weight:500;color:var(--ads-blue);cursor:pointer;list-style:none;}
.as-ads-explanation summary::-webkit-details-marker {display:none;}
.as-ads-explanation summary::after {content:'+';font-size:20px;}
.as-ads-explanation[open] summary::after {content:'−';}
.as-ads-explanation>div {padding-top:8px;}
.as-ads-explanation p {font-size:12px;}
.as-ads-dashboard {margin:0 0 32px;}
.as-ads-dashboard h2 {font-size:20px;font-weight:600;margin:0 0 8px;}
.as-ads-report,.as-ads-empty {margin:24px 0;padding:24px;border:1px solid #E5EAF2;border-radius:16px;background:#fff;}
.as-ads-report header {display:flex;justify-content:space-between;align-items:flex-start;gap:16px;}
.as-ads-report h3,.as-ads-empty h3 {font-size:16px;font-weight:600;line-height:1.5;margin:0 0 8px;}
.as-ads-report>p,.as-ads-empty>p {font-size:12px;line-height:1.7;color:#6B7280;}
.as-ads-status {font-size:12px;background:#F7F9FB;border-radius:8px;padding:8px 12px;}
.as-ads-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0;}
.as-ads-metrics>div {border:1px solid #E5EAF2;border-radius:12px;padding:16px;}
.as-ads-metrics dt {font-size:11px;font-weight:400;color:#6B7280;}
.as-ads-metrics dd {font-size:24px;font-weight:600;margin:8px 0 0;}
.as-ads-sponsors a:focus-visible,.as-ads-offer :is(button,a,summary):focus-visible,.as-ads-dashboard a:focus-visible {outline:3px solid #467FF7;outline-offset:3px;}
/* Match initial reserved space to loaded cards; keep it through empty/error/expiry states. */
#as-ads-home-slot .as-ads-card {min-height:324px;box-sizing:border-box;}
#as-ads-home-slot .as-ads-card-body {min-height:0;}
#as-ads-home-slot .as-ads-card h3,#as-ads-home-slot .as-ads-card p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex-shrink:0;}
#as-ads-home-slot .as-ads-card>img {flex-shrink:0;}
@media(max-width:767px){
 #as-ads-home-slot {min-height:calc(var(--as-ad-slots,3) * 198px + (var(--as-ad-slots,3) - 1) * 16px);}
 #as-ads-home-slot .as-ads-card {min-height:198px;}
 #as-ads-home-slot .as-ads-card>img {min-height:0;height:196px;}
}
@media(max-width:767px){.as-ads-grid {grid-template-columns:1fr;}.as-ads-card {display:grid;grid-template-columns:100px minmax(0,1fr);}.as-ads-card:not(:has(img)){grid-template-columns:1fr;}.as-ads-card>img {height:100%;min-height:160px;}.as-ads-card-body {padding:12px;}.as-ads-sponsors {padding:16px;}.as-ads-heading {align-items:flex-start;flex-direction:column;gap:4px;}.as-ads-pilot,.as-ads-report,.as-ads-empty {padding:16px;}.as-ads-primary {width:100%!important;}.as-ads-metrics {grid-template-columns:repeat(2,minmax(0,1fr));}.as-ads-prices>div {padding:12px;}}

/* Homepage sponsor cards: compact mobile layout, stable reserved space. */
#as-ads-home-slot {min-height:348px;}
#as-ads-home-slot .as-ads-grid {grid-template-columns:repeat(var(--as-ad-slots,3),minmax(0,1fr));gap:20px;}
#as-ads-home-slot .as-ads-card {display:flex;flex-direction:column;min-height:348px;background:#fff;border:1px solid #e3e8f0;border-radius:18px;box-shadow:0 4px 16px rgba(26,26,46,.045);transition:border-color .18s ease,box-shadow .18s ease;}
#as-ads-home-slot .as-ads-card>img {width:100%;height:180px;min-height:0;object-fit:cover;object-position:center;background:#f2f5fa;}
#as-ads-home-slot .as-ads-card-body {padding:18px 20px 14px;gap:6px;min-width:0;}
#as-ads-home-slot .as-ads-badge {padding:3px 8px;border:0;border-radius:6px;background:#eef3fc;color:#435778;font-size:10px;font-weight:500;line-height:1.6;}
#as-ads-home-slot .as-ads-card h3 {font-size:18px;line-height:1.4;font-weight:600;letter-spacing:-.25px;color:#192338;}
#as-ads-home-slot .as-ads-card p {font-size:13px;line-height:1.5;color:#596579;}
#as-ads-home-slot .as-ads-link {align-items:center;min-height:44px;padding-top:6px;font-size:13px;font-weight:600;line-height:1.5;color:#245ac5;}
#as-ads-home-slot .as-ads-link>span {display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#eef3fc;font-size:18px;}
#as-ads-home-slot .as-ads-card:focus-visible {outline:3px solid #2d66de;outline-offset:4px;}
@media(hover:hover){#as-ads-home-slot .as-ads-card:hover {border-color:#9cb7ec;box-shadow:0 8px 24px rgba(26,54,100,.1);}}
@media(max-width:767px){
 #as-ads-home-slot {min-height:calc(var(--as-ad-slots,3) * 178px + (var(--as-ad-slots,3) - 1) * 12px);}
 #as-ads-home-slot .as-ads-grid {grid-template-columns:minmax(0,1fr);gap:12px;}
 #as-ads-home-slot .as-ads-card {display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:14px;padding:12px;min-height:178px;border-radius:16px;}
 #as-ads-home-slot .as-ads-card:not(:has(>img)) {grid-template-columns:minmax(0,1fr);}
 #as-ads-home-slot .as-ads-card>img {width:108px;height:108px;min-height:0;border-radius:10px;align-self:center;}
 #as-ads-home-slot .as-ads-card-body {padding:0;gap:5px;align-self:stretch;justify-content:center;}
 #as-ads-home-slot .as-ads-card h3 {font-size:15px;line-height:1.4;letter-spacing:-.15px;}
 #as-ads-home-slot .as-ads-card p {font-size:12px;line-height:1.5;}
 #as-ads-home-slot .as-ads-link {margin-top:0;min-height:38px;padding-top:2px;font-size:12px;}
}
@media(max-width:359px){
 #as-ads-home-slot .as-ads-card {grid-template-columns:88px minmax(0,1fr);gap:10px;padding:10px;}
 #as-ads-home-slot .as-ads-card>img {width:88px;height:100px;}
 #as-ads-home-slot .as-ads-card h3 {font-size:14px;}
}
@media(prefers-reduced-motion:reduce){#as-ads-home-slot .as-ads-card {transition:none;}}
