/* TUF_COMPARE_IN_SHORT_V2 */
.tuf-compare-in-short-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.6rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(15, 35, 58, .16);
  border-radius: 999px;
  background: #fff;
  font-size: .92rem;
  font-weight: 750;
  cursor: pointer;
}

.tuf-compare-in-short-toggle input {
  inline-size: 1rem;
  block-size: 1rem;
  margin: 0;
}

.tuf-compare-in-short {
  width: min(1460px, calc(100% - 32px));
  margin: 30px auto 58px;
  padding: 26px;
  border: 1px solid rgba(15, 35, 58, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 35, 58, .06);
}

.tuf-compare-in-short[hidden] {
  display: none !important;
}

.tuf-compare-in-short__header {
  margin-bottom: 20px;
}

.tuf-compare-in-short__header h2 {
  margin: 0 0 7px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  letter-spacing: -.025em;
}

.tuf-compare-in-short__header p {
  max-width: 760px;
  margin: 0;
  color: #657284;
  line-height: 1.55;
}

.tuf-compare-in-short__scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(15, 35, 58, .12);
  border-radius: 14px;
}

.tuf-compare-in-short__table {
  width: 100%;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
}

.tuf-compare-in-short__table th,
.tuf-compare-in-short__table td {
  padding: 15px 14px;
  border-right: 1px solid rgba(15, 35, 58, .10);
  border-bottom: 1px solid rgba(15, 35, 58, .10);
  vertical-align: top;
  text-align: left;
  font-size: .88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tuf-compare-in-short__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f6f8fb;
  color: #111b2a;
  font-size: .8rem;
  font-weight: 850;
}

.tuf-compare-in-short__table th:first-child,
.tuf-compare-in-short__table td:first-child {
  width: 190px;
}

.tuf-compare-in-short__table thead th:first-child,
.tuf-compare-in-short__product {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fbfcfe;
}

.tuf-compare-in-short__table tr:last-child > * {
  border-bottom: 0;
}

.tuf-compare-in-short__table tr > *:last-child {
  border-right: 0;
}

.tuf-compare-in-short__product {
  display: table-cell;
  min-width: 190px;
}

.tuf-compare-in-short__product-name,
.tuf-compare-in-short__article-title,
.tuf-compare-in-short__date,
.tuf-compare-in-short__open {
  display: block;
}

.tuf-compare-in-short__product-name {
  margin-bottom: 8px;
  font-size: .98rem;
}

.tuf-compare-in-short__article-title {
  color: #334155;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}

.tuf-compare-in-short__date {
  margin-top: 8px;
  color: #748094;
  font-size: .75rem;
}

.tuf-compare-in-short__open {
  margin-top: 10px;
  color: #175fc5;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.tuf-compare-in-short__sources {
  display: grid;
  gap: 7px;
}

.tuf-compare-in-short__sources a {
  color: #175fc5;
  font-weight: 700;
  text-decoration: none;
}

.tuf-compare-in-short__sources a:hover,
.tuf-compare-in-short__sources a:focus-visible,
.tuf-compare-in-short__open:hover,
.tuf-compare-in-short__open:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tuf-compare-in-short__more-sources {
  color: #748094;
  font-size: .75rem;
}

.tuf-compare-in-short__empty {
  color: #748094;
  font-style: italic;
}

@media (max-width: 760px) {
  .tuf-compare-in-short {
    width: min(100% - 20px, 1460px);
    padding: 18px;
  }

  .tuf-compare-in-short__scroll {
    overflow: visible;
    border: 0;
  }

  .tuf-compare-in-short__table,
  .tuf-compare-in-short__table thead,
  .tuf-compare-in-short__table tbody,
  .tuf-compare-in-short__table tr,
  .tuf-compare-in-short__table th,
  .tuf-compare-in-short__table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .tuf-compare-in-short__table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .tuf-compare-in-short__table tbody {
    display: grid;
    gap: 14px;
  }

  .tuf-compare-in-short__table tr {
    overflow: hidden;
    border: 1px solid rgba(15, 35, 58, .12);
    border-radius: 14px;
    background: #fff;
  }

  .tuf-compare-in-short__table th,
  .tuf-compare-in-short__table td {
    position: static !important;
    border-right: 0;
    padding: 13px 15px;
  }

  .tuf-compare-in-short__table td:not(.tuf-compare-in-short__empty)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #175fc5;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .tuf-compare-in-short__product {
    background: #f6f8fb;
  }
}
