/**
 * APDB Citation Styles
 *
 * Styles for APA-style citation sections
 *
 * @package APDB
 * @since 1.0.0
 */

/* ===========================
   CITATION SECTION
   =========================== */

.apdb-citation-section {
	margin-top: 2rem;

}

.apdb-citation-label {
	margin: 0 0 0.4rem;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888;

}

.apdb-citation-box {
	background: transparent;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	padding: 1rem 0;
	margin-bottom: 1rem;
	position: relative;

}

.apdb-citation-text {
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 0.875rem;
	line-height: 1.55;
	margin-bottom: 0.75rem;
	color: #555;
	word-wrap: break-word;
	overflow-wrap: break-word;
	text-indent: -1.25rem;
	padding-left: 1.25rem;

}

.apdb-citation-text em {
	font-style: italic;

}


.apdb-citation-copy-btn.copied {
	background: #28a745;

}

.apdb-citation-copy-btn.copied:hover {
	background: #218838;

}.apdb-citation-copy-btn i,
.apdb-citation-copy-btn .aps-icon {
	font-size: 1rem;

}

/* Mobile responsive */
@media (max-width: 768px) {
	.apdb-citation-box {
		padding: 0.75rem 0;

	}

	.apdb-citation-text {
		font-size: 0.8125rem;

	}

	.apdb-citation-copy-btn {
		width: 100%;
		justify-content: center;
		padding: 0.75rem 1rem;

	}

}

/* Print styles */
@media print {
	.apdb-citation-copy-btn {
		display: none;

	}

	.apdb-citation-box {
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		page-break-inside: avoid;

	}

}
