.cb-home-products,.cb-products-admin,.cb-home-editorials,.cb-editorials-admin{background:#fff;color:#000}.cb-product-website{display:inline-block;margin-top:20px;padding:9px 14px;border:1px solid #bbb;border-radius:7px;color:#000!important;text-decoration:none}.cb-products-admin .cb-product-admin-row{display:flex;gap:12px;align-items:center;padding:9px 0;color:#000;background:#fff;white-space:nowrap}.cb-product-admin-row>span:first-child{flex:0 0 155px;overflow:hidden;text-overflow:ellipsis}.cb-product-admin-row strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.cb-product-admin-row button{margin:0}.cb-products-admin [data-list]{overflow-x:auto}@media(max-width:650px){.cb-product-admin-row{min-width:580px}}
.cb-kb [data-products-back]{display:inline-flex;align-items:center;gap:6px;padding:8px;color:#000;text-decoration:none;border:0;background:#fff}.cb-kb [data-products-back] [aria-hidden]{font-size:22px;line-height:1}

.cb-editorials-admin .cb-product-admin-row{display:flex;gap:12px;align-items:center;padding:9px 0;color:#000;background:#fff;white-space:nowrap}.cb-editorials-admin [data-list]{overflow-x:auto}.cb-kb [data-editorials-back]{display:inline-flex;align-items:center;gap:6px;padding:8px;color:#000;text-decoration:none;border:0;background:#fff}.cb-kb [data-editorials-back] [aria-hidden]{font-size:22px;line-height:1}
.cb-board-image-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0;color:#000;background:#fff}.cb-board-image-fields fieldset{min-width:0;border:1px solid #ccc;border-radius:8px;padding:12px}.cb-board-image-fields input{max-width:100%}.cb-board-image-fields p{grid-column:1/-1;margin:0}.cb-board-image-preview{display:block;max-width:100%;max-height:220px;object-fit:contain;margin:12px 0}.cb-board-image-preview[hidden]{display:none}.cb-board-placement{display:flex;flex-wrap:wrap;gap:20px;margin:16px 0}.cb-board-row-placement{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}.cb-board-row-placement input{margin:0}.cb-board-hero{display:block;max-width:100%;width:auto;max-height:70vh;object-fit:contain;margin:18px auto}.cb-kb-card img.cb-board-thumb{width:88px;height:70px;flex:0 0 88px;object-fit:contain;border-radius:6px;background:#fff}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-kb-card img.cb-board-thumb{width:88px!important;height:70px!important;flex:0 0 88px!important;object-fit:contain}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-kb-grid{grid-auto-rows:minmax(138px,auto)}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead{grid-column:span 2;grid-row:span 2;display:flex;flex-direction:column;min-height:288px;align-items:stretch}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead img.cb-board-thumb{width:100%!important;height:200px!important;max-height:260px!important;flex:1 1 auto!important;object-fit:contain}
@media(max-width:720px){html body.cb-renewal :is(.cb-home-products,.cb-home-editorials).cb-kb .cb-kb-grid{grid-template-columns:1fr!important}html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead{grid-column:auto;grid-row:auto;min-height:0}.cb-board-image-fields{grid-template-columns:1fr}}
.cb-board-has-image>div{min-width:0;flex:1}

/* Homepage boards: featured image/copy above content; regular cards match agent cards. */
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-home-card{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-content:start;align-items:start;padding:14px 12px;background:#fff;color:#000;text-align:left}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-home-card>img.cb-board-category-icon{width:24px!important;height:24px!important;object-fit:contain}
.cb-board-card-main,.cb-board-card-copy{min-width:0}.cb-board-card-top{display:flex;flex-direction:column;gap:12px}.cb-board-card-main>small{display:block;margin:0 0 8px}.cb-board-card-copy strong{display:block}.cb-board-card-copy p{margin:6px 0 0}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-home-card img.cb-board-thumb{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;max-height:none!important;object-fit:contain;flex:none!important;margin:0;border-radius:6px}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead .cb-board-card-top{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.cb-board-card-content{grid-column:1/-1;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:#000;margin:8px 20px 0;display:block;overflow:visible}
@media(max-width:720px){html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead .cb-board-card-top{grid-template-columns:1fr}.cb-board-card-content{margin:8px 0 0}}

/* Regular homepage board images: fixed small-image display size. */
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-home-card:not(.cb-board-lead) img.cb-board-thumb{width:250px!important;height:140px!important;max-width:none!important;aspect-ratio:auto;object-fit:contain;align-self:center;flex:none!important}

@media(max-width:720px){html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-home-card:not(.cb-board-lead) img.cb-board-thumb{max-width:100%!important}}

/* Featured homepage board image size. */
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead img.cb-board-thumb{width:300px!important;height:150px!important;max-width:none!important;max-height:none!important;aspect-ratio:auto;object-fit:contain;flex:none!important}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead .cb-board-card-top{grid-template-columns:300px minmax(0,1fr)}
@media(max-width:720px){html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead img.cb-board-thumb{max-width:100%!important}html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead .cb-board-card-top{grid-template-columns:1fr}}

/* Shrink both image dimensions with the card, keeping the original display ratio. */
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-home-card:not(.cb-board-lead) img.cb-board-thumb{width:min(250px,100%)!important;max-width:100%!important;height:auto!important;aspect-ratio:25/14!important}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead img.cb-board-thumb{width:min(300px,100%)!important;max-width:100%!important;height:auto!important;aspect-ratio:2/1!important}
html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead .cb-board-card-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:720px){html body.cb-renewal :is(.cb-home-products,.cb-home-editorials) .cb-board-lead .cb-board-card-top{grid-template-columns:minmax(0,1fr)}}
