/* Loaded after w2dc's directory-front.css (see w2dc_front_enqueue_styles()) —
   wins the cascade automatically, no !important needed. */

/* Responsive 16:9 wrapper for [w2dc-youtube] embeds expanded by
   w2dc_cde_expand_youtube_embeds() (PubTIC plugin, w2dc/classic-description-editor.php). */
.w2dc-youtube-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 1em 0;
}

.w2dc-youtube-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Single listing fields: show values only, no "label | value" columns.
   w2dc 3.3.7 renders each field as a flex row with a 180px label column, plus
   a matching 180px ::before spacer on unlabelled rows in a labelled group.
   Hiding both leaves the value full width. (Per-field "Show label" toggles in
   the directory page editor do the same, but this covers every field.) */
.w2dc-listing-field__label,
.w2dc-listing-group--labeled .w2dc-listing-field--no-label::before {
	display: none;
}
