.abclub-fsm {
	--abclub-fsm-navy: #0b2a3a;
	--abclub-fsm-meta: #12404e;
	--abclub-fsm-muted: #8ba0b2;
	--abclub-fsm-line: #eeeeee;
	--abclub-fsm-sidebar-width: 26%;

	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	background: #fff;
	box-sizing: border-box;
}

.abclub-fsm__top {
	display: none;
}

.abclub-fsm__meta {
	display: none;
}

.abclub-fsm__social {
	display: none;
}

.abclub-fsm__close {
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	font-family: DM Sans, sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #000;
	cursor: pointer;
	text-decoration: none;
}

.abclub-fsm__close span:first-child {
	font-size: 1.5em;
	line-height: 1em;
}

.abclub-fsm__close:hover {
	opacity: 0.9;
}

.abclub-fsm__close:focus {
	outline: none;
	color: #000;
}

.abclub-fsm__close--desktop {
	position: absolute;
	top: 32px;
	left: 48px;
}

.abclub-fsm__close--mobile {
	display: none;
}

.abclub-fsm__body {
	position: relative;
	display: flex;
	flex: 1;
	width: 100%;
	min-height: 100vh;
}

.abclub-fsm__sidebar {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: var(--abclub-fsm-sidebar-width);
	min-width: 280px;
	padding: 100px 48px 48px 50px;
	box-sizing: border-box;
	background: #fff;
	background-image: linear-gradient(var(--abclub-fsm-line), var(--abclub-fsm-line));
	background-size: 100% 1px;
	background-position: 0 80px;
	background-repeat: no-repeat;
	z-index: 1;
}

.abclub-fsm__sidebar::before {
	display: none;
}

.abclub-fsm__primary {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.abclub-fsm__section {
	display: flex;
	flex-direction: column;
}

.abclub-fsm__nav-item,
.abclub-fsm__nav-item:focus {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 8px 0;
	border: 0;
	background: none;
	font-family: Montserrat, sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--abclub-fsm-muted);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	letter-spacing: 0;
}

.abclub-fsm__nav-item.is-active,
.abclub-fsm__section.is-active > .abclub-fsm__nav-item {
	color: #000;
	background: transparent;
	background: #F2EFE9;
	border-radius: 10px;
	padding-left: 10px;
}

.abclub-fsm__nav-item:hover {
	color: #000;
	background: transparent;
	padding-left: 10px;
}

.abclub-fsm__nav-arrow {
	width: 16px;
	height: 16px;
	opacity: 0;
	flex-shrink: 0;
}

.abclub-fsm__nav-item.is-active .abclub-fsm__nav-arrow,
.abclub-fsm__section.is-active > .abclub-fsm__nav-item .abclub-fsm__nav-arrow {
	opacity: 1;
	margin-right: 5px;
}

.abclub-fsm__utility {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #eee;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.abclub-fsm__utility-link {
	font-family: Inter, Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--abclub-fsm-muted);
	text-decoration: none;
}

.abclub-fsm__utility-link:hover {
	color: #282828;
}

/* Desktop: active inline panel docks to the right column */
.abclub-fsm__inline-panel {
	box-sizing: border-box;
}

.abclub-fsm__inline-panel[hidden] {
	display: none !important;
}

.abclub-fsm__section.is-active > .abclub-fsm__inline-panel {
	display: block;
	position: absolute;
	top: 0;
	left: max(280px, var(--abclub-fsm-sidebar-width));
	right: 0;
	bottom: 0;
	padding: 75px 80px 48px 80px;
	background: rgba(255, 255, 255, 0.9);
	background: #efefef;
	overflow-y: auto;
	border-left: 1px solid #ccc;
	z-index: 0;
}

.abclub-fsm__custom-panel {
	width: 100%;
}

.abclub-fsm__custom-panel .elementor-section,
.abclub-fsm__custom-panel .e-con {
	max-width: 100%;
}

.abclub-fsm__custom-panel--preview {
	min-height: 120px;
}

h2.abclub-fsm__panel-title {
	margin: 0 0 32px;
	padding-bottom: 16px;
	font-size: 28px;
	font-weight: 300;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #000;
	font-family: DM Sans, sans-serif;
	line-height: 100%;
	position: relative;
}

h2.abclub-fsm__panel-title::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 3px;
	width: 71px;
	height: 0;
	border-top: 1px solid #3b3b3b;
}

.abclub-fsm__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 20px;
}

.abclub-fsm__card {
	display: block;
	text-decoration: none;
	color: inherit;
	text-align: center;
}

.abclub-fsm__card-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: #d3d3d3;
	border-radius: 10px !important;
}

