
/* ==========================================
   PI-NC MOBILE RESPONSIVE FIXES
   Theme: Education Academia
   Version: 1.0
   ========================================== */

/* Responsive media */

img,
video {
    max-width: 100%;
    height: auto;
}

/* Prevent content from overflowing */

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {

    /* HEADINGS */

    h1 {
        font-size: 30px !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word;
    }

    h2 {
        font-size: 25px !important;
        line-height: 1.3 !important;
        overflow-wrap: break-word;
    }

    h3 {
        font-size: 21px !important;
        line-height: 1.4 !important;
    }

    /* BODY TEXT */

    p {
        font-size: 16px;
        line-height: 1.7;
    }

    /* IMAGES */

    img {
        max-width: 100%;
        height: auto;
    }

    /* BUTTONS */

    button,
    input[type="submit"],
    .wp-block-button__link {
        min-height: 44px;
        white-space: normal;
    }

    /* FORMS */

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        max-width: 100%;
        font-size: 16px;
    }

    /* WORDPRESS COLUMNS */

    .wp-block-columns:not(.is-not-stacked-on-mobile) {
        flex-direction: column;
    }

    /* RESPONSIVE TABLES */

    .wp-block-table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* EMBEDDED CONTENT */

    iframe {
        max-width: 100%;
    }

}
