/*
Theme Name: Ironloom Theme
Theme URI: https://ironloomtechnologies.com/products/
Author: Ironloom Technologies L.L.C.
Author URI: https://ironloomtechnologies.com/
Description: A dark, geometric block theme for technology companies, studios and agencies. Every part is editable in the Site Editor: colours, fonts, header, footer, menus and ready-made sections (hero, services, products, steps, call to action). Right-to-left ready with a bundled Arabic font.
Version: 0.3.1
Requires at least: 6.6
Tested up to: 7.1
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: ironloom-theme
Tags: block-patterns, full-site-editing, rtl-language-support, translation-ready, custom-colors, custom-logo, custom-menu, editor-style, wide-blocks, one-column, portfolio, blog
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[dir="rtl"] body, body.rtl { font-family: var(--wp--preset--font-family--ibm-plex-sans-arabic); line-height: 1.8; }
html[dir="rtl"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Header ---------- */
.ilt-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--wp--preset--color--line);
	min-height: var(--wp--custom--header--height);
}
/* The phone menu is a "fixed" child of the header, and a blurred element keeps fixed children inside itself: the open menu
   stayed inside the header, invisible, while the page was locked (found on pos.ironloomtechnologies.com, 2026-11-16).
   While the menu is open the blur is off, so the menu fills the screen. */
html.has-modal-open .ilt-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
.admin-bar .ilt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ilt-header { top: 0; position: relative; } }
.ilt-header .wp-block-navigation a:hover,
.ilt-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--contrast); }
.ilt-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--contrast) !important;
	padding: 24px;
}
.ilt-header .wp-block-site-logo img { display: block; }
.ilt-tagline-caps { letter-spacing: 2.4px; text-transform: uppercase; }

/* ---------- Group styles ---------- */
/* Card */
.is-style-ilt-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
	padding: 28px;
	transition: border-color .25s, transform .25s, background-color .25s;
}
.is-style-ilt-card:hover { border-color: var(--wp--preset--color--line-2); background: var(--wp--preset--color--surface-2); transform: translateY(-2px); }
.is-style-ilt-card > :first-child { margin-top: 0; }
@media (max-width: 640px) { .is-style-ilt-card { padding: 22px; } }

/* Woven grid background (hero and page bands) */
.is-style-ilt-weave { position: relative; overflow: hidden; isolation: isolate; }
.is-style-ilt-weave::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--steel) 13%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--wp--preset--color--steel) 13%, transparent) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.is-style-ilt-weave::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(600px 300px at 70% 20%, color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent), transparent 70%);
}
html[dir="rtl"] .is-style-ilt-weave::after { background: radial-gradient(600px 300px at 30% 20%, color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent), transparent 70%); }

/* Animated loom (hero art): woven grid with threads of light in the brand colour; content (a logo) sits on top. */
.ilt-loom, .ilt-hero-weave { position: relative; overflow: hidden; isolation: isolate; }
.ilt-loom > *, .ilt-hero-weave > * { position: relative; z-index: 2; }
.ilt-loom::before, .ilt-hero-weave::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--steel) 30%, transparent) 1.5px, transparent 1.5px),
		linear-gradient(to bottom, color-mix(in srgb, var(--wp--preset--color--steel) 30%, transparent) 1.5px, transparent 1.5px);
	background-size: 34px 34px; background-position: center;
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 78%);
	mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 78%);
}
.ilt-loom::after, .ilt-hero-weave::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-image: linear-gradient(to bottom, transparent 34%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 66%), linear-gradient(to bottom, transparent 39%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 61%), linear-gradient(to bottom, transparent 32%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 68%), linear-gradient(to bottom, transparent 36%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 64%), linear-gradient(to bottom, transparent 33%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 67%), linear-gradient(to bottom, transparent 38%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 62%), linear-gradient(to bottom, transparent 35%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 65%), linear-gradient(to bottom, transparent 31%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 69%), linear-gradient(to bottom, transparent 39%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 61%), linear-gradient(to bottom, transparent 34%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 66%), linear-gradient(to bottom, transparent 36%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 64%), linear-gradient(to bottom, transparent 32%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 68%), linear-gradient(to bottom, transparent 38%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 62%), linear-gradient(to bottom, transparent 33%, color-mix(in srgb, var(--wp--preset--color--accent) 90%, transparent) 50%, transparent 67%);
	background-size: 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px, 1.5px 220px;
	background-repeat: repeat-y;
	background-position: calc(50% + -221px) 0px, calc(50% + -187px) 130px, calc(50% + -153px) 60px, calc(50% + -119px) 180px, calc(50% + -85px) 30px, calc(50% + -51px) 150px, calc(50% + -17px) 90px, calc(50% + 17px) 200px, calc(50% + 51px) 10px, calc(50% + 85px) 120px, calc(50% + 119px) 70px, calc(50% + 153px) 170px, calc(50% + 187px) 40px, calc(50% + 221px) 140px;
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
	mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
	opacity: .8; animation: ilt-thread 4.5s linear infinite;
}
@keyframes ilt-thread { from { background-position: calc(50% + -221px) 0px, calc(50% + -187px) 130px, calc(50% + -153px) 60px, calc(50% + -119px) 180px, calc(50% + -85px) 30px, calc(50% + -51px) 150px, calc(50% + -17px) 90px, calc(50% + 17px) 200px, calc(50% + 51px) 10px, calc(50% + 85px) 120px, calc(50% + 119px) 70px, calc(50% + 153px) 170px, calc(50% + 187px) 40px, calc(50% + 221px) 140px; } to { background-position: calc(50% + -221px) 220px, calc(50% + -187px) 350px, calc(50% + -153px) 280px, calc(50% + -119px) 400px, calc(50% + -85px) 250px, calc(50% + -51px) 370px, calc(50% + -17px) 310px, calc(50% + 17px) 420px, calc(50% + 51px) 230px, calc(50% + 85px) 340px, calc(50% + 119px) 290px, calc(50% + 153px) 390px, calc(50% + 187px) 260px, calc(50% + 221px) 360px; } }
@media (prefers-reduced-motion: reduce) { .ilt-loom::after { animation: none; opacity: .35; } }

