/* =========================================
   MOBILE ARTICLE RESET - THE ANALYST DESK
   ========================================= */

@media (max-width: 768px) {

    /* KILL HORIZONTAL OVERFLOW */
    html,
    body {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    /* RESET WORDPRESS/THEME CONTENT WIDTHS */
    #page,
    #content,
    #primary,
    #main,
    .site,
    .site-content,
    .content-area,
    .site-main,
    .container,
    .content,
    .single-post,
    .post,
    article,
    .hentry,
    .entry-content,
    .post-content,
    .single-content {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        float: none !important;

        box-sizing: border-box !important;
    }


    /* ARTICLE WIDTH */
    article,
    .hentry,
    .entry-content,
    .post-content,
    .single-content {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 10px !important;
        padding-right: 10px !important;

        overflow: hidden !important;
    }


    /* REMOVE OLD TABLE WIDTHS */
    article table,
    article tbody,
    article tr,
    article td,
    .entry-content table,
    .entry-content tbody,
    .entry-content tr,
    .entry-content td {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        box-sizing: border-box !important;
    }


    /* RESET FIGURES + WORDPRESS CAPTIONS */
    article figure,
    article .wp-caption,
    .entry-content figure,
    .entry-content .wp-caption {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;

        margin: 15px auto !important;
        padding: 0 !important;

        float: none !important;

        box-sizing: border-box !important;
    }


    /* ALL ARTICLE IMAGES */
    article img,
    .entry-content img {

        display: block !important;

        width: auto !important;
        max-width: 100% !important;

        height: auto !important;

        margin-left: auto !important;
        margin-right: auto !important;

        float: none !important;
    }


    /* BC LIONS STATEMENT IMAGE */
    article img.wp-image-528,
    .entry-content img.wp-image-528 {

        width: 250px !important;
        max-width: 80vw !important;

        height: auto !important;

        margin: 15px auto !important;
    }


    /* SECOND LARGE IMAGE */
    article img.wp-image-547,
    .entry-content img.wp-image-547 {

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
    }


    /* CAPTION TEXT */
    article .wp-caption-text,
    article figcaption,
    .entry-content .wp-caption-text,
    .entry-content figcaption {

        width: 100% !important;
        max-width: 100% !important;

        font-size: 12px !important;
        line-height: 1.4 !important;

        overflow-wrap: anywhere !important;

        box-sizing: border-box !important;
    }


    /* VERTICAL BC LIONS VIDEO */
    article iframe[src*="O1dGbIJEBZk"],
    .entry-content iframe[src*="O1dGbIJEBZk"] {

        display: block !important;

        width: 225px !important;
        max-width: 75vw !important;

        height: 400px !important;

        margin: 15px auto 25px auto !important;

        float: none !important;

        border: 0 !important;
    }


    /* OTHER VIDEOS */
    article iframe:not([src*="O1dGbIJEBZk"]),
    .entry-content iframe:not([src*="O1dGbIJEBZk"]) {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* STOP TEXT FROM CREATING OVERFLOW */
    article p,
    article li,
    article h1,
    article h2,
    article h3,
    article h4,
    article a,
    .entry-content p,
    .entry-content li,
    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content a {

        max-width: 100% !important;

        overflow-wrap: anywhere !important;
        word-wrap: break-word !important;

        box-sizing: border-box !important;
    }


    /* LAST RESORT: NOTHING INSIDE ARTICLE
       CAN BE WIDER THAN ITS PARENT */
    .entry-content > *,
    article > * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

}