/* Tables inside Joomla article content. Header, footer and supplier iframes are untouched. */
.u-post-content .tt-table-scroll {
  max-width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #eadfe2;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(58, 28, 39, .07);
}

.u-post-content .tt-table-scroll:focus-visible {
  outline: 3px solid #b3194c;
  outline-offset: 3px;
}

.u-post-content .tt-table-scroll > table {
  width: 100% !important;
  min-width: 630px;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  background: #fff !important;
  color: #2c2930;
  font-size: 16px;
  line-height: 1.45;
}

.u-post-content .tt-table-scroll > table th,
.u-post-content .tt-table-scroll > table td {
  box-sizing: border-box;
  width: auto !important;
  min-width: 70px;
  height: auto !important;
  padding: 13px 15px !important;
  border: 0 !important;
  border-bottom: 1px solid #f0e8eb !important;
  background: transparent !important;
  color: inherit !important;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
}

.u-post-content .tt-table-scroll > table tr > :first-child {
  min-width: 170px;
  text-align: left;
  white-space: normal;
}

.u-post-content .tt-table-scroll > table tr:last-child > * {
  border-bottom: 0 !important;
}

.u-post-content .tt-table-scroll > table tbody tr:nth-child(even):not(:first-child):not(:nth-child(2)) {
  background: #fdf9fa;
}

.u-post-content .tt-table-scroll > table thead,
.u-post-content .tt-table-scroll > table.tt-price-table tr:first-child {
  background: #9f1848;
  color: #fff;
  font-weight: 700;
}

.u-post-content .tt-table-scroll > table.tt-price-table tr:first-child > * {
  padding-block: 15px !important;
  border-bottom-color: #9f1848 !important;
}

.u-post-content .tt-table-scroll > table.tt-price-table tr:nth-child(2) {
  background: #f9eaf0;
  color: #671635;
  font-weight: 700;
}

.u-post-content .tt-table-scroll > table.tt-price-table tr:nth-child(n + 3) > :first-child {
  font-weight: 600;
  color: #3d2631;
}

.u-post-content .tt-table-scroll > table.tt-price-table tr:nth-child(n + 3):hover {
  background: #fff3f6;
}

@media (max-width: 767px) {
  .u-post-content .tt-table-scroll {
    margin: 22px 0;
  }

  .u-post-content .tt-table-scroll > table {
    font-size: 15px;
  }

  .u-post-content .tt-table-scroll > table th,
  .u-post-content .tt-table-scroll > table td {
    padding: 11px 12px !important;
  }
}
