.kb-managed-ad[hidden]{display:none}.kb-managed-ad{margin:18px auto;max-width:1240px}.kb-managed-ad small{display:block;color:#68727d;font-size:11px;margin-bottom:5px}.kb-managed-ad img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:12px}.kb-ads-dashboard{max-width:1100px}.kb-ads-dashboard form{display:grid;gap:12px;margin:24px 0;padding:20px;border:1px solid #e3e9e6;border-radius:12px;background:#fff}.kb-ads-dashboard label{display:grid;gap:6px}.kb-ads-dashboard input,.kb-ads-dashboard select{padding:10px;border:1px solid #d7dfda;border-radius:7px;max-width:100%}.kb-ads-dashboard button{padding:10px 16px;background:#07523a;color:#fff;border:0;border-radius:7px;cursor:pointer}.kb-ads-table{width:100%;border-collapse:collapse;margin:20px 0}.kb-ads-table td,.kb-ads-table th{text-align:left;padding:10px;border-bottom:1px solid #e3e9e6}.kb-ads-table form{padding:0;border:0;margin:8px 0}.kb-ads-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.kb-ads-metrics>div{padding:15px;border:1px solid #e3e9e6;border-radius:10px}.kb-ads-metrics strong{display:block;font-size:23px;color:#07523a}.kb-ads-pack{padding:18px;border:1px solid #e3e9e6;border-radius:12px;margin:15px 0}.kb-ads-notice{padding:15px;background:#edf8f1}@media(max-width:650px){.kb-ads-table{display:block;overflow:auto}.kb-ads-dashboard form{padding:12px}}
.kb-ad-slot:has(.kb-managed-ad[hidden]){display:none}

/* Campaign containers: sponsorship label stays inside the creative. */
.kb-ad-slot{margin:19.2px 0!important;padding:7.2px 0!important}
.kb-managed-ad{position:relative;margin:0 auto;border:1px solid #dfe8e3;border-radius:16px;overflow:hidden;background:#07523a}
.kb-managed-ad>small{position:absolute;top:10px;right:10px;z-index:2;padding:4px 9px;margin:0;border-radius:5px;background:rgba(255,255,255,.94);color:#33453b;font-size:11px;line-height:1.3;pointer-events:none}
.kb-managed-ad>a{display:block;color:inherit;text-decoration:none}
.kb-managed-ad picture{display:block}.kb-managed-ad img{width:100%;height:100%;max-height:none;border-radius:0;object-fit:contain}
.kb-ad-banner>a{aspect-ratio:24/5}.kb-ad-banner picture{width:100%;height:100%}
.kb-ad-native{background:#fff}.kb-ad-native>a{display:grid;grid-template-columns:38% 1fr;min-height:250px}
.kb-ad-native picture{min-height:250px}.kb-ad-native img{object-fit:cover}
.kb-ad-copy{padding:38px 32px 24px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.kb-ad-copy h3{font-size:26px;line-height:1.2;margin:0;color:#07523a}.kb-ad-copy p{font-size:16px;line-height:1.5;margin:0;color:#47564e}.kb-ad-copy span{font-weight:700;color:#07523a}
@media(max-width:640px){.kb-ad-slot{margin:13.2px 0!important;padding:4.8px 0!important}.kb-managed-ad>a{aspect-ratio:1/1;width:100%;min-height:0}.kb-ad-native>a{display:flex;flex-direction:column}.kb-ad-native picture{height:50%;min-height:0;flex:0 0 50%}.kb-ad-native .kb-ad-copy{height:50%;box-sizing:border-box;padding:16px 18px;gap:8px}.kb-ad-copy h3{font-size:20px}.kb-ad-copy p{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.kb-ad-copy span{font-size:14px}}

/* Compact article transitions, reduced by 90% from 64px margin + 24px padding. */
body.single .kb-ad-slot{margin:19.2px 0!important;padding:7.2px 0!important}
.kb-sidebar-campaign{margin-top:48px}.kb-sidebar-campaign:has(.kb-managed-ad[hidden]){display:none}
.kb-ad-square>a{aspect-ratio:1/1;width:100%;min-height:0}
.kb-ad-square.kb-ad-native>a{display:flex;flex-direction:column}
.kb-ad-square.kb-ad-native picture{height:50%;min-height:0;flex:0 0 50%}
.kb-ad-square .kb-ad-copy{height:50%;box-sizing:border-box;padding:16px;gap:8px}
.kb-ad-square .kb-ad-copy h3{font-size:19px}.kb-ad-square .kb-ad-copy p{font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.kb-ad-square .kb-ad-copy span{font-size:13px}
.kbp-inline-campaign{margin:42px 0;min-width:0}.kbp-inline-campaign:has(.kb-managed-ad[hidden]){display:none}.kbp-inline-campaign .kb-managed-ad{max-width:100%}
.kbp-socials:not(:has(a)){display:none}

.kb-directory-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.kb-directory-main,.kb-directory-aside{min-width:0}
.kb-directory-layout:not(:has(.kb-directory-aside)),.kb-directory-layout:has(.kb-directory-aside .kb-managed-ad[hidden]){grid-template-columns:minmax(0,1fr)}
.kb-directory-aside:has(.kb-managed-ad[hidden]){display:none}
.kb-directory-main .kb-archive-results:not(.is-list),.kb-directory-main .kb-home-regular,.kb-directory-main .kbp-grid:not(.kbp-list-view){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.kb-directory-main .kb-archive-results:not(.is-list),.kb-directory-main .kb-home-regular,.kb-directory-main .kbp-grid:not(.kbp-list-view){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.kb-directory-layout{grid-template-columns:minmax(0,1fr)}.kb-directory-aside{width:100%;max-width:400px;margin:16px auto}}
@media(max-width:640px){.kb-directory-main .kb-archive-results:not(.is-list),.kb-directory-main .kb-home-regular,.kb-directory-main .kbp-grid:not(.kbp-list-view){grid-template-columns:minmax(0,1fr)}}
/* Conventional horizontal units; square placements retain their responsive shape. */
@media(min-width:641px){
 .kb-managed-ad:not(.kb-ad-square){width:100%;max-width:970px;box-sizing:border-box}
 .kb-ad-banner:not(.kb-ad-square){height:90px;aspect-ratio:auto;border:0;border-radius:8px}
 .kb-ad-banner:not(.kb-ad-square)>a{width:100%;height:100%;aspect-ratio:auto}
 .kb-ad-native:not(.kb-ad-square){height:90px;border-radius:8px}
 .kb-ad-native:not(.kb-ad-square)>a{height:100%;min-height:0;aspect-ratio:auto;grid-template-columns:20% minmax(0,1fr)}
 .kb-ad-native:not(.kb-ad-square) picture{height:100%;min-height:0}
 .kb-ad-native:not(.kb-ad-square) .kb-ad-copy{height:100%;min-width:0;box-sizing:border-box;padding:4px 16px;gap:2px}
 .kb-ad-native:not(.kb-ad-square) .kb-ad-copy h3{font-size:17px;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-right:75px}
 .kb-ad-native:not(.kb-ad-square) .kb-ad-copy p{font-size:13px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .kb-ad-native:not(.kb-ad-square) .kb-ad-copy span{font-size:13px;line-height:1.2}
 .kb-managed-ad:not(.kb-ad-square)>small{top:5px;right:7px;font-size:10px;padding:3px 6px}
}
@media(min-width:641px) and (max-width:1001px){
 .kb-managed-ad:not(.kb-ad-square){max-width:728px}
 .kb-ad-banner:not(.kb-ad-square){height:90px;aspect-ratio:auto}
 .kb-ad-banner:not(.kb-ad-square)>a{aspect-ratio:auto}
}

/* Desktop horizontal banners fill the content container; tablet/mobile unchanged. */
@media(min-width:1002px){.kb-managed-ad:not(.kb-ad-square):not(.kb-ad-feed-card){max-width:1240px}.kb-ad-banner:not(.kb-ad-square):not(.kb-ad-feed-card){height:127px}}
.kb-ad-feed-card.kb-managed-ad{width:100%;max-width:none;height:auto;align-self:stretch;border:1px solid var(--kb-line,#e3e9e6);border-radius:14px;background:#fff;color:#17212b;margin:0;min-width:0;box-shadow:0 2px 8px rgba(20,40,30,.03)}
.kb-ad-feed-card.kb-ad-native>a{display:flex;flex-direction:column;height:100%;min-height:0;aspect-ratio:auto}
.kb-ad-feed-card.kb-ad-native picture{width:100%;height:auto;flex:none;aspect-ratio:16/10;min-height:0}
.kb-ad-feed-card img{height:100%;max-height:none;width:100%;object-fit:cover;border-radius:0}
.kb-ad-feed-card.kb-ad-native .kb-ad-copy{height:auto;flex:1;min-height:0;padding:18px;gap:12px;justify-content:flex-start}
.kb-ad-feed-card.kb-ad-native .kb-ad-copy h3{font-size:17px;line-height:1.4;white-space:normal;padding:0;color:#17212b}
.kb-ad-feed-card.kb-ad-native .kb-ad-copy p{font-size:14px;line-height:1.55;white-space:normal;display:block;overflow:visible}
.kb-ad-feed-card.kb-ad-native .kb-ad-copy span{margin-top:auto;font-size:14px;color:#087443}
.kb-ad-feed-card.kb-managed-ad>small{top:8px;right:8px}
.kb-ad-feed-card.kb-feed-unused{display:none!important}.kb-ad-feed-card.kb-ad-native picture{height:170px;aspect-ratio:auto}@media(min-width:1002px){.kb-ad-banner:not(.kb-ad-square) img{object-fit:cover}}

/* Prepared banners must remain entirely visible, with breathing room. */
.kb-ad-banner:not(.kb-ad-feed-card){padding:12px;background:var(--kb-ad-background,#07523a)}
.kb-ad-banner img{object-fit:contain!important}
.kb-ad-native{background:var(--kb-ad-background,#fff);color:var(--kb-ad-text,#17212b)}
.kb-ad-native .kb-ad-copy h3,.kb-ad-native .kb-ad-copy p{color:var(--kb-ad-text,#17212b)!important;font-size:16px;line-height:1.4}
.kb-ad-native .kb-ad-copy p{font-size:13px;line-height:1.5}
.kb-ad-native .kb-ad-copy span{display:inline-block;align-self:flex-start;border-radius:7px;padding:8px 12px;background:var(--kb-ad-cta-background,#087443);color:var(--kb-ad-cta-text,#fff)!important;font-size:13px}
.kb-managed-ad .kb-ad-logo{width:72px;height:32px;object-fit:contain;max-height:none;flex:none;margin-bottom:4px}
.kb-ad-feed-card.kb-managed-ad{border-color:#b8d8c6;box-shadow:0 0 0 3px rgba(8,116,67,.055)}
.kb-ad-feed-card.kb-ad-native .kb-ad-copy h3{font-size:16px}
.kb-ad-feed-card.kb-ad-native .kb-ad-copy p{font-size:13px}
.kb-ad-design-fields{display:grid;gap:12px;border:1px solid #d7dfda;border-radius:10px;padding:16px}
/* Composed units use live text; their height can grow to prevent clipping. */
.kb-managed-ad.kb-ad-composed{height:auto;min-height:127px;padding:18px 24px}
.kb-ad-composed.kb-ad-native>a{display:flex;flex-direction:row-reverse;align-items:center;gap:24px;min-height:0;height:auto;aspect-ratio:auto}
.kb-ad-composed.kb-ad-native picture{width:22%;height:88px;min-height:0;flex:none}
.kb-ad-composed picture img{object-fit:contain}
.kb-ad-composed.kb-ad-native .kb-ad-copy{padding:0;height:auto;flex:1;gap:6px;min-width:0}
.kb-ad-composed.kb-ad-native .kb-ad-copy h3,.kb-ad-composed.kb-ad-native .kb-ad-copy p{white-space:normal;overflow:visible;display:block;padding:0}
@media(min-width:641px){.kb-ad-native:not(.kb-ad-square):not(.kb-ad-feed-card):not(.kb-ad-composed){height:auto;min-height:90px}.kb-ad-native:not(.kb-ad-square):not(.kb-ad-feed-card):not(.kb-ad-composed)>a{min-height:90px;height:auto}.kb-ad-native:not(.kb-ad-square):not(.kb-ad-feed-card):not(.kb-ad-composed) .kb-ad-copy{height:auto;padding:16px 24px}.kb-ad-native .kb-ad-copy h3,.kb-ad-native .kb-ad-copy p{white-space:normal;overflow:visible;display:block}}
@media(max-width:640px){.kb-managed-ad.kb-ad-composed{padding:24px;min-height:0}.kb-ad-composed.kb-ad-native>a{flex-direction:column;gap:16px}.kb-ad-composed.kb-ad-native picture{width:100%;height:150px}.kb-ad-composed.kb-ad-native .kb-ad-copy{width:100%}.kb-ad-native .kb-ad-copy{height:auto!important;min-height:0}.kb-ad-native>a{height:auto;aspect-ratio:auto!important}.kb-ad-native .kb-ad-copy p{display:block;overflow:visible;-webkit-line-clamp:unset}.kb-ad-square.kb-ad-native>a{aspect-ratio:auto!important;min-height:300px}}

/* Illustration left, logo and copy center, CTA right. */
.kb-ad-composed.kb-ad-native>a{display:grid;grid-template-columns:20% minmax(0,1fr) auto;gap:24px;align-items:center}
.kb-ad-composed.kb-ad-native picture{width:100%;height:120px;min-height:0}
.kb-ad-composed.kb-ad-native .kb-ad-copy h3{font-size:20px;line-height:1.35;margin:0}
.kb-ad-composed.kb-ad-native .kb-ad-copy p{font-size:15px;line-height:1.5;margin:0}
.kb-ad-composed .kb-ad-logo{object-position:left center}
.kb-ad-composed-cta{display:block;justify-self:end;max-width:200px;border-radius:7px;padding:11px 16px;font-size:14px;font-weight:700;background:var(--kb-ad-cta-background,#087443);color:var(--kb-ad-cta-text,#fff);overflow-wrap:anywhere;text-align:center}
@media(min-width:641px) and (max-width:1001px){.kb-ad-composed.kb-ad-native>a{gap:16px}.kb-ad-composed-cta{max-width:150px;padding:10px 12px}}
@media(max-width:640px){.kb-ad-composed.kb-ad-native>a{grid-template-columns:minmax(0,1fr);gap:16px}.kb-ad-composed.kb-ad-native picture{height:150px}.kb-ad-composed-cta{justify-self:start;max-width:100%}}

/* Edge-to-edge illustration; logo and CTA share the action row. */
.kb-managed-ad.kb-ad-composed{padding:0}
.kb-ad-composed.kb-ad-native>a{gap:0;align-items:stretch;min-height:160px}
.kb-ad-composed.kb-ad-native picture{height:auto;align-self:stretch;position:relative;min-height:160px}
.kb-ad-composed picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.kb-ad-composed.kb-ad-native .kb-ad-copy{padding:24px;align-self:center}
.kb-ad-composed.kb-ad-native .kb-ad-copy h3{font-size:22px}
.kb-ad-composed-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:24px;min-width:0}
.kb-ad-composed-actions .kb-ad-logo{width:56px;height:40px;object-fit:contain;object-position:center;margin:0;position:static}
@media(min-width:641px) and (max-width:1001px){.kb-ad-composed-actions{gap:8px;padding:20px 16px}.kb-ad-composed.kb-ad-native .kb-ad-copy{padding:20px 16px}.kb-ad-composed-actions .kb-ad-logo{width:40px}}
@media(max-width:640px){.kb-ad-composed.kb-ad-native picture{height:180px;min-height:180px}.kb-ad-composed.kb-ad-native .kb-ad-copy{padding:20px 24px 12px}.kb-ad-composed-actions{justify-content:flex-start;padding:8px 24px 24px;flex-wrap:wrap}}

/* Subtle yellow distinguishes sponsored cards from ordinary content. */
.kb-ad-feed-card.kb-managed-ad{background:#fffbea!important;border-color:#e8dfa9;box-shadow:0 0 0 3px rgba(225,191,64,.07)}

/* List advertisements follow the same horizontal layout as directory entries. */
.kb-ad-feed-card.kb-ad-feed-list.kb-ad-native>a{display:grid;grid-template-columns:220px minmax(0,1fr);height:auto;min-height:150px;align-items:stretch;aspect-ratio:auto}
.kb-ad-feed-card.kb-ad-feed-list.kb-ad-native picture{height:100%;min-height:150px;aspect-ratio:auto;width:100%;align-self:stretch}
.kb-ad-feed-card.kb-ad-feed-list.kb-ad-native .kb-ad-copy{padding:16px;gap:8px;min-width:0;justify-content:flex-start}
.kbp-list-view .kb-ad-feed-card.kb-ad-feed-list.kb-ad-native>a{grid-template-columns:160px minmax(0,1fr)}
@media(max-width:640px){.kb-ad-feed-card.kb-ad-feed-list.kb-ad-native>a{grid-template-columns:105px minmax(0,1fr);min-height:120px}.kb-ad-feed-card.kb-ad-feed-list.kb-ad-native picture{min-height:120px}.kb-ad-feed-card.kb-ad-feed-list.kb-ad-native .kb-ad-copy{padding:12px;gap:8px}.kbp-list-view .kb-ad-feed-card.kb-ad-feed-list.kb-ad-native>a{grid-template-columns:112px minmax(0,1fr)}}

/* Campaign builder and responsive advertiser choices. */
.kb-ad-feed-card.kb-managed-ad{background:var(--kb-ad-background,#fffbea)!important}
.kb-ads-dashboard{margin:0 auto;width:100%;min-width:0}
.kb-ads-dashboard fieldset{border:1px solid #dce7df;border-radius:10px;padding:16px;min-width:0}
.kb-ads-dashboard legend{font-weight:750;padding:0 6px}
.kb-ads-form-grid,.kb-ads-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kb-ads-check-grid label{display:flex;align-items:center;gap:9px}
.kb-ads-check-grid input{width:auto;flex:none}
.kb-ads-dashboard textarea{width:100%;padding:12px;border:1px solid #d7dfda;border-radius:7px;font:inherit}
.kb-ads-dashboard input[type=color]{height:44px;width:100%;padding:4px}
.kb-ads-dashboard [hidden]{display:none!important}
.kb-ads-quote,.kb-ads-credit{display:block;padding:18px;border-radius:10px;background:#eff7f2;color:#074b34;font-weight:700;line-height:1.7}
.kb-ads-credit strong{font-size:26px}.kb-ads-credit h2{margin-top:0}
.kb-ads-dashboard input,.kb-ads-dashboard select{width:100%;box-sizing:border-box;min-width:0}
.kb-ads-dashboard .kb-ads-check-grid input{width:auto}
@media(max-width:640px){.kb-ads-form-grid,.kb-ads-check-grid{grid-template-columns:minmax(0,1fr)}.kb-ads-dashboard fieldset{padding:12px}.kb-ads-dashboard h1{font-size:26px}.kb-ads-table td,.kb-ads-table th{white-space:nowrap}}

.kb-ads-preview{max-width:360px;margin:0 auto;width:100%}.kb-ads-preview>strong{display:block;margin-bottom:8px}.kb-ads-preview-card{border:1px solid #e8dfa9;border-radius:14px;overflow:hidden}.kb-ads-preview-card>img{display:block;aspect-ratio:16/10;width:100%;object-fit:cover}.kb-ads-preview-card>div{padding:18px}.kb-ads-preview-card h3{margin:10px 0;font-size:17px;color:inherit}.kb-ads-preview-card p{font-size:14px;color:inherit;overflow-wrap:anywhere}.kb-ads-preview-card span{display:inline-block;border-radius:7px;padding:9px 12px;font-weight:700;font-size:13px}.kb-ads-preview-card div>img{width:60px;height:40px;object-fit:contain}

.kb-ads-dashboard button:disabled{opacity:.55;cursor:not-allowed}

/* Native sidebar cards grow with their copy, so image and CTA never overlap. */
.kb-ad-square.kb-ad-native:not(.kb-ad-composed)>a{aspect-ratio:auto;height:auto;display:flex;flex-direction:column}
.kb-ad-square.kb-ad-native:not(.kb-ad-composed) picture{display:block;width:100%;height:auto;aspect-ratio:2/1;flex:none}
.kb-ad-square.kb-ad-native:not(.kb-ad-composed) picture img{display:block;width:100%;height:100%;object-fit:cover}
.kb-ad-square.kb-ad-native:not(.kb-ad-composed) .kb-ad-copy{height:auto;flex:none;padding:18px;min-width:0}
.kb-ad-square.kb-ad-native:not(.kb-ad-composed) .kb-ad-copy h3,.kb-ad-square.kb-ad-native:not(.kb-ad-composed) .kb-ad-copy p{display:block;overflow:visible;white-space:normal;-webkit-line-clamp:unset;overflow-wrap:anywhere}

.kb-ads-create-action{margin:24px 0}.kb-ads-dashboard.is-creating> :not(#kb-ads-create-panel){display:none!important}
#kb-ads-create-panel{scroll-margin-top:130px}#kb-ads-create-panel>[data-kb-create-close]{width:auto;margin-bottom:16px;background:#eff7f2;color:#074b34}

.kb-ads-campaign-row td{background:var(--campaign-tint)!important;border-bottom:6px solid #fff!important;padding:14px 12px!important;color:#182a35}
.kb-ads-campaign-row td:first-child{border-left:4px solid var(--campaign-accent)}
.kb-ads-tone-0{--campaign-tint:#edf7f2;--campaign-accent:#16845a}.kb-ads-tone-1{--campaign-tint:#eef4fc;--campaign-accent:#3868ad}.kb-ads-tone-2{--campaign-tint:#fff8e7;--campaign-accent:#ab790b}.kb-ads-tone-3{--campaign-tint:#f5effb;--campaign-accent:#8254ac}.kb-ads-tone-4{--campaign-tint:#fff0ed;--campaign-accent:#b45139}.kb-ads-tone-5{--campaign-tint:#eaf7f8;--campaign-accent:#25858a}

/* Stack the advertiser logo immediately above its CTA, aligned to the right. */
.kb-ad-composed-actions{flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;flex-wrap:nowrap!important;gap:10px!important}
.kb-ad-composed-actions .kb-ad-logo{object-position:right center;flex:none}
.kb-ad-composed-actions .kb-ad-composed-cta{align-self:flex-end;text-align:center}

/* Square card branding: bottom-right beside CTA; prepared artwork: top-right. */
.kb-ad-square.kb-ad-native .kb-ad-copy{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:12px}
.kb-ad-square.kb-ad-native .kb-ad-copy h3,.kb-ad-square.kb-ad-native .kb-ad-copy p{grid-column:1/-1}
.kb-ad-square.kb-ad-native .kb-ad-copy .kb-ad-logo{grid-column:2;grid-row:3;justify-self:end;align-self:end;width:64px!important;height:44px!important;object-fit:contain;object-position:right bottom;margin:0!important;position:static!important}
.kb-ad-square.kb-ad-native .kb-ad-copy>span{grid-column:1;grid-row:3;justify-self:start}
.kb-ad-prepared-square>a{position:relative}
.kb-ad-prepared-square .kb-ad-square-brand{position:absolute!important;top:12%;right:7%;width:18%!important;height:14%!important;object-fit:contain!important;object-position:right center;z-index:2;inset:auto;left:auto;bottom:auto;top:12%;right:7%}
