/**
 * Unified Commentary Styles
 *
 * Styles for the tabbed commentary system supporting Gill, Mahan,
 * Fortner, and future commentators. Gill's content classes remain
 * in gill.css; this file handles the tab bar, unified container,
 * and Mahan/Fortner content classes.
 *
 * @package PristineGrace
 * @since 4.5
 */

/* ==========================================================================
   COMMENTARY TAB BAR
   ========================================================================== */

.commentary-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 2px solid #dee2e6;
    padding: 0 0.5rem;
}

.commentary-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.commentary-tab:hover {
    color: #395ba9;
    background: rgba(57, 91, 169, 0.04);
}

.commentary-tab.active {
    color: #395ba9;
    border-bottom-color: #395ba9;
    font-weight: 600;
}

/* ==========================================================================
   COMMENTARY SECTION CONTAINER (replaces .gill-commentary-section)
   ========================================================================== */

.commentary-section {
    margin-top: 1.5rem;
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.commentary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.commentary-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.commentary-title i {
    color: #6c757d;
}

/* Toggle button - reuses gill-toggle-btn styling pattern */
button.commentary-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #395ba9;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #395ba9;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
}

button.commentary-toggle-btn:hover {
    background: #395ba9;
    color: white;
}

button.commentary-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(57, 91, 169, 0.25);
}

button.commentary-toggle-btn.active {
    background: #395ba9;
    color: white;
}

button.commentary-toggle-btn.active:hover {
    background: #2e4a8a;
    border-color: #2e4a8a;
}

button.commentary-toggle-btn i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

button.commentary-toggle-btn.active i {
    transform: rotate(180deg);
}

/* Commentary content area */
.commentary-content {
    display: none !important;
    padding: 1rem;
    background: #fdfcfa;
    border: 1px solid #e9e5df;
    border-radius: 0 0 8px 8px;
    max-height: 400px;
    overflow-y: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

.commentary-content.show {
    display: block !important;
}

/* When tabs are shown, content gets top border removed (tab bar handles it) */
.commentary-tabs + .commentary-search-bar + .commentary-content,
.commentary-tabs + .commentary-content {
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Loading state */
.commentary-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6c757d;
}

.commentary-loading .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
}

/* Error state */
.commentary-error {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    font-size: 0.9rem;
}

/* Info state (no commentary available) */
.commentary-info {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

/* ==========================================================================
   VERSE RANGE BADGE (for Mahan/Fortner range entries)
   ========================================================================== */

.commentary-verse-range {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    background: #f0f2f5;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   ENTRY TITLE (for Mahan/Fortner titled entries)
   ========================================================================== */

.commentary-entry-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #eee;
}

/* ==========================================================================
   COMMENTARY SEARCH BAR (unified, replaces .gill-search-bar)
   ========================================================================== */

.commentary-search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.commentary-search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.commentary-search-icon {
    position: absolute;
    left: 0.75rem;
    color: #6c757d;
    font-size: 0.875rem;
    pointer-events: none;
}

.commentary-search-bar .commentary-search-input {
    width: 100%;
    padding: 0.4rem 0.75rem 0.4rem 2rem;
    font-size: 16px; /* Prevent iOS zoom */
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
}

.commentary-search-bar .commentary-search-input:focus {
    outline: none;
    border-color: #395ba9;
    box-shadow: 0 0 0 2px rgba(57, 91, 169, 0.1);
}

.commentary-search-bar .commentary-search-input::placeholder {
    color: #adb5bd;
}

.commentary-search-clear {
    position: absolute;
    right: 0.5rem;
    padding: 0.25rem;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
    font-size: 1rem;
}

.commentary-search-clear:hover {
    color: #495057;
}

.commentary-search-bar .commentary-search-results {
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.commentary-search-nav {
    display: flex;
    gap: 0.25rem;
}

.commentary-search-nav-btn {
    padding: 0.25rem 0.5rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1;
}

.commentary-search-nav-btn:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

/* Search highlight styling */
.commentary-search-highlight {
    background: #fff3cd;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

.commentary-search-highlight.current {
    background: #ffc107;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.5);
}

/* ==========================================================================
   MAHAN CONTENT CLASSES
   (Generated HTML classes from extract_mahan.php)
   ========================================================================== */

.mahan-heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.75em;
}

.mahan-title {
    text-align: center;
    margin-bottom: 0.75em;
}

.mahan-para {
    margin-bottom: 1em;
    text-align: justify;
}

.mahan-para:last-child {
    margin-bottom: 0;
}

.mahan-indent {
    margin-left: 2em;
    margin-bottom: 1em;
}

.mahan-quote {
    margin: 1em 1.5em;
    padding: 0.75em 1em;
    border-left: 3px solid #c9a959;
    background: #fdfbf5;
    font-style: italic;
    color: #555;
}

.mahan-right {
    text-align: right;
    margin-bottom: 0.75em;
}

/* Mahan scripture references */
a.mahan-ref {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px dotted #0066cc;
    cursor: pointer;
    transition: all 0.15s ease;
}

a.mahan-ref:hover {
    color: #004499;
    border-bottom-style: solid;
}

/* ==========================================================================
   FORTNER CONTENT CLASSES
   (Generated HTML classes from extract_fortner.php)
   ========================================================================== */

.fortner-heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.75em;
}

.fortner-title {
    text-align: center;
    margin-bottom: 0.75em;
}

.fortner-para {
    margin-bottom: 1em;
    text-align: justify;
}

.fortner-para:last-child {
    margin-bottom: 0;
}

.fortner-indent {
    margin-left: 2em;
    margin-bottom: 1em;
}

.fortner-quote {
    margin: 1em 1.5em;
    padding: 0.75em 1em;
    border-left: 3px solid #c9a959;
    background: #fdfbf5;
    font-style: italic;
    color: #555;
}

.fortner-right {
    text-align: right;
    margin-bottom: 0.75em;
}

/* Fortner scripture references */
a.fortner-ref {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px dotted #0066cc;
    cursor: pointer;
    transition: all 0.15s ease;
}

a.fortner-ref:hover {
    color: #004499;
    border-bottom-style: solid;
}

/* ==========================================================================
   CALVIN CONTENT CLASSES
   (Generated HTML classes from extract_cmti.php)
   ========================================================================== */

.calvin-heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.75em;
}

