/*
Theme Name: New Kid
Theme URI: https://wilcosky.com/new-kid
Author: Billy Wilcosky
Author URI: https://wilcosky.com
Description: New Kid with blocks, let's rock! A NeoBrutalism block theme.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-kid
Tags: full-site-editing, custom-colors, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready, wide-blocks
*/

/* NeoBrutalismCSS is now enqueued via wp_enqueue_style() in functions.php */

/* 
 * Clean NeoBrutalism Integration
 * High specificity selectors without !important - respects all WordPress editor controls
 */

/* NeoBrutalism CSS Custom Properties for Link Customization and Dark Mode */
:root {
	/* Link underline customization variables */
	--neo-link-underline-color: var(--wp--preset--color--bright-red, #ff0000);
	--neo-link-underline-thickness: 3px;
	--neo-nav-link-underline-thickness: 2px;
	--neo-link-underline-style: solid;
	
	/* Light mode color scheme (default) */
	--neo-bg-primary: #ffffff;
	--neo-bg-secondary: #f5f5f5;
	--neo-text-primary: #000000;
	--neo-text-secondary: #333333;
	--neo-border-primary: #000000;
	--neo-shadow-primary: #000000;
	
	/* NeoBrutalism color variants for light mode */
	--neo-highlight-bg: #fdfd96;
	--neo-alert-bg: #ff5733;
	--neo-success-bg: #40d39c;
	--neo-code-bg: #000000;
	--neo-code-text: #40d39c;
	
	/* Accessibility focus indicators */
	--neo-focus-color: #0066cc;
	--neo-focus-outline: 3px solid var(--neo-focus-color);
	--neo-focus-offset: 2px;
}

/* Dark mode color scheme */
@media (prefers-color-scheme: dark) {
	:root {
		/* Dark mode color scheme */
		--neo-bg-primary: #1a1a1a;
		--neo-bg-secondary: #2a2a2a;
		--neo-text-primary: #ffffff;
		--neo-text-secondary: #cccccc;
		--neo-border-primary: #ffffff;
		--neo-shadow-primary: #ffffff;
		
		/* NeoBrutalism color variants for dark mode */
		--neo-highlight-bg: #4a4a00;
		--neo-alert-bg: #cc3300;
		--neo-success-bg: #00aa66;
		--neo-code-bg: #ffffff;
		--neo-code-text: #00aa66;
		
		/* Dark mode focus indicators */
		--neo-focus-color: #66b3ff;
	}
}

/* Skip Links for Keyboard Navigation */
.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
	text-decoration: none;
	background: var(--neo-focus-color);
	color: var(--neo-bg-primary);
	padding: 8px 16px;
	border: 2px solid var(--neo-border-primary);
	font-weight: bold;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
}

/* Ensure NeoBrutalism styles work with FSE */
body {
	font-family: 'Courier New', monospace;
	background-color: var(--neo-bg-primary);
	color: var(--neo-text-primary);
	margin: 1rem;
	padding: 0;
}

/* Site-wide container margin */
.wp-site-blocks {
	margin: 1rem;
	max-width: calc(100vw - 2rem);
}

/* Note: alignfull class removed from theme to prevent overflow issues */

/* Default NeoBrutalism styling - Shadows only when not overridden by editor */
.wp-block-group:not([style*="box-shadow"]),
.wp-block-heading:not([style*="box-shadow"]),
.wp-block-quote:not([style*="box-shadow"]),
.wp-block-image:not([style*="box-shadow"]),
.wp-block-navigation:not([style*="box-shadow"]),
.wp-block-cover:not([style*="box-shadow"]),
.wp-block-code:not([style*="box-shadow"]),
.wp-block-preformatted:not([style*="box-shadow"]),
.wp-block-verse:not([style*="box-shadow"]),
.wp-block-pullquote:not([style*="box-shadow"]),
.wp-block-embed:not([style*="box-shadow"]),
.wp-block-video:not([style*="box-shadow"]),
.wp-block-audio:not([style*="box-shadow"]),
.wp-block-file:not([style*="box-shadow"]),
.wp-block-calendar:not([style*="box-shadow"]),
.wp-block-search:not([style*="box-shadow"]),
.wp-block-social-links:not([style*="box-shadow"]),
.wp-block-tag-cloud:not([style*="box-shadow"]),
.wp-block-categories:not([style*="box-shadow"]),
.wp-block-archives:not([style*="box-shadow"]),
.wp-block-latest-posts:not([style*="box-shadow"]),
.wp-block-latest-comments:not([style*="box-shadow"]),
.wp-block-rss:not([style*="box-shadow"]) {
	/* NeoBrutalism defaults - shadows only when not set by editor */
	border: 4px solid var(--neo-border-primary);
	box-shadow: 8px 8px 0 var(--neo-shadow-primary);
	padding: 2rem;
	margin: 0;
	background: var(--neo-bg-primary);
	color: var(--neo-text-primary);
}

