/* Head-to-head comparison detail pages */

.compare-hero {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.compare-article-header-card.article-header-card {
  border: 1px solid #e5edf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.compare-article-header-card .article-header-card__title-bar {
  padding: 20px 24px 6px;
}

.compare-article-header-card .article-header-card__title {
  margin: 0;
  padding: 0;
  color: #1a1a2e;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.compare-article-header-card__meta.article-header-card__meta {
  display: block;
  padding: 8px 24px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.compare-article-header-card__details.article-header-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 0;
  border-left: 0;
}

.compare-article-header-card .article-header-card__detail {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
}

.compare-article-header-card .article-header-card__detail + .article-header-card__detail::before {
  content: "\00b7";
  margin-right: 2px;
  color: #cbd5e1;
  font-weight: 700;
}

.compare-article-header-card .article-header-card__detail i {
  color: #94a3b8;
  font-size: 0.75rem;
}

.compare-header-visual {
  float: right;
  width: min(360px, 42%);
  margin: 0 0 0.85rem 1rem;
  overflow: hidden;
  border: 1px solid #d9e6ee;
  border-radius: 8px;
  background: #fff;
}

.compare-header-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.compare-hero__intro {
  color: #374653;
  font-size: 14px;
  line-height: 1.5;
}

.compare-hero__intro p {
  margin: 0 0 0.65rem;
}

.compare-hero__intro p:last-child {
  margin-bottom: 0;
}

.compare-hero__intro::after {
  content: "";
  display: table;
  clear: both;
}

.compare-header-toc.article-header-card__toc {
  border-top: 0;
  border-bottom: 1px solid #f1f5f9;
}

.compare-header-toc details {
  margin: 0;
}

.compare-header-toc .article-header-card__toc-summary {
  padding: 10px 24px;
  color: #475569;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.compare-header-toc .article-header-card__toc-summary::-webkit-details-marker {
  display: none;
}

.compare-header-toc .article-header-card__toc-summary::after {
  content: "\f107";
  float: right;
  color: #94a3b8;
  font-family: FontAwesome;
  transition: transform 0.2s;
}

.compare-header-toc details[open] > .article-header-card__toc-summary {
  border-bottom: 1px solid #f1f5f9;
}

.compare-header-toc details[open] > .article-header-card__toc-summary::after {
  transform: rotate(180deg);
}

.compare-header-toc .article-header-card__toc-list {
  margin: 0;
  padding: 10px 24px 12px 48px;
  list-style: decimal;
}

.compare-header-toc .article-header-card__toc-list li {
  padding: 3px 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.compare-header-toc .article-header-card__toc-list a {
  color: #475569;
  text-decoration: none;
}

.compare-header-toc .article-header-card__toc-list a:hover,
.compare-header-toc .article-header-card__toc-list a:focus {
  color: #0db1e7;
  text-decoration: none;
}

.compare-radar-card {
  min-width: 0;
  padding: 0.7rem 0.75rem 0.45rem;
  border: 1px solid #d9e4eb;
  border-radius: 8px;
  background: #fff;
}

.compare-radar-card__header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.compare-radar-card__header span {
  color: #536675;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.compare-radar-card__header strong {
  color: #22313d;
  font-size: 0.9rem;
}

.compare-radar-card .spider-chart-container {
  position: relative;
  height: 380px;
  min-height: 0;
}

.compare-radar-card canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.compare-radar-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(340px, 480px);
  gap: 1rem;
  align-items: center;
  margin: 1.75rem 0;
  padding: 1rem;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.compare-radar-section__copy h2 {
  margin: 0 0 0.4rem;
  color: #162331;
  font-size: 1.3rem;
  line-height: 1.25;
}

.compare-radar-section__copy p {
  margin: 0;
  color: #536675;
  font-size: 0.9rem;
  line-height: 1.4;
}

.compare-radar-section .compare-radar-card {
  width: 100%;
  max-width: 480px;
  justify-self: end;
}

.compare-read-map {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: #f7fafc;
}

.compare-read-map__header {
  max-width: 760px;
  margin-bottom: 1rem;
}

.compare-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  color: #536675;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.compare-read-map h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.compare-read-map p {
  margin: 0;
  color: #44525e;
}

.compare-test-summary {
  margin: 0;
  padding: 0.8rem;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.compare-evidence-summary {
  margin: 0.9rem 0 1.35rem;
  padding: 1rem;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdfe 0%, #f5f9fb 100%);
}

.compare-evidence-summary__header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e1ebf2;
}

.compare-evidence-summary__header span {
  color: #536675;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.compare-evidence-summary__header h2 {
  margin: 0.15rem 0 0;
  color: #162331;
  font-size: 1.45rem;
  line-height: 1.25;
}

.compare-evidence-summary__header p {
  max-width: 360px;
  margin: 0;
  color: #536675;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: right;
}

.compare-evidence-summary__header .compare-evidence-summary__freshness {
  margin-top: 0.4rem;
  color: #7a8893;
  font-size: 0.78rem;
  font-weight: 500;
}

.compare-evidence-summary__layout {
  display: block;
}

.compare-evidence-summary__main {
  min-width: 0;
}

.compare-evidence-summary .compare-hero__intro {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e1ebf2;
}

.compare-evidence-summary .compare-test-summary {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.compare-test-summary__header {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.compare-test-summary__header span {
  color: #536675;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.compare-test-summary__header strong {
  color: #162331;
  font-size: 0.95rem;
}

.compare-test-summary__bar {
  display: flex;
  min-height: 36px;
  overflow: hidden;
  border-radius: 6px;
  background: #dfe7ee;
}

.compare-test-summary__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 0.45rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-test-summary__segment b {
  margin-right: 0.25rem;
}

.compare-test-summary__segment--a {
  background: #0b6ea8;
}

.compare-test-summary__segment--b {
  background: #5b3f91;
}

.compare-test-summary__segment--draw {
  color: #4f3a0c;
  background: #f1ce72;
}

.compare-test-summary__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin-top: 0.55rem;
  color: #536675;
  font-size: 0.82rem;
}

.compare-test-summary__labels b {
  color: #22313d;
}

.compare-strengths {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e1ebf2;
}

.compare-strengths__header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.compare-strengths__header span {
  color: #536675;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.compare-strengths__header strong {
  color: #162331;
  font-size: 0.95rem;
}

.compare-strengths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.compare-strength-card {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid #e1ebf2;
  border-radius: 8px;
  background: #fff;
}

.compare-strength-card--a {
  border-left: 4px solid #0b6ea8;
}

.compare-strength-card--b {
  border-left: 4px solid #5b3f91;
}

.compare-strength-card__head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  color: #22313d;
  text-decoration: none;
}

.compare-strength-card__head:hover,
.compare-strength-card__head:focus {
  color: #0b5f93;
  text-decoration: none;
}

.compare-strength-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
}

