/* ==========================================================================
   PKH Document Library — teal/amber branding to match Pakistan Law Hub
   ========================================================================== */

.pkh-dl-wrap {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 16px;
}

.pkh-dl-wrap h1 {
	color: #0f766e;
	margin-bottom: 6px;
}

.pkh-dl-desc {
	color: #6b7280;
	margin-bottom: 24px;
}

.pkh-dl-breadcrumb {
	font-size: 0.88rem;
	color: #6b7280;
	margin-bottom: 16px;
}

.pkh-dl-breadcrumb a {
	color: #0d9488;
	text-decoration: none;
}

.pkh-dl-breadcrumb a:hover {
	text-decoration: underline;
}

.pkh-dl-subheading {
	color: #0f766e;
	margin: 30px 0 14px;
	font-size: 1.3rem;
}

/* ---- Category grid ---- */
.pkh-dl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
	margin: 24px 0;
}

.pkh-dl-card {
	display: block;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	text-decoration: none;
	color: #1f2937;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.pkh-dl-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15);
	border-color: #0d9488;
}

.pkh-dl-card h3 {
	margin: 0 0 8px;
	color: #0f766e;
	font-size: 1.1rem;
}

.pkh-dl-card p {
	color: #6b7280;
	font-size: 0.88rem;
	margin: 0 0 10px;
}

.pkh-dl-count {
	display: inline-block;
	background: #f0fdfa;
	color: #0f766e;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
}

/* ---- Document list rows ---- */
.pkh-dl-doc-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pkh-dl-doc-row {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 18px;
	text-decoration: none;
	color: #1f2937;
	transition: border-color .15s ease, background .15s ease;
}

.pkh-dl-doc-row:hover {
	border-color: #0d9488;
	background: #f0fdfa;
}

.pkh-dl-doc-icon {
	font-size: 1.4rem;
}

.pkh-dl-doc-title {
	flex: 1;
	font-weight: 600;
}

.pkh-dl-doc-arrow {
	color: #f59e0b;
	font-weight: 700;
}

.pkh-dl-empty {
	color: #6b7280;
	padding: 30px 0;
	text-align: center;
}

/* ---- Single document page ---- */
.pkh-dl-doc-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 30px;
	margin-top: 10px;
}

.pkh-dl-doc-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
}

.pkh-dl-doc-big-icon {
	font-size: 3rem;
	line-height: 1;
}

.pkh-dl-doc-header h1 {
	margin: 0 0 8px;
	font-size: 1.7rem;
}

.pkh-dl-tag {
	display: inline-block;
	background: #fef3c7;
	color: #92400e;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
}

.pkh-dl-doc-desc {
	color: #374151;
	line-height: 1.6;
	margin-bottom: 22px;
}

.pkh-dl-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0d9488;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 12px 24px;
	border-radius: 10px;
	transition: background .15s ease;
}

.pkh-dl-download-btn:hover {
	background: #0b7a70;
	color: #fff;
}

.pkh-dl-filesize {
	font-weight: 400;
	opacity: 0.85;
	font-size: 0.85rem;
}
