/* CUSTOM CORE CLASSES */

.is-style-custombuttonborder .wp-block-button__link {
    padding: 23px 30px;
    background-color: #FFFFFF00;
    color: #FFFFFF;
    font-family: 'Heebo';

    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--wp--preset--color--zeever-secondary);
    border-radius: 0px;
}

.is-style-custombuttonborder2 .wp-block-button__link {
    padding: 23px 30px;
    background-color: #FFFFFF00;
    color: #FFFFFF;
    border-radius: 0px;
    font-family: 'Heebo';
 
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.is-style-custombuttonborder2:hover .wp-block-button__link {
    border: 2px solid var(--wp--preset--color--zeever-button-border);
    border-radius: 0px;
}

.is-style-custombuttonborder3 .wp-block-button__link {
    padding: 23px 30px;
    background-color: var(--wp--preset--color--twm-forth)!important;
    color: var(--wp--preset--color--zeever-primary)!important;
    border-radius: 10px!important;
    font-family: 'Heebo';
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--wp--preset--color--twm-forward)!important;
    border-radius: 0px;
}

.is-style-custombuttonborder3:hover .wp-block-button__link {
    border: 2px solid var(--wp--preset--color--zeever-button-border);
    border-radius: 5px;
}

.is-style-customboxshadow,
.is-style-customboxshadowhover:hover {
    box-shadow: 0px 3px 15px 0px #1010101a;
}
.modal-menu .has-modal-open{
    padding:20px;
}

.twm-button-primary-container{/*container*/
    
}
.twm-button-primary-container button, .twm-button-primary-container a.wp-block-button__link, .twm-button-primary-container input[type="submit"]{
    background-color: var(--wp--preset--color--twm-forth)!important;
    border-radius: 10px!important;
    border: 2px solid var(--wp--preset--color--twm-forward)!important;
    color: solid var(--wp--preset--color--zeever-primary)!important;
}

.is-style-lineseparator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.is-style-lineseparator:before {
    content: "";
    width: 70px;
    margin-right: 20px;
    border-top-width: 3px;
    border-top-color: var(--wp--preset--color--zeever-secondary);
    border-top-style: solid;
    display: inline-block;
}
.featured-top img{
    object-position: 0 21%;
    
}
/* begin:Marquee*/
.marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Optional: add some padding or background */
  }
  
  .marquee__inner {
    display: flex;
    /* Ensure the inner container is wide enough to hold two copies */
    /* The duplication will double the content width automatically */
    animation: marquee 30s linear infinite;
    flex-wrap: nowrap;
  }
  
  .twm-block-animate {
    flex: 0 0 auto; /* Prevent items from shrinking */
    margin-right: 16px;
    min-width: 265px;
  }
  
  /* Keyframe animation to scroll the inner container leftward */
  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
/* Media query for smaller screens */
@media (max-width: 781px) {
    @keyframes marquee {
        0% {
          transform: translateY(0);
        }
        100% {
          transform: translateY(-50%);
        }
      }
      
    /* Force the inner container to stay horizontal */
    .marquee__inner {
        overflow: hidden;
      display: flex;
      flex-wrap: nowrap;
      /* Optionally disable animation if it's causing issues on mobile */
      animation: marquee 90s linear infinite;
      overflow-y: auto;  /* Allow scrolling if necessary */
    }
    
    /* Ensure each column (or card) doesn't shrink too much */
    .marquee__inner .wp-block-column,
    .marquee__inner .partner-card {
      flex: 0 0 auto;
      /* Set a minimum width, e.g. 80% of the viewport or a fixed value */
      min-width: 60vw;
      margin-right: 1rem;
    }
    .mission-vision{
        font-size:75%;
    }
   }
  /* end marquee*/
  
