/* Piè di pagina: marchio, info e app in alto; fascia partner a tutta larghezza; note legali in fondo.
   Vale per le pagine PHP e per l'app (classe rc-foot-mk). Caricato dopo index-rcup-app.v2.css. */
footer.site-foot.rc-foot-mk{--ft-line:rgba(255,255,255,.09)}
footer.site-foot.rc-foot-mk .foot-promos:not(:has(.foot-promo-col)){display:none !important}
footer.site-foot.rc-foot-mk .foot-in,
footer.site-foot.rc-foot-mk .wrap.foot-in{gap:0 !important;padding-top:40px !important;padding-bottom:26px !important}
footer.site-foot.rc-foot-mk .foot-top{display:grid !important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.1fr) !important;gap:30px 56px !important;align-items:start !important;margin:0 !important;padding:0 !important}
footer.site-foot.rc-foot-mk .foot-brand,
footer.site-foot.rc-foot-mk .fcol,
footer.site-foot.rc-foot-mk .foot-promo-col{margin:0 !important;padding:0 !important;border:0 !important;min-width:0;max-width:none !important}

/* Marchio */
footer.site-foot.rc-foot-mk .foot-brand{display:flex !important;flex-direction:column !important;align-items:flex-start !important;gap:10px !important}
footer.site-foot.rc-foot-mk .foot-brand .foot-logo{margin:0 !important}
footer.site-foot.rc-foot-mk .slogan{margin:0 !important}
footer.site-foot.rc-foot-mk .fdesc{order:1;margin:0 !important;max-width:40ch !important}
footer.site-foot.rc-foot-mk .foot-social{order:2;margin:4px 0 0 !important;gap:10px !important;flex-wrap:nowrap !important}

