/*
 * Knowledge Base + 404 surfaces: header, layout and type.
 *
 * Why this file exists: the site header is a BeBuilder template that is
 * `position: fixed` and transparent, and every ordinary page starts with a
 * full-bleed hero for it to sit on (cw-core.css:1447-1530). Echo Knowledge Base
 * pages and the 404 page have NO hero, so their white content starts at the top
 * of the viewport and paints over the menu. Measured 2026-11-25 on prod: the
 * header container is 0 px tall, its section is 100 px and fixed, the KB article
 * panel starts at y=0 — the navigation is simply not visible.
 *
 * So: on those pages the header takes the state it already has when the site is
 * scrolled up ("header-white", cw-core.css:1469-1530 — solid white, dark menu,
 * original logo), and the content moves down by the header height.
 *
 * Everything is scoped to body classes that only those pages carry, so no other
 * template can be affected. Enqueued by inc/cw-kb.php after style.css.
 */

/* ---------- 1. Header on hero-less pages ---------- */

body.cw-solid-header {
    --cw-kb-header: 100px;
}

@media (max-width: 960px) {
    body.cw-solid-header {
        --cw-kb-header: 68px;
    }
}

/* Same declarations as .header-white / :hover in cw-core.css — keep the pair in
   step if that block is ever restyled. */
body.cw-solid-header .mfn-header-tmpl-builder .mcb-header-section {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.cw-solid-header .mfn-header-tmpl-builder .mcb-header-section .mfn-menu-link,
body.cw-solid-header .mfn-header-tmpl-builder .mcb-header-section .mfn-header-menu-toggle .icon,
body.cw-solid-header .mfn-header-tmpl-builder .mcb-header-section .icon-wrapper i {
    color: #444444 !important;
}

body.cw-solid-header .mfn-header-tmpl-builder .mcb-header-section .logo-wrapper img {
    filter: none !important;
}

body.cw-solid-header .mfn-header-tmpl-builder .mcb-header-section .mfn-header-menu-burger {
    border-color: rgba(68, 68, 68, 0.3) !important;
}

/* Content starts below the fixed header instead of underneath it. */
body.cw-solid-header #Wrapper {
    padding-top: var(--cw-kb-header);
}

/* ---------- 2. ECKB article page ---------- */

body.cw-kb-page #eckb-article-page-container-v2 {
    padding: 20px 0 80px;
}

/* The plugin prints `width:1400px` and `24% 52% 24%` inline (its own template
   CSS); a fluid grid keeps the columns from squeezing the text. */
body.cw-kb-page #eckb-article-page-container-v2 #eckb-article-body {
    width: min(1400px, calc(100% - 48px)) !important;
    grid-template-columns: 250px minmax(0, 1fr) 250px !important;
    column-gap: 36px !important;
    align-items: start;
}

body.cw-kb-page #eckb-article-content {
    min-width: 0;
}

/* One H1, at a size that reads as a heading — measured 50px/60 before. */
body.cw-kb-page h1.eckb-article-title {
    font-size: 34px !important;
    line-height: 1.2 !important;
    margin: 6px 0 18px !important;
    letter-spacing: -0.01em;
}

body.cw-kb-page #eckb-article-content-body {
    font-size: 16px;
    line-height: 1.75;
}

body.cw-kb-page #eckb-article-content-body h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin: 28px 0 10px !important;
}

body.cw-kb-page #eckb-article-content-body h3 {
    font-size: 18px !important;
    margin: 22px 0 8px !important;
}

body.cw-kb-page #eckb-article-content-body p {
    margin: 0 0 14px;
}

/* The row above the title: "< All Topics", breadcrumbs, Print, search. It
   overlapped itself on both breakpoints; let it wrap and keep one gap. */
body.cw-kb-page #eckb-article-content-header-v2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.cw-kb-page #eckb-article-content-header-row-1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

body.cw-kb-page #eckb-article-content-header-row-1 .eckb-article-content-header-row-left-group,
body.cw-kb-page #eckb-article-content-header-row-1 .eckb-article-content-header-row-right-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

body.cw-kb-page #eckb-article-content-header-row-2 {
    margin-top: 2px;
}

body.cw-kb-page .eckb-breadcrumb-outline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

/* Measured at 390px: the breadcrumb row and the TOC keep a min-content width
   wider than the viewport (479px inside a 358px column) and the article text is
   clipped by the page edge. */
