/*
Theme Name: Growth Coach - Plum & Mustard
Description: A warm, bold block theme for business coaches, consultants and speakers. Includes full-page patterns for home, about, coaching, speaking, workshops, free tools, contact and a diagnostic landing page. All content is placeholder text meant to be replaced.
Version: 1.0.1
Requires at least: 6.6
Tested up to: 6.8
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: growth-coach
Tags: block-patterns, full-site-editing, one-column, custom-colors, business
*/

/* ---------- Global ---------- */
.wp-site-blocks > main,
.wp-site-blocks > footer { margin-block-start: 0; }

/* Never allow sideways scrolling. "clip" (modern browsers) also works on phones,
   where overflow-x: hidden on body alone is often ignored. */
body { overflow-x: hidden; }
@supports (overflow-x: clip) {
	html, body { overflow-x: clip; }
}

.uppercase { text-transform: uppercase; }

/* ---------- Header ---------- */
.gc-header { position: relative; z-index: 10; }
.gc-header .wp-block-navigation .wp-block-navigation-item__content { padding: 4px 0; }
.gc-header .wp-block-navigation .current-menu-item > a,
.gc-header .wp-block-navigation a:hover { color: var(--wp--preset--color--orange); }
.gc-header .wp-block-button__link { padding: 10px 22px; font-size: 15px; }
.gc-header .wp-block-group { min-width: 0; }
.gc-header .wp-block-site-title { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Hero ---------- */
.gc-hero {
	background-image: url(assets/images/hero-waves.svg);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: min(62%, 820px) auto;
}
.gc-hero h1,
.gc-display { text-transform: uppercase; max-width: 11ch; }
@media (max-width: 781px) {
	.gc-hero { background-size: 90% auto; padding-bottom: 180px !important; }
}

/* Inner page banner */
.gc-banner {
	background-image: url(assets/images/banner-waves.svg);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: min(55%, 700px) auto;
}
.gc-banner .wp-block-post-title,
.gc-banner h1 { text-transform: uppercase; }

/* ---------- Curved section edges ---------- */
.gc-curve-top { position: relative; }
.gc-curve-top::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -58px;
	height: 60px;
	background: inherit;
	background-image: none;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	pointer-events: none;
}

/* ---------- Stats ---------- */
.gc-stat-num {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1;
	margin-bottom: 4px !important;
}
.gc-stat-label { font-family: var(--wp--preset--font-family--barlow); font-weight: 700; margin-top: 0 !important; }

/* ---------- Images ---------- */
.gc-illo img { max-height: 190px; max-width: 100%; width: auto; margin-inline: auto; display: block; }
.gc-avatar img { width: 154px; height: 154px; border-radius: 50%; object-fit: cover; }
.gc-icon img { width: 70px; height: 70px; }
.gc-portrait img { max-width: 320px; width: 100%; height: auto; }
.gc-logo-grid img { max-height: 70px; max-width: 100%; width: auto; height: auto; margin-inline: auto; display: block; opacity: .8; }
.gc-badges img { height: 90px; width: auto; }

/* ---------- Cards ---------- */
.gc-card {
	background: var(--wp--preset--color--white);
	box-shadow: 0 10px 30px rgba(59, 31, 63, .08);
	height: 100%;
}
.gc-card-dark { background: rgba(255, 255, 255, .06); height: 100%; }
.gc-link-arrow a { text-decoration: none; font-weight: 600; }
.gc-link-arrow a::after { content: " \2192"; }

