.wp-block-list{
  padding-left: 1.125em;
}

a:where(:not(.wp-element-button)){
  text-underline-offset: .15em;
}

.wp-caption-text{
  color: var(--wp--preset--color--custom-primary-50);
  font-size: var(--wp--preset--font-size--caption);
}

.section-text :is(h4, h5, h6) {
  margin-block-start: var(--wp--preset--spacing--xl);
}

.wp-block-column > .section-text :is(h4, h5, h6):first-child {
  margin-top: 0;
}

.section-text :is(h4, h5, h6) + p {
  margin-top: .5em;
}

.section-text :is(p) + ul{
  margin-top: .5em;
}

.section-text .wp-block-heading + ul{
  margin-top: .5em;
}

.entry-content .wp-block-list li{
  margin-bottom: .5em;
}

.entry-content .wp-block-list li::marker{
  font-size: 0.7em; 
}

.site-header{
  position: fixed;
  width: 100%;
  top: 0;
  margin: 0;
  background-color: transparent;
  transition: background-color .8s ease;
  z-index: 100;
}

.site-header .wp-block-site-logo{
  width: 17vw !important;
}

.site-header .wp-block-site-logo img,
.site-header .wp-block-site-logo a,
.site-header .wp-block-site-logo .custom-logo-link{
  width: 100%;
  display: block;
}

.site-header .wp-block-buttons .wp-block-button__link{
  color: var(--wp--preset--color--white);
  border-color: rgba(255, 255, 255, .5);
}

.site-header.scrolled{
  background-color: var(--wp--preset--color--custom-primary);
}

footer{
  margin: 0;
}

@media (max-width: 853px) {
	.footer__top{
		display: block !important;
	}
}

@media (max-width: 1080px) {
.footer__top .wp-block-columns{
	padding-top: .75em !important;
}
}

.footer__top .logo__footer img{
  width: 18vw !important;
}

.footer__top .wp-block-navigation-link a{
	opacity: .8;
}

.footer__bottom .wp-block-navigation-link a{
	opacity: .4;
}

.site-header .wp-block-navigation-link .wp-block-navigation-item__content{
  color: var(--wp--preset--color--white);
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-icon,
.site-header .wp-block-navigation-item.has-child .wp-block-navigation-item__content{
  color: var(--wp--preset--color--white) !important;
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-icon{
	height: auto;
}

.site-header .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
	padding: .75em 1em;
}

.site-header .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{
	background-color: var(--wp--preset--color--custom-secondary);
}

.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container{
  min-width: 15em;
  left: 0;
  right: auto;
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item{
  font-size: var(--wp--preset--font-size--body-small);
  line-height: 1.2;
  border-bottom: 1px solid rgba(255,255,255, .3);
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item:last-of-type{
  border-bottom: none;
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item a{
  padding: .85em 1em;
}

.wp-block-button.is-style-outline .wp-block-button__link{
  padding: .7em 1.3em .55em 1.3em;
}

.wp-block-cover.section-hero,
.wp-block-cover.hero__front{
  height: 80vh;
}

.section-hero .wp-block-cover__inner-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.section-hero .wp-block-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1;
}

.section-hero .hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  width: 100%;
  max-width: 60vw;
}

.section-hero .wp-block-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 55vh;
}


/* Events */
.ebec-events-title,
.ebec-event-details,
.ebec-event-datetime,
.ebec-date-area,
.ebec-minimal-list-desc,
.ebec-event-content,
.ebec-events-read-more{
  font-family: var(--wp--preset--font-family--martel-sans) !important;
  font-size: var(--wp--preset--font-size--body) !important;
}

.ebec-event-date-tag,
.ebec-right-wrapper {
  display: none !important;
}

#ebec-events-list-content .ebec-list-posts .ebec-event-content > div,
#ebec-events-list-content .ebec-list-posts .ebec-event-content p,
#ebec-events-list-content .ebec-list-posts .ebec-event-content{
  font-size: var(--wp--preset--font-size--body-small);
  line-height: 1.5;
  font-weight: 400;
}

