.apst-community-panel {
	position: relative;
	display: flex;
	width: 100%;
	min-height: var(--apst-community-height, 500px);
	align-items: stretch;
	justify-content: center;
	box-sizing: border-box;
}

.apst-community-panel + .widget.widget_fbw_id {
	display: none !important;
}

.apst-community-stage,
.apst-community-card {
	width: 100%;
	min-height: var(--apst-community-height, 500px);
	box-sizing: border-box;
}

.apst-community-stage {
	display: none;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
	border-radius: 15px;
}

.apst-community-panel[data-state="ready"] .apst-community-stage {
	display: flex;
}

.apst-community-frame {
	display: block;
	max-width: 100%;
	margin: 0 auto;
	border: 0;
	background: #fff;
}

.apst-community-card {
	display: flex;
	padding: 38px 24px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	border: 1px solid rgba(255, 107, 0, 0.35);
	border-radius: 15px;
	background: linear-gradient(145deg, #fff 0%, #fff8f3 100%);
	box-shadow: 0 10px 30px rgba(72, 39, 17, 0.08);
	color: #3d3028;
}

.apst-community-panel[data-state="ready"] .apst-community-card {
	display: none;
}

.apst-community-kicker {
	margin-bottom: 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ff6b00;
}

.apst-community-title {
	max-width: 260px;
	font-size: 20px;
	line-height: 1.35;
	color: #29211c;
}

.apst-community-copy {
	max-width: 250px;
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.5;
	color: #65564c;
}

.apst-community-link {
	display: inline-flex;
	min-height: 44px;
	margin-top: 26px;
	padding: 0 24px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 2px solid #ff6b00;
	border-radius: 999px;
	background: #ff6b00;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 160ms ease, color 160ms ease;
}

.apst-community-link:hover,
.apst-community-link:focus {
	background: #fff;
	color: #ff6b00 !important;
}

.apst-community-link:focus-visible {
	outline: 3px solid rgba(255, 107, 0, 0.3);
	outline-offset: 3px;
}

.apst-community-open {
	display: none;
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 2;
	padding: 7px 12px;
	border: 1px solid rgba(255, 107, 0, 0.6);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 3px 12px rgba(72, 39, 17, 0.12);
	color: #d75a00 !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
}

.apst-community-panel[data-state="ready"] .apst-community-open {
	display: inline-flex;
}

.apst-community-open:hover,
.apst-community-open:focus {
	background: #ff6b00;
	color: #fff !important;
}

.apst-community-open:focus-visible {
	outline: 3px solid rgba(255, 107, 0, 0.3);
	outline-offset: 3px;
}

@media all and (max-width: 767px) {
	.apst-community-card {
		padding: 32px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apst-community-link {
		transition: none;
	}
}
