.arp-btn {display:inline-block;background:#ff9900;color:#fff!important;padding:10px 16px;border-radius:999px;text-decoration:none;font-weight:700;border:none}
.arp-btn:hover {background:#e68a00}

/* Key Takeaways v2 */
.arp-kt2 {background:#f7fbff;border:1px solid #e6eef9;border-radius:14px;padding:18px;margin:20px 0;display:grid;grid-template-columns:1fr 260px;gap:16px;align-items:center}
.arp-kt2 h3 {margin:0 0 8px 0}
.arp-kt2 ul {margin:0 0 12px 18px}
.arp-pill {display:inline-block;background:#111;color:#fff!important;padding:10px 14px;border-radius:999px;text-decoration:none;font-weight:700}
.arp-kt2-right img {max-width:240px;width:100%;height:auto;border-radius:10px;border:1px solid #d9e3f7;display:block;margin:0 auto 10px auto}
.arp-kt2-right .arp-btn {width:100%;text-align:center}

/* Product card (detailed) */
.arp-product-card {border:1px solid #eee;border-radius:12px;padding:16px;display:grid;grid-template-columns:120px 1fr;gap:16px;margin:18px 0;box-shadow:0 2px 6px rgba(0,0,0,.04)}
.arp-pc-img img {max-width:120px;border-radius:8px;border:1px solid #ddd;height:auto}
.arp-pc-title {margin:0 0 6px 0;font-weight:800;font-size:1.1em}
.arp-pc-desc {margin:0 0 8px 0}
.arp-pc-list {margin:0 0 8px 18px}
.arp-pc-cta {margin-top:8px}

/* At-a-Glance grid */
.arp-gl-grid {display:grid;grid-template-columns:1fr;gap:18px;margin:24px 0}
@media (min-width: 800px){ .arp-gl-grid {grid-template-columns:1fr 1fr;} }
.arp-gl-card {border:1px solid #eaeaea;border-radius:14px;padding:14px;box-shadow:0 2px 6px rgba(0,0,0,.04);background:#fff}
.arp-gl-card img {width:100%;max-height:180px;object-fit:contain;border-radius:10px;border:1px solid #eee;background:#fafafa}
.arp-gl-card h3 {margin:10px 0 8px 0}
.arp-gl-card ul {margin:0 0 12px 18px}
.arp-gl-card .arp-btn {display:inline-block}

/* badges on Quick Picks */
.arp-gl-card { position: relative; }
.arp-badges { position:absolute; top:10px; left:10px; display:flex; gap:8px; flex-wrap:wrap; z-index:2; }
.arp-gl-card .arp-badge  {
  background: var(--chip-bg, #111);
  color: var(--chip-fg, #fff);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
}

/* Hide legacy KT block (if present) */
.arp-key-takeaways, .arp-kt-img, .arp-kt-content, .arp-kt-labels, .arp-kt-label, .arp-kt-list, .arp-kt-cta {display:none}
@media (max-width:700px){ .arp-kt2 {grid-template-columns:1fr;} .arp-kt2-right {order:2} }

/* Advanced Product Card */
.arp-card {border:1px solid #e9eef5;border-radius:12px;background:#fff;margin:18px 0;box-shadow:0 2px 6px rgba(17,24,39,.06);}
.arp-card-top {position:relative;padding:16px 16px 10px 16px;}
/* Product card badge chip (top-left) */
.arp-badge-chip{
  position: absolute;
  top: 10px;
  left: 10px;

  /* Use configurable colors if provided */
  background: var(--chip-bg, #0369a1);
  color: var(--chip-fg, #fff);

  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 2px 6px rgba(3,105,161,.15);
  border: 1px solid rgba(255,255,255,.8); /* subtle ring for contrast */
  z-index: 2;
}
.arp-card-top{ position:relative; }

@media (max-width:480px){
  .arp-badge-chip{ font-size:12px; padding:5px 9px; }
}

/* Make sure the anchor container is a positioning context */
.arp-card-top{ position: relative; }
.arp-top-row {display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;}
.arp-top-row img {max-width:300px;height:auto;border:1px solid #eee;border-radius:10px;background:#fafafa;}
.arp-why {flex:1;min-width:260px;}
.arp-why h4 {margin:6px 0 8px 0;}
.arp-why ul {margin:0 0 12px 18px;}
.arp-card .arp-btn {display:inline-block;background:#ff9900;color:#fff!important;padding:12px 18px;border-radius:6px;font-weight:700;text-decoration:none;box-shadow:0 2px 6px rgba(0,0,0,.15);}
.arp-card .arp-btn:hover{background:#e68a00}
.arp-overview {padding:0 16px 10px 16px;}
.arp-specs {padding:0 16px 16px 16px;}
.arp-specs h4 {margin:0 0 8px 0;}
.arp-specs table {width:100%;border-collapse:collapse;}
.arp-specs th,.arp-specs td {border:1px solid #e5e7eb;padding:10px;vertical-align:top;}
.arp-two-col {display:grid;grid-template-columns:1fr;gap:14px;padding:0 16px 10px 16px;}
@media (min-width: 900px){ .arp-two-col {grid-template-columns:1fr 1fr;} }
.arp-box {border:1px solid #e5e7eb;border-radius:8px;padding:10px;background:#fff;}
.arp-box h4 {margin:0 0 8px 0;}
.arp-box ul {margin:0 0 8px 18px;}
.arp-why-notes {padding:0 16px 10px 16px;color:#374151;}
.arp-pros-cons {display:grid;grid-template-columns:1fr;gap:14px;padding:0 16px 10px 16px;}
@media (min-width: 900px){ .arp-pros-cons {grid-template-columns:1fr 1fr;} }
.arp-bottomline {padding:10px 16px 16px 16px;}

/* Single-line bullets (KT + Quick Picks) */
/* One-line bullets (no overflow) */
.arp-kt2-left ul li,
.arp-gl-card ul li,
/* keep bullets & allow wrapping */
.arp-compare-td ul { margin:0; padding-left:1.2rem; list-style:disc; }
.arp-compare-td ul li { white-space: normal; word-break: normal; overflow-wrap: anywhere; }

.arp-kt2-left, .arp-kt2-right, .arp-why { min-width: 0; }  /* important */



/* Quick Picks: clamp title to 2 lines */
.arp-gl-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* --- Product card top: image left, bullets + CTA right --- */
.arp-card {border:1px solid #e9eef5;border-radius:12px;background:#fff;margin:18px 0;box-shadow:0 2px 6px rgba(17,24,39,.06)}
.arp-card-top {position:relative;padding:16px}
.arp-top-row {display:flex;gap:22px;align-items:flex-start;flex-wrap:nowrap} /* <-- no wrap by default */
.arp-top-row > a {flex:0 0 auto}
.arp-top-row img {max-width:300px;height:auto;border:1px solid #eee;border-radius:10px;background:#fafafa;display:block}
.arp-why {flex:1;min-width:280px}
.arp-why h4 {margin:4px 0 10px;font-weight:800;color:#2b2e36}
.arp-why ul {margin:0 0 14px 18px}

/* --- CTA button: no underline anywhere --- */
/* CRO button — perfectly centered text, no underline */
.arp-btn,
a.arp-btn:link,
a.arp-btn:visited,
a.arp-btn:hover,
a.arp-btn:active {
  display: inline-flex;              /* center content */
  align-items: center;
  justify-content: center;
  gap: .35em;

  background: #ff9900;
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;

  line-height: 1;                    /* kill extra vertical space */
  text-decoration: none !important;
  text-indent: 0 !important;

  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

a.arp-btn:hover {
  background: #e68a00;
  text-decoration: none !important;
}

/* In case a theme injects pseudo-elements on links */
.arp-btn::before,
.arp-btn::after { content: none !important; }


/* --- Two-column “table” blocks (Good/Not for, Pros/Cons) --- */
.arp-compare{
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #e5e7eb;
  border-radius:10px;
  overflow:hidden;
  margin:16px 0;
}
.arp-compare *{ box-sizing:border-box; }

.arp-compare-th{
  background:#f9fafb;
  font-weight:800;
  padding:12px 14px;
  border-bottom:1px solid #e5e7eb;
}
.arp-compare-th:first-child{ border-right:1px solid #e5e7eb; }

.arp-compare-td{
  padding:12px 14px;
  min-width:0;                 /* allow content to shrink/wrap */
}
.arp-compare-td:first-child{ border-right:1px solid #e5e7eb; }

/* Keep real bullets and natural wrapping (no clamping here) */
.arp-compare-td ul{
  margin:0;
  padding-left:1.2rem;
  list-style:disc;
  line-height:1.55;
}
.arp-compare-td ul li{
  white-space:normal;
  word-break:normal;
  overflow-wrap:anywhere;
}

/* Mobile: stack columns */
@media (max-width:820px){
  .arp-compare{ grid-template-columns:1fr; }
  .arp-compare-th:first-child,
  .arp-compare-td:first-child{ border-right:0; }
}


/* --- Why / Why not small paragraphs --- */
.arp-why-notes {margin:10px 16px;color:#374151}
.arp-why-notes em {font-style:italic;color:#111}

/* --- Pros/Cons wrapper mirrors Good/Not for --- */
.arp-pros-cons .arp-compare-th{background:#f9fafb}
@media (max-width: 820px){
  .arp-compare{grid-template-columns:1fr}
  .arp-compare-th:first-child,.arp-compare-td:first-child{border-right:none}
}

/* Responsive wraps for small screens */
@media (max-width: 820px){
  .arp-top-row {flex-wrap:wrap}
  .arp-compare {grid-template-columns:1fr}
  .arp-compare-th:first-child, .arp-compare-td:first-child {border-right:none}
}

/* Jump to Top Picks pill button */
.arp-pill,
a.arp-pill:link,
a.arp-pill:visited,
a.arp-pill:hover,
a.arp-pill:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;

  background: #111;
  color: #fff !important;
  font-weight: 700;
  line-height: 1;

  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);

  text-decoration: none !important;   /* <- remove underline */
  border: 0;
}

a.arp-pill:hover {
  background: #000;
  text-decoration: none !important;    /* <- ensure theme hover rules can't add it back */
}

/* KT image wrapper and badge */
.arp-kt2-right { position: relative; }
.arp-kt-imgwrap { position: relative; display: inline-block; }
.arp-kt-imgwrap img { display:block; }

.arp-kt-badge{
  position:absolute;
  top:8px; left:8px;
  background: var(--kt-badge-bg, #2563EB);
  color: var(--kt-badge-fg, #fff);
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  letter-spacing:.2px;
}



