/* XMS v1.4.25 — editable responsive columns for the homepage Highlights icons.
   Values are validated integers stored per section in the WordPress editor. */
body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stats {
  display: grid !important;
  grid-template-columns: repeat(var(--xms-stats-desktop-columns, 4), minmax(0, 1fr)) !important;
}
body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stat {
  min-width: 0 !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stats {
    grid-template-columns: repeat(var(--xms-stats-tablet-columns, 4), minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stats {
    grid-template-columns: repeat(var(--xms-stats-mobile-columns, 2), minmax(0, 1fr)) !important;
    gap: clamp(8px, 2vw, 14px) !important;
  }
  body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stat-icon {
    width: min(110px, 100%) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    max-width: 100% !important;
  }
  body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stat-icon img,
  body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stat-icon .xms-icon-upload,
  body.xms-theme.xms-home-study .xms-main > .xms-section-study_stats .xms-study-stat-icon svg {
    width: min(100px, 100%) !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
  }
}
