/* ==========================================================================
   KnowItAll Ninja - Help Centre stylesheet
   Built to match knowitallninja.com: Rubik, the #398ffc brand blue, the same
   card and pill shapes used across the teacher and student dashboards.

   Paste into: Manage > Docs > KnowItAll Ninja > Custom Code > CSS
   Written against the live markup of help.knowitallninja.com, August 2026.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand blue, taken from the theme's own --color-primary scale */
    --kin-blue: #398ffc;
    --kin-blue-dark: #0773fb;
    --kin-blue-darker: #035ccc;
    --kin-blue-soft: #ebf4ff;
    --kin-blue-border: #d9eaff;

    --kin-pink: #fb3d7a;
    --kin-green: #22c55e;

    /* Ink and greys, from the theme palette */
    --kin-ink: #0f1726;
    --kin-ink-2: #1a2535;
    --kin-body: #3c4d63;
    --kin-muted: #93a3b5;
    --kin-line: #e3ebf4;
    --kin-surface: #ffffff;
    --kin-bg: #f4f8fc;

    --kin-radius: 14px;
    --kin-radius-sm: 10px;
    --kin-shadow: 0 1px 2px rgba(15, 23, 38, .04), 0 8px 24px rgba(15, 23, 38, .06);
    --kin-shadow-lift: 0 2px 4px rgba(15, 23, 38, .06), 0 16px 32px rgba(15, 23, 38, .10);
    --kin-max: 1140px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--kin-body);
    background: var(--kin-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Rubik', sans-serif;
    color: var(--kin-ink);
    font-weight: 600;
    letter-spacing: -.01em;
}

a { color: var(--kin-blue); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--kin-blue-darker); text-decoration: none; }

#contentArea {
    max-width: var(--kin-max);
    margin: 0 auto;
    padding: 0 24px 64px;
}

/* --------------------------------------------------------------------------
   Navigation bar
   -------------------------------------------------------------------------- */

#mainNav.navbar { margin: 0; }

.navbar .navbar-inner {
    background: var(--kin-surface);
    border: 0;
    border-bottom: 1px solid var(--kin-line);
    border-radius: 0;
    box-shadow: none;
    padding: 14px 0;
}

.navbar .navbar-inner .container-fluid {
    max-width: var(--kin-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* The brand is a text span; swap it for the site logo. */
.navbar .brand {
    display: block;
    width: 210px;
    height: 44px;
    margin: 0;
    padding: 0;
    text-indent: -9999px;
    overflow: hidden;
    background: url('https://www.knowitallninja.com/wp-content/uploads/2024/06/KnowItAllNinjaLogo-Dark.svg') left center / contain no-repeat;
}

.navbar .nav { margin: 0 0 0 auto; display: flex; gap: 4px; float: none; }
.navbar .nav > li { float: none; }

.navbar .nav > li > a {
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--kin-body);
    font-size: 15px;
    font-weight: 500;
    text-shadow: none;
    transition: background .15s ease, color .15s ease;
}

.navbar .nav > li > a:hover { background: var(--kin-blue-soft); color: var(--kin-blue-darker); }

.navbar .nav > li.active > a,
.navbar .nav > li.active > a:hover {
    background: var(--kin-blue);
    color: #fff;
}

/* Bootstrap 2 hangs a caret and a pointer triangle off the active item. */
.navbar .nav .caret { display: none !important; }
.navbar .nav li:before, .navbar .nav li:after,
.navbar .nav a:before, .navbar .nav a:after { content: none !important; display: none !important; }

/* Mobile toggle */
.navbar .btn-navbar {
    background: var(--kin-blue-soft);
    border: 0;
    border-radius: var(--kin-radius-sm);
    box-shadow: none;
    margin: 0 0 0 auto;
    padding: 10px 12px;
}
.navbar .btn-navbar .icon-bar { background: var(--kin-blue-darker); box-shadow: none; }

/* --------------------------------------------------------------------------
   Home hero and search
   -------------------------------------------------------------------------- */

#docsSearch {
    background:
        radial-gradient(1200px 340px at 50% -140px, rgba(57, 143, 252, .18), transparent 70%),
        linear-gradient(180deg, #f7fbff 0%, var(--kin-bg) 100%);
    border-bottom: 1px solid var(--kin-line);
    padding: 48px 24px 52px;
    text-align: center;
}

#docsSearch h1 {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 24px;
}

#docsSearch #searchBar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 640px;
    /* Bootstrap's form styling leaves padding below the field, which read as
       an unexplained gap under the search box. */
    margin: 0 auto;
    padding: 0;
    position: relative;
    line-height: 0;
}