/* Base styling for all blocks (borders, padding, etc.) regardless of shadow settings */
.wp-block-group,
.wp-block-heading,
.wp-block-quote,
.wp-block-image,
.wp-block-navigation,
.wp-block-cover,
.wp-block-code,
.wp-block-preformatted,
.wp-block-verse,
.wp-block-pullquote,
.wp-block-embed,
.wp-block-video,
.wp-block-audio,
.wp-block-file,
.wp-block-calendar,
.wp-block-search,
.wp-block-social-links,
.wp-block-tag-cloud,
.wp-block-categories,
.wp-block-archives,
.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-rss {
	/* Base NeoBrutalism styling - always applied */
	border: 4px solid var(--neo-border-primary);
	padding: 2rem;
	margin-bottom: 2rem;
	background: var(--neo-bg-primary);
	color: var(--neo-text-primary);
}

/* Default button styling - Shadow only when not overridden by editor */
.wp-block-button:not([style*="box-shadow"]) .wp-block-button__link {
	box-shadow: 8px 8px 0 var(--neo-shadow-primary);
}

/* Base button styling - Always applied */
.wp-block-button .wp-block-button__link {
	border: 4px solid var(--neo-border-primary);
	font-family: Impact, 'Arial Black', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 1rem 2rem;
	transition: all 0.1s ease;
	background: var(--neo-bg-primary);
	color: var(--neo-text-primary);
	display: inline-block;
	margin: 0;
}

/* Dynamic shadow scaling based on border width - High specificity without !important */
/* Handle both spaced and non-spaced border-width formats */
.wp-site-blocks [style*="border-width:1px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 1px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:1px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 1px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 2px 2px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-width:2px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 2px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:2px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 2px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 4px 4px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-width:3px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 3px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:3px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 3px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 6px 6px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-width:4px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 4px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:4px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 4px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 8px 8px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-width:5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 10px 10px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-width:6px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 6px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:6px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 6px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 12px 12px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-width:8px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 8px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:8px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 8px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 16px 16px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-width:10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-width: 10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width:10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-width: 10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 20px 20px 0 var(--neo-shadow-primary); 
}

/* Dynamic border radius scaling - High specificity without !important */
/* Handle both spaced and non-spaced border-radius formats - Only when shadows not disabled */

.wp-site-blocks [style*="border-radius:5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-radius: 5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius:5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius: 5px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 8px 8px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-radius:10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-radius: 10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius:10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius: 10px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 8px 8px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-radius:20px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-radius: 20px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius:20px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius: 20px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 8px 8px 0 var(--neo-shadow-primary); 
}

.wp-site-blocks [style*="border-radius:30px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-radius: 30px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius:30px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius: 30px"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 8px 8px 0 var(--neo-shadow-primary); 
}

