/* Rilayer — banner Polyloupe e slot Pubblicità (J4) */
.sp-banner { margin: 56px 4vw 0; }
.sp-inner {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 30px 32px 20px; position: relative;
  background: rgba(13,13,19,.92); border: 1px solid rgba(255,255,255,.22); color: #e5e7eb; font-family: 'Rajdhani', sans-serif;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.sp-view { position: relative; border: 1px solid rgba(255,255,255,.22); background: #050505 linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 100% 20px; padding: 22px 8px 8px; }
.sp-vl { position: absolute; top: 6px; left: 8px; font: 700 9px/1 'Orbitron', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #9ca3af; }
.sp-gz { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; }
.sp-mesh { width: 100%; height: auto; display: block; }
.sp-by { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font: italic 400 14px/1.2 'Rajdhani', sans-serif; color: #9ca3af; }
.sp-inner::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #8a2387, #e94057, #f27121); }
.sp-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sp-tag, .sp-ad-label { font: 700 10px/1 'Orbitron', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #9ca3af; }
.sp-banner h2 { margin: 0; font: 800 26px/1.1 'Orbitron', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #e5e7eb; }
.sp-lead { margin: 0; font-size: 18px; line-height: 1.4; color: #e5e7eb; max-width: 60ch; }
.sp-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; color: #9ca3af; }
.sp-list li { display: flex; align-items: center; gap: 8px; }
.sp-list li::before { content: ''; width: 6px; height: 6px; border: 1px solid #9ca3af; transform: rotate(45deg); }
.sp-actions { display: flex; flex-direction: column; gap: 12px; min-width: 210px; }
.sp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; text-decoration: none; cursor: pointer;
  font: 800 12px/1 'Orbitron', sans-serif; letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: filter .16s ease-out, background .16s ease-out, border-color .16s ease-out;
}
.sp-primary { background: linear-gradient(90deg, #8a2387, #e94057, #f27121); color: #fff; }
.sp-primary:hover { filter: brightness(1.12); }
.sp-ghost { background: rgba(255,255,255,.04); color: #e5e7eb; border-color: rgba(255,255,255,.18); }
.sp-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.sp-btn:focus-visible, .sp-ad-cta:focus-visible, .sp-ad-link:focus-visible { outline: 2px solid #f27121; outline-offset: 3px; }

/* Slot laterali della home */
:root body .h5-ad-slot[data-ad] {
  border: 1px solid rgba(255,255,255,.1); border-radius: 0; background: rgba(13,13,19,.92); padding: 18px 16px; gap: 14px; justify-content: flex-start;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
:root body .h5-ad-slot[data-ad] > .sp-ad-label { font: 700 10px/1 'Orbitron', sans-serif; letter-spacing: .22em; color: #9ca3af; }
.sp-ad-body { display: flex; flex-direction: column; gap: 10px; }
:root body .h5-ad-slot[data-ad] strong { font: 700 14px/1.3 'Orbitron', sans-serif; letter-spacing: .1em; text-transform: uppercase; margin: 0; color: #e5e7eb; }
:root body .h5-ad-slot[data-ad] p { font-size: 16px; line-height: 1.4; color: #9ca3af; margin: 0; }
.sp-ad-cta { font: 600 11.5px/1.3 ui-monospace, 'SFMono-Regular', Menlo, monospace; color: #f27121; text-decoration: none; }
.sp-ad-cta:hover { text-decoration: underline; }
.sp-ad-link { display: block; } .sp-ad-link img { display: block; width: 100%; height: auto; }

@media (max-width: 1099px) {
  :root body .h5-category-layout { grid-template-columns: minmax(0, 1fr); }
  :root body .h5-ad-slot { display: none; }
}
@media (max-width: 900px) {
  .sp-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px; }
  .sp-view { max-width: 200px; }
  .sp-actions { min-width: 0; }
}
@media (max-width: 420px) { .sp-banner { margin: 40px 12px 0; } .sp-banner h2 { font-size: 22px; } }
