/* Existing styles for mobile version content */
@media (max-width: 767px) {

	.site-content,
	.entry-content,
	.page-content,
	.wp-block {
		/*width: 100% !important;*/
		max-width: 100% !important;
		overflow-x: hidden !important;
	}
}

/* Hide "Account" when not logged in; hide "Login" when logged in */
body:not(.logged-in) .ast-header-html-2 .apsa-account-link,
body.logged-in .ast-header-html-2 .apsa-login-link {
	display: none !important;
}

/* Display "Login" if not logged in; display "Account" if logged in */
body:not(.logged-in) .ast-header-html-2 .apsa-login-link,
body.logged-in .ast-header-html-2 .apsa-account-link {
	display: inline !important;
}

/* Remove line breaks automatically generated by the editor */
.ast-header-html-2 .ast-builder-html-element br {
	display: none !important;
}

/* ==================================================
APSA Public Header
For pages using the Astra header
   ================================================== */

/* ---------- Basic Styles ---------- */

body #masthead {
	box-sizing: border-box;
	position: relative !important;
	top: auto;
	left: auto;
	width: 100%;
	z-index: 99;
	padding: 12px 24px;
	background: #1c262d !important;
	font-family: "Nunito Sans", sans-serif;
}

/* Only pages with a transparent header enabled are overlaid on the initial screen area. */
body.ast-theme-transparent-header #masthead {
	position: absolute !important;
	top: 0;
	left: 0;
	background: linear-gradient(180deg,
			rgba(15, 29, 39, 0.75),
			rgba(15, 29, 39, 0.15)) !important;
}

body #masthead .ast-container {
	max-width: 1440px;
	padding: 0;
	margin: auto;
}

body #masthead .ast-primary-header-bar,
body #masthead .ast-above-header-bar {
	background: transparent !important;
	border: 0;
	box-shadow: none;
}

body #masthead .custom-logo {
	width: 190px;
	max-width: 100%;
	height: auto;
}

body #masthead .ast-builder-html-element p {
	margin: 0;
	line-height: 1;
}

body #masthead .ast-builder-html-element br {
	display: none !important;
}

body #masthead .ast-builder-html-element a,
body #masthead .ast-search-menu-icon .ast-icon {
	color: #fff;
}

/* Login / My Account */
body #masthead .ast-header-html-2 a {
	font-size: 14px;
	font-weight: 400;
	line-height: 44px;
	color: #fff;
	white-space: nowrap;
}

/* Desktop and tablet: Leave 16px of space between "My Account" and "Membership" */
@media (min-width: 768px) {
  body #masthead .ast-header-html-2 .ast-builder-html-element {
    display: flex;
    align-items: center;
    column-gap: 16px;
  }
}

@media (max-width: 767px) {
  #ast-mobile-header .ast-header-html-2 .ast-builder-html-element {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    column-gap: 8px;
    min-height: 44px;
  }
}

/* Join */
body #masthead .ast-header-html-1 a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 24px;
	background: #c95300;
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
	border-radius: 0;
	white-space: nowrap;
}

body #masthead .ast-header-html-1 a:hover {
	background: #a74300;
}

/* 登录状态 */
body:not(.logged-in) #masthead .apsa-account-link,
body.logged-in #masthead .apsa-login-link {
	display: none !important;
}

body:not(.logged-in) #masthead .apsa-login-link,
body.logged-in #masthead .apsa-account-link {
	display: inline !important;
}

/* Keyboard focus */
body #masthead a:focus-visible,
body #masthead button:focus-visible {
	outline: 3px solid #68d9f2;
	outline-offset: 3px;
}

/* ---------- Computer Menu ---------- */

