.sm-hero-carousel{position:relative;overflow:hidden;border-radius:20px;background:#172d46;color:white;margin:0 0 20px}.sm-hero-slide{display:grid;grid-template-columns:1.3fr 1fr;min-height:275px;background:radial-gradient(ellipse at 80% 20%,#53799666,transparent 60%)}.sm-hero-slide[hidden]{display:none}.sm-hero-copy{padding:30px;align-self:center}.sm-hero-copy>span{color:#ffc28f;font-size:12px;letter-spacing:2px}.sm .sm-hero-copy h1{font-size:clamp(23px,3vw,38px);color:white;margin:8px 0}.sm .sm-hero-copy p{color:#d7e1ea;margin:10px 0 18px;font-size:15px}.sm-hero-copy>a{display:inline-flex;align-items:center;background:#d65a10;color:white!important;border-radius:12px;padding:9px 16px;font-weight:700;min-height:44px}.sm-hero-slide>img{width:100%;height:275px;object-fit:cover;border-radius:45% 0 0 0}.sm-hero-controls{display:flex;justify-content:center;align-items:center;gap:12px;padding:10px;background:#102239}.sm-hero-controls button{border:0;background:#ffffff19;color:white;border-radius:20px;min-width:32px;height:32px;cursor:pointer}.sm-hero-dots{display:flex;gap:5px}.sm-hero-dots button{min-width:18px;width:18px;height:18px;background:transparent;padding:5px}.sm-hero-dots button:before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#8093a8}.sm-hero-dots button[aria-pressed=true]:before{background:#ff8738}.sm-hero-slide.is-entering{animation:hero-fade .5s ease-out}@keyframes hero-fade{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:none}}.sm-managed-ads{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin:16px 0}.sm-managed-slot{display:grid;gap:10px;min-width:0}.sm-managed-slot a{position:relative;display:block;overflow:hidden;border-radius:14px;background:#edf2f6}.sm-managed-slot img{width:100%;height:100%;object-fit:contain}.sm-sponsored-label{position:absolute;top:8px;inset-inline-start:8px;background:#fff;padding:3px 8px;border-radius:5px;font-size:10px}.sm-managed-slot strong{position:absolute;bottom:0;inset-inline:0;background:#142c46dd;color:white;padding:10px}.ad-admin-panel{padding:20px;background:var(--office-card,#fff);border:1px solid #dce3ed;border-radius:18px;margin:16px 0}.ad-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0}.ad-form label{display:flex;flex-direction:column;gap:6px;font-size:14px}.ad-form input:not([type=checkbox]),.ad-form select{width:100%;min-width:0;padding:10px;border:1px solid #dce3ed;border-radius:9px;font:inherit;background:#fff;color:#192d48}.ad-form .ad-check{flex-direction:row;align-items:center}.ad-check input{width:18px;height:18px}.ad-full{grid-column:1/-1;font-size:13px}.ad-slot-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ad-slot-list>a{display:flex;flex-direction:column;gap:7px;border:1px solid #dce3ed;padding:14px;border-radius:12px;text-decoration:none;color:inherit}.ad-slot-list span,.ad-slot-list small{font-size:12px}.ad-campaign-editor{padding:12px;border:1px solid #dce3ed;border-radius:12px;margin:10px 0}.ad-campaign-editor summary,.ad-admin-panel>summary{cursor:pointer;font-weight:700}.ad-danger{color:#a63020;margin-top:15px}.ad-danger summary{cursor:pointer}.ad-danger p{font-size:13px}@media(max-width:700px){.sm-hero-slide{grid-template-columns:1.2fr 1fr;min-height:240px}.sm-hero-copy{padding:17px}.sm .sm-hero-copy h1{font-size:24px}.sm .sm-hero-copy p{font-size:12px;line-height:1.7}.sm-hero-slide>img{height:100%;min-height:240px;object-fit:cover}.sm-hero-controls{gap:6px}.sm-hero-dots{gap:1px}.sm-managed-ads{grid-template-columns:1fr}.ad-slot-list{grid-template-columns:1fr}.ad-form{grid-template-columns:1fr}.ad-admin-panel{padding:14px}}@media(prefers-reduced-motion:reduce){.sm-hero-slide.is-entering{animation:none}}
/* Original campaign photography in a compact bilingual banner. */
.sm-hero-slide{grid-template-columns:1fr 1.15fr;min-height:210px;background:#172d46}
.sm-hero-copy{padding:20px 24px;min-width:0}.sm-hero-copy>span{font-size:10px;letter-spacing:1.5px}.sm .sm-hero-copy h1{font-size:clamp(22px,2.5vw,30px);line-height:1.45;margin:6px 0 10px}.sm .sm-hero-copy p{font-size:13px;line-height:1.6;margin:0 0 12px}
.sm-hero-slide>img{height:210px;min-height:0;border-radius:0;object-fit:cover;object-position:center}
.sm-hero-copy>a{font-size:13px;min-height:40px;padding:7px 12px;gap:7px;border-radius:10px;background:#d85b0d;box-shadow:inset 0 1px 0 #ffffff30}
.sm-hero-copy>a svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sm[dir=rtl] .sm-hero-copy>a svg{transform:rotate(180deg)}
.sm-hero-controls{height:36px;padding:0 8px;gap:5px}.sm-hero-controls button{height:30px;min-width:30px;border-radius:8px}.sm-hero-dots{gap:0}.sm-hero-dots button{height:30px;width:20px;min-width:20px;padding:7px}.sm-hero-dots button:before{width:6px;height:6px}.sm-hero-dots button[aria-pressed=true]:before{background:#ff8738}
@media(max-width:700px){.sm-hero-carousel{border-radius:16px;margin-bottom:14px}.sm-hero-slide{grid-template-columns:1fr 1fr;min-height:140px}.sm-hero-copy{padding:12px}.sm-hero-copy>span{display:none}.sm .sm-hero-copy h1{font-size:18px;line-height:1.45;margin:0 0 10px}.sm .sm-hero-copy p{display:none}.sm-hero-slide>img{height:100%;min-height:140px;max-height:180px;object-fit:cover}.sm-hero-copy>a{min-height:36px;font-size:12px;padding:6px 10px}.sm-hero-controls{height:34px}.sm-hero-controls button{height:30px}.sm-hero-dots button{width:18px;min-width:18px;padding:6px}}
@media(max-width:700px){.sm-hero-slide>img{height:140px;min-height:140px;max-height:140px}}

/* Feather campaign artwork into the navy canvas instead of a hard image edge. */
.sm-hero-slide>img{--hero-edge:to right;-webkit-mask-image:linear-gradient(var(--hero-edge),transparent 0%,rgba(0,0,0,.12) 8%,rgba(0,0,0,.65) 23%,#000 42%),linear-gradient(to bottom,#000 76%,transparent 100%);mask-image:linear-gradient(var(--hero-edge),transparent 0%,rgba(0,0,0,.12) 8%,rgba(0,0,0,.65) 23%,#000 42%),linear-gradient(to bottom,#000 76%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect;border:0;box-shadow:none}
.sm[dir=rtl] .sm-hero-slide>img{--hero-edge:to left}
.sm-hero-controls{background:#172d46}

/* Modern Arabic editorial hierarchy, scoped to promotional banners. */
@font-face{font-family:Sale4meHeroCairo;src:url('/saleh_marketplace/static/src/fonts/Cairo.woff2') format('woff2');font-style:normal;font-weight:200 1000;font-display:swap}
.sm[dir=rtl] .sm-hero-copy,.sm[dir=rtl] .sm-hero-copy h1,.sm[dir=rtl] .sm-hero-copy p,.sm[dir=rtl] .sm-hero-copy>a{font-family:Sale4meHeroCairo,Arial,sans-serif!important;letter-spacing:0}
.sm .sm-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.sm .sm-hero-copy .sm-hero-domain{display:block;font-family:Arial,sans-serif!important;font-size:12px;font-weight:600;letter-spacing:.8px;color:#ffc59b;line-height:1.2}
.sm .sm-hero-copy h1{font-size:clamp(24px,2.6vw,34px);font-weight:800;line-height:1.4;margin:0;letter-spacing:0;text-wrap:balance}
.sm .sm-hero-copy p{display:block;font-size:13px;font-weight:400;line-height:1.65;color:#d3dee8;margin:0;max-width:38ch}
.sm .sm-hero-copy>a{margin-top:2px;font-size:12px;min-height:36px;padding:6px 12px}
@media(max-width:700px){
.sm .sm-hero-copy{padding:8px 11px;gap:3px;align-self:center}
.sm .sm-hero-copy .sm-hero-domain{font-size:9px;line-height:11px;letter-spacing:.5px}
.sm .sm-hero-copy h1{font-size:18px;line-height:1.35;font-weight:800;margin:0}
.sm .sm-hero-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:10px;line-height:1.5;margin:0;color:#d0dde8}
.sm .sm-hero-copy>a{min-height:28px;padding:4px 9px;font-size:10px;line-height:1.5;border-radius:8px;gap:5px;margin-top:2px}
.sm .sm-hero-copy>a svg{width:13px;height:13px}
}

@media(max-width:700px){.sm-hero-slide{min-height:145px}.sm-hero-slide>img{height:145px;min-height:145px;max-height:145px}}


/* One overlapping composition: artwork extends beneath the copy. */
.sm-hero-slide{position:relative;display:flex;align-items:center;overflow:hidden;isolation:isolate}
.sm-hero-slide[hidden]{display:none}
.sm .sm-hero-copy{position:relative;z-index:1;width:53%;min-height:210px;justify-content:center;text-shadow:0 2px 9px #10223980}
.sm-hero-slide>img{position:absolute;z-index:0;inset-inline-end:0;top:0;width:73%;height:100%;min-height:100%;max-height:none;object-fit:cover;object-position:center;pointer-events:none;-webkit-mask-image:linear-gradient(var(--hero-edge),transparent 0%,rgba(0,0,0,.18) 17%,rgba(0,0,0,.78) 42%,#000 61%),linear-gradient(to bottom,#000 87%,transparent 100%);mask-image:linear-gradient(var(--hero-edge),transparent 0%,rgba(0,0,0,.18) 17%,rgba(0,0,0,.78) 42%,#000 61%),linear-gradient(to bottom,#000 87%,transparent 100%)}
@media(max-width:700px){.sm .sm-hero-copy{width:54%;min-height:145px;padding:8px 11px;gap:3px}.sm-hero-slide>img{width:76%;height:165px;min-height:165px;max-height:none;top:-10px;inset-inline-end:-3%;object-position:center}.sm .sm-hero-copy h1{font-size:18px}.sm .sm-hero-copy p{color:#e0e8ef}}
/* Full image banners: the artwork carries its own text; letterbox bars match its outer brand colors */
.sm-hero-slide.sm-hero-slide-full{display:block;padding:0;min-height:0;background:linear-gradient(90deg,#03204a 50%,#f2702b 50%)}
.sm-hero-slide.sm-hero-slide-full[hidden]{display:none}
.sm-hero-full{display:block;height:210px}
.sm-hero-full picture{display:block;width:100%;height:100%}
.sm-hero-full img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;-webkit-mask-image:none;mask-image:none}
@media(max-width:700px){.sm-hero-full{height:145px}.sm-hero-slide.sm-hero-slide-full{background:linear-gradient(90deg,#f2702b 50%,#03204a 50%)}}