.compare-strength-card__image img {
  max-width: 46px;
  max-height: 42px;
  object-fit: contain;
}

.compare-strength-card__title {
  min-width: 0;
}

.compare-strength-card__title span {
  display: block;
  color: #6a7b88;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.15;
}

.compare-strength-card__title strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 0.92rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-strength-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.compare-strength-card li {
  position: relative;
  padding-left: 0.85rem;
  color: #40515f;
  font-size: 0.86rem;
  line-height: 1.35;
}

.compare-strength-card li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8aa2b1;
}

.compare-evidence-summary .compare-strengths__grid {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.compare-evidence-summary .compare-strength-card {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.compare-evidence-summary .compare-strength-card ul {
  margin-top: 0;
}

.compare-evidence-summary .compare-strength-card__title strong {
  white-space: normal;
}

.compare-priority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.compare-priority-card {
  display: flex;
  gap: 0.75rem;
  min-height: 88px;
  padding: 0.85rem;
  color: #1f2933;
  text-decoration: none;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.compare-priority-card:hover,
.compare-priority-card:focus {
  color: #1f2933;
  text-decoration: none;
  border-color: #9bc2d8;
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.08);
  transform: translateY(-1px);
}

.compare-priority-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #0b6ea8;
  border-radius: 8px;
  background: #e8f5fb;
}

.compare-priority-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.compare-priority-card__label {
  color: #667785;
  font-size: 0.82rem;
  font-weight: 700;
}

.compare-priority-card strong {
  color: #162331;
  font-size: 0.98rem;
  line-height: 1.25;
}

.compare-priority-card--a .compare-priority-card__icon {
  color: #0b6ea8;
  background: #e7f4fb;
}

.compare-priority-card--b .compare-priority-card__icon {
  color: #5b3f91;
  background: #f0ecf8;
}

.compare-priority-card--draw .compare-priority-card__icon {
  color: #7a5b13;
  background: #fff5d8;
}

.compare-breakdown-section {
  margin: 1.75rem 0;
  scroll-margin-top: 90px;
}

.compare-breakdown-section__header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #dfe7ee;
}

