/* ==========================================================================
   ClockRite Support (Help Scout Docs) - custom stylesheet
   Replaces Fullpagearticle23.css to 34.css
   Font sizes are in rem (1rem = 16px, the site's root size).
   Minimum text size is 1rem: nothing on the site is set smaller, except the footer.
   (25 design, home page search section from 26, menu grouped by software)
   ========================================================================== */

/* Cabin was referenced before but never loaded, so browsers fell back to a
   default sans-serif. This makes the brand font actually appear. */
@import url("https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap");

:root {
    --cr-navy: #204b9b;
    --cr-blue: #008de4;
    --cr-teal: #0098a0;
    --cr-gradient: linear-gradient(135deg, #0098a0 0%, #2a4b9a 100%);
    --cr-button: linear-gradient(135deg, #0a8a9c 0%, #204b9b 100%);
    /* Home page search section (from version 26, matches www.clockrite.co.uk) */
    --cr-hero: radial-gradient(ellipse 70% 90% at 50% 0%, #e3f3f6 0%, rgba(227, 243, 246, 0) 70%),
               radial-gradient(ellipse 50% 70% at 85% 10%, #e8eefa 0%, rgba(232, 238, 250, 0) 70%),
               #ffffff;
    --cr-hero-ink: #0f1a45;
    --cr-hero-muted: #6b7385;
    --cr-teal-text: #1a97a8;
    --cr-ink: #1f2937;
    --cr-text: #0f1a45;
    --cr-muted: #6b7280;
    --cr-line: #e5e9f0;
    --cr-surface: #f5f7fb;
    --cr-white: #ffffff;
    --cr-radius: 12px;
    --cr-radius-sm: 8px;
    --cr-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 12px rgba(16, 24, 40, .06);
    --cr-shadow-hover: 0 4px 8px rgba(16, 24, 40, .06), 0 12px 28px rgba(32, 75, 155, .14);
    --cr-font: "Cabin", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html body {
    background: var(--cr-surface);
    color: var(--cr-text);
    font-family: var(--cr-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body h1, body h2, body h3, body h4, body h5,
body input, body button, body select, body textarea {
    font-family: var(--cr-font);
}

a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(0, 141, 228, .45);
    outline-offset: 2px;
}

::selection { background: rgba(0, 141, 228, .18); }

/* Screen-reader-only labels: fully clipped so they can't widen the page on phones */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

::marker { font-weight: bold; color: var(--cr-navy); }

/* Larger list markers in articles: bullets (ul) and numbers (ol) */
#fullArticle ul > li::marker {
    font-size: 1.4em;
    line-height: 1;
}

#fullArticle ol > li::marker {
    font-size: 1.2em;
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.navbar {
    margin-bottom: 0;
    padding-bottom: 6px;                 /* slim brand stripe under the header */
    background: var(--cr-gradient);
}

#mainNav .navbar-inner {
    background: var(--cr-white);
    border: 0;
    box-shadow: none;
}

.brand img {
    content: url(https://www.clockrite.co.uk/wp-content/uploads/ClockRite-Logo-Cloud-Small.png);
}

#mainNav .nav li a {
    font-family: var(--cr-font);
    font-weight: 600;
    color: var(--cr-navy);
    text-shadow: none;
}

#mainNav .nav li a:hover,
#mainNav .nav li a:focus {
    color: var(--cr-blue);
}

#mainNav .nav .active a,
#mainNav .nav .active a:hover,
#mainNav .nav .active a:focus {
    color: var(--cr-blue);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Search hero (home page)
   -------------------------------------------------------------------------- */
#docsSearch {
    background: var(--cr-hero);
    border-bottom: 1px solid var(--cr-line);
    margin-bottom: 2.5em;
    padding: 56px 0 48px;
    text-align: center;
}

/* Eyebrow pill above the heading, like "UK WORKFORCE MANAGEMENT SINCE 1999" */
#docsSearch::before {
    content: "ClockRite Support Centre";
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 152, 160, .12);
    color: var(--cr-teal-text);
    font-family: var(--cr-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#docsSearch::after {
    content: "Step-by-step guides for ClockRite, Go2Clock and your clocking terminals.";
    display: block;
    margin-top: 18px;
    color: var(--cr-hero-muted);
    font-family: var(--cr-font);
    font-size: 1rem;
}

/* The hero already has padding, so the form gets none. The button is then
   pinned to the input's own bottom edge and can't drift out of the pill. */
#docsSearch #searchBar {
    max-width: 640px;
    width: auto;
    margin: 0 auto;
    padding: 0;
}

