/* VisionRed Media Pro: attachment page styling.
 * Shared by the classic-theme fallback template (templates/attachment.php)
 * and the block-editor "Attachment Pages" template registered in
 * includes/attachment-template.php, so both render identically.
 */
.visionred-media-pro-attachment-page {
	--ink: #111827;
	--muted: #6b7280;
	--accent: #7b4a2d;
	max-width: 840px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
	color: var(--ink);
}
.visionred-media-pro-attachment-title {
	margin: 0 0 1rem;
	font-size: 1.75rem;
	line-height: 1.25;
}
/* Self-centering: the block keeps this width/centering wherever it's
 * placed (inside our own default template, or dropped into an unrelated
 * full-width Section), rather than depending on an ancestor's layout. */
.wp-block-visionred-media-pro-attachment-embed {
	max-width: 840px;
	margin-left: auto;
	margin-right: auto;
}
.visionred-media-pro-attachment-embed {
	margin: 0 0 1.5rem;
}
.visionred-media-pro-attachment-embed.wp-block-image {
	text-align: center;
}
.visionred-media-pro-attachment-embed.wp-block-image img {
	height: auto;
	max-width: 100%;
	border-radius: 6px;
}
.visionred-media-pro-attachment-embed-placeholder {
	margin: 0 0 1.5rem;
	padding: 2rem 1rem;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	color: #6b7280;
	text-align: center;
	font-style: italic;
}
.visionred-media-pro-attachment-embed.wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
}
.visionred-media-pro-attachment-embed .wp-block-file__embed {
	flex-basis: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}
.visionred-media-pro-attachment-embed .wp-block-file__button {
	background: var(--accent);
	color: #fff;
	padding: .5rem 1rem;
	border-radius: 4px;
	text-decoration: none;
}
.visionred-media-pro-attachment-embed .wp-block-file__button:hover {
	opacity: .9;
}
.visionred-media-pro-attachment-filesize {
	opacity: .85;
	font-size: .85em;
}
.visionred-media-pro-attachment-description {
	color: var(--muted);
}
