/* Knowledge Hub archives (/blog/, /category/<slug>/, /tag/<slug>/): header with search and
   category discovery, and the Heilz article grid at three full-width columns. Platform palette:
   navy #003049 / #0A0F26, blue #669bbc, cream #fdf0d5, text #444. */

/* Heilz article cells are 33.33% wide with side padding; without border-box the padding pushes
   the third card onto the next row (two cards per row in a three-column grid). */
.dbn-kh .ulz-articles .ulz--cell { box-sizing: border-box; }
.dbn-kh .ulz-articles .ulz--item .ulz--content { padding-bottom: 6px; }

.dbn-kh-header { position: relative; margin: 2.2rem 0 2.4rem; padding: 2.6rem 2.8rem 2.2rem; border-radius: 5px; background: #003049; color: #fff; overflow: hidden; }
.dbn-kh-header::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(253, 240, 213, 0.08); pointer-events: none; }
.dbn-kh-header__eyebrow { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); color: #fdf0d5; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dbn-kh-header__eyebrow a { color: inherit !important; text-decoration: none; }
.dbn-kh-header h1 { margin: 0 0 10px; color: #fff; font-size: 38px; line-height: 1.15; }
.dbn-kh-header__intro { max-width: 760px; margin: 0 0 22px; color: rgba(255, 255, 255, 0.86); font-size: 16px; line-height: 1.65; }
.dbn-kh-header__row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.dbn-kh-header__search { flex: 1 1 520px; min-width: 260px; }
.dbn-kh-header__search .dbn-global-search-wrap { margin: 0; }
.dbn-kh-header .dbn-kh-submit { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 5px; background: #fdf0d5; color: #003049 !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background 0.2s; }
.dbn-kh-header .dbn-kh-submit:hover { background: #fff; }

.dbn-kh-cats { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.dbn-kh-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 5px; color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: background 0.2s, border-color 0.2s; }
.dbn-kh-cats a:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.dbn-kh-cats a.is-active { background: #fdf0d5; border-color: #fdf0d5; color: #003049 !important; }
.dbn-kh-cats a span { opacity: 0.7; font-weight: 500; }

.dbn-kh-section-title { margin: 0 0 1.2rem; color: #003049; font-size: 22px; }
.dbn-kh .ulz-paging { margin: 0.5rem 0 3rem; }

@media (max-width: 767.98px) {
  .dbn-kh-header { padding: 1.8rem 1.3rem 1.5rem; margin-top: 1.2rem; }
  .dbn-kh-header h1 { font-size: 28px; }
}
.dbn-kh .fa-pen:before { content: "\f304"; }
/* Single article: link back into the Knowledge Hub (and the article's category). */
.dbn-article-back { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 600; }
.dbn-article-back a { display: inline-flex; align-items: center; gap: 6px; color: #003049 !important; text-decoration: none !important; }
.dbn-article-back a:hover { color: #669bbc !important; }
.dbn-article-back span { color: #999; }
.dbn-article-published { color: #777; font-size: 14px; }
/* DEF-037-13: wide tables in article bodies scroll inside the column instead of overflowing on phones. */
.ulz-page-content .wp-block-table, .ulz-page-content .dbn-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) {
  .ulz-page-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
/* DEF-037-12: banner above the private article preview. */
.dbn-article-preview-banner { margin: 0; padding: 10px 16px; background: #fff8e6; border-bottom: 1px solid #f0d98c; color: #003049; font-size: 14px; text-align: center; }
.dbn-article-preview-banner a { color: #003049; text-decoration: underline; }
