/* The home page's Programs Card, rebuilt as core blocks (Columns > Group > Image / Heading / Paragraph), keeps the
   classes of Joomla's ja_acm "features-intro" module, so the T3 bundle's .acm-features.style-1 rules style it. These
   rules only undo what the core blocks add around that markup (figure margins, the columns gap) and lay the cards
   out edge to edge in one row, as many in view as the owl carousel showed at that width. */
.acm-features.style-1 .wp-block-columns { gap: 0; margin: 0; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; }
.acm-features.style-1 .wp-block-column { margin: 0; min-width: 0; scroll-snap-align: start; }
.acm-features.style-1 .features-item-inner { overflow: hidden; }
.acm-features.style-1 .features-item-inner > * { margin: 0; }
.acm-features.style-1 figure.features-img { margin: 0; }
.acm-features.style-1 figure.features-img img { display: block; width: 100%; height: auto; }
.acm-features.style-1 .features-content > * { margin-left: 0; margin-right: 0; }
.acm-features.style-1 .features-action { margin: 0; }
/* cards in view at the owl carousel's breakpoints (items 6 / 1439:3 / 979:3 / 768:2 / 479:1); the carousel slid the
   rest in with arrows, the strip scrolls sideways instead (one row, the live page's height) */
.acm-features.style-1 .wp-block-column { flex: 0 0 20% !important; }
@media (max-width: 1439px) { .acm-features.style-1 .wp-block-column { flex-basis: 33.3333% !important; } }
@media (max-width: 768px)  { .acm-features.style-1 .wp-block-column { flex-basis: 50% !important; } }
@media (max-width: 479px)  { .acm-features.style-1 .wp-block-column { flex-basis: 100% !important; } }
