.ib-comparison {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .ib-comparison {
    max-width: 1400px;
  }
}

@media (min-width: 1440px) {
  .ib-comparison {
    max-width: 1600px;
  }
}

.table-wrapper {
  overflow-x: auto;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  vertical-align: top;
}

.responsive-table thead {
  background-color: #f4f4f4;
}

.responsive-table th {
  text-align: left;
  font-weight: 600;
}

/* 📱 Mobile styles */
@media (max-width: 768px) {
  .responsive-table thead {
    display: none;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    margin-bottom: 1.25rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem;
  }

  .responsive-table td {
    border: none;
    padding: 0.5rem 0;
  }

  .responsive-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.25rem;
  }
}
