/*
Theme Name: My Custom Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Custom WordPress theme for block editor.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: my-custom-theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, block-styles, translation-ready
*/

/* -------------------------------------------------
   Base / Reset
------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #222;
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #005ae0;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

button,
input,
textarea,
select {
	font: inherit;
}

/* -------------------------------------------------
   WordPress alignment classes
------------------------------------------------- */

.alignwide {
	width: min(1200px, calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* -------------------------------------------------
   Layout
------------------------------------------------- */

.site-header,
.site-footer,
.site-main,
.wp-site-blocks {
	width: min(1200px, calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}

.site-header,
.site-footer {
	padding: 20px 0;
}

.site-main {
	padding: 30px 0;
}

/* -------------------------------------------------
   Typography
------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	line-height: 1.2;
	font-weight: 700;
}

p,
ul,
ol {
	margin: 0 0 1rem;
}

/* -------------------------------------------------
   Forms
------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	background: #fff;
}

button,
input[type="submit"],
.wp-element-button {
	display: inline-block;
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: 6px;
	background: #111;
	color: #fff;
	cursor: pointer;
}

button:hover,
input[type="submit"]:hover,
.wp-element-button:hover {
	background: #333;
}

/* -------------------------------------------------
   Navigation
------------------------------------------------- */

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.main-navigation a {
	display: inline-block;
	padding: 8px 0;
}

/* -------------------------------------------------
   Accessibility
------------------------------------------------- */

.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	padding: 10px 14px;
	background: #f1f1f1;
	color: #000;
	z-index: 100000;
}

/* -------------------------------------------------
   Responsive
------------------------------------------------- */

@media (max-width: 782px) {
	.site-header,
	.site-footer,
	.site-main,
	.wp-site-blocks,
	.alignwide {
		width: min(100% - 24px, 1200px);
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 10px;
	}
}