/**
 * Theme Name:       Mai Delight
 * Theme URI:        https://bizbudding.com/products/mai-delight-theme/
 * Description:      Mai Delight theme for the Genesis Framework.
 * Author:           BizBudding
 * Author URI:       https://bizbudding.com/
 * Version:          2.0.1
 * Text Domain:      mai-delight
 * Template:         genesis
 * Template Version: 3.3.2
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */
 
 
/* ================================
   MAI TESTIMONIAL - GREEN QUOTE STYLE
================================ */

/* Main testimonial container */
.mait-content {
    position: relative;
    padding-left: 35px; /* space for quote */
}

/* Green opening quote */
.mait-content::before {
    content: "“";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 50px;
    line-height: 1;
    color: #008000; /* green */
    font-family: serif;
    font-weight: bold;
}

/* Paragraph styling */
.mait-content p {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
}

/* Remove extra margin sa last paragraph */
.mait-content p:last-child {
    margin-bottom: 0;
}

/* Optional: better spacing between testimonials */
.mait-testimonial {
    margin-bottom: 25px;
}

/* Optional: improve author section spacing */
.mait-details {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Optional: make image cleaner */
.mait-image img {
    border-radius: 50%;
}



 /* New Style and Mobile response */
 
@media (max-width: 767px) {

  /* h1 intentionally commented */
  /*
  h1.wp-block-heading {
    font-size: 40px !important;
    line-height: 1.2;
  }
  */

  h2.wp-block-heading {
    font-size: 28px !important;
    line-height: 1.25;
  }

  .has-md-padding-left {
    padding-left: 8px;
  }

  .mai-gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mai-gallery-image {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .order1 { order: 1; }
  .order2 { order: 2; }
  .order3 { order: 3; } /* kept as-is */

  .wp-block-columns-david {
    flex-direction: column !important;
  }

  .wp-block-columns-order {
    flex-direction: column-reverse;
  }

  .ub-button-block-btn strong {
    font-size: 10px;
  }

  .hh {
    font-size: 22px !important;
    line-height: 1.25;
  }

  .pp {
    font-size: 10px !important;
    padding-right: 20px !important;
    line-height: 1.25;
  }
}

/* Desktop hero full height */
@media (min-width: 769px) {
  .wp-block-cover.alignfull:first-of-type {
    min-height: 100vh;
  }
}

/* MOBILE HERO (merged duplicate block) */
@media (max-width: 768px) {

  .your-hero-section.wp-block-cover {
    position: relative !important;
    min-height: unset !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .your-hero-section.wp-block-cover
  .wp-block-cover__image-background,
  .your-hero-section.wp-block-cover img {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .your-hero-section.wp-block-cover
  > .wp-block-cover__inner-container {
    position: absolute !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    padding: 20px 16px !important;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.15)
    );
    box-sizing: border-box;
  }

  .your-hero-section.wp-block-cover p {
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
  }

  .your-hero-section + * {
    margin-top: 24px !important;
  }
}
