/* =========================================================
   RESPONSIVE TABLES ON MOBILE
   ========================================================= */
@media (max-width: 767px) {

  .et_pb_text table,
  .et_pb_module table,
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table td,
  table th {
    white-space: nowrap;
  }

  table {
    font-size: 0.8rem !important;
  }

  table td,
  table th {
    padding: 6px 8px !important;
    font-size: 0.8rem !important;
  }

  /* Scrollindikator */
  .et_pb_text:has(table)::after {
    content: "⟵ Scrolla sidled för att se hela tabellen ⟶";
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-primary, #e67e22);
    padding: 8px 0;
    font-style: italic;
  }
}