/*
 * Shared styles for all blog-post app showcase pages
 * Loaded via functions.php to avoid duplication across 11 blog-post files
 */

/* Override Astra multi-column layout */
.entry-content {
	columns: auto !important;
	column-count: 1 !important;
	column-width: auto !important;
}
.ast-container {
	columns: auto !important;
}

/* ===== APP PAGE LAYOUT ===== */
.app-single {
	max-width: 800px;
	margin: 0 auto;
	padding: 48px 24px 64px;
}

.app-single h1 {
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 800;
	letter-spacing: -0.5px;
	color: #0f0f0f;
	margin-bottom: 8px;
}

.app-single h2 {
	font-size: 20px;
	font-weight: 700;
	color: #0f0f0f;
	margin: 40px 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #f0f0f5;
}

.app-single p {
	font-size: 15px;
	line-height: 1.8;
	color: #4b5563;
}

/* ===== APP HERO BANNER ===== */
.app-hero {
	background: linear-gradient(-45deg, #667eea, #764ba2, #5b3cc4, #667eea);
	background-size: 400% 400%;
	animation: blogGradient 12s ease infinite;
	color: white;
	padding: 48px 32px;
	border-radius: 20px;
	text-align: center;
	margin: 24px 0 40px;
	position: relative;
	overflow: hidden;
}

@keyframes blogGradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.app-hero .app-icon {
	font-size: 56px;
	display: block;
	margin-bottom: 12px;
}

.app-hero .app-subtitle {
	font-size: 17px;
	opacity: 0.9;
	margin: 0;
	line-height: 1.5;
}

/* ===== FEATURE AND DEV LISTS ===== */
.features-list,
.dev-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.features-list li,
.dev-features li {
	padding: 12px 0 12px 32px;
	position: relative;
	line-height: 1.7;
	font-size: 14px;
	color: #4b5563;
	border-bottom: 1px solid #f8f8fa;
	transition: all 0.2s ease;
}

.features-list li:last-child,
.dev-features li:last-child {
	border-bottom: none;
}

.features-list li:hover,
.dev-features li:hover {
	background: #fafbff;
	border-radius: 8px;
	padding-left: 36px;
}

.features-list li:before,
.dev-features li:before {
	content: "";
	position: absolute;
	left: 8px;
	top: 18px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #667eea, #764ba2);
}

/* ===== TECH STACK BADGES ===== */
.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0;
}

.tech-badge {
	background: #f4f5f7;
	padding: 6px 14px;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	border: 1px solid #eef0f3;
	transition: all 0.2s ease;
}

.tech-badge:hover {
	background: #eef2ff;
	color: #667eea;
	border-color: rgba(102, 126, 234, 0.2);
}

/* ===== STATUS BADGES ===== */
.badge-success {
	display: inline-block;
	background: linear-gradient(135deg, #10b981, #059669);
	color: white;
	padding: 6px 16px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 600;
}

/* ===== INFO BOXES ===== */
.monetization-info,
.tech-info {
	background: #fafbff;
	padding: 24px;
	border-radius: 12px;
	border: 1px solid #eef0f3;
	border-left: 4px solid #667eea;
	margin: 20px 0;
}

.monetization-info ul {
	margin: 12px 0;
	padding-left: 20px;
}

.monetization-info li {
	padding: 4px 0;
	color: #4b5563;
	font-size: 14px;
}

.tech-info p {
	margin: 8px 0;
	font-size: 14px;
	color: #4b5563;
}

/* ===== CTA BUTTONS ===== */
.app-cta {
	margin: 40px 0;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.app-cta .btn {
	padding: 12px 28px;
	text-decoration: none;
	border-radius: 12px;
	display: inline-block;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	font-weight: 600;
	font-size: 14px;
}

.app-cta .btn-primary {
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: white;
	box-shadow: 0 4px 14px rgba(102, 126, 234, 0.25);
}

.app-cta .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.app-cta .btn-secondary {
	border: 2px solid #e5e7eb;
	color: #4b5563;
	background: transparent;
}

.app-cta .btn-secondary:hover {
	border-color: #667eea;
	color: #667eea;
	transform: translateY(-2px);
}

/* ===== BREADCRUMB ===== */
.app-breadcrumb {
	margin-bottom: 32px;
	font-size: 13px;
	font-weight: 500;
}

.app-breadcrumb a {
	color: #667eea;
	text-decoration: none;
	transition: color 0.2s;
}

.app-breadcrumb a:hover {
	color: #764ba2;
}

.app-breadcrumb .separator {
	margin: 0 10px;
	color: #d1d5db;
	font-size: 11px;
}

.app-breadcrumb .current {
	color: #6b7280;
}

/* ===== NAVIGATION ===== */
.app-navigation {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid #f0f0f5;
}

.app-navigation .btn {
	padding: 12px 28px;
	text-decoration: none;
	border-radius: 12px;
	display: inline-block;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	font-weight: 600;
	font-size: 14px;
	border: 2px solid #e5e7eb;
	color: #4b5563;
	background: transparent;
}

.app-navigation .btn:hover {
	border-color: #667eea;
	color: #667eea;
	transform: translateY(-2px);
}

/* ===== INLINE CODE ===== */
.app-single code {
	background: #f4f5f7;
	padding: 2px 8px;
	border-radius: 6px;
	font-family: 'SF Mono', 'Fira Code', monospace;
	font-size: 13px;
	color: #667eea;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.app-single {
		padding: 32px 16px 48px;
	}

	.app-hero {
		padding: 36px 20px;
		border-radius: 16px;
	}

	.app-cta {
		flex-direction: column;
	}

	.app-cta .btn {
		text-align: center;
	}
}
