/*
Theme Name: Versbloed
Theme URI: https://thewiseminds.nl
Author: Wise Minds
Author URI: https://thewiseminds.nl
Description: Versbloed WordPress theme. Site chrome and homepage matching the Figma look.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
Version: 0.2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: versbloed
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, translation-ready, wide-blocks, blog
*/

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.12em;
}

/* Focus outline removed — Tab focus no longer shows an extra border/outline. */
:where(.wp-site-blocks *:focus),
:where(.wp-site-blocks *:focus-visible) {
	outline: none !important;
	box-shadow: none !important;
}

/* Clickable buttons and bars never flip to white or gain a border on any state. */
:where(.wp-site-blocks .wp-block-button__link, .wp-site-blocks .wp-element-button, .wp-site-blocks a.vb-btn, .wp-site-blocks button.vb-btn, .wp-site-blocks .wpcf7 input[type="submit"], .wp-site-blocks .wpcf7-submit):where(:focus:not(:focus-visible)) {
	outline: none;
}

:where(.wp-site-blocks .wp-block-button__link, .wp-site-blocks .wp-element-button, .wp-site-blocks a.vb-btn, .wp-site-blocks button.vb-btn, .wp-site-blocks .wpcf7 input[type="submit"], .wp-site-blocks .wpcf7-submit):where(:link, :visited, :hover, :focus, :focus-visible, :active) {
	border: 0;
	box-shadow: none;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/* Global removal of Tab focus border/outline for all focusable elements. */
:where(a, button, input, select, textarea, [tabindex]):where(:focus, :focus-visible) {
	outline: none !important;
	box-shadow: none !important;
}

/* Hide WordPress skip link "Ga naar de inhoud" that appears on first Tab after reload. */
a.skip-link.screen-reader-text,
#wp-skip-link,
.wp-block-template-skip-link {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	border: 0 !important;
}

a.skip-link.screen-reader-text:focus,
a.skip-link.screen-reader-text:focus-visible,
#wp-skip-link:focus,
#wp-skip-link:focus-visible,
.wp-block-template-skip-link:focus,
.wp-block-template-skip-link:focus-visible {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
