/* v3.1.58: SWELL article rankings — no modification of ASP issued HTML. */
:is(.post_content,.entry-content,.l-mainContent) .kdbe-ranking-table-note {margin:16px 0;padding:12px 16px;background:#f2f8f7;border-left:3px solid #16775e;color:#365850;font-size:14px;line-height:1.7;border-radius:8px}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-recommendations {
  display:block!important;max-width:100%;box-sizing:border-box;margin:24px 0 30px!important;padding:20px!important;
  border:1px solid #d8e8e3!important;border-radius:18px!important;background:#f6faf9!important;
  box-shadow:0 10px 30px rgba(20,75,62,.05)!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-recommendation-head {display:flex!important;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 18px;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-title-icon {font-size:25px;line-height:1.3;flex:none;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-title-line {display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#173d32;font-size:clamp(18px,2vw,22px);line-height:1.45;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-title-line strong {font-weight:900!important;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-title-copy p {margin:6px 0 0!important;color:#526961;font-size:13px;line-height:1.55;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-pr,
:is(.post_content,.entry-content,.l-mainContent) .kdbe-official-badge {display:inline-flex;border-radius:6px;padding:3px 8px;background:#e8f3f0;color:#155a46;font-size:11px;line-height:1.5;font-weight:800;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start!important;grid-auto-rows:auto!important;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer[data-kdbe-rank="1"] {grid-column:1/-1!important;border:2px solid var(--kdbe-genre-accent,#178066)!important;background:#fbfffd!important;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer {box-sizing:border-box;min-width:0;max-width:100%;min-height:0!important;height:auto!important;display:flex!important;flex-direction:column!important;align-self:start!important;gap:12px!important;padding:18px!important;border:1px solid #d8e7e2;border-radius:14px;background:#fff;box-shadow:0 7px 17px rgba(30,82,66,.04);}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-body {flex:none!important;margin:0!important;min-height:0!important;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-rank {display:flex!important;align-items:center;flex-wrap:wrap;gap:6px;align-self:flex-start;font-weight:800;color:#176d54;font-size:13px;line-height:1.4;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-rank b {font-size:16px;color:#176d54;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-name {display:block;color:#173e33;font-size:clamp(17px,1.8vw,21px);line-height:1.45;font-weight:900;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-body p {font-size:13px;line-height:1.7;color:#536b61;margin:8px 0 0!important;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-image {display:block!important;width:100%;aspect-ratio:16/9;overflow:hidden;border:1px solid #dce6e1;border-radius:11px;background:#fff;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-image img {display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center top!important;margin:0!important;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-appeals {display:flex;flex-wrap:wrap;gap:7px;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-appeals span {display:inline-flex;align-items:center;min-width:0;padding:6px 9px;border:1px solid #c8e4d6;border-radius:8px;background:#edf8f2;color:#176248;font-size:12px;line-height:1.5;font-weight:750;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-details {display:block;margin:0;overflow:hidden;border:1px solid #dce8e3;border-radius:10px;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-detail-row {display:grid!important;grid-template-columns:minmax(85px,34%) minmax(0,1fr);border-top:1px solid #e1ece7;margin:0;padding:0;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-detail-row:first-child {border-top:0;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-detail-row dt,
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-detail-row dd {margin:0!important;padding:9px 10px;font-size:12px;line-height:1.55;overflow-wrap:anywhere;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-detail-row dt {background:#f2f7f4;color:#3c5f51;font-weight:850;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-detail-row dd {color:#29473c;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-action-hint {margin:10px 0 2px!important;text-align:center;color:#176248;font-size:13px;font-weight:800;line-height:1.5;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:100%;overflow-wrap:anywhere;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw>img[width="1"],:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw>img[height="1"] {position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;max-width:1px!important;margin:0!important;padding:0!important;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw a,
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer>a.kdbe-btn {position:relative;isolation:isolate;overflow:hidden;display:flex!important;justify-content:center;align-items:center;box-sizing:border-box;min-width:0;max-width:100%;width:100%!important;min-height:56px;max-height:none;height:auto;padding:12px 16px;margin:0!important;border:1px solid var(--kdbe-genre-dark,#14644c);border-radius:12px;background:var(--kdbe-genre-accent,#16785d);color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;text-align:center;font-size:14px;font-weight:900;line-height:1.45;overflow-wrap:anywhere;word-break:break-word;box-shadow:0 4px 0 #10523e,0 12px 22px rgba(14,95,69,.15);transition:transform .2s ease,filter .2s ease;}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw a:hover,:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer>a.kdbe-btn:hover {transform:translateY(-2px);filter:brightness(1.06)}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw a:focus-visible,:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer>a.kdbe-btn:focus-visible {outline:3px solid #e79f1b;outline-offset:3px}
@keyframes kdbe-post-shimmer{0%,68%{left:-90%;opacity:0}74%{opacity:.25}89%{left:120%;opacity:.25}100%{left:120%;opacity:0}}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw a::after,:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer>a.kdbe-btn::after {content:"";position:absolute;top:0;bottom:0;left:-90%;width:50%;background:linear-gradient(95deg,transparent,rgba(255,255,255,.55),transparent);pointer-events:none;animation:kdbe-post-shimmer 6s infinite}
@media(max-width:740px){:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-recommendations {padding:13px!important}:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-grid {grid-template-columns:minmax(0,1fr)!important;gap:13px!important}:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer[data-kdbe-rank="1"]{grid-column:auto!important}:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer {padding:14px!important}}
@media(prefers-reduced-motion:reduce){:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-raw a::after,:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-offer>a.kdbe-btn::after{animation:none!important}}


/* v3.1.63: SWELL article comparison design -- original ASP HTML remains untouched */
:is(.post_content,.entry-content,.l-mainContent) .kdbe-ranking-table-note{
  margin:16px 0;padding:12px 16px;background:#eff7f4;border-left:4px solid #227c66;color:#264f43;font-size:14px;line-height:1.7;border-radius:8px;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-recommendations:not(.is-compact){
  max-width:100%;min-width:0;margin:24px 0 30px!important;padding:18px!important;
  border:1px solid var(--kdbe-genre-ring,#d8e8e3)!important;border-radius:17px!important;
  background:var(--kdbe-genre-soft,#f6faf9)!important;box-sizing:border-box;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-standard-ranking-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:15px!important;align-items:start!important;grid-auto-rows:auto!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer{
  display:flex!important;flex-direction:column!important;gap:10px!important;
  min-width:0!important;min-height:0!important;height:auto!important;align-self:start!important;
  margin:0!important;padding:16px!important;border-radius:14px!important;
  border:1px solid var(--kdbe-genre-ring,#d8e8e3)!important;background:#fff!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer[data-kdbe-rank="1"]{
  grid-column:1/-1!important;border:2px solid var(--kdbe-genre-accent,#18775e)!important;
  background:linear-gradient(130deg,var(--kdbe-genre-soft,#f4faf7),#fff 75%)!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-offer-body{
  flex:0 0 auto!important;margin:0!important;min-height:0!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-research-info{
  margin-top:5px!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-offer-image{
  display:block!important;width:100%!important;min-height:0!important;
  height:clamp(150px,18vw,220px)!important;max-height:220px!important;overflow:hidden!important;
  background:#fff!important;border-radius:10px!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-offer-image img{
  width:100%!important;height:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center top!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-action-hint{margin:6px 0 3px!important}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-offer>.kdbe-affiliate-raw,
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-offer>a.kdbe-btn{
  flex:0 0 auto!important;align-self:stretch!important;margin:0!important;max-width:100%!important;
  min-height:54px!important;height:auto!important;max-height:none!important;
}
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-raw a,
:is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid .kdbe-affiliate-offer>a.kdbe-btn{
  display:flex!important;align-items:center;justify-content:center;
  width:100%!important;max-width:100%!important;height:auto!important;min-height:54px!important;
  box-sizing:border-box!important;padding:12px 16px!important;white-space:normal!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.5!important;
  background:var(--kdbe-genre-accent,#16775e)!important;color:white!important;-webkit-text-fill-color:white!important;
  text-decoration:none!important;font-weight:800!important;border-radius:12px!important;
}
@media(max-width:740px){
 :is(.post_content,.entry-content,.l-mainContent) .kdbe-affiliate-recommendations:not(.is-compact){padding:12px!important}
 :is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 :is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer[data-kdbe-rank="1"]{grid-column:auto!important}
 :is(.post_content,.entry-content,.l-mainContent) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer{padding:13px!important}
}


/* v3.1.64: uniform rank 2/3 CTA row and a full-width sweep; ASP-issued HTML is untouched. */
.kdbe-featured-other-offers .kdbe-affiliate-offer-grid,
.kdbe-affiliate-recommendations:not(.is-compact) .kdbe-standard-ranking-grid {
  align-items:stretch!important;
  grid-auto-rows:auto!important;
}
.kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer,
.kdbe-affiliate-recommendations:not(.is-compact) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer {
  display:flex!important;flex-direction:column!important;
  align-self:stretch!important;height:100%!important;
  min-width:0!important;box-sizing:border-box!important;
}
/* Keep details adjacent to the image, move only the last CTA group to the bottom. */
.kdbe-featured-other-offers .kdbe-affiliate-offer>.kdbe-affiliate-action-hint,
.kdbe-affiliate-recommendations:not(.is-compact) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer>.kdbe-affiliate-action-hint {
  margin-top:auto!important;
  padding-top:12px!important;
  text-align:center!important;
}
.kdbe-featured-other-offers .kdbe-affiliate-offer>.kdbe-affiliate-raw,
.kdbe-featured-other-offers .kdbe-affiliate-offer>a.kdbe-btn,
.kdbe-affiliate-recommendations:not(.is-compact) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw,
.kdbe-affiliate-recommendations:not(.is-compact) .kdbe-standard-ranking-grid>.kdbe-affiliate-offer>a.kdbe-btn {
  align-self:stretch!important;flex:none!important;
  margin-top:5px!important;min-width:0!important;
}
/* Both links supplied by ASPs and official URL fallbacks get the same physical size.
   The <a> and any 1x1 <img> tracking pixel are never rewritten. */
.kdbe-featured-other-offers .kdbe-affiliate-offer .kdbe-affiliate-raw>a,
.kdbe-featured-other-offers .kdbe-affiliate-offer>a.kdbe-btn,
.kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer .kdbe-affiliate-raw>a,
.kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer>a.kdbe-btn {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;
  height:72px!important;min-height:72px!important;max-height:none!important;
  margin:0!important;padding:7px 12px!important;box-sizing:border-box!important;
  font-size:clamp(12px,1.15vw,15px)!important;line-height:1.35!important;
  white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;
  text-align:center!important;
}
/* Uniform button styling for the lead offer, other ranked cards and embedded article CTAs. */
.kdbe-affiliate-recommendations .kdbe-affiliate-raw>a,
.kdbe-affiliate-recommendations a.kdbe-btn,
.kdbe-featured-other-offers .kdbe-affiliate-raw>a,
.kdbe-featured-other-offers a.kdbe-btn,
.kdbe-roof-focus-wrap .kdbe-affiliate-raw>a,
.kdbe-roof-focus-wrap a.kdbe-btn,
.kdbe-ranking-stack .kdbe-company-switch-action.kdbe-affiliate-raw>a,
.kdbe-ranking-stack a.kdbe-company-switch-action,
.kdbe-aa-box .kdbe-aa-raw>a,
.kdbe-aa-box a.kdbe-aa-button {
  position:relative!important;isolation:isolate!important;
  overflow:hidden!important;cursor:pointer!important;
  background-clip:padding-box!important;
  animation:kdbe3164-pulse 3.8s ease-in-out infinite!important;
}
@keyframes kdbe3164-sweep {
  0%,13% {transform:translateX(-270%) skewX(-16deg);opacity:0;}
  20% {opacity:.92;}
  55% {opacity:.92;}
  64%,100% {transform:translateX(375%) skewX(-16deg);opacity:0;}
}
@keyframes kdbe3164-pulse {
  0%,70%,100% {filter:brightness(1);}
  37% {filter:brightness(1.15);}
}
.kdbe-affiliate-recommendations .kdbe-affiliate-raw>a::after,
.kdbe-affiliate-recommendations a.kdbe-btn::after,
.kdbe-featured-other-offers .kdbe-affiliate-raw>a::after,
.kdbe-featured-other-offers a.kdbe-btn::after,
.kdbe-roof-focus-wrap .kdbe-affiliate-raw>a::after,
.kdbe-roof-focus-wrap a.kdbe-btn::after,
.kdbe-ranking-stack .kdbe-company-switch-action.kdbe-affiliate-raw>a::after,
.kdbe-ranking-stack a.kdbe-company-switch-action::after,
.kdbe-aa-box .kdbe-aa-raw>a::after,
.kdbe-aa-box a.kdbe-aa-button::after {
  content:""!important;position:absolute!important;display:block!important;
  inset:0 auto 0 0!important;width:40%!important;height:100%!important;
  z-index:1!important;pointer-events:none!important;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.12) 20%,rgba(255,255,255,.88) 50%,rgba(255,255,255,.12) 80%,transparent 100%)!important;
  animation:kdbe3164-sweep 3.8s ease-in-out infinite!important;
}
@media(max-width:740px){
 .kdbe-featured-other-offers .kdbe-affiliate-offer .kdbe-affiliate-raw>a,
 .kdbe-featured-other-offers .kdbe-affiliate-offer>a.kdbe-btn,
 .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer .kdbe-affiliate-raw>a,
 .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer>a.kdbe-btn {
   font-size:14px!important;min-height:68px!important;height:68px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .kdbe-affiliate-recommendations .kdbe-affiliate-raw>a,
 .kdbe-affiliate-recommendations a.kdbe-btn,
 .kdbe-featured-other-offers .kdbe-affiliate-raw>a,
 .kdbe-featured-other-offers a.kdbe-btn,
 .kdbe-roof-focus-wrap .kdbe-affiliate-raw>a,
 .kdbe-roof-focus-wrap a.kdbe-btn,
 .kdbe-ranking-stack .kdbe-company-switch-action.kdbe-affiliate-raw>a,
 .kdbe-ranking-stack a.kdbe-company-switch-action,
 .kdbe-aa-box .kdbe-aa-raw>a,
 .kdbe-aa-box a.kdbe-aa-button,
 .kdbe-affiliate-recommendations .kdbe-affiliate-raw>a::after,
 .kdbe-affiliate-recommendations a.kdbe-btn::after,
 .kdbe-featured-other-offers .kdbe-affiliate-raw>a::after,
 .kdbe-featured-other-offers a.kdbe-btn::after,
 .kdbe-roof-focus-wrap .kdbe-affiliate-raw>a::after,
 .kdbe-roof-focus-wrap a.kdbe-btn::after,
 .kdbe-ranking-stack .kdbe-company-switch-action.kdbe-affiliate-raw>a::after,
 .kdbe-ranking-stack a.kdbe-company-switch-action::after,
 .kdbe-aa-box .kdbe-aa-raw>a::after,
 .kdbe-aa-box a.kdbe-aa-button::after {animation:none!important;filter:none!important;}
}

/* v3.1.64 cascade-lock: outrank earlier v3.1.61 rules forcing CTA height:56px */
body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn {
  height:72px!important;min-height:72px!important;max-height:72px!important;
  box-sizing:border-box!important;padding:7px 12px!important;
  width:100%!important;max-width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:14px!important;line-height:1.35!important;white-space:normal!important;
  text-align:center!important;overflow-wrap:anywhere!important;word-break:break-word!important;
}
@media(max-width:740px){
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn {
   height:68px!important;min-height:68px!important;max-height:68px!important;
 }
}

/* v3.1.64 cascade-lock: outrank earlier v3.1.61 rules forcing CTA height:56px */
body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn {
  height:72px!important;min-height:72px!important;max-height:72px!important;
  box-sizing:border-box!important;padding:7px 12px!important;
  width:100%!important;max-width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:14px!important;line-height:1.35!important;white-space:normal!important;
  text-align:center!important;overflow-wrap:anywhere!important;word-break:break-word!important;
}
@media(max-width:740px){
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn {
   height:68px!important;min-height:68px!important;max-height:68px!important;
 }
}

body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw {
  display:flex!important;align-items:center!important;justify-content:center!important;
  margin:5px 0 0!important;flex:0 0 72px!important;
  height:72px!important;min-height:72px!important;max-height:72px!important;
  box-sizing:border-box!important;width:100%!important;
}
@media(max-width:740px){
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw {
    flex-basis:68px!important;height:68px!important;min-height:68px!important;max-height:68px!important;
 }
}

/* v3.1.64 cascade-lock: outrank earlier v3.1.61 rules forcing CTA height:56px */
body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn {
  height:72px!important;min-height:72px!important;max-height:72px!important;
  box-sizing:border-box!important;padding:7px 12px!important;
  width:100%!important;max-width:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:14px!important;line-height:1.35!important;white-space:normal!important;
  text-align:center!important;overflow-wrap:anywhere!important;word-break:break-word!important;
}
@media(max-width:740px){
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw>a,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>a.kdbe-btn {
   height:68px!important;min-height:68px!important;max-height:68px!important;
 }
}

body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw,
body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw {
  display:flex!important;align-items:center!important;justify-content:center!important;
  margin:5px 0 0!important;flex:0 0 72px!important;
  height:72px!important;min-height:72px!important;max-height:72px!important;
  box-sizing:border-box!important;width:100%!important;
}
@media(max-width:740px){
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw,
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid>.kdbe-affiliate-offer>.kdbe-affiliate-raw {
    flex-basis:68px!important;height:68px!important;min-height:68px!important;max-height:68px!important;
 }
}

/* Mobile: never keep the desktop comparison two-column layout in a post. */
@media(max-width:740px){
 body .kdbe-affiliate-recommendations:not(.is-compact) .kdbe-affiliate-offer-grid.kdbe-standard-ranking-grid,
 body .kdbe-featured-other-offers .kdbe-affiliate-offer-grid {
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   align-items:stretch!important;
 }
}
