.helpwp-docs-doc-container {
    background: #fff;
}

.helpwp-docs-doc-container:not(:has(.helpwp-docs-lists)) {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.mobile #primary.helpwp-docs-doc {
    display: block;
    padding: 20px;
}
.mobile #primary.helpwp-docs-doc .helpwp-docs-doc-container {
    grid-template-columns: 1fr;
}
.mobile #helpwp-docs-doc-sidebar {
    margin-bottom: 30px;
}

#helpwp-docs-doc-content ul {
    margin: 0 0 24px 48px !important;
}

#helpwp-docs-doc-content li {
    margin-bottom: 12px !important;
}

#helpwp-docs-doc-content h2,
#helpwp-docs-doc-content h3,
#helpwp-docs-doc-content h4,
#helpwp-docs-doc-content h5,
#helpwp-docs-doc-content h6,
#helpwp-docs-doc-content p {
    margin-bottom: 24px !important;
}

/* Responsive container */
@media (max-width: 768px) {
    .helpwp-docs-doc-wrapper {
        padding: 10px 0;
    }

    .helpwp-docs-doc-container {
        margin: 0 10px;
        border-radius: 4px;
    }

    #primary.helpwp-docs-doc {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .helpwp-docs-doc-container .helpwp-docs-lists {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.helpwp-docs-docs {
    list-style: none;
    padding-left: 0 !important;
}
.helpwp-docs-docs > li:not(:last-child) {
    padding-bottom: 12px;
}
.helpwp-docs-docs-list,
.helpwp-docs-docs-result {
    margin: auto;
    list-style: none;
}
.helpwp-docs-docs-category {
    margin-bottom: 5px;
}
.helpwp-docs-docs-category-title {
    cursor: pointer;
    background: #f3f3f3;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 16px;
}
.helpwp-docs-doc-single {
    border-bottom: 1px solid #f3f3f3;
    padding: 10px 15px;
}
.helpwp-docs-doc-single:last-child {
    border-bottom: 0px solid #f3f3f3;
    padding-bottom: 10px;
}
#helpwp-docs-doc-title {
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-top: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
}
.helpwp-docs-doc-single.active {
    font-weight: 600;
}
#helpwp-docs-doc-search {
    margin-bottom: 20px;
}
#search-wrapper {
    position: relative;
    width: 100%;
}
#helpwp-docs-search-input {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
}
#helpwp-docs-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    cursor: pointer;
}
#helpwp-docs-rating-wrap {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
#helpwp-docs-rating-wrap p {
    margin-bottom: inherit;
    font-weight: 600;
}

#helpwp-docs-breadcrump {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

#helpwp-docs-breadcrump a {
    color: #007bff;
    text-decoration: none;
}

#helpwp-docs-breadcrump a:hover {
    text-decoration: underline;
}

/* SHORTCODE */
.helpwp-docs-doc-container .helpwp-docs-lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);;
    gap: 30px;
}
.helpwp-docs-topic {
    border: 1px solid #dedede75;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s;
}
.helpwp-docs-topic:hover {
    box-shadow: 0px 4px 16px 2px #00000012;
}
.helpwp-docs-topic h3 {
    font-size: 1.05rem;
    font-weight: 400;
    border-bottom: 1px solid #0000000a;
    padding: 10px;
    margin-bottom: 0;
    background: #0000000a;
}
.helpwp-docs-topic-docs {
    padding: 15px 20px;
}

.helpwp-docs-more {
    text-align: right;
    padding-right: 10px;
}
.helpwp-docs-more > a {
    border: 1px solid #046bd200;
    text-decoration: none !important;
    background: #046bd2;
    padding: 4px 10px;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
}
.helpwp-docs-more > a:hover {
    border: 1px solid #046bd2;
    background: #ffffff;
    color: #046bd2;
}

/* Pagination */
.helpwp-docs-pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.helpwp-docs-pagination a {
    text-decoration: underline;
}

/* Vote */
.helpwp-vote {
    padding: 6px 10px;
    font-size: 14px;
    font-weight: normal;
    border-radius: 16px;
}

#helpwp-docs-rating-wrap p {
    margin-bottom: 0 !important;
}