/* UG_MOBILE_FOOTER_V2: shared, scoped presentation overrides. */
/* Preserve existing line art, increase contrast on the white footer only. */
#site-footer .site-footer-watermark { opacity: .55 !important; }
/* Real SVG arrows, with inherited foreground color and original direction. */
#service-template .service-page .sp-button svg.ug-button-arrow {
  display:inline-block !important; width:1em !important; height:1em !important;
  flex:0 0 1em !important; vertical-align:middle; color:inherit;
}
/* The tariff layout must also switch on 428/430 CSS-pixel phones. */
@media (max-width:767px) {
  #service-template #service-trademark .sp-tariffs {
    display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    grid-auto-flow:row !important; align-items:start !important;
  }
  #service-template #service-trademark .sp-tariffs > .sp-tariff {
    grid-column:1 / -1 !important; width:100% !important; min-width:0 !important;
    max-width:none !important; order:0 !important; height:auto !important;
    padding:1.25rem !important;
  }
  #service-template #service-trademark .sp-tariff > p {min-height:0 !important;}
  #service-template #service-trademark .sp-tariff .sp-button {
    justify-content:space-between !important; width:100% !important;
  }
  /* Keep interior dividers; never put a vertical line outside the left column.
     Exclude the deliberately framed swipe cards in the challenge carousel. */
  #service-template :is(#service-trademark,#service-accelerated,#service-refusal,#service-challenge,#service-trois) .sp-benefits:not([data-challenge-benefits-track]) > .sp-benefit:nth-child(odd) {
    border-left:0 !important; padding-left:0 !important;
  }
  /* Main page only: mobile footer content and social icons centered. */
  #ug-home-footer {text-align:center !important;}
  #ug-home-footer > [class~="grid"] {
    grid-template-columns:minmax(0,1fr) !important; justify-items:center !important;
    text-align:center !important;
  }
  #ug-home-footer > [class~="grid"] > div {width:100%; min-width:0; text-align:center !important;}
  #ug-home-footer > [class~="grid"] > div > p {margin-inline:auto !important;}
  #ug-home-footer > [class~="grid"] [class~="flex"][class~="items-center"] {justify-content:center !important;}
  #ug-home-footer > [class~="flex"][class~="justify-between"] {
    flex-direction:column !important; align-items:center !important; justify-content:center !important;
    text-align:center !important;
  }
  #ug-home-footer > [class~="flex"][class~="justify-between"] > div {
    flex-direction:column !important; align-items:center !important; justify-content:center !important;
    gap:.65rem !important; text-align:center !important;
  }
  #ug-home-footer > [class~="flex"][class~="justify-between"] > div > span[class~="text-black/20"] {display:none !important;}
}