/* ---------- Animated hero art (AI Builder picks one per company; brand colours via presets) ---------- */
.ilt-hero { position: relative; overflow: hidden; isolation: isolate; }
.ilt-hero > * { position: relative; z-index: 2; }
.ilt-hero::before, .ilt-hero::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
.ilt-hero .wp-block-image img { transition: none; }
/* Floating copies of the logo (Premium): a group with the logo as a repeating background. */
.ilt-hero .ilt-floaters { position: absolute !important; inset: -20%; z-index: 1 !important; opacity: .14; margin: 0 !important; background-repeat: repeat !important; background-size: 56px 56px !important; background-position: 0 0; animation: ilt-drift 40s linear infinite; }
@keyframes ilt-drift { to { background-position: 280px -280px; } }

/* 1. Woven threads: see .ilt-loom above (same look, class ilt-hero-weave). */
.ilt-hero-weave .wp-block-image img { animation: ilt-glow 5s ease-in-out infinite; }

/* 2. Flowing waves (water, calm). */
.ilt-hero-waves::before, .ilt-hero-waves::after {
	left: 0; right: 0; bottom: 0; height: 60%;
	background: var(--wp--preset--color--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q50 10 100 40 T200 40 T300 40 T400 40 V100 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 400px 100%;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q50 10 100 40 T200 40 T300 40 T400 40 V100 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 400px 100%;
	opacity: .18; animation: ilt-wave 9s linear infinite;
}
.ilt-hero-waves::after { height: 45%; opacity: .14; background: var(--wp--preset--color--accent-2); animation-duration: 6s; animation-direction: reverse; }
@keyframes ilt-wave { to { -webkit-mask-position: 400px 0; mask-position: 400px 0; } }
.ilt-hero-waves .wp-block-image img { animation: ilt-float 6s ease-in-out infinite; }

/* 3. Rising light rays (trust, justice, ceremony). */
.ilt-hero-rays::before {
	inset: -60%;
	background: repeating-conic-gradient(from 0deg at 50% 70%, color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent) 0deg 6deg, transparent 6deg 18deg);
	-webkit-mask-image: radial-gradient(circle at 50% 60%, #000 10%, transparent 55%);
	mask-image: radial-gradient(circle at 50% 60%, #000 10%, transparent 55%);
	animation: ilt-spin 60s linear infinite;
}
.ilt-hero-rays::after { inset: 0; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent), transparent 55%); animation: ilt-breathe 6s ease-in-out infinite; }
.ilt-hero-rays .wp-block-image img { animation: ilt-glow 6s ease-in-out infinite; }

/* 4. Network of particles (data, connection, tech). */
.ilt-hero-network::before, .ilt-hero-network::after { inset: 0; }
.ilt-hero-network::before {
	background-image:
		radial-gradient(circle, var(--wp--preset--color--accent) 1.6px, transparent 2.2px),
		radial-gradient(circle, var(--wp--preset--color--accent-2) 1.2px, transparent 1.8px);
	background-size: 46px 46px, 70px 70px; background-position: 0 0, 23px 35px;
	opacity: .55; animation: ilt-particles 18s linear infinite;
}
.ilt-hero-network::after {
	background-image:
		linear-gradient(30deg, transparent 49.4%, color-mix(in srgb, var(--wp--preset--color--accent) 25%, transparent) 50%, transparent 50.6%),
		linear-gradient(-30deg, transparent 49.4%, color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent) 50%, transparent 50.6%);
	background-size: 92px 54px; opacity: .6; animation: ilt-particles 30s linear infinite reverse;
}
@keyframes ilt-particles { to { background-position: 92px 46px, -70px 105px; } }
.ilt-hero-network .wp-block-image img { animation: ilt-float 7s ease-in-out infinite; }