.compare-breakdown-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: #0b6ea8;
  border-radius: 8px;
  background: #e8f5fb;
}

.compare-breakdown-section__header h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.compare-breakdown-section__header p {
  margin: 0;
  color: #5d6b77;
  font-size: 0.92rem;
}

.compare-metric-card-anchor {
  width: 100%;
  scroll-margin-top: 90px;
}

.compare-breakdown-grid .compare-metric-card {
  width: 100%;
  height: 100%;
  margin-bottom: 0 !important;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff !important;
  box-shadow: none;
}

.compare-metric-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
}

.compare-metric-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.compare-metric-card p {
  color: #43515c;
  font-size: 0.92rem;
  line-height: 1.45;
}

.compare-metric-card .progress {
  height: 32px !important;
  margin-bottom: 0.45rem;
  overflow: hidden;
  border-radius: 5px;
  background-color: #e4eef5;
}

.compare-metric-card .progress-bar {
  min-width: 3.5rem;
  padding-left: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 32px;
  background-color: #0b6ea8;
}

.compare-metric-card .row > i {
  display: block;
  width: 100%;
  margin: 0.15rem 0 0.6rem;
  color: #627381;
  font-size: 0.84rem;
  text-align: center;
}

.compare-metric-winner {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  margin: auto 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #dce6ed;
  border-radius: 6px;
  background: #f8fbfd;
}

.compare-metric-winner span {
  color: #586875;
  font-size: 0.84rem;
  font-weight: 700;
}

.compare-metric-winner__label {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
}

.compare-metric-winner__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.compare-metric-winner__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.36rem;
  color: #526575;
  border: 1px solid rgba(133, 156, 173, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.compare-metric-winner strong {
  color: #162331;
  font-size: 0.92rem;
  text-align: right;
}

.compare-metric-winner--a {
  border-color: #bfdae9;
  background: #f0f8fc;
}

.compare-metric-winner--b {
  border-color: #d4cae6;
  background: #f6f3fb;
}

.compare-metric-winner--draw {
  border-color: #eddcaa;
  background: #fffaf0;
}

.compare-source-links {
  margin-top: 0.55rem;
  font-size: 0.84rem;
}

.compare-source-links summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0b5f93;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
}

.compare-source-links summary::-webkit-details-marker {
  display: none;
}

.compare-source-links summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #0b5f93;
  border: 1px solid #b8d6e6;
  border-radius: 50%;
  font-size: 0.78rem;
  line-height: 1;
}

.compare-source-links[open] summary::before {
  content: "-";
}

.compare-source-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.compare-source-links__list a {
  display: inline-flex;
  gap: 0.25rem;
  align-items: baseline;
  max-width: 100%;
  padding: 0.28rem 0.45rem;
  color: #315161;
  text-decoration: none;
  border: 1px solid #dce7ee;
  border-radius: 999px;
  background: #f8fbfd;
}

.compare-source-links__list a:hover,
.compare-source-links__list a:focus {
  color: #0b5f93;
  border-color: #b8d6e6;
  text-decoration: none;
}

.compare-source-links__list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-source-links__list small {
  flex: 0 0 auto;
  color: #6a7b88;
}

.compare-review-summary-grid {
  margin-top: 0.5rem;
}

.compare-driver-reviews-section {
  margin: 1.75rem 0;
}

.compare-section-heading {
  margin: 0 0 0.75rem !important;
  padding-bottom: 0.5rem;
  color: #162331;
  font-size: 1.3rem;
  line-height: 1.25;
  border-bottom: 1px solid #dfe7ee !important;
}

.compare-review-summary-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
}

.compare-review-summary-card__header {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e6edf2;
  background: #f8fbfd;
}

.compare-review-summary-card__header h5 {
  font-size: 1rem;
  line-height: 1.25;
}

.compare-review-summary-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.9rem;
}

.compare-review-summary-card__body p {
  color: #44525e;
  font-size: 0.92rem;
  line-height: 1.45;
}

.compare-review-summary-card__body .text-muted {
  margin-top: auto;
  margin-bottom: 0.35rem;
}

