/*
Theme Name:   webxhut
Theme URI:    https://webxhut.com/
Description:  webxhut.com — directory websites, commissions and hosting. Child of Twenty Twenty-Five.
Author:       Webxhut
Template:     twentytwentyfive
Version:      0.1.0
Requires at least: 6.7
Requires PHP: 8.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  webxhut
*/

/* Most styling lives in theme.json. This file holds what theme.json cannot express. */

/* Small uppercase label above a heading */
.wx-eyebrow {
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
.wx-eyebrow a {
	color: inherit;
	text-decoration: none;
}

/* Hero: the one big promise */
/* Constrained layout centres any child narrower than the content width (with !important margins).
   The hero reads left-aligned, so pin narrow children to the left edge of its 1200px content box. */
.wx-hero > :is(h1, .wx-lede, .wxs-domain-search) {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
}
.wx-hero h1 {
	max-width: 17ch;
	margin-top: 0;
	letter-spacing: -0.035em;
}
.wx-hero .wx-lede {
	max-width: 40ch;
}

/* Three doors and other cards */
.wx-door {
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
}
.wx-door h3 {
	margin-top: 0;
}
.wx-door .wx-more a,
.wx-more a {
	font-weight: 700;
	text-decoration: none;
}
.wx-door .wx-more a:hover,
.wx-more a:hover {
	text-decoration: underline;
}

/* Tick list */
.wx-ticks {
	padding-left: 0;
	list-style: none;
}
.wx-ticks li {
	position: relative;
	margin-bottom: 0.6rem;
	padding-left: 1.75rem;
}
.wx-ticks li::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0.2rem;
	width: 0.45rem;
	height: 0.8rem;
	border: solid var(--wp--preset--color--accent);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

/* Numbered steps */
.wx-steps {
	padding-left: 0;
	list-style: none;
	counter-reset: wx-step;
}
.wx-steps li {
	position: relative;
	margin-bottom: 1.25rem;
	padding-left: 3.25rem;
	counter-increment: wx-step;
}
.wx-steps li::before {
	content: counter(wx-step);
	position: absolute;
	top: -0.1rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-weight: 800;
	font-size: 0.9375rem;
}

/* Price card on the hosting page */
.wx-price-card {
	padding: var(--wp--preset--spacing--60);
	border: 2px solid var(--wp--preset--color--contrast);
	border-radius: 12px;
	background: var(--wp--preset--color--base);
}
.wx-price {
	margin: 0;
	font-size: clamp(2.5rem, 6vw, 3.75rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}
.wx-price small {
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--wp--preset--color--muted);
}

/* Header */
.wx-site-header .wp-block-site-title a {
	text-decoration: none;
	letter-spacing: -0.04em;
}
.wx-site-header .wx-login a {
	padding: 0.45em 0.9em;
	border: 2px solid var(--wp--preset--color--contrast);
	border-radius: 6px;
}
.wx-site-header .wx-login a:hover {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* Footer */
.wx-site-footer a {
	color: inherit;
	text-decoration: none;
}
.wx-site-footer a:hover {
	text-decoration: underline;
}
.wx-site-footer h2 {
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}
.wx-site-footer ul {
	padding-left: 0;
	list-style: none;
}
.wx-site-footer li {
	margin-bottom: 0.4rem;
}

/* Legal drafts: make unresolved gaps impossible to miss */
.wx-todo {
	padding: 0.1em 0.35em;
	background: #fff3b0;
	color: #5c4400;
	font-weight: 700;
}