#docsSearch #searchBar::before {
    content: "How can we help?";
    display: block;
    text-align: center;
    margin-bottom: 26px;
    color: var(--cr-hero-ink);
    font-family: var(--cr-font);
    font-size: 2.875rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
}

#searchBar .search-query {
    display: block;
    width: 100%;
    margin: 0;
    height: 58px;
    padding: 0 140px 0 24px;
    border: 1px solid #e4e9f1;
    border-radius: 999px;
    background: var(--cr-white);
    box-shadow: 0 10px 30px rgba(15, 26, 69, .10);
    color: var(--cr-ink);
    font-size: 1.0625rem;
}

#searchBar .search-query:focus {
    border-color: var(--cr-teal);
    box-shadow: 0 0 0 4px rgba(0, 152, 160, .18), 0 10px 30px rgba(15, 26, 69, .10);
}

#docsSearch #searchBar button {
    top: auto;
    bottom: 5px;
    right: 5px;
    margin: 0;
    line-height: 48px;
    height: 48px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--cr-button);
    box-shadow: 0 6px 16px rgba(10, 138, 156, .30);
    color: var(--cr-white);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: none;
    transition: filter .15s ease, box-shadow .15s ease;
}

#docsSearch #searchBar button:hover {
    background: var(--cr-button);
    filter: brightness(1.08);
    box-shadow: 0 8px 20px rgba(10, 138, 156, .38);
}

/* Sidebar search */
#sidebar #searchBar.sm .search-query {
    height: 44px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-sm);
    background: var(--cr-white);
    box-shadow: none;
    font-size: 1rem;
}

#sidebar #searchBar.sm .search-query:focus {
    border-color: var(--cr-blue);
    box-shadow: 0 0 0 3px rgba(0, 141, 228, .2);
}

#sidebar #searchBar.sm button {
    top: 50%;
    right: 12px;
    line-height: 1;
    transform: translateY(-50%);
}

/* Search suggestions dropdown */
#serp-dd {
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-sm);
    box-shadow: var(--cr-shadow-hover);
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Home page: collections & category cards
   -------------------------------------------------------------------------- */
.collection-category { margin-bottom: 2.5em; }

.collection-category h2 {
    margin: 0 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--cr-blue);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.collection-category h2 a,
.collection-category h2 a:hover {
    color: var(--cr-navy);
    border-bottom: 0;
    text-decoration: none;
}

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

h2#collection-1701 { border-left-color: var(--cr-teal); }
h2#collection-1701 a { color: var(--cr-teal); }

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 0 auto;
}

