:root {
	--beige:#F7EEDA;
	--gold:#BF864C;
	--dark-green:#26362C;
	--light-green: #799E89;

	--defaultfont:"Averia Serif Libre", serif;
	
	/* Accent / Buttons / Featured badge */
  --tec-color-accent-primary: var(--gold);
  --tec-color-accent-primary-hover: var(--dark-green);

  /* Links */
  --tec-color-link-primary: var(--dark-green);
  --tec-color-link-hover: var(--gold);

  /* Text */
  --tec-color-text-primary: var(--dark-green);
  --tec-color-text-secondary: var(--dark-green);

  /* Borders */
  --tec-color-border-default: var(--dark-green);

  /* Backgrounds */
  --tec-color-background: var(--beige);
  --tec-color-background-secondary: var(--beige);
}

/* GLOBAL */
body{font-family:var(--defaultfont); color:var(--dark-green); background:var(--beige);}
h1{font-size:50px; line-height:56px; font-family:var(--defaultfont);}
h2{font-size:50px; line-height:56px; font-family:var(--defaultfont);}
h3{font-size:40px; line-height:46px; font-family:var(--defaultfont);}
h4{font-size:30px; line-height:36px; font-family:var(--defaultfont);}

p{font-size:20px; line-height:28px;}

a{color:var(--dark-green); transition: all 0.5s ease;}
a:hover{color:var(--light-green);}

.green-bg{background:var(--dark-green); color:var(--beige);} 

.green-btn {background:var(--dark-green); color:var(--beige); font-weight:bold; text-transform:uppercase; padding:10px 25px; transition: all 0.5s ease;}
.green-btn:hover{background:var(--light-green); color:var(--beige);}

.green-btn a{color:var(--beige);} 

.sec-btn, 
.border-btn{border:2px solid var(--dark-green); color:var(--dark-green); font-weight:bold; text-transform:uppercase;  padding:10px 25px; transition: all 0.5s ease;}
.sec-btn:hover,
.border-btn:hover{border:2px solid var(--dark-green); background:var(--dark-green); color:var(--beige); transition: all 0.5s ease;}

.inner-content{padding:50px 0;}
	
/* Extra small phones */
@media screen and (max-width: 639px) {
	h1, h2{font-size:30px; line-height:34px; }
}

@media screen and (min-width: 640px) and (max-width: 1200px) {
  h1, h2{font-size:35px; line-height:44px; }
}


/* end GLOBAL */

/* ALERT & HEADER */
#alert{background:var(--gold); color:var(--beige); font-weight:bold;}
#alert a{color:var(--beige);}
#alert .alert-link{text-transform:uppercase; margin-left:15px; text-decoration:underline;}

#top-bar-menu{background:var(--beige);}
#main-nav{align-items:center;}
#main-nav li a{color:var(--dark-green); text-transform:uppercase; font-weight:bold;}
#main-nav li.green-btn{background:transparent;}
#main-nav li.green-btn a{background:var(--dark-green); color:var(--beige); transition: all 0.5s ease;}
#main-nav li.green-btn a:hover{background:var(--light-green); color:var(--beige);}

#main-nav.menu .active>a {background:none; border-bottom:2px solid var(--light-green);}

#main-nav,
#auto-nav-sidebar .sidebar-menu{color:var(--dark-green); text-transform:uppercase; font-weight:bold; background:var(--beige);}

.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after { border-color:var(--dark-green) transparent transparent;}

#auto-nav-sidebar .sidebar-menu{list-style:none; padding:0; margin:0 0 25px 0;}
#auto-nav-sidebar .sidebar-menu li{line-height:49px;}

#main-nav .border-btn{border:1px solid var(--dark-green); }

#main-nav .submenu{ position:absolute; background:var(--beige); border:none; left:0; right:auto; z-index:10001; }



#main-nav .submenu.is-dropdown-submenu a{text-align:left;}
/* Top-level current/ancestor (About, Events, etc.) = underline */
#main-nav > li.wp-current > a {
  background: none !important;
  border-bottom: 2px solid var(--dark-green) !important;
  color: var(--dark-green) !important;
}

