/* ====================================
   Super Elementor – Partial Accordion
   ==================================== */

.se-pa-wrap {
	font-family: inherit;
	position: relative;
}

/* Title */
.se-pa-title {
	font-weight: 700;
	font-size: 1.5rem;
	margin: 0 0 14px;
	line-height: 1.25;
	color: #1a1a1a;
}

/* ── Clip outer: height is set by JS, overflow hidden ── */
.se-pa-clip-outer {
	position: relative;
	/* height, overflow, transition all applied via JS after measuring */
}

/* ── Inner: full natural height, measured by JS ── */
.se-pa-clip-inner {
	/* no overflow, no height constraints — natural flow */
}

/* Content */
.se-pa-body,
.se-pa-hidden {
	color: #555;
	font-size: 1rem;
	line-height: 1.65;
}
.se-pa-body p,
.se-pa-hidden p {
	margin-bottom: 0.75em;
}
.se-pa-body p:last-child,
.se-pa-hidden p:last-child {
	margin-bottom: 0;
}

/* ── Fade: absolute to outer, always at the bottom edge ──
   Lives OUTSIDE the inner div so it's not clipped away.
   It just floats over the bottom of outer. ── */
.se-pa-fade {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;           /* overridden by Elementor fade_height control */
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
	transition: opacity 0.35s ease;
	z-index: 1;
}

/* ── Footer ── */
.se-pa-footer {
	margin-top: 12px;
	display: flex;
	align-items: center;
}

/* ── Button base ── */
.se-pa-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	padding: 0;
	line-height: 1.4;
	transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.se-pa-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 3px;
}

/* Underline style */
.se-pa-btn.style-underline {
	color: #1a1a1a;
	border-bottom: 1.5px solid #1a1a1a;
	padding-bottom: 2px;
}
.se-pa-btn.style-underline:hover {
	color: #6c3eff;
	border-bottom-color: #6c3eff;
}

/* Filled */
.se-pa-btn.style-filled {
	color: #fff;
	background-color: #1a1a1a;
	border: 2px solid transparent;
	border-radius: 6px;
	padding: 8px 18px;
}
.se-pa-btn.style-filled:hover { background-color: #333; }

/* Outlined */
.se-pa-btn.style-outline {
	color: #1a1a1a;
	background-color: transparent;
	border: 2px solid #1a1a1a;
	border-radius: 6px;
	padding: 8px 18px;
}
.se-pa-btn.style-outline:hover {
	background-color: #1a1a1a;
	color: #fff;
}

/* Arrow icon */
.se-pa-icon {
	display: inline-block;
	line-height: 1;
	font-size: 1.2em;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}