.category-list .category {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;          /* titles line up across a row */
    width: auto;
    margin: 0;
    padding: 22px 20px;
    border: 1px solid var(--cr-line);
    border-top: 3px solid transparent;
    border-radius: var(--cr-radius);
    background: var(--cr-white);
    box-shadow: var(--cr-shadow);
    text-align: left;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.category-list .category:hover,
.category-list .category:focus-visible {
    background: var(--cr-white);
    border-top-color: var(--cr-blue);
    box-shadow: var(--cr-shadow-hover);
    transform: translateY(-2px);
}

.category-list h3 {
    margin: 0;
    color: var(--cr-ink);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
}

.category-list .category:hover h3 { color: var(--cr-navy); }

.category-list .category p { margin: 0; }

/* Category description (the plain <p> under the title). Help Scout outputs an
   empty <p> when a category has no description, so that one is hidden. */
.category-list .category p:not(.article-count) {
    margin-top: 6px;
    color: var(--cr-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.category-list .category p:empty { display: none; }

/* Article count sits at the bottom of the card, whatever the description length */
.category-list .category .article-count {
    margin-top: auto;
    padding-top: 10px;
    font-size: 1rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Layout: content card + sidebar
   -------------------------------------------------------------------------- */
#main-content {
    background: none;                    /* old ../img/bg-content2.png 404s */
}

.contentWrapper {
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    box-shadow: var(--cr-shadow);
    color: var(--cr-text);
}

.contentWrapper h1 {
    color: var(--cr-navy);
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

/* Category page description, under the heading in #categoryHead */
.contentWrapper p.descrip,
#categoryHead p.descrip {
    max-width: 70ch;
    margin: 6px 0 20px;
    color: var(--cr-muted);
    font-size: 1.125rem;
    line-height: 1.55;
}

#categoryHead p.descrip:empty { display: none; }

.contentWrapper.withRelated { border-radius: var(--cr-radius) var(--cr-radius) 0 0; }

.related {
    border-color: var(--cr-line);
    border-radius: 0 0 var(--cr-radius) var(--cr-radius);
    background: #fafbfd;
}

.related h3 {
    color: var(--cr-navy);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
}

/* Sidebar */
#sidebar h3 {
    margin: 0 0 10px;
    color: var(--cr-navy);
    font-family: var(--cr-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

#sidebar .nav-list li { margin: 0; }

#sidebar .nav-list a {
    display: block;
    margin: 0 0 2px;
    padding: 9px 12px 9px 14px;
    border-left: 3px solid transparent;
    border-radius: 0 var(--cr-radius-sm) var(--cr-radius-sm) 0;
    color: var(--cr-text);
    font-family: var(--cr-font);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

#sidebar .nav-list a:hover,
#sidebar .nav-list a:focus {
    background: rgba(0, 141, 228, .07);
    color: var(--cr-navy);
}

/* Active item no longer jumps to a bigger font size (which shifted the list) */
#sidebar .nav-list .active a,
#sidebar .nav-list .active a:focus,
#sidebar .nav-list .active a:hover {
    border-left-color: var(--cr-blue);
    background: rgba(0, 141, 228, .1);
    color: var(--cr-navy);
    font-size: 1rem;
    font-weight: 700;
}

#sidebar .nav-list .active a .icon-arrow { display: none; }

/* --------------------------------------------------------------------------
   Article lists (collection, category and search pages)
   -------------------------------------------------------------------------- */
.articleList {
    margin: 0 0 30px;
    font-family: var(--cr-font);
    font-size: 1.0625rem;
}

.articleList li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--cr-line);
}

.articleList li:last-child { border-bottom: 0; }

.articleList a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 13px 10px;
    border-radius: var(--cr-radius-sm);
    line-height: 1.45;
}

.articleList a:hover {
    background: rgba(0, 141, 228, .06);
    text-decoration: none;
}

.articleList a:hover span { text-decoration: none; color: var(--cr-navy); }

[class^=icon-] {
    font-size: 1.375rem;
    color: var(--cr-navy);
}

.articleList [class^=icon-] {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--cr-blue);
}

.icon-article-doc:before { color: inherit; }

.sort select,
#sortBy {
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-sm);
}

/* --------------------------------------------------------------------------
   Article body
   -------------------------------------------------------------------------- */
#fullArticle {
    font-size: 1rem;
    line-height: 1.7;
}

#fullArticle .title {
    color: var(--cr-navy);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

#fullArticle h1:not(.title),
#fullArticle h2,
#fullArticle h3,
#fullArticle h4 {
    color: var(--cr-navy);
    font-weight: 700;
    line-height: 1.3;
}

#fullArticle h1:not(.title) {
    margin: 1.8em 0 .7em;
    font-size: 1.625rem;
}

#fullArticle h2 { margin-top: 1.6em; font-size: 1.375rem; }

#fullArticle [class^="callout"] > :first-child { margin-top: 0; }
#fullArticle h3 { font-size: 1.1875rem; }
#fullArticle h4 { font-size: 1.0625rem; }

/* Section headings like "August 2026" are typed as underlined bold text;
   swap the underline for a cleaner brand rule */
#fullArticle h1:not(.title) u,
#fullArticle h2 u {
    text-decoration: none;
}

#fullArticle h1:not(.title):has(u) {
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cr-line);
}

#fullArticle, #fullArticle p, #fullArticle ul,
#fullArticle ol, #fullArticle li, #fullArticle div,
#fullArticle blockquote, #fullArticle dd, #fullArticle table,
#fullArticle .callout, #fullArticle .callout-blue, #fullArticle .callout-green,
#fullArticle .callout-red, #fullArticle .callout-yellow, #fullArticle .private-note{ color: var(--cr-text); }

#fullArticle strong{
    color:unset;
}

#fullArticle a { color: var(--cr-blue); text-underline-offset: 2px; }
#fullArticle a:hover { color: var(--cr-navy); }