.calvin-title {
    text-align: center;
    margin-bottom: 0.75em;
}

.calvin-para {
    margin-bottom: 1em;
    text-align: justify;
}

.calvin-para:last-child {
    margin-bottom: 0;
}

.calvin-indent {
    margin-left: 2em;
    margin-bottom: 1em;
}

.calvin-quote {
    margin: 1em 1.5em;
    padding: 0.75em 1em;
    border-left: 3px solid #c9a959;
    background: #fdfbf5;
    font-style: italic;
    color: #555;
}

.calvin-right {
    text-align: right;
    margin-bottom: 0.75em;
}

/* Calvin scripture references */
a.calvin-ref {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px dotted #0066cc;
    cursor: pointer;
    transition: all 0.15s ease;
}

a.calvin-ref:hover {
    color: #004499;
    border-bottom-style: solid;
}

/* Calvin unparseable scripture references */
.calvin-scripture {
    color: #4D80B3;
    font-style: italic;
}

/* Calvin Hebrew text */
.calvin-hebrew {
    font-family: 'SBL Hebrew', 'Ezra SIL', 'Times New Roman', serif;
    font-size: 1.1em;
    direction: rtl;
    unicode-bidi: bidi-override;
}

/* Calvin Greek text */
.calvin-greek {
    font-family: 'SBL Greek', 'Gentium Plus', 'Times New Roman', serif;
    font-size: 1.05em;
}

/* ==========================================================================
   POOLE CONTENT CLASSES
   (Generated HTML classes from extract_cmti.php)
   ========================================================================== */

.poole-heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.75em;
}

.poole-title {
    text-align: center;
    margin-bottom: 0.75em;
}

.poole-para {
    margin-bottom: 1em;
    text-align: justify;
}

.poole-para:last-child {
    margin-bottom: 0;
}

.poole-indent {
    margin-left: 2em;
    margin-bottom: 1em;
}

.poole-quote {
    margin: 1em 1.5em;
    padding: 0.75em 1em;
    border-left: 3px solid #c9a959;
    background: #fdfbf5;
    font-style: italic;
    color: #555;
}

.poole-right {
    text-align: right;
    margin-bottom: 0.75em;
}

/* Poole scripture references */
a.poole-ref {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px dotted #0066cc;
    cursor: pointer;
    transition: all 0.15s ease;
}

a.poole-ref:hover {
    color: #004499;
    border-bottom-style: solid;
}

.poole-scripture {
    color: #4D80B3;
    font-style: italic;
}

/* ==========================================================================
   HAWKER CONTENT CLASSES
   (Generated HTML classes from extract_cmti.php)
   ========================================================================== */

.hawker-heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.75em;
}

.hawker-title {
    text-align: center;
    margin-bottom: 0.75em;
}

.hawker-para {
    margin-bottom: 1em;
    text-align: justify;
}

.hawker-para:last-child {
    margin-bottom: 0;
}

.hawker-indent {
    margin-left: 2em;
    margin-bottom: 1em;
}

.hawker-quote {
    margin: 1em 1.5em;
    padding: 0.75em 1em;
    border-left: 3px solid #c9a959;
    background: #fdfbf5;
    font-style: italic;
    color: #555;
}

.hawker-right {
    text-align: right;
    margin-bottom: 0.75em;
}