#searchBar .search-query {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: 60px;
    padding: 0 24px;
    font-family: inherit;
    font-size: 17px;
    color: var(--kin-ink);
    background: var(--kin-surface);
    border: 1px solid var(--kin-blue-border);
    border-radius: 999px;
    box-shadow: var(--kin-shadow);
    transition: border-color .15s ease, box-shadow .15s ease;
}

#searchBar .search-query::placeholder { color: var(--kin-muted); }

#searchBar .search-query:focus {
    outline: 0;
    border-color: var(--kin-blue);
    box-shadow: 0 0 0 4px rgba(57, 143, 252, .18);
}

#docsSearch #searchBar button {
    position: static;
    flex: 0 0 auto;
    height: 60px;
    padding: 0 32px;
    background: var(--kin-blue);
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease;
}

#docsSearch #searchBar button:hover { background: var(--kin-blue-dark); }
#docsSearch #searchBar button i { display: none; }

/* --------------------------------------------------------------------------
   Home: collections and category cards
   -------------------------------------------------------------------------- */

.collection-category { margin: 44px 0 0; }

/* The first section sits right under the hero, so it needs less room above. */
.collection-category:first-of-type { margin-top: 30px; }

.collection-category h2 {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--kin-ink);
    margin: 0 0 18px;
    padding: 0 2px;
}

.collection-category h2 a { color: inherit; }
.collection-category h2 a:hover { color: var(--kin-blue); }

.category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
}

/* Help Scout adds .two-col to smaller collections. Deliberately ignored: the
   cards should be one size across the whole page, with the short section
   simply leaving space to its right. */
.category-list.two-col { grid-template-columns: repeat(3, 1fr); }

.category-list .category,
.category-list.two-col .category {
    display: block;
    width: auto;
    max-width: none;
    float: none;
    position: relative;
    margin: 0;
    padding: 84px 26px 26px;
    min-height: 0;
    text-align: left;
    background: var(--kin-surface);
    border: 1px solid var(--kin-line);
    border-radius: var(--kin-radius);
    box-shadow: var(--kin-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.category-list .category:hover {
    transform: translateY(-3px);
    box-shadow: var(--kin-shadow-lift);
    border-color: var(--kin-blue-border);
}

.category-list .category h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--kin-ink);
}

.category-list .category p { margin: 0; color: var(--kin-body); font-size: 15px; }

.category-list .category .article-count {
    margin-top: 14px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--kin-blue-soft);
    color: var(--kin-blue-darker);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

/* Category icons -----------------------------------------------------------
   Inline SVG, so there is nothing to host and nothing to break. Each rule is
   keyed to the category ID, which you can read from the category's URL.
   -------------------------------------------------------------------------- */

.category-list .category::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 26px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--kin-blue-soft);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
}

/* 40 - Getting Set Up (rocket) */
.category-list #category-40::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13c0-5 3-9 7-11 4 2 7 6 7 11l-3 4H8l-3-4z'/%3E%3Ccircle cx='12' cy='9' r='2'/%3E%3Cpath d='M9 17l-2 4 5-2 5 2-2-4'/%3E%3C/svg%3E");
}

/* 44 - Day to Day (calendar) */
.category-list #category-44::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3Ccircle cx='12' cy='15' r='1.4' fill='%23398ffc' stroke='none'/%3E%3C/svg%3E");
}

/* 47 - Analysing Progress (chart) */
.category-list #category-47::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V4'/%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M7 16l4-5 3 3 5-7'/%3E%3C/svg%3E");
}

/* 51 - Administration (people) */
.category-list #category-51::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0'/%3E%3Cpath d='M16 6a3 3 0 0 1 0 6'/%3E%3Cpath d='M18 20a6 6 0 0 0-3-5'/%3E%3C/svg%3E");
}

/* 54 - Getting Going (compass) */
.category-list #category-54::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E");
}

/* 58 - Quizzes, Tasks & Progress (clipboard tick) */
.category-list #category-58::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='3'/%3E%3Cpath d='M9 4h6v3H9z'/%3E%3Cpath d='M9 13l2 2 4-4'/%3E%3C/svg%3E");
}

/* 64 - Troubleshooting (spanner) */
.category-list #category-64::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 4.5a4.5 4.5 0 0 0-6 5.9L4 15.9V20h4.1l5.5-5.5a4.5 4.5 0 0 0 5.9-6l-2.9 2.9-2.5-.5-.5-2.5z'/%3E%3C/svg%3E");
}

