/* Scoped house ads: both slides share one grid cell to keep page height stable. */
.kb-ad-slot { margin: 24px 0; min-width: 0; }
.kb-ad-stage { display: grid; overflow: hidden; border-radius: 18px; background: #071322; }
.kb-ad-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease, visibility .55s; }
.kb-ad-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; z-index: 1; }
.kb-ad-slot .kb-ad-card { --ad-accent: #99dcff; display: grid; grid-template-columns: 46% 1fr; height: 100%; min-width: 0; border-radius: 0; background: #071322; box-shadow: none; color: #fff; text-decoration: none; }
.kb-ad-slot .kb-ad-theme-nxghtruns { --ad-accent: #ffc1e0; background: #101221; }
.kb-ad-slot .kb-ad-img { flex: none; width: 100%; max-width: none; min-height: 0; height: auto; align-self: center; aspect-ratio: 3 / 2; }
.kb-ad-slot .kb-ad-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kb-ad-slot .kb-ad-body { min-width: 0; justify-content: center; padding: clamp(22px, 3.4vw, 44px); }
.kb-ad-slot .kb-ad-badge { margin: 0 0 16px; padding: 0; background: transparent; border-radius: 0; color: #b8c6d8; font: 600 10px/1.4 Jost, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.kb-ad-slot .kb-ad-title { margin: 0; font: 700 clamp(25px, 2.8vw, 36px)/1.15 Jost, Arial, sans-serif; letter-spacing: -.025em; color: #fff; }
.kb-ad-slot .kb-ad-text { max-width: 44ch; margin-top: 13px; color: #cbd5e4; font: 400 15px/1.65 Jost, Arial, sans-serif; }
.kb-ad-slot .kb-ad-cta { display: inline-flex; align-items: center; gap: 22px; margin-top: 23px; padding: 11px 18px; border-radius: 7px; background: var(--ad-accent); color: #071322; font: 700 13px/1.5 Jost, Arial, sans-serif; text-transform: none; transition: background .2s ease; }
.kb-ad-slot .kb-ad-cta span { font-size: 19px; line-height: 1; }
.kb-ad-slot .kb-ad-card:hover .kb-ad-cta { background: #fff; }
.kb-ad-slot .kb-ad-card:focus-visible { outline: 3px solid var(--ad-accent); outline-offset: -5px; }
.kb-ad-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 2px 0; }
.kb-ad-controls[hidden] { display: none; }
.kb-ad-selectors { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.kb-ad-slot .kb-ad-select, .kb-ad-slot .kb-ad-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin: 0; border: 0; background: transparent; color: #626974; padding: 5px 7px; font: 600 12px/1.4 Jost, Arial, sans-serif; cursor: pointer; text-transform: none; }
.kb-ad-slot .kb-ad-select[aria-pressed="true"] { color: #152941; }
.kb-ad-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #acb3be; }
.kb-ad-select[aria-pressed="true"] .kb-ad-dot { width: 18px; border-radius: 5px; background: #244d76; }
.kb-ad-slot .kb-ad-toggle { flex: 0 0 44px; width: 44px; border: 1px solid #d7dce3; border-radius: 50%; color: #23364f; }
.kb-ad-slot .kb-ad-toggle[hidden] { display: none; }
.kb-ad-toggle span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.kb-ad-toggle.is-paused span { width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; margin-left: 2px; }
.kb-ad-slot button:hover { background: #e9eef4; color: #152941; }
.kb-ad-slot button:focus-visible { outline: 2px solid #244d76; outline-offset: 2px; }
.kb-ad-pixel { display: none !important; }
@media (max-width: 767px) {
  .kb-ad-slot .kb-ad-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .kb-ad-slot .kb-ad-img { width: 100%; height: auto; max-height: none; }
  .kb-ad-slot .kb-ad-body { padding: 22px 24px 27px; }
  .kb-ad-slot .kb-ad-title { font-size: 28px; }
  .kb-ad-slot .kb-ad-badge { margin-bottom: 12px; }
  .kb-ad-slot .kb-ad-text { font-size: 15px; }
  .kb-ad-slot .kb-ad-cta { margin-top: 20px; }
  .kb-ad-selectors { gap: 0; }
  .kb-ad-slot .kb-ad-select { font-size: 11px; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-ad-slot .kb-ad-slide, .kb-ad-slot .kb-ad-cta { transition: none; transform: none; }
}
@media print {
  .kb-ad-controls { display: none; }
  .kb-ad-slide:not(.is-active) { display: none; }
}
