/* Keep consent choices intact; compact the mobile arrangement, not the text. */
@media(max-width:768px){
  .mv-privacy-consent-banner{padding:12px 16px calc(12px + env(safe-area-inset-bottom));}
  .mv-privacy-consent-banner .mv-consent-content{gap:8px;}
  .mv-privacy-consent-banner .mv-consent-text{font-size:14px;line-height:1.45;}
  .mv-privacy-consent-banner .mv-consent-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 16px;}
  .mv-privacy-consent-banner .mv-consent-btn{width:auto;min-width:88px;min-height:44px;padding:8px 18px;}
  .mv-privacy-consent-banner .mv-consent-link{display:inline-flex;align-items:center;min-height:44px;}
}
/* All touch targets remain usable, including the floating accessibility toggle. */
#mv-accessibility-widget .mv-a11y-button{min-width:44px;min-height:44px;}
#hadi-product-development-external-rnd{scroll-margin-top:120px;}
/* The medical gallery currently contains two distinct projects. */
@media(min-width:768px){
  #hadi-product-development .hadi-pd__photo-grid--medical{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:767px){#hadi-product-development-external-rnd{scroll-margin-top:100px;}}
/* Give the three capabilities the full tablet width, instead of narrow columns. */
@media(min-width:768px) and (max-width:1024px){
  #hadi-product-development #hadi-product-development-external-rnd .hadi-pd__external-rnd-layout{grid-template-columns:1fr;gap:32px;}
  #hadi-product-development #hadi-product-development-external-rnd h2{max-width:none;}
}

/* Remove the three decorative top lines in the Hebrew external R&D section. */
body.page-id-59715 #hadi-product-development-external-rnd .hadi-pd__advantage{border-top:0;}