.twm-quotes{
    min-height:355px;
}
.twm-main-cards{
    min-height: 480px;
}
/* News Letter Feed*/
.custom-rss-cards {
    padding: 1rem;
  }
  
  .custom-rss-cards .wp-block-rss {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }
 
  /* Default: 2 cards per row */
  .custom-rss-cards .wp-block-rss__item {
    background: var(--wp--preset--color--twm-forth);
    border: 1px solid var(--wp--preset--color--twm-forward);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
  
  /* For tablets: 3 cards per row */
  @media (min-width: 768px) {
    .custom-rss-cards .wp-block-rss__item {
      flex: 1 1 calc(33.33% - 1rem);
      max-width: calc(33.33% - 1rem);
    }
  }
  
  /* For larger screens: 4 cards per row */
  @media (min-width: 1024px) {
    .custom-rss-cards .wp-block-rss__item {
      flex: 1 1 calc(25% - 1rem);
      max-width: calc(25% - 1rem);
    }
  }
    /* For phones: 1 cards per row */
    @media (max-width: 500px) {
        .custom-rss-cards .wp-block-rss__item {
          margin-top: 1rem;
          
          max-width:none
        }
        .custom-rss-cards .wp-block-rss{
           display:block;
        }
        img.wp-block-cover__image-background{
            opacity: 0.3;
        }
        span.cta-phone {
            display:block;
        }
        
      }
  
  .custom-rss-cards .wp-block-rss__item a {
    text-decoration: none;
    color: var(--wp--preset--color--zeever-primary);
    font-weight: bold;
    display: block;
  }
  .custom-rss-cards .wp-block-rss__item .rss-icon, .custom-logo-link{
    width: 80px;
    display: block;
  }
  /* Optional: style the title container */
  .custom-rss-cards .wp-block-rss__item-title {
    margin-bottom: 0.5rem;
  }
  
  
/* end newsletter feed*/

.partner-card {
    border: 1px solid rgba(0, 0, 0, 1);
    border-radius: 8px;
    padding: 16px;
    max-width: 300px;
    text-align: center;
    box-shadow: 3px 2px 10px rgba(0, 0, 0, 1);

  
  }
  
  /* Container for the logo with overlay   background-color: var(--wp--preset--color--zeever-secondary);*/
  .partner-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
  }
  
  /* Logo image */
  .partner-logo-wrapper img{
    
    max-width: 100%!important;
    height: 110px!important;
    display: block;
    
  }
  
  /* Overlay effect on the logo */
  .partner-logo-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 33, 66, 0.5); /* 50% opaque black overlay */
    pointer-events: none;
    border-radius: 8px; /* Match card rounding if desired */
  }

  .partner-name {
    font-size: 1.25em;
    margin: 0;
    color: var(--wp--preset--color--zeever-secondary);
  }
  
  .partner-tagline {
    font-size: 0.9em;
    color: var(--wp--preset--color--zeever-secondary);
    margin-top: 8px;
  }
  
.twm-block-image img {
    box-sizing: border-box;
    height: auto;
    vertical-align: bottom;
    width: 100px;
}
.is-style-logo-page{
    position: relative;
    top: 13px;
    width: 71px;
    object-fit: cover;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3); 
    border-radius: 42px;
    background: var(--wp--preset--color--twm-forth); 
}
.is-style-twm-box{
    border-radius: 15px!important;
    background: var(--wp--preset--color--zeever-third)!important;
    border: 2px solid var(--wp--preset--color--twm-forward);
}

.is-style-twm-box-highlight{
    border-radius: 15px!important;
    background: var(--wp--preset--color--twm-forth)!important;
    border: 2px solid var(--wp--preset--color--zeever-secondary);
}


.twm-button-cta-container{/*container*/
    
}
.twm-button-cta-container button, .twm-button-cta-container a.wp-block-button__link, .twm-button-cta-container div.wp-block-button__link{
    background-color: var(--wp--preset--color--twm-button-cta)!important;
    border-radius: 10px!important;
    border: 2px solid var(--wp--preset--color--twm-forward)!important;
}


.wp-block-social-link:hover{
    color:var(--wp--preset--color--twm-forth)!important;
    background-color: var(--wp--preset--color--twm-button-cta)!important;
}


.is-style-button button.has-twm-button-background-color{
    border: 2px solid var(--wp--preset--color--twm-forward)!important;

}
.is-style-button button.has-twm-button-background-color:hover{
    /*border: 2px solid var(--wp--preset--color--zeever-secondary)!important;*/

}
.is-style-customborderhover {
    border: 2px solid var(--wp--preset--color--twm-forward);
}

.is-style-customborderhover:hover {
    background: var(--wp--preset--color--twm-forth)!important;
    border: 2px solid var(--wp--preset--color--zeever-secondary);
    
}
.is-style-customborderhover2:hover {
    background: var(--wp--preset--color--zeever-third)!important;
    border: 2px solid  var(--wp--preset--color--twm-forward)!important;;
    
}

.is-style-customborderbottom {
    border-bottom: 5px solid #FFFFFF;
}

.is-style-customborderbottomhover {
    border-bottom: 5px solid #FFFFFF;
}

.is-style-customborderbottomhover:hover {
    border-bottom: 5px solid var(--wp--preset--color--zeever-secondary);
}

.is-style-iconsborderhover.wp-block-social-links {
    gap: 20px;
}