.abclub-fsm__card-title {
	margin-top: 10px;
	font-family: Inter, Roboto, sans-serif;
	font-size: 18px;
	line-height: 1.4;
	text-align: center;
	color: #1f2937;
	letter-spacing: 0;
	display: inline-block;
}

.abclub-fsm__link-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.abclub-fsm__link-item {
	font-family: Inter, Roboto, sans-serif;
	font-size: 18px;
	color: #1f2937;
	text-decoration: none;
}

.abclub-fsm__link-item:hover {
	color: #000;
}

.abclub-fsm__empty {
	font-family: Roboto, sans-serif;
	font-size: 14px;
	color: var(--abclub-fsm-muted);
}

@media (max-width: 1200px) {
	.abclub-fsm__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.abclub-fsm {
		min-height: 100dvh;
		height: auto;
		max-height: none;
		overflow-x: hidden;
		overflow-y: visible;
	}

	.abclub-fsm__close--desktop {
		display: none;
	}

	.abclub-fsm__top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		flex-shrink: 0;
		padding: 14px 16px;
		border-bottom: 1px solid var(--abclub-fsm-line);
		background: #fff;
	}

	.abclub-fsm__brand {
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
	}

	.abclub-fsm__logo {
		width: 36px;
		height: 36px;
		object-fit: contain;
		flex-shrink: 0;
	}

	.abclub-fsm__brand-text {
		font-family: Montserrat, sans-serif;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--abclub-fsm-navy);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.abclub-fsm__close--mobile {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: static;
		width: 36px;
		height: 36px;
		font-size: 28px;
		line-height: 1;
		color: var(--abclub-fsm-navy);
		flex-shrink: 0;
	}

	.abclub-fsm__close--mobile span:first-child {
		font-size: 1em;
	}

	.abclub-fsm__meta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		flex-shrink: 0;
		padding: 10px 16px;
		background: var(--abclub-fsm-meta);
		color: #fff;
	}

	.abclub-fsm__weather {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 4px;
		min-width: 0;
	}

	.abclub-fsm__weather-row {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 4px 14px;
	}

	.abclub-fsm__weather-item {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-family: DM Sans, sans-serif;
		font-size: 12px;
		line-height: 1.3;
		color: #fff;
	}

	.abclub-fsm__weather-item img {
		width: 14px;
		height: 14px;
		object-fit: contain;
		flex-shrink: 0;
		filter: brightness(0) invert(1);
	}

	.abclub-fsm__login {
		font-family: Montserrat, sans-serif;
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: #fff;
		text-decoration: none;
		flex-shrink: 0;
		padding-left: 8px;
	}

	.abclub-fsm__login:hover,
	.abclub-fsm__login:focus {
		color: #fff;
		opacity: 0.9;
	}

	.abclub-fsm__body {
		display: block;
		flex: 1 0 auto;
		min-height: 0;
	}

	.abclub-fsm__sidebar {
		width: 100%;
		min-width: 0;
		padding: 0 0 24px;
		justify-content: flex-start;
		background-image: none;
	}

	.abclub-fsm__sidebar::before {
		display: none;
	}

	.abclub-fsm__primary {
		gap: 0;
	}

	.abclub-fsm__section {
		border-bottom: 1px solid var(--abclub-fsm-line);
	}

	.abclub-fsm__nav-item,
	.abclub-fsm__nav-item:focus,
	.abclub-fsm__nav-item:hover,
	.abclub-fsm__nav-item.is-active,
	.abclub-fsm__section.is-active > .abclub-fsm__nav-item,
	.abclub-fsm__section.is-open > .abclub-fsm__nav-item {
		padding: 16px;
		padding-left: 16px;
		font-size: 15px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--abclub-fsm-navy);
	}

	.abclub-fsm__nav-arrow {
		opacity: 1;
		width: 12px;
		height: 12px;
		transition: transform 0.2s ease;
	}

	.abclub-fsm__section.is-open > .abclub-fsm__nav-item .abclub-fsm__nav-arrow {
		transform: rotate(90deg);
	}

	/* Accordion: panel stays in document flow under the nav item */
	.abclub-fsm__section > .abclub-fsm__inline-panel,
	.abclub-fsm__section.is-active > .abclub-fsm__inline-panel {
		position: static;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		padding: 0 16px 16px;
		background: #fff;
		overflow: visible;
		border-left: 0;
		z-index: auto;
	}

	.abclub-fsm__section:not(.is-open) > .abclub-fsm__inline-panel {
		display: none !important;
	}

	.abclub-fsm__section.is-open > .abclub-fsm__inline-panel {
		display: block !important;
	}

	h2.abclub-fsm__panel-title {
		display: none;
	}

	.abclub-fsm__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	.abclub-fsm__card-title {
		font-size: 14px;
	}

	.abclub-fsm__link-list {
		gap: 0;
		border-top: 1px solid var(--abclub-fsm-line);
	}

	.abclub-fsm__link-item {
		display: block;
		padding: 12px 0;
		font-size: 14px;
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: var(--abclub-fsm-navy);
		border-bottom: 1px solid var(--abclub-fsm-line);
	}

	.abclub-fsm__link-list li:last-child .abclub-fsm__link-item {
		border-bottom: 0;
	}

	.abclub-fsm__utility {
		margin-top: 8px;
		padding: 16px 16px 8px;
		border-top: 0;
		gap: 14px;
	}

	.abclub-fsm__utility-link {
		font-family: Montserrat, sans-serif;
		font-size: 13px;
		font-weight: 500;
		color: var(--abclub-fsm-navy);
	}

	.abclub-fsm__social {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 20px;
		flex-shrink: 0;
		padding: 28px 16px 40px;
		margin-top: auto;
	}

	.abclub-fsm__social-link {
		display: inline-flex;
		line-height: 0;
	}

	.abclub-fsm__social-link img {
		width: 26px;
		height: 26px;
		object-fit: contain;
		/* Footer assets are white; force dark on white menu bg */
		filter: brightness(0) saturate(100%);
	}

	/* Mobile WP menu mode: hide graphic sections, show nested nav */
	.abclub-fsm[data-mobile-nav="wp_menu"] .abclub-fsm__primary {
		display: none;
	}

	.abclub-fsm[data-mobile-nav="wp_menu"] .abclub-fsm__wp-menu {
		display: block;
		width: 100%;
	}

	.abclub-fsm[data-mobile-nav="sections"] .abclub-fsm__wp-menu {
		display: none;
	}

	.abclub-fsm-nav {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.abclub-fsm-nav .sub-menu {
		list-style: none;
		margin: 0;
		padding: 0;
		display: none;
	}

	.abclub-fsm-nav .menu-item.is-open > .sub-menu {
		display: block;
	}

	.abclub-fsm-nav > .menu-item {
		border-bottom: 1px solid var(--abclub-fsm-line);
	}

	.abclub-fsm-nav .sub-menu > .menu-item {
		border-top: 1px solid var(--abclub-fsm-line);
		border-bottom: 0;
	}

	.abclub-fsm-nav__row {
		display: flex;
		align-items: stretch;
		position: relative;
	}

	.abclub-fsm-nav__link {
		display: block;
		flex: 1 1 auto;
		min-width: 0;
		padding: 16px;
		padding-left: calc(16px + (var(--fsm-depth, 0) * 15px));
		padding-right: 40px;
		font-family: Montserrat, sans-serif;
		font-size: 15px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--abclub-fsm-navy);
		text-decoration: none;
		line-height: 1.35;
	}

	.abclub-fsm-nav .sub-menu .abclub-fsm-nav__link {
		font-weight: 500;
		font-size: 14px;
		letter-spacing: 0.03em;
		text-transform: none;
		color: #4a4a4a;
	}

	.abclub-fsm-nav__link:hover,
	.abclub-fsm-nav__link:focus {
		color: var(--abclub-fsm-navy);
	}

	.abclub-fsm-nav .current-menu-item > .abclub-fsm-nav__link,
	.abclub-fsm-nav .current-menu-item > .abclub-fsm-nav__row > .abclub-fsm-nav__link,
	.abclub-fsm-nav .current-menu-ancestor > .abclub-fsm-nav__row > .abclub-fsm-nav__link,
	.abclub-fsm-nav .current-menu-parent > .abclub-fsm-nav__row > .abclub-fsm-nav__link {
		color: var(--abclub-fsm-navy);
	}

	.abclub-fsm-nav__toggle {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 40px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		z-index: 2;
		-webkit-tap-highlight-color: transparent;
		outline: none;
		box-shadow: none;
	}

	.abclub-fsm-nav__toggle:hover,
	.abclub-fsm-nav__toggle:focus,
	.abclub-fsm-nav__toggle:focus-visible,
	.abclub-fsm-nav__toggle:active {
		background: transparent;
		outline: none;
		box-shadow: none;
	}

	.abclub-fsm-nav__toggle-icon {
		width: 9px;
		height: auto;
		object-fit: contain;
		transition: transform 0.2s ease;
		display: block;
	}

	.abclub-fsm-nav .menu-item.is-open > .abclub-fsm-nav__row > .abclub-fsm-nav__toggle .abclub-fsm-nav__toggle-icon {
		transform: rotate(90deg);
	}
}

/* Desktop: always hide WP mobile menu */
.abclub-fsm__wp-menu {
	display: none;
}

@media (max-width: 600px) {
	.abclub-fsm__grid {
		grid-template-columns: 1fr;
	}

	.abclub-fsm__brand-text {
		font-size: 12px;
	}
}
