/* -------------------------------------------------------------------------
   QuitStreaming Cancel Guides
   Small additions only — Oaknut supplies the palette, type scale and buttons.
   ------------------------------------------------------------------------- */

/* Guide page ------------------------------------------------------------- */

.qs-back {
	margin-bottom: 0;
	font-size: var(--wp--preset--font-size--small);
}

.qs-back a {
	text-decoration: none;
}

.qs-back a:hover,
.qs-back a:focus {
	text-decoration: underline;
}

.qs-meta {
	gap: 0.25rem 1.25rem !important;
	opacity: 0.75;
}

.qs-meta p {
	margin: 0;
}

.qs-video {
	margin-block: var(--wp--preset--spacing--50);
}

/* Video slot before a recording is embedded. */
.qs-video-placeholder {
	display: grid !important;
	place-content: center;
	justify-items: center;
	aspect-ratio: 16 / 9;
	gap: 0.25rem !important;
	background: #f4f4f4;
	border: 1px dashed #b5b5b5;
	border-radius: 6px;
	padding: var(--wp--preset--spacing--40);
}

.qs-video-placeholder p {
	margin: 0;
	opacity: 0.55;
}

.qs-video-placeholder__label {
	font-weight: 600;
}

.qs-callout {
	border: 2px solid currentColor;
	background: #fff;
	padding: var(--wp--preset--spacing--40);
	margin-block: var(--wp--preset--spacing--50);
}

.qs-callout > :first-child {
	margin-top: 0;
}

.qs-callout > :last-child {
	margin-bottom: 0;
}

.qs-report {
	opacity: 0.7;
}

/* Directory -------------------------------------------------------------- */

.qs-search {
	margin-block: var(--wp--preset--spacing--40);
}

.qs-group-title {
	margin-top: var(--wp--preset--spacing--60);
}

.qs-directory .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--30);
}

/* Make the search field match the theme's chunky buttons. The directory sits
   on a dark background, so the input needs its own dark text color. */
.qs-search .wp-block-search__input {
	border: 2px solid currentColor;
	background: #fff;
	color: #111827;
	padding: 0.75em 1em;
}

.qs-search .wp-block-search__input::placeholder {
	color: #6b7280;
}

.qs-search .wp-block-search__button {
	border: 2px solid currentColor;
}
