/**
 * Extension detail – comparison with other products (html/com_content/article/extension.php, <section class="tp-ext-vs">
 * in the article full text): eyebrow, heading, lead, optional price bars, the table and a source note.
 * Scoped under .tp-ext-detail .pxvs, same look as the Free vs Pro table (css/px-ext-compare.css).
 */
.tp-ext-detail .pxvs { margin: 0 0 96px; }
.tp-ext-detail .pxvs-eyebrow { display: block; margin: 0 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ds-green-ink); }
.tp-ext-detail .pxvs h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.035em; color: var(--ds-navy); }
.tp-ext-detail .pxvs-lead { margin: 0 0 28px; max-width: 720px; color: var(--ds-muted); }

/* price bars (price per year, one site) */
.tp-ext-detail .pxvs-bars { display: grid; gap: 10px; margin: 0 0 32px; max-width: 760px; padding: 0; list-style: none; }
.tp-ext-detail .pxvs-bars li { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 14px; margin: 0; font-size: 15px; color: var(--ds-text); }
.tp-ext-detail .pxvs-bars li::before { content: none; }
.tp-ext-detail .pxvs-bars b { font-weight: 600; color: var(--ds-navy); }
.tp-ext-detail .pxvs-bars span { display: flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 8px; background: var(--ds-soft, #f3f5f8); color: var(--ds-navy); font-weight: 700; white-space: nowrap; min-width: max-content; }
.tp-ext-detail .pxvs-bars li.is-us span { background: var(--ds-green); color: #fff; }
.tp-ext-detail .pxvs-bars small { font-weight: 500; opacity: .8; margin-left: 8px; }

/* table */
.tp-ext-detail .pxvs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ds-line); border-radius: var(--ds-r-lg, 20px); background: #fff; }
.tp-ext-detail .pxvs table { width: 100%; min-width: 720px; margin: 0; border-collapse: separate; border-spacing: 0; border: 0; background: none; }
.tp-ext-detail .pxvs th, .tp-ext-detail .pxvs td { padding: 13px 16px; border: 0; border-bottom: 1px solid var(--ds-line); text-align: center; vertical-align: middle; font-size: 14.5px; font-weight: 400; color: var(--ds-text); background: none; }
.tp-ext-detail .pxvs th:first-child, .tp-ext-detail .pxvs td:first-child { text-align: left; width: 30%; font-weight: 500; color: var(--ds-navy); }
.tp-ext-detail .pxvs tbody tr:last-child th, .tp-ext-detail .pxvs tbody tr:last-child td { border-bottom: 0; }
.tp-ext-detail .pxvs thead th { background: var(--ds-soft); font-weight: 700; color: var(--ds-navy); }
.tp-ext-detail .pxvs thead th small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ds-muted); }
.tp-ext-detail .pxvs thead th.is-us { background: var(--ds-navy); color: #fff; }
.tp-ext-detail .pxvs thead th.is-us small { color: #b9c1e0; }
.tp-ext-detail .pxvs td.is-us { background: #f3fcf6; font-weight: 600; color: var(--ds-navy); }
.tp-ext-detail .pxvs .y { color: var(--ds-green-ink); font-size: 17px; }
.tp-ext-detail .pxvs .n { color: #c4cad6; font-size: 17px; }
.tp-ext-detail .pxvs td small { display: block; font-size: 12px; color: var(--ds-muted); font-weight: 400; }
.tp-ext-detail .pxvs tr.is-price td { font-weight: 700; color: var(--ds-navy); }
.tp-ext-detail .pxvs-note { margin: 14px 0 0; font-size: 13px; color: var(--ds-muted); max-width: 820px; }

@media (max-width: 767px) {
	.tp-ext-detail .pxvs { margin-bottom: 64px; }
	.tp-ext-detail .pxvs-bars li { grid-template-columns: 110px 1fr; font-size: 13.5px; }
	.tp-ext-detail .pxvs th, .tp-ext-detail .pxvs td { padding: 10px 10px; font-size: 13px; }
	.tp-ext-detail .pxvs th:first-child, .tp-ext-detail .pxvs td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--ds-line); }
	.tp-ext-detail .pxvs thead th:first-child { background: var(--ds-soft); }
}
