/*
 * Help site layout inside the website template (centralworkflow.com/help/).
 * Copied by HelpSiteBuilder to /help/_site/. Scoped to .cws-help so the
 * WordPress theme's header and footer are untouched.
 */
/* the template's content container, as wide as the site header's row (Beaver
   Builder: at most 1280px, 20px gutters) instead of Bootstrap's narrower one */
.fl-page .fl-content-full.container {
    width: 100%;
    max-width: 1320px;
    padding-left: 20px;
    padding-right: 20px;
}

.cws-help {
    --cws-help-accent: #2b7bb9;
    --cws-help-border: rgba(0, 0, 0, 0.12);
    --cws-help-muted: rgba(0, 0, 0, 0.6);
    --cws-help-soft: rgba(43, 123, 185, 0.08);
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 32px 0 64px;
}

/* navigation -------------------------------------------------------------- */

.cws-help-menu {
    display: none;
}

/* the website header is fixed once the page scrolls (about 75px high) */
.cws-help-nav {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.4;
    padding-right: 8px;
}

.cws-help-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cws-help-nav > ul > li {
    margin: 0 0 14px;
    font-weight: 600;
}

.cws-help-nav li li {
    font-weight: 400;
    margin: 0;
}

.cws-help-nav li ul {
    margin: 4px 0 0;
    padding-left: 12px;
    border-left: 1px solid var(--cws-help-border);
}

.cws-help-nav li li > ul {
    margin-bottom: 6px;
}

.cws-help-nav p {
    margin: 0;
}

.cws-help-group {
    display: block;
    padding: 4px 8px;
}

.cws-help-nav > ul > li > .cws-help-group {
    padding-left: 0;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cws-help-muted);
}

.cws-help-nav li li > .cws-help-group {
    font-weight: 600;
}

.cws-help-nav a {
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
}

.cws-help-nav a:hover {
    background: var(--cws-help-soft);
    color: var(--cws-help-accent);
}

.cws-help-nav a.is-current {
    background: var(--cws-help-soft);
    color: var(--cws-help-accent);
    font-weight: 600;
}

.cws-help-search {
    margin-bottom: 20px;
}

.cws-help-search .pagefind-ui {
    --pagefind-ui-primary: var(--cws-help-accent);
    --pagefind-ui-font: inherit;
    --pagefind-ui-scale: 0.8;
    font-weight: 400;
}

/* article ----------------------------------------------------------------- */

.cws-help-main {
    min-width: 0;
}

.cws-help-article {
    max-width: 820px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

/* the theme sizes headings for marketing pages; articles need a tighter scale */
.cws-help-article h1 {
    margin: 0 0 24px;
    font-size: 40px;
}

.cws-help-article h2,
.cws-help-article h3,
.cws-help-article h4 {
    margin: 36px 0 12px;
}

.cws-help-article [id] {
    scroll-margin-top: 100px;
}

.cws-help-article h2 {
    font-size: 28px;
}

.cws-help-article h3 {
    font-size: 21px;
}

.cws-help-article h4 {
    font-size: 18px;
}

@media (max-width: 767px) {
    .cws-help-article h1 {
        font-size: 32px;
    }

    .cws-help-article h2 {
        font-size: 24px;
    }
}

.cws-help-article h1,
.cws-help-article h2,
.cws-help-article h3,
.cws-help-article h4 {
    line-height: 1.25;
}

.cws-help-article a {
    color: var(--cws-help-accent);
}

.cws-help-article img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--cws-help-border);
    border-radius: 4px;
}

.cws-help-article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.95em;
}

.cws-help-article th,
.cws-help-article td {
    border: 1px solid var(--cws-help-border);
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}

.cws-help-article th {
    background: var(--cws-help-soft);
}

.cws-help-article code {
    font-size: 0.9em;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.05);
}

.cws-help-article pre {
    overflow-x: auto;
    padding: 14px 16px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    line-height: 1.45;
}

.cws-help-article pre code {
    padding: 0;
    background: none;
}

.cws-help-article blockquote {
    margin: 16px 0;
    padding: 4px 16px;
    border-left: 4px solid var(--cws-help-accent);
    background: var(--cws-help-soft);
}

/* previous / next --------------------------------------------------------- */

.cws-help-pager {
    max-width: 820px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--cws-help-border);
}

.cws-help-pager a {
    display: block;
    padding: 10px 14px;
    border: 1px solid var(--cws-help-border);
    border-radius: 4px;
    color: var(--cws-help-accent);
    text-decoration: none;
    max-width: 48%;
}

.cws-help-pager a:hover {
    border-color: var(--cws-help-accent);
}

.cws-help-pager span {
    display: block;
    font-size: 0.8em;
    color: var(--cws-help-muted);
}

.cws-help-next {
    margin-left: auto;
    text-align: right;
}

/* phone and tablet -------------------------------------------------------- */

@media (max-width: 991px) {
    .cws-help {
        display: block;
        padding-top: 16px;
    }

    .cws-help-menu {
        display: block;
        width: 100%;
        margin-bottom: 16px;
        padding: 10px 14px;
        border: 1px solid var(--cws-help-border);
        border-radius: 4px;
        background: transparent;
        color: inherit;
        font: inherit;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }

    .cws-help-menu::after {
        content: "\25BE";
        float: right;
    }

    .cws-help-menu[aria-expanded="true"]::after {
        content: "\25B4";
    }

    .cws-help-nav {
        display: none;
        position: static;
        max-height: none;
        margin-bottom: 24px;
        padding: 0;
    }

    .cws-help-nav.is-open {
        display: block;
    }

    .cws-help-pager {
        flex-direction: column;
    }

    .cws-help-pager a {
        max-width: none;
    }
}