/* 5. Orbit rings (precision, science, health). */
.ilt-hero-orbit::before, .ilt-hero-orbit::after { top: 50%; left: 50%; border-radius: 50%; }
.ilt-hero-orbit::before { width: 300px; height: 300px; margin: -150px 0 0 -150px; border: 1.5px dashed color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent); animation: ilt-spin 40s linear infinite; }
.ilt-hero-orbit::after { width: 380px; height: 380px; margin: -190px 0 0 -190px; border: 2px solid transparent; border-top-color: var(--wp--preset--color--accent); border-left-color: color-mix(in srgb, var(--wp--preset--color--accent-2) 60%, transparent); animation: ilt-spin 9s linear infinite reverse; }
.ilt-hero-orbit .wp-block-image img { animation: ilt-glow 5s ease-in-out infinite; }

/* 6. Soft aurora (calm, premium, beauty, wellness). */
.ilt-hero-aurora::before, .ilt-hero-aurora::after { width: 70%; height: 90%; border-radius: 50%; filter: blur(40px); opacity: .45; }
.ilt-hero-aurora::before { top: -20%; left: -10%; background: var(--wp--preset--color--accent); animation: ilt-aurora 14s ease-in-out infinite alternate; }
.ilt-hero-aurora::after { bottom: -25%; right: -15%; background: var(--wp--preset--color--accent-2); animation: ilt-aurora 18s ease-in-out infinite alternate-reverse; }
@keyframes ilt-aurora { to { transform: translate(18%, 14%) scale(1.15); } }
.ilt-hero-aurora .wp-block-image img { animation: ilt-float 8s ease-in-out infinite; }

/* 7. Rising bubbles / steam (warmth, freshness, food, cleaning). */
.ilt-hero-bubbles::before, .ilt-hero-bubbles::after { inset: 0; }
.ilt-hero-bubbles::before {
	background-image:
		radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent) 4px, transparent 5px),
		radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent-2) 40%, transparent) 7px, transparent 8px);
	background-size: 90px 120px, 150px 190px; background-position: 10px 0, 60px 40px;
	animation: ilt-rise 12s linear infinite;
}
.ilt-hero-bubbles::after { background-image: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent) 2.5px, transparent 3.5px); background-size: 60px 80px; animation: ilt-rise 7s linear infinite; }
@keyframes ilt-rise { to { background-position: 10px -240px, 60px -340px; } }
.ilt-hero-bubbles .wp-block-image img { animation: ilt-float 6s ease-in-out infinite; }

/* 8. Blueprint (building, planning, engineering). */
.ilt-hero-blueprint::before {
	inset: 0;
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent) 1px, transparent 1px),
		linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--steel) 18%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--wp--preset--color--steel) 18%, transparent) 1px, transparent 1px);
	background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; background-position: center;
}
.ilt-hero-blueprint::after { top: 0; bottom: 0; width: 2px; left: 0; background: linear-gradient(to bottom, transparent, var(--wp--preset--color--accent), transparent); box-shadow: 0 0 18px var(--wp--preset--color--accent); animation: ilt-scan 6s ease-in-out infinite alternate; }
@keyframes ilt-scan { to { left: 100%; } }

/* Shared motions. */
@keyframes ilt-spin { to { transform: rotate(360deg); } }
@keyframes ilt-breathe { 50% { opacity: .55; } }
@keyframes ilt-float { 50% { transform: translateY(-8px); } }
@keyframes ilt-glow { 50% { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--wp--preset--color--accent) 70%, transparent)); } }
@media (prefers-reduced-motion: reduce) {
	.ilt-hero::before, .ilt-hero::after, .ilt-hero .ilt-floaters, .ilt-hero .wp-block-image img { animation: none !important; }
}

/* Call-to-action panel */
.is-style-ilt-panel {
	border: 1px solid var(--wp--preset--color--line-2);
	border-radius: var(--wp--custom--radius--large);
	background:
		linear-gradient(to right, color-mix(in srgb, var(--wp--preset--color--steel) 10%, transparent) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(to bottom, color-mix(in srgb, var(--wp--preset--color--steel) 10%, transparent) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--accent) 8%, var(--wp--preset--color--base)), var(--wp--preset--color--base));
}

/* Featured (wide) product card glow */
.is-style-ilt-feature {
	background:
		radial-gradient(500px 220px at 100% 0, color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent), transparent 70%),
		var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line-2);
	border-radius: var(--wp--custom--radius--medium);
	padding: 36px;
}
html[dir="rtl"] .is-style-ilt-feature { background: radial-gradient(500px 220px at 0 0, color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent), transparent 70%), var(--wp--preset--color--surface); }
@media (max-width: 640px) { .is-style-ilt-feature { padding: 24px; } }

