/* ---------- SOLD on cards ---------- */
a.amp-card.eursold .amp-card-img::after{content:"";position:absolute;inset:0;background:rgba(15,17,21,.38);z-index:1;pointer-events:none}
a.amp-card.eursold .amp-badge{z-index:3}
.eursold-ribbon{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:2;background:rgba(200,16,46,.95);color:#fff;text-align:center;font-weight:800;font-size:15px;letter-spacing:.32em;padding:9px 0 9px .32em;pointer-events:none;box-shadow:0 2px 10px rgba(0,0,0,.25)}
a.amp-card.eursold .amp-card-price{color:#8a8f98;text-decoration:line-through;text-decoration-thickness:1.5px}
a.amp-card.eursold .amp-card-title{color:#6c717a}

/* ---------- SOLD on the ad page ---------- */
body.eursold-page .eurl-stage::before,
body.eursold-page .amp-single-main-img::before{content:"";position:absolute;inset:0;background:rgba(15,17,21,.35);z-index:4;pointer-events:none}
body.eursold-page .eurl-stage::after,
body.eursold-page .amp-single-main-img::after{content:"SOLD";position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:5;background:rgba(200,16,46,.95);color:#fff;text-align:center;font-weight:800;font-size:clamp(26px,6vw,52px);line-height:1;letter-spacing:.32em;padding:.38em 0 .38em .32em;pointer-events:none;box-shadow:0 4px 18px rgba(0,0,0,.3)}
body.eursold-page .amp-single-main-img{position:relative}

body.eursold-page .eurl-price,
body.eursold-page .amp-single-price{color:#8a8f98}
body.eursold-page .eurl-price::after,
body.eursold-page .amp-single-price::after{content:"SOLD";display:inline-block;vertical-align:middle;margin-left:12px;background:#c8102e;color:#fff;font-size:12px;font-weight:800;letter-spacing:.14em;padding:5px 10px;border-radius:999px;line-height:1}

/* contact is switched off for sold items */
body.eursold-page .amp-contact-box > *{display:none!important}
body.eursold-page .amp-contact-box::before{display:block;padding:18px;border-radius:14px;background:#fdecee;color:#a30d23;font-weight:700;line-height:1.4;content:"This item has been sold and is no longer available."}
body.eursold-car .amp-contact-box::before{content:"This vehicle has been sold and is no longer available."}
body.eursold-part .amp-contact-box::before{content:"This part has been sold and is no longer available."}
body.eursold-page [data-eurl-contact],
body.eursold-page .eurl-bar,
body.eursold-page .eurd-msg-seller-btn{display:none!important}

/* owner's header link */
.eurac-toplink{color:#fff!important;font-weight:700;text-decoration:none}
@media (min-width:1001px){.eurac-menu-admin{display:none!important}}
.eur-nav .eurac-menu-admin a{font-weight:700}