/* 69 - Your Membership (membership card) */
.category-list #category-69::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M6 16c.6-1.5 1.7-2.2 3-2.2s2.4.7 3 2.2M14.5 10h4M14.5 13.5h3'/%3E%3C/svg%3E");
}

/* 74 - Managing Your Membership (sliders) */
.category-list #category-74::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 12h4M12 12h8M4 17h9M17 17h3'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='15' cy='17' r='2'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Two-column pages (category and article)
   -------------------------------------------------------------------------- */

#contentArea .row-fluid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

#main-content.span9 { flex: 1 1 auto; min-width: 0; width: auto; margin: 0; }
#sidebar.span3 { flex: 0 0 280px; width: 280px; margin: 0; position: sticky; top: 24px; }

.contentWrapper {
    background: var(--kin-surface);
    border: 1px solid var(--kin-line);
    border-radius: var(--kin-radius);
    box-shadow: var(--kin-shadow);
    padding: 40px 44px;
}

/* --------------------------------------------------------------------------
   Category page
   -------------------------------------------------------------------------- */

#categoryHead { margin: 0 0 28px; padding: 0 0 20px; border-bottom: 1px solid var(--kin-line); }
#categoryHead h1 { font-size: 32px; margin: 0; }
#categoryHead .descrip { margin: 8px 0 0; color: var(--kin-muted); }

#categoryHead .sort { margin-top: 16px; }

#categoryHead .sort select {
    font-family: inherit;
    font-size: 14px;
    color: var(--kin-body);
    padding: 8px 14px;
    border: 1px solid var(--kin-line);
    border-radius: 999px;
    background: var(--kin-surface);
    cursor: pointer;
}

ul.articleList { list-style: none; margin: 0; padding: 0; }

ul.articleList li { margin: 0 0 10px; }

ul.articleList li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--kin-line);
    border-radius: var(--kin-radius-sm);
    background: var(--kin-surface);
    color: var(--kin-ink);
    font-weight: 500;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

ul.articleList li a:hover {
    border-color: var(--kin-blue-border);
    background: var(--kin-blue-soft);
    transform: translateX(3px);
}

ul.articleList .icon-article-doc {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

ul.articleList .icon-article-doc:before { content: none; }

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

#fullArticle { position: relative; }

#fullArticle .title {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 28px;
    padding: 0 60px 20px 0;
    border-bottom: 1px solid var(--kin-line);
}

#fullArticle .printArticle {
    position: absolute;
    top: 4px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--kin-radius-sm);
    background: var(--kin-blue-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}

#fullArticle .printArticle:hover { background: var(--kin-blue-border); }

#fullArticle h2 {
    font-size: 24px;
    margin: 44px 0 14px;
    padding-top: 4px;
}

#fullArticle h3 { font-size: 19px; margin: 32px 0 10px; }

#fullArticle p { margin: 0 0 18px; }

#fullArticle ul, #fullArticle ol { margin: 0 0 20px; padding-left: 26px; }
#fullArticle li { margin: 0 0 8px; }
#fullArticle li::marker { color: var(--kin-blue); }

#fullArticle strong { color: var(--kin-ink-2); font-weight: 600; }

#fullArticle hr {
    height: 1px;
    margin: 40px 0;
    background: var(--kin-line);
    border: 0;
}

#fullArticle img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 8px 0 24px;
    border: 1px solid var(--kin-line);
    border-radius: var(--kin-radius-sm);
    box-shadow: var(--kin-shadow);
}

#fullArticle blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border: 0;
    border-left: 4px solid var(--kin-blue);
    border-radius: 0 var(--kin-radius-sm) var(--kin-radius-sm) 0;
    background: var(--kin-blue-soft);
    color: var(--kin-ink-2);
    font-size: 16px;
}

#fullArticle blockquote p:last-child { margin-bottom: 0; }

#fullArticle code {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: .88em;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--kin-bg);
    border: 1px solid var(--kin-line);
    color: var(--kin-ink-2);
}

/* Tables ------------------------------------------------------------------
   The guides lean on two-column reference tables, so these matter.
   -------------------------------------------------------------------------- */

#fullArticle table, #fullArticle .hs-table {
    width: 100%;
    margin: 8px 0 28px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--kin-line);
    border-radius: var(--kin-radius-sm);
    overflow: hidden;
    font-size: 16px;
}

#fullArticle th {
    background: var(--kin-bg);
    color: var(--kin-ink);
    font-weight: 600;
    text-align: left;
    padding: 13px 18px;
    border-bottom: 1px solid var(--kin-line);
}

#fullArticle td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--kin-line);
    vertical-align: top;
}

