/**
* Theme Name: BuddyX Child
* Description: This is a child theme of BuddyX, generated by Merlin WP.
* Author: <a href="https://github.com/vapvarun/buddyx">wbcomdesigns,vapvarun</a>
* Template: buddyx
* Version: 4.5.8
*/

/* ==========================================================================
   Restricted Content & Registration CTA (SEO & Conversion)
   ========================================================================== */

.entry-excerpt-restricted {
	position: relative;
	overflow: hidden;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #4a5568;
}

.entry-excerpt-restricted p {
	margin-bottom: 0;
}

.excerpt-fade-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
	pointer-events: none;
}

.registration-cta-box {
	margin: 2rem 0 1.5rem 0;
	padding: 2.5rem 2rem;
	background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
	text-align: center;
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.registration-cta-box:hover {
	box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.08);
}

.cta-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #ebf8ff;
	color: #2b6cb0;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 50px;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 1px solid #bee3f8;
}

.cta-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a202c;
	margin: 0 0 0.75rem 0;
	line-height: 1.3;
}

.cta-description {
	font-size: 1rem;
	color: #4a5568;
	max-width: 580px;
	margin: 0 auto 1.5rem auto;
	line-height: 1.6;
}

.cta-benefits {
	list-style: none;
	padding: 0;
	margin: 0 auto 2rem auto;
	display: inline-flex;
	flex-direction: column;
	gap: 0.6rem;
	text-align: left;
	max-width: 480px;
}

.cta-benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: #2d3748;
	font-weight: 500;
}

.cta-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background-color: #38a169;
	color: #ffffff;
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: bold;
	flex-shrink: 0;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.75rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}

.cta-btn-primary {
	background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(49, 130, 206, 0.35);
	border: none;
}

.cta-btn-primary:hover {
	background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(49, 130, 206, 0.45);
	color: #ffffff !important;
}

.cta-btn-secondary {
	background-color: #ffffff;
	color: #4a5568 !important;
	border: 1px solid #cbd5e0;
}

.cta-btn-secondary:hover {
	background-color: #f7fafc;
	color: #1a202c !important;
	border-color: #a0aec0;
	transform: translateY(-2px);
}

@media (max-width: 640px) {
	.registration-cta-box {
		padding: 1.75rem 1.25rem;
	}

	.cta-title {
		font-size: 1.25rem;
	}

	.cta-actions {
		flex-direction: column;
		width: 100%;
	}

	.cta-btn {
		width: 100%;
	}
}

/* ==========================================================================
   Restricted Comments & Discussion CTA
   ========================================================================== */

.restricted-comments-wrapper {
	position: relative;
	max-height: 280px;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.comments-fade-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.98) 100%);
	pointer-events: none;
}

.comments-cta-box {
	margin: 1.5rem 0 2rem 0;
	padding: 2.25rem 1.75rem;
	background: #ffffff;
	border: 2px dashed #cbd5e0;
	border-radius: 14px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.comments-cta-icon {
	font-size: 2.2rem;
	margin-bottom: 0.5rem;
	line-height: 1;
}

.comments-cta-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 0.5rem 0;
}

.comments-cta-text {
	font-size: 0.98rem;
	color: #718096;
	max-width: 500px;
	margin: 0 auto 1.5rem auto;
	line-height: 1.5;
}

.comments-cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
}