@media (min-width: 922px) {

	body #ast-desktop-header {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
		grid-template-rows: 48px 58px;
		column-gap: 20px;
		max-width: 1440px;
		margin: auto;
	}

	body #ast-desktop-header .ast-above-header-wrap,
	body #ast-desktop-header .ast-above-header-bar,
	body #ast-desktop-header .site-above-header-wrap,
	body #ast-desktop-header .site-above-header-wrap>.ast-builder-grid-row {
		display: contents;
	}

	body #ast-desktop-header .site-header-above-section-left {
		grid-column: 1;
		grid-row: 1 / 3;
		align-items: center;
	}

	body #ast-desktop-header .site-header-above-section-right {
		grid-column: 2;
		grid-row: 1;
		justify-content: flex-end;
		gap: 20px;
	}

	body #ast-desktop-header .ast-main-header-wrap {
		grid-column: 2;
		grid-row: 2;
		min-width: 0;
	}

	body #ast-desktop-header .site-primary-header-wrap,
	body #ast-desktop-header .ast-primary-header-bar {
		min-height: 58px;
		width: 100%;
		padding: 0;
	}

	body #ast-desktop-header .site-header-primary-section-center {
		justify-content: flex-end;
		width: 100%;
	}

	body #ast-desktop-header .ast-builder-menu-1 {
		padding: 0;
	}

	body #ast-desktop-header .main-header-menu>.menu-item>.menu-link {
		font-family: "Nunito Sans", sans-serif;
		font-size: 15px;
		font-weight: 700;
		letter-spacing: 0;
		color: #fff;
		line-height: 1.35;
		min-height: 52px;
		padding: 0 12px;
		transform: none !important;
	}

	body #ast-desktop-header .main-header-menu>.menu-item>.menu-link:hover {
		color: #ffb376;
	}

	body #ast-desktop-header .sub-menu {
		background: #fff;
		border-top: 3px solid #eb7a2a;
		box-shadow: 0 12px 24px #0002;
		border-radius: 0;
		padding: 12px 0;
		min-width: 260px;
	}

	/* Last top-level menu: drop-down aligned to the right, expanding to the left. */
	body #ast-desktop-header .main-header-menu>.menu-item:last-child {
		position: relative;
	}

	body #ast-desktop-header .main-header-menu>.menu-item:last-child>.sub-menu {
		left: auto;
		right: 0;
	}

	body #ast-desktop-header .sub-menu .menu-link {
		font: 16px/1.4 "Nunito Sans", sans-serif;
		color: #2b2e32;
		padding: 12px 20px;
	}

	body #ast-desktop-header .sub-menu .menu-link:hover {
		color: #a74300;
		background: #e6eef0;
	}
}

/* Narrower computer screen */
@media (min-width: 922px) and (max-width: 1150px) {

	body #ast-desktop-header {
		grid-template-columns: 150px minmax(0, 1fr);
		column-gap: 12px;
	}

	body #ast-desktop-header .custom-logo {
		width: 145px;
	}

	body #ast-desktop-header .main-header-menu>.menu-item>.menu-link {
		font-size: 12px;
		padding: 0 7px;
	}
}

/* ---------- Phones and tablets ---------- */

