 
 .cm-header-container,
.editor-styles-wrapper .cm-header-container,
.wp-block-cm-header-0 .cm-header-container,
.block-editor-block-list__layout .wp-block-cm-header-0 .cm-header-container{
    box-sizing: border-box;
    z-index: 5;
    width: 100%;
    display: flex; /* Use flexbox instead of table */
    float: none; /* Override responsive container floats */
    clear: none; /* Override responsive container clear */
    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; 
  }
  
  /* High specificity selectors to override WordPress core CSS - Frontend & FSE */
  .cm-header-container .site-title-tagline-wrapper,
  .wp-block-group.cm-header-container .site-title-tagline-wrapper,
  .wp-block-cm-header-0 .cm-header-container .site-title-tagline-wrapper,
  .editor-styles-wrapper .wp-block-cm-header-0 .site-title-tagline-wrapper,
  .editor-styles-wrapper .cm-header-container .site-title-tagline-wrapper,
  .block-editor-block-list__layout .wp-block-cm-header-0 .cm-header-container .site-title-tagline-wrapper,
  .block-editor-block-list__block .wp-block-cm-header-0 .site-title-tagline-wrapper,
  .wp-block-template-part .wp-block-cm-header-0 .site-title-tagline-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto; /* Allow wrapper to expand for longer titles */
    min-width: max-content; /* Ensure it doesn't shrink - max-content is stronger than fit-content */
    flex-shrink: 0; /* Prevent flex shrinking */
   
  }
  .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,
  .editor-styles-wrapper .site-title,
  .editor-styles-wrapper .wp-block-cm-header-0 .site-title,
  .block-editor-block-list__layout .wp-block-cm-header-0 .site-title,
  .block-editor-block-list__block .wp-block-cm-header-0 .site-title,
  .wp-block-template-part .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;
    white-space: nowrap !important; /* Force override of pre-wrap - prevent title from wrapping */
  }
  .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: left;
    display: block;
    position: relative;
    margin:0 0 0 0;
    padding:0 .75vw 0 0;
  }
  