body.cw-kb-page #eckb-article-content,
body.cw-kb-page #eckb-article-content-header-v2,
body.cw-kb-page #eckb-article-content-header-row-1,
body.cw-kb-page #eckb-article-content-header-row-2,
body.cw-kb-page #eckb-article-content-header-row-1 > div,
body.cw-kb-page .eckb-article-content-breadcrumb-container,
body.cw-kb-page .eckb-breadcrumb,
body.cw-kb-page .eckb-breadcrumb-outline,
body.cw-kb-page .eckb-article-toc,
body.cw-kb-page .eckb-article-toc__inner,
body.cw-kb-page .eckb-article-toc-outline {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

body.cw-kb-page .eckb-breadcrumb-outline a,
body.cw-kb-page .eckb-article-toc-outline a {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* The KB already has its own search box on the main page; on an article the
   plugin's toolbar search doubles the site search in the header. */
body.cw-kb-page #eckb-article-content-toolbar-container {
    font-size: 14px;
}

/* ---------- 3. Article sidebars ---------- */

body.cw-kb-page #eckb-article-left-sidebar,
body.cw-kb-page #eckb-article-right-sidebar {
    position: sticky;
    top: calc(var(--cw-kb-header) + 16px);
    align-self: start;
    max-height: calc(100vh - var(--cw-kb-header) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* 5,710 links in one flat column otherwise makes the page 17,890px tall. */
body.cw-kb-page #epkb-sidebar-container-v2 {
    background-color: #f5f7fb !important;
    box-shadow: none !important;
    border: 1px solid #e3e8f0;
}

body.cw-kb-page #epkb-sidebar-container-v2 .epkb-sidebar__heading__inner__cat-name {
    font-size: 15px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.01em;
}

body.cw-kb-page #epkb-sidebar-container-v2 .epkb-sidebar-article,
body.cw-kb-page #epkb-sidebar-container-v2 .eckb-article-title__text {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
}

body.cw-kb-page .eckb-article-toc,
body.cw-kb-page .eckb-article-toc__inner {
    font-size: 14px;
}

body.cw-kb-page #eckb-article-right-sidebar h2,
body.cw-kb-page #eckb-article-right-sidebar .eckb-article-toc-title {
    font-size: 13px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- 4. Floating enquiry button ---------- */

/* The button sits over the last KB card / the article footer. */
body.cw-kb-page #eckb-article-page-container-v2,
body.cw-kb-page .epkb-content-container,
body.cw-kb-page .epkb-ml__module-categories-articles {
    padding-bottom: 96px;
}

/* ---------- 5. Narrow screens ---------- */

@media (max-width: 1200px) {
    body.cw-kb-page #eckb-article-page-container-v2 #eckb-article-body {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }

    body.cw-kb-page #eckb-article-right-sidebar {
        display: none;
    }
}

@media (max-width: 860px) {
    body.cw-kb-page #eckb-article-page-container-v2 #eckb-article-body {
        width: calc(100% - 32px) !important;
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 22px !important;
    }

    body.cw-kb-page #eckb-article-left-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    body.cw-kb-page h1.eckb-article-title {
        font-size: 26px !important;
    }

    body.cw-kb-page #eckb-article-content-body h2 {
        font-size: 20px !important;
    }
}
/* ---------- 6. KB main page: the H1 the plugin never prints ---------- */

body.cw-kb-page .cw-kb-h1 {
    max-width: min(1400px, calc(100% - 48px));
    margin: 28px auto 0;
    font-size: 30px;
    line-height: 1.25;
    color: var(--cw-navy, #0d2b44);
}

@media (max-width: 860px) {
    body.cw-kb-page .cw-kb-h1 {
        width: calc(100% - 32px);
        margin-top: 20px;
        font-size: 24px;
    }
}

/* ---------- 7. The 404 page ---------- */

body.cw-missing-page #Content {
    padding: 0;
}

/* Belt and braces for BeTheme's body.error404.default-404 rule, which hides the
   header and footer of its own stock 404. inc/cw-kb.php drops that class; this
   keeps the header visible even if something re-adds it. */
body.cw-missing-page.error404.default-404 header.mfn-header-tmpl,
body.cw-missing-page.error404.default-404 footer.mfn-footer-tmpl {
    display: block !important;
}

.cw-404-hero {
    background: #f0f2ff;
    padding: 64px 24px 48px;
    text-align: center;
}

.cw-404-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cw-coral, #e07a5f);
}