@media (max-width: 921px) {

	body #masthead {
		padding: 12px 16px;
		background: #1c262d !important;
	}

	body.ast-theme-transparent-header #masthead {
		background: rgba(28, 38, 45, 0.96) !important;
	}

	body #ast-mobile-header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto 44px;
		align-items: center;
		gap: 8px;
		width: 100%;
		min-width: 0;
	}

	body #ast-mobile-header>.ast-above-header-wrap,
	body #ast-mobile-header>.ast-main-header-wrap,
	body #ast-mobile-header .ast-above-header-bar,
	body #ast-mobile-header .ast-primary-header-bar,
	body #ast-mobile-header .ast-above-header-bar>.ast-builder-grid-row,
	body #ast-mobile-header .ast-primary-header-bar>.ast-builder-grid-row {
		display: contents;
	}

	/* Logo */
	body #ast-mobile-header .site-header-above-section-left {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	body #ast-mobile-header .custom-logo {
		display: block;
		width: 110px;
		max-width: 100%;
		height: auto;
	}

	body #ast-mobile-header .site-branding {
		padding: 0;
		min-width: 0;
	}

	/* Login / Account 和 Join */
	body #ast-mobile-header .site-header-above-section-right {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
	}

	body #ast-mobile-header .ast-builder-layout-element {
		margin: 0;
		padding: 0;
	}

	body #ast-mobile-header .ast-header-html-2 a {
		font-size: 12px;
		line-height: 44px;
	}

	body #ast-mobile-header .ast-header-html-1 a {
		min-height: 44px;
		padding: 0 12px;
		font-size: 12px;
	}

	/* A widget area in the current public header that is currently empty */
	body #ast-mobile-header .site-header-primary-section-left {
		display: none;
	}

	/* Menu toggle */
	body #ast-mobile-header .site-header-primary-section-right {
		grid-column: 3;
		grid-row: 1;
		justify-content: flex-end;
	}

	body #ast-mobile-header .menu-toggle {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		min-height: 44px;
		padding: 8px;
		color: #fff;
		background: transparent;
		border: 1px solid rgba(255, 255, 255, 0.5);
		border-radius: 4px;
	}

	/* Expand menu: Remove absolute positioning and place it in the second row */
	body #ast-mobile-header .ast-mobile-header-content {
		position: static !important;
		inset: auto !important;
		transform: none !important;
		grid-column: 1 / -1;
		grid-row: 2;
		align-self: start;
		justify-self: stretch;
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		height: auto;
		margin: 0;
		max-height: 70vh;
		max-height: 70dvh;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff !important;
	}

	/* Do not modify `display`; control expansion and collapse via Astra. */
	body #ast-mobile-header .ast-mobile-header-content .main-header-menu,
	body #ast-mobile-header .ast-mobile-header-content .sub-menu,
	body #ast-mobile-header .ast-mobile-header-content .menu-item {
		background: #fff !important;
	}

	body #ast-mobile-header .ast-mobile-header-content .menu-link {
		color: #1c262d !important;
		background: transparent !important;
		white-space: normal;
		overflow-wrap: break-word;
		font-family: "Nunito Sans", sans-serif;
		font-size: 14px;
		line-height: 1.5;
		text-align: left;
		transform: none !important;
	}

	body #ast-mobile-header .main-header-menu>.menu-item>.menu-link {
		min-height: 48px;
		padding: 12px 16px;
	}

	body #ast-mobile-header .sub-menu {
		min-width: 0;
		max-width: 100%;
	}

	body #ast-mobile-header .sub-menu .menu-link {
		padding: 12px 20px;
	}

	/* Submenu arrow */
	body #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle,
	body #ast-mobile-header .ast-mobile-header-content .dropdown-menu-toggle {
		color: #1c262d !important;
		background: transparent !important;
	}

	body #ast-mobile-header .ast-mobile-header-content .ast-icon svg {
		fill: currentColor;
	}

	/* Hover, focus, and current menu */
	body #ast-mobile-header .ast-mobile-header-content .menu-link:hover,
	body #ast-mobile-header .ast-mobile-header-content .menu-link:focus-visible,
	body #ast-mobile-header .ast-mobile-header-content .current-menu-item>.menu-link {
		color: #a74300 !important;
		background: #f2f5f7 !important;
	}
}

/* Narrower phone */
@media (max-width: 375px) {

	body #masthead {
		padding: 10px;
	}

	body #ast-mobile-header {
		gap: 6px;
	}

	body #ast-mobile-header .custom-logo {
		width: 90px;
	}

	body #ast-mobile-header .site-header-above-section-right {
		gap: 6px;
	}

	body #ast-mobile-header .ast-header-html-1 a {
		padding: 0 10px;
	}
}

/* Fix Astra native rule overrides for mobile header layout */
@media (max-width: 921px) {

	body.ast-header-break-point #ast-mobile-header {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto 44px;
		grid-template-rows: auto auto;
		align-items: center;
		gap: 8px;
		width: 100%;
		min-width: 0;
	}

	/* Eliminate the existing top-and-bottom layout, and integrate the three areas into a single grid. */
	body.ast-header-break-point #ast-mobile-header>.ast-above-header-wrap,
	body.ast-header-break-point #ast-mobile-header>.ast-main-header-wrap,
	body.ast-header-break-point #ast-mobile-header .ast-above-header-bar,
	body.ast-header-break-point #ast-mobile-header .ast-primary-header-bar,
	body.ast-header-break-point #ast-mobile-header .ast-above-header-bar>.ast-builder-grid-row,
	body.ast-header-break-point #ast-mobile-header .ast-primary-header-bar>.ast-builder-grid-row {
		display: contents !important;
	}

	/* left Logo */
	body.ast-header-break-point #ast-mobile-header .site-header-above-section-left {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
		margin: 0;
		align-self: center;
	}

	/* "Login / Account" and "Join" in the middle */
	body.ast-header-break-point #ast-mobile-header .site-header-above-section-right {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		margin: 0;
	}

	/* Hide the empty widget area that was previously there */
	body.ast-header-break-point #ast-mobile-header .site-header-primary-section-left {
		display: none !important;
	}

	/* Right-side menu button */
	body.ast-header-break-point #ast-mobile-header .site-header-primary-section-right {
		grid-column: 3;
		grid-row: 1;
		align-self: center;
		margin: 0;
	}

	/* The expanded menu occupies the second row, while the original toggle logic is preserved. */
	body.ast-header-break-point #ast-mobile-header .ast-mobile-header-content {
		position: static !important;
		inset: auto !important;
		transform: none !important;
		grid-column: 1 / -1;
		grid-row: 2;
		align-self: start;
		width: 100%;
		min-width: 0;
		margin: 0;
		max-height: 70vh;
		max-height: 70dvh;
		overflow-y: auto;
	}
}

