.cm-header-container,
.block-editor-block-list__layout .wp-block-cm-header-0 .cm-header-container{
    box-sizing: border-box;
    z-index: 5;
    float: left;
    width: 100%;
    clear: both;
    display: flex; /* Use flexbox instead of table */
    padding: 0;
    margin: 0;
    align-items: stretch; /* Make all children stretch to fill the container height */
    position: relative;    
}

 
  .logo-container,
  .block-editor-block-list__layout .wp-block-cm-header-0 .logo-container {
    box-sizing: border-box;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    align-self: stretch; /* Stretch to fill the height of the parent */
   
  }
  
  .wp-block-site-logo.is-default-size .custom-logo,
  .custom-logo,
  .wp-block-cm-header-0 .custom-logo,
  .block-editor-block-list__layout .wp-block-cm-header-0 .custom-logo{
    width: clamp(48px, 5.5vw, 115px);
    height: auto; /* Maintain aspect ratio */
  }
  /* correcting fse issue with logo as it was forcing a min height */
  .custom-logo .components-resizable-box__container,
  .block-editor-block-list__layout .wp-block-cm-header-0 .custom-logo .components-resizable-box__container{
    display: contents; 
  }
  
  .site-title-tagline-wrapper,
  .block-editor-block-list__layout .wp-block-cm-header-0 .site-title-tagline-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
   
  }
  .text-wrapper,
  .block-editor-block-list__layout .wp-block-cm-header-0 .text-wrapper{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    align-self: stretch; /* Stretch to fill the height of the parent */
    align-items: left;
   
  }
  
  .site-title,
  .wp-block-cm-header-0 .site-title,
  .block-editor-block-list__layout .wp-block-cm-header-0 .site-title{
    box-sizing: border-box;
    font-size: clamp(30px,3.0vw, 105px);
    color: #fff;
    letter-spacing: 0.175em;
    margin:0 0 0 0;
    padding:0 0 0 1.5vw;
  }
  .site-tagline,
  .wp-block-cm-header-0 .site-tagline,
  .block-editor-block-list__layout .wp-block-cm-header-0 .site-tagline{
    box-sizing: border-box;
    font-size: clamp(15px,1.0vw, 105px);
    color: #e9e8bd;
    width: 100%;
    text-align: right;
    display: block;
    position: relative;
    margin:0 0 0 0;
    padding:0 .75vw 0 0;
  }
  
  /* In keeping with our ZC range */
  @media (min-width: 0px) and (max-width: 550px) {
    /* in keeping with the 15% class zc15 */
    .text-wrapper,
    .text-wrapper,
    .block-editor-block-list__layout .wp-block-cm-header-0 .text-wrapper {
      text-align: center;
    }
    .site-title,
    .site-title,
    .wp-block-cm-header-0 .site-title,
    .block-editor-block-list__layout .wp-block-cm-header-0 .site-title{
      padding: 0.4vw 0 0 0;
    }
  
    .site-tagline,
    .site-tagline,
    .wp-block-cm-header-0 .site-tagline,
    .block-editor-block-list__layout .wp-block-cm-header-0 .site-tagline {
      padding: 0.4vw 0 0 0;
      text-align: center;
      right: 0;
    }
    .zc40.logo-container,
    .zo40.logo-container,
    .block-editor-block-list__layout .wp-block-cm-header-0 .zc40.logo-container,
    .block-editor-block-list__layout .wp-block-cm-header-0 .zo40.logo-container {
      
    }
  }
  
  @media (min-width: 551px) {
    .text-wrapper,
    .text-wrapper,
    .block-editor-block-list__layout .wp-block-cm-header-0 .text-wrapper {
         text-align: left;
    }
    .site-title,
    .site-title,
    .wp-block-cm-header-0 .site-title,
    .block-editor-block-list__layout .wp-block-cm-header-0 .site-title{
         padding: 0.4vw 0 0 1.5vw;
    }
  
    .site-tagline,
    .site-tagline,
    .wp-block-cm-header-0 .site-tagline,
    .block-editor-block-list__layout .wp-block-cm-header-0 .site-tagline {
         text-align: right;
    }
    .zc40.logo-container,
    .zo40.logo-container,
    .block-editor-block-list__layout .wp-block-cm-header-0 .zc40.logo-container,
    .block-editor-block-list__layout .wp-block-cm-header-0 .zo40.logo-container {
      justify-content: center;
    }
  }
   