/* ===== FIX OVERFLOW (PREVENT CUT-OFF CONTENT) ===== */
.wp-block-group,
.wp-block-cover,
.template-part,
.site-header {
	overflow: visible !important;
}


/* Fix Unlock Psych buttons on mobile */
@media screen and (max-width: 767px) {

    /* Stack columns vertically */
    .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* Make buttons horizontal */
    .wp-block-button,
    .wp-block-button__link {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .wp-block-button__link {
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        word-break: normal !important;
        text-align: center !important;
        padding: 15px 20px !important;
        min-height: 50px;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
}

.jitsi-container-class {
    width: 100%;
    height: calc(100vh - 120px); /* Leaves room for your website's mobile header/menu */
    min-height: 450px;
}


/* ===== COVER TEXT POSITIONING ===== */
.wp-block-cover h1,
.wp-block-cover h2 {
	padding-left: 23rem;
}

@media (max-width: 768px) {
	.wp-block-cover h1,
	.wp-block-cover h2 {
		padding-left: 5rem;
	}
}


/* =========================================================
   MOBILE + TABLET NAVIGATION — EXTRA BOTTOM SPACE
   ========================================================= */

/*
 * Adds extra scrolling space at the bottom of any
 * WordPress responsive Navigation Block.
 *
 * This applies to BOTH:
 * - Main/header navigation
 * - Footer navigation
 *
 * It does not change how the navigation opens, closes,
 * or handles dropdowns.
 */

@media (max-width: 1024px) {

	.wp-block-navigation__responsive-container.is-menu-open {
		padding-bottom: 8rem !important;
		box-sizing: border-box !important;
	}

}

.jitsi-container-class {
    width: 100%;
    height: calc(100vh - 120px); /* Leaves room for your website's mobile header/menu */
    min-height: 450px;
}
/* Default for Mobile Phones */
.jitsi-container {
    width: 100%;
    height: 65vh;
}

/* Tablets (iPads, Android Tabs - Portrait & Landscape) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .jitsi-container {
        width: 100%;
        height: 75vh;
        max-height: 750px;
    }
}

/* Desktops */
@media screen and (min-width: 1025px) {
    .jitsi-container {
        width: 100%;
        height: 600px;
    }
}