/**
 * Document Single Page Styles
 *
 * @package Plastpro
 * @since 1.0.0
 */

/* Document Detail Section */
.document-detail {
	padding: 2rem 0;
	background: #fff;
}

.document-detail .site-container {
	max-width: var(--site-container-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.document-detail-wrapper {
	/* No max-width constraint - uses full site-container width */
}

.document-detail-content {
	background: #fff;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}

.document-detail-title {
	font-family: 'Montserrat', sans-serif;
	font-size: var(--font-size-h2);
	font-weight: 700;
	line-height: 1.3;
	color: #1D252D;
	margin: 0 0 1rem 0;
}

.document-detail-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.document-category-tag {
	display: inline-block;
	padding: 4px 12px;
	background: #E87722;
	color: #FFFFFF;
	font-family: 'Montserrat', sans-serif;
	font-size: var(--font-size-xs);
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 2px;
	line-height: 1.4;
}

.document-detail-description {
	font-family: 'Montserrat', sans-serif;
	font-size: var(--font-size-h6);
	font-weight: 400;
	line-height: 1.6;
	color: #1D252D;
	margin-bottom: 2rem;
}

.document-detail-description p {
	margin: 0 0 1rem 0;
}

.document-detail-description p:last-child {
	margin-bottom: 0;
}

.document-detail-actions {
	margin-top: 2rem;
}

.document-download-section {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.document-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 12px 24px;
	background: #E87722;
	color: #FFFFFF;
	font-family: 'Montserrat', sans-serif;
	font-size: var(--font-size-small);
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.document-download-btn:hover {
	background: #D66A1A;
	color: #FFFFFF;
}

.document-download-btn--secondary {
	background: #FFFFFF;
	color: #1D252D;
	border: 2px solid #1D252D;
}

.document-download-btn--secondary:hover {
	background: #1D252D;
	color: #FFFFFF;
}

.document-download-btn svg {
	flex-shrink: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.document-detail .site-container {
		padding: 0 1rem;
	}
	
	.document-detail-title {
		font-size: var(--font-size-h2);
	}
	
	.document-download-section {
		flex-direction: column;
	}
	
	.document-download-btn {
		width: 100%;
		justify-content: center;
	}
}

