/* assets/css/blocks/comparison-table.css */
.comparison-table {
  background: #fff;
  color: #111;
  font-family: "MontserratCustom", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.comparison-table__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 20px;
  box-sizing: border-box;
}

.comparison-table__title {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.12;
}

.comparison-table__box {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.06);
}

.ct-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.ct-table th,
.ct-table td {
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.ct-table thead th {
  padding: 22px 18px;
  color: #111;
  background: #fbfbfb;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  vertical-align: middle;
}

.ct-table thead th:first-child,
.ct-table tbody td:first-child {
  text-align: left;
}

.ct-col-criteria {
  width: 30%;
}

.ct-channel--seo,
.ct-val--seo {
  background: rgba(255, 109, 61, 0.07) !important;
}

.ct-channel--seo {
  box-shadow: inset 0 4px 0 #ff6d3d;
}

.ct-sub {
  display: block;
  margin-top: 6px;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 700;
}

.ct-table tbody td {
  padding: 18px;
  color: #333;
  background: #fff;
  font-size: 15px;
  vertical-align: middle;
}

.ct-table tbody tr:last-child td {
  border-bottom: 0;
}

.ct-table tbody tr:hover td {
  background: #fff9f5;
}

.ct-table tbody tr:hover .ct-val--seo {
  background: rgba(255, 109, 61, 0.12) !important;
}

.ct-criteria {
  font-weight: 800;
  line-height: 1.35;
}

.ct-val {
  text-align: center;
}

.ct-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 84px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-sizing: border-box;
}

.ct-status__symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.ct-status--yes {
  border-color: rgba(255, 109, 61, 0.28);
  background: rgba(255, 109, 61, 0.10);
  color: #a9431e;
}

.ct-status--yes .ct-status__symbol {
  background: #ff6d3d;
  color: #fff;
}

.ct-status--no {
  border-color: rgba(120, 120, 120, 0.18);
  background: #f8f8f8;
  color: #6a6a6a;
}

.ct-status--no .ct-status__symbol {
  background: #e9e9e9;
  color: #666;
}

.ct-status--maybe {
  border-color: rgba(216, 91, 43, 0.22);
  background: rgba(216, 91, 43, 0.07);
  color: #9a4624;
}

.ct-status--maybe .ct-status__symbol {
  background: #df6a3a;
  color: #fff;
}

@media (max-width: 920px) {
  .comparison-table {
    display: none;
  }

  .comparison-table__wrap {
    padding: 42px 14px;
  }

  .comparison-table__box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ct-table {
    min-width: 860px;
  }

  .ct-table thead th,
  .ct-table tbody td {
    padding: 14px 12px;
    font-size: 14px;
  }

  .ct-table thead th:first-child,
  .ct-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 8px 0 18px rgba(17, 17, 17, 0.06);
  }

  .ct-table thead th:first-child {
    z-index: 3;
    background: #fafafa;
  }
}
