:root { 
  --weel-width: 3px;
}

a {
	color: #B61212;
}

a:hover {
	color: #145E0E;
}

#aps-header-video {
	background-color: var( --e-global-color-primary );
}
/* Scroll cue */
.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 28px; translate:-50% 0;
	text-decoration: none;
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .4rem;
	opacity: .6;
	transition: all .2s ease;
}
.scroll-cue:hover {
	opacity: 1;
	color: white;
}

.scroll-cue__arrow{
	width: 22px;
	height: 34px;
	position: relative;
	display: block;
	border: 2px solid currentColor;
	border-radius: 14px;
	overflow: hidden;
	transition: all .2s ease;
}
.scroll-cue__arrow:hover {
	top: -10px;
}
.scroll-cue__arrow::before, .scroll-cue__arrow::after{
  content:"";
  position:absolute;
  left: calc(50% + calc(var(--weel-width) / 2));
  translate:-50% 0;
}
.scroll-cue__arrow::before{
  width: var(--weel-width);
  height:7px;
  top:6px;
  border-radius:3px;
  background:currentColor;
  animation:wheel 1.4s ease-in-out infinite;
}

@keyframes wheel{
  0%   { transform:translate(-50%,0);   opacity:1; }
  70%  { transform:translate(-50%,12px); opacity:0; }
  71%  { transform:translate(-50%,-2px); opacity:0; }
  100% { transform:translate(-50%,0);   opacity:1; }
}

#aps-top-menu, 
#aps-homepage-top-menu, 
#aps-news-top-menu {
	color: white !important;
	z-index: 10;
    transition: all 0.3s ease;
}

#aps-top-menu.scrolled, 
#aps-homepage-top-menu.scrolled, 
#aps-news-top-menu.scrolled {
    height: 80px; /* Smaller height on scroll */
    background-color: white !important; /* Background changes to purple */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Light shadow */
}

#aps-top-menu:not(.scrolled) *, 
#aps-homepage-top-menu:not(.scrolled) *, 
#aps-news-top-menu:not(.scrolled) * {
  color: white !important;
  fill: white !important;
}

#aps-top-menu.scrolled h1, 
#aps-homepage-top-menu.scrolled h1, 
#aps-news-top-menu.scrolled h1 {
    font-size: 18px;
}

#aps-top-menu .aps-top-menu-logo img, 
#aps-homepage-top-menu .aps-top-menu-logo img, 
#aps-news-top-menu .aps-top-menu-logo img {
	height: 70px;
}

#aps-top-menu.scrolled .aps-top-menu-logo img, 
#aps-homepage-top-menu.scrolled .aps-top-menu-logo img, 
#aps-news-top-menu.scrolled .aps-top-menu-logo img {
	height: 50px;
    transition: all 0.3s ease;
}

#aps-top-menu ul li,
#aps-homepage-top-menu ul li {
	padding-left: 15px;
	padding-right: 15px;
}

#aps-top-menu a.hfe-menu-item,
#aps-homepage-top-menu a.hfe-menu-item {
	position: relative;
	display: inline-block;
	text-decoration: none;
	padding-left: 0;
	padding-right: 0;
}

#aps-top-menu li a.hfe-menu-item::after,
#aps-homepage-top-menu li a.hfe-menu-item::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease-in-out;
}

#aps-top-menu li a.hfe-menu-item:hover::after,
#aps-homepage-top-menu li a.hfe-menu-item:hover::after  {
  transform: scaleX(1);
}

#aps-top-menu nav ul li.current_page_item > a.hfe-menu-item::after,
#aps-top-menu nav ul li.current-menu-item > a.hfe-menu-item::after,
#aps-top-menu nav ul li.current_page_ancestor > a.hfe-menu-item::after,
#aps-top-menu nav ul li.current-menu-ancestor > a.hfe-menu-item::after,
#aps-homepage-top-menu nav ul li.current_page_item > a.hfe-menu-item::after,
#aps-homepage-top-menu nav ul li.current-menu-item > a.hfe-menu-item::after,
#aps-homepage-top-menu nav ul li.current_page_ancestor > a.hfe-menu-item::after,
#aps-homepage-top-menu nav ul li.current-menu-ancestor > a.hfe-menu-item::after {
  content: "" !important;        /* some HFE skins set content:none unless :hover */
  transform: scaleX(1) !important;
  bottom: 0;                      /* avoid clipping if a parent has overflow hidden */
  left: 0;
  width: 100%;
  opacity: 1;
  pointer-events: none;           /* just in case other rules toggle it */
}

#aps-top-menu li a .hfe-menu-toggle, 
#aps-homepage-top-menu li a .hfe-menu-toggle {
	display: none !important;
}

