/* Help Page Styles */

.help-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.help-search-bar {
    margin-bottom: 30px;
}

.help-search-input-wrapper {
    position: relative;
    /*max-width: 600px;*/
    margin: 0 auto;
}

.help-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.help-search-input:focus {
    outline: none;
    border-color: #d55939;
}

.help-search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #d55939;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.help-search-button:hover {
    background: #c04d2f;
}

.help-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.help-breadcrumb-link {
    color: #d55939;
    text-decoration: none;
    transition: color 0.2s;
}

.help-breadcrumb-link:hover {
    color: #a84326;
    text-decoration: underline;
}

.help-breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.help-main-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.help-main-content-single {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.help-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    position: sticky;
    top: 20px;
}

.help-sidebar h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.help-sidebar .help-sidebar-category-name {
    margin: 16px 0 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.help-sidebar .help-sidebar-category-name:first-of-type {
    margin-top: 0;
}

.help-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-category-item {
    margin-bottom: 8px;
}

.help-category-link {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.help-category-link:hover {
    background-color: #fceee9;
    border-left-color: #d55939;
    color: #a84326;
}

.help-category-link.active {
    background-color: #f5d9d0;
    border-left-color: #d55939;
    font-weight: 600;
    color: #8b3620;
}

.help-content-area {
    min-height: 400px;
}

.help-content-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.help-content-header h1 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.help-featured-section {
    margin-bottom: 30px;
}

.help-featured-section h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.help-section-title {
    margin: 30px 0 20px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.help-content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-content-item {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s;
}

.help-content-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #d55939;
}

.help-content-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    transition: color 0.2s;
}

.help-content-link:hover {
    color: #d55939;
}

.help-article-content {
    line-height: 1.8;
    color: #555;
}

.help-article-content h2 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.help-article-content h2:first-child {
    margin-top: 0;
}

.help-article-content h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.help-article-content p {
    margin-bottom: 15px;
}

.help-article-content ul,
.help-article-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.help-article-content li {
    margin-bottom: 8px;
}

.help-article-content a {
    color: #d55939;
    text-decoration: none;
}

.help-article-content a:hover {
    text-decoration: underline;
}

.help-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.help-article-content .video-responsive-wrapper,
.help-article-content .vimeo-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
}

.help-article-content .video-responsive-wrapper iframe,
.help-article-content .vimeo-responsive-wrapper iframe,
.help-article-content .vimeo-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.help-article-content .cafetalk-colored-btn-wrapper {
    margin: 20px 0;
}

.help-article-content .cafetalk-colored-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #d55939;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.help-article-content .cafetalk-colored-btn:hover {
    background: #c04d2f;
}

.help-search-results {
    margin-top: 20px;
}

.help-search-results-section {
    margin-bottom: 30px;
}

.help-search-results-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.help-search-snippet {
    margin: 6px 0 0 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.help-search-snippet mark {
    background: #fff0e8;
    padding: 0 2px;
    font-weight: 500;
}

.help-search-loading {
    color: #888;
    margin: 20px 0;
}

.help-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.help-empty-state h2 {
    color: #666;
    margin-bottom: 10px;
    font-size: 24px;
}

.help-empty-state p {
    font-size: 16px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-page-container {
        padding: 15px;
    }
    
    .help-main-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .help-sidebar {
        max-height: none;
        position: static;
    }
    
    .help-content-header h1 {
        font-size: 24px;
    }
    
    .help-search-input-wrapper {
        max-width: 100%;
    }
}

/* Scrollbar styling for sidebar */
.help-sidebar::-webkit-scrollbar {
    width: 6px;
}

.help-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.help-sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.help-sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

