/*
Theme Name: BeFlex Child
Theme URI: https://www.eoxia.com
Author: the Eoxia team
Description: Child theme of BeFlex
License: AGPLv3
License URI: https://spdx.org/licenses/AGPL-3.0-or-later.html
Version: 4.0.0
Template: beflex
Text Domain: beflex-child
*/


/* header home page moins haut en mobile */
@media (max-width: 768px) {
  .wp-block-cover {
    min-height: 200px !important; 
    height: auto !important;
  }

  .wp-block-cover__inner-container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .wp-block-group.has-white-background-color {
    width: 95% !important; 
    max-width: 95% !important;
    margin: 0 auto !important; 
    padding: 24px !important; 
    font-size: 1rem !important; 
    border-radius: 12px !important; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  }

  .wp-block-group.has-white-background-color .wp-block-button__link {
    font-size: 1rem !important;
    padding: 12px 24px !important;
    width: 100% !important;
    display: block;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .wcc-btn-revisit-wrapper.wcc-revisit-bottom-left {
    bottom: 130px !important;
  }
}

/** Fix Button form */
.gform_next_button {
  font-size: 20px !important;
}

/** Fix single post header */
.page-title-section .wp-block-cover {
  overflow: visible;
  background: var(--wp--preset--color--secondary);
}
.page-title-section .wp-block-cover img {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}