/* Percentage border radius support */
.wp-site-blocks [style*="border-radius:50%"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.wp-site-blocks [style*="border-radius: 50%"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius:50%"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]),
.editor-styles-wrapper [style*="border-radius: 50%"]:not([style*="box-shadow:none"]):not([style*="box-shadow: none"]) { 
    box-shadow: 8px 8px 0 var(--neo-shadow-primary); 
}

/* Custom Style Defaults - All customizable via editor */

/* Highlight Style - Default pale yellow */
.wp-block-group.is-style-highlight,
.wp-block-column.is-style-highlight,
.wp-block-paragraph.is-style-highlight,
.wp-block-heading.is-style-highlight,
.wp-block-quote.is-style-highlight,
.wp-block-image.is-style-highlight,
.wp-block-button.is-style-highlight,
.wp-block-navigation.is-style-highlight,
.wp-block-list.is-style-highlight,
.wp-block-cover.is-style-highlight,
.wp-block-media-text.is-style-highlight,
.wp-block-gallery.is-style-highlight,
.wp-block-table.is-style-highlight,
.wp-block-code.is-style-highlight,
.wp-block-preformatted.is-style-highlight,
.wp-block-verse.is-style-highlight,
.wp-block-pullquote.is-style-highlight,
.wp-block-separator.is-style-highlight,
.wp-block-embed.is-style-highlight,
.wp-block-video.is-style-highlight,
.wp-block-audio.is-style-highlight,
.wp-block-file.is-style-highlight,
.wp-block-calendar.is-style-highlight,
.wp-block-search.is-style-highlight,
.wp-block-social-links.is-style-highlight,
.wp-block-tag-cloud.is-style-highlight,
.wp-block-categories.is-style-highlight,
.wp-block-archives.is-style-highlight,
.wp-block-latest-posts.is-style-highlight,
.wp-block-latest-comments.is-style-highlight,
.wp-block-rss.is-style-highlight {
	background: var(--neo-highlight-bg);
	color: var(--neo-text-primary);
}

/* Alert Style - Default orange */
.wp-block-group.is-style-alert,
.wp-block-column.is-style-alert,
.wp-block-paragraph.is-style-alert,
.wp-block-heading.is-style-alert,
.wp-block-quote.is-style-alert,
.wp-block-image.is-style-alert,
.wp-block-button.is-style-alert,
.wp-block-navigation.is-style-alert,
.wp-block-list.is-style-alert,
.wp-block-cover.is-style-alert,
.wp-block-media-text.is-style-alert,
.wp-block-gallery.is-style-alert,
.wp-block-table.is-style-alert,
.wp-block-code.is-style-alert,
.wp-block-preformatted.is-style-alert,
.wp-block-verse.is-style-alert,
.wp-block-pullquote.is-style-alert,
.wp-block-separator.is-style-alert,
.wp-block-embed.is-style-alert,
.wp-block-video.is-style-alert,
.wp-block-audio.is-style-alert,
.wp-block-file.is-style-alert,
.wp-block-calendar.is-style-alert,
.wp-block-search.is-style-alert,
.wp-block-social-links.is-style-alert,
.wp-block-tag-cloud.is-style-alert,
.wp-block-categories.is-style-alert,
.wp-block-archives.is-style-alert,
.wp-block-latest-posts.is-style-alert,
.wp-block-latest-comments.is-style-alert,
.wp-block-rss.is-style-alert {
	background: var(--neo-alert-bg);
	color: var(--neo-text-primary);
	font-family: 'Lexend Mega', Impact, 'Arial Black', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
}

/* Success Style - Default green */
.wp-block-group.is-style-success,
.wp-block-column.is-style-success,
.wp-block-paragraph.is-style-success,
.wp-block-heading.is-style-success,
.wp-block-quote.is-style-success,
.wp-block-image.is-style-success,
.wp-block-button.is-style-success,
.wp-block-navigation.is-style-success,
.wp-block-list.is-style-success,
.wp-block-cover.is-style-success,
.wp-block-media-text.is-style-success,
.wp-block-gallery.is-style-success,
.wp-block-table.is-style-success,
.wp-block-code.is-style-success,
.wp-block-preformatted.is-style-success,
.wp-block-verse.is-style-success,
.wp-block-pullquote.is-style-success,
.wp-block-separator.is-style-success,
.wp-block-embed.is-style-success,
.wp-block-video.is-style-success,
.wp-block-audio.is-style-success,
.wp-block-file.is-style-success,
.wp-block-calendar.is-style-success,
.wp-block-search.is-style-success,
.wp-block-social-links.is-style-success,
.wp-block-tag-cloud.is-style-success,
.wp-block-categories.is-style-success,
.wp-block-archives.is-style-success,
.wp-block-latest-posts.is-style-success,
.wp-block-latest-comments.is-style-success,
.wp-block-rss.is-style-success {
	background: var(--neo-success-bg);
	color: var(--neo-text-primary);
	font-family: 'Proza Libre', 'Courier New', monospace;
	font-weight: 600;
}

/* Button styles - Customizable */
.wp-block-button.is-style-highlight .wp-block-button__link {
	background: var(--neo-highlight-bg);
	color: var(--neo-text-primary);
}

.wp-block-button.is-style-alert .wp-block-button__link {
	background: var(--neo-alert-bg);
	color: var(--neo-text-primary);
	font-family: 'Lexend Mega', Impact, 'Arial Black', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
}

.wp-block-button.is-style-success .wp-block-button__link {
	background: var(--neo-success-bg);
	color: var(--neo-text-primary);
	font-family: 'Proza Libre', 'Courier New', monospace;
	font-weight: 600;
}

/* Typography defaults */
h1, h2, h3, h4, h5, h6 {
	font-family: Impact, 'Arial Black', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--neo-text-primary);
}

p {
	font-family: 'Courier New', monospace;
	line-height: 1.6;
	color: var(--neo-text-primary);
}

/* Link styling - Separate control for text color and underline */
a:not(.wp-block-button__link):not(.wp-block-site-logo):not(.wp-block-post-featured-image__link) {
	/* Link text color - controlled by WordPress editor */
	color: var(--wp--preset--color--black, #000000);
	/* Link underline - separately customizable */
	text-decoration: underline;
	text-decoration-color: var(--neo-link-underline-color);
	text-decoration-thickness: var(--neo-link-underline-thickness);
	text-decoration-style: var(--neo-link-underline-style);
	transition: all 0.1s ease;
}

a:not(.wp-block-button__link):not(.wp-block-site-logo):not(.wp-block-post-featured-image__link):hover {
	background-color: var(--wp--preset--color--bright-yellow, #ffff00);
	color: var(--wp--preset--color--black, #000000);
	text-decoration: underline;
	/* Maintain custom underline on hover */
	text-decoration-color: var(--neo-link-underline-color);
	text-decoration-thickness: var(--neo-link-underline-thickness);
}

/* Navigation links - Separate underline customization */
.wp-block-navigation a,
.wp-block-post-navigation-link a,
.wp-block-query-pagination a,
.wp-block-post-author a,
.wp-block-post-date a,
.wp-block-post-terms a,
.wp-block-comments-pagination a {
	text-decoration: underline;
	text-decoration-color: var(--neo-link-underline-color);
	text-decoration-thickness: var(--neo-nav-link-underline-thickness);
	text-decoration-style: var(--neo-link-underline-style);
}

.wp-block-navigation a:hover,
.wp-block-post-navigation-link a:hover,
.wp-block-query-pagination a:hover,
.wp-block-post-author a:hover,
.wp-block-post-date a:hover,
.wp-block-post-terms a:hover,
.wp-block-comments-pagination a:hover {
	background-color: var(--wp--preset--color--bright-yellow, #ffff00);
	text-decoration: underline;
	text-decoration-color: var(--neo-link-underline-color);
}

/* When user sets custom link colors, use those for underlines */
.has-link-color a:not(.wp-block-button__link),
[style*="--wp--preset--color--"] a:not(.wp-block-button__link),
.has-text-color a:not(.wp-block-button__link),
/* WordPress editor inline styles override */
[style*="color:"] a:not(.wp-block-button__link),
/* Block-level link color overrides */
.wp-block-paragraph.has-link-color a,
.wp-block-heading.has-link-color a,
.wp-block-list.has-link-color a,
.wp-block-navigation.has-link-color a,
/* Global link color setting override */
.wp-site-blocks.has-link-color a:not(.wp-block-button__link) {
	text-decoration-color: currentColor;
}

/* Force user customization to take precedence */
body.has-link-color a:not(.wp-block-button__link),
html.has-link-color a:not(.wp-block-button__link) {
	text-decoration-color: currentColor;
}

/* Form elements */
input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
	border: 3px solid var(--neo-border-primary);
	box-shadow: 4px 4px 0 var(--neo-shadow-primary);
	font-family: 'Courier New', monospace;
	font-weight: bold;
	background: var(--neo-bg-primary);
	color: var(--neo-text-primary);
	padding: 12px;
}

input:focus,
textarea:focus {
	outline: var(--neo-focus-outline);
	outline-offset: var(--neo-focus-offset);
	box-shadow: 4px 4px 0 #ff0000;
	border-color: #ff0000;
}

/* Images */
img {
	border: 4px solid var(--neo-border-primary);
	box-shadow: 8px 8px 0 var(--neo-shadow-primary);
}

/* Paragraph blocks - Clean by default, NeoBrutalism available via block styles */
.wp-block-paragraph {
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

/* Wide layout support for posts and pages - handled above */

/* Note: alignfull styles removed to prevent overflow issues */

/* Note: alignfull content spacing removed */

/* Comprehensive Responsive Design */

/* Mobile-first responsive breakpoints */
@media (max-width: 768px) {
	/* Smaller site margin on mobile */
	body {
		margin: 0.5rem;
	}
	
	.wp-site-blocks {
		margin: 0.5rem;
		max-width: calc(100vw - 1rem);
	}
	
	/* Note: alignfull mobile styles removed */
	
	/* Note: alignfull mobile adjustments removed */
	
	/* All NeoBrutalism blocks - Reduced padding on mobile */
	.wp-block-heading,
	.wp-block-quote,
	.wp-block-image,
	.wp-block-navigation,
	.wp-block-cover,
	.wp-block-media-text,
	.wp-block-gallery,
	.wp-block-table,
	.wp-block-code,
	.wp-block-preformatted,
	.wp-block-verse,
	.wp-block-pullquote,
	.wp-block-separator,
	.wp-block-embed,
	.wp-block-video,
	.wp-block-audio,
	.wp-block-file,
	.wp-block-calendar,
	.wp-block-search,
	.wp-block-social-links,
	.wp-block-tag-cloud,
	.wp-block-categories,
	.wp-block-archives,
	.wp-block-latest-posts,
	.wp-block-latest-comments,
	.wp-block-rss {
		padding: 1rem !important;
	}
	
	/* Mobile navigation adjustments */
	.wp-block-navigation {
		flex-wrap: wrap;
		width: 100%;
		max-width: 100%;
	}
	
	.wp-block-navigation__responsive-container-open {
		display: block;
	}
	
	/* Note: alignfull header adjustments removed */
	
	/* Ensure site title and navigation don't overflow */
	.wp-block-site-title {
		flex-shrink: 1;
		min-width: 0;
		word-wrap: break-word;
	}
	
	.wp-block-navigation {
		flex-shrink: 0;
		min-width: fit-content;
	}
	
	/* Note: alignfull header group fixes removed */
	
	/* Mobile columns adjustments */
	.wp-block-columns {
		flex-direction: column;
	}
	
	.wp-block-column {
		flex-basis: 100%;
		margin-bottom: 1rem;
	}
	
	/* Mobile social links adjustments */
	.wp-block-social-links {
		justify-content: center;
	}
	
	/* Mobile comments adjustments */
	.wp-block-comments {
		padding: 1rem;
	}
	
	.wp-block-comment-template {
		margin-bottom: 1rem;
		border: none !important;
		box-shadow: none !important;
	}
	
	/* Reduce border width on mobile for better proportions */
	.wp-block-heading,
	.wp-block-quote,
	.wp-block-image,
	.wp-block-navigation,
	.wp-block-cover,
	.wp-block-media-text,
	.wp-block-gallery,
	.wp-block-table,
	.wp-block-code,
	.wp-block-preformatted,
	.wp-block-verse,
	.wp-block-pullquote,
	.wp-block-separator,
	.wp-block-embed,
	.wp-block-video,
	.wp-block-audio,
	.wp-block-file,
	.wp-block-calendar,
	.wp-block-search,
	.wp-block-social-links,
	.wp-block-tag-cloud,
	.wp-block-categories,
	.wp-block-archives,
	.wp-block-latest-posts,
	.wp-block-latest-comments,
	.wp-block-rss {
		border-width: 2px !important;
	}
	
	/* Scale down shadows on mobile */
	.wp-block-heading:not([style*="box-shadow"]),
	.wp-block-quote:not([style*="box-shadow"]),
	.wp-block-image:not([style*="box-shadow"]),
	.wp-block-navigation:not([style*="box-shadow"]),
	.wp-block-list:not([style*="box-shadow"]),
	.wp-block-cover:not([style*="box-shadow"]),
	.wp-block-media-text:not([style*="box-shadow"]),
	.wp-block-gallery:not([style*="box-shadow"]),
	.wp-block-table:not([style*="box-shadow"]),
	.wp-block-code:not([style*="box-shadow"]),
	.wp-block-preformatted:not([style*="box-shadow"]),
	.wp-block-verse:not([style*="box-shadow"]),
	.wp-block-pullquote:not([style*="box-shadow"]),
	.wp-block-separator:not([style*="box-shadow"]),
	.wp-block-embed:not([style*="box-shadow"]),
	.wp-block-video:not([style*="box-shadow"]),
	.wp-block-audio:not([style*="box-shadow"]),
	.wp-block-file:not([style*="box-shadow"]),
	.wp-block-calendar:not([style*="box-shadow"]),
	.wp-block-search:not([style*="box-shadow"]),
	.wp-block-social-links:not([style*="box-shadow"]),
	.wp-block-tag-cloud:not([style*="box-shadow"]),
	.wp-block-categories:not([style*="box-shadow"]),
	.wp-block-archives:not([style*="box-shadow"]),
	.wp-block-latest-posts:not([style*="box-shadow"]),
	.wp-block-latest-comments:not([style*="box-shadow"]),
	.wp-block-rss:not([style*="box-shadow"]) {
		box-shadow: 4px 4px 0 var(--neo-shadow-primary) !important;
	}
	
	/* Button responsive adjustments */
	.wp-block-button.is-style-success .wp-block-button__link,
	.wp-block-button.is-style-highlight .wp-block-button__link,
	.wp-block-button.is-style-alert .wp-block-button__link {
		padding: 0.8rem 1.5rem !important;
		font-size: 1rem !important;
	}
	
	/* Images responsive */
	img {
		border-width: 2px !important;
		box-shadow: 4px 4px 0 var(--neo-shadow-primary) !important;
	}
	
	/* Separator responsive adjustments */
	.wp-block-separator {
		margin: 1.5rem 0 !important;
		border-top: 1px solid #ccc !important;
	}
	
	.wp-block-separator.is-style-wide {
		margin: 2rem 0 !important;
		border-top: 1px solid #ccc !important;
	}
	
	.wp-block-separator.is-style-dots::before {
		font-size: 1.2rem !important;
		letter-spacing: 1.5rem !important;
		color: #ccc !important;
	}
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
	/* Medium border and shadow for tablets */
	.wp-block-group:not([style*="box-shadow"]),
	.wp-block-column:not([style*="box-shadow"]),
	.wp-block-heading:not([style*="box-shadow"]),
	.wp-block-quote:not([style*="box-shadow"]),
	.wp-block-image:not([style*="box-shadow"]),
	.wp-block-navigation:not([style*="box-shadow"]),
	.wp-block-list:not([style*="box-shadow"]),
	.wp-block-cover:not([style*="box-shadow"]),
	.wp-block-media-text:not([style*="box-shadow"]),
	.wp-block-gallery:not([style*="box-shadow"]),
	.wp-block-table:not([style*="box-shadow"]),
	.wp-block-code:not([style*="box-shadow"]),
	.wp-block-preformatted:not([style*="box-shadow"]),
	.wp-block-verse:not([style*="box-shadow"]),
	.wp-block-pullquote:not([style*="box-shadow"]),
	.wp-block-separator:not([style*="box-shadow"]),
	.wp-block-embed:not([style*="box-shadow"]),
	.wp-block-video:not([style*="box-shadow"]),
	.wp-block-audio:not([style*="box-shadow"]),
	.wp-block-file:not([style*="box-shadow"]),
	.wp-block-calendar:not([style*="box-shadow"]),
	.wp-block-search:not([style*="box-shadow"]),
	.wp-block-social-links:not([style*="box-shadow"]),
	.wp-block-tag-cloud:not([style*="box-shadow"]),
	.wp-block-categories:not([style*="box-shadow"]),
	.wp-block-archives:not([style*="box-shadow"]),
	.wp-block-latest-posts:not([style*="box-shadow"]),
	.wp-block-latest-comments:not([style*="box-shadow"]),
	.wp-block-rss:not([style*="box-shadow"]) {
		box-shadow: 6px 6px 0 var(--neo-shadow-primary);
	}
	
	/* Tablet padding adjustments */
	.wp-block-group,
	.wp-block-column,
	.wp-block-heading,
	.wp-block-quote,
	.wp-block-image,
	.wp-block-navigation,
	.wp-block-list,
	.wp-block-cover,
	.wp-block-media-text,
	.wp-block-gallery,
	.wp-block-table,
	.wp-block-code,
	.wp-block-preformatted,
	.wp-block-verse,
	.wp-block-pullquote,
	.wp-block-separator,
	.wp-block-embed,
	.wp-block-video,
	.wp-block-audio,
	.wp-block-file,
	.wp-block-calendar,
	.wp-block-search,
	.wp-block-social-links,
	.wp-block-tag-cloud,
	.wp-block-categories,
	.wp-block-archives,
	.wp-block-latest-posts,
	.wp-block-latest-comments,
	.wp-block-rss {
		padding: 1.5rem;
	}
	
	/* Separator tablet adjustments */
	.wp-block-separator {
		margin: 2.5rem 0 !important;
		border-top: 1px solid #ccc !important;
	}
	
	.wp-block-separator.is-style-wide {
		margin: 3rem 0 !important;
		border-top: 2px solid #ccc !important;
	}
	
	.wp-block-separator.is-style-dots::before {
		font-size: 1.4rem !important;
		letter-spacing: 1.8rem !important;
		color: #ccc !important;
	}
}

/* Large screen optimizations */
@media (min-width: 1400px) {
	/* Enhanced shadows for large screens */
	.wp-block-group:not([style*="box-shadow"]),
	.wp-block-column:not([style*="box-shadow"]),
	.wp-block-heading:not([style*="box-shadow"]),
	.wp-block-quote:not([style*="box-shadow"]),
	.wp-block-image:not([style*="box-shadow"]),
	.wp-block-navigation:not([style*="box-shadow"]),
	.wp-block-list:not([style*="box-shadow"]),
	.wp-block-cover:not([style*="box-shadow"]),
	.wp-block-media-text:not([style*="box-shadow"]),
	.wp-block-gallery:not([style*="box-shadow"]),
	.wp-block-table:not([style*="box-shadow"]),
	.wp-block-code:not([style*="box-shadow"]),
	.wp-block-preformatted:not([style*="box-shadow"]),
	.wp-block-verse:not([style*="box-shadow"]),
	.wp-block-pullquote:not([style*="box-shadow"]),
	.wp-block-separator:not([style*="box-shadow"]),
	.wp-block-embed:not([style*="box-shadow"]),
	.wp-block-video:not([style*="box-shadow"]),
	.wp-block-audio:not([style*="box-shadow"]),
	.wp-block-file:not([style*="box-shadow"]),
	.wp-block-calendar:not([style*="box-shadow"]),
	.wp-block-search:not([style*="box-shadow"]),
	.wp-block-social-links:not([style*="box-shadow"]),
	.wp-block-tag-cloud:not([style*="box-shadow"]),
	.wp-block-categories:not([style*="box-shadow"]),
	.wp-block-archives:not([style*="box-shadow"]),
	.wp-block-latest-posts:not([style*="box-shadow"]),
	.wp-block-latest-comments:not([style*="box-shadow"]),
	.wp-block-rss:not([style*="box-shadow"]) {
		box-shadow: 10px 10px 0 var(--neo-shadow-primary);
	}
	
	/* Separator large screen adjustments */
	.wp-block-separator {
		margin: 3.5rem 0 !important;
		border-top: 1px solid #ccc !important;
	}
	
	.wp-block-separator.is-style-wide {
		margin: 4rem 0 !important;
		border-top: 2px solid #ccc !important;
	}
	
	.wp-block-separator.is-style-dots::before {
		font-size: 1.8rem !important;
		letter-spacing: 2.5rem !important;
		color: #ccc !important;
	}
}

/* Clean content blocks - No NeoBrutalism styling by default */
.wp-block-column,
.wp-block-paragraph,
.wp-block-list,
.wp-block-table,
.wp-block-gallery,
.wp-block-media-text {
	border: none;
	box-shadow: none;
	padding: 0;
	margin-bottom: 1.5rem;
	background: transparent;
}

/* Semantic HTML elements - No NeoBrutalism styling */
header,
main,
footer {
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

/* Spacer and Separator blocks - Clean, no NeoBrutalism styling */
.wp-block-spacer {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Comment template - Clean, no NeoBrutalism styling */
.wp-block-comment-template {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Default separator - simple line */
.wp-block-separator {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 2rem 0 !important;
	border-top: 1px solid #ccc !important;
	height: 0 !important;
	width: 100% !important;
}

/* Wide separator - thicker line */
.wp-block-separator.is-style-wide {
	border-top: 2px solid #ccc !important;
	margin: 3rem 0 !important;
}

/* Dots separator - centered dots */
.wp-block-separator.is-style-dots {
	border: none !important;
	text-align: center !important;
	line-height: 1 !important;
	height: auto !important;
}

.wp-block-separator.is-style-dots::before {
	content: "•••" !important;
	color: #ccc !important;
	font-size: 1.5rem !important;
	letter-spacing: 2rem !important;
}

/* List specific styling */
.wp-block-list {
	margin-left: 2rem;
}

/* Paragraph specific styling */
.wp-block-paragraph {
	line-height: 1.6;
}

/* Table specific clean styling */
.wp-block-table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table table {
	border: 1px solid #ddd;
	border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
	border: 1px solid #ddd;
	padding: 0.75rem;
	text-align: left;
}

.wp-block-table th {
	background-color: #f5f5f5;
	font-weight: bold;
}

/* Gallery specific clean styling */
.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.wp-block-gallery .wp-block-image {
	border: none;
	box-shadow: none;
}

/* Media-text specific clean styling */
.wp-block-media-text {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

/* Professional block spacing and padding */

/* Major container blocks - Extra spacing */
.wp-block-group {
	margin-bottom: 1.5rem !important;
}

/* Heading hierarchy spacing */
.wp-block-heading {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}

/* Quote blocks - Generous spacing */
.wp-block-quote,
.wp-block-pullquote {
	margin-bottom: 2rem;
	padding: 2rem;
}

/* Media blocks - Moderate spacing */
.wp-block-image,
.wp-block-video,
.wp-block-audio,
.wp-block-embed {
	margin-bottom: 2rem;
	padding: 1rem;
}

/* Featured images - 100% width, half height, object-fit cover */
.wp-block-post-content .wp-block-post-featured-image {
	width: 100% !important;
	height: 50vh !important;
	max-height: 50vh !important;
	overflow: hidden !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}

.wp-block-post-content .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}

/* Override any global img styles for featured images */
.wp-block-post-content .wp-block-post-featured-image img,
.wp-block-post-content .wp-block-post-featured-image a img {
	border: none !important;
	box-shadow: none !important;
	height: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
}

/* Force featured image height - override everything */
.wp-block-post-featured-image img {
	max-height: 500px !important;
	object-fit: cover !important;
}

/* Post title margin */
h1.wp-block-post-title.has-huge-font-size {
	margin-bottom: 20px;
}

/* Interactive blocks - Comfortable spacing */
.wp-block-search,
.wp-block-social-links,
.wp-block-calendar {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}

/* Content blocks - Readable spacing */
.wp-block-code,
.wp-block-preformatted,
.wp-block-verse {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	font-family: 'Courier New', monospace;
}

/* Navigation - Header/footer spacing */
.wp-block-navigation {
	margin-bottom: 1rem;
	padding: 1rem 2rem;
}

/* Separator spacing */
.wp-block-separator {
	margin: 3rem 0;
	padding: 0;
}

/* Widget blocks - Compact spacing */
.wp-block-tag-cloud,
.wp-block-categories,
.wp-block-archives,
.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-rss {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}

/* Border radius now customizable via WordPress editor */

/* Remove shadows when border is set to 0 */
[style*="border-width:0px"],
[style*="border-width: 0px"],
[style*="border-width:0"],
[style*="border-width: 0"],
.wp-site-blocks [style*="border-width:0px"],
.wp-site-blocks [style*="border-width: 0px"],
.wp-site-blocks [style*="border-width:0"],
.wp-site-blocks [style*="border-width: 0"],
.editor-styles-wrapper [style*="border-width:0px"],
.editor-styles-wrapper [style*="border-width: 0px"],
.editor-styles-wrapper [style*="border-width:0"],
.editor-styles-wrapper [style*="border-width: 0"] {
	box-shadow: none !important;
}

/* Remove shadows when border is set to none */
[style*="border:none"],
[style*="border: none"],
[style*="border-style:none"],
[style*="border-style: none"],
.wp-site-blocks [style*="border:none"],
.wp-site-blocks [style*="border: none"],
.wp-site-blocks [style*="border-style:none"],
.wp-site-blocks [style*="border-style: none"],
.editor-styles-wrapper [style*="border:none"],
.editor-styles-wrapper [style*="border: none"],
.editor-styles-wrapper [style*="border-style:none"],
.editor-styles-wrapper [style*="border-style: none"] {
	box-shadow: none !important;
}

/* NeoBrutalism Font Size Enhancements */
.has-huge-font-size {
	font-size: clamp(3rem, 8vw, 6rem) !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	line-height: 0.9 !important;
}

.has-large-font-size {
	font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
}

.has-medium-font-size {
	font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
	font-weight: bold !important;
}

.has-small-font-size {
	font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
	font-weight: bold !important;
}

/* Enhanced button styling for patterns */
.wp-block-button.is-style-success .wp-block-button__link,
.wp-block-button.is-style-highlight .wp-block-button__link,
.wp-block-button.is-style-alert .wp-block-button__link {
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.15em !important;
	padding: 1.2rem 2.5rem !important;
}

/* Accessibility Focus Management */
*:focus {
	outline: var(--neo-focus-outline);
	outline-offset: var(--neo-focus-offset);
}

/* Remove focus outline for mouse users, keep for keyboard users */
.js-focus-visible *:focus:not(.focus-visible) {
	outline: none;
}

/* Enhanced focus for interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
	outline: var(--neo-focus-outline);
	outline-offset: var(--neo-focus-offset);
	background-color: var(--neo-highlight-bg);
	box-shadow: 0 0 0 2px var(--neo-focus-color);
}

/* Focus styles for WordPress blocks */
.wp-block-button__link:focus,
.wp-block-navigation a:focus,
.wp-block-search__button:focus,
.wp-block-file__button:focus {
	outline: var(--neo-focus-outline);
	outline-offset: var(--neo-focus-offset);
	background-color: var(--neo-highlight-bg);
	box-shadow: 0 0 0 2px var(--neo-focus-color);
	transform: translate(2px, 2px);
}

/* Screen reader only content */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	:root {
		--neo-focus-color: #0000ff;
		--neo-focus-outline: 4px solid var(--neo-focus-color);
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
