/* Article-specific styles */

.back-link {
	font-size: 1rem;
	color: #120dd9;
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 20px;
	display: inline-block;
}

.article-container {
	margin: 0px 20px;
	max-width: 100%;
	overflow-x: hidden;
}

.article-title-container {
	margin-top: 13rem;
}

.article-container h6 {
	margin: 0rem;
	font-size: 1.2rem;
	color: #888;
	font-weight: 400;
}

.article-header {
	margin-bottom: 3rem;
}

.article-header .article-date {
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.article-title {
	font-size: 4.5rem;
	margin-bottom: 0;
}

.article-subtitle {
	font-size: 1.5rem;
	margin-top: 25px;
	margin-bottom: 20px;
	font-weight: 600;
	color: #1f1f1f;
}

.divider {
	width: 100%;
	height: 2px;
	background-color: rgba(189, 189, 189, 0.566);
	margin: 10px 0px 45px 0px;
}

.content-section h3 {
	color: #1f1f1f;
	font-size: 1.3rem;
	margin-bottom: 10px;
	font-weight: 700;
}

.content-section p {
	font-size: 1.2rem;
	line-height: 1.6;
	color: #282828;
	margin-bottom: 1.25rem;
}

.margin-bottom-md {
	margin-bottom: 5rem;
}

/* Article image styling */
.article-image-container {
	margin: 30px 0 40px 0;
	text-align: center;
}

.article-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 8px;
	transition: opacity 0.3s ease;
}

.image-caption {
	font-size: 0.8rem !important;
	color: #888;
	font-style: italic;
	margin-top: 5px;
	line-height: 1.3;
}

/* Image loading placeholder */
.image-placeholder {
	width: 100%;
	height: 400px;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: loading 1.5s infinite;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 1rem;
	margin-bottom: 8px;
}

@keyframes loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.article-image[data-loaded='false'] {
	display: none;
}

.article-image[data-loaded='true'] + .image-placeholder {
	display: none;
}

/* Prompt section styling */
.prompt-container {
	margin: 40px 0;
	border: 1px solid rgba(189, 189, 189, 0.5);
	border-radius: 8px;
	overflow: hidden;
}

.prompt-header {
	background: #f8f9fa;
	padding: 15px 20px;
	border-bottom: 1px solid rgba(189, 189, 189, 0.3);
}

.prompt-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: #333;
}

.copy-button {
	background: transparent;
	border: none;
	color: #120dd9;
	padding: 0;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	display: inline-block;
}

.copy-button:hover {
	text-decoration: underline;
	background: transparent;
}

.copy-button.copied {
	color: #120dd9;
	text-decoration: none;
}

.prompt-content {
	padding: 20px;
	background: white;
}

.prompt-text {
	font-family: Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
	margin: 0;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.steps-list li {
	margin: 10px 0px;
	padding-left: 20px;
}
