/*
Theme Name: Grow Operations
Theme URI: https://growoperations.co.za
Author: Jonathan Hart
Description: The Grow Operations website as an editable WordPress block theme. Bold Anton headings, charcoal sections, signal-yellow highlights and golden-grassland photography. Ships with starter Home, Videos and Shop pages that are fully editable in the WordPress editor.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grow-operations
Tags: block-theme, full-site-editing, farming, one-column
*/

/* ============ Layout helpers ============ */
.go-container {
	width: min(100% - 3rem, 1160px);
	margin-inline: auto;
}

/* Section rhythm */
.go-section {
	padding-block: 88px;
}
.go-section-tight {
	padding-block: 64px;
}
@media (max-width: 640px) {
	.go-section { padding-block: 56px; }
	.go-section-tight { padding-block: 44px; }
}

/* Eyebrow labels */
.go-eyebrow {
	font-size: 11px !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 6px !important;
}
.go-eyebrow--yellow { color: var(--wp--preset--color--highlight) !important; }
.go-eyebrow--blue { color: var(--wp--preset--color--primary) !important; }

/* Display headings (Anton, uppercase) */
.go-display,
.wp-block-heading.go-display,
h1.go-display, h2.go-display, h3.go-display {
	font-family: Anton, Impact, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1.08;
}
.go-hero-title { font-size: clamp(52px, 9.5vw, 112px) !important; line-height: 0.95 !important; }
.go-section-title { font-size: clamp(32px, 4.5vw, 44px) !important; }

/* Accent words inside headings */
.go-accent {
	color: var(--wp--preset--color--highlight);
	font-style: normal;
}

/* Cards */
.go-card {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 8px;
	padding: 24px;
	box-sizing: border-box;
}
.go-card--ink {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink-border);
	color: var(--wp--preset--color--ink-foreground);
}
.go-card h3, .go-card--ink h3 { margin: 12px 0 8px !important; }

/* Experience badges */
.go-badge {
	display: inline-block;
	font-size: 10px !important;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 4px 8px;
	border-radius: 4px;
	margin: 0 0 14px !important;
	width: fit-content;
}
.go-badge--confident { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--primary); }
.go-badge--learning { background: var(--wp--preset--color--earth-soft); color: var(--wp--preset--color--earth); }
.go-badge--field { background: var(--wp--preset--color--secondary); color: var(--wp--preset--color--muted-foreground); }

/* Dark banner strip under the hero */
.go-strip {
	border-top: 1px solid var(--wp--preset--color--ink-border);
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink-foreground);
}
.go-strip p {
	font-size: 9.5px !important;
	font-weight: 700;
	letter-spacing: 0 !important;
	text-transform: uppercase;
	margin: 0 !important;
}



/* Keep the four strip items in a 4 column row (2 columns on phones) */
.go-strip .wp-block-columns {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px 24px !important;
	flex-wrap: nowrap !important;
}
.go-strip .wp-block-column {
	flex: none !important;
	margin: 0 !important;
	min-width: 0 !important;
}
@media (min-width: 768px) {
	.go-strip .wp-block-columns {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}
@media (min-width: 1024px) {
	.go-strip p {
		font-size: 11px !important;
		letter-spacing: 0.08em;
	}
}



/* Header */
.go-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--wp--preset--color--background);
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-block: 14px;
}
.go-brand-logo { margin: 0 !important; }
.go-brand-logo img { border-radius: 50%; display: block; }
.go-brand-title, .go-brand-title a {
	font-family: Anton, Impact, sans-serif;
	font-size: 22px;
	text-transform: uppercase;
	line-height: 1;
	margin: 0 !important;
	color: var(--wp--preset--color--foreground);
}
.go-brand-tagline {
	font-size: 9px !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted-foreground);
	margin: 4px 0 0 !important;
}
.go-nav .wp-block-navigation-item__content,
.go-nav .wp-block-navigation-item__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Buttons */
.wp-block-button__link {
	border-radius: 6px !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
}
.go-btn-outline .wp-block-button__link {
	background: transparent !important;
	color: inherit;
	border: 2px solid currentColor;
}

/* Video + product cards */
.go-media-card img { border-radius: 8px; display: block; }
.go-media-card h3 a { color: var(--wp--preset--color--foreground); text-decoration: none; }
.go-media-card h3 a:hover { color: var(--wp--preset--color--primary); }
.go-duration {
	font-size: 12px !important;
	font-weight: 600;
	color: var(--wp--preset--color--muted-foreground);
	margin: 6px 0 0 !important;
}
.go-product {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	height: 100%;
}
.go-product .go-product-body { display: flex; flex-direction: column; flex-grow: 1; }
.go-product-banner {
	background: var(--wp--preset--color--ink);
	border-radius: 8px 8px 0 0;
	padding: 22px 18px;
	text-align: center;
}
.go-product-banner h3, .go-product-banner .wp-block-heading {
	color: var(--wp--preset--color--ink-foreground);
	font-family: Anton, Impact, sans-serif;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 24px !important;
	line-height: 1.15;
	margin: 0 !important;
}
.go-product-banner .go-accent { color: var(--wp--preset--color--highlight); }
.go-product-body {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-top: 0;
	border-radius: 0 0 8px 8px;
	padding: 20px;
	flex-grow: 1;
}
.go-price {
	font-family: Anton, Impact, sans-serif;
	font-size: 20px !important;
	margin: 0 !important;
}

/* Footer */
.go-footer {
	border-top: 1px solid var(--wp--preset--color--border);
	padding-block: 28px;
	font-size: 12px;
	color: var(--wp--preset--color--muted-foreground);
}

/* Base */
body {
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
}
body, .wp-block-post-content p {
	font-family: Manrope, sans-serif;
}
a { text-underline-offset: 3px; }
.go-on-dark { color: var(--wp--preset--color--ink-foreground) !important; }

@media (max-width: 600px) {
	.go-brand-tagline { display: none; }
}