.cw-404-title {
    margin: 0 auto 14px;
    max-width: 780px;
    font-size: 40px;
    line-height: 1.15;
    color: var(--cw-navy, #0d2b44);
}

.cw-404-lead {
    margin: 0 auto 26px;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

.cw-404-search {
    display: flex;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
}

.cw-404-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d6dbe6;
    background: #fff;
    font-size: 15px;
    color: #333;
}

.cw-404-search input[type="search"]:focus {
    outline: none;
    border-color: var(--cw-navy, #0d2b44);
}

.cw-404-search .button {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 26px;
    margin: 0;
}

.cw-404-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cw-404-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 44px auto 0;
    padding: 0 24px;
}

.cw-404-link {
    display: block;
    padding: 20px 22px;
    border: 1px solid #e3e8f0;
    background: #fff;
    text-decoration: none !important;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.cw-404-link:hover {
    border-color: var(--cw-navy, #0d2b44);
    transform: translateY(-2px);
}

.cw-404-link-title {
    display: block;
    font-family: "Syne", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.3;
    color: var(--cw-navy, #0d2b44);
}

.cw-404-link-note {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #6b7280;
}

.cw-404-yachts {
    max-width: min(1400px, calc(100% - 48px));
    margin: 56px auto 72px;
}

.cw-404-h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: var(--cw-navy, #0d2b44);
}

@media (max-width: 960px) {
    .cw-404-hero {
        padding: 44px 20px 36px;
    }

    .cw-404-title {
        font-size: 30px;
    }

    .cw-404-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cw-404-yachts {
        width: calc(100% - 32px);
    }
}

@media (max-width: 640px) {
    .cw-404-search {
        flex-direction: column;
    }

    .cw-404-links {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 32px;
    }

    .cw-404-title {
        font-size: 26px;
    }
}

/* ---------- 8. KB main page: hero and the site's palette ---------- */

/*
 * The plugin ships an indigo/Tailwind palette (#eef2ff band, #312e81 headings,
 * #4f46e5 buttons, #818cf8 icons, #f8fafc panels) that has nothing to do with
 * this site's navy/coral/sand scheme (cw-core.css:8-20). Its rules carry
 * `!important`, so the overrides below do too. Nothing here changes layout, only
 * colour and the heading sizes that read as body copy.
 *
 * The hero: the "banner" is a plain image block at the top of the page content,
 * printing WordPress's 1024x605 rendition of a 2200x1300 file, inside the
 * plugin's 1000px column — so it looked like a postcard rather than a hero
 * (client 25.11). inc/cw-kb.php points the block at the full-size file; here it
 * is taken edge to edge and cropped to a hero band.
 */
body.cw-kb-page {
    --cw-kb-tint: #EAF1F7;
    --cw-kb-tint-2: #F5F8FB;
    --cw-kb-line: rgba(0, 62, 120, 0.12);
    --cw-kb-ink: #0D2B44;
}

/* hero band */
body.cw-kb-page .eckb-kb-template > .wp-block-image:first-of-type,
body.cw-kb-page .eckb-kb-template .wp-block-image:first-of-type {
    width: 100vw;
    max-width: 100vw;
    /* flush against the search band: any bottom margin printed a white strip between
       the photo and the tinted panel (client 25.11) */
    margin: 0 calc(50% - 50vw);
}

body.cw-kb-page .eckb-kb-template .wp-block-image:first-of-type figure {
    margin: 0;
    width: 100%;
}

body.cw-kb-page .eckb-kb-template .wp-block-image:first-of-type img {
    display: block;
    width: 100%;
    height: clamp(260px, 38vw, 560px);
    object-fit: cover;
    /* the photograph's subject sits in its top third: 45% cut her head off and showed
       only her body (client 25.11). Anchored near the top so the woman, and the man
       below her, are both in the band. */
    object-position: center 18%;
}

/* the paragraph strut the page carries above the image */
body.cw-kb-page .eckb-kb-template > p.wp-block-paragraph:empty {
    display: none;
}

/* search band */
body.cw-kb-page #epkb-ml__module-search {
    background-color: var(--cw-kb-tint) !important;
}

body.cw-kb-page #epkb-ml__module-search .epkb-ml-search-title {
    color: var(--cw-kb-ink) !important;
    letter-spacing: 0.01em;
}

body.cw-kb-page #epkb-ml__module-search .epkb-ml-search-box__input,
body.cw-kb-page #epkb-ml__module-search .epkb-ml-search-box__btn {
    font-family: "Montserrat", sans-serif;
}

body.cw-kb-page #epkb-ml__module-search .epkb-ml-search-box__btn,
body.cw-kb-page #epkb-ml__module-search #epkb-ml-search-form button {
    background-color: var(--cw-navy, #0d2b44) !important;
    border-color: var(--cw-navy, #0d2b44) !important;
    color: #fff !important;
}

body.cw-kb-page #epkb-ml__module-search .epkb-ml-search-box__btn:hover,
body.cw-kb-page #epkb-ml__module-search #epkb-ml-search-form button:hover {
    background-color: var(--cw-navy-hover, #124066) !important;
    border-color: var(--cw-navy-hover, #124066) !important;
}

body.cw-kb-page #epkb-ml__module-search .epkb-ml-search-box__input {
    border-color: var(--cw-kb-line) !important;
}

/* category and article cards */
body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-article-container,
body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-article-container:hover,
body.cw-kb-page #epkb-ml-categories-layout .epkb-article-inner {
    background-color: transparent !important;
    color: var(--cw-kb-ink) !important;
}

body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-article-container:hover {
    background-color: var(--cw-kb-tint) !important;
}

body.cw-kb-page #epkb-ml-categories-layout .epkb-category-level-1,
body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-article-container .epkb-article-title__text,
body.cw-kb-page #epkb-ml-categories-layout .epkb-article-inner a {
    color: var(--cw-kb-ink) !important;
}