/* ---------- Text styles ---------- */
.is-style-ilt-eyebrow {
	font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
html[dir="rtl"] .is-style-ilt-eyebrow { letter-spacing: 0; font-size: 14px; }

.is-style-ilt-badge {
	display: inline-block; width: auto; font-size: 12px; font-weight: 600; line-height: 1.4;
	padding: 4px 10px; border-radius: var(--wp--custom--radius--pill);
	border: 1px solid currentColor;
	background: color-mix(in srgb, currentColor 9%, transparent);
}
.wp-block-group.is-layout-flex > .is-style-ilt-badge { flex: none; }

.is-style-ilt-statement { font-size: clamp(44px, 6vw, 76px); font-weight: 800; letter-spacing: .06em; line-height: 1; }

/* ---------- List styles ---------- */
.is-style-ilt-checks { list-style: none; padding-inline-start: 0; display: grid; gap: 10px; }
.is-style-ilt-checks li { position: relative; padding-inline-start: 28px; }
.is-style-ilt-checks li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 14px; height: 8px;
	border-inline-start: 2px solid var(--wp--preset--color--accent); border-bottom: 2px solid var(--wp--preset--color--accent);
	transform: rotate(-45deg);
}
html[dir="rtl"] .is-style-ilt-checks li::before { transform: rotate(45deg) scaleX(-1); }

.is-style-ilt-chips { list-style: none; padding-inline-start: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.is-style-ilt-chips li {
	font-size: 12.5px; padding: 4px 10px; border-radius: 7px; margin: 0;
	background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line);
}

.is-style-ilt-plain-links { list-style: none; padding-inline-start: 0; display: grid; gap: 9px; }
.is-style-ilt-plain-links a { color: var(--wp--preset--color--muted); }
.is-style-ilt-plain-links a:hover { color: var(--wp--preset--color--contrast); }

/* ---------- Image styles ---------- */
.is-style-ilt-icon-box img {
	width: 46px; height: 46px; padding: 10px; border-radius: 11px;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 9%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 25%, transparent);
}
.is-style-ilt-icon-box { margin-bottom: 0; }

/* ---------- Steps numbering ---------- */
.ilt-step { position: relative; }
.ilt-step .ilt-step-n { position: absolute; top: 24px; inset-inline-end: 24px; margin: 0; color: var(--wp--preset--color--steel); font-size: 13px; font-weight: 600; }

/* ---------- Posts ---------- */
.ilt-post-card .wp-block-post-featured-image img { border-radius: 10px; }
.wp-block-post-content a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 781px) {
	.ilt-hero-art { max-width: 300px; margin-inline: auto; }
	.ilt-hide-mobile { display: none !important; }
	.wp-block-buttons.ilt-stack-mobile > .wp-block-button { flex: 1 1 auto; }
	.wp-block-buttons.ilt-stack-mobile .wp-block-button__link { width: 100%; justify-content: center; }
}

/* ---------- Details (questions) ---------- */
.wp-block-details summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.wp-block-details summary::marker { color: var(--wp--preset--color--accent); }

/* ---------- Forms (search, comments and form plugins) ---------- */
:where(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], select, textarea) {
	width: 100%; font: inherit; font-size: 15.5px; color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line-2);
	border-radius: 10px; padding: 12px 14px;
}
:where(input, select, textarea):focus { outline: none; border-color: var(--wp--preset--color--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent); }
:where(input[type="submit"], button[type="submit"]):not(.wp-block-search__button) {
	background: var(--wp--preset--color--accent); color: var(--wp--preset--color--on-accent);
	border: 1px solid var(--wp--preset--color--accent); border-radius: 10px; padding: 12px 22px; font-weight: 600; cursor: pointer;
}
.wp-block-search__inside-wrapper { gap: 8px; max-width: 520px; }
.wp-block-search__button { border-radius: 10px; margin-inline-start: 0; }
.wp-block-search__input { border-radius: 10px !important; }

/* ---------- Query pagination ---------- */
.wp-block-query-pagination { margin-top: 32px; }
.wp-block-query-pagination a { color: var(--wp--preset--color--muted); }
.wp-block-query-pagination .current { color: var(--wp--preset--color--contrast); font-weight: 600; }

/* ---------- RTL: "justify left" constrained layouts should hug the start (right) edge ---------- */
html[dir="rtl"] .is-layout-constrained.is-content-justification-left > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-left: auto !important; margin-right: 0 !important;
}
html[dir="rtl"] .is-layout-constrained.is-content-justification-right > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-right: auto !important; margin-left: 0 !important;
}
