/*
 * BabyLife 2.5.6 — targeted legacy store-list visibility repair.
 * Presentation only. No text/headings/links/SEO metadata are generated here.
 */
.blsc-store-list-legacy-repair .blsc-main,
.blsc-store-list-legacy-repair .blsc-blog-single,
.blsc-store-list-legacy-repair .entry-content {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
}

/* JS adds this only to the branch that contains the saved article tail. */
.blsc-store-list-legacy-repair .blsc-force-visible {
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    min-height: 0 !important;
    clip: auto !important;
    clip-path: none !important;
    filter: none !important;
    animation: none !important;
    transform: none !important;
}

/* Only legacy layout wrappers that were actually display:none are changed to block. */
.blsc-store-list-legacy-repair .blsc-force-display {
    display: block !important;
}

.blsc-store-list-legacy-repair .blsc-force-overflow {
    overflow: visible !important;
}

/* A server-side recovery fragment is normal article content. */
.blsc-store-list-legacy-repair .blsc-store-list-tail-recovered {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both !important;
    position: relative !important;
    margin-top: 22px;
}

.blsc-store-list-legacy-repair .entry-content table {
    float: none !important;
    clear: both !important;
    margin-bottom: 24px !important;
}

@media (max-width: 768px) {
    .blsc-store-list-legacy-repair .entry-content .wp-block-table,
    .blsc-store-list-legacy-repair .entry-content .blsc-table-scroll {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .blsc-store-list-legacy-repair .entry-content table {
        min-width: 680px;
    }
}