/* Submenu current/ancestor (Bridge Run, etc.) = background */
#main-nav ul.submenu > li.wp-current > a {
  background: var(--dark-green) !important;
  border-bottom: none !important;
  color: var(--beige) !important;
}

/* Active sidebar item (Distances) */
.sidebar-menu li.is-current > a {
  font-weight: 700;
  color: var(--dark-green);
  text-decoration: underline;
}


#mobile-order-btn a{text-align:center; display:block;color:var(--beige);padding:10px 0;text-transform:uppercase; font-weight:bold;}

@media (max-width: 480px) {
    #top-bar-menu .top-bar-left {
        max-width: 75% !important;
        
    }
	#top-bar-menu .top-bar-right.show-for-small-only{
		max-width: 25%;
		padding-left:10px;
	}
	#top-bar-menu .top-bar-right.show-for-small-only a{font-size:25px; color:var(--blue);}
	
	.header.is-stuck #alert,
	.header.is-stuck #mobile-alert{
		display:none;
	}
	#off-canvas{
		background:var(--beige);
		color: var(--dark-green) !important;
	}
	#off-canvas li a{color: var(--dark-green);}
	#off-canvas li.green-btn{margin:15px 0 0 0;}
	#off-canvas li.green-btn a{color:var(--beige); text-align:center;} 
	#off-canvas .menu .active>a {background:var(--gold); color:var(--beige);}

}

/* end ALERT & HEADER */

/* FOOTER */
.site-footer{position: relative;width: 100%;background-size: cover;background-position: center;background-repeat: no-repeat;margin:0;}

.site-footer .footer-inner{position: relative;z-index: 1;}
.site-footer .footer-inner .footer-col{background-color: var(--dark-green); padding:30px 25px 0;}

.site-footer .footer-content h2{font-size:35px; line-height:39px;margin:35px 0 15px;}
.site-footer .footer-content{margin-bottom: 24px; color:var(--beige); font-size:25px;}

.site-footer .social-media-title{margin: 35px 0 15px; color:var(--beige); font-size:35px; line-height:39px;}

.site-footer .social-media-list{list-style: none;margin: 0;padding: 0;display: flex;gap: 12px;flex-wrap: wrap;align-items: center; justify-content:center;}

.site-footer .social-media-list a{font-size: 24px;color: var(--beige);     display: inline-flex;align-items: center;justify-content: center;text-decoration: none;}

.site-footer .social-media-list a:hover{opacity: 0.7;}

.site-footer .social-media-list img{width: 32px;height: auto;display: block;}

/* Copyright spacing */
.site-footer .copyright{margin-top: 80px; color:var(--beige);}

@media (max-width: 480px) {
	.site-footer .footer-content h2{font-size:30px; line-height:34px;margin-top:30px;}
	.site-footer .footer-content{font-size:20px;}
}
/* end FOOTER */

/* HOME SWIPER */
/* Arrow color */
.gallery-swiper-section .swiper-button-prev,
.gallery-swiper-section .swiper-button-next{
  color: var(--dark-green); /* change this */
}

/* If arrows don’t respond, target the icon itself */
.gallery-swiper-section .swiper-button-prev::after,
.gallery-swiper-section .swiper-button-next::after{
  color: var(--dark-green); /* change this */
}

/* Optional hover state */
.gallery-swiper-section .swiper-button-prev:hover,
.gallery-swiper-section .swiper-button-next:hover{
  color: var(--dark-green); /* hover color */
}

/* Base bullets */

.gallery-swiper-section .swiper-pagination-bullet{
  background-color: var(--dark-green); /* bullet color */
  opacity: 0.3;
	margin:0 5px;
}

/* Active bullet */
.gallery-swiper-section .swiper-pagination-bullet-active{
  opacity: 1;
}

/* Optional hover */
.gallery-swiper-section .swiper-pagination-bullet:hover{
  opacity: 0.6;
}
/* end HOME SWIPER */

/* TWO COL SECTION */
.two-col-section{padding: clamp(24px, 4vw, 64px) 0;}

/* Icon + H2 centered as a unit */
.section-title-row{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom: 16px;}