#aps-top-menu li ul.sub-menu, 
#aps-homepage-top-menu li ul.sub-menu {
	margin-left: 15px;
	background: rgba(255, 255, 255, .5);
}

#aps-top-menu li ul.sub-menu li a.hfe-sub-menu-item, 
#aps-homepage-top-menu li ul.sub-menu li a.hfe-sub-menu-item {
	padding-left: 15px;
	color: #333333 !important;
	transition: all linear 250ms;
}

#aps-top-menu li ul.sub-menu li a:hover, 
#aps-homepage-top-menu li ul.sub-menu li a:hover {
	color: var( --e-global-color-primary ) !important;
}


#aps-top-menu  li a.hfe-sub-menu-item-active, 
#aps-homepage-top-menu  li a.hfe-sub-menu-item-active {
	font-weight: bold;
	color: var( --e-global-color-primary ) !important;
}

/* Add a triangle before submenu */
#aps-top-menu .hfe-nav-menu .sub-menu::before, 
#aps-homepage-top-menu .hfe-nav-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid #fff;
}

#aps-top-menu .hfe-nav-menu .sub-menu, 
#aps-homepage-top-menu .hfe-nav-menu .sub-menu {
  position: absolute;
  background: #fff;
  z-index: 99;
}

#aps-top-menu.scrolled .hfe-nav-menu .sub-menu, 
#aps-homepage-top-menu.scrolled .hfe-nav-menu .sub-menu {
  background: #EFEFEF;
}

#aps-top-menu.scrolled .hfe-nav-menu .sub-menu::before, 
#aps-homepage-top-menu.scrolled .hfe-nav-menu .sub-menu::before {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid #EFEFEF;
}

#aps-page-title-section * {
	fill: white;
	color: white;
	border: 0;
	text-decoration: none;
}

.aps-homepage-sponsors img {
	width: 50% !important;
	filter: brightness(0) invert(1);
}

.membership-plans-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 20px !important;
  align-items: stretch;
}

.membership-plans-grid > div {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.membership-plans-grid > div .frm_grid_container:nth-of-type(2) {
  min-height: 150px;
}

.membership-plans-grid h3 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    color: var(--e-global-color-primary);
}

.membership-plans-grid del {
	text-decoration: line-through;
}

.membership-plans-grid a {
	display: block;
	background: var(--e-global-color-primary);
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	transition: all linear 250ms;
	padding: 20px;
	text-align: center;
}

.membership-plans-grid a:hover {
	background: var(--e-global-color-secondary);
	font-weight: bold;
}
/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
  .membership-plans-grid {
    flex-wrap: wrap;
  }
  .membership-plans-grid > div {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .membership-plans-grid > div .frm_grid_container:nth-of-type(2) {
	min-height: auto;
  }
}



/**
 * BOARD AND FOUNDERS GRID
 **/
.board-grid {
  display: grid;
  gap: 30px;
}

.board-grid.board-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .board-grid.board-grid--cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .board-grid.board-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .board-grid.board-grid--cols-4 {
    grid-template-columns: 1fr;
  }
}

.aps-block-title h2 {
	line-height: 0;
}

.board-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.board-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f4f4f4;
}
.board-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 250ms linear;
}
.board-card:hover .board-card__image {
  object-fit: cover;
  transform: scale(1.2);
}
.board-card__image--placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    #ececec,
    #ececec 10px,
    #f7f7f7 10px,
    #f7f7f7 20px
  );
}

.board-card__body {
  padding: 16px 16px 18px;
}
.board-card__title {
  margin: 0 0 6px 0;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
}
.board-card__meta {
  color: #666;
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-size: 0.95rem;
}






/* Cards grid */
.membership-plans-options {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:20px 2%;
}

.membership-plans-options > div:hover {
	transform: translateY(-15px);
  border-color: var( --e-global-color-primary );
  box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
}

/* Selected state */
.membership-plans-options > div.plan_selected {
  border-color: var( --e-global-color-primary );
  box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
}

/* Make each card a flex column */
.membership-plans-options > div {
  display:flex;
  flex-direction:column;
  height:100%;
  padding:16px;
  border:1px solid #e5e7eb;
  background:#fff;
	transition: transform 150ms ease, box-shadow 0.3s ease;
}

/* Push the entry fee row (third-to-last) down.
   Annual fee (2nd-last) + Button (last) will stay right after it. */
.membership-plans-options > div > .frm_grid_container:nth-last-child(3){
  margin-top:auto;
}

/* Two-column fee rows tidy layout */
.membership-plans-options > div .frm_grid_container:has(> .frm6){
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.membership-plans-options > div .frm_grid_container:has(> .frm6) > .frm6{
  flex:1 1 50%;
}

#frm_field_31_container,
#field_36u2s_label {
	display: none;
}

