/**
 * Ezechax Services — front-end stylesheet.
 * Loaded only on singular services, the services archive, and service
 * category taxonomy pages. Intentionally minimal so it inherits the
 * active theme's typography/colors rather than fighting them.
 */

/* ---------- Layout helpers ---------- */
.ezx-service-archive__grid,
.ezx-related__grid,
.ezx-features__grid {
	display: grid;
	gap: 24px;
}

.ezx-service-archive__grid {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.ezx-features__grid {
	grid-template-columns: repeat(var(--ezx-columns, 3), 1fr);
}

@media (max-width: 782px) {
	.ezx-features__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Service Hero ---------- */
.ezx-hero {
	background-color: #111;
	background-position: center;
	background-size: cover;
	border-radius: 6px;
	overflow: hidden;
}

.ezx-hero__overlay {
	background: rgba(0, 0, 0, 0.45);
	padding: 72px 24px;
}

.ezx-hero__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

.ezx-hero__heading {
	margin: 0 0 12px;
	font-size: clamp(28px, 5vw, 44px);
	color: #fff;
}

.ezx-hero__subheading {
	margin: 0 0 24px;
	font-size: 18px;
	opacity: 0.9;
}

.ezx-hero__cta {
	display: inline-block;
	padding: 12px 28px;
	background: #fff;
	color: #111;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
}

/* ---------- Service CTA ---------- */
.ezx-cta {
	padding: 40px 24px;
	background: #f4f4f5;
	border-radius: 6px;
	text-align: center;
}

.ezx-cta__heading {
	margin: 0 0 8px;
}

.ezx-cta__text {
	margin: 0 0 20px;
	opacity: 0.8;
}

.ezx-cta__button {
	display: inline-block;
	padding: 12px 28px;
	background: #111;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
}

/* ---------- FAQ ---------- */
.ezx-faq__heading {
	margin-bottom: 16px;
}

.ezx-faq__item {
	border-bottom: 1px solid #e0e0e0;
	padding: 14px 0;
}

.ezx-faq__question {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.ezx-faq__question::-webkit-details-marker {
	display: none;
}

.ezx-faq__question::before {
	content: '+';
	display: inline-block;
	width: 1.2em;
	color: currentColor;
}

.ezx-faq__item[open] .ezx-faq__question::before {
	content: '–';
}

.ezx-faq__answer {
	padding: 10px 0 0 1.2em;
	opacity: 0.85;
}

/* ---------- Features ---------- */
.ezx-features__item-title {
	margin: 0 0 6px;
	font-size: 18px;
}

.ezx-features__item-text {
	margin: 0;
	opacity: 0.8;
}

/* ---------- Pricing ---------- */
.ezx-pricing__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.ezx-pricing__plan {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 28px 24px;
	text-align: center;
}

.ezx-pricing__plan--featured {
	border-color: #111;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ezx-pricing__plan-name {
	margin: 0 0 8px;
}

.ezx-pricing__plan-price {
	margin-bottom: 16px;
}

.ezx-pricing__amount {
	font-size: 32px;
	font-weight: 700;
}

.ezx-pricing__period {
	opacity: 0.6;
	font-size: 14px;
	margin-left: 4px;
}

.ezx-pricing__features {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	text-align: left;
}

.ezx-pricing__features li {
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f0;
}

.ezx-pricing__button {
	display: inline-block;
	padding: 10px 24px;
	background: #111;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
}

/* ---------- Related Services ---------- */
.ezx-related__heading {
	margin-bottom: 16px;
}

.ezx-related__item {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
}

.ezx-related__thumb {
	display: block;
}

.ezx-related__thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.ezx-related__title {
	display: block;
	padding: 12px;
	font-weight: 600;
}

/* ---------- Archive / breadcrumbs ---------- */
.ezx-breadcrumbs {
	font-size: 14px;
	opacity: 0.75;
	margin-bottom: 20px;
}

.ezx-breadcrumbs a {
	text-decoration: none;
}

.ezx-breadcrumbs a:hover {
	text-decoration: underline;
}

.ezx-service-card {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
}

.ezx-service-card__thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.ezx-service-card__body {
	padding: 16px;
}

.ezx-service-card__title {
	margin: 0 0 8px;
	font-size: 18px;
}

.ezx-service-card__excerpt {
	margin: 0;
	font-size: 14px;
	opacity: 0.8;
}
