/**
 * Rettig — Bildungsgutschein mobile-first leftovers only.
 *
 * Matches staging Custom HTML `#bg-mobile-first`:
 * block settings cover spacing/typography/layout; this file is only what
 * blocks cannot express.
 *
 * POST-PR (staging): after theme PR is approved + deployed, remove the page
 * Custom HTML style blocks on /bildungsgutschein-lkw-bus/ once QA passes —
 * see tracking/STAGING-POST-PR-CHECKLIST.md (“Bildungsgutschein — staging after PR”).
 *
 * Enqueued on slug `bildungsgutschein-lkw-bus` only (Assets.php).
 */

.entry-content .is-style-card {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.entry-content .is-style-card .wp-block-image,
.entry-content .is-style-card img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 781px) {
	.entry-content .wp-block-cover .wp-block-buttons {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.entry-content .wp-block-cover .wp-block-button,
	.entry-content .wp-block-cover .wp-block-button__link {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.entry-content .frm_form_field input,
	.entry-content .frm_form_field select,
	.entry-content .frm_form_field textarea {
		max-width: 100%;
		box-sizing: border-box;
	}
}

.wp-block-polylang-language-switcher {
	padding-left: 0;
	list-style: none;
}

.wp-block-polylang-language-switcher > li {
	display: inline-block;
}

/* Polylang renders the flag with an inline width/height, so !important is
   required to enlarge it; height auto keeps the 16:11 aspect ratio. */
.wp-block-polylang-language-switcher img {
	width: 20px !important;
	height: auto !important;
}
