/* Editor button styling (uses zgr-single-post__author base) */

.zgr-single-post__editor {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: inherit;
}

.zgr-editor-role-label {
	font-size: 0.85em;
	opacity: 0.7;
	margin-left: 0.25rem;
}

/* Editor modal styling (reuses zgr-modal patterns) */

.zgr-editor-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
}

.zgr-editor-modal[hidden] {
	display: none;
}

.zgr-editor-modal .zgr-modal-box {
	position: relative;
	width: 90%;
	max-width: 600px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 0.5rem;
	padding: 2rem;
}

.zgr-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	color: #6b7280;
	transition: color 0.2s ease;
}

.zgr-modal-close:hover {
	color: #1f2937;
}

.zgr-modal-close svg {
	width: 24px;
	height: 24px;
}

.zgr-editor-modal-content {
	text-align: center;
}

.zgr-editor-modal-avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1.5rem;
	display: block;
	background: #e5e7eb;
}

.zgr-editor-modal-name {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1f2937;
}

.zgr-editor-modal-title {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	color: #4b5563;
	font-weight: 600;
}

.zgr-editor-modal-bio {
	text-align: left;
	margin: 0 0 1.5rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #374151;
}

.zgr-editor-modal-section {
	text-align: left;
	margin: 1.5rem 0;
	padding: 1rem;
	background: #f9fafb;
	border-radius: 0.375rem;
}

.zgr-editor-modal-section h4 {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1f2937;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.zgr-editor-modal-item {
	margin: 0 0 0.75rem;
	padding: 0 0 0.75rem;
	border-bottom: 1px solid #e5e7eb;
}

.zgr-editor-modal-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.zgr-editor-modal-item-title {
	margin: 0 0 0.25rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #1f2937;
}

.zgr-editor-modal-item-org {
	margin: 0 0 0.25rem;
	font-size: 0.875rem;
	color: #4b5563;
}

.zgr-editor-modal-item-date,
.zgr-editor-modal-item-year {
	margin: 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

.zgr-editor-modal-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
}

.zgr-editor-modal-link {
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	background: #122b50;
	border: 1px solid #122b50;
	border-radius: 0.375rem;
	text-decoration: none;
	transition: all 0.2s ease;
}

.zgr-editor-modal-link:hover {
	background: #0d1f38;
	border-color: #0d1f38;
}

@media (max-width: 640px) {
	.zgr-editor-modal .zgr-modal-box {
		width: 95%;
		padding: 1.5rem;
	}

	.zgr-editor-modal-avatar {
		width: 100px;
		height: 100px;
	}

	.zgr-editor-modal-name {
		font-size: 1.25rem;
	}

	.zgr-editor-modal-links {
		flex-direction: column;
	}

	.zgr-editor-modal-link {
		width: 100%;
		text-align: center;
	}
}
