/**handles:astra-child-theme-css**/
/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Fix: "End of Module" spacer at bottom of HelpDash focus mode sidebar for mobile scroll */
@media (max-width: 768px) {
    .hd-focus-sidebar .hd-focus-outline::after {
        content: "— End of Module —";
        display: block;
        height: 150px;
        background: #fff;
        text-align: center;
        padding-top: 30px;
        color: #999;
        font-size: 13px;
    }
}

/* Global mobile table fix: prevent tables from overflowing the viewport */
.learndash-wrapper .learndash_content_wrap table,
.hd-focus-content table,
.entry-content table,
.learndash-wrapper table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* Ensure content wrappers don't expand beyond viewport */
.learndash-wrapper .learndash_content_wrap,
.hd-focus-content,
.entry-content {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Fix for card carousels and flex containers on mobile */
@media (max-width: 768px) {
    .psych-meds-wrap,
    [class*="-meds-wrap"],
    [class*="-carousel-shell"] {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Ensure card items show one at a time */
    [class*="-drug-card"],
    [class*="-card"][style*="scroll-snap-align"] {
        flex: 0 0 min(88vw, 430px) !important;
    }
}