.frm_primary_label {
	font-weight: 500;
}


/**
 * PARTNERSS CAROUSEL
 **/
.partners-carousel .partner-card { 
	padding: 10px;
	border: 0;
}
.partners-carousel .partner-card__media { 
	display:flex; 
	align-items:center; 
	justify-content:center; 
	padding: 15px;
}
.partners-carousel .partner-card__media img { 
	width: auto; 
	height: 80%; 
	display:block; 
}
.partners-carousel .partner-card__placeholder {
	display:flex; 
	align-items:center; 
	justify-content:center;
	min-height: 120px; 
	padding: 10px; 
}
.slick-dots li button:before {
    color: var( --e-global-color-secondary ) !important;
}
.slick-dots li button {
    background: transparent !important;
}
.slick-dots li.slick-active button:before {
    color: var( --e-global-color-primary ) !important;
}
.slick-dots li button:hover {
    background: var( --e-global-color-primary ) !important;
}
.slick-dots li button:hover:before {
    color: white !important;
}

.aps-page-divider span {
	display: block;
	width: 100%;
	height: 3px;
    border-block-start: none !important;
	background: linear-gradient(to right, #006600 35%, #FFD700 35% 40%, #FF0000 40%);
}

#frm_field_15_container {
  position: relative;
  display: inline-block;
}

#frm_field_15_container input {
  padding-right: 30px; /* space for icon */
  font-family: inherit;
}

#frm_field_15_container::after {
  content: "\f133"; /* Font Awesome calendar icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 42px;
  transform: translateY(-50%);
  color: #555;
  pointer-events: none; /* allows clicking input */
  font-size: 14px;
}

.frm-link-authentication-element {
	display: none;
}

#frm_field_63_container {
	position: relative;
}

.checkout-table-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;          /* fills the parent height */
  display: flex;         /* centers .box content */
  justify-content: center;
  align-items: center;
  background: #f7f7f8; /* optional translucent backdrop */
  z-index: 9999;         /* ensure it stays above other content */
}

.checkout-table-loader .box {
  width: 100%;
  display: grid;
  place-items: center;
  background: #f7f7f8;
  text-align: center;
  padding: 15px;
}

/* Loader bar */
.checkout-table-loader .box .loader {
  --bar-height: 2px;
  --segments: 3;
  --gap: 6px;
  --track: rgba(0,0,0,.12);
  --fill: #B61212;

  width: 30%;
  height: var(--bar-height);
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      to right,
      var(--track) 0,
      var(--track) calc((100% / var(--segments)) - var(--gap)),
      transparent calc((100% / var(--segments)) - var(--gap)),
      transparent calc(100% / var(--segments))
    );
}

.checkout-table-loader .box .loader .loader__fill {
  position: absolute;
  inset: 0;
  background: var(--fill);
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: inherit;
  animation: segmented-once 6s cubic-bezier(.3,.7,.4,1) 0s 1 both;
}

@keyframes segmented-once {
  0%   { transform: scaleX(0); }
  25%  { transform: scaleX(.25); }  28% { transform: scaleX(.25); }
  50%  { transform: scaleX(.5); }   53% { transform: scaleX(.5); }
  75%  { transform: scaleX(.75); }  78% { transform: scaleX(.75); }
  100% { transform: scaleX(1); }
}

/* Text below the loader */
.checkout-table-loader .box .loader-text {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
  font-family: system-ui, sans-serif;
  position: relative;
}

/* Animated pseudo-element handles content */
.checkout-table-loader .box .loader-text::after {
  content: "Initializing...";
  animation: textChange 6s linear forwards;
}

/* Sync messages with loader segments */
@keyframes textChange {
  0%   { content: "Initializing..."; }
  33.33%  { content: "Loading data..."; }
  66.66%  { content: "Processing..."; }
  100% { content: "Loading cart..."; }
}
 








/**
 * FOOTER 
 **/
#menu-footer {
	margin: 0;
	padding: 0;
}

#menu-footer li {
	list-style: none;
}

#menu-footer li a {
	transition: all 150ms linear;
}

#menu-footer li a:hover {
	padding-left: 15px;
	font-weight: 500;
}

#aps-top-menu .submenu-open-left > .sub-menu {
  right: 1px !important;
  top: 48px !important;
}

#aps-top-menu .submenu-open-left > .sub-menu::before {
    right: 20px;
}



/**
 * Smartphones (portrait & landscape) 
 **/
@media only screen and (max-width: 480px) {
	#aps-top-menu:not(.scrolled) a, #aps-homepage-top-menu:not(.scrolled) a, #aps-news-top-menu:not(.scrolled) a {
		color: #333333 !important;
	}
	
	.scroll-cue {
		bottom: 0;
	}
}