/* Tables fix — warehouse racks pages */
.section-content-text table {
  border-collapse: separate;
  border-spacing: 12px 4px;
  width: 100%;
  border: none;
  table-layout: auto;
}
.section-content-text table tr:first-child td {
  width: 33.33%;
  border: none;
  padding: 0;
  vertical-align: top;
  background: #fff;
}
.section-content-text table tr:first-child td h3 {
  background: #f5c518;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  margin: 0 0 12px 0;
  line-height: 1.4;
}
.section-content-text table tr:first-child td p {
  padding: 0 12px 12px;
  margin: 0;
  font-size: 13px;
  color: #444;
}
.section-content-text table tr:last-child td {
  width: 33.33%;
  border: none;
  padding: 0;
  overflow: hidden;
}
.section-content-text table tr:last-child img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.section-content-text p:empty {
  display: none;
}

/* Прибрати порожній параграф між таблицями */
.section-content-text table + p {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Відступ між таблицями */
.section-content-text table ~ table {
  margin-top: 16px;
}

/* Мобільний вигляд таблиць */
@media (max-width: 768px) {
  .section-content-text table,
  .section-content-text table tbody,
  .section-content-text table tr,
  .section-content-text table td {
    display: block;
    width: 100% !important;
  }

  .section-content-text table {
    border-spacing: 0;
    margin-left: 0;
  }

  .section-content-text table tr:first-child td {
    margin-bottom: 16px;
    border: none;
  }

  .section-content-text table tr:first-child td h3 {
    font-size: 14px;
  }

  .section-content-text table tr:last-child td {
    margin-bottom: 4px;
  }

  .section-content-text table tr:last-child img {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .section-content-text table ~ table {
    margin-top: 8px;
  }
}

/* Mobile table cards */
@media (max-width: 768px) {
  .table-cards {
    width: 100%;
  }
  .table-card {
    margin-bottom: 28px;
  }
  .table-card__title {
    background: #f5c518;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 14px;
    line-height: 1.4;
  }
  .table-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  .table-card__text {
    padding: 10px 0 0;
    margin: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
  }
}

.table-card {
  margin-bottom: 28px;
}
.table-card__title {
  background: #f5c518;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  line-height: 1.4;
  display: block;
}
.table-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.table-card__text {
  padding: 10px 0 0;
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}