/* ---------- Video placeholder ---------- */
.gc-video {
	background: var(--wp--preset--color--slate) url(assets/images/video.svg) center / cover no-repeat;
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Posts grid ---------- */
.gc-posts .wp-block-post {
	background: var(--wp--preset--color--white);
	padding: 0 0 24px;
	box-shadow: 0 10px 30px rgba(59, 31, 63, .08);
}
.gc-posts .wp-block-post > *:not(.wp-block-post-featured-image) { padding-inline: 24px; }
.gc-posts .wp-block-post-title a { text-decoration: none; }
.gc-posts .wp-block-post-excerpt__more-link { font-weight: 600; }

/* ---------- Events table ---------- */
.gc-events table { border-collapse: collapse; background: var(--wp--preset--color--white); }
.gc-events th {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--barlow);
	text-align: left;
	padding: 14px 18px;
	border: 0;
}
.gc-events td { padding: 14px 18px; border: 0; border-bottom: 1px solid rgba(59, 31, 63, .12); }
.gc-events tr:nth-child(even) td { background: var(--wp--preset--color--ice); }

/* ---------- Form placeholder ---------- */
.gc-form-placeholder {
	border: 2px dashed var(--wp--preset--color--teal);
	background: rgba(255, 255, 255, .6);
}
.has-slate-background-color .gc-form-placeholder,
.has-navy-background-color .gc-form-placeholder { background: rgba(255, 255, 255, .08); }

/* ---------- Coaching journey sections ---------- */
.gc-eyebrow {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
	margin-bottom: 0 !important;
}
.gc-quote-big {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
	color: var(--wp--preset--color--navy);
}
.gc-stat-big {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: clamp(48px, 7vw, 75px);
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--orange);
	margin-bottom: 8px !important;
}
.gc-feature-card { height: 100%; display: flex; flex-direction: column; }
.gc-feature-card .gc-link-arrow { margin-top: auto; }
.gc-feature-card .gc-eyebrow { color: var(--wp--preset--color--sand); }
.gc-on-dark h2,
.gc-on-dark h3 { color: var(--wp--preset--color--white); }
.gc-impact > .wp-block-column { border-top: 3px solid var(--wp--preset--color--orange); padding-top: 20px; }

/* ---------- Tobacco accents ---------- */
.gc-eyebrow { color: var(--wp--preset--color--tobacco); }
.gc-on-dark .gc-eyebrow,
.gc-feature-card .gc-eyebrow { color: var(--wp--preset--color--sand); }
.gc-quote-big {
	border-left: 6px solid var(--wp--preset--color--tobacco);
	padding-left: 28px;
}
.gc-events th { background: var(--wp--preset--color--tobacco); }
.gc-form-placeholder { border-color: var(--wp--preset--color--tobacco); }
.gc-header .wp-block-navigation a:hover { color: var(--wp--preset--color--tobacco); }
.gc-card { border-bottom: 4px solid var(--wp--preset--color--tobacco); }
.gc-posts .wp-block-post { border-bottom: 4px solid var(--wp--preset--color--tobacco); }

/* ---------- Statement bar ---------- */
.gc-statement-main {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}
.gc-statement-main strong { color: var(--wp--preset--color--orange); font-weight: 700; }
.gc-statement-sub {
	font-family: var(--wp--preset--font-family--barlow);
	font-size: var(--wp--preset--font-size--large);
	margin: 0;
}

/* ---------- Home page, first block (hero) ---------- */
/* Ribbons only: lavender instead of dark purple, tan instead of tobacco brown. Front page only. */
.home .wp-block-post-content > .gc-hero:first-child {
	background-image: url(assets/images/hero-waves-home.svg);
}

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.gc-header .wp-block-buttons { display: none; }
	.gc-services { flex-wrap: wrap !important; justify-content: center; }
	.gc-services > .wp-block-column { flex: 0 0 30% !important; }
	.gc-events table { font-size: 14px; }
	.gc-events th, .gc-events td { padding: 10px; }
	.gc-posts .wp-block-post-template { grid-template-columns: 1fr !important; }
}

/* ---------- Footer ---------- */
.gc-footer .wp-block-button__link { font-size: 15px; }
.gc-footer a { color: var(--wp--preset--color--white); }
.gc-footer a:hover { color: var(--wp--preset--color--orange); }
