/* 
Theme Name: Oechsli Child Theme
Theme URI: https://oechsli.com
Description: Oechsli is a hybrid theme with block and elementor support 
Author: Oechsli
Author URI: https://oechsli.com/
Template: oechsli
Version: 2023.12.03
Text Domain: oechsli
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Hide by default (desktop + larger screens) */
.off-canvas-menu {
  display: none !important;
}

/* Show only on mobile (adjust breakpoint as needed) */
@media (max-width: 768px) {
  .off-canvas-menu {
    display: block !important;
  }
}


/* Mobile */

@media only screen and (max-width: 767px) {

	.wp-block-group.home-hero-stack {min-height: 35em !important; }
	.off-canvas-menu li {
    margin: 0.75rem 0 !important;
  }
  .off-canvas-menu li a {
    display: block;
    padding: 0.5rem 0 !important;
    line-height: 1.4;
  }
	.wp-block-group.cover-img-stack, .wp-block-cover.page-hero-cover, .cover-img {min-height: 350px !important;}
	 {min-height: 350px !important;}
	.wp-block-group.cta-stack {min-height: 550px !important;}
	.no-min-height {min-height: 0px !important;}
		

}


/* Mobile Flip Box Fix */
/* Prevent flip box back content from pushing team member cards apart on mobile */
@media only screen and (max-width: 767px) {
  .flipbox-container {
    position: relative;
  }
  .flipbox-back {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    overflow-y: auto;
  }
}

/* Video Thumbnail Play Button Overlay */
.type-oi_video .wp-block-post-featured-image a {
  position: relative;
  display: block;
}
.type-oi_video .wp-block-post-featured-image a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-image: url('/wp-content/uploads/2026/04/transparent-play-button.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}