/*
Theme Name: AI Made Theme
Theme URI: https://aimade.tech/mcp-agent-suite/
Author: AIMADE.TECH
Author URI: https://aimade.tech/
Description: A blank-canvas WordPress block theme built for AI agents to design professional custom sites through Agent MCP Suite. Minimal defaults, clean templates, predictable block structure, and agent-friendly patterns.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aimade-mcp
Tags: full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, one-column, two-columns, wide-blocks

AI Made Theme is distributed under the terms of the GNU GPL v2 or later.
*/

/*
 * AI Made Theme intentionally ships as a blank canvas.
 * It avoids branded layouts so Agent MCP Suite and external AI agents can
 * create custom designs per site without fighting opinionated CSS.
 */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

.aimade-skip-link {
	position: absolute;
	left: 1rem;
	top: -5rem;
	z-index: 9999;
	padding: .75rem 1rem;
	border-radius: .5rem;
	background: CanvasText;
	color: Canvas;
	text-decoration: none;
}

.aimade-skip-link:focus {
	top: 1rem;
}

.aimade-site-header,
.aimade-site-footer,
.aimade-main {
	width: 100%;
}

.aimade-site-header {
	padding-block: var(--wp--preset--spacing--30, 1.5rem);
}

.aimade-header-inner,
.aimade-footer-inner,
.aimade-main > * {
	width: min(100%, var(--wp--style--global--wide-size, 1200px));
	margin-inline: auto;
}

.aimade-header-inner,
.aimade-footer-inner {
	padding-inline: var(--wp--preset--spacing--30, 1.5rem);
}

.aimade-brand {
	gap: .75rem;
}

.aimade-brand-text {
	gap: 0;
}

.aimade-brand-subtitle {
	margin: 0;
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .72;
}

.aimade-page-main,
.aimade-single-main,
.aimade-archive-main,
.aimade-404-main {
	padding-block: var(--wp--preset--spacing--60, 4rem);
	padding-inline: var(--wp--preset--spacing--30, 1.5rem);
}

.aimade-home-main {
	padding: 0;
}

.aimade-home-main > *,
.aimade-page-main > *,
.aimade-single-main > *,
.aimade-archive-main > *,
.aimade-404-main > * {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
}

.aimade-site-footer {
	padding-block: var(--wp--preset--spacing--50, 3rem);
}

.aimade-footer-bottom {
	padding-top: var(--wp--preset--spacing--30, 1.5rem);
	border-top: 1px solid currentColor;
	opacity: .76;
}

.wp-block-button__link {
	transition: transform .16s ease, opacity .16s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

:where(a, button, input, textarea, select):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.aimade-canvas-section {
	padding-block: var(--wp--preset--spacing--70, 6rem);
}

.aimade-canvas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: var(--wp--preset--spacing--30, 1.5rem);
}

.aimade-canvas-card {
	padding: var(--wp--preset--spacing--30, 1.5rem);
	border: 1px solid currentColor;
	border-radius: var(--wp--custom--border-radius--medium, .75rem);
}

@media (max-width: 782px) {
	.aimade-header-actions {
		display: none;
	}

	.aimade-header-inner,
	.aimade-footer-inner {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
		animation-duration: .001ms !important;
	}
}