/* Titoletti tutti uguali */
footer.site-foot.rc-foot-mk .fcol h4,
footer.site-foot.rc-foot-mk .foot-promo-label,
footer.site-foot.rc-foot-mk .foot-patron-label,
footer.site-foot.rc-foot-mk .foot-reseller-label{display:block;margin:0 0 12px !important;padding:0 !important;font-family:var(--sans,inherit) !important;font-size:11px !important;font-weight:700 !important;letter-spacing:.16em !important;line-height:1.3 !important;text-transform:uppercase !important;color:#8593A6 !important}

/* Info: due colonne di voci */
footer.site-foot.rc-foot-mk .flist{display:grid !important;grid-template-columns:repeat(2,max-content) !important;gap:0 36px !important;margin-top:-6px !important}
footer.site-foot.rc-foot-mk .flist a{display:block;padding:6px 0 !important;line-height:1.35 !important}

/* App partner: icona accanto al testo, tasti in fila */
footer.site-foot.rc-foot-mk .partner{display:flex !important;flex-wrap:nowrap !important;align-items:flex-start !important;gap:14px !important;padding:0 !important}
footer.site-foot.rc-foot-mk .partner .pico{flex:none !important;display:block !important;line-height:0 !important}
footer.site-foot.rc-foot-mk .partner .pico img{display:block !important;margin:0 !important}
footer.site-foot.rc-foot-mk .partner>div{min-width:0;flex:1}
footer.site-foot.rc-foot-mk .stores{display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;gap:8px !important;margin:12px 0 0 !important}
footer.site-foot.rc-foot-mk .store{width:auto !important}

/* Fascia partner: quattro riquadri identici */
footer.site-foot.rc-foot-mk .foot-top>.foot-promo-col:last-child{grid-column:1 / -1 !important;width:100% !important}
footer.site-foot.rc-foot-mk .foot-sponsor-stack{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;grid-template-rows:auto 88px !important;gap:10px 14px !important;width:100% !important;max-width:none !important;margin:0 !important;padding:26px 0 0 !important;border-top:1px solid var(--ft-line) !important}
footer.site-foot.rc-foot-mk .foot-patron,
footer.site-foot.rc-foot-mk .foot-reseller{display:contents !important}
footer.site-foot.rc-foot-mk .foot-sponsor-stack>h4,
footer.site-foot.rc-foot-mk .foot-sponsor-stack>.foot-promo-label,
footer.site-foot.rc-foot-mk .foot-patron-label,
footer.site-foot.rc-foot-mk .foot-reseller-label{margin:0 !important;align-self:end}
footer.site-foot.rc-foot-mk .foot-patron-label{grid-area:1 / 1}
footer.site-foot.rc-foot-mk .foot-sponsor-stack>h4,
footer.site-foot.rc-foot-mk .foot-sponsor-stack>.foot-promo-label{grid-area:1 / 2 / 2 / 4}
footer.site-foot.rc-foot-mk .foot-reseller-label{grid-area:1 / 4}
footer.site-foot.rc-foot-mk .foot-sponsor-stack a{display:flex !important;align-items:center !important;justify-content:center !important;min-width:0;height:100% !important;margin:0 !important;padding:12px 18px !important;border:1px solid var(--ft-line) !important;border-radius:14px !important;background:rgba(255,255,255,.035) !important;box-shadow:none !important;line-height:0;transition:border-color .2s ease,background-color .2s ease}
footer.site-foot.rc-foot-mk .foot-sponsor-stack a:hover{transform:none !important;border-color:rgba(255,255,255,.24) !important;background:rgba(255,255,255,.065) !important}
footer.site-foot.rc-foot-mk .foot-sponsor-stack a:focus-visible{outline:2px solid #38E8FF;outline-offset:3px}
footer.site-foot.rc-foot-mk .foot-patron-link{grid-area:2 / 1}
footer.site-foot.rc-foot-mk .foot-sponsor-stack a.foot-promo-row{grid-row:2}
footer.site-foot.rc-foot-mk .foot-sponsor-stack h4 ~ a.foot-promo-row,
footer.site-foot.rc-foot-mk .foot-sponsor-stack .foot-promo-label ~ a.foot-promo-row{grid-column:2}
footer.site-foot.rc-foot-mk .foot-sponsor-stack a.foot-promo-row ~ a.foot-promo-row{grid-column:3}
footer.site-foot.rc-foot-mk .foot-reseller-link{grid-area:2 / 4}
footer.site-foot.rc-foot-mk .foot-sponsor-stack picture{display:flex;justify-content:center;width:100%;min-width:0}
footer.site-foot.rc-foot-mk .foot-sponsor-stack img{display:block !important;width:auto !important;height:auto !important;max-width:100% !important;margin:0 auto !important;border-radius:0 !important;object-fit:contain !important}
footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-patron-logo{width:min(168px,100%) !important;max-height:none !important}
footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-abex-logo{width:min(176px,100%) !important;max-height:none !important}
footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-marka-logo{width:min(176px,100%) !important;max-height:none !important}
footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-reseller-logo{width:min(112px,100%) !important;max-height:none !important}

/* Note in fondo */
footer.site-foot.rc-foot-mk .foot-bottom{display:block !important;margin:26px 0 0 !important;padding:18px 0 0 !important;border-top:1px solid var(--ft-line) !important}
footer.site-foot.rc-foot-mk .foot-bottom .foot-legal{max-width:none !important;margin:0 !important;padding:0 0 14px !important;border:0 !important}
footer.site-foot.rc-foot-mk .rc-credits-row{display:flex !important;flex-wrap:wrap !important;justify-content:space-between !important;gap:6px 28px !important;margin:0 !important;padding:0 !important;border:0 !important}
footer.site-foot.rc-foot-mk .rc-credits-row p{margin:0 !important}

@media (max-width:1180px){
  footer.site-foot.rc-foot-mk .foot-top{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 312px !important;gap:30px 32px !important}
}
@media (max-width:980px){
  footer.site-foot.rc-foot-mk .foot-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:28px 32px !important}
  footer.site-foot.rc-foot-mk .foot-top>.foot-promo-col:not(:last-child){grid-column:1 / -1 !important}
  footer.site-foot.rc-foot-mk .partner{align-items:center !important}
  footer.site-foot.rc-foot-mk .partner>div{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:20px}
  footer.site-foot.rc-foot-mk .partner .pn,
  footer.site-foot.rc-foot-mk .partner .pd{grid-column:1}
  footer.site-foot.rc-foot-mk .stores{grid-column:2;grid-row:1 / 3;margin:0 !important}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack a{padding:10px 14px !important}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack{gap:10px !important}
  footer.site-foot.rc-foot-mk .foot-patron-label,
  footer.site-foot.rc-foot-mk .foot-reseller-label{letter-spacing:.06em !important}
}
@media (max-width:640px){
  footer.site-foot.rc-foot-mk .foot-in,
  footer.site-foot.rc-foot-mk .wrap.foot-in{padding-top:30px !important;padding-bottom:20px !important}
  footer.site-foot.rc-foot-mk .foot-top{grid-template-columns:minmax(0,1fr) !important;gap:22px !important}
  footer.site-foot.rc-foot-mk .fcol h4,
  footer.site-foot.rc-foot-mk .foot-promo-label,
  footer.site-foot.rc-foot-mk .foot-patron-label,
  footer.site-foot.rc-foot-mk .foot-reseller-label{font-size:10px !important;letter-spacing:.13em !important;margin-bottom:8px !important}
  footer.site-foot.rc-foot-mk .fdesc{max-width:none !important}
  footer.site-foot.rc-foot-mk .foot-brand{display:grid !important;grid-template-columns:1fr auto !important;align-items:center !important;gap:10px 12px !important}
  footer.site-foot.rc-foot-mk .foot-brand>a{grid-area:1 / 1}
  footer.site-foot.rc-foot-mk .foot-social{grid-area:1 / 2;margin:0 !important;gap:8px !important}
  footer.site-foot.rc-foot-mk .slogan,
  footer.site-foot.rc-foot-mk .fdesc{grid-column:1 / -1}
  footer.site-foot.rc-foot-mk .foot-info-col{padding-top:20px !important;border-top:1px solid var(--ft-line) !important}
  footer.site-foot.rc-foot-mk .flist{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:0 14px !important}
  footer.site-foot.rc-foot-mk .flist a{padding:9px 0 !important;font-size:13px !important}
  footer.site-foot.rc-foot-mk .foot-top>.foot-promo-col:not(:last-child){padding-top:20px !important;border-top:1px solid var(--ft-line) !important}
  footer.site-foot.rc-foot-mk .partner{align-items:flex-start !important;gap:12px !important}
  footer.site-foot.rc-foot-mk .partner>div{display:block}
  footer.site-foot.rc-foot-mk .stores{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;width:calc(100% + 58px) !important;max-width:none !important;margin:12px 0 0 -58px !important}
  footer.site-foot.rc-foot-mk .store{justify-content:center !important;min-height:44px;padding-left:10px !important;padding-right:10px !important}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack{grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-template-rows:auto 76px auto 76px !important;gap:8px 10px !important;padding-top:20px !important}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack>h4,
  footer.site-foot.rc-foot-mk .foot-sponsor-stack>.foot-promo-label{grid-area:3 / 1 / 4 / 3;margin-top:8px !important}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack a.foot-promo-row{grid-row:4}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack h4 ~ a.foot-promo-row,
  footer.site-foot.rc-foot-mk .foot-sponsor-stack .foot-promo-label ~ a.foot-promo-row{grid-column:1}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack a.foot-promo-row ~ a.foot-promo-row{grid-column:2}
  footer.site-foot.rc-foot-mk .foot-reseller-label{grid-area:1 / 2}
  footer.site-foot.rc-foot-mk .foot-reseller-link{grid-area:2 / 2}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-patron-logo,
  footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-abex-logo,
  footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-marka-logo{width:min(138px,100%) !important}
  footer.site-foot.rc-foot-mk .foot-sponsor-stack img.foot-reseller-logo{width:min(92px,100%) !important}
  footer.site-foot.rc-foot-mk .foot-bottom{margin-top:20px !important}
  footer.site-foot.rc-foot-mk .rc-credits-row{flex-direction:column !important;gap:6px !important}
}
@media (max-width:360px){
  footer.site-foot.rc-foot-mk .foot-patron-label,
  footer.site-foot.rc-foot-mk .foot-reseller-label{letter-spacing:.02em !important}
}