#fullArticle tr:last-child td { border-bottom: 0; }
#fullArticle tbody tr:hover td { background: #fbfdff; }

/* First column of a two-column table is almost always the term being defined. */
#fullArticle td:first-child { color: var(--kin-ink-2); }

/* Ratings and footer ------------------------------------------------------- */

.articleRatings {
    margin: 40px 0 0;
    padding: 24px;
    background: var(--kin-bg);
    border-radius: var(--kin-radius-sm);
    text-align: center;
}

.articleRatings-question { font-weight: 500; color: var(--kin-ink-2); margin-bottom: 14px; }

.rateAction {
    background: var(--kin-surface);
    border: 1px solid var(--kin-line);
    border-radius: 999px;
    padding: 8px 18px;
    margin: 0 5px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.rateAction:hover { border-color: var(--kin-blue); background: var(--kin-blue-soft); }

.articleFoot {
    margin: 28px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--kin-line);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 15px;
    color: var(--kin-muted);
}

.articleFoot .help { margin: 0; }
.articleFoot .lu { margin-left: auto; font-size: 14px; }

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */

#sidebar #searchBar.sm { margin: 0 0 28px; position: relative; }

#sidebar #searchBar .search-query {
    height: 46px;
    padding: 0 46px 0 18px;
    font-size: 15px;
    box-shadow: none;
}

#sidebar #searchBar button {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    background: none;
    border: 0;
    cursor: pointer;
}

#sidebar #searchBar button i {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a3b5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

#sidebar #searchBar button i:before { content: none; }

#sidebar h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--kin-muted);
    margin: 0 0 12px;
    padding: 0 4px;
}

#sidebar .nav-list { margin: 0; padding: 0; list-style: none; }

#sidebar .nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    margin: 0 0 4px;
    border-radius: var(--kin-radius-sm);
    color: var(--kin-body);
    font-size: 15px;
    font-weight: 500;
    text-shadow: none;
    transition: background .15s ease, color .15s ease;
}

#sidebar .nav-list > li > a:hover { background: var(--kin-blue-soft); color: var(--kin-blue-darker); }

#sidebar .nav-list > li.active > a,
#sidebar .nav-list > li.active > a:hover {
    background: var(--kin-blue);
    color: #fff;
}

#sidebar .icon-arrow {
    width: 16px;
    height: 16px;
    opacity: .5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23398ffc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

#sidebar .nav-list > li.active .icon-arrow { filter: brightness(0) invert(1); opacity: .9; }
#sidebar .icon-arrow:before { content: none; }

/* --------------------------------------------------------------------------
   Search results dropdown and page
   -------------------------------------------------------------------------- */

#serp-dd {
    margin-top: 8px;
    background: var(--kin-surface);
    border: 1px solid var(--kin-line);
    border-radius: var(--kin-radius-sm);
    box-shadow: var(--kin-shadow-lift);
    overflow: hidden;
    text-align: left;
}

#serp-dd .result { margin: 0; padding: 6px; list-style: none; }
#serp-dd .result li a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--kin-body); }
#serp-dd .result li a:hover { background: var(--kin-blue-soft); }

#noResults { padding: 40px 0; text-align: center; color: var(--kin-muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer.center {
    max-width: var(--kin-max);
    margin: 0 auto;
    padding: 32px 24px 48px;
    text-align: center;
    color: var(--kin-muted);
    font-size: 14px;
    border-top: 1px solid var(--kin-line);
}

footer.center a { color: var(--kin-body); }
footer.center a:hover { color: var(--kin-blue); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 940px) {
    #contentArea .row-fluid { flex-direction: column; gap: 28px; }
    #sidebar.span3 { flex: 1 1 auto; width: 100%; position: static; }
    .contentWrapper { padding: 28px 24px; }
    #docsSearch { padding: 40px 20px 44px; }
    #docsSearch h1 { font-size: 30px; }
    .category-list, .category-list.two-col { grid-template-columns: repeat(2, 1fr); }
    #fullArticle .title { font-size: 27px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .navbar-inner .container-fluid { flex-wrap: wrap; }
    .navbar .brand { width: 170px; height: 38px; }
    .navbar .nav { width: 100%; margin: 12px 0 0; flex-wrap: wrap; }
    .category-list, .category-list.two-col { grid-template-columns: 1fr; }
    #docsSearch #searchBar button { position: static; width: 100%; margin-top: 12px; height: 48px; }
    #searchBar .search-query { padding-right: 24px; }
    #fullArticle table { display: block; overflow-x: auto; }
}
