/*
Theme Name: Elso Recipes
Theme URI: https://example.com/elso-recipes
Author: Elso Studio
Author URI: https://example.com
Description: A lightweight, SEO-friendly WordPress theme for recipe blogs with responsive grid, Gutenberg support, and accessible navigation.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elso
Tags: blog, food-and-drink, translation-ready, accessibility-ready, responsive-layout, custom-colors, custom-logo, rtl-language-support
*/

:root {
	--accent-color: #111111;
	--text-color: #333333;
	--bg: #ffffff;
	--muted: #666666;
	--radius: 16px;
	--container: 1200px;
	--header-bg-color: #ffffff;
	--font-body: system-ui, -apple-system, 'Segoe UI', 'Roboto', Arial, sans-serif;
	--font-heading: system-ui, -apple-system, 'Segoe UI', 'Roboto', Arial, sans-serif;
	--body-font-size: 16px;
	--heading-base-size: 42px;
	--menu-font-size: 16px;
	--menu-font-weight: 600;
}

body {
	background: var(--bg);
	color: var(--text-color);
	margin: 0;
	font-family: var(--font-body, system-ui, -apple-system, 'Segoe UI', 'Roboto', Arial, sans-serif);
	font-size: var(--body-font-size, 16px);
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading, var(--font-body, system-ui, -apple-system, 'Segoe UI', 'Roboto', Arial, sans-serif));
	margin-top: 0;
}

h1 {
	font-size: var(--heading-base-size, 42px);
}

h2 {
	font-size: calc(var(--heading-base-size, 42px) * 0.78);
}

h3 {
	font-size: calc(var(--heading-base-size, 42px) * 0.64);
}

h4 {
	font-size: calc(var(--heading-base-size, 42px) * 0.52);
}

h5,
h6 {
	font-size: calc(var(--heading-base-size, 42px) * 0.44);
}

a {
	color: var(--accent-color);
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	background: #000;
	color: #fff;
	padding: 0.75rem 1rem;
	z-index: 10000;
}

.skip-link:focus {
	top: 0;
}

/* Search hero */
.search-hero {
	padding: clamp(2rem, 6vw, 4rem) 0;
	margin-bottom: clamp(2rem, 5vw, 3rem);
	background: var(--bg);
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.search-hero__inner {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.search-hero__content {
	text-align: center;
	color: #32261b;
}

.search-hero__breadcrumbs {
	display: inline-block;
	font-size: 0.85rem;
	color: rgba(38, 28, 21, 0.7);
	margin-bottom: 0.75rem;
}

.search-hero__breadcrumbs > * {
	margin: 0;
}

.search-hero__eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(68, 52, 40, 0.65);
	margin: 0 0 0.75rem;
}

.search-hero__title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.15;
	margin: 0 0 0.5rem;
	color: #1f140c;
}

.search-hero__subtitle {
	margin: 0 auto 1.25rem;
	color: rgba(38, 28, 21, 0.7);
	font-size: 1rem;
	max-width: 520px;
}

.search-hero__form {
	margin: 0 auto;
	max-width: 520px;
}

.search-hero__form .search-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: nowrap;
	background: var(--search-card-bg, #fff);
	border: 1px solid rgba(33, 24, 18, 0.2);
	border-radius: 10px;
	padding: 0.5rem 0.5rem 0.5rem 0.85rem;
	box-shadow: 0 4px 18px rgba(26, 21, 16, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	color: var(--search-card-text, #1f140c);
}

.search-hero__form .search-form:focus-within {
	border-color: rgba(33, 24, 18, 0.45);
	box-shadow: 0 8px 22px rgba(26, 21, 16, 0.08);
}

.search-hero__form .search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	border: none;
	background: transparent;
	font-size: 1rem;
	padding: 0.85rem 0.5rem;
	color: #1f140c;
}

.search-hero__form .search-form input[type="search"]::placeholder {
	color: rgba(31, 20, 12, 0.45);
}

.search-hero__form .search-form input[type="search"]:focus {
	outline: none;
}

.search-hero__form .search-form button {
	border: none;
	background: var(--search-button-bg, #1f140c);
	color: var(--search-button-text, #fff);
	padding: 0.8rem 1.6rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(34, 22, 12, 0.18);
	white-space: nowrap;
	transition: transform 0.2s ease, background 0.2s ease;
}

.search-hero__form .search-form button:hover,
.search-hero__form .search-form button:focus-visible {
	background: var(--search-button-bg, #1f140c);
	transform: translateY(-1px);
}

@media (max-width: 600px) {
	.search-hero__form .search-form {
		padding: 0.6rem 0.75rem;
		gap: 0.35rem;
	}

	.search-hero__form .search-form button {
		padding: 0.7rem 1.2rem;
		font-size: 0.85rem;
	}
}