.is-style-iconsborderhover.wp-block-social-links .wp-block-social-link {
    font-size: 20px;
    background-color: #ffffff00;
    border: 2px solid var(--wp--preset--color--zeever-secondary);
    color: #ffffff;
}

.is-style-iconsborderhover.wp-block-social-links .wp-block-social-link {
    padding: 8px;
}

.is-style-iconsborderhover.wp-block-social-links .wp-block-social-link:hover {
    background-color: #ffffff;
    border: 2px solid var(--wp--preset--color--white);
    color: #082222;
}

@media only screen and (min-width: 600px) {
    .wp-block-navigation.is-style-customnav > .wp-block-navigation-item,
    .wp-block-navigation.is-style-customnav .wp-block-navigation__container > .wp-block-navigation-item {
        height: 60px;
    }
}

/* ZEEVER ADVANCE CLASSES */

.zeever-z-index-1 {
    z-index: 1;
}

.zeever-z-index-10 {
    z-index: 10;
}

.zeever-z-index-100 {
    z-index: 100;
}

.zeever-z-index-1000 {
    z-index: 1000;
}

.zeever-margin-top-n10 {
    position: relative;
    margin-top: -10px !important;
}

.zeever-margin-top-n20 {
    position: relative;
    margin-top: -20px !important;
}

.zeever-margin-top-n30 {
    position: relative;
    margin-top: -30px !important;
}

.zeever-margin-top-n40 {
    position: relative;
    margin-top: -40px !important;
}

.zeever-margin-top-n50 {
    position: relative;
    margin-top: -50px !important;
}

.zeever-margin-top-n60 {
    position: relative;
    margin-top: -60px !important;
}

.zeever-margin-top-n70 {
    position: relative;
    margin-top: -70px !important;
}

.zeever-margin-top-n80 {
    position: relative;
    margin-top: -80px !important;
}

.zeever-margin-top-n90 {
    position: relative;
    margin-top: -90px !important;
}

.zeever-margin-top-n100 {
    position: relative;
    margin-top: -100px !important;
}

.zeever-radius-5 {
    border-radius: 5px;
}

.zeever-radius-10 {
    border-radius: 10px;
}

.zeever-radius-25 {
    border-radius: 25px;
}

.zeever-radius-50 {
    border-radius: 50px;
}


.zeever-post-template-gap {
    margin-left: -17.5px!important;
    margin-right: -17.5px!important;    
}

.zeever-post-template-gap .wp-block-post-template {
    gap: 0!important;
}

.zeever-post-template-gap .wp-block-post-template > .wp-block-post {
    padding-left: 17.5px!important;
    padding-right: 17.5px!important;
    padding-bottom: 35px!important;
}


@media only screen and (min-width: 600px) {

    .zeever-post-template-gap .wp-block-post-template.column-2 > .wp-block-post,
    .zeever-post-template-gap .wp-block-post-template.columns-2 > .wp-block-post {
        width: calc(50% - 35px)!important;
    }

    .zeever-post-template-gap .wp-block-post-template.column-3 > .wp-block-post,
    .zeever-post-template-gap .wp-block-post-template.columns-3 > .wp-block-post {
        width: calc(33.33333% - 35px)!important;
    }

    .zeever-post-template-gap .wp-block-post-template.column-4 > .wp-block-post,
    .zeever-post-template-gap .wp-block-post-template.columns-4 > .wp-block-post {
        width: calc(25% - 35px)!important;
    }

    .zeever-post-template-gap .wp-block-post-template.column-5 > .wp-block-post,
    .zeever-post-template-gap .wp-block-post-template.columns-5 > .wp-block-post {
        width: calc(20% - 35px)!important;
    }

    .zeever-post-template-gap .wp-block-post-template.column-6 > .wp-block-post,
    .zeever-post-template-gap .wp-block-post-template.columns-6 > .wp-block-post {
        width: calc(16.66667% - 35px)!important;
    }

    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.column-2 > .wp-block-post,
    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.columns-2 > .wp-block-post {
        width: calc(50%)!important;
    }

    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.column-3 > .wp-block-post,
    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.columns-3 > .wp-block-post {
        width: calc(33.33333%)!important;
    }

    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.column-4 > .wp-block-post,
    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.columns-4 > .wp-block-post {
        width: calc(25%)!important;
    }

    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.column-5 > .wp-block-post,
    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.columns-5 > .wp-block-post {
        width: calc(20%)!important;
    }

    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.column-6 > .wp-block-post,
    body:not(.editor-styles-wrapper) .zeever-post-template-gap .wp-block-post-template.columns-6 > .wp-block-post {
        width: calc(16.66667%)!important;
    }

}