/* Hawker scripture references */
a.hawker-ref {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px dotted #0066cc;
    cursor: pointer;
    transition: all 0.15s ease;
}

a.hawker-ref:hover {
    color: #004499;
    border-bottom-style: solid;
}

.hawker-scripture {
    color: #4D80B3;
    font-style: italic;
}

/* ==========================================================================
   LUTHER CONTENT CLASSES
   (Generated HTML classes from extract_cmti.php)
   ========================================================================== */

.luther-heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.75em;
}

.luther-title {
    text-align: center;
    margin-bottom: 0.75em;
}

.luther-para {
    margin-bottom: 1em;
    text-align: justify;
}

.luther-para:last-child {
    margin-bottom: 0;
}

.luther-indent {
    margin-left: 2em;
    margin-bottom: 1em;
}

.luther-quote {
    margin: 1em 1.5em;
    padding: 0.75em 1em;
    border-left: 3px solid #c9a959;
    background: #fdfbf5;
    font-style: italic;
    color: #555;
}

.luther-right {
    text-align: right;
    margin-bottom: 0.75em;
}

.luther-scripture {
    color: #4D80B3;
    font-style: italic;
}

/* ==========================================================================
   MOBILE INLINE HEADER
   ========================================================================== */

.commentary-mobile-header {
    display: none;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .commentary-content {
        max-height: 300px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .commentary-tabs {
        padding: 0 0.25rem;
    }

    .commentary-tab {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .mahan-quote,
    .fortner-quote,
    .calvin-quote,
    .poole-quote,
    .hawker-quote,
    .luther-quote {
        margin: 0.75em 0.5em;
        padding: 0.5em 0.75em;
    }
}

@media (max-width: 576px) {
    /* On mobile, commentary auto-shows - no toggle needed */
    .commentary-section {
        margin-top: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid #dee2e6;
    }

    /* Hide header entirely - commentary loads automatically */
    .commentary-header {
        display: none;
    }

    .commentary-content {
        max-height: none;
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    /* Small inline header visible on mobile */
    .commentary-mobile-header {
        display: block;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-bottom: 0.5rem;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid #eee;
    }

    .commentary-mobile-header i {
        margin-right: 0.3em;
        font-size: 0.65rem;
    }

    /* Tabs stay visible on mobile for switching */
    .commentary-tabs {
        padding: 0;
        margin-bottom: 0;
    }

    .commentary-tab {
        flex: 1;
        justify-content: center;
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Search bar still needs to be visible */
    .commentary-search-bar {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .commentary-content {
        max-height: none;
        overflow: visible;
        border: none;
        background: white;
    }

    .commentary-toggle-btn {
        display: none;
    }

    .commentary-tabs {
        display: none;
    }

    a.mahan-ref,
    a.fortner-ref,
    a.calvin-ref,
    a.poole-ref,
    a.hawker-ref {
        color: inherit;
        border: none;
        text-decoration: none;
    }
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */

/* Tab bar */
[data-theme="dark"] .commentary-tabs {
    border-bottom-color: #3d4450;
}

[data-theme="dark"] .commentary-tab {
    color: #8a9199;
}

[data-theme="dark"] .commentary-tab:hover {
    color: #7fa8e8;
    background: rgba(127, 168, 232, 0.06);
}

[data-theme="dark"] .commentary-tab.active {
    color: #7fa8e8;
    border-bottom-color: #7fa8e8;
}

/* Section */
[data-theme="dark"] .commentary-section {
    border-top-color: #3d4450;
}

[data-theme="dark"] .commentary-title {
    color: #c8ccd0;
}

[data-theme="dark"] .commentary-title i {
    color: #8a9199;
}

/* Toggle button */
[data-theme="dark"] button.commentary-toggle-btn {
    background: #252530;
    border-color: #7fa8e8;
    color: #7fa8e8;
}

[data-theme="dark"] button.commentary-toggle-btn:hover {
    background: #2a4080;
    border-color: #2a4080;
    color: white;
}

[data-theme="dark"] button.commentary-toggle-btn.active {
    background: #2a4080;
    border-color: #2a4080;
    color: white;
}

[data-theme="dark"] button.commentary-toggle-btn.active:hover {
    background: #335099;
    border-color: #335099;
}

/* Content area */
[data-theme="dark"] .commentary-content {
    background: #1e2328;
    border-color: #3d4450;
    color: #c8ccd0;
}

[data-theme="dark"] .commentary-loading {
    color: #8a9199;
}

[data-theme="dark"] .commentary-error {
    background: #3b2020;
    border-color: #5c3333;
    color: #f5a5a5;
}

[data-theme="dark"] .commentary-info {
    background: #252a30;
    border-color: #3d4450;
    color: #8a9199;
}

/* Verse range badge */
[data-theme="dark"] .commentary-verse-range {
    color: #8a9199;
    background: #2d333b;
}

/* Entry title */
[data-theme="dark"] .commentary-entry-title {
    color: #c8ccd0;
    border-bottom-color: #3d4450;
}

/* Mobile header */
[data-theme="dark"] .commentary-mobile-header {
    color: #8a9ab0;
    border-bottom-color: #3d4450;
}

/* Search bar */
[data-theme="dark"] .commentary-search-bar {
    background: #252a30;
    border-color: #3d4450;
}

[data-theme="dark"] .commentary-search-bar .commentary-search-input {
    background: #1e2328;
    border-color: #3d4450;
    color: #c8ccd0;
}

[data-theme="dark"] .commentary-search-bar .commentary-search-input:focus {
    border-color: #7fa8e8;
    box-shadow: 0 0 0 2px rgba(127, 168, 232, 0.15);
}

[data-theme="dark"] .commentary-search-bar .commentary-search-input::placeholder {
    color: #6c757d;
}

[data-theme="dark"] .commentary-search-icon {
    color: #8a9199;
}

[data-theme="dark"] .commentary-search-clear {
    color: #8a9199;
}

[data-theme="dark"] .commentary-search-clear:hover {
    color: #c8ccd0;
}

[data-theme="dark"] .commentary-search-bar .commentary-search-results {
    color: #8a9199;
}

[data-theme="dark"] .commentary-search-nav-btn {
    background: #1e2328;
    border-color: #3d4450;
    color: #c8ccd0;
}

[data-theme="dark"] .commentary-search-nav-btn:hover {
    background: #2d333b;
    border-color: #4b5563;
}

[data-theme="dark"] .commentary-search-highlight {
    background: rgba(255, 193, 7, 0.3);
    color: #e8e0c8;
}

[data-theme="dark"] .commentary-search-highlight.current {
    background: rgba(255, 193, 7, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
}

/* Mahan content - dark mode */
[data-theme="dark"] .mahan-quote {
    background: #252218;
    border-left-color: #b8942e;
    color: #b0b5bb;
}

[data-theme="dark"] a.mahan-ref {
    color: #6db3f2;
    border-bottom-color: #6db3f2;
}

[data-theme="dark"] a.mahan-ref:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

/* Fortner content - dark mode */
[data-theme="dark"] .fortner-quote {
    background: #252218;
    border-left-color: #b8942e;
    color: #b0b5bb;
}

[data-theme="dark"] a.fortner-ref {
    color: #6db3f2;
    border-bottom-color: #6db3f2;
}

[data-theme="dark"] a.fortner-ref:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

/* Calvin content - dark mode */
[data-theme="dark"] .calvin-quote {
    background: #252218;
    border-left-color: #b8942e;
    color: #b0b5bb;
}

[data-theme="dark"] a.calvin-ref {
    color: #6db3f2;
    border-bottom-color: #6db3f2;
}

[data-theme="dark"] a.calvin-ref:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

[data-theme="dark"] .calvin-scripture {
    color: #7fa8e8;
}

[data-theme="dark"] .calvin-hebrew {
    color: #e0d8c0;
}

[data-theme="dark"] .calvin-greek {
    color: #d8dce0;
}

/* Poole content - dark mode */
[data-theme="dark"] .poole-quote {
    background: #252218;
    border-left-color: #b8942e;
    color: #b0b5bb;
}

[data-theme="dark"] a.poole-ref {
    color: #6db3f2;
    border-bottom-color: #6db3f2;
}

[data-theme="dark"] a.poole-ref:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

[data-theme="dark"] .poole-scripture {
    color: #7fa8e8;
}

/* Hawker content - dark mode */
[data-theme="dark"] .hawker-quote {
    background: #252218;
    border-left-color: #b8942e;
    color: #b0b5bb;
}

[data-theme="dark"] a.hawker-ref {
    color: #6db3f2;
    border-bottom-color: #6db3f2;
}

[data-theme="dark"] a.hawker-ref:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

[data-theme="dark"] .hawker-scripture {
    color: #7fa8e8;
}

/* Luther content - dark mode */
[data-theme="dark"] .luther-quote {
    background: #252218;
    border-left-color: #b8942e;
    color: #b0b5bb;
}

[data-theme="dark"] .luther-scripture {
    color: #7fa8e8;
}

/* Dark mode scrollbar */
[data-theme="dark"] .commentary-content {
    scrollbar-color: #555 #2a2a35;
}

[data-theme="dark"] .commentary-content::-webkit-scrollbar {
    width: 8px;
}

[data-theme="dark"] .commentary-content::-webkit-scrollbar-track {
    background: #2a2a35;
    border-radius: 4px;
}

[data-theme="dark"] .commentary-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

[data-theme="dark"] .commentary-content::-webkit-scrollbar-thumb:hover {
    background: #777;
}
