/* Tablet adjust min/max to match your framework's grid */
@media (max-width: 1024px) and (min-width: 768px) {
  .toggle-panel {
    grid-template-columns: 1fr; /* stack image above text instead of side-by-side */
    /* or if it's flex: flex-direction: column; */
  }
  
  .toggle-panel__img {
    background-size: contain;   /* overrides the inline style */
    min-height: 500px;          /* adjust to taste, or use aspect-ratio instead */
  }
  
}