#fullArticle hr {
    margin: 2.5em auto 2em;
    border: 0;
    border-top: 1px solid var(--cr-line);
}

/* Screenshots: never wider than the page, softly framed */
#fullArticle img {
    max-width: 100% !important;
    height: auto !important;
    padding: 0;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-sm);
    box-shadow: var(--cr-shadow);
}

#fullArticle img.noBdr { border: 0; box-shadow: none; }

#fullArticle figure { max-width: 100% !important; }

/* Callouts */
#fullArticle .callout,
#fullArticle .callout-blue,
#fullArticle .callout-green,
#fullArticle .callout-red,
#fullArticle .callout-yellow {
    border-left-width: 4px;
    border-radius: 0 var(--cr-radius-sm) var(--cr-radius-sm) 0;
    font-size: 1rem;
}

#fullArticle .callout-blue { background: #eef6fd; border-color: var(--cr-blue); }
#fullArticle .callout-green { background: #ecf8f1; border-color: #22a565; }
#fullArticle .callout-yellow { background: #fff8e6; border-color: #e0a800; }
#fullArticle .callout-red { background: #fdeeee; border-color: #d64545; }

#fullArticle .callout p,
#fullArticle .callout-blue p,
#fullArticle .callout-green p,
#fullArticle .callout-red p,
#fullArticle .callout-yellow p { font-size: 1rem; }

/* Tables */
#fullArticle table {
    border: 1px solid var(--cr-line);
    border-collapse: separate;
    border-radius: var(--cr-radius-sm);
    overflow: hidden;
}

#fullArticle table td,
#fullArticle table th { border-top: 1px solid var(--cr-line); padding: 10px 12px; }

#fullArticle table tr:first-child td,
#fullArticle table tr:first-child th { border-top: 0; }

#fullArticle table thead th,
#fullArticle table thead td {
    background: var(--cr-surface);
    color: var(--cr-navy);
}

/* Code */
#fullArticle code {
    padding: 2px 6px;
    border: 1px solid var(--cr-line);
    border-radius: 4px;
    background: var(--cr-surface);
    color: var(--cr-navy);
}

/* Print icon */
.printArticle [class^=icon-] { font-size: 1.25rem; color: var(--cr-muted); }
.printArticle:hover [class^=icon-] { color: var(--cr-navy); }

/* Rating box & footer of article */
.articleRatings {
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    box-shadow: none;
    background: var(--cr-surface);
    color: var(--cr-text);
    font-size: 1rem;
    font-weight: 500;
}

.articleFoot time,
.articleFoot p {
    color: var(--cr-muted);
    font-family: var(--cr-font);
    font-size: 1rem;
    font-style: normal;
}

/* Site footer */
#contentArea footer,
footer,
footer p {
    color: var(--cr-muted);
    font-size: 0.8125rem;
}

footer a,
footer span { font-size: inherit; }

footer a { color: var(--cr-muted); }
footer a:hover { color: var(--cr-navy); }

/* --------------------------------------------------------------------------
   Desktop
   -------------------------------------------------------------------------- */
