/*
Theme Name: tclievelde
Theme URI: https://example.org/themes/tclievelde/
Author: tclievelde
Author URI: https://example.org
Description: tclievelde theme — a customized child of Twenty Twenty-Five tailored for the site's design, patterns and styles.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tclievelde
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, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a:where(.wp-site-blocks *) {
  /* placeholder to scope later overrides */
}

/* Breadcrumbs: lightweight, non-intrusive defaults */
.breadcrumbs {
  margin: 0 0 1rem 0;
  font-size: var(--wp--preset--font-size--tclievelde-tiny);
  line-height: 1.4;
  /* max-width: var(--max-container-width); */
}
.breadcrumbs__trail {
  display: inline-block;
  color: var(--wp--preset--color--foreground, #111);
}
.breadcrumbs__trail a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs__trail a:hover,
.breadcrumbs__trail a:focus {
  text-decoration: underline;
}
.breadcrumbs__sep {
  margin: 0 0.5rem;
  color: var(--wp--preset--color--tertiary);
}

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}



.line::before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color:currentColor;
    margin-bottom: 8px;
}

.divider-line::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color:currentColor;
  margin-bottom: 8px;
}

body.page,
body.blog,
body.wp-singular {
    background-image: url('./assets/images/bg-pattern01.svg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top;
    background-size: 100%;

}

/* ============================================
   CANON GRID SYSTEM - CLEAN VERSION
   Use with layout type: "default" in block patterns
   ============================================ */


/* ============================================
   FLEXIBLE CONTAINER
   Add this to any group block with class "flexible-container"
   ============================================ */
.flexible-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.container--flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
} 
.flexible-container > .wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.container--flex > .wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
} 
.flexible-container > .wp-block-group__inner-container > * {
  flex: 1 1 300px;
  min-width: 250px;
} 

/* ============================================
   FULL WIDTH CONTAINER
   Add this to any group block with class "full-width-container"
   ============================================ */
