:root {
    --knowpress-primary-color: #0090AD;
    --knowpress-primary-text-color: #242A31;
    --knowpress-secondary-text-color: #4D5A66;
    --knowpress-sidebar-color: #f6f8fa;
    --knowpress-border-color: #E2E8EE;
    --knowpress-card-bg-color: #F5F7F9;
    --knowpress-message-bg-color: #EBFCFF;
    --knowpress-message-border-color: #0090AD;
    --knowpress-warning-bg-color: #FEFAEB;
    --knowpress-warning-border-color: #F2BB08;
    --knowpress-danger-bg-color: #FBEEEF;
    --knowpress-danger-border-color: #D4303B;
    --knowpress-list-bg-color: #F5F7F9;
    --knowpress-list-border-color: #0090AD;
}
html { font-family: Inter; font-size: 16px; font-weight: 400; line-height: 1.65; }
.h1, h1 { font-family: Inter; font-size: 29px; font-weight: 600; line-height: 1.4; }
.h2, h2 { font-family: Inter; font-size: 23px; font-weight: 600; line-height: 1.35; }
.h3, h3 { font-family: Inter; font-size: 20px; font-weight: 600; line-height: 1.35; }
.h4, h4 { font-family: Inter; font-size: 18px; font-weight: 600; line-height: 1.4; }
.h5, h5 { font-family: Inter; font-size: 16px; font-weight: 600; line-height: 1.4; }
h6 { font-family: Inter; font-size: 14px; font-weight: 600; line-height: 1.5; }

/* original wp-custom-css */
svg.c-sidebar__close__icon { fill: #F6F8FA; }
aside.c-sidebar.js-sidebar.c-branding--documentation {
    width: 320px;
    background-image: url('../title.png');
    background-size: 320px;
    background-repeat: no-repeat;
}
div.c-sidebar__docs { background: rgba(246, 248, 250, 0.5); }
li.item { background-color: transparent; }
ul.c-child-articles__list ul.children { display: none; }
blockquote.wp-block-quote cite { font-style: normal; }

/* native scrolling instead of SimpleBar */
.c-sidebar__main { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--knowpress-border-color) transparent; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #f1f1f1; clip: auto !important; clip-path: none; color: #21759b; display: block; height: auto; left: 5px; padding: 15px 23px 14px; top: 5px; width: auto; z-index: 100000; }

/* wp-block-library subset */
.wp-block-heading { }
.wp-block-image img, .wp-block-video video, .wp-block-audio audio { max-width: 100%; }
.wp-block-image img { height: auto; }
.wp-block-image, .wp-block-video, .wp-block-audio { margin: 0 0 1em; }
.wp-block-audio audio { display: block; width: 100%; }
.wp-block-video video { width: 100%; height: auto; }
.wp-block-image figcaption, .wp-block-video figcaption, .wp-block-audio figcaption, .wp-element-caption { margin-top: .5em; margin-bottom: 1em; }
.wp-block-embed { margin: 0 0 1em; }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 56.25%; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; }
.wp-block-quote figure, .wp-block-quote .wp-block-audio { margin-top: 1em; }

/* search page / 404 without sidebar */
.page-title { margin: 0 0 1.5rem; font-size: 29px; }
.page-header { margin-bottom: 1rem; }
.wp-block-quote p { margin: 0 0 1em; }
.content-area { min-height: 40vh; }
@media (max-width: 1023px) {
    .c-sidebar { overflow: hidden; }
}
@media print { .c-sidebar, .c-header, .c-footer, .wedocs-hide-print { display: none !important; } }
