/* Opt-in JWELL Buyer Guide editorial system. No global post, product or category rules. */
.jwl-buyer-guide {
  --guide-ink: #27242a;
  --guide-muted: #625d62;
  --guide-line: #e9dfdc;
  --guide-surface: #fffdfb;
  --guide-warm: #fff6f1;
  --guide-coral: #c93a46;
  --guide-coral-soft: #fde7e2;
  background: #fffaf6;
  color: var(--guide-ink);
  font-size: 18px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.jwl-buyer-guide *,
.jwl-buyer-guide *::before,
.jwl-buyer-guide *::after { box-sizing: border-box; }

.jwl-guide-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.jwl-guide-reading { width: min(820px, 100%); margin-inline: auto; }
.jwl-buyer-guide a { color: #96353f; text-underline-offset: 3px; }
.jwl-buyer-guide a:hover { color: #b52235; }
.jwl-buyer-guide :is(a, summary):focus-visible { outline: 3px solid #b81f34; outline-offset: 4px; border-radius: 3px; }

.jwl-guide-hero { background: #fffaf6; border-bottom: 1px solid var(--guide-line); }
.jwl-guide-hero__inner { display: grid; gap: 52px; align-items: center; padding-block: 66px 62px; }
.jwl-guide-hero--image .jwl-guide-hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
.jwl-guide-hero--text .jwl-guide-hero__copy { max-width: 1000px; margin-inline: auto; }
.jwl-guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--guide-muted); font-size: 13px; line-height: 1.5; margin-bottom: 20px; }
.jwl-guide-breadcrumb a { color: inherit; text-decoration: none; }
.jwl-guide-breadcrumb a:hover { text-decoration: underline; }
.jwl-guide-eyebrow { color: var(--guide-coral); font-size: 12px; font-weight: 750; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; margin: 0 0 15px; }
.jwl-buyer-guide h1,
.jwl-buyer-guide h2,
.jwl-buyer-guide h3 { color: var(--guide-ink); font-family: Inter, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.jwl-buyer-guide h1 { font-size: clamp(46px, 4.2vw, 52px); line-height: 1.12; font-weight: 760; margin: 0; max-width: 1050px; }
.jwl-guide-hero__summary { font-size: 19px; line-height: 1.64; color: var(--guide-muted); max-width: 780px; margin: 22px 0 0; }
.jwl-guide-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--guide-muted); font-size: 13px; line-height: 1.5; margin-top: 26px; }
.jwl-guide-meta span:not(:first-child)::before { content: "·"; color: var(--guide-coral); font-weight: 800; margin-right: 10px; }
.jwl-guide-hero__visual { border: 1px solid var(--guide-line); border-radius: 14px; overflow: hidden; margin: 0; background: var(--guide-surface); }
.jwl-guide-hero__visual img { display: block; width: 100%; height: auto; }

.jwl-guide-layout { padding-block: 38px 96px; }
.jwl-guide-summary,
.jwl-guide-toc { background: var(--guide-surface); border: 1px solid var(--guide-line); border-radius: 13px; padding: 28px 30px; }
.jwl-guide-summary { background: #fff5f0; border-color: #f2ded7; }
.jwl-guide-summary h2,
.jwl-guide-toc h2 { font-size: 22px; line-height: 1.3; margin: 0 0 20px; }
.jwl-guide-summary ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 28px; list-style: none; margin: 0; padding: 0; }
.jwl-guide-summary li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.jwl-guide-summary li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #f4b2a9; color: #59262d; font-size: 13px; font-weight: 800; }
.jwl-guide-toc { margin-top: 20px; }
.jwl-guide-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; counter-reset: guide-toc; list-style: none; margin: 0; padding: 0; }
.jwl-guide-toc li { counter-increment: guide-toc; min-width: 0; }
.jwl-guide-toc li a { display: flex; align-items: flex-start; gap: 11px; color: var(--guide-ink); font-size: 14px; line-height: 1.45; text-decoration: none; }
.jwl-guide-toc li a::before { content: counter(guide-toc, decimal-leading-zero); flex: none; color: #8c303b; background: var(--guide-coral-soft); border-radius: 5px; font-size: 11px; font-weight: 800; line-height: 1.65; padding: 1px 6px; }
.jwl-guide-toc li a:hover { color: var(--guide-coral); text-decoration: underline; }

.jwl-guide-article { margin-top: 64px; }
.jwl-guide-article p,
.jwl-guide-article li { font-size: 18px; line-height: 1.72; }
.jwl-guide-article p { margin: 0 0 24px; }
.jwl-guide-article :is(ul, ol) { padding-left: 1.4em; margin: 0 0 25px; }
.jwl-guide-article li + li { margin-top: 8px; }
.jwl-guide-intro { font-size: 19px; padding-bottom: 14px; }
.jwl-guide-section { margin-top: 64px; }
.jwl-guide-section h2 { font-size: clamp(30px, 3vw, 34px); line-height: 1.22; margin: 0 0 19px; scroll-margin-top: 24px; }
.jwl-guide-section h3 { font-size: 22px; line-height: 1.3; margin: 32px 0 15px; }
.jwl-guide-section :last-child { margin-bottom: 0; }
.jwl-guide-section table { width: 100%; }
.jwl-guide-section .jwl-guide-data-table { background: var(--guide-surface); border-collapse: collapse; table-layout: fixed; margin-block: 24px; }
.jwl-guide-data-table :is(th, td) { border: 1px solid var(--guide-line); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; padding: 13px 15px; text-align: left; vertical-align: top; }
.jwl-guide-data-table thead th { background: #fce7e0; color: #5b252e; font-weight: 750; }
.jwl-guide-data-table tbody tr:nth-child(even) { background: #fffaf7; }

.jwl-guide-component { margin-block: 30px 10px; }
.jwl-guide-component--wide { position: relative; left: 50%; transform: translateX(-50%); width: min(1000px, calc(100vw - 64px)); }
.jwl-guide-component h2 { font-size: clamp(30px, 3vw, 34px); line-height: 1.22; margin: 0 0 18px; scroll-margin-top: 24px; }
.jwl-guide-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jwl-guide-card { background: #fffaf7; border: 1px solid var(--guide-line); border-radius: 12px; padding: 23px 23px 24px; }
.jwl-guide-card h3 { position: relative; font-size: 17px; line-height: 1.35; margin: 0 0 12px; padding-left: 19px; }
.jwl-guide-card h3::before { content: ""; position: absolute; left: 0; top: .35em; width: 9px; height: 9px; border: 2px solid var(--guide-coral); border-radius: 3px; }
.jwl-guide-card p { color: var(--guide-muted); font-size: 15px; line-height: 1.55; margin: 0; }
.jwl-guide-callout,
.jwl-guide-checklist { background: #fff5f1; border: 1px solid #e9c9c5; border-left: 3px solid var(--guide-coral); border-radius: 12px; padding: 22px 26px; margin: 28px 0 4px; }
.jwl-guide-callout__label { color: #8d2e39; display: block; font-size: 14px; font-weight: 800; line-height: 1.4; margin-bottom: 7px; }
.jwl-guide-callout p { font-size: 16px; line-height: 1.6; margin: 0; }
.jwl-guide-checklist h3 { font-size: 19px; margin: 0 0 12px; }
.jwl-guide-checklist ul { margin: 0; padding-left: 1.25em; }
.jwl-guide-checklist li { font-size: 16px; line-height: 1.55; }

.jwl-guide-table-wrap { border: 1px solid var(--guide-line); border-radius: 10px; overflow: hidden; }
.jwl-guide-comparison table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; background: var(--guide-surface); }
.jwl-guide-comparison :is(th, td) { text-align: left; vertical-align: top; padding: 15px 17px; border-bottom: 1px solid var(--guide-line); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.jwl-guide-comparison thead th { color: #5b252e; background: #fce7e0; font-weight: 750; }
.jwl-guide-comparison tbody th { font-weight: 700; width: 30%; }
.jwl-guide-comparison tbody tr:last-child :is(th, td) { border-bottom: 0; }
.jwl-guide-comparison tbody tr:nth-child(even) { background: #fffaf7; }

.jwl-guide-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jwl-guide-product-card { background: #fffdfb; border: 1px solid var(--guide-line); border-radius: 12px; overflow: hidden; min-width: 0; }
.jwl-guide-product-card a { display: flex; flex-direction: column; color: var(--guide-ink); height: 100%; text-decoration: none; }
.jwl-guide-product-card a:hover .jwl-guide-product-card__link { text-decoration: underline; }
.jwl-guide-product-card__media { display: grid; place-items: center; background: #fff7f4; aspect-ratio: 4 / 3; padding: 12px; }
.jwl-guide-product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.jwl-guide-product-card__model { color: var(--guide-coral); font-size: 12px; font-weight: 800; letter-spacing: .04em; margin: 16px 17px 4px; }
.jwl-guide-product-card strong { font-size: 15px; line-height: 1.35; margin: 0 17px 14px; }
.jwl-guide-product-card__link { color: var(--guide-coral); font-size: 14px; font-weight: 750; margin: auto 17px 17px; }

.jwl-guide-faq { margin-top: 70px; }
.jwl-guide-faq h2 { font-size: clamp(30px, 3vw, 34px); line-height: 1.22; margin: 0 0 23px; }
.jwl-guide-faq details { background: #fffdfb; border: 1px solid var(--guide-line); border-radius: 9px; margin-top: 10px; padding: 0 18px; }
.jwl-guide-faq summary { cursor: pointer; font-size: 16px; font-weight: 680; line-height: 1.5; list-style: none; padding: 16px 30px 16px 0; position: relative; }
.jwl-guide-faq summary::-webkit-details-marker { display: none; }
.jwl-guide-faq summary::after { content: "+"; color: #8d303a; font-size: 23px; font-weight: 350; position: absolute; right: 0; top: 9px; }
.jwl-guide-faq details[open] summary::after { content: "−"; }
.jwl-guide-faq details p { color: var(--guide-muted); font-size: 16px; line-height: 1.6; margin: 0; padding: 0 0 18px; }
.jwl-guide-faq__trailing { margin-top: 24px; }
.jwl-guide-faq__trailing p { margin-bottom: 16px; }

.jwl-guide-final-cta { background: #fff0eb; border: 1px solid #f2d6cf; border-radius: 14px; margin: 70px auto 0; max-width: 1000px; padding: 34px 38px; }
.jwl-guide-final-cta h2 { font-size: clamp(27px, 2.5vw, 32px); line-height: 1.2; margin: 0 0 10px; }
.jwl-guide-final-cta p:not(.jwl-guide-eyebrow) { color: var(--guide-muted); font-size: 17px; line-height: 1.55; margin: 0; }
.jwl-guide-final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.jwl-guide-button { align-items: center; border: 1px solid var(--guide-coral); border-radius: 8px; display: inline-flex; font-size: 15px; font-weight: 760; justify-content: center; line-height: 1.2; min-height: 50px; padding: 12px 22px; text-decoration: none; }
.jwl-guide-button--primary { background: var(--guide-coral); color: #fff !important; }
.jwl-guide-button--secondary { background: #fffdfb; color: var(--guide-coral) !important; }
.jwl-guide-button:hover { filter: brightness(.95); }

@media (max-width: 1050px) {
  .jwl-guide-hero__inner { gap: 28px; }
  .jwl-guide-hero--image .jwl-guide-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); }
  .jwl-guide-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jwl-guide-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .jwl-buyer-guide { font-size: 17px; }
  .jwl-guide-shell { width: calc(100% - 44px); }
  .jwl-guide-hero__inner,
  .jwl-guide-hero--image .jwl-guide-hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-block: 34px 38px; }
  .jwl-guide-hero__copy { order: 0; }
  .jwl-guide-hero__visual { order: 1; }
  .jwl-guide-breadcrumb { font-size: 12px; margin-bottom: 16px; }
  .jwl-buyer-guide h1 { font-size: clamp(32px, 8.6vw, 36px); line-height: 1.16; }
  .jwl-guide-hero__summary { font-size: 17px; line-height: 1.58; margin-top: 17px; }
  .jwl-guide-meta { gap: 8px 14px; font-size: 12px; margin-top: 20px; }
  .jwl-guide-layout { padding-block: 22px 68px; }
  .jwl-guide-summary,
  .jwl-guide-toc { padding: 23px 21px; }
  .jwl-guide-summary ul,
  .jwl-guide-toc ol { grid-template-columns: 1fr; }
  .jwl-guide-summary h2,
  .jwl-guide-toc h2 { font-size: 20px; }
  .jwl-guide-article { margin-top: 42px; }
  .jwl-guide-article p,
  .jwl-guide-article li { font-size: 17px; line-height: 1.7; }
  .jwl-guide-article p { margin-bottom: 22px; }
  .jwl-guide-section { margin-top: 56px; }
  .jwl-guide-section h2 { font-size: 30px; line-height: 1.23; }
  .jwl-guide-component--wide { left: auto; transform: none; width: 100%; }
  .jwl-guide-card-grid,
  .jwl-guide-product-grid { grid-template-columns: 1fr; }
  .jwl-guide-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .jwl-guide-comparison tbody,
  .jwl-guide-comparison tr,
  .jwl-guide-comparison :is(th, td) { display: block; width: 100%; }
  .jwl-guide-comparison tbody th { width: 100%; }
  .jwl-guide-comparison tr { border-bottom: 8px solid #fff6f1; }
  .jwl-guide-comparison tr:last-child { border-bottom: 0; }
  .jwl-guide-comparison :is(th, td) { border-bottom: 1px solid var(--guide-line) !important; padding: 10px 15px; }
  .jwl-guide-comparison :is(th, td)::before { content: attr(data-label); color: #82333b; display: block; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 3px; }
  .jwl-guide-comparison tbody th::before { display: none; }
  .jwl-guide-section .jwl-guide-data-table { border: 1px solid var(--guide-line); border-radius: 9px; display: block; overflow: hidden; }
  .jwl-guide-data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .jwl-guide-data-table tbody,
  .jwl-guide-data-table tr,
  .jwl-guide-data-table :is(th, td) { display: block; width: 100%; }
  .jwl-guide-data-table tr { border-bottom: 8px solid #fff6f1; }
  .jwl-guide-data-table tr:last-child { border-bottom: 0; }
  .jwl-guide-data-table :is(th, td) { border: 0; border-bottom: 1px solid var(--guide-line); padding: 11px 15px; }
  .jwl-guide-data-table :is(th, td)::before { color: #82333b; content: attr(data-label); display: block; font-size: 11px; font-weight: 800; letter-spacing: .03em; margin-bottom: 3px; text-transform: uppercase; }
  .jwl-guide-product-card__media { aspect-ratio: 16 / 9; }
  .jwl-guide-faq { margin-top: 58px; }
  .jwl-guide-final-cta { margin-top: 58px; padding: 27px 22px; }
  .jwl-guide-final-cta__actions { display: grid; grid-template-columns: 1fr; }
  .jwl-guide-button { width: 100%; }
}
