/* Social Cards Network - Original Style (WordPress 6.8 Compatible) */
/* HIGH SPECIFICITY - PREVENTS THEME INTERFERENCE */

.social-cards-container {
	max-width: 600px !important;
	margin: 30px auto !important;
	padding: 0 !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	box-sizing: border-box !important;
	/* Enhanced isolation for individual card displays - BROWSER SAFE */
	isolation: isolate !important;
	/* Fallback for older browsers */
	position: relative !important;
	z-index: 1 !important;
}

/* Header Section */
.social-cards-container .social-cards-header {
	text-align: center !important;
	margin-bottom: 35px !important;
	padding: 25px 30px !important;
	background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 50%, #2563eb 100%) !important;
	border-radius: 24px !important;
	color: white !important;
	position: relative !important;
	overflow: hidden !important;
	box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6) !important;
	animation: headerPulse 3s infinite alternate !important;
}

.social-cards-container .social-cards-header::before {
	content: '' !important;
	position: absolute !important;
	top: -50% !important;
	left: -50% !important;
	width: 200% !important;
	height: 200% !important;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px) !important;
	background-size: 20px 20px !important;
}

.social-cards-container .social-cards-header::after {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%) !important;
}

@keyframes headerPulse {
	0% {
		box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6) !important;
		transform: translateY(0) !important;
	}
	100% {
		box-shadow: 0 25px 55px rgba(99, 102, 241, 0.8) !important;
		transform: translateY(-7px) !important;
	}
}

.social-cards-container .social-cards-badge {
	background: rgba(255, 255, 255, 0.15) !important;
	padding: 6px 16px !important;
	border-radius: 30px !important;
	display: inline-block !important;
	margin-bottom: 8px !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	position: relative !important;
	z-index: 2 !important;
}

