/* Mobile-only styling for image sections - Center images with fixed size and centered text */
@media (max-width: 767px) {
  /* Target the container with the two GIF images */
  div[data-component-theme="portalThemeColor"] .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }
  
  /* Each image column - center and fix width */
  div[data-component-theme="portalThemeColor"] .col-md-6 {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Images - fixed size, maintain aspect ratio, centered */
  div[data-component-theme="portalThemeColor"] .col-md-6 img {
    width: 100% !important;
    height: auto !important;
    max-width: 350px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    display: block !important;
  }
  
  /* Text captions - centered below images */
  div[data-component-theme="portalThemeColor"] .col-md-6 p {
    text-align: center !important;
    margin-top: 15px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    width: 100% !important;
  }
}

/* For very small phones - slightly smaller images */
@media (max-width: 375px) {
  div[data-component-theme="portalThemeColor"] .col-md-6 {
    max-width: 320px !important;
    padding: 15px !important;
  }
  
  div[data-component-theme="portalThemeColor"] .col-md-6 img {
    max-width: 300px !important;
  }
  
  div[data-component-theme="portalThemeColor"] .col-md-6 p {
    font-size: 13px !important;
    margin-top: 12px !important;
  }
}