.full-width-container {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.container--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.full-width-container > .wp-block-group__inner-container {
  width: 100%;
}

.container--full > .wp-block-group__inner-container {
  width: 100%;
} 

/* ============================================
   CENTERED CONTAINER
   Add this to any group block with class "centered-container"
   ============================================ */
.centered-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.container--centered {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.centered-container > .wp-block-group__inner-container {
  width: 100%;
}

.container--centered > .wp-block-group__inner-container {
  width: 100%;
}   




/* ============================================
   STICKY HEADER - STANDALONE
   Add this to any header element with class "sticky-header"
   ============================================ */

/* Sticky header with hide/show animation */
.sticky-header {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  /* width: 100%;
  max-width: 1280px; */
width: 1340px;
  max-width: 1340px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.sticky-header.hero-header,
.sticky-header.hero-headerr > div {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hidden state - slides up */
.sticky-header.is-hidden {
  transform: translateX(-50%) translateY(-0px);
}

/* Scrolled state - adds shadow */
.sticky-header.is-scrolled {
  transform: translateX(-50%) translateY(-20px);
}


/* ============================================
    Hero Text grid section
    Add this to any group block with class "hero-text"
    ============================================ */

.hero-header {
  display: grid;
  grid-template-columns: minmax(320px, auto) minmax(640fr, auto) minmax(40px, 320px);
  grid-template-rows: minmax(60px, auto);
  width: 100%;
  height: 90px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari */
  box-shadow:
      0 1px 1px hsl(0deg 0% 0% / 0.075),
      0 2px 2px hsl(0deg 0% 0% / 0.075),
      0 4px 4px hsl(0deg 0% 0% / 0.075),
      0 8px 8px hsl(0deg 0% 0% / 0.075),
      0 16px 16px hsl(0deg 0% 0% / 0.075)
    ;
}



.hero-header > .wp-block-group__inner-container {
     display: contents;
     padding: 0;
     margin: 0;
}

/* Row 1: Two cells of 640×90 */
.hero-header__section-1-1 {
     grid-column: 1 / 2;
     grid-row: 1 / 2;
     display: flex;
     align-items: center;
     margin-left: 0 !important;
}

.hero-header__section-1-2 {
     grid-column: 2 / 3;
     grid-row: 1 / 2;
     display: flex;
}

.hero-header__section-1-3 {
     grid-column: 3 / 4;
     grid-row: 1 / 2;
     display: flex;
}

.hero-header [class*="__section"].wp-block-group {
     margin: 0;
}

.hero-header [class*="__section"] > .wp-block-group__inner-container {
     display: contents;
     margin: 0;
}

@media (min-width: 1920px) {
     .hero-header {
        width: 1340px;
          margin-left: auto;
          margin-right: auto;
     }
}

@media (max-width: 1024px) {
     .hero-header {
      width: 100%;
          grid-template-columns: minmax(60px, auto) 1fr minmax(60px, auto);
     }
     
     .hero-header[class*="__section"] {
          height: auto;
     }
}

@media (max-width: 768px) {
     .hero-header {
          grid-template-columns: minmax(60px, auto) 1fr minmax(60px, auto);
          grid-template-rows: minmax(60px, auto) 120fr;
          height: 60px;
     }
     
     .hero-header__section-1-1 {
          grid-column: 1 / 2;
          grid-row: 1 / 2;
          /* align-items: start; */
     }
     
     .hero-header__section-1-2 {
        grid-column: 3 / 4;
          grid-row: 1 / 2;
          width: 100%;
     }
     
     .hero-header__section-1-3 {
          grid-column: 2 / 3;
          grid-row: 1 / 2;
     }
}




/* ============================================
   Hero footer
   Add this to any group block with class "hero-footer"
   ============================================ */
.hero-footer {
    display: grid;
    /* grid-template-columns: minmax(30px, 260px) 320px minmax(0, 230px) 320px 320px minmax(30px, 320px); */
    grid-template-columns: minmax(30px, 320px) minmax(320px, auto) minmax(320px, auto) minmax(320px, auto) minmax(320px, auto) minmax(30px, 320px);
    grid-template-rows: minmax(0, 120px) minmax(320px, auto) minmax(320px, auto) minmax(0, 120px); 
    gap: 0;
    padding: 0;
    margin: 0 30px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: var(--wp--preset--color--quinary);
    margin-top:-30px;
}

/* Row 1: */
.hero-footer__section-1-1 {
    grid-column: 2 / span 4;
    grid-row: 4 / span 1;
    display: flex;
}

/* Row 2:  */
.hero-footer__section-2-1 {
    grid-column: 2 / span 2;
    grid-row: 2 / span 1;
    display: flex;
}

.hero-footer__section-2-2 {
    grid-column: 4 / span 2;
    grid-row: 2 / span 1;
    display: flex;
    padding-top: var(--wp--preset--spacing--tclievelde-small);
}

.hero-footer__section-2-3 {
    grid-column: 4 / span 2;
    grid-row: 2 / span 1;
    display: flex;
    padding-top: var(--wp--preset--spacing--tclievelde-large);
}

/* Row 3:  */
.hero-footer__section-3-1 {
    grid-column: 2 / span 4;
    grid-row: 3 / span 1;
    display: flex;
}


.hero-footer [class*="__section"].wp-block-group {
    margin: 0;
}

.hero-footer [class*="__section"] > .wp-block-group__inner-container {
    display: contents;
    margin: 0;
}

.hero-footer p,
.hero-footer li {
  font-weight: 100;
  font-size: var(--wp--preset--font-size--tclievelde-extra-small);
}
.hero-footer p strong,
.hero-footer li strong{
    font-weight: 500;
}

.hero-footer a {
    text-decoration: underline;
    color: var(--wp--preset--color--white);
}

.hero-footer .wp-block-navigation { 
  gap: 24px;
  row-gap: 6px;
}
.hero-footer .wp-block-navigation .wp-block-navigation-item__content {
  color: var(--wp--preset--color--white);
}

@media (min-width: 1920px) {
    .hero-footer {
        max-width: 1920px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1024px) {
      .hero-footer {
        padding-top: var(--wp--preset--spacing--tclievelde-large);
        padding-left: var(--wp--preset--spacing--tclievelde-small);
        padding-right: var(--wp--preset--spacing--tclievelde-small);
        grid-template-columns: minmax(0, 192px) 192px 125fr 64fr 192fr;
        grid-template-rows: minmax(0, 256px) minmax(0, 256px) minmax(0, 170px) minmax(0, 87px) minmax(0, 256px);
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    

    /* Row 1: */
    .hero-footer__section-1-1 {
        grid-column: 1 / span 4;
        grid-row: 1 / span 1;
        display: flex;
    }

    /* Row 2:  */
    .hero-footer__section-2-1 {
        grid-column: 1 / span 4;
        grid-row: 2 / span 1;
        display: flex;
    }

    .hero-footer__section-2-2 {
        grid-column: 1 / span 4;
        grid-row: 3 / span 1;
        display: flex;
    }

    .hero-footer__section-2-3 {
        grid-column: 1 / span 4;
        grid-row: 4 / span 1;
        display: flex;
    }

    /* Row 3:  */
  .hero-footer__section-3-1 {
      grid-column: 1 / span 4;
      grid-row: 5 / span 1;
      display: flex;
  }
    
}

@media (max-width: 768px) {
    .hero-footer {
        padding-left: var(--wp--preset--spacing--tclievelde-small);
        padding-right: var(--wp--preset--spacing--tclievelde-small);
        padding-top: var(--wp--preset--spacing--tclievelde-large);
        padding-bottom: var(--wp--preset--spacing--tclievelde-large);
        grid-template-columns: minmax(0, 192px) 192px 125fr 64fr 192fr;
        grid-template-rows: minmax(256px, auto) minmax(256px,auto) minmax(170px, auto) minmax(auto, 87px) minmax(0, 256px);
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        max-width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
    

    /* Row 1: */
    .hero-footer__section-1-1 {
        grid-column: 1 / span 4;
        grid-row: 4 / span 1;
        display: flex;
    }

    /* Row 2:  */
    .hero-footer__section-2-1 {
        grid-column: 1 / span 4;
        grid-row: 2 / span 1;
        display: flex;
    }

    .hero-footer__section-2-2 {
        grid-column: 1 / span 4;
        grid-row: 3 / span 1;
        display: flex;
    }

    .hero-footer__section-2-3 {
        grid-column: 1 / span 4;
        grid-row: 4 / span 1;
        display: flex;
    }


    
}


/* ============================================
   Hero Home grid section
   Add this to any group block with class "hero-home"
   ============================================ */
.hero-home {
    display: grid;
    grid-template-columns: minmax(0, 320px) repeat(2, 320px) repeat(4, 160px) minmax(0, 320px);
    grid-template-rows: minmax(0, 270px)  minmax(350px, auto) minmax(0, 90px) minmax(0, 90px) 180fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.hero-home.wp-block-group {
    margin: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--tclievelde-xx-large);
}

.hero-home > .wp-block-group__inner-container {
    display: contents;
    padding: 0;
    margin: 0;
}

/* Row 1: */
.hero-home__section-1-1 {
    grid-column: 2 / span 2;
    grid-row: 1 / span 3;
    display: flex;
    padding-right: var(--wp--preset--spacing--tclievelde-regular);
}

.hero-home__section-1-2 {
    grid-column: 4 / span 3;
    grid-row: 1 / span 4;
    display: flex;
    min-height: 190px;
    width: 100%;
}

/* Row 2:  */
.hero-home__section-2-1 {
    grid-column: 2;
    grid-row: 3 / span 2;
    display: flex;
}

.hero-home__section-2-2 {
    grid-column: 3 / span 2;
    grid-row: 4 / span 2;
    display: flex;
}

.hero-home__section-2-3 {
    grid-column: 5 / span 1;
    grid-row: 3 / span 2;
    display: flex;
}


.hero-home [class*="__section"].wp-block-group {
    margin: 0;
}

.hero-home [class*="__section"] > .wp-block-group__inner-container {
    display: contents;
    margin: 0;
}

@media (min-width: 1920px) {
    .hero-home {
        max-width: 1920px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1024px) {
    .hero-home {
        grid-template-columns: minmax(0, 192px) 192px 125fr 64fr 192fr;
        grid-template-rows: minmax(0, 256px) minmax(0, 256px) minmax(0, 170px) minmax(0, 87px) minmax(0, 256px);
    }
    
    /* Row 1: */
    .hero-home__section-1-1 {
        grid-column: 1 / span 3;
        grid-row: 1 / span 2;
        display: flex;
    }

    .hero-home__section-1-2 {
        grid-column: 4 / span 2;
        grid-row: 1 / span 3;
        display: flex;
        min-height: auto;
        width:100%;
    }
    /* Row 2:  */
    .hero-home__section-2-1 {
        grid-column: 1 / span 2;
        grid-row: 3 / span 1;
        display: flex;
    }

    .hero-home__section-2-2 {
        grid-column: 3 / span 3;
        grid-row: 4 / span 1;
        display: flex;
    }

     .hero-home__section-2-3 {
        grid-column: 4 / span 1;
        grid-row: 4 / span 1;
        display: flex;
    } 
}

@media (max-width: 768px) {
    .hero-home {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: minmax(142px, auto) minmax(142px, auto) repeat(4, auto);
        row-gap: 30px;
    }

    .hero-home__section-1-1 > div,
    .hero-home__section-1-2 > div,
    .hero-home__section-2-1 > div,
    .hero-home__section-2-2 > div,
    .hero-home__section-2-3 > div {  width: 100%;}
    
    .hero-home__section-1-1 {
        grid-column: 1 / span 4;
        grid-row: 2 / span 1;
    }
    
    .hero-home__section-1-2 {
        grid-column: 1 / span 4;
        grid-row: 1 / span 1;
    }
    
    .hero-home__section-2-1 {
        grid-column: 1 / span 4;
        grid-row: 3 / span 1;
    }
    
    .hero-home__section-2-2 {
        grid-column: 1 / span 4;
        grid-row: 4 / span 1;
    }
    
    .hero-home__section-2-3 {
        grid-column: 1 / span 4;
        grid-row: 5 / span 1;
    }
}
   

/* ============================================
   Hero Text grid section
   Add this to any group block with class "hero-text"
   ============================================ */
.hero-text {
    display: grid;
    grid-template-columns: minmax(0, 320px) repeat(2, 320px) repeat(4, 160px) minmax(0, 320px);
    grid-template-rows: minmax(190px, auto) 90fr minmax(740px, auto);
    gap: 0;
    padding: 0;
}

.hero-text.wp-block-group {
    margin: 0;
    padding: 0;
}

.hero-text > .wp-block-group__inner-container {
    display: contents;
    padding: 0;
    margin: 0;
}

/* Row 1: Two cells of 640×90 */
.hero-text__section-1-1 {
    grid-column: 2 / 5;
    grid-row: 1 / span 2;
    display: flex;
    border-radius: 12px;
}

/* Row 2: Two cells of 960×240 and 320×240 */
.hero-text__section-2-1 {
    grid-column: 3 / span 3;
    grid-row: 3 / span 1;
    display: flex;
}


.hero-text [class*="__section"].wp-block-group {
    margin: 0;
}

.hero-text [class*="__section"] > .wp-block-group__inner-container {
    display: contents;
    margin: 0;
}

@media (min-width: 1920px) {
    .hero-text {
        max-width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
  
    .hero-text {
      grid-template-columns: minmax(0, 320px) repeat(2, 320px) repeat(4, 160px) minmax(0, 320px);
    }
    .hero-text__section-1-1 {
        grid-column: 1 / span 3;
    }
    .hero-text__section-2-1 {
        grid-column: 1 / span 3;
    }
}

@media (max-width: 768px) {
    .hero-text {
        grid-template-columns: 1fr;        
        grid-template-rows: minmax(190px, auto) 1fr;        
    }
    
    .hero-text__section-1-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    
    .hero-text__section-2-1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
   
}


/* ============================================
   Hero Col
  
   ============================================ */
.hero-2col {
    display: grid;
    grid-template-columns: minmax(0px, 320px) repeat(2, 320px) repeat(4, 160px) minmax(0, 320px);
    grid-template-rows: minmax(450px, auto);
    gap: 0;
    overflow: hidden;
}

.hero-2col > .wp-block-group__inner-container {
    display: contents;
    padding: 0;
    margin: 0;
}

/* Row 1: */
.hero-2col__section-1-1 {
    grid-column: 2 / span 2;
    grid-row: 1 / 2;
    display: flex;
    width: 100%;
    padding-top: var(--wp--preset--spacing--tclievelde-xx-large);
    padding-bottom: var(--wp--preset--spacing--tclievelde-xx-large);
    padding-right: var(--wp--preset--spacing--tclievelde-large);
}

.hero-2col__section-1-2 {
    grid-column: 4 / span 3;
    grid-row: 1 / 2;
    display: flex;
    width: 100%;
    margin:0;
}

@media (min-width: 1920px) {
    .hero-2col {
        max-width: 1920px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .hero-2col {
        grid-template-columns: 1fr;        
        grid-template-rows: 1fr minmax(190px, auto);        
    }
    
    .hero-2col_section-1-1 {
      
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-2col__section-1-2 {
        grid-column: 1 / span 3;
        grid-row: 2 / 3;
    }
   
}

/* ============================================
   Hero Agenda grid section 
   Add this to any group block with class "hero-text"
   ============================================ */
.hero-agenda {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, 320px) repeat(2, 320px) 160px 160px 160px 160px minmax(0, 320px);
    grid-template-rows: 270fr 90fr 580fr 140fr;
    gap: 0;
    padding: 0;
}

.hero-agenda.wp-block-group {
    margin: 0;
    padding: 0;
    margin-top: var(--wp--preset--spacing--tclievelde-xx-large);
    margin-bottom: var(--wp--preset--spacing--tclievelde-xx-large);
}

.hero-agenda > .wp-block-group__inner-container {
    display: contents;
    padding: 0;
    margin: 0;
}

/* Row 1: Two cells of 640×90 */
.hero-agenda__section-1-1 {
    grid-column: 2 / span 1;
    grid-row: 1 / span 2;
    display: flex;
    padding-top: var(--wp--preset--spacing--tclievelde-large);
    padding-right: var(--wp--preset--spacing--tclievelde-large);
    font-size: var(--wp--preset--font-size--tclievelde-extra-small);
}

.hero-agenda__section-1-2 {
    grid-column: 4 / span 3;
    grid-row: 1 / span 4;
    display: flex;
}

/* Row 2: Text and agenda */
.hero-agenda__section-2-1 {
    grid-column: 2 / span 2;
    grid-row: 3 / span 2;
    display: flex;
  }

.hero-agenda__section-2-1 .wp-block-query {
    color: #fff;
}


.hero-agenda [class*="__section"].wp-block-group {
    margin: 0;
}

.hero-agenda [class*="__section"] > .wp-block-group__inner-container {
    display: contents;
    margin: 0;
}

.hero-agenda .hero-agenda__section-1-2 .wp-block-heading {
    color: #fff;
    margin-top: var(--wp--preset--spacing--tclievelde-regular);
    margin-left: var(--wp--preset--spacing--tclievelde-small);
    margin-right: var(--wp--preset--spacing--tclievelde-small);
}
.hero-agenda .wp-block-query .wp-block-post-template {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-agenda .wp-block-query .wp-block-post.type-agenda {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
    padding-top: var(--wp--preset--spacing--tclievelde-small);
}

.hero-agenda .wp-block-query .wp-block-post.type-agenda:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
.hero-agenda .wp-block-query .wp-block-post.type-agenda .wp-block-post-title {
    font-weight: 600;
    font-size: var(--wp--preset--font-size--tclievelde-small);
}
.hero-agenda .wp-block-query .wp-block-post.type-agenda .wp-block-post-title a {
    color: #fff;
}
.hero-agenda .wp-block-query .wp-block-post.type-agenda .wp-block-post-date {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 4px;
} 
.hero-agenda .wp-block-query .wp-block-post.type-agenda .wp-block-post-excerpt {
    color: #9DA99E;
    font-weight: 300;
}
.hero-agenda .wp-block-query .wp-block-post.type-agenda .wp-block-post-excerpt a {
    color: #fff;
    text-decoration: underline;
}
.hero-agenda .wp-block-query .wp-block-post.type-agenda .wp-block-post-excerpt a:hover {
    color: var(--wp--preset--color--secondary);
}
.hero-agenda .wp-block-query .wp-block-post.type-agenda .event-date {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
    background: none;
    min-height: auto;
    color: #9DA99E;
}


@media (min-width: 1920px) {
    .hero-agenda {
         max-width: 1920px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1024px) {
  .hero-agenda__section-1-2 {
    grid-column: 3 / span 2;
}
.hero-agenda__section-2-1 {
    grid-column: 2 / span 1;
}

   
}

@media (max-width: 768px) {
    .hero-agenda {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    
    .hero-agenda__section-1-1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        padding-bottom: var(--wp--preset--spacing--tclievelde-small);
    }
    .hero-agenda__section-1-1 p {
      border: 0;
    }
    .hero-agenda__section-1-2 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    
    .hero-agenda__section-2-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    
   
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* End of Mobile Menu Styles */
.hero-header .wp-block-navigation.main-navigation {
    margin:0px;
    padding:0px;
    list-style-type: none;
    display: flex;
    max-width: 840px;
    width: 100%;
}

.hero-header .wp-block-navigation.main-navigation .wp-block-navigation__container {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: clamp(2px, 2.5vw, 8px) clamp(8px, 2.5vw, 24px);
    margin: 0px;
}

.hero-header .wp-block-navigation.main-navigation .wp-block-navigation-item {
    /* margin: 0 clamp(0px, 4vw, 4px); */
    margin:0;
    display: inline;
}


.hero-header .wp-block-navigation.main-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    padding: clamp(4px, 2.5vw, 12px) clamp(6px, 2.5vw, 16px);
    color: var(--wp--preset--color--primary);
    display: inline-block;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 300;
    line-height: 1;
    font-size: clamp(12px, 2.5vw, 14px);

}

.hero-header .wp-block-navigation.main-navigation .wp-block-navigation-item .wp-block-navigation-item__content:hover {
    background-color: var(--wp--preset--color--quaternary);
}
.hero-header .wp-block-navigation.main-navigation .wp-block-navigation-item .wp-block-navigation-item__content a {
    text-decoration: none;
    color: inherit;
} 

.hero-header .wp-block-navigation.main-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
    background-color: var(--wp--preset--color--quinary);
    color: var(--wp--preset--color--white);
    font-weight: 400;
}
.hero-header .wp-block-buttons .wp-block-button__link {
  font-weight: 300;
    font-size: clamp(12px, 2.5vw, 14px);
     background-color: #3A579B;
  color: #fff;
}
.hero-header .wp-block-buttons .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--quinary);  
}

@media (max-width: 768px) {
    .hero-header nav.wp-block-navigation {
        height: auto;
        flex-direction: column;
        padding: var(--wp--preset--spacing--tclievelde-small);
    }
    
    .hero-header .wp-block-navigation.wp-block-navigation.main-navigation {
        display: none;
    }
    
    .hero-header .wp-block-navigation .wp-block-navigation__container {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    
    .hero-header .wp-block-navigation .wp-block-navigation-item {
        margin: 0;
        width: 100%;
    }
    
    .hero-header .wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
        width: 100%;
        box-sizing: border-box;
    }
}



/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  padding: 8px;
  margin:0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  display: none;
  margin:0;
  padding: 80px 0px;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Close button */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

/* Menu links */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
  color: #667eea;
}

/* Show on mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============================================
   Single Post Styles
   Add this to any group block with class "format-standard"
   ============================================ */
   

/* format-standard */
.format-standard {
}
.format-standard .wp-block-post-featured-image {
    margin-bottom: var(--wp--preset--spacing--tclievelde-small);
    max-width: 840px;
}

.format-standard .wp-block-post-title {
    font-size: var(--wp--preset--font-size--tclievelde-extra-large);
    text-align: center;
    margin-bottom: var(--wp--preset--spacing--tclievelde-small);
    color: var(--wp--preset--color--primary);
}
.format-standard .entry-content {
    font-size: var(--wp--preset--font-size--tclievelde-small);
    line-height: 1.6;
    margin-bottom: var(--wp--preset--spacing--tclievelde-regular);
}
.format-standard .entry-content p {
    margin-bottom: var(--wp--preset--spacing--tclievelde-small);
} 
.format-standard .entry-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--wp--preset--spacing--tclievelde-regular);
}
.format-standard .entry-content a {
    color: var(--wp--preset--color--tertiary);
    text-decoration: underline;
}
.format-standard .entry-content a:hover {
    color: var(--wp--preset--color--primary);
} 
.format-standard  .wp-block-post-terms {
  border-top: 1px solid var(--wp--preset--color--content);
  margin-top: var(--wp--preset--spacing--tclievelde-regular);
  width: 100%;
  font-size: var(--wp--preset--font-size--tclievelde-small);
}
.format-standard  .wp-block-post-terms a {
    color: var(--wp--preset--color--tertiary);
    text-decoration: none;
}
.format-standard  .wp-block-post-terms a:hover {
    text-decoration: underline;
}



/* SMALL titles - Inside Query Loops (carousels, archives, etc.) */
.wp-block-query .wp-block-post-title {
  font-size: var(--wp--preset--font-size--tclievelde-small);
  margin: 0;
}

.wp-block-query .wp-block-post-title a {
  text-decoration: none;
}

/* BIG titles - On single posts/pages (NOT in query loops) */
body.single .wp-block-post-title:not(.wp-block-query *),
body.page .wp-block-post-title:not(.wp-block-query *) {
  font-size: var(--wp--preset--font-size--tclievelde-extra-large);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--wp--preset--spacing--tclievelde-small);
  text-align: center;
  color: var(--wp--preset--color--primary);
}

body.single .wp-block-post-title:not(.wp-block-query *) a,
body.page .wp-block-post-title:not(.wp-block-query *) a {
  color: #1a1a1a;
  text-decoration: none;
}

body.single .event-date:not(.wp-block-query *),
body.page .event-date:not(.wp-block-query *) {
  font-size: var(--wp--preset--font-size--tclievelde-small);
  font-weight: 500;
  margin-bottom: var(--wp--preset--spacing--tclievelde-regular);
  text-align: center;
  color: var(--wp--preset--color--content);
}



/* SMALL images - Inside Query Loops */
.wp-block-query .wp-block-post-featured-image {
  height: 220px;
}

.wp-block-query .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BIG images - On single posts/pages */
body.single .wp-block-post-featured-image:not(.wp-block-query *),
body.page .wp-block-post-featured-image:not(.wp-block-query *) {
  height: 270px;
  max-width: 840px;
  margin-bottom: 40px;
  width: 100%;
}

body.single .wp-block-post-featured-image:not(.wp-block-query *) img,
body.page .wp-block-post-featured-image:not(.wp-block-query *) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: var(--wp--preset--spacing--tclievelde-small);
}

@media (max-width: 768px) {
  body.single .wp-block-post-featured-image:not(.wp-block-query *),
  body.page .wp-block-post-featured-image:not(.wp-block-query *) {
    height: 200px;
    max-width: 100%;
  }
}
/* ============================================
   Posts Overview / Query Loop Styles
   Cleaned, consolidated and ordered for readability
   ============================================ */
.wp-block-query {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--wp--preset--spacing--tclievelde-regular);
  max-width: var(--max-container-width);
  margin: 0 auto;
  /* padding: var(--wp--preset--spacing--tclievelde-regular) clamp(1.5rem, -1rem + 12.5vw, 14rem); */
}

/* Card / Post container */
.wp-block-query .wp-block-post {
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-query .wp-block-post:focus-within {
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 4px;
}

/* Featured image */
.wp-block-query .wp-block-post-featured-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  border-radius: 10px 10px 0 0;
  margin:0;
}
.wp-block-query .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 12px 12px 0 0;
}
.wp-block-query .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.08);
}

