@import url('https://fonts.ycode.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
}

.container-fluid {
    max-width: 1180px;
}

/* Navigation */

.navbar .navbar-inner {
    box-shadow: none;
    border: 0;
    background: transparent;
    filter: none;
    min-height: 0;
    padding: 20px;
}

@media (min-width: 769px) {
    .navbar .navbar-inner .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar .navbar-inner .container-fluid::before,
    .navbar .navbar-inner .container-fluid::after {
        display: none;
    }

    .navbar .nav {
        position: static;
        float: none;
        margin: 0;
    }
}

.navbar .brand {
    position: relative;
    display: flex !important;
    align-items: center;
    float: none;
    padding: 0 !important;
    margin: 0;
    line-height: normal;
}

.navbar .brand img {
    height: 26px;
    width: auto;
    display: block;
}

.navbar .brand::after {
    content: 'Knowledge base';
    display: block;
    color: #8a8a8a;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 13px;
    line-height: 1;
    border-left: 1px solid #e0e0e0;
    letter-spacing: 0.05em;
    white-space: nowrap;
    margin-left: 13px;
}

.navbar .nav > li > a,
.navbar .nav > li > a:link,
.navbar .nav > li > a:visited {
    color: #4a4a4a !important;
    font-size: 14px;
    font-weight: 400;
    text-shadow: none;
    line-height: 1;
    padding: 8px 14px;
}

.navbar .nav > li:last-child > a {
    padding-right: 0;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus {
    color: #0d9488 !important;
    background: transparent;
}

.navbar .nav .active a,
.navbar .nav .active a:hover,
.navbar .nav .active a:focus {
    color: #111827 !important;
    font-weight: 500;
}

.navbar .nav .active .caret {
    display: none;
}

/* Hero search */

#docsSearch {
    background: #ffffff;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(13, 148, 136, 0.07) 0%, transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(2, 20, 18, 0.05) 0%, transparent 42%);
    border-bottom: 0;
    padding: 2.5em 0 1em;
    margin-bottom: 2em;
}

#docsSearch h1 {
    font-family: 'Inter', sans-serif;
    color: #111827;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.2em;
}

#searchBar .search-query {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    color: #111827;
    border-radius: 8px;
    font-size: 15px;
    height: 50px;
    padding: 0 18px;
}

#searchBar .search-query::placeholder {
    color: #9ca3af;
}

#searchBar .search-query:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
    outline: none;
}

#searchBar button {
    background: #0d9488;
    border: 1px solid #0d9488;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    text-shadow: none;
    border-radius: 0 8px 8px 0;
    height: 50px;
    padding: 0 26px;
}

#searchBar button:hover {
    background: #0f766e;
    border-color: #0f766e;
}

/* Search dropdown */

#serp-dd {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    top: 74px;
}

#serp-dd .result a {
    color: #374151;
    font-size: 14px;
    padding: 9px 18px;
}

#serp-dd .result a:hover,
#serp-dd .result > li.active {
    background: #f0fdf9;
    color: #0d9488;
}

/* Category section headings */

.collection-category h2,
.most-pop-articles h2,
.twoCol h2,
.threeCol h2 {
    font-family: 'Inter', sans-serif;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    text-align: left;
}

.collection-category h2 a,
.twoCol h2 a,
.threeCol h2 a {
    color: #111827;
}

/* Category cards */

.category-list .category {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    width: 31%;
    margin: 0 0.8% 20px;
    padding: 28px 22px;
    box-sizing: border-box;
    text-align: center;
    vertical-align: top;
}

.category-list .category:hover {
    background: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 6px 20px rgba(2, 20, 18, 0.08);
    transform: translateY(-2px);
}

.category-list.two-col .category {
    width: 48%;
}

.category-list h3 {
    font-family: 'Inter', sans-serif;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin: 0 0 10px;
}

.category-list .category p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

.category-list .category .article-count {
    font-size: 13px;
    color: #0d9488;
    font-weight: 500;
    margin-top: 14px;
}

.category-list .category:hover .article-count {
    color: #0f766e;
}

/* Category icons hidden */

#category-10 h3::before,
#category-11 h3::before,
#category-203 h3::before,
#category-270 h3::before,
#category-9 h3::before,
#category-12 h3::before,
#category-54 h3::before,
#category-288 h3::before,
#category-402 h3::before {
    display: none;
}

/* Collections */

.twoCol .collection,
.threeCol .collection {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}

.most-pop-articles {
    max-width: 100%;
    width: 100%;
}

.most-pop-articles .popArticles a,
.twoCol .popArticles a,
.threeCol .popArticles a {
    color: #0d9488;
}

/* Main content */

#main-content {
    background: none;
    padding-top: 40px;
}

#main-content .contentWrapper {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.contentWrapper h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}

.contentWrapper p.descrip {
    color: #6b7280;
}

#categoryHead h1 {
    margin-bottom: 18px;
}

.articleList a {
    color: #0d9488;
}

/* Sidebar */

@media screen and (max-width: 768px) {
    #sidebar {
        margin-top: 40px;
    }
}

#sidebar {
    margin-top: 40px;
}

#sidebar form .search-query {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    height: 40px;
    font-size: 14px;
    background: #ffffff;
}

#sidebar form .search-query:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

#sidebar h3 {
    font-size: 11px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    margin-bottom: 8px;
}

#sidebar .nav-list {
    margin: 12px 0 34px;
}

#sidebar .nav-list a {
    font-size: 14px;
    color: #4a4a4a;
    padding: 7px 12px 7px 0;
    transition: color 0.15s;
}

#sidebar .nav-list a:hover {
    color: #0d9488;
}

#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus {
    font-weight: 600;
    color: #0d9488;
}

.icon-arrow:before {
    color: #0d9488;
}

#categoryHead .sort select {
    font-size: 12px;
    height: 28px;
    border-radius: 6px;
}

#categoryHead .sort {
    position: relative;
    top: 0;
}

@media screen and (min-width: 1000px) {
    #categoryHead .sort {
        position: absolute;
        right: 0;
        top: 8px;
    }
}

/* Article */

#fullArticle .title {
    font-family: 'Inter', sans-serif;
    color: #111827;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
}

#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle div,
#fullArticle blockquote,
#fullArticle dd,
#fullArticle table {
    font-family: 'Inter', sans-serif;
    color: #3f3f46;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}

#fullArticle li img {
    margin-top: 10px !important;
}

#fullArticle strong {
    color: #111827;
    font-weight: 600;
}

#fullArticle h2,
#fullArticle h3,
#fullArticle h4 {
    color: #111827;
    font-weight: 600;
    letter-spacing: -0.012em;
}

#fullArticle a {
    color: #0d9488;
}

#fullArticle a:hover {
    color: #0f766e;
}

/* Related articles */

#main-content .related {
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    margin-top: -1px;
    padding: 28px 46px;
}

.related h3 {
    font-size: 11px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
}

.related ul > li a {
    font-weight: 400;
    color: #0d9488;
}

.related ul > li a i {
    display: none;
}

/* Footer */

footer p a:hover {
    color: #0d9488;
}
