/**
 * Screenshot placeholder styling for the blog listing.
 *
 * Enqueued by StarterSite only while Theme Options > Screenshot Placeholders >
 * "Blog Placeholders" is on, so it costs nothing on a normal page load.
 *
 * Hand-written plain CSS rather than SCSS on purpose: the Vite build
 * (_fed/vite.config.js) uses `emptyOutDir: true` and content-hashes every file
 * in /assets, so a source-built stylesheet would require a full FE rebuild and
 * rewrite every asset hash. This file lives outside /assets so a build cannot
 * clobber it. If the FE toolchain is being rebuilt anyway, these rules can move
 * into _fed/src/css/templates/_blog.scss and this file can be deleted along
 * with the enqueue in StarterSite::enqueue_blog_placeholder_styles().
 *
 * Values mirror the theme palette: $secondary #334A56, $sky-03 #CDE8F5.
 */

/* Centre the [IMAGE] token inside the existing grey media placeholder. The
   base __image-placeholder rules already supply the size and background. */
.post-card__image-placeholder--labelled,
.blog-featured__image-placeholder--labelled {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* The [IMAGE] / [DATE] / [TITLE] / [DESCRIPTION] tokens themselves. Inherits the
   surrounding element's type scale so each token sits at the size of the content
   it stands in for, keeping the placeholder layout true to the live one. */
.placeholder-token {
	color: #334a56;
	font-variant-ligatures: none;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Media tokens sit on the pale blue placeholder, so give them a little more
   presence than the inline text tokens. */
.post-card__image-placeholder--labelled .placeholder-token,
.blog-featured__image-placeholder--labelled .placeholder-token {
	font-size: 1rem;
	font-weight: 600;
	opacity: 0.65;
}

/* Keep the date token on the same baseline as the real <time> element it
   replaces — <time> is styled via .post-card__date, which the token shares. */
.post-card__date.placeholder-token,
.blog-featured__date.placeholder-token {
	display: inline-block;
}
