/*
Theme Name: Easymyday
Author: Ayush Dhawan
Description: Easymyday is a premium white, mobile-first block theme for blog-first sites that also share free software/tools that make everyday work easy. Includes an auto-filled mega menu, a ready-made home page, a Tools section (custom post type), a mobile-first blog, a WhatsApp click-to-chat button and a premium footer.
Version: 1.3.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: easymyday
Tags: blog, news, one-column, custom-colors, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, wide-blocks, mobile-first

Easymyday WordPress Theme, (C) 2026 Ayush Dhawan.
Easymyday is distributed under the terms of the GNU GPL v2 or later.
Based on the Technicalistic block theme by James M Beach (GPL v2 or later).
*/


/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Focus styles for accessibility */
:focus {
	outline: 2px solid var(--wp--preset--color--cyan-400, #22d3ee);
	outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	position: fixed;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	padding: 1rem 2rem;
	background: var(--wp--preset--color--primary, #00D9FF);
	color: #000;
	z-index: 100000;
}

/* Image handling */
img {
	max-width: 100%;
	height: auto;
}

/* Selection styling */
::selection {
	background: var(--wp--preset--color--primary, #00D9FF);
	color: #000;
}

/* Password protected page form styling */
.post-password-form {
	max-width: 28rem;
	margin: 4rem auto;
	padding: 2rem;
	background: var(--wp--preset--color--card, #0A0A0A);
	border: 1px solid rgba(6, 182, 212, 0.2);
	border-radius: 0.75rem;
}

.post-password-form label {
	display: block;
	color: var(--wp--preset--color--slate-300, #cbd5e1);
	margin-bottom: 0.5rem;
}

.post-password-form input[type="password"] {
	width: 100%;
	padding: 0.75rem 1rem;
	margin: 0.5rem 0 1rem;
	background: var(--wp--preset--color--muted, #1A1A1A);
	border: 1px solid rgba(6, 182, 212, 0.3);
	border-radius: 0.5rem;
	color: var(--wp--preset--color--white, #F8FAFC);
	font-family: inherit;
	font-size: 1rem;
}

.post-password-form input[type="password"]:focus {
	outline: 2px solid var(--wp--preset--color--cyan-400, #22d3ee);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--cyan-400, #22d3ee);
}

.post-password-form input[type="submit"] {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: var(--wp--preset--color--yellow-500, #eab308);
	color: var(--wp--preset--color--black, #000);
	border: none;
	border-radius: 0.625rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.post-password-form input[type="submit"]:hover {
	background: var(--wp--preset--color--yellow-600, #ca8a04);
}
