/* 
   Temporada I Articles CSS (Episodes 87-95)
   Cara Core Informática - Cyber-noir, blue-amber palette
   Last updated: 2026-11-14
*/

body {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
	line-height: 1.65;
	color: #1f2937;
	margin: 0;
}

.container {
	max-width: 980px;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
}

h1 {
	line-height: 1.2;
	font-size: clamp(1.9rem, 2.4vw, 2.5rem);
	margin-top: 0;
}

h2 {
	margin-top: 2.5rem;
	line-height: 1.3;
	color: #111827;
	border-bottom: 2px solid #e5e7eb;
	padding-bottom: 0.5rem;
}

h3 {
	margin-top: 1.75rem;
	color: #374151;
}

ul, ol {
	padding-left: 1.3rem;
}

ul li, ol li {
	margin-bottom: 0.65rem;
}

.back-link {
	text-decoration: none;
	font-size: 0.85rem;
	color: #2563eb;
}

.back-link:hover {
	text-decoration: underline;
}

.linkedin-box {
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
}

.linkedin-box img {
	width: 33%;
	max-width: 40px;
	margin-right: 10px;
}

.linkedin-box a {
	color: #2563eb;
	text-decoration: none;
}

.linkedin-box a:hover {
	text-decoration: underline;
}

.note {
	background: #fef3c7;
	padding: 1rem 1.25rem;
	border-left: 4px solid #d97706;
	border-radius: 6px;
	margin: 1.5rem 0;
}

.insight {
	background: #dbeafe;
	padding: 1rem 1.25rem;
	border-left: 4px solid #2563eb;
	border-radius: 6px;
	margin: 1.5rem 0;
}

.quote-box {
	background: #f9fafb;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #6b7280;
	border-radius: 6px;
	font-style: italic;
	margin: 1.5rem 0;
}

.quote-box pre {
	font-style: normal;
	background-color: #1f2937;
	border-radius: 4px;
	padding: 1rem;
	overflow-x: auto;
	max-width: 100%;
	word-break: break-word;
	white-space: pre-wrap;
}

.quote-box code {
	font-family: 'Courier New', monospace;
	font-size: 0.85rem;
	color: #f0f9ff;
	line-height: 1.5;
}

hr {
	border: none;
	border-top: 1px solid #d1d5db;
	margin: 3rem 0;
}

.hash-box {
	background: #f3f4f6;
	padding: 1rem 1.25rem;
	border-radius: 6px;
	font-size: 0.9rem;
	color: #374151;
	word-break: break-word;
}

/* Image styling */
img[alt] {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.container {
		padding: 1.5rem 1rem 3rem;
	}

	h1 {
		font-size: clamp(1.5rem, 5vw, 2rem);
	}

	.linkedin-box {
		flex-wrap: wrap;
	}

	.quote-box code {
		font-size: 0.75rem;
	}
}

/* Footer styling */
footer {
	text-align: center;
	color: #6b7280;
	font-size: 0.9rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
}

/* Print styles */
@media print {
	.back-link {
		display: none;
	}

	.container {
		max-width: 100%;
		box-shadow: none;
	}
}