.compare-text-link {
  color: #0b5f93;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.compare-text-link:hover,
.compare-text-link:focus {
  color: #08476e;
  text-decoration: underline;
}

.compare-conclusion-block {
  margin: 1.75rem 0;
  padding: 1rem;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.compare-conclusion-block > h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  font-size: 1.35rem;
  line-height: 1.2;
  border-bottom: 1px solid #dfe7ee;
}

.compare-conclusion-copy {
  color: #33414d;
}

.compare-conclusion-copy p:last-child {
  margin-bottom: 0;
}

.compare-key-differences {
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
}

.compare-key-differences h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.25;
}

.compare-key-differences ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
}

.compare-key-differences li {
  color: #44525e;
  line-height: 1.4;
}

.compare-winner-callout {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid #cfe1ea;
  border-radius: 8px;
  background: #fff;
}

.compare-winner-callout__image {
  text-align: center;
}

.compare-winner-callout__image img {
  max-height: 110px;
  width: auto;
}

.compare-winner-callout h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.compare-winner-callout p {
  margin: 0;
  color: #44525e;
}

.compare-next-section {
  margin: 1.75rem 0;
}

.compare-next-section > h2 {
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}

.compare-next-section > p {
  color: #5d6b77;
}

.compare-next-card {
  padding: 0.9rem;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
}

.compare-next-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.25;
}

.compare-next-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 74px;
  padding: 0.55rem 0;
  color: #22313d;
  text-decoration: none;
  border-top: 1px solid #eef3f6;
}

.compare-next-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.compare-next-item:hover,
.compare-next-item:focus {
  color: #0b5f93;
  text-decoration: none;
}

.compare-next-item img {
  max-width: 88px;
  max-height: 56px;
  object-fit: contain;
}

.compare-next-item span {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.compare-next-card__footer {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #eef3f6;
}

.compare-methodology-note {
  margin: 1.5rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid #9bb7c9;
  border-radius: 6px;
  background: #f7fafc;
}

.compare-methodology-note h4 {
  margin: 0 0 0.45rem !important;
  font-size: 1rem;
}

.compare-methodology-note p {
  margin-bottom: 0.45rem;
  color: #536675;
  font-size: 0.88rem;
  line-height: 1.45;
}

.compare-methodology-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .compare-header-visual {
    width: min(360px, 46%);
  }

  .compare-radar-section {
    grid-template-columns: 1fr;
  }

  .compare-radar-section .compare-radar-card {
    justify-self: stretch;
  }
}

@media (max-width: 767.98px) {
  .compare-hero {
    margin-bottom: 1.1rem;
  }

  .compare-article-header-card .article-header-card__title-bar {
    padding: 16px 16px 6px;
  }

  .compare-article-header-card .article-header-card__title {
    font-size: 1.25rem;
  }

  .compare-article-header-card__meta.article-header-card__meta {
    padding: 12px 16px;
  }

  .compare-article-header-card__details.article-header-card__details {
    padding: 0;
    width: 100%;
  }

  .compare-header-toc .article-header-card__toc-summary {
    padding: 10px 16px;
  }

  .compare-header-toc .article-header-card__toc-list {
    padding: 10px 16px 10px 36px;
  }

  .compare-header-visual {
    float: none;
    width: 100%;
    margin: 0 0 0.85rem;
  }

  .compare-hero__intro {
    font-size: 14px;
  }

  .compare-evidence-summary {
    padding: 0.75rem;
  }

  .compare-evidence-summary__header {
    display: block;
  }

  .compare-evidence-summary__header h2 {
    font-size: 1.25rem;
  }

  .compare-evidence-summary__header p {
    max-width: none;
    margin-top: 0.35rem;
    text-align: left;
  }

  .compare-radar-card .spider-chart-container {
    height: 340px;
  }

  .compare-radar-section {
    padding: 0.85rem;
  }

  .compare-radar-card__header {
    display: block;
  }

  .compare-radar-card__header strong {
    display: block;
    margin-top: 0.15rem;
  }

  .review-fab {
    display: none;
  }

  .compare-read-map {
    padding: 0.85rem;
  }

  .compare-priority-grid {
    grid-template-columns: 1fr;
  }

  .compare-strengths__grid {
    grid-template-columns: 1fr;
  }

  .compare-evidence-summary .compare-strength-card {
    display: block;
  }

  .compare-evidence-summary .compare-strength-card ul {
    margin-top: 0.65rem;
  }

  .compare-strength-card__title strong {
    white-space: normal;
  }

  .compare-metric-winner {
    display: block;
  }

  .compare-metric-winner__label {
    display: block;
  }

  .compare-metric-winner__meta {
    display: flex;
    margin-top: 0.35rem;
  }

  .compare-metric-winner strong {
    display: block;
    margin-top: 0.2rem;
    text-align: left;
  }

  .compare-winner-callout,
  .compare-next-item {
    grid-template-columns: 1fr;
  }

  .compare-winner-callout__image,
  .compare-next-item img {
    justify-self: start;
  }
}