.social-cards-container .social-cards-title {
	margin: 0 0 8px 0 !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	background: linear-gradient(45deg, #ffffff, #e0e7ff) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	text-shadow: 0 5px 10px rgba(0, 0, 0, 0.4) !important;
	position: relative !important;
	z-index: 2 !important;
	line-height: 1.2 !important;
}

.social-cards-container .social-cards-description {
	margin: 0 auto !important;
	max-width: 350px !important;
	font-size: 14px !important;
	opacity: 0.95 !important;
	font-weight: 500 !important;
	position: relative !important;
	z-index: 2 !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Cards Container */
.social-cards-container .social-cards-grid {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
}

/* Individual Card Base - HIGH SPECIFICITY */
.social-cards-container .social-card {
	background: #1e293b !important;
	padding: 28px !important;
	border-radius: 20px !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
	border: 4px solid transparent !important;
	transition: all 0.3s ease !important;
	cursor: pointer !important;
	position: relative !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: center !important;
	gap: 22px !important;
	box-sizing: border-box !important;
	text-decoration: none !important;
	transform: scale(1.03) !important; /* ALL cards pop out the same */
}

/* Featured Card - HIGH SPECIFICITY */
.social-cards-container .social-card.featured {
	background: linear-gradient(45deg, #1e293b, #2d3748) !important;
	border-color: #FF1493 !important;
	box-shadow: 0 12px 30px rgba(255, 20, 147, 0.5) !important;
	/* transform: scale(1.03) inherits from base - same for all cards */
}

.social-cards-container .social-card.featured::before {
	content: 'Featured' !important;
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	background: #FF1493 !important;
	color: white !important;
	font-size: 12px !important;
	font-weight: bold !important;
	padding: 4px 12px !important;
	border-bottom-left-radius: 10px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	z-index: 2 !important;
}

/* Hide "Featured" text when data-show-text is false */
.social-cards-container .social-card.featured[data-show-text="false"]::before {
	display: none !important;
}

/* Regular Cards - HIGH SPECIFICITY */
.social-cards-container .social-card:not(.featured) {
	background: #1a202c !important;
	padding: 18px !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2) !important;
	border: 1px dashed transparent !important;
}

/* Card Colors - HIGH SPECIFICITY */
.social-cards-container .social-card[data-color="hotpink"] { border-color: #FF1493 !important; }
.social-cards-container .social-card[data-color="pink"] { border-color: #ff69b4 !important; }
.social-cards-container .social-card[data-color="green"] { border-color: #10b981 !important; }
.social-cards-container .social-card[data-color="gray"] { border-color: #9ca3af !important; }
.social-cards-container .social-card[data-color="lightpink"] { border-color: #f472b6 !important; }
.social-cards-container .social-card[data-color="purple"] { border-color: #8b5cf6 !important; }
.social-cards-container .social-card[data-color="darkpink"] { border-color: #db2777 !important; }
.social-cards-container .social-card[data-color="orange"] { border-color: #f59e0b !important; }

/* Card Icons - HIGH SPECIFICITY */
.social-cards-container .social-card .card-icon {
	flex-shrink: 0 !important;
	border-radius: 16px !important;
	color: white !important;
	font-weight: bold !important;
	text-align: center !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
	transition: all 0.3s ease !important;
	position: relative !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Featured card icon */
.social-cards-container .social-card.featured .card-icon {
	width: 64px !important;
	height: 64px !important;
	font-size: 30px !important;
	background: linear-gradient(135deg, #FF1493, #FF69B4) !important;
	box-shadow: 0 8px 20px rgba(255, 20, 147, 0.6) !important;
}

.social-cards-container .social-card.featured .card-icon::before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%) !important;
}

/* Regular card icons */
.social-cards-container .social-card:not(.featured) .card-icon {
	width: 46px !important;
	height: 46px !important;
	font-size: 20px !important;
	border-radius: 10px !important;
}

/* Icon Colors - HIGH SPECIFICITY */
.social-cards-container .social-card[data-color="pink"] .card-icon { 
	background: linear-gradient(135deg, #ff69b4, #ffb6c1) !important;
	box-shadow: 0 2px 8px rgba(255, 105, 180, 0.3) !important;
}
.social-cards-container .social-card[data-color="green"] .card-icon { 
	background: linear-gradient(135deg, #10b981, #34d399) !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
	color: #1e293b !important;
}
.social-cards-container .social-card[data-color="gray"] .card-icon { 
	background: linear-gradient(135deg, #9ca3af, #6b7280) !important;
	box-shadow: 0 4px 12px rgba(156, 163, 175, 0.4) !important;
	color: #1e293b !important;
}
.social-cards-container .social-card[data-color="lightpink"] .card-icon { 
	background: linear-gradient(135deg, #f472b6, #ec4899) !important;
	box-shadow: 0 4px 12px rgba(244, 114, 182, 0.4) !important;
	color: #1e293b !important;
}
.social-cards-container .social-card[data-color="purple"] .card-icon { 
	background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important;
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4) !important;
}
.social-cards-container .social-card[data-color="darkpink"] .card-icon { 
	background: linear-gradient(135deg, #db2777, #ec4899) !important;
	box-shadow: 0 4px 12px rgba(219, 39, 119, 0.4) !important;
}
.social-cards-container .social-card[data-color="orange"] .card-icon { 
	background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important;
	color: #1e293b !important;
}

/* Card Content - HIGH SPECIFICITY */
.social-cards-container .social-card .card-info {
	flex: 1 !important;
	min-width: 0 !important;
}

.social-cards-container .social-card .card-title {
	margin: 0 0 6px 0 !important;
	font-weight: 800 !important;
	text-shadow: 0 0 15px rgba(0, 0, 0, 0.4) !important;
}

.social-cards-container .social-card.featured .card-title {
	font-size: 24px !important;
	color: #FF1493 !important;
	margin-bottom: 6px !important;
}

.social-cards-container .social-card:not(.featured) .card-title {
	font-size: 18px !important;
	margin-bottom: 2px !important;
}

/* Title Colors - HIGH SPECIFICITY */
.social-cards-container .social-card[data-color="pink"] .card-title { color: #ff69b4 !important; }
.social-cards-container .social-card[data-color="green"] .card-title { color: #10b981 !important; }
.social-cards-container .social-card[data-color="gray"] .card-title { color: #9ca3af !important; }
.social-cards-container .social-card[data-color="lightpink"] .card-title { color: #f472b6 !important; }
.social-cards-container .social-card[data-color="purple"] .card-title { color: #8b5cf6 !important; }
.social-cards-container .social-card[data-color="darkpink"] .card-title { color: #db2777 !important; }
.social-cards-container .social-card[data-color="orange"] .card-title { color: #f59e0b !important; }

.social-cards-container .social-card .card-desc {
	margin: 0 !important;
	color: #f8f9fa !important;
	font-style: italic !important;
	max-width: 280px !important;
}

.social-cards-container .social-card.featured .card-desc {
	font-size: 16px !important;
}

.social-cards-container .social-card:not(.featured) .card-desc {
	font-size: 13px !important;
	color: #a0aec0 !important;
}

/* Card Arrow - HIGH SPECIFICITY */
.social-cards-container .social-card .card-arrow {
	font-weight: bold !important;
	transition: all 0.4s ease !important;
	flex-shrink: 0 !important;
}

.social-cards-container .social-card.featured .card-arrow {
	font-size: 28px !important;
	color: #FF1493 !important;
}

.social-cards-container .social-card:not(.featured) .card-arrow {
	font-size: 18px !important;
}

/* Arrow Colors - HIGH SPECIFICITY */
.social-cards-container .social-card[data-color="pink"] .card-arrow { color: #ff69b4 !important; }
.social-cards-container .social-card[data-color="green"] .card-arrow { color: #10b981 !important; }
.social-cards-container .social-card[data-color="gray"] .card-arrow { color: #9ca3af !important; }
.social-cards-container .social-card[data-color="lightpink"] .card-arrow { color: #f472b6 !important; }
.social-cards-container .social-card[data-color="purple"] .card-arrow { color: #8b5cf6 !important; }
.social-cards-container .social-card[data-color="darkpink"] .card-arrow { color: #db2777 !important; }
.social-cards-container .social-card[data-color="orange"] .card-arrow { color: #f59e0b !important; }

/* Icon and Arrow Base Transform States */
.social-cards-container .social-card .card-icon {
	transform: scale(1) rotate(0deg) !important;
	transition: all 0.3s ease !important;
}

.social-cards-container .social-card .card-arrow {
	transform: translateX(0) scale(1) !important;
	transition: all 0.4s ease !important;
}

/* Hover Effects - SAME FOR ALL CARDS - HIGH SPECIFICITY */
.social-cards-container .social-card:hover {
	transform: translateY(-10px) scale(1.08) !important;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
	transition: all 0.3s ease !important;
}

.social-cards-container .social-card.featured:hover {
	transform: translateY(-10px) scale(1.08) !important;
	box-shadow: 0 20px 40px rgba(255, 20, 147, 0.7) !important;
}

.social-cards-container .social-card:not(.featured):hover {
	transform: translateY(-10px) scale(1.08) !important;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.social-cards-container .social-card:hover .card-icon {
	transform: scale(1.2) rotate(8deg) !important;
	transition: all 0.3s ease !important;
}

.social-cards-container .social-card:hover .card-arrow {
	transform: translateX(10px) scale(1.2) !important;
	transition: all 0.4s ease !important;
}

/* Card Links - HIGH SPECIFICITY */
.social-cards-container .social-card .card-link {
	display: flex !important;
	align-items: center !important;
	gap: 22px !important;
	text-decoration: none !important;
	color: inherit !important;
	width: 100% !important;
}

.social-cards-container .social-card:not(.featured) .card-link {
	gap: 15px !important;
}

.social-cards-container .social-card .card-link:hover {
	text-decoration: none !important;
	color: inherit !important;
}

/* Footer - HIGH SPECIFICITY */
.social-cards-container .social-cards-footer {
	text-align: center !important;
	margin-top: 25px !important;
	color: #94a3b8 !important;
	font-size: 15px !important;
}

/* Responsive Design - HIGH SPECIFICITY */
@media (max-width: 640px) {
	.social-cards-container {
		margin: 20px auto !important;
		padding: 0 15px !important;
	}
	
	.social-cards-container .social-cards-header {
		padding: 25px 20px !important;
		margin-bottom: 30px !important;
	}
	
	.social-cards-container .social-cards-title {
		font-size: 28px !important;
	}
	
	.social-cards-container .social-cards-description {
		font-size: 16px !important;
	}
	
	.social-cards-container .social-card {
		padding: 20px !important;
		gap: 15px !important;
	}
	
	.social-cards-container .social-card:not(.featured) {
		padding: 15px !important;
	}
	
	.social-cards-container .social-card.featured .card-icon {
		width: 54px !important;
		height: 54px !important;
		font-size: 24px !important;
	}
	
	.social-cards-container .social-card .card-info {
		min-width: 0 !important;
	}
	
	.social-cards-container .social-card .card-desc {
		max-width: none !important;
	}
}

/* Accessibility - HIGH SPECIFICITY */
@media (prefers-reduced-motion: reduce) {
	.social-cards-container .social-card,
	.social-cards-container .social-card .card-icon,
	.social-cards-container .social-card .card-arrow,
	.social-cards-container .social-cards-header {
		animation: none !important;
		transition: none !important;
	}
}

/* WordPress Theme Integration - HIGH SPECIFICITY */
.kleo-theme .social-cards-container {
	font-family: inherit !important;
}

/* Focus states for accessibility - HIGH SPECIFICITY */
.social-cards-container .social-card:focus-within {
	outline: 2px solid #4f46e5 !important;
	outline-offset: 2px !important;
}

.social-cards-container .social-card .card-link:focus {
	outline: none !important;
}

/* Prevent any inherited link styles from interfering - COMPREHENSIVE */
.social-cards-container .social-card .card-link,
.social-cards-container .social-card .card-link:visited,
.social-cards-container .social-card .card-link:link,
.social-cards-container .social-card .card-link:active,
.social-cards-container .social-card .card-link:hover,
.social-cards-container .social-card .card-link:focus {
	color: inherit !important;
	text-decoration: none !important;
	border: none !important;
	outline: none !important;
} 