/* Shared read-only mobile preview; public text keeps its existing field-scoped typography. */
.floweralba-mobile-copy-body {
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.floweralba-mobile-copy-controls {
	display: none;
}

.floweralba-mobile-copy-controls[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	body.single-job_listing #c27-single-listing :is(.block-field-job_description, .block-field-job-description, .block-field-description) :is(.wp-editor-content, .plain-text-content) > .pf-body {
		word-break: keep-all;
		overflow-wrap: anywhere;
	}

	.floweralba-mobile-copy-controls {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px 12px;
		margin: 0 0 12px;
		padding: 0 0 12px;
		border-bottom: 1px solid #e9ebef;
		color: #717784;
		font-size: 12px;
		line-height: 1.5;
	}

	.floweralba-mobile-copy-toggle {
		flex: 0 0 auto;
		min-height: 44px;
		margin: 0;
		padding: 7px 12px;
		border: 1px solid #dce0e6;
		border-radius: 8px;
		background: #fff;
		color: #555c68;
		font-family: inherit;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.5;
		cursor: pointer;
	}

	.floweralba-mobile-copy-toggle:hover {
		border-color: #b8bec9;
		background: #f4f5f7;
		color: #303642;
	}

	.floweralba-mobile-copy-toggle:focus-visible {
		outline: 2px solid #737e91;
		outline-offset: 3px;
	}

	html[data-floweralba-theme="dark"] .floweralba-mobile-copy-controls {
		border-color: var(--fa-dm-border, #353a45);
		color: var(--fa-dm-muted, #b1b7c3);
	}

	html[data-floweralba-theme="dark"] .floweralba-mobile-copy-toggle {
		border-color: var(--fa-dm-border, #353a45);
		background: var(--fa-dm-surface, #20242c);
		color: var(--fa-dm-text, #eff1f5);
	}

	html[data-floweralba-theme="dark"] .floweralba-mobile-copy-toggle:hover {
		border-color: var(--fa-dm-border-strong, #596170);
		background: var(--fa-dm-raised, #2b303a);
	}
}