.two-col-section .section-title{margin:0;text-align:center;}

.section-icon{width: 250px;flex: 0 0 250px; /* prevents flex from shrinking it */display: flex;justify-content: center;}

.section-icon img{max-width: 100%;height: auto;display: block;}


.two-col-section .section-text{text-align:center; margin-bottom: 16px; /*font-size:20px; line-height:28px;*/}

.section-link{margin-top:45px;text-align:center;}

.two-col-image .section-image{width:100%;height:auto;display:block;}


@media screen and (max-width: 639px) {
 .section-icon{ width:130px; flex: 0 0 130px; /* prevents flex from shrinking it */}
}

@media screen and (min-width: 640px) and (max-width: 1200px) {
  .section-icon{ width:130px; flex: 0 0 130px; /* prevents flex from shrinking it */}
}

/* end TWO COL SECTION */

/*  GREEN BAR */
.secondary-section.green-bg{padding: 24px 0;}

.secondary-section .bar-row{display: flex;align-items: center;justify-content: center; /* centers the whole row */gap: 32px; /* space between title and buttons */flex-wrap: wrap; /* allows wrap on smaller screens */text-align: center;}

.secondary-section .bar-title{margin: 0;white-space: nowrap;}

/* Buttons row */
.secondary-section .menu-items{display: flex;align-items: center;justify-content: center;gap: 14px;flex-wrap: wrap;margin: 0;padding: 0;list-style: none;}

.secondary-section .menu-item{text-align: center;}
.secondary-section .menu-btn{display: inline-block;padding: 10px 14px; border: 1px solid var(--beige);  color:var(--beige);  text-decoration: none;white-space: nowrap; text-transform:uppercase;font-size:18px;}
.secondary-section .menu-btn:hover{background:var(--beige); color:var(--dark-green);}
.secondary-section .menu-btn.is-disabled{opacity: 0.6;cursor: default;pointer-events: none;}
.secondary-section .coming-soon{font-size: 12px;line-height: 1;margin:-18px 0 6px 0;opacity: 0.85;text-transform: uppercase;letter-spacing: 0.04em;}

@media (max-width: 640px){
.secondary-section .bar-title{white-space: normal;}
}
/*  end GREEN BAR */

/*  CONTACT PAGE */

.contact-3col-section{padding:clamp(24px, 4vw, 64px) 0;}
.contact-information{margin:25px 0;}
.contact-information p{font-size:19px;line-height:27px;}

@media (max-width: 640px){
	.contact-information{margin:25px 0 50px;}
	.contact-form{margin:25px 0 80px;}

}

/*  end CONTACT PAGE */

/* FORM STYLES */
/* Base */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
textarea {
  background: transparent;
  border: 1px solid var(--dark-green);
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
  color: var(--light-green);
  opacity: 1;
}

/* Text after typing */
input:not(:placeholder-shown),
textarea:not(:placeholder-shown) {
  color: var(--dark-green);
}

/* Focus ALWAYS wins */
input:focus,
textarea:focus,
input:focus:not(:placeholder-shown),
textarea:focus:not(:placeholder-shown) {
  color: var(--dark-green);
  background: transparent;
  border-color: var(--light-green);
  outline: none;
}
/* Submit button */
input[type="submit"],
button[type="submit"] {
  background: var(--dark-green) !important;
  color: var(--beige) !important;
  border: 1px solid var(--dark-green);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Hover / focus */
input[type="submit"]:hover,
input[type="submit"]:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
  background: var(--light-green) !important;
  color: var(--dark-green) !important;
  border-color: var(--light-green) !important;;
  outline: none;
}

/* end FORM STYLES */

/* EVENTS CALENDAR */
/* Remove month calendar header background */
.tribe-events-calendar-month .tribe-events-calendar-month__header{
  background: transparent !important;
}
.tribe-events-calendar-month tbody tr:nth-child(even){
	background: transparent !important;
}
.tribe-events-c-subscribe-dropdown__container{display:none!important;}
#tribe-events-pg-template{max-width:100%;}

/* end EVENTS CALENDAR */