body.cw-kb-page #epkb-ml-categories-layout .epkb-category-level-1__cat-count,
body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-article-count {
    color: var(--cw-kb-ink) !important;
    border-color: var(--cw-kb-line) !important;
}

body.cw-kb-page #epkb-ml-categories-layout .epkb-articles-coming-soon,
body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-show-remaining-articles {
    color: #5a6b7d !important;
}

body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-show-remaining-articles:hover {
    color: var(--cw-coral, #f66867) !important;
}

/* the card frame itself */
body.cw-kb-page #epkb-ml-categories-layout .epkb-category-layout-1 .epkb-cat,
body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-row-categories-layout > div,
body.cw-kb-page #epkb-ml-categories-layout .epkb-ml-article-list-container {
    border-color: var(--cw-kb-line) !important;
    background-color: #fff !important;
}

/* icons: the plugin's indigo glyphs become the site's navy */
body.cw-kb-page #epkb-ml-categories-layout .ep_font_icon_folder,
body.cw-kb-page #epkb-ml-categories-layout .ep_font_icon_document,
body.cw-kb-page #epkb-ml-categories-layout .eckb-article-title__icon,
body.cw-kb-page #epkb-ml__module-articles-list .eckb-article-title__icon {
    color: var(--cw-kb-ink) !important;
}

/* featured-articles panels */
body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-article-list-container {
    background-color: var(--cw-kb-tint-2) !important;
    border-color: var(--cw-kb-line) !important;
}

body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-articles-list__title,
body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-article-section__title {
    color: var(--cw-kb-ink) !important;
}

body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-article-container,
body.cw-kb-page #epkb-ml__module-articles-list .epkb-article-inner,
body.cw-kb-page #epkb-ml__module-articles-list a {
    color: var(--cw-kb-ink) !important;
}

body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-article-container:hover {
    background-color: var(--cw-kb-tint) !important;
}

/* FAQ accordion */
body.cw-kb-page #epkb-ml__module-faqs .epkb-faqs-title,
body.cw-kb-page #epkb-ml__module-faqs .epkb-faqs__cat-header__title,
body.cw-kb-page #epkb-ml__module-faqs .epkb-faqs__item__question {
    color: var(--cw-kb-ink) !important;
}

body.cw-kb-page #epkb-ml__module-faqs .epkb-faqs__item__question__icon {
    color: var(--cw-kb-ink) !important;
}

body.cw-kb-page #epkb-ml__module-faqs .epkb-faqs__item-container {
    border-color: var(--cw-kb-line) !important;
}

/* headings that the plugin prints as body-sized text */
body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-articles-list__title {
    font-size: 24px !important;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

@media (max-width: 860px) {
    body.cw-kb-page .eckb-kb-template .wp-block-image:first-of-type img {
        height: clamp(180px, 52vw, 320px);
        /* a short band on a phone has almost no vertical slack, so anchor it at the
           top: the woman's head is the one thing that must not be cropped */
        object-position: center top;
    }

    body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-articles-list__title {
        font-size: 19px !important;
    }
}

/* the category title strip inside each card (the plugin paints it #eef2ff) */
body.cw-kb-page #epkb-ml-categories-layout .section-head,
body.cw-kb-page #epkb-ml__module-articles-list .section-head {
    background-color: var(--cw-kb-tint) !important;
    color: var(--cw-kb-ink) !important;
}

body.cw-kb-page #epkb-ml-categories-layout .section-head:hover,
body.cw-kb-page #epkb-ml__module-articles-list .section-head:hover {
    background-color: #dfeaf5 !important;
}