/* Content wrapper inside post */
.wp-block-query .wp-block-post > .wp-block-group {
  display: flex;
  flex-direction: column;
  padding: var(--wp--preset--spacing--tclievelde-small) 0;
  margin: 0 var(--wp--preset--spacing--tclievelde-small);
  gap: 8px;
}
.wp-block-query .post-content {
  padding: var(--wp--preset--spacing--tclievelde-small) var(--wp--preset--spacing--tclievelde-small);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Title */
.wp-block-query .format-standard .wp-block-post-title,
.wp-block-query .wp-block-post-title {
  text-align: left;
  font-size: var(--wp--preset--font-size--tclievelde-regular);
  margin: 0;
  width: 100%;
}
.wp-block-query .wp-block-post .wp-block-post-title a {
  text-decoration: none;
}
.wp-block-query .wp-block-post .wp-block-post-title a:hover {
  text-decoration: underline;
}

/* Date */
.wp-block-query .wp-block-post .wp-block-post-date {
  margin: 0;
  display: flex;
  width: 100%;
  gap: 8px;
  font-size: var(--wp--preset--font-size--tclievelde-tiny);
  color: var(--wp--preset--color--content);
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 5%;
}
.wp-block-query .wp-block-post .wp-block-post-date::before {
  /*content: '\1F4C5';*/
  font-size: 1rem;
}

/* Excerpt & Read more */
.wp-block-query .wp-block-post .wp-block-post-excerpt {
  flex-grow: 1;
  margin-top:0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--wp--preset--color--content);
}
.wp-block-query .wp-block-post .wp-block-post-excerpt p {
  margin:0;
  font-size: var(--wp--preset--font-size--tclievelde-extra-small);
}
.wp-block-query .wp-block-post .wp-block-post-excerpt .wp-block-post-excerpt__more-link,
.wp-block-query .wp-block-post .wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
  text-decoration: none;
}
.wp-block-query .wp-block-post .wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
  color: var(--wp--preset--color--primary);
}

