/* Integrations V2 fit rules on top of int-recolour-v2.css (task 3431). README "Phones and tablets": pills wrap centred.
   Ivan's <=767 rule turns the pills into a nowrap side-scroller with a -20px bleed and an edge mask; with the package's centring
   that pushed the first pills off-screen, so on phones the row wraps instead (no mask, no bleed). */
@media (max-width:767px){
  section.ic .ic-pills{flex-wrap:wrap !important;overflow:visible !important;width:100% !important;max-width:100% !important;margin:0 auto !important;padding:0 !important;
    -webkit-mask-image:none !important;mask-image:none !important}
}
/* Module on phones/tablets: README wants 4:3, window centred with >=20px on every side, content never cut, frame locked.
   At 390/320 the window (width 100% - 40px) is taller than a 4:3 frame (bottom cut by up to 85px). So the frame's 4:3 is held by a
   spacer in the shared grid cell (minimum), and the cell grows to the tallest of the 3 items; all items share that cell, so the
   frame keeps one size while switching. 20px top/bottom room; sides come from the package's calc(100% - 40px). */
@media (max-width:1023px){
  .sev__media{aspect-ratio:auto !important;height:auto !important;min-height:0 !important}
  .sev__media::before{content:"";grid-area:1/1;width:100%;padding-top:calc(100% * 446 / 595);pointer-events:none}
  .sev__media .sev__vis{align-self:stretch !important}
  .sev__media figure.av{aspect-ratio:auto !important;height:100% !important;min-height:0 !important;padding:20px 0 !important;box-sizing:border-box}
  .sev__media figure.av::after{content:none !important;display:none !important}
}