#ebec-events-list-content .ebec-list-posts .ebec-events-read-more{
  font-size: var(--wp--preset--font-size--body-small) !important;
  font-weight: 700;
}

.home #ebec-events-list-content .ebec-default-list-wrapper{
  display: grid;
  width: 100%;
  grid-template-columns: minmax( 1px, 1fr)  minmax( 1px, 1fr)  minmax( 1px, 1fr);
  align-items: stretch;
  justify-items: stretch;
  align-content: stretch;
  justify-content: stretch;
  column-gap: var(--wp--preset--spacing--m);
}

.home #ebec-events-list-content .ebec-list-posts{
  background-color: var(--wp--preset--color--white);
  margin: 0;
  text-align: center;
}

.home #ebec-events-list-content .ebec-list-posts .ebec-event-details{
  display: flex;
  flex-flow: column;
  border-left: none !important;
  padding: 3em 2.1em;
  row-gap: var(--wp--preset--spacing--xs);
}

.home #ebec-events-list-content .ebec-list-posts .ebec-events-title,
.home #ebec-events-list-content .ebec-list-posts .ebec-date-area{
  font-size: var(--wp--preset--font-size--h-5) !important;
  font-weight: 400;
  line-height: 1.3;
}

.home #ebec-events-list-content .ebec-list-posts .ebec-events-title{
  font-size: var(--wp--preset--font-size--h-6) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.page-template-archive-events .ebec-default-list-wrapper{
  border-top: 2px solid rgba(26, 51, 101, .3);
}

.page-template-archive-events .ebec-list-posts{
  border-bottom: 2px solid rgba(26, 51, 101, .3);
  padding: 1.5em 0;
}

.page-template-archive-events .ebec-event-details{
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--m);
}

.page-template-archive-events .ebec-events-title{
  text-decoration: none !important;
}

.page-template-archive-events .ebec-date-area,
.page-template-archive-events .ebec-events-title{
  font-family: var(--wp--preset--font-family--tenor-sans) !important;
  font-size: var(--wp--preset--font-size--h-5) !important;
}

.page-template-archive-events .ebec-event-content{
  color:  rgba(26, 51, 101, .6);
}

.page-template-archive-events .ebec-style-1-more,
.page-template-archive-events .ebec-event-datetime{
  width: 15%;
}

.page-template-archive-events .ebec-style-1-more{
  text-align: right;
}

.page-template-archive-events .ebec-events-read-more{
  color: var(--wp--preset--color--custom-secondary) !important;
}

.page-template-archive-events .custom-event-wrapper{
  flex: 1;
}

.page-template-archive-events .ebec-event-content p{
  margin: 0;
}

/*
 * Mobile Menu */

.wp-block-navigation__responsive-container-close, 
.wp-block-navigation__responsive-container-open{
	color: #fff;	
}
@media (max-width: 1079px) {
	.site-header .wp-block-site-logo{
		width: 170px !important;
	}
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) ,
	.wp-block-navigation__responsive-container{
		display: none;
	}
	
	.site-header .main-navigation,
	.site-header .wp-block-buttons.booking{
		display: none;
	}
	
	.wp-block-navigation__responsive-container-open,
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
}

@media (min-width: 1080px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none;
    }
	
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block;
    }
	
	.site-header .mobile-navigation{
		display: none !important;
	}
}


/* Newsletter */

.mc4wp-form{
  margin-top: 0;
  margin-block-start: 0;

}
.mc4wp-form .name {
  display: flex;
  gap: .5rem;
  margin-bottom: .5rem;
}

.mc4wp-form .name > div {
  flex: 1;
  position: relative;
}

/* Hide labels completely */
.mc4wp-form label {
  display: none;
}