/* Terms */
.wp-block-query .wp-block-post-terms {
  font-size: var(--wp--preset--font-size--tclievelde-extra-small);
  color: var(--wp--preset--color--tertiary);
}
.wp-block-query .wp-block-post-terms a {
  color: var(--wp--preset--color--tertiary);
  text-decoration: none;
}
.wp-block-query .wp-block-post-terms a:hover {
  text-decoration: underline;
}

/* Read more text helper */
.wp-block-query .wp-block-post-excerpt__more-link {
  margin-top: auto;
  color: var(--wp--preset--color--tertiary);
}
.wp-block-query .wp-block-post-excerpt__more-text {
  font-size: var(--wp--preset--font-size--tclievelde-extra-small);
  color: var(--wp--preset--color--tertiary);
}
.wp-block-query .wp-block-post-excerpt__more-text:hover {
  color: var(--wp--preset--color--primary);
}

.wp-block-post-template.is-layout-flow {
}
.wp-block-post-template.is-layout-flow .wp-block-post {
  margin-bottom: var(--wp--preset--spacing--tclievelde-small);
}



/* Specific styles for post types */


.wp-block-query .wp-block-post.type-post {
  background: #ffffff;
  border: 1px solid #CECECE;
  border-radius: 12px;
  box-shadow: 5px 5px 23px rgba(25,46,80,0.1); 
}