@media screen and (min-width: 769px) {
    .container-fluid {
        max-width: 1500px;
        width: 95%;
        margin: 0 auto;
        position: relative;
    }

    #sidebar {
        margin: 32px 0 0;
        width: 22%;
    }

    #main-content {
        float: right;
        margin-bottom: 2em;
        padding: 32px 0 0 32px;
        width: 78%;
    }

    .navbar .navbar-inner .container-fluid {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 4px;
        padding-bottom: 6px;
    }

    .navbar .brand { padding-top: 20px; padding-bottom: 6px; }

    .navbar .nav {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        float: none;
        margin: 0;
    }

    #mainNav .nav li a {
        padding: 10px 16px;
        border-radius: 999px;
        font-size: 1.0625rem;
    }

    #mainNav .nav li a:hover { background: rgba(0, 141, 228, .08); }

    #mainNav .nav .active a { background: rgba(0, 141, 228, .1); }

    .contentWrapper { padding: 40px 44px; }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media screen and (max-width: 769px) {
    .container-fluid {
        max-width: 100%;
        margin: 0 auto;
        position: relative;
    }

    body {
        padding-left: 12px;
        padding-right: 12px;
        overflow-x: hidden;
    }

    /* Keeps the original behaviour: sidebar (search + categories) shown first */
    .row-fluid {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    #sidebar { width: 100%; margin-top: 20px; }
    #main-content { width: 100%; min-width: 0; margin: 0; padding: 0; }

    /* Header and search hero run edge to edge (body has 12px side padding) */
    .navbar,
    #docsSearch { margin-left: -12px; margin-right: -12px; }

    #sidebar .nav-list {
        margin-bottom: 20px;
        padding: 6px;
        border: 1px solid var(--cr-line);
        border-radius: var(--cr-radius);
        background: var(--cr-white);
    }

    #sidebar .nav-list a { border-radius: var(--cr-radius-sm); }

    .contentWrapper { padding: 24px 18px; }

    .contentWrapper h1,
    #fullArticle .title { font-size: 1.5rem; }

    #fullArticle h1:not(.title) { font-size: 1.375rem; }

    /* Original behaviour kept: table cells stack on small screens */
    td {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar .navbar-inner .container-fluid {
        padding: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .navbar .btn-navbar {
        position: relative;
        top: 0;
        right: 0;
        margin: 0;
        padding: 10px;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .navbar .btn-navbar .icon-bar {
        width: 26px;
        height: 3px;
        border-radius: 2px;
        background: var(--cr-navy);
        box-shadow: none;
    }

    .navbar .btn-navbar:hover .icon-bar { background: var(--cr-blue); }

    .navbar .nav-collapse { width: 100%; }

    #mainNav .nav li a {
        padding: 12px 8px;
        border-bottom: 1px solid var(--cr-line);
        font-family: var(--cr-font);
        font-size: 1.125rem;
    }

    #mainNav .nav li:last-child a { border-bottom: 0; }

    #docsSearch { padding: 36px 0 32px; margin-bottom: 1.75em; }

    #docsSearch::before { margin-bottom: 14px; font-size: 1rem; }

    #docsSearch::after { margin: 16px 20px 0; font-size: 1rem; }

    #docsSearch #searchBar {
        box-sizing: border-box;
        width: auto;
        margin: 0 16px;
        padding: 0;
    }

    #docsSearch #searchBar .search-query { margin: 0; }

    #docsSearch #searchBar::before { font-size: 2rem; margin-bottom: 18px; }

    #docsSearch #searchBar .search-query { padding-right: 56px; }

    #docsSearch #searchBar button {
        bottom: 5px;
        padding: 0 14px;
        background: transparent;
    }

    #docsSearch #searchBar button span { display: none; }

    #docsSearch #searchBar button .icon-search {
        display: block;
        color: var(--cr-navy);
        text-shadow: none;
    }

    #docsSearch #searchBar button,
    #docsSearch #searchBar button:hover {
        background: transparent;
        box-shadow: none;
        filter: none;
    }

    .category-list { grid-template-columns: 1fr; gap: 12px; }

    .category-list .category { padding: 18px 18px; }

    .collection-category h2 { font-size: 1.3125rem; text-align: left; }

    .articleList { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Menu grouped by product
   Desktop T&A Software:        Setting up your System, Using the Software,
                                System Support
   Desktop & Cloud:             Using the Clocking Terminal
   Cloud Workforce Management:  ClockRite Cloud - Go2Clock
   Help Scout outputs the menu in collection order, so flex "order" puts the
   Desktop items side by side. If a collection is renamed, its id below
   changes too (it is the collection name in lower case with hyphens).
   -------------------------------------------------------------------------- */
#mainNav .nav li#home                        { order: 1; }
#mainNav .nav li#setting-up-your-system      { order: 2; }
#mainNav .nav li#using-the-software          { order: 3; }
#mainNav .nav li#system-support              { order: 4; }
#mainNav .nav li#using-the-clocking-terminal { order: 5; }
#mainNav .nav li#clockrite-cloud---go2clock  { order: 6; }

@media screen and (min-width: 769px) {
    #mainNav .nav {
        column-gap: 0;
        row-gap: 34px;
        padding-top: 34px;               /* room for the group labels */
        align-items: flex-end;
    }

    #mainNav .nav li { position: relative; }

    /* A coloured rule runs across each group, with its label above it */
    #mainNav .nav li#setting-up-your-system,
    #mainNav .nav li#using-the-software,
    #mainNav .nav li#system-support {
        border-top: 2px solid var(--cr-navy);
        padding-top: 6px;
    }

    #mainNav .nav li#using-the-clocking-terminal {
        border-top: 2px solid transparent;
        border-image: var(--cr-gradient) 1;
        padding-top: 6px;
    }

    #mainNav .nav li#clockrite-cloud---go2clock {
        border-top: 2px solid var(--cr-teal);
        padding-top: 6px;
    }

    /* Space between the groups */
    #mainNav .nav li#home { margin-right: 20px; }
    #mainNav .nav li#using-the-clocking-terminal,
    #mainNav .nav li#clockrite-cloud---go2clock { margin-left: 20px; }

    #mainNav .nav li#setting-up-your-system::before,
    #mainNav .nav li#using-the-clocking-terminal::before,
    #mainNav .nav li#clockrite-cloud---go2clock::before {
        position: absolute;
        top: -24px;
        left: 0;
        font-family: var(--cr-font);
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1;
        white-space: nowrap;
    }

    #mainNav .nav li#setting-up-your-system::before {
        content: "Desktop T&A Software";
        color: var(--cr-navy);
    }

    #mainNav .nav li#using-the-clocking-terminal::before {
        content: "Desktop & Cloud";
        background: var(--cr-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    #mainNav .nav li#clockrite-cloud---go2clock::before {
        content: "Cloud Workforce Management";
        color: var(--cr-teal);
    }

    #mainNav .nav li a { font-size: 1.125rem; padding: 8px 14px; }
}

