/*
 Theme Name:   Twenty Twenty-Four Root
 Description:  Twenty Twenty-Four Root Theme
 Author:       Structure and Narrative
 Author URI:   https://structureandnarrative.com
 Description: Twenty Twenty-Four is designed to be flexible,
 versatile and applicable to any website. Its collection of templates and patterns tailor to different needs,
 such as presenting a business,
 blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process,
 is fully compatible with the site editor,
 and takes advantage of new design tools introduced in WordPress 6.4.
 Template:     twentytwentyfour
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0 License: GNU General Public License v2 or later
License URI: http: //www.gnu.org/licenses/gpl-2.0.html
Tags:         Tags: one-column,
custom-colors,
custom-menu,
custom-logo,
editor-style,
featured-images,
full-site-editing,
block-patterns,
rtl-language-support,
sticky-post,
threaded-comments,
translation-ready,
wide-blocks,
block-styles,
style-variations,
accessibility-ready
 Text Domain:  twentytwentyfourroot
*/
.wp-block-site-logo.is-default-size img {
  height:auto !important;
  width: 160px !important;
}
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.admin-bar > .wp-site-blocks{
    min-height: calc(100vh - 32px);
}

header .wp-block-navigation-item__content {
    margin-bottom: -10px;
}

.wp-site-blocks > header a:focus {
    outline: none;
}

.wp-site-blocks > main {
    flex: 1 0 auto;
}

.wp-block-separator.two {
    border-width: 0 0 2px 0 !important;
}
.wp-block-separator.four {
    border-width: 0 0 4px 0 !important;
}
.wp-block-separator.six {
    border-width: 0 0 6px 0 !important;
}
.wp-block-separator.eight {
    border-width: 0 0 8px 0 !important;
}
.wp-block-separator.left {
    margin-left: 0 !important;
}

h3.indent {
    margin-left: 24px;
    position: relative;
}
h3.indent:before {
    content: "";
    background: #000;
    position: absolute;
    
    height: 24px;
    width: 6px;    
    left: 0;
    top: 6px;
}
h3.indent.indent2:before {
    height: 4px;
    width: 14px;
    left: -24px;
    top: 26px;
}

/* home page custom make divider line touch footer */
.home .wp-site-blocks > footer {
  margin-top: 0 !important;
}

.home .wp-site-blocks > footer .wp-block-group {
  margin-top: 0 !important;
}

/* home page custom quote block corners */
.home .home-columns > .wp-block-column .wp-block-quote {
  position: relative;
  /* width: calc(100% - 32px); */
  /* width: calc(100% - 2*var(--wp--preset--spacing--20)); */
  padding-left: 0px !important;
  padding-right: 0px !important;
  margin-left: 24px !important;
  margin-right: 24px !important;
}

.home .home-columns > .wp-block-column .wp-block-quote:after {
  content: "";
  display: block;
  position: absolute;
  height: calc(100% - 12px);
  top: 0;
  left: -24px;
  border-top: 12px solid transparent;
  border-right: 24px solid #ffffff85;
}
/* alternate corners
.home .home-columns > .wp-block-column:last-of-type .wp-block-quote:after {
  border-top: 12px solid transparent;
  border-bottom: none;
}
*/
.home .home-columns > .wp-block-column .wp-block-quote:before {
  content: "";
  display: block;
  position: absolute;
  height: calc( 100% - 12px );
  top: 0;
  right: -24px;
  border-bottom: 12px solid transparent;
  border-left: 24px solid #ffffff85;
} 
/* alternate corners
.home .home-columns > .wp-block-column:last-of-type .wp-block-quote:before {
  border-top: none;
  border-bottom: 12px solid transparent;
} 
*/

/* footer alignment */
footer.wp-block-template-part > .wp-block-group > .wp-block-columns {
  gap: 0;
}

/* home page custom borders */
/* mobile */
@media screen and (max-width: 781px) {
  /* Your custom styles for the mobile menu here */
  .home .home-columns {
    border: none !important;
    display: block !important;
  }
  
  .home .home-columns > .wp-block-column  {
    border: none !important;
    border-top: white 1px solid !important;
    padding-top: var(--wp--preset--spacing--30) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
  }
  
  .home .home-columns > .wp-block-column .wp-block-quote {
    /* width: calc(100% - 4*var(--wp--preset--spacing--20)); */
  }
  
  .home .home-columns:last-of-type > .wp-block-column:last-of-type {
    border-top: none !important;
  }
  
  /* footer alignment */
  footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column:last-of-type >.wp-block-group {
    padding: 0 !important;
    padding-top: var(--wp--preset--spacing--40) !important; 
  }
  
}