/* Shared editorial theme. Pages opt in with the qb-theme-home body class. */
body.qb-theme-home {
  --qb-ink: #172a50;
  --qb-muted: #66748b;
  --qb-paper: #f5f6f9;
  --qb-surface: #ffffff;
  --qb-line: #dce2ed;
  --qb-accent: #123b91;
  --qb-tint: #e8edf8;
  background: var(--qb-paper);
  color: var(--qb-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.qb-theme-home a { color: var(--qb-accent); }
body.qb-theme-home a:hover { color: #031a61; }
body.qb-theme-home :focus-visible { outline: 3px solid #416dcc; outline-offset: 4px; }
body.qb-theme-home .qb-site-header { background: var(--qb-surface) !important; border-bottom: 1px solid var(--qb-line); box-shadow: none; }
body.qb-theme-home .qb-header-search { background: var(--qb-paper); border: 1px solid var(--qb-line); border-radius: 6px; box-shadow: none; }
body.qb-theme-home .qb-hs-go { background: var(--qb-accent); border-radius: 4px; box-shadow: none; }
body.qb-theme-home .qb-hs-mic { color: var(--qb-accent); background: transparent; box-shadow: none; }
body.qb-theme-home .qb-site-nav { gap: 3px; }
body.qb-theme-home .qb-site-nav-link { color: var(--qb-ink); font-size: 13px; }
body.qb-theme-home .content.content-fixed { padding: 22px 0 0; }
body.qb-theme-home #page_container { max-width: 1340px; width: calc(100% - 80px); padding: 0 !important; }
.qb-home-section-head { display: flex; align-items: center; justify-content: space-between; border-top: 2px solid var(--qb-ink); padding: 13px 0 17px; gap: 15px; }
.qb-home-section-head h2 { margin: 0; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; }
.qb-home-section-head a { font-size: 11px; font-weight: 600; }
.qb-home-section-head h2::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 9px; background: #416dcc; vertical-align: 2px; }
body.qb-theme-home #news { padding: 0 0 35px; }
body.qb-theme-home #news > .row { margin: 0 -17px; }
body.qb-theme-home #news > .row > [class*=col-] { padding: 0 17px; }
body.qb-theme-home .qb-home-news-main { flex: 0 0 72%; max-width: 72%; }
body.qb-theme-home .qb-home-sidebar { flex: 0 0 28%; max-width: 28%; border-left: 1px solid var(--qb-line); }
.qb-home-lead { display: grid; grid-template-columns: 1fr; background: var(--qb-surface); border: 1px solid var(--qb-line); border-radius: 5px; overflow: hidden; }
.qb-home-lead-image { position: relative; background: #edf1f8; overflow: hidden; }
/* Preserve the full editorial photo. Tall sources fit inside the panel rather than cropping. */
.qb-home-lead-image img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }

.qb-home-lead-copy { padding: 24px 28px 25px; }
.qb-home-topic { color: var(--qb-accent); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.qb-home-lead :is(h1, h2) { font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 2.55vw, 37px); line-height: 1.16; font-weight: 400; letter-spacing: -.6px; margin: 9px 0 12px; }
.qb-home-lead :is(h1, h2) a { color: var(--qb-ink); }
.qb-home-lead :is(h1, h2) a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.qb-home-lead-copy p { color: var(--qb-muted); line-height: 1.65; font-size: 13px; margin-bottom: 15px; max-width: 680px; }
.qb-home-meta { color: var(--qb-muted); font-size: 10px; display: flex; align-items: center; gap: 10px; }
.qb-home-meta::before { content: ""; width: 22px; height: 1px; background: #416dcc; }
.qb-home-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-top: 23px; }
.qb-home-secondary-story { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--qb-line); color: var(--qb-ink) !important; }
.qb-home-secondary-story img { width: 90px; height: 90px; border-radius: 3px; object-fit: cover; }
.qb-home-secondary-story h3 { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.3; font-weight: 400; margin: 5px 0 8px; }
body.qb-theme-home .ns-featured-item { padding: 0 10px; }
body.qb-theme-home .qb-home-featured { margin: 24px -10px 30px; }
body.qb-theme-home .ns-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.qb-theme-home .ns-card:hover { transform: none; box-shadow: none; }
body.qb-theme-home .ns-card-media { height: 154px; border-radius: 3px; }
body.qb-theme-home .ns-card-chip { background: var(--qb-surface); color: var(--qb-accent); border-radius: 2px; font-size: 9px; letter-spacing: .03em; padding: 5px 8px; }
body.qb-theme-home .ns-card-body { padding: 14px 0 0; }
body.qb-theme-home .ns-card-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--qb-ink); font-size: 20px; line-height: 1.3; -webkit-line-clamp: 4; min-height: 0; }
body.qb-theme-home .ns-card-excerpt { color: var(--qb-muted); font-size: 12px; line-height: 1.65; margin-top: 10px; -webkit-line-clamp: 3; }
body.qb-theme-home .ns-card-meta { border: 0; padding: 0; margin-top: 13px; color: var(--qb-muted); font-size: 10px; }
body.qb-theme-home .ns-card-meta > span:first-child { display: none; }
body.qb-theme-home .pv2-title { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; color: var(--qb-ink); }
body.qb-theme-home .ns-list { border: 0; border-top: 1px solid var(--qb-line); background: transparent; border-radius: 0; box-shadow: none; min-height: 145px; gap: 22px; padding: 20px 0 !important; }
body.qb-theme-home .ns-list:hover { box-shadow: none; }
body.qb-theme-home .ns-list-media { order: 2; width: 155px; min-width: 155px; align-self: center; border-radius: 3px; height: 108px; }
body.qb-theme-home .ns-list-body { flex: 1; padding: 0; }
body.qb-theme-home .ns-list-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--qb-ink); font-size: 21px; line-height: 1.3; -webkit-line-clamp: 3; }
body.qb-theme-home .ns-list-excerpt { font-size: 12px; line-height: 1.6; -webkit-line-clamp: 2; color: var(--qb-muted); margin-bottom: 10px; }
body.qb-theme-home .ns-list-meta { color: var(--qb-muted); border: 0; font-size: 10px; padding: 0; }
body.qb-theme-home .pv2-widget { border: 1px solid var(--qb-line); border-radius: 5px; background: var(--qb-surface); box-shadow: none; margin-bottom: 18px !important; padding: 18px !important; }
body.qb-theme-home .pv2-widget-weather { background: #112d70 !important; border-color: #112d70; box-shadow: none; }
body.qb-theme-home .pv2-widget-weather::before, body.qb-theme-home .pv2-widget-weather::after { display: none; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-temp-num { font-weight: 400; font-size: 3.4rem; letter-spacing: -.06em; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-metric, body.qb-theme-home .pv2-widget-weather .pv2-weather-uv, body.qb-theme-home .pv2-widget-weather .pv2-weather-day { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.12); border-radius: 3px; padding: 7px; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-metric strong { font-size: 12px; font-weight: 500; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-badge { background: transparent; width: 20px; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-icon svg { animation: none; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-icon-glow { display: none; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-top { align-items: flex-start; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-heading { color: #fff; font: 400 21px/1.15 Georgia, "Times New Roman", serif; margin: 0; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-city { max-width: 48%; line-height: 1.35; text-align: right; overflow-wrap: anywhere; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-summary { font-size: 13px; line-height: 1.35; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-desc { line-height: 1.45; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-link-wrap { margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); }
body.qb-theme-home .pv2-widget-weather .pv2-weather-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.qb-theme-home .pv2-widget-weather .pv2-weather-link:focus-visible { outline-color: #fff; }
body.qb-theme-home .pv2-fx-icon, body.qb-theme-home .pv2-sports-head-icon, body.qb-theme-home .pv2-horo-head-icon { background: var(--qb-tint) !important; color: var(--qb-accent) !important; border-radius: 3px !important; width: 29px !important; height: 29px !important; }
body.qb-theme-home .pv2-fx-head, body.qb-theme-home .pv2-sports-head, body.qb-theme-home .pv2-horo-head { border-color: var(--qb-line); }
body.qb-theme-home .pv2-fx-head-title, body.qb-theme-home .pv2-sports-head-title, body.qb-theme-home .pv2-horo-head-title { color: var(--qb-ink); font-size: 13px; }
body.qb-theme-home .pv2-fx-badge-wrap { background: var(--qb-tint) !important; border-radius: 50% !important; width: 50px !important; height: 50px !important; }
body.qb-theme-home .pv2-fx-big { color: var(--qb-ink); font-weight: 500; }
body.qb-theme-home .pv2-fx-row, body.qb-theme-home .pv2-fx-convert-box, body.qb-theme-home .pv2-sports-card, body.qb-theme-home .pv2-horo-reading { background: var(--qb-paper); border-color: var(--qb-line); border-radius: 3px; box-shadow: none; }
body.qb-theme-home .pv2-fx-convert-dst { color: var(--qb-accent); }
body.qb-theme-home .pv2-horo-sign { border-radius: 3px; background: var(--qb-paper); border-color: var(--qb-line); color: var(--qb-muted); }
body.qb-theme-home .pv2-horo-sign.active, body.qb-theme-home .pv2-sports-tab.active { background: var(--qb-accent); color: #fff; border-color: var(--qb-accent); box-shadow: none; }
body.qb-theme-home .pv2-horo-reading-name, body.qb-theme-home .pv2-horo-reading-text { color: var(--qb-ink); }
body.qb-theme-home .pv2-sports-live { color: var(--qb-accent); background: var(--qb-tint); }
body.qb-theme-home .pv2-sports-badge { border-radius: 3px; background: var(--qb-tint); color: var(--qb-accent); }
body.qb-theme-home .mk-premium-section, body.qb-theme-home .mk-featured-listing-section, body.qb-theme-home .mk-office-section, body.qb-theme-home #places { margin: 0 0 36px !important; }
body.qb-theme-home .mk-premium-shell, body.qb-theme-home .mk-topic-box { border: 0; background: transparent; box-shadow: none; border-radius: 0; padding: 0; }
body.qb-theme-home .mk-premium-head, body.qb-theme-home .mk-topic-top { border-top: 2px solid var(--qb-ink); padding: 18px 0 !important; margin: 0; background: transparent; align-items: center; }
body.qb-theme-home .mk-premium-title-wrap h3, body.qb-theme-home .mk-topic-title { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; color: var(--qb-ink); }
body.qb-theme-home .mk-premium-title-wrap p, body.qb-theme-home .mk-topic-sub { font-size: 11px; color: var(--qb-muted); margin-top: 5px; }
body.qb-theme-home .mk-premium-icon, body.qb-theme-home .mk-topic-icon { background: var(--qb-tint); color: var(--qb-accent); border-radius: 4px; box-shadow: none; }
body.qb-theme-home .mk-rail-btn { background: var(--qb-surface); border-color: var(--qb-line); border-radius: 50%; color: var(--qb-accent); width: 32px; height: 32px; }
body.qb-theme-home .mk-rail { gap: 18px; padding: 0 0 12px; }
body.qb-theme-home .mk-premium-card, body.qb-theme-home .mk-feature-card, body.qb-theme-home .mk-band-card, body.qb-theme-home .mk-office-item, body.qb-theme-home .mk-place-card, body.qb-theme-home .mk-cinema-card { background: var(--qb-surface); border: 1px solid var(--qb-line); border-radius: 5px; box-shadow: none; color: var(--qb-ink); }
body.qb-theme-home .mk-premium-card:hover, body.qb-theme-home .mk-feature-card:hover, body.qb-theme-home .mk-band-card:hover, body.qb-theme-home .mk-place-card:hover { box-shadow: 0 5px 16px #172a500b; transform: translateY(-2px); border-color: #8fa5cf; }
body.qb-theme-home .mk-premium-card { flex-basis: calc(25% - 14px); min-width: 230px; }
body.qb-theme-home .mk-premium-media { width: 100%; height: 180px; aspect-ratio: auto; }
body.qb-theme-home .mk-premium-ribbon { background: #e4eafa; color: #243f79; border: 0; border-radius: 0; }
body.qb-theme-home .mk-premium-ribbon strong { color: #243f79; letter-spacing: .09em; font-size: 9px; }
body.qb-theme-home .mk-premium-ribbon em { color: #243f79; }
body.qb-theme-home .mk-premium-body, body.qb-theme-home .mk-band-body, body.qb-theme-home .mk-feature-body, body.qb-theme-home .mk-place-body { padding: 16px; }
body.qb-theme-home .mk-premium-title, body.qb-theme-home .mk-feature-title, body.qb-theme-home .mk-band-title, body.qb-theme-home .mk-place-title { color: var(--qb-ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
body.qb-theme-home .mk-premium-price, body.qb-theme-home .mk-feature-price, body.qb-theme-home .mk-band-price, body.qb-theme-home .mk-office-salary { color: var(--qb-accent); font-size: 18px; font-weight: 600; letter-spacing: -.3px; margin: 10px 0; }
body.qb-theme-home .mk-premium-meta, body.qb-theme-home .mk-feature-meta, body.qb-theme-home .mk-band-meta, body.qb-theme-home .mk-office-meta, body.qb-theme-home .mk-place-meta { color: var(--qb-muted); font-size: 10px; }
body.qb-theme-home .mk-featured-grid { gap: 16px; }
body.qb-theme-home .mk-feature-thumb { border-radius: 0; }
body.qb-theme-home .mk-topic-grid { gap: 16px; }
body.qb-theme-home .mk-band-chip, body.qb-theme-home .mk-place-chip { background: var(--qb-surface); color: var(--qb-accent); border-radius: 3px; font-size: 9px; }
body.qb-theme-home .mk-band-price-float { display: none; }
body.qb-theme-home .mk-office-item { border-left: 3px solid #a4b4d2; padding: 16px; }
body.qb-theme-home .mk-office-item.is-premium { background: var(--qb-surface); border-color: var(--qb-line); border-left-color: #5679bd; }
body.qb-theme-home .mk-office-item.is-featured { background: var(--qb-surface); border-color: var(--qb-line); border-left-color: #a4b4d2; }
body.qb-theme-home .mk-office-badge { background: var(--qb-tint); color: var(--qb-accent); border-radius: 2px; font-size: 9px; letter-spacing: .04em; }
body.qb-theme-home .mk-office-title { color: var(--qb-ink); line-height: 1.5; }
body.qb-theme-home .mk-office-list { gap: 14px; }
body.qb-theme-home .mk-widget-card { background: var(--qb-surface); border: 1px solid var(--qb-line); border-radius: 5px; box-shadow: none; padding: 20px; }
body.qb-theme-home .mk-widget-head { border-color: var(--qb-line); }
body.qb-theme-home .mk-widget-title { color: var(--qb-ink); font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; }
body.qb-theme-home .mk-cinema-title { color: var(--qb-ink); }
body.qb-theme-home .mk-lottery-item { background: var(--qb-paper); border-color: var(--qb-line); border-radius: 3px; }
body.qb-theme-home .mk-lottery-ball { background: var(--qb-tint); border: 1px solid #cbd6ec; color: var(--qb-accent); box-shadow: none; }
body.qb-theme-home .mk-lottery-ball.bonus { background: #e4eafa; color: #243f79; }
body.qb-theme-home .mk-lottery-badge, body.qb-theme-home .mk-place-status { background: var(--qb-tint); color: var(--qb-accent); border-radius: 3px; }
body.qb-theme-home .root1-footer { background: #e9edf5; color: var(--qb-ink); border-top: 1px solid var(--qb-line); margin-top: 45px; }
body.qb-theme-home .root1-footer-main, body.qb-theme-home .root1-footer-bottom { background: transparent; }
body.qb-theme-home .root1-col-title, body.qb-theme-home .root1-app-title { color: var(--qb-ink); }
body.qb-theme-home .root1-col-list a, body.qb-theme-home .root1-bottom-links a, body.qb-theme-home .root1-legal { color: var(--qb-muted); }
body.qb-theme-home .root1-store-btn, body.qb-theme-home .root1-social-link { background: var(--qb-surface); border-color: var(--qb-line); color: var(--qb-ink); box-shadow: none; }
body.qb-theme-home .qb-cookie-banner__card { background: var(--qb-surface); border-color: var(--qb-line); }
body.qb-theme-home .btn-primary { background: var(--qb-accent); border-color: var(--qb-accent); }
@media (min-width: 1200px) {
  body.qb-theme-home #news > .row { margin: 0 -22px; }
  body.qb-theme-home #news > .row > [class*=col-] { padding: 0 22px; }
}
@media (max-width: 991px) {
  body.qb-theme-home #page_container { width: calc(100% - 40px); }
  body.qb-theme-home .content.content-fixed { padding: 22px 0 0; }
  body.qb-theme-home .qb-home-news-main { flex: 0 0 100%; max-width: 100%; }
  body.qb-theme-home .qb-home-sidebar { flex: 0 0 100%; max-width: 100%; border-left: 0; margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
  .qb-home-sidebar > .qb-home-section-head { grid-column: 1 / -1; }
  body.qb-theme-home .qb-home-sidebar .pv2-widget { margin-bottom: 0 !important; }
  body.qb-theme-home .ns-featured-item { flex: 0 0 33.333%; max-width: 33.333%; }
  body.qb-theme-home .mk-office-col { padding: 0 15px !important; }
}
@media (max-width: 767px) {
  body.qb-theme-home .content.content-fixed { padding: 20px 0 0; margin-top: 0 !important; }
  body.qb-theme-home #page_container { width: calc(100% - 32px); }
  .qb-home-lead-image img { max-height: 420px; }
  .qb-home-lead-copy { padding: 20px; }
  .qb-home-lead :is(h1, h2) { font-size: 29px; }
  .qb-home-secondary { grid-template-columns: 1fr; gap: 17px; }
  .qb-home-secondary-story { padding-bottom: 17px; }
  body.qb-theme-home .qb-home-featured { margin: 22px -10px; }
  body.qb-theme-home .ns-featured-item { flex: 0 0 100%; max-width: 100%; margin-bottom: 20px; }
  body.qb-theme-home .ns-featured-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 15px; min-height: 0; }
  body.qb-theme-home .ns-featured-card .ns-card-media { width: 110px; min-width: 0; height: 125px; }
  body.qb-theme-home .ns-featured-card .ns-card-body { padding: 0; display: block; }
  body.qb-theme-home .ns-featured-card .ns-card-title { font-size: 19px; -webkit-line-clamp: 4; }
  body.qb-theme-home .ns-card-chip { left: 5px; top: 5px; max-width: calc(100% - 10px); font-size: 8px; }
  body.qb-theme-home .ns-featured-card .ns-card-excerpt { display: none; }
  body.qb-theme-home .ns-card-meta { margin-top: 10px; }
  body.qb-theme-home .ns-list { gap: 16px; }
  body.qb-theme-home .ns-list-media { width: 90px; min-width: 90px; height: 95px; align-self: start; }
  body.qb-theme-home .ns-list-title { font-size: 19px; -webkit-line-clamp: 4; }
  body.qb-theme-home .ns-list-excerpt { display: none; }
  body.qb-theme-home .ns-list-meta { padding-top: 10px; }
  body.qb-theme-home .qb-home-sidebar { grid-template-columns: 1fr; }
  body.qb-theme-home .mk-premium-title-wrap h3, body.qb-theme-home .mk-topic-title { font-size: 23px; }
  body.qb-theme-home .mk-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.qb-theme-home .mk-band-body { padding: 11px; }
  body.qb-theme-home .mk-band-title { font-size: 12px; }
  body.qb-theme-home .mk-band-price { font-size: 16px; }
  body.qb-theme-home .mk-widget-head { align-items: start; flex-wrap: wrap; gap: 12px; }
  body.qb-theme-home .mk-widget-title { font-size: 22px; }
  body.qb-theme-home .mk-widget-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body.qb-theme-home *, body.qb-theme-home *::before, body.qb-theme-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Keep unavailable source imagery out of the editorial reading flow. */
body.qb-theme-home .ns-card:has(img[src*="no-photo"]) { background: #edf1f8; border-top: 2px solid #8ea6d1; padding: 18px; }
body.qb-theme-home .ns-card:has(img[src*="no-photo"]) .ns-card-media { width: auto; min-width: 0; height: auto; background: transparent; overflow: visible; }
body.qb-theme-home .ns-card:has(img[src*="no-photo"]) .ns-card-media img { display: none; }
body.qb-theme-home .ns-card:has(img[src*="no-photo"]) .ns-card-chip { position: static; background: transparent; padding: 0; text-transform: uppercase; letter-spacing: .08em; }
body.qb-theme-home .ns-card:has(img[src*="no-photo"]) .ns-card-body { padding-top: 12px; }
body.qb-theme-home .ns-list-media:has(img[src*="no-photo"]) { display: none; }
body.qb-theme-home .mk-place-media:has(img[src*="no-photo"]) { height: auto; aspect-ratio: auto; background: var(--qb-tint); padding: 18px 16px; }
body.qb-theme-home .mk-place-media:has(img[src*="no-photo"]) img { display: none; }
body.qb-theme-home .mk-place-media:has(img[src*="no-photo"]) .mk-place-chip { position: static; background: transparent; padding: 0; text-transform: uppercase; letter-spacing: .1em; }
body.qb-theme-home .mk-cinema-media:has(img[src*="no-photo"]) { background: var(--qb-tint); }
body.qb-theme-home .mk-cinema-media img[src*="no-photo"] { opacity: .2; mix-blend-mode: multiply; }
body.qb-theme-home .mk-office-tag { border-radius: 3px; font-size: 9px; }
body.qb-theme-home .mk-office-tag.premium { background: #e4eafa; color: #243f79; }
body.qb-theme-home .mk-office-tag.featured { background: var(--qb-tint); color: var(--qb-accent); }
body.qb-theme-home .pv2-horo-date-chip { background: var(--qb-tint); color: var(--qb-accent); border-radius: 3px; }
body.qb-theme-home .pv2-horo-sign:hover { background: #dce5f8; border-color: #9cb2dc; }
body.qb-theme-home .pv2-fx-convert { background: var(--qb-paper); border: 1px solid var(--qb-line); border-radius: 3px; }
body.qb-theme-home .mk-office-section > .row { margin: 0 -12px; }
body.qb-theme-home .mk-office-col { padding: 0 12px !important; }
@media (max-width: 767px) {
  body.qb-theme-home .ns-featured-card:has(img[src*="no-photo"]) { display: block; }
  body.qb-theme-home .ns-featured-card:has(img[src*="no-photo"]) .ns-card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; }
}
/* Spacious, accessible search, using the shared search and voice behavior. */
body.qb-theme-home .qb-header-search {
  min-height: 52px; margin-top: 0; padding: 0 54px 0 44px;
  background: #f5f7fc; border: 1px solid #bac9e3 !important;
  border-radius: 12px; box-shadow: inset 0 1px 2px #172a5004;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
body.qb-theme-home .qb-header-search:hover { border-color: #8ca6d5 !important; }
body.qb-theme-home .qb-header-search:focus-within {
  background: #fff; border-color: var(--qb-accent) !important;
  box-shadow: 0 0 0 3px #123b9114;
}
body.qb-theme-home .qb-header-search.qb-hs-has-voice { padding-right: 102px; }
body.qb-theme-home .qb-header-search .qb-hs-lead { left: 15px; color: #58719d; }
body.qb-theme-home .qb-header-search .form-control {
  height: 50px; min-width: 0; padding: 0; border: 0;
  background: transparent; color: var(--qb-ink); font-size: 14px;
  box-shadow: none; outline: none;
}
body.qb-theme-home .qb-header-search .form-control::placeholder { color: #687b9b; opacity: 1; }
body.qb-theme-home .qb-hs-btn { width: 44px; height: 44px; border-radius: 9px; }
body.qb-theme-home .qb-hs-go { right: 3px; gap: 8px; color: #fff; background: var(--qb-accent); }
body.qb-theme-home .qb-hs-go:hover { background: #0b2c72; }
body.qb-theme-home .qb-hs-mic { right: 51px; background: transparent; color: var(--qb-accent); }
body.qb-theme-home .qb-hs-mic:hover { background: var(--qb-tint); }
body.qb-theme-home .qb-hs-mic.is-listening { background: #dc2626; color: #fff; }
body.qb-theme-home .qb-hs-mic.is-processing { background: #f59e0b; color: #172a50; }
body.qb-theme-home .qb-hs-btn:focus-visible { outline: 2px solid #416dcc; outline-offset: 2px; }
body.qb-theme-home .qb-home-search-label { display: none; font-size: 13px; font-weight: 600; }
body.qb-theme-home #suggestions.qb-hs-panel {
  margin-top: 8px; border: 1px solid var(--qb-line); border-radius: 12px;
  box-shadow: 0 12px 28px #172a5024;
}
body.qb-theme-home .qb-hs-echo { background: #f5f7fc; border-color: var(--qb-line); }
body.qb-theme-home .qb-hs-echo-badge { background: var(--qb-tint); color: var(--qb-accent); border-radius: 4px; }
body.qb-theme-home .qb-hs-echo.is-voice .qb-hs-echo-badge { background: #fee2e2; color: #b91c1c; }
body.qb-theme-home .qb-sugg-item:hover,
body.qb-theme-home .qb-sugg-active { background: var(--qb-tint); }
body.qb-theme-home .qb-search-mobile-tip { color: var(--qb-muted); padding-top: 5px; font-size: 11px; }
@media (min-width: 1200px) {
  body.qb-theme-home .qb-site-header > .col-md-3 { flex: 0 0 18%; max-width: 18%; }
  body.qb-theme-home .qb-header-search-wrap { flex: 0 0 45%; max-width: 45%; }
  body.qb-theme-home .qb-header-actions { flex: 0 0 37%; max-width: 37%; }
  body.qb-theme-home .qb-header-search { padding-right: 108px; }
  body.qb-theme-home .qb-header-search.qb-hs-has-voice { padding-right: 156px; }
  body.qb-theme-home .qb-hs-go { width: 98px; }
  body.qb-theme-home .qb-hs-mic { right: 105px; }
  body.qb-theme-home .qb-home-search-label { display: inline; }
}
@media (max-width: 767px) {
  body.qb-theme-home .qb-header-search { margin-top: 6px; }
  body.qb-theme-home .qb-header-search .form-control { font-size: 16px; }
}
