/**
 * Single document embed — download link plus an inline viewer.
 *
 * Lifted out of the inline style blob in Document_Shortcodes::enqueue_assets(),
 * which returns early unless is_singular(), so an embed placed anywhere else
 * rendered unstyled. Selectors are unchanged so existing pages are unaffected.
 */

.county-document-single {
	margin: 1.5rem 0;
}

.county-document-single__link {
	margin-bottom: 1rem;
}

.county-document-single__date {
	margin-left: 0.5rem;
	color: #666;
	font-size: 0.9em;
}

.county-document-single__viewer {
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

/*
 * No min-height: the height is set per-embed on the element itself, and a floor
 * here would quietly override an editor who asked for something shorter.
 */
.county-document-single__iframe {
	display: block;
	border: none;
	width: 100%;
}
