/* v1.0.1 — only appearance. NEVER rewrite affiliate link HTML/shortcodes. */
/* CTA: Three neighboring parts of the existing SWELL affiliate CTA behave as
 * one card without wrapping or mutating the Rentracks/other ASP tracking HTML. */
body.single .post_content .cse-affiliate-cta > .cse-cta-benefit,
body.page .post_content .cse-affiliate-cta > .cse-cta-benefit {
  box-sizing:border-box;
  margin:22px 0 0 !important;
  padding:17px 20px 7px !important;
  background:linear-gradient(115deg,#edf5ff 0%,#f8fbff 100%) !important;
  border:1px solid #bcd1ea !important;
  border-bottom:0 !important;
  border-radius:16px 16px 0 0 !important;
  color:#183856 !important;
  text-align:center !important;
  box-shadow:none !important;
}
body.single .post_content .cse-affiliate-cta > .cse-cta-benefit > strong,
body.page .post_content .cse-affiliate-cta > .cse-cta-benefit > strong {
  display:inline !important;
  font-size:clamp(15px,1.8vw,19px) !important;
  font-weight:700 !important;
  line-height:1.65 !important;
  color:#183856 !important;
  overflow-wrap:anywhere;
}
body.single .post_content .cse-affiliate-cta > .cse-cta-benefit .cse-cta-slash,
body.page .post_content .cse-affiliate-cta > .cse-cta-benefit .cse-cta-slash {
  color:#286aa8 !important;
  font-weight:700;
}
body.single .post_content .cse-affiliate-cta > .cse-cta-link-intro,
body.page .post_content .cse-affiliate-cta > .cse-cta-link-intro {
  box-sizing:border-box;
  margin:0 !important;
  padding:5px 20px 9px !important;
  background:#f8fbff !important;
  border-left:1px solid #bcd1ea !important;
  border-right:1px solid #bcd1ea !important;
  border-top:0 !important;
  border-bottom:0 !important;
  color:#31506e !important;
  text-align:center !important;
  line-height:1.6 !important;
  font-size:clamp(13px,1.5vw,16px) !important;
  box-shadow:none !important;
}
body.single .post_content .cse-affiliate-cta > .swell-block-button.cse-affiliate-button,
body.page .post_content .cse-affiliate-cta > .swell-block-button.cse-affiliate-button {
  box-sizing:border-box;
  width:100% !important;
  max-width:none !important;
  margin:0 0 26px !important;
  padding:4px 20px 20px !important;
  background:#f8fbff !important;
  border-left:1px solid #bcd1ea !important;
  border-right:1px solid #bcd1ea !important;
  border-top:0 !important;
  border-bottom:1px solid #bcd1ea !important;
  border-radius:0 0 16px 16px !important;
  box-shadow:0 9px 24px rgba(34,74,120,.11) !important;
  text-align:center !important;
}
body.single .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim,
body.page .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim {
  display:block !important;
  box-sizing:border-box;
  width:100% !important;
  max-width:540px;
  margin:0 auto;
}
body.single .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim > a,
body.page .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim > a {
  display:block !important;
  box-sizing:border-box;
  width:100% !important;
  min-height:54px;
  margin:0 auto !important;
  padding:15px 18px !important;
  border:1px solid #0d5eae !important;
  border-radius:11px !important;
  background:linear-gradient(120deg,#147bcc 0%,#0756b0 100%) !important;
  box-shadow:0 5px 0 #073e7e,0 10px 20px rgba(9,83,154,.16) !important;
  color:#fff !important;
  font-size:clamp(15px,1.8vw,18px) !important;
  font-weight:700 !important;
  line-height:1.55 !important;
  text-decoration:none !important;
  text-align:center !important;
  text-shadow:none !important;
  transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease;
  overflow-wrap:anywhere;
}
body.single .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim > a:hover,
body.page .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim > a:hover {
  background:linear-gradient(120deg,#0b6cba 0%,#064992 100%) !important;
  box-shadow:0 3px 0 #073e7e,0 8px 17px rgba(9,83,154,.2) !important;
  transform:translateY(2px);
}
body.single .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim > a:focus-visible,
body.page .post_content .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim > a:focus-visible {
  outline:3px solid #f1b734 !important;
  outline-offset:3px !important;
}
/* Recent quick-comparison CTAs can contain an entire affiliate panel.
 * The outer box should be a calm summary, avoiding a thick double border. */
body.single .post_content section.cse-conversion-quick,
body.page .post_content section.cse-conversion-quick,
body.single .post_content section.cse-asp-choice,
body.page .post_content section.cse-asp-choice {
  box-sizing:border-box;
  border:1px solid #dce6f0;
  border-left:4px solid #246eb4;
  border-radius:13px;
  padding:clamp(14px,2.3vw,24px);
  margin:24px 0 30px;
  background:#fff;
}
body.single .post_content section.cse-conversion-quick > :is(h2,h3),
body.page .post_content section.cse-conversion-quick > :is(h2,h3) {
  margin-top:0 !important;
  color:#213e62;
}
/* Tables: first heading cell is the only saturated blue one; all other column
 * headers are pale. No column in the BODY should have a solid blue background. */
body.single .post_content :is(.cse-table-scroll table, table.cse-comparison-table) thead th,
body.page .post_content :is(.cse-table-scroll table, table.cse-comparison-table) thead th {
  background:#f1f3f6 !important;
  background-color:#f1f3f6 !important;
  color:#183a59 !important;
  border-color:#d2dfea !important;
  line-height:1.5 !important;
}
body.single .post_content :is(.cse-table-scroll table, table.cse-comparison-table) thead th:first-child,
body.page .post_content :is(.cse-table-scroll table, table.cse-comparison-table) thead th:first-child {
  background:#22527f !important;
  background-color:#22527f !important;
  color:#fff !important;
}
body.single .post_content :is(.cse-table-scroll table, table.cse-comparison-table) tbody td,
body.page .post_content :is(.cse-table-scroll table, table.cse-comparison-table) tbody td,
body.single .post_content :is(.cse-table-scroll table, table.cse-comparison-table) tbody th,
body.page .post_content :is(.cse-table-scroll table, table.cse-comparison-table) tbody th {
  background:#fff !important;
  background-color:#fff !important;
  color:#253748 !important;
  border-color:#e0e6ed !important;
}
body.single .post_content :is(.cse-table-scroll table, table.cse-comparison-table) tbody tr:nth-child(even) > :is(th,td),
body.page .post_content :is(.cse-table-scroll table, table.cse-comparison-table) tbody tr:nth-child(even) > :is(th,td) {
  background:#f7f9fc !important;
  background-color:#f7f9fc !important;
}
body.single .post_content :is(.cse-table-scroll table, table.cse-comparison-table) :is(th,td),
body.page .post_content :is(.cse-table-scroll table, table.cse-comparison-table) :is(th,td) {
  overflow-wrap:break-word;
  vertical-align:top;
}
@media(max-width:600px) {
  body.single .post_content .cse-affiliate-cta > .cse-cta-benefit {padding:15px 12px 7px !important;}
  body.single .post_content .cse-affiliate-cta > .cse-cta-link-intro {padding:5px 12px 8px !important;}
  body.single .post_content .cse-affiliate-cta > .swell-block-button.cse-affiliate-button {padding:4px 12px 16px !important;}
  body.single .post_content .cse-affiliate-cta > .cse-cta-benefit .cse-cta-slash {display:none !important;}
  body.single .post_content :is(.cse-table-scroll table,table.cse-comparison-table) :is(th,td) {padding:.72em .7em !important;}
}
@media(prefers-reduced-motion:reduce) {
  .cse-affiliate-cta .cse-affiliate-button .cse-asp-verbatim > a {transition:none !important;transform:none !important;}
}
