/* ===================== Africa Telerad — responsive ===================== */
img, iframe { max-width: 100%; }
/* Let touches that start on an image scroll the page (fixes mobile scroll hang) */
img { touch-action: pan-y; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; -webkit-user-select: none; }
a img { pointer-events: none; }
@media (max-width: 1024px) { html, body { overflow-x: hidden; max-width: 100%; } }
@media (max-width: 900px) { [data-parallax] { will-change: auto !important; transform: none !important; } }

/* ---- Content grids: 2-up on tablet, 1-up on mobile ---- */
@media (min-width: 641px) and (max-width: 1024px) {
  [style*="grid-template-columns:repeat(4"], [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(3"], [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  [style*="display:grid"], [style*="display: grid"] { grid-template-columns: 1fr !important; gap: 22px !important; }
}

/* ---- No sticky on mobile ---- */
@media (max-width: 640px) {
  [style*="position:sticky"], [style*="position: sticky"] { position: static !important; top: auto !important; }
}

/* ---- Title / heading sizing on tablet + mobile ---- */
@media (min-width: 641px) and (max-width: 1024px) {
  [style*="font-size:54px"] { font-size: 40px !important; }
  [style*="font-size:44px"] { font-size: 33px !important; }
  [style*="font-size:40px"] { font-size: 30px !important; }
  [style*="font-size:38px"] { font-size: 28px !important; }
  [style*="font-size:36px"] { font-size: 27px !important; }
  [style*="font-size:34px"] { font-size: 26px !important; }
}
@media (max-width: 640px) {
  [style*="font-size:54px"] { font-size: 31px !important; }
  [style*="font-size:44px"] { font-size: 26px !important; }
  [style*="font-size:40px"] { font-size: 25px !important; }
  [style*="font-size:38px"] { font-size: 23px !important; }
  [style*="font-size:36px"] { font-size: 22px !important; }
  [style*="font-size:34px"] { font-size: 22px !important; }
}

/* ---- Trim tall vertical padding on tablet + mobile ---- */
@media (max-width: 1024px) {
  [style*="padding:132px 0"] { padding: 54px 0 !important; }
  [style*="padding:112px 0"] { padding: 50px 0 !important; }
  [style*="padding:96px 0"], [style*="padding: 96px 0"] { padding: 46px 0 !important; }
  [style*="padding:90px 0"] { padding: 44px 0 !important; }
  [style*="padding:88px 0"] { padding: 44px 0 !important; }
  [style*="padding:84px 0"] { padding: 42px 0 !important; }
  [style*="padding:76px 0 90px"] { padding: 40px 0 48px !important; }
  [style*="padding:76px 0 66px"] { padding: 38px 0 42px !important; }
  [style*="padding:60px 0 66px"] { padding: 34px 0 38px !important; }
}

/* ---- Visibility helpers ---- */
@media (max-width: 640px) { .mob-hide { display: none !important; } }
@media (max-width: 1024px) { .tab-hide { display: none !important; } }

/* ---- Inner-page sidebar: drop the "other services/benefits" switcher on mobile ---- */
@media (max-width: 640px) {
  aside[style*="position:sticky"] > div:first-child,
  aside[style*="position: sticky"] > div:first-child { display: none !important; }
}

/* ---- Page-title (blue hero) band: shrink height + font on tablet/mobile ---- */
@media (min-width: 641px) and (max-width: 1024px) {
  [style*="linear-gradient(115deg,var(--at-blue-deep) 0%,var(--at-blue) 72%)"] { padding-top: 32px !important; padding-bottom: 34px !important; }
  [style*="linear-gradient(115deg,var(--at-blue-deep) 0%,var(--at-blue) 72%)"] h1 { font-size: 30px !important; line-height: 1.15 !important; }
}
@media (max-width: 640px) {
  [style*="linear-gradient(115deg,var(--at-blue-deep) 0%,var(--at-blue) 72%)"] { padding-top: 16px !important; padding-bottom: 18px !important; }
  [style*="linear-gradient(115deg,var(--at-blue-deep) 0%,var(--at-blue) 72%)"] h1 { font-size: 21px !important; line-height: 1.16 !important; }
  [style*="linear-gradient(115deg,var(--at-blue-deep) 0%,var(--at-blue) 72%)"] nav { margin-bottom: 12px !important; font-size: 12.5px !important; }
}
