.elementor-8930 .elementor-element.elementor-element-9947495{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(max-width:1024px){.elementor-8930 .elementor-element.elementor-element-9947495{--padding-top:0px;--padding-bottom:0px;--padding-left:30px;--padding-right:30px;}}@media(max-width:767px){.elementor-8930 .elementor-element.elementor-element-9947495{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for container, class: .elementor-element-9947495 */html, body {
    max-width: 100%;
    overflow-x: hidden;
}


.wp-block-list li::marker {
    color: #009157;
	text-indent: 5px;
}

h1.wp-block-heading {
    font-size: 40px!important;
    text-transform: capitalize!important;
    padding: 0!important;
}

h2.wp-block-heading {
   
    text-transform: capitalize!important;
    padding: 0!important;
}

h3.wp-block-heading {
	font-size: 25px;
}

/* Let buttons sit above any overlays */
.wp-block-button__link {
    position: relative;
    z-index: 10;
}


a.wp-block-button__link  {
    background-color: #009157;
    color: white!important;
}

a.wp-block-button__link:hover  {
    background-color: #007446;
    color: white;
}

hr.wp-block-separator {
    color:#009157;
    width: 50%;
    margin: 90px auto;
}

.block-padding {
    padding-top: 60px;
}

.cta-block-padding {
    padding-top: 30px;
}

.wp-block-list li:not(:last-child) {
    margin-bottom: 10px;
}



.wp-block-image {
    border-radius: 10px!important;
}

.elementor-page-title {
    display: none !important;
}


/* Make the whole CTA row align vertically */
.center-vert {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
}

/* Make each column also center its content vertically */
.center-vert > .wp-block-column {
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
}

.wp-block-column {
    
    border-color:#ebeef2!important;
}

.project-table th,
.project-table td {
    text-align: center!important;
    vertical-align: middle!important;
}

.project-table th {
    background-color: green;
    color: white;
}

/* style only this specific testimonials table */
.wp-block-table table td,
.wp-block-table table th {
   
    border: 20px solid #ffffff !important; /* white borders */
    background-color: #ebeef2 !important; /* light grey cells */
    padding: 20px !important; /* optional: better spacing */
}

/* optional: remove double borders on figure wrapper */
.wp-block-table.is-style-regular {
    border: none !important;
}

/* optional: make the whole table look cleaner */
.wp-block-table table {
    border-collapse: collapse !important;
    width: 100%;
    
}

figure.wp-block-table ul li::marker {
    color: #009157 !important;
}
figure.wp-block-table ul li:not(:last-child) {
    margin-bottom: 10px;
}



/* Add padding to entire page on mobile */
@media (max-width: 760px) {
   #page, #content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow-x: hidden !important;
    }

    /* Fix Gutenberg blocks that might overflow */
    .wp-block-columns,
    .wp-block-column,
    .wp-block-buttons,
    .wp-block-button,
    .wp-block-button__link,
    iframe {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    hr.wp-block-separator {
    color:#009157;
    width: 50%;
   
    margin-top: 50px!important;
    margin-bottom: 50px!important;
}

    .wp-block-column {
    
    border: none!important;
}
h2.wp-block-heading {
    font-size: 25px!important;
}
figure.testimonial-table table,
  figure.testimonial-table tbody {
      display: block !important;
      width: 100% !important;
  }

  /* each row becomes a block */
  figure.testimonial-table tr {
      display: block !important;
      width: 100% !important;
      margin-bottom: 20px; /* space between testimonials */
  }

  /* each cell becomes a full-width block */
  figure.testimonial-table td {
      display: block !important;
      width: 100% !important;
      box-sizing: border-box !important;
  }
  
  /* Target ONLY wp-block-table elements with inline padding (your table) */
  figure.wp-block-table[style*="padding-top:30px"] table,
  figure.wp-block-table[style*="padding-top:30px"] tbody {
    display: block !important;
    width: 100% !important;
  }

  figure.wp-block-table[style*="padding-top:30px"] tr {
    display: block !important;
    width: 100% !important;
    margin-bottom: 30px; /* spacing between items */
  }

  figure.wp-block-table[style*="padding-top:30px"] td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
   /* Add padding top & bottom */
  .wp-container-core-columns-is-layout-35b47e0a {
      padding-top: 30px !important;
      padding-bottom: 30px !important;
      align-items: center !important;
  }

  /* Vertically center all inner columns */
  .wp-container-core-columns-is-layout-35b47e0a .wp-block-column {
      display: flex;
      flex-direction: column;
      justify-content: center!important;
      align-items: center !important;
      text-align: center!important;
  }

  /* Make Marvin logo smaller */
  .wp-container-core-columns-is-layout-35b47e0a img[src*="marvin"] {
      width: 120px !important;   /* adjust size */
      height: auto !important;
  }

  /* Also shrink the James Hardie logo proportionally if needed */
  .wp-container-core-columns-is-layout-35b47e0a img[src*="Hardie"],
  .wp-container-core-columns-is-layout-35b47e0a img[src*="hardie"],
  .wp-container-core-columns-is-layout-35b47e0a img[src*="2020-James"] {
      width: 150px !important;
      height: auto !important;
  }

  /* Make the whole top-left logo row vertical instead of spread */
  .wp-container-core-columns-is-layout-35b47e0a .wp-block-columns {
      flex-direction: column !important;
      gap: 10px !important;
  }
  .wp-container-core-columns-is-layout-35b47e0a * {
      text-align: center !important;
  }
  
 .center-vert {
     padding: 30px 20px 30px 20px!important;
     margin:0!important;
 }
  .wp-container-core-column-is-layout-f6632a5c {
      padding: 0 !important;
      margin: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
  }
  

}

/* Tablet styles for top hero container */
@media (min-width: 768px) and (max-width: 1024px) {

  /* 1. Container padding + centering */
  .wp-container-core-columns-is-layout-35b47e0a {
      padding: 30px !important;              /* 30px all around */
      align-items: center !important;
  }

  /* Center text in the left column on tablet */
  .wp-container-core-columns-is-layout-35b47e0a
  .wp-block-column:first-child {
      text-align: center !important;
  }

  .wp-container-core-columns-is-layout-35b47e0a
  .wp-block-column:first-child p,
  .wp-container-core-columns-is-layout-35b47e0a
  .wp-block-column:first-child h1,
  .wp-container-core-columns-is-layout-35b47e0a
  .wp-block-column:first-child h2 {
      text-align: center !important;
  }

  /* 2. Make the Marvin logo smaller */
  .wp-container-core-columns-is-layout-35b47e0a img[src*="marvin-logo"] {
      width: 140px !important;     /* adjust as you like */
      height: auto !important;
  }

  /* 3. Service buttons inline (shrink to content, centered) */
  .wp-container-core-columns-is-layout-74aa2b33 {
      justify-content: center !important;
      flex-wrap: wrap;              /* allow wrap if needed */
      gap: 10px !important;         /* spacing between buttons */
  }

  .wp-container-core-columns-is-layout-74aa2b33 > .wp-block-column {
      flex: 0 0 auto !important;    /* no fixed % width */
      width: auto !important;
      display: flex;
      justify-content: center;
  }
  .wp-block-buttons.is-content-justification-left {
    justify-content: center;
}
    .wp-block-buttons.is-content-justification-right {
    justify-content: center;
}

.wp-container-core-column-is-layout-f6632a5c {
      padding: 0 !important;
      margin: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
  }
}/* End custom CSS */