.typ-table-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  max-width: 100%;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.typ-table-block {
  flex: 1 1 240px;        /* základná šírka 240px, ale rastie aj zmenšuje sa */
  max-width: 280px;       /* maximálne 280px */
  min-width: 140px;       /* minimálne 140px */
}

.typ-table-title {
  color: #dab87a;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.typ-table-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #dab87a;
  margin: 10px auto 0;
}

.typ-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
}

.typ-table thead {
  background-color: #fdf8f2;
  color: #6a4e28;
  font-weight: bold;
  text-align: left;
}

.typ-table th,
.typ-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  word-wrap: break-word;
}

/* Hover efekt a pointer */
.typ-table tbody tr {
  cursor: pointer;
}

/* Hover efekt a pointer pre hlavičku tabuľky */
.typ-table thead tr {
  cursor: pointer;
}

.typ-table tbody tr:hover {
  background-color: #f9f4ee;
}

.typ-table tr:last-child td {
  border-bottom: none;
}

/* Responzívne – iba padding, nie font */
@media (max-width: 1200px) {
  .typ-table-title {
    font-size: 18px;
  }

  .typ-table th,
  .typ-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 900px) {
  .typ-table-title {
    font-size: 16px;
  }

  .typ-table th,
  .typ-table td {
    padding: 8px 10px;
  }
}
