.elementor-kit-6{--e-global-color-primary:#38557A;--e-global-color-secondary:#DBDBDB;--e-global-color-text:#63676D;--e-global-color-accent:#587FCC;--e-global-color-b270d98:#FFFFFF;--e-global-color-835bd5d:#2980B9;--e-global-typography-primary-font-family:"Space Grotesk";--e-global-typography-primary-font-size:29px;--e-global-typography-primary-font-weight:500;--e-global-typography-primary-font-style:normal;--e-global-typography-primary-letter-spacing:-0.7px;--e-global-typography-primary-word-spacing:2px;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Bible Selector Styles */
.biblesheep-.elementor-kit-6 {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
}

..elementor-kit-6-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

..elementor-kit-6-dropdowns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

..elementor-kit-6-buttons {
    display: flex;
    gap: 10px;
}

.biblesheep-.elementor-kit-6 select,
.per-page-.elementor-kit-6 select,
.biblesheep-.elementor-kit-6 select option,
.per-page-.elementor-kit-6 select option {
    margin: 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 120px;
    background-color: #fff !important;
    color: #333 !important; /* Force black text */
    -webkit-text-fill-color: #333 !important; /* For Safari/iOS */
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}

.biblesheep-.elementor-kit-6 button {
    padding: 8px 20px;
    background: #4a5568;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.biblesheep-.elementor-kit-6 button:hover {
    background: #2d3748;
}

/* Strong's Reference Styles */
.strongs-ref {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8em;
    vertical-align: super;
    padding: 2px 4px;
}

/* Tooltip Styles */
.tooltip-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.strongs-tooltip {
    position: fixed;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 300px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    display: none;
    max-height: 80vh;
    overflow-y: auto;
}

/* Verse Navigation Styles */
.verse-scroll-indicator {
    position: fixed;
    right: 20px;
    top: 80px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: bold;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: #4a5568; /* Changed back to grey */
    color: white;
    border: none;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.scroll-top-button::before {
    content: '↑';
    position: relative;
    top: -1px;
}

.scroll-top-button:hover {
    background: #2d3748; 
}

/* Verse Highlighting */
.highlighted-verse {
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

/* Mobile Styles */
@media (max-width: 768px) {
    ..elementor-kit-6-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    ..elementor-kit-6-dropdowns {
        flex-direction: column;
    }
    
    ..elementor-kit-6-buttons {
        justify-content: stretch;
    }
    
    .biblesheep-.elementor-kit-6 button {
        flex: 1;
    }
    
    .biblesheep-.elementor-kit-6 select {
        width: 100%;
    }

    .scroll-top-button {
        width: 44px;
        height: 44px;
        bottom: 15px;
        right: 15px;
        font-size: 20px;
    }

    .verse-scroll-indicator {
        right: 15px;
    }

    #bible-content-container::after {
        content: '';
        position: fixed;
        top: 0;
        right: 0;
        width: 15%;
        height: 100%;
        background: linear-gradient(to left, rgba(0,0,0,0.05), transparent);
        pointer-events: none;
        z-index: 998;
    }
    .page .entry-title {
        display: none;
    }
}

/* Search Styles */
.bible-search {
    margin-bottom: 15px;
    position: relative;
    width: 100%;
}

.bible-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: white;
    transition: border-color 0.2s;
}

.bible-search input:focus {
    outline: none;
    border-color: #4a5568;
    box-shadow: 0 0 0 2px rgba(74, 85, 104, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 4px;
}

.search-result-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-reference {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
}

.search-result-text {
    color: #4a5568;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Mobile-specific search styles */
@media (max-width: 768px) {
    .bible-search {
        margin-bottom: 12px;
    }

    .bible-search input {
        padding: 12px;  /* Larger touch target on mobile */
    }

    .search-results {
        max-height: 50vh;  /* Taller results on mobile */
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    .search-result-item {
        padding: 16px;  /* Larger touch target */
    }
}
.search-see-more {
    padding: 12px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.search-see-more a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
}

.search-see-more a:hover {
    text-decoration: underline;
}

/* Styles for the full search results page */
.bible-search-results {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.bible-search-results .search-result-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

/* Search Results Page Styles */
.search-term {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #4a5568;
}

.loading, .no-results, .no-search, .error {
    padding: 20px;
    text-align: center;
    color: #4a5568;
}

.loading {
    font-style: italic;
}

.error {
    color: #e53e3e;
}

.bible-search-results .search-result-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.bible-search-results .search-result-item:hover {
    background-color: #f7fafc;
}

.search-pagination {
    margin-top: 20px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-button {
    padding: 8px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    min-width: 100px; /* Makes both buttons same width */
    text-align: center;
}

.pagination-button:hover:not(:disabled) {
    background: #005177;
}

.pagination-button:disabled {
    background: #e5e5e5;
    cursor: not-allowed;
    opacity: 0.7;
}


#page-info {
    color: #4a5568;
    font-weight: 500;
}

.pagination-btn.current {
    background: #4a5568;
    color: white;
    border-color: #4a5568;
}

.pagination-ellipsis {
    padding: 8px;
    color: #4a5568;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        margin-top: 20px;
        display: flex !important; /* Force display */
    }

    .pagination-button {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        display: inline-block !important; /* Force display */
    }

     #page-info {
        order: -1;
        margin-bottom: 10px;
        display: block !important; /* Force display */
    }
}

@media (max-width: 768px) {
    .scroll-top-button {
        width: 44px;
        height: 44px;
        bottom: 15px;
        right: 15px;
        font-size: 20px;
        will-change: transform;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
}

@media (hover: none) {
    .scroll-top-button:hover {
        background: #0073aa; /* Prevent hover state sticking on mobile */
    }
}

@media (max-width: 768px) {
    .biblesheep-.elementor-kit-6 select,
    .per-page-.elementor-kit-6 select,
    .biblesheep-.elementor-kit-6 select option,
    .per-page-.elementor-kit-6 select option {
        width: 100%;
        color: #333 !important;
        -webkit-text-fill-color: #333 !important;
        background-color: #fff !important;
        border: 1px solid #ddd;
    }
}/* End custom CSS */