/**
 * PureText PZG Theme — Base Styles
 *
 * Supplementary styles complementing theme.json generated CSS.
 * Kept minimal — ~95% of styling comes from theme.json.
 *
 * @package PureText_PZG
 * @since 1.0.0
 */

/* Focus accessibility — enhance keyboard navigation visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, #3B5998);
	outline-offset: 2px;
}

/* Code block — subtle rounded corners and horizontal scroll */
.wp-block-code {
	border-radius: 4px;
	overflow-x: auto;
}

/* Separator — refined styling
   Core WP uses border-bottom + currentColor; we match that pattern
   and apply opacity for a subtle, elegant divider. */
.wp-block-separator {
	border: none;
	border-bottom: 2px solid currentColor;
	opacity: 0.4;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 100%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

/* Quote block — decorative quotation marks via pseudo-element */
.wp-block-quote {
	position: relative;
}

.wp-block-quote::before {
	content: "\201C";
	font-size: 2em;
	line-height: 0.1em;
	color: var(--wp--preset--color--secondary, #686868);
	position: absolute;
	left: -0.25em;
	top: 0.3em;
}

/* Navigation — active state */
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current_page_item > a {
	font-weight: 600;
	color: var(--wp--preset--color--contrast, #111111);
}

/* Post navigation — remove default underline */
.wp-block-post-navigation-link a {
	text-decoration: none;
}

/* Comment reply link — smaller text */
.wp-block-comment-reply-link a {
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
}

/* Search button — pointer cursor */
.wp-block-search__button {
	cursor: pointer;
}

/* Box sizing inheritance */
body {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}