/* MemberPress ReadyLaunch: Proper header spacing to prevent obscuring the main content */
body.mepr-pro-template #masthead,
body.mepr-pro-template.ast-theme-transparent-header #masthead {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
}

/* Fix the header for the MemberPress Login page only */
body.page-id-1242.mepr-guest-layout #masthead {
	position: relative !important;
	inset: auto !important;
	background: transparent !important;
	padding: 40px 20px 24px !important;
	margin: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
}

/* Center the logo on the login page */
body.page-id-1242.mepr-guest-layout #masthead .site-branding {
	margin: 0 auto !important;
	padding: 0 !important;
	text-align: center;
}

/* Mobile header spacing */
@media (max-width: 767px) {
	body.page-id-1242.mepr-guest-layout #masthead {
		padding: 28px 16px 20px !important;
	}
}

/* All elements across the entire site have had their character spacing restored to normal. */
html body,
html body *,
html body *::before,
html body *::after {
    letter-spacing: normal !important;
}

/* APSA Public Footer: Tablet-view right-hand navigation is arranged in two rows and two columns. */
@media (min-width: 768px) and (max-width: 1024px) {
  /* The area on the right fills the remaining space next to the association introduction. */
  .elementor-1297 [data-id="caa160d"] {
    flex: 1 1 0;
    min-width: 0;
  }

  /* About APSA / Explore，Connect / Contact Info */
  .elementor-1297 [data-id="b0edf26"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    align-items: start;
  }

  /* Each column occupies the full width of its cell. */
  .elementor-1297 [data-id="b0edf26"] > .e-con {
    width: 100%;
    min-width: 0;
  }

  /* Use the full column width for contact information; long email addresses may wrap to a new line if space is limited. */
  .elementor-1297 [data-id="ea4dfdf"] {
    width: 100%;
    max-width: 100%;
  }

  .elementor-1297 [data-id="ea4dfdf"] .elementor-icon-list-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* APSA member login | WordPress page 1242 */
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) {
  margin: 0;
  background: #eaf1f3 !important;
  color: #102d40;
  font-family: "Nunito Sans", system-ui, sans-serif;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #page.guest-layout {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  width: min(1100px, calc(100% - 64px));
  min-height: 620px;
  margin: clamp(32px, 9vh, 100px) auto;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #cbd9df;
  border-radius: 10px;
  overflow: clip;
  box-shadow: 0 14px 42px rgb(15 43 58 / 10%);
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #masthead {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative !important;
  inset: auto !important;
  min-width: 0;
  padding: clamp(22px, 3vw, 44px) !important;
  background: linear-gradient(0deg, rgb(7 29 46 / 85%), transparent 50%),
              url("https://i0.wp.com/apsasports.org/wp-content/uploads/2026/11/Skiing-across-snowy-mountains-under-a-blue-sky.png?w=1080&quality=85&ssl=1") 48% 50% / cover no-repeat,
              #17394c !important;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #masthead .site-branding {
  margin: 0 !important;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #masthead .site-branding a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #masthead img.site-logo {
  display: block;
  width: clamp(120px, 14vw, 176px);
  height: auto;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #ast-scroll-top { display: none; }
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: auto;
  padding: clamp(30px, 4vw, 65px);
  margin: 0;
  box-sizing: border-box;
  background: #fff;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepro-login-hero,
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepro-login-hero .mepro-boxed,
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepro-login-hero .mepro-login-contents {
  width: 100%;
  max-width: 410px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  box-shadow: none;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr-template-login h1 {
  margin: 0 0 30px;
  color: #102d40;
  font: 750 clamp(34px, 3.4vw, 48px)/1.08 "Nunito Sans", system-ui, sans-serif;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr-template-login h1::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 15px;
  background: #c95300;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform .mp-form-row { margin: 0 0 18px; }
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform .mp-form-label label.placeholder-text {
  position: static;
  display: block;
  transform: none;
  transition: none;
  margin: 0 0 7px;
  padding: 0;
  background: transparent;
  color: #183849;
  font: 650 15px/1.35 "Nunito Sans", system-ui, sans-serif !important;
  pointer-events: auto;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform :is(#user_login, #user_pass) {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 9px 14px;
  box-sizing: border-box;
  border: 1px solid #849ba7;
  border-radius: 4px;
  box-shadow: none;
  background: #fff;
  color: #102d40;
  font: 400 16px/1.4 "Nunito Sans", system-ui, sans-serif;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform #user_pass { padding-right: 52px; }
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform button.mp-hide-pw {
  width: 48px;
  justify-content: center;
  padding: 0;
  color: #345664;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform .mepr_remember_me {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  color: #243f4e;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform #rememberme { width: 17px; height: 17px; accent-color: #12475a; }
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr-template-login .mp-spacer { display: none; }
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform #wp-submit {
  width: 100%;
  min-height: 50px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  background: #ae4900;
  color: #fff;
  font: 700 16px/1.4 "Nunito Sans", system-ui, sans-serif;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform #wp-submit:not(:disabled):hover { background: #8c3800; }
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr_loginform #wp-submit:disabled { opacity: .65; cursor: not-allowed; }
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) .mepr-login-actions {
  margin: 20px 0 0;
  padding: 0;
  text-align: left;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) .mepr-login-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #13536b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #page :is(a, button, input):focus-visible {
  outline: 3px solid #147790;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #page.guest-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    width: 100%;
    min-height: 100svh;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #masthead {
    min-height: clamp(148px, 32vw, 208px);
    padding: 14px 24px !important;
    background-position: center, 50% 46% !important;
  }
  body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #masthead img.site-logo { width: 106px; }
  body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #primary {
    align-items: flex-start;
    padding: 30px clamp(20px, 6vw, 40px) 40px;
  }
  body.page-id-1242.mepr-guest-layout:has(#mepr_loginform) #mepr-template-login h1 { margin-bottom: 23px; }
}

/* APSA membership registration | General, Professional, Institutional */
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) { background:#edf3f5; color:#102d40; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #page.app-layout { background:#edf3f5; min-height:100vh; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #masthead { box-sizing:border-box; min-height:64px; margin:0; padding:8px max(20px,calc((100% - 1120px) / 2)) !important; background:#102d40 !important; border:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #masthead .site-branding__logo { height:36px; width:auto; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #masthead .mepr-header-login-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; color:#fff; border:1px solid #78919e; border-radius:4px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #primary { width:min(1120px,calc(100% - 48px)); max-width:none; margin:30px auto 64px; padding:0; box-sizing:border-box; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #primary .apsa-reg-intro { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); padding:0; margin:0; border:1px solid #cbd9df; border-radius:9px; background:white; overflow:hidden; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-lead { box-sizing:border-box; min-width:0; min-height:250px; padding:clamp(24px,3.6vw,54px); display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; gap:17px; background:linear-gradient(0deg,rgba(8,32,48,.97),rgba(8,32,48,.72) 48%,rgba(8,32,48,.14)),url("https://i0.wp.com/apsasports.org/wp-content/uploads/2026/11/Skiing-across-snowy-mountains-under-a-blue-sky.png?w=1080&quality=85&ssl=1") center 45% / cover no-repeat,#17394c; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-lead h1 { margin:0; color:#fff; font:750 clamp(32px,3.8vw,55px)/1.05 "Nunito Sans",system-ui,sans-serif; overflow-wrap:break-word; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-lead h1::before { content:""; display:block; width:42px; height:4px; margin-bottom:17px; background:#ff952f; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-link { display:none; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259):has(#mepr_signup_form) .apsa-reg-link { display:inline-flex; align-items:center; min-height:44px; color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits { padding:clamp(20px,3vw,40px); align-self:center; min-width:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits h2, body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #primary .apsa-reg-title { color:#102d40; font:750 clamp(23px,2.2vw,32px)/1.2 "Nunito Sans",system-ui,sans-serif; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits h2 { margin:0 0 15px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits ul { margin:0; padding-left:1.2em; list-style:disc outside; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits li { padding-left:3px; margin:0 0 6px; font-size:16px; line-height:1.48; color:#264657; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits li:last-child { margin-bottom:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits li::marker { color:#a9480a; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #primary .apsa-reg-title { display:none; margin:30px 0 14px; padding:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259):has(#mepr_signup_form) #primary .apsa-reg-title { display:block; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form { width:100%; max-width:none; padding:0; margin:0; scroll-margin-top:16px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mepr-checkout-container { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); grid-template-areas:"summary fields"; gap:20px; align-items:start; max-width:none; height:auto; min-height:0; margin:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .form-wrapper, body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .invoice-wrapper { min-width:0; width:100%; padding:clamp(20px,3vw,40px); box-sizing:border-box; border:1px solid #cbd9df; border-radius:8px; background:#fff; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .form-wrapper { grid-area:fields; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .invoice-wrapper { grid-area:summary; padding-left:clamp(20px,3vw,40px) !important; border-bottom:1px solid #cbd9df !important; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .invoice-heading { color:#345667; margin:0 0 8px; font:650 16px/1.4 "Nunito Sans",system-ui,sans-serif; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .invoice-amount { color:#102d40; font:750 clamp(25px,2.6vw,36px)/1.16 "Nunito Sans",system-ui,sans-serif; overflow-wrap:break-word; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mepr_price { margin:0 0 18px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .have-coupon-link { color:#12546c; text-decoration:underline; text-underline-offset:3px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-cart-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:start; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-cart-item-image { display:none; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-cart-item-details p, body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-currency-cell { color:#213f50; line-height:1.45; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-cart-footer { margin:8px 0 0; border-top:1px solid #cad8df; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-cart-footer .bt { font-weight:700; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .form-wrapper > .mp-form-row { margin:0 0 16px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form fieldset { min-width:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-form-label label { display:block; position:static; transform:none; transition:none; pointer-events:auto; margin:0 0 6px; padding:0; color:#1d3949; background:transparent; font:650 15px/1.35 "Nunito Sans",system-ui,sans-serif !important; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-form-row-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-form-row-group-wrapper { width:auto; min-width:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-form-row :is(input.mepr-form-input,select.mepr-form-input) { box-sizing:border-box; width:100%; min-width:0; height:46px; margin:0; padding:8px 12px; border:1px solid #859ba7; border-radius:4px; box-shadow:none; color:#102d40; background-color:white; font:400 16px/1.4 "Nunito Sans",system-ui,sans-serif; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-form-row select.mepr-form-input { padding-right:32px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-form-row input[type=password], body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-hide-pw input { padding-right:48px; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form button.mp-hide-pw { width:44px; justify-content:center; padding:0; color:#345664; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-address-group fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; padding:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-address-group .mp-form-row { margin:0; min-width:0; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mepr_mepr-address-one, body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mepr_mepr-address-two { grid-column:1/-1; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mepr-submit { box-sizing:border-box; width:100%; min-height:50px; border-radius:4px; color:white; background:#ae4900; font:700 16px/1.4 "Nunito Sans",system-ui,sans-serif; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form input.mepr-submit:hover { background:#8c3800; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form input.mepr-submit:disabled { opacity:.65; }
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #page :is(a,button,input,select):focus-visible { outline:3px solid #167994; outline-offset:3px; }
@media (max-width:767px) {
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #masthead { min-height:56px; padding:6px 16px !important; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #masthead .site-branding__logo { height:30px; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #primary { width:calc(100% - 28px); margin:14px auto 36px; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #primary .apsa-reg-intro { grid-template-columns:minmax(0,1fr); }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-lead { min-height:165px; padding:21px; gap:4px; background-position:center,center 42%; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-lead h1 { font-size:clamp(29px,6vw,38px); }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-lead h1::before { margin-bottom:10px; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) .apsa-reg-benefits { padding:20px; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #primary .apsa-reg-title { margin:23px 0 10px; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mepr-checkout-container { grid-template-columns:minmax(0,1fr); grid-template-areas:"summary" "fields"; gap:12px; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .form-wrapper, body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .invoice-wrapper { padding:20px; }
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .invoice-wrapper { padding-left:20px !important; }
}
@media (max-width:480px) {
  body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #mepr_signup_form .mp-address-group fieldset { grid-template-columns:minmax(0,1fr); }
}

/* Astra scroll-to-top button on the three membership registration pages. */
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #ast-scroll-top {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
  background: #2b2e32;
  cursor: pointer;
}
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #ast-scroll-top .ast-arrow-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: auto;
  fill: currentColor;
  transform: translate(-50%, -50%) rotate(180deg);
}
body.single-memberpressproduct:is(.postid-3257,.postid-3258,.postid-3259) #ast-scroll-top:focus-visible {
  outline: 2px solid #147790;
  outline-offset: 3px;
}
