/* Article comparison embeds — match single-product feature-table chrome. */

.ggt-ph-compare {
  margin: 28px 0 36px;
}

.ggt-ph-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: #fff;
}

.ggt-ph-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.ggt-ph-compare-table th,
.ggt-ph-compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  vertical-align: top;
  text-align: left;
  font-family: var(--ggt-font, "GT Walsheim", "Segoe UI", sans-serif);
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--ggt-ink, #111);
}

.ggt-ph-compare-table thead th {
  background: transparent;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ggt-muted, #888);
  vertical-align: top;
}

.ggt-ph-compare-label,
.ggt-ph-compare-table tbody th {
  width: 180px;
  min-width: 150px;
  color: var(--ggt-ink, #111);
  font-weight: 500 !important;
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.5rem;
}

.ggt-ph-compare-table tr:last-child th,
.ggt-ph-compare-table tr:last-child td {
  border-bottom: 0;
}

.ggt-ph-compare-colhead {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  min-width: 200px;
  text-transform: none;
  letter-spacing: 0;
}

.ggt-ph-compare-colhead__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ggt-ph-compare-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 22%;
  background: #111;
  overflow: hidden;
  isolation: isolate;
}

.ggt-ph-compare-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 0;
  box-sizing: border-box;
  box-shadow: none;
}

.ggt-ph-compare-thumb-fallback {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "GT Walsheim Medium", "GT Walsheim", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.ggt-ph-compare-name {
  color: var(--ggt-ink, #111);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: -0.02em;
}

.ggt-ph-compare-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ggt-ph-compare-shot {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #f4f4f4;
  aspect-ratio: 16 / 10;
}

.ggt-ph-compare-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ggt-ph-compare-table .ggt-ph-feature-table__value {
  text-align: left !important;
  max-width: none;
  white-space: normal;
}

.ggt-ph-compare-table .ggt-ph-check {
  margin: 0;
}

.ggt-ph-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ggt-ph-compare-list li {
  position: relative;
  padding-left: 1.15em;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--ggt-ink, #111);
}

.ggt-ph-compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.38em;
  height: 0.38em;
  border-radius: 999px;
  background: var(--ggt-ink, #111);
}

.ggt-ph-compare-rating {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}

.ggt-ph-compare-rating__stat {
  margin: 0;
}

.ggt-ph-compare-rating__stat .ggt-ph-stat-num {
  font-size: clamp(2.6rem, 3vw, 3.4rem);
}

.ggt-ph-compare-rating__bars {
  margin: 0;
  gap: 10px;
}

.ggt-ph-compare-rating__single {
  margin-top: 2px;
}

.ggt-ph-compare-table .is-diff th,
.ggt-ph-compare-table .is-diff td {
  background: rgba(232, 248, 238, 0.28);
}

.ggt-ph-compare-table .is-same td {
  color: #5a5a5a;
}

.ggt-ph-compare--compact .ggt-ph-compare-table th,
.ggt-ph-compare--compact .ggt-ph-compare-table td {
  padding: 10px 12px;
  font-size: 1.35rem;
}

.ggt-ph-compare--detailed .ggt-ph-compare-table {
  min-width: 860px;
}

@media (max-width: 720px) {
  .ggt-ph-compare-table th,
  .ggt-ph-compare-table td {
    padding: 12px;
    font-size: 1.35rem;
  }
  .ggt-ph-compare-label,
  .ggt-ph-compare-table tbody th {
    width: 120px;
    min-width: 110px;
  }
}
