/* Custom fix for Popular Books header text clipping issue */
/* Created: 2025-10-27 */

/* Fix for horizontal scroll container with heading */
.sc_pan_horizontal {
    position: relative !important;
    min-height: 80px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Ensure section title displays properly */
.sc_pan .sc_section_title.sc_item_title {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    line-height: 1.3em !important;
    padding: 10px 0 !important;
    display: block !important;
    white-space: normal !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Ensure heading has proper spacing */
h2.sc_section_title.sc_item_title {
    margin-bottom: 0.9em !important;
    font-size: 2.4em !important;
}

/* Fix scroll wrapper to accommodate heading */
.sc_scroll_horizontal .sc_scroll_wrapper {
    overflow: visible !important;
    min-height: 100px !important;
}

/* Ensure scroll container does not clip content */
.sc_scroll.sc_scroll_horizontal {
    overflow: visible !important;
    padding-top: 10px !important;
}