/* Form input styling */
.mc4wp-form input[type="text"],
.mc4wp-form input[type="email"] {
  font-family: var(--wp--preset--font-family--martel-sans);
  line-height: 1;
  width: calc(100% - 1.5rem);
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  font-size: var(--wp--preset--font-size--caption);
  transition: border-color 0.3s ease;
  background-color: rgba(255,255,255, .9);
  color: var(--wp--preset--color--custom-primary) !important;
}

.mc4wp-form input[type="text"]:focus,
.mc4wp-form input[type="email"]:focus {
  outline: none;
  border-color: var(--wp--preset--color--custom-primary-50);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Submit button styling */
.mc4wp-form input[type="submit"] {
	margin-top: .5rem;
  font-family: var(--wp--preset--font-family--martel-sans);
  width: 100%;
  padding: 0.75rem;
  background-color: var(--wp--preset--color--custom-primary);
  color: white;
  border: none;
  font-size: var(--wp--preset--font-size--caption);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mc4wp-form input[type="submit"]:hover {
  background-color: var(--wp--preset--color--custom-primary-70);
}

@media (max-width: 480px) {
  .mc4wp-form .name {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.mc4wp-form ::placeholder {
   color: var(--wp--preset--color--custom-primary-50);
}

/* Events Manager */

.em.em-list,
.em-events-list{
	gap: 0 !important;
	line-height: 1.5 !important;
}

.em-events-list h2, 
.em-events-list .event .event-date {
    color: var(--wp--preset--color--custom-primary);
}

.em-events-list h2,
.em-events-list.em.pixelbones h2{
	font-family: var(--wp--preset--font-family--martel-sans) !important;
	font-size: var(--wp--preset--font-size--h-5) !important;
	letter-spacing: 0 !important;
	padding-left: 5px;
	padding-bottom: .25em;
	border-bottom: 1px solid var(--wp--preset--color--custom-primary-50);
	margin-bottom: .25em !important;
	margin-top: var(--wp--preset--spacing--xl) !important;
}

.em-events-list .event {
   display: flex;
   flex-flow: row;
	gap: 1em !important;
   border-bottom: 1px solid var(--wp--preset--color--custom-primary-20);
   padding: 1em 5px;
}

.em-events-list .event .event-date {
	font-family: var(--wp--preset--font-family--martel-sans) !important;
    width: 15%;
    font-size: var(--wp--preset--font-size--caption) !important;
}

.em-events-list .event .event-date span {
   font-size: var(--wp--preset--font-size--h-5) !important;
}

.em-events-list .event .event-title {
	width: 78.5%;
	padding-top: 2px;
    transition: 0.3s all ease-in-out;
}

.em-events-list .event .event-title h4,
.em.pixelbones h4{
	font-family: var(--wp--preset--font-family--martel-sans) !important;
    font-size: var(--wp--preset--font-size--h-6) !important;
    margin-bottom: 0.125em !important;
	letter-spacing: 0 !important;
}

.em-events-list .event .event-title .more:hover, 
.em-events-list .event .event-title h4:hover,
.em.pixelbones h4:hover{
	color: var(--wp--preset--color--custom-secondary) !important;	
}

.em-events-list .event .event-title .excerpt:hover{
  color: var(--wp--preset--color--custom-primary-50) !important;	
}

.em-events-list a:where(:not(.wp-element-button)){
	text-decoration: none !important;
}


.em-events-list .event .event-title .more{
	color: var(--wp--preset--color--custom-primary) !important;
}

.em-events-list .event .event-title .more, 
.em-events-list .event .event-title .excerpt {
	font-family: var(--wp--preset--font-family--martel-sans) !important;
    font-size: var(--wp--preset--font-size--caption) !important;
	color: var(--wp--preset--color--custom-primary-50);
    margin-bottom: 0.125em !important;
    letter-spacing: 0.01em;
}

/* Events Manager Single */

.single-event .site-header{
  background-color: var(--wp--preset--color--custom-primary) !important;
}

.single-event .entry-wrapper{
  font-family: var(--wp--preset--font-family--martel-sans);
	color: var(--wp--preset--color--custom-primary);
  max-width: 90%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-event .entry-content{
  max-width: 45em;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-event .em-item-header .em-item-title{
  font-family: var(--wp--preset--font-family--tenor-sans) !important;
  font-size: var(--wp--preset--font-size--h-2) !important;
	color: var(--wp--preset--color--custom-primary);
  line-height: 1 !important;
  text-align: center;
  margin-bottom: var(--wp--preset--spacing--l);
}

.single-event .em-item-header .em-item-meta{
  font-family: var(--wp--preset--font-family--martel-sans);
	color: var(--wp--preset--color--custom-primary);
}

.single-event .em-item-header .em-item-meta .em-icon{
  	color: var(--wp--preset--color--custom-primary) !important;
}


.single-event .em.em-item.em-item-single .em-item-meta h3{
  font-size: var(--wp--preset--font-size--body) !important;
  font-family: var(--wp--preset--font-family--martel-sans) !important;
  letter-spacing: .01em !important;
}

.em.em-item.em-item-single .em-item-meta .button, 
.em.em-item.em-item-single .em-item-meta button,
.single-event .em-item-single .em-item-meta button{
  margin-top: var(--wp--preset--spacing--s) !important;
  font-size: var(--wp--preset--font-size--caption) !important;
  font-family: var(--wp--preset--font-family--martel-sans) !important;
  color: var(--wp--preset--color--custom-primary) !important;
  border-radius: 0 !important;
  border-color: var(--wp--preset--color--custom-primary) !important;
  letter-spacing: .01em !important;
}

.single-event .em-item-header .em-item-image{
  max-width: 30em;
  margin: 0 auto;
}

.single-event .em-item-header .em-item-image img{
  border-bottom: 0 !important;
}

.single-event .em-item-header,
.single-event .em-event-content{
  font-family: var(--wp--preset--font-family--martel-sans);
	color: var(--wp--preset--color--custom-primary);
  font-size: var(--wp--preset--font-size--body) !important;

}

.single-event .em-event-content p{
  line-height: 1.5 !important;
}

.single-event .em-event-content a{
  color: var(--wp--preset--color--custom-primary) !important;
  text-underline-offset: 0.15em;
}

.single-event .em.pixelbones .em-event-content h1,
.single-event .em.pixelbones .em-event-content h2{
  font-size: var(--wp--preset--font-size--h-4) !important;
}

.single-event .em.pixelbones .em-event-content h3{
  font-size: var(--wp--preset--font-size--h-5) !important;
}

.home .event-feature{
  display: flex;
  flex-direction: column;
  background-color: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--xl);
  text-align: center;
}

@media (min-width: 721px) {
  .home .events-cards{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .home .event-feature{
     width: 20%;
  }
}

@media (min-width: 920px) {
  .home .event-feature{
      width: 23%;
  }
}

.home .event-feature span{
  margin: .25rem 0;
}

.home .event-feature span:first-child{
  font-size: var(--wp--preset--font-size--h-5) !important;
  color: var(--wp--preset--color--custom-secondary);
  line-height: 1.3;
}

.home .event-feature span:nth-child(2){
  font-size: var(--wp--preset--font-size--h-6) !important;
  color: var(--wp--preset--color--custom-primary);
  line-height: 1.3;
}

.home .event-feature span:nth-child(2) a{
  color: var(--wp--preset--color--custom-primary) !important;
}

.home .event-feature span:nth-child(3){
  font-size: var(--wp--preset--font-size--body-small) !important;
  color: var(--wp--preset--color--custom-primary-50);
}

.home .events-cards .event-feature a{
  margin-top: 1em;
  color: var(--wp--preset--color--custom-secondary);
  font-weight: 600;
  text-decoration: none;
}