.wp-block-query .wp-block-post.type-post:hover {
  box-shadow: 8px 8px 30px rgba(25,46,80,0.15); 
  transform: translateY(-8px);
}

/* Agenda post type */
.wp-block-query .wp-block-post.type-agenda {
  border: 1px solid #CECECE;
  background: #ffffff;
   border-radius: 12px;
  box-shadow: 5px 5px 23px rgba(25,46,80,0.1); 
  display: flex;
  flex-direction: column;
  gap: 8px;
    padding-bottom: var(--wp--preset--spacing--tclievelde-small);
}

.wp-block-query .wp-block-post.type-agenda .wp-block-post-excerpt p {
}

.wp-block-query .wp-block-post.type-agenda .event-date {
  font-size: var(--wp--preset--font-size--tclievelde-extra-small);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0;
  background: linear-gradient(107.93deg, #3e71a4, #23486d 99.51%);
  padding: 12px var(--wp--preset--spacing--tclievelde-small);
  color: var(--wp--preset--color--white);
  text-align: left;
  border-radius: 12px 12px 0 0;
  min-height: 90px;
  display: flex;
  flex-direction: row;
  align-items: end;
  text-transform: uppercase;
}

.wp-block-query .wp-block-post.type-agenda .event-date::before {
  content: '\1F4C5';
  font-size: 1.2rem;
  margin-right: 6px;
}

.wp-block-query .wp-block-post.type-agenda .wp-block-post-title {
  margin: 0 var(--wp--preset--spacing--tclievelde-small);
  width: auto;
}
.wp-block-query .wp-block-post.type-agenda .wp-block-post-excerpt {
  margin:0  var(--wp--preset--spacing--tclievelde-small);
}


/* ============================================
   Hero Section Container for News Carousel
   Add this to any group block with class "hero-news"
   ============================================ */
/* Hero Section Container */
.hero-news {
  position: relative;
  overflow: hidden;
}

/* Header Area */
.hero-news .hero-news__section-1-1 {
  max-width: var(--max-container-width);
  padding-left: max(0px, calc((100vw - 1280px) / 2));
}


/* Carousel Wrapper */
.news-carousel {
  position: relative;
  max-width: 999rem;
  margin: 0 auto;
  padding: 0 0px;
}

/* Query Loop Container - Horizontal Scroll */
.news-carousel .wp-block-query {
  position: relative;
  overflow: hidden;
  padding: 0;
  max-width: var(--max-container-width);
  margin:0;
}

.news-carousel .wp-block-post-template {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  margin: 0;
  padding-top: var(--wp--preset--spacing--tclievelde-small);
  padding-bottom: var(--wp--preset--spacing--tclievelde-regular);
  padding-left: max(30px, calc((100vw - 1280px) / 2));
  padding-right: max(30px, calc((100vw - 1280px) / 2));
  scroll-padding-left: max(30px, calc((100vw - 1280px) / 2));
  scroll-padding-right: max(30px, calc((100vw - 1280px) / 2));
}

.news-carousel .wp-block-post-template::-webkit-scrollbar {
  display: none;
}

/* Individual Article Card */
.news-carousel .wp-block-post {
  flex: 0 0 380px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-items: center;
  gap: 4px;
  margin:0;
}

.news-carousel .wp-block-post:hover {
  transform: translateY(-8px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-carousel .wp-block-post {
    flex: 0 0 320px;
  }
}

@media (max-width: 768px) {
  .news-carousel .wp-block-post {
    flex: 0 0 280px;
  }
  .news-carousel .wp-block-post-template {
    padding-left: max(20px, calc((100vw - 1280px) / 2));
    padding-right: max(20px, calc((100vw - 1280px) / 2));
    scroll-padding-left: max(20px, calc((100vw - 1280px) / 2));
    scroll-padding-right: max(20px, calc((100vw - 1280px) / 2));
  }
}

@media (max-width: 480px) {
  .hero-news-carousel .wp-block-post,
  .news-carousel .wp-block-post {
    flex: 0 0 320px;
  }

  .hero-news-carousel .wp-block-post-featured-image,
  .news-carousel .wp-block-post-featured-image {
    height: 180px;
  }
}


/* Footer Sponsors Section 

  */
.footer-sponsors {
  width: 100%;
  background: #F5F5F5;
  overflow: hidden;
}

/* Sponsors Carousel Wrapper */
.sponsors-carousel {
  position: relative;
  width:100%;
  /* max-width: var(--max-container-width); */
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* Query Loop Container */
.sponsors-carousel .wp-block-query {
  position: relative;
  margin:0;
  padding:0px;
  width: 100%;
  overflow: visible;
}

.sponsors-carousel .wp-block-post-template {
  display: flex;
  gap: 90px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  margin: 0;
  padding-top: var(--wp--preset--spacing--tclievelde-regular);
  padding-bottom: var(--wp--preset--spacing--tclievelde-regular);
  padding-left: 30px;
  padding-right: 30px;
  scroll-padding-left: 30px;
  scroll-padding-right: 30px;
  width: 9999rem;
  min-width: 9999rem;
}

.sponsors-carousel .wp-block-post-template::-webkit-scrollbar {
  display: none;
}

.sponsors-carousel .wp-block-post-template:hover {
  animation-play-state: paused;
}

/* Individual Sponsor Logo */
.sponsors-carousel .wp-block-post {
  flex: 0 0 180px;
  overflow: hidden;
  margin: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsors-carousel .wp-block-post:hover {
  transform: translateY(-4px);
}

/* Logo Image */
.sponsors-carousel .wp-block-post-featured-image {
  background-color: transparent;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: end;
  justify-content: center;
  margin:0;
}

.sponsors-carousel .wp-block-post-featured-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sponsors-carousel .wp-block-post-featured-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  border-radius: 0px;
}

.sponsors-carousel .wp-block-post:hover .wp-block-post-featured-image img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1);
}

/* Hide post title and other elements */
.sponsors-carousel .wp-block-post-title,
.sponsors-carousel .wp-block-post-date,
.sponsors-carousel .wp-block-post-excerpt,
.sponsors-carousel .wp-block-post-terms {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-sponsors {
    padding: 30px 0;
  }

  .sponsors-carousel .wp-block-post {
    flex: 0 0 150px;
  }

  .sponsors-carousel .wp-block-post-template {
    animation-duration: 25s;
  }
}


@media (max-width: 480px) {
  .sponsors-carousel {
    padding: 0 40px;
  }

  .sponsors-carousel .wp-block-post {
    flex: 0 0 120px;
    padding: 15px;
  }

  .sponsors-carousel .wp-block-post-featured-image {
    height: 60px;
  }
  
  .sponsors-carousel .wp-block-post-template {
    animation-duration: 20s;
    gap: 30px;
  }

}


.wp-block-buttons .wp-block-button {
    margin-bottom: 0;
} 
.wp-block-buttons .wp-block-button__link {
    border-radius: 60px;
    padding: 8px 24px;
    font-size: var(--wp--preset--font-size--tclievelde-small);
    text-decoration: none;
    white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} 
.wp-block-buttons .wp-block-button__link:hover {
    text-decoration: none;
}
.wp-block-button.is-style-outline .wp-block-button__link {
    border: 2px solid var(--wp--preset--color--primary);
    background-color: transparent;
    color: var(--wp--preset--color--primary);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
}