/* Frequently Asked Questions (mirrors the FAQPage schema) */
.compare-faq {
  margin: 1.75rem 0;
  padding: 1rem;
  border: 1px solid #d7e4ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.compare-faq > h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  font-size: 1.35rem;
  line-height: 1.2;
  border-bottom: 1px solid #dfe7ee;
}

.compare-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.compare-faq__item {
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.compare-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  color: #162331;
  list-style: none;
  transition: background 0.15s ease;
}

.compare-faq__q:hover {
  background: #f4f9fc;
}

.compare-faq__q::-webkit-details-marker {
  display: none;
}

.compare-faq__q::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #0b6ea8;
  background: #fff;
  color: #0b6ea8;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.compare-faq__item[open] .compare-faq__q::after,
.compare-faq__q:hover::after {
  background: #0b6ea8;
  color: #fff;
}

.compare-faq__item[open] .compare-faq__q::after {
  content: "\2212";
}

.compare-faq__a {
  padding: 0 0.9rem 0.9rem;
  color: #33414d;
}

.compare-faq__a p {
  margin: 0;
  line-height: 1.5;
}

/* Collapsible metric groups: the <summary> is styled as an obvious, clickable
   card so it clearly reads as expandable (not a static section heading). */
summary.compare-breakdown-section__header {
  cursor: pointer;
  list-style: none;
  align-items: center;
  margin-bottom: 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid #cfe0ec;
  border-radius: 10px;
  background: #f1f8fc;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

summary.compare-breakdown-section__header:hover {
  background: #e4f1f9;
  border-color: #a9cee2;
  box-shadow: 0 1px 4px rgba(11, 110, 168, 0.12);
}

.compare-breakdown-section[open] summary.compare-breakdown-section__header {
  margin-bottom: 0.85rem;
}

summary.compare-breakdown-section__header::-webkit-details-marker {
  display: none;
}

summary.compare-breakdown-section__header > div {
  flex: 1 1 auto;
  min-width: 0;
}

/* Circular +/- toggle button - same affordance as the FAQ accordion */
summary.compare-breakdown-section__header::after {
  content: "+";
  align-self: center;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #0b6ea8;
  background: #fff;
  color: #0b6ea8;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.compare-breakdown-section[open] summary.compare-breakdown-section__header::after,
summary.compare-breakdown-section__header:hover::after {
  background: #0b6ea8;
  color: #fff;
}

.compare-breakdown-section[open] summary.compare-breakdown-section__header::after {
  content: "\2212";
}

summary.compare-breakdown-section__header:hover h3 {
  color: #0b6ea8;
}

/* Win-tally chip shown in the (collapsed) group header */
.compare-breakdown-section__verdict {
  align-self: center;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #dfe7ee;
  background: #f8fbfd;
  font-size: 0.82rem;
  color: #315161;
  white-space: nowrap;
}

.compare-breakdown-section__verdict b {
  color: #162331;
  font-weight: 700;
}

.compare-breakdown-section__verdict--a {
  border-color: #bfdae9;
  background: #f0f8fc;
  color: #0b5f93;
}

.compare-breakdown-section__verdict--a i {
  color: #0b6ea8;
}

.compare-breakdown-section__verdict--b {
  border-color: #d4cae6;
  background: #f6f3fb;
  color: #5b3f91;
}

.compare-breakdown-section__verdict--b i {
  color: #5b3f91;
}

.compare-breakdown-section__verdict--draw {
  border-color: #eddcaa;
  background: #fffaf0;
  color: #7a5b16;
}

@media (max-width: 575px) {
  .compare-breakdown-section__verdict {
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
  }
}