body.cw-kb-page #epkb-ml-categories-layout .epkb-category-level-1__cat-name,
body.cw-kb-page #epkb-ml__module-articles-list .epkb-ml-article-section__title {
    color: var(--cw-kb-ink) !important;
}

/* card frames: the plugin's #f8fafc fill and heavy shadow become the site's own */
body.cw-kb-page #epkb-ml-categories-layout .epkb-top-category-box,
body.cw-kb-page #epkb-ml__module-articles-list .epkb-top-category-box {
    background-color: #fff !important;
    box-shadow: 0 12px 30px -20px rgba(13, 43, 68, 0.35) !important;
}

/* ---------- 9. Article page: the plugin's indigo/teal accents ---------- */

/*
 * The article page was left with the plugin's own accent colours while the main
 * page was repainted (client 25.11, second screenshot): the table of contents'
 * active row is #4f46e5 indigo, its heading #6aa6a2 teal, the left rule of the
 * panel indigo, and prev/next links slate. Same treatment as the category cards:
 * the site's navy, nothing else.
 */
body.cw-kb-page #eckb-article-right-sidebar .eckb-article-toc,
body.cw-kb-page #eckb-article-right-sidebar .eckb-article-toc__inner {
    border-left-color: var(--cw-navy, #0d2b44) !important;
    border-color: var(--cw-kb-line, rgba(0, 62, 120, 0.12));
}

body.cw-kb-page .eckb-article-toc__title,
body.cw-kb-page .eckb-article-toc-title {
    color: var(--cw-navy, #0d2b44) !important;
}

body.cw-kb-page .eckb-article-toc-outline a {
    color: var(--cw-grey, #444) !important;
}

body.cw-kb-page .eckb-article-toc-outline a.active,
body.cw-kb-page .eckb-article-toc-outline a:hover {
    background-color: var(--cw-navy, #0d2b44) !important;
    color: #fff !important;
}

body.cw-kb-page .eckb-article-toc-outline a:hover:not(.active) {
    background-color: var(--cw-kb-tint, #eaf1f7) !important;
    color: var(--cw-navy, #0d2b44) !important;
}

/* previous / next cards */
body.cw-kb-page .eckb-navigation-button a,
body.cw-kb-page .eckb-navigation-button .eckb-navigation-button__text {
    color: var(--cw-navy, #0d2b44) !important;
}

body.cw-kb-page .eckb-navigation-button {
    border-color: var(--cw-kb-line, rgba(0, 62, 120, 0.12)) !important;
    background-color: var(--cw-kb-tint-2, #f5f8fb) !important;
}

body.cw-kb-page .eckb-navigation-button:hover {
    background-color: var(--cw-kb-tint, #eaf1f7) !important;
}

/* "< All Topics", Print and the toolbar icons */
body.cw-kb-page .eckb-navigation-back,
body.cw-kb-page .eckb-navigation-back a,
body.cw-kb-page #eckb-article-content-toolbar-container,
body.cw-kb-page #eckb-article-content-toolbar-container a,
body.cw-kb-page #eckb-article-content-toolbar-container .eckb-toolbar-button-text {
    color: var(--cw-navy, #0d2b44) !important;
}

body.cw-kb-page .eckb-navigation-back {
    border-color: var(--cw-kb-line, rgba(0, 62, 120, 0.12)) !important;
    background-color: transparent !important;
}

/* tags: the pill keeps its light fill, the text and hover follow the site */
body.cw-kb-page .eckb-tag,
body.cw-kb-page .eckb-tag-list a {
    background-color: var(--cw-light-grey, #f5f5f5) !important;
    color: var(--cw-grey, #444) !important;
    border-radius: 0 !important;
}

body.cw-kb-page .eckb-tag:hover,
body.cw-kb-page .eckb-tag-list a:hover {
    background-color: var(--cw-navy, #0d2b44) !important;
    color: #fff !important;
}

/*
 * Editorial bookkeeping must not appear on a public page. These pills are tags the
 * generation pipeline created for itself — "source-draft-needs-review", "part-2",
 * "multiple-source-drafts" — and they were listed on the live article (client
 * 25.11). Hiding them here is a stopgap that needs no admin access; the real fix is
 * deleting the terms, and this rule can then be dropped.
 */
body.cw-kb-page .eckb-tag-list a[href*="source-draft"],
body.cw-kb-page .eckb-tag-list a[href*="multiple-source"],
body.cw-kb-page .eckb-tag-list a[href*="needs-review"],
body.cw-kb-page .eckb-tag-list a[href*="part-"] {
    display: none !important;
}