/* Phones: the open menu shows a small tag beside each collection */
@media screen and (max-width: 769px) {
    /* Flex column so the "order" values above also apply on phones,
       giving the same menu order as desktop */
    #mainNav .nav {
        display: flex;
        flex-direction: column;
    }

    /* The visually last item (Go2Clock) drops the divider, whatever its
       position in Help Scout's collection order */
    #mainNav .nav li:last-child a { border-bottom: 1px solid var(--cr-line); }
    #mainNav .nav li#clockrite-cloud---go2clock a { border-bottom: 0; }

    #mainNav .nav li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        text-align: left;
    }

    #mainNav .nav li a .caret { display: none; }

    #mainNav .nav li#setting-up-your-system a::after,
    #mainNav .nav li#using-the-software a::after,
    #mainNav .nav li#system-support a::after,
    #mainNav .nav li#using-the-clocking-terminal a::after,
    #mainNav .nav li#clockrite-cloud---go2clock a::after {
        flex-shrink: 0;
        padding: 2px 10px;
        border-radius: 999px;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.4;
        text-transform: none;
        color: #fff;
    }

    #mainNav .nav li#setting-up-your-system a::after,
    #mainNav .nav li#using-the-software a::after,
    #mainNav .nav li#system-support a::after {
        content: "Desktop";
        background: var(--cr-navy);
    }

    #mainNav .nav li#using-the-clocking-terminal a::after {
        content: "Desktop & Cloud";
        background: var(--cr-gradient);
    }

    #mainNav .nav li#clockrite-cloud---go2clock a::after {
        content: "Cloud";
        background: var(--cr-teal);
    }
}

/* --------------------------------------------------------------------------
   Minimum text size: 1rem
   Help Scout's own theme sets some text at 11-14px (body copy in articles,
   article counts, sort menu, search results, ratings). These rules bring
   all of it up to 1rem. The footer is left at its smaller size.
   -------------------------------------------------------------------------- */
html body,
body button,
body select,
body input,
.category-list .category p,
.category-list .category .article-count,
#sortBy,
.sort select,
#serp .articlesFound,
.pagination a,
.pagination li,
.related ul > li a,
.articleRatings,
.articleRatings-question,
.articleRatings-feedback-message,
.articleFoot time,
.articleFoot p,
#fullArticle,
#fullArticle p,
#fullArticle li,
#fullArticle ul,
#fullArticle ol,
#fullArticle td,
#fullArticle th,
#fullArticle dd,
#fullArticle dt,
#fullArticle blockquote,
#fullArticle figcaption,
#fullArticle section,
#fullArticle table,
#fullArticle .callout,
#fullArticle .callout-blue,
#fullArticle .callout-green,
#fullArticle .callout-red,
#fullArticle .callout-yellow,
#fullArticle .private-note,
#serp-dd .result a {
    font-size: 1rem;
}

#serp p { font-size: 1rem; }

#categoryHead .sort select,
#sortBy {
    width: auto;
    height: auto;
    padding: 6px 10px;
    font-size: 1rem;
    line-height: 1.4;
}
