/*
Theme Name: Extenzo
Theme URI: https://www.extenzo.co.uk/
Author: Extenzo
Author URI: https://www.extenzo.co.uk/
Description: A block theme for Extenzo — industrial and commercial material handling and lifting equipment. Includes reusable patterns for hero, product grids, services, testimonials and CTAs.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extenzo
Tags: block-theme, full-site-editing, industrial, business, one-column, two-columns, custom-colors, custom-logo, block-patterns, block-styles, wide-blocks, editor-style
*/

/* Minimal supplementary styles — most styling is driven by theme.json */
body { -webkit-font-smoothing: antialiased; }

.extenzo-card {
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	border-radius: 8px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.extenzo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }

.extenzo-hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
}
.extenzo-hero .extenzo-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(120deg, rgba(10,25,47,.78), rgba(10,25,47,.45));
}
.extenzo-badge {
	display: inline-block;
	background: var(--wp--preset--color--accent, #f5a524);
	color: #0a192f;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

/* Image & content constraints */
.wp-block-post-featured-image img,
.wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}
.wp-block-post-featured-image {
	max-height: 480px;
	overflow: hidden;
	border-radius: 8px;
}
.wp-block-post-content img { border-radius: 6px; }
.wp-block-post-content { max-width: 780px; margin-left: auto; margin-right: auto; }
.wp-block-post-content p { line-height: 1.7; }

/* Card images uniform */
.extenzo-card .wp-block-post-featured-image {
	max-height: 220px;
	border-radius: 0;
}
.extenzo-card .wp-block-post-featured-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}
