/* Wrapper for sections embedded via the growthcore/section block, [growthcore_section] shortcode or the Elementor widget. */
.gc-section-embed { display: block; width: auto; min-width: 0; }

/* As a full-width block inside a padded (has-global-padding) container core gives the wrapper negative side
   margins; width must stay auto so the box stretches edge to edge instead of 100% of the padded content box. */
/* stylelint-disable-next-line selector-class-pattern -- core alignment class. */
.gc-section-embed.alignfull { width: auto; max-width: none; }

/* The pattern's own full-width group must not fight the wrapper (no root-padding negative margins here). */
/* stylelint-disable-next-line selector-class-pattern -- core alignment class. */
.gc-section-embed > .alignfull { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }

.gc-section-embed__empty { margin: 0; padding: var(--wp--preset--spacing--40, 24px); border: 1px dashed currentcolor; border-radius: 8px; opacity: .7; font-size: var(--wp--preset--font-size--sm, 14px); text-align: center; }

/* Block editor: keep ServerSideRender output from being clipped and show a hover outline like other blocks. */
/* stylelint-disable-next-line selector-class-pattern -- core editor wrapper class. */
.editor-styles-wrapper .gc-section-embed { overflow: visible; }

/* ---------------------------------------------------------------------------------------------------------------
   Custom (layout-based) sections — .gc-s. Colours/fonts come from the theme's theme.json presets when present
   (--wp--preset--color--{green|forest|pale|ink|line}); the fallbacks keep it presentable on any theme. Override
   per site with the --gc-* custom properties or a template copy in <theme>/growthcore/sections/<layout>.php.
   ------------------------------------------------------------------------------------------------------------- */
.gc-s {
	--gc-brand: var(--wp--preset--color--green, #2f6f2f);
	--gc-brand-dark: var(--wp--preset--color--forest, #123126);
	--gc-ink: var(--wp--preset--color--ink, #14221c);
	--gc-muted: var(--wp--preset--color--muted, #65716a);
	--gc-pale: var(--wp--preset--color--pale, #f5f7f2);
	--gc-line: var(--wp--preset--color--line, #dfe6dc);
	--gc-radius: 8px;
	--gc-pad: clamp(48px, 7vw, 88px);
	--gc-heading-font: var(--wp--preset--font-family--heading, inherit);
	position: relative;
	padding: var(--gc-pad) 5%;
	color: var(--gc-ink);
	font-family: inherit;
	box-sizing: border-box;
}

.gc-s *, .gc-s *::before, .gc-s *::after { box-sizing: inherit; }

.gc-s--bg-light { background: var(--gc-pale); }

.gc-s--bg-dark { background: var(--gc-brand-dark); color: #fff; }

.gc-s--bg-brand { background: var(--gc-brand); color: #fff; }

.gc-s__inner { max-width: 1320px; margin: 0 auto; }

.gc-s__inner--narrow { max-width: 820px; }

.gc-s__inner--split { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

.gc-s__inner--media { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; }

.gc-s__inner--media.is-media-left .gc-s__media { order: -1; }

.gc-s__head { max-width: 760px; margin-bottom: 36px; }

.gc-s__eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gc-brand); }

.gc-s--bg-dark .gc-s__eyebrow, .gc-s--bg-brand .gc-s__eyebrow { color: rgba(255,255,255,.75); }

.gc-s__eyebrow--center { text-align: center; }

.gc-s__heading { margin: 0; font-family: var(--gc-heading-font); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }

.gc-s__intro, .gc-s__text { margin: 16px 0 0; font-size: 17px; line-height: 1.6; max-width: 640px; }

.gc-s--bg-dark .gc-s__intro, .gc-s--bg-dark .gc-s__text, .gc-s--bg-brand .gc-s__intro, .gc-s--bg-brand .gc-s__text { color: rgba(255,255,255,.88); }

.gc-s__body { margin-top: 18px; font-size: 17px; line-height: 1.7; }

.gc-s__body > :first-child { margin-top: 0; }

.gc-s__body a { color: var(--gc-brand); }

.gc-s--bg-dark .gc-s__body a, .gc-s--bg-brand .gc-s__body a { color: #fff; }

.gc-s__button { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 15px 24px; border-radius: 6px; background: var(--gc-brand); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .15s ease, background .15s ease; }

.gc-s__button:hover { transform: translateY(-1px); background: var(--gc-brand-dark); }

.gc-s--bg-brand .gc-s__button, .gc-s--bg-dark .gc-s__button { background: #fff; color: var(--gc-brand-dark); }

.gc-s__inner--split .gc-s__button { margin-top: 0; }

.gc-s__media { margin: 0; }

.gc-s__media img { display: block; width: 100%; height: auto; border-radius: var(--gc-radius); object-fit: cover; }

.gc-s__grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

@media (min-width: 900px) {

	.gc-s__grid--2 { grid-template-columns: repeat(2, 1fr); }

	.gc-s__grid--3 { grid-template-columns: repeat(3, 1fr); }

	.gc-s__grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.gc-s__card { display: block; padding: 28px; border: 1px solid var(--gc-line); border-radius: var(--gc-radius); background: #fff; color: inherit; text-decoration: none; }

.gc-s--bg-dark .gc-s__card, .gc-s--bg-brand .gc-s__card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }

a.gc-s__card:hover .gc-s__card-title { color: var(--gc-brand); }

.gc-s__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gc-pale); color: var(--gc-brand); font-size: 20px; margin-bottom: 16px; }

.gc-s__card-title { margin: 0 0 8px; font-family: var(--gc-heading-font); font-size: 20px; line-height: 1.25; }

.gc-s__card-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--gc-muted); }

.gc-s--bg-dark .gc-s__card-text, .gc-s--bg-brand .gc-s__card-text { color: rgba(255,255,255,.8); }

.gc-s__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 24px; margin: 0; text-align: center; }

.gc-s__stat { padding: 20px 12px; border-left: 1px solid var(--gc-line); }

.gc-s__stat:first-child { border-left: 0; }

.gc-s__stat-value { font-family: var(--gc-heading-font); font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--gc-brand); }

.gc-s--bg-dark .gc-s__stat-value, .gc-s--bg-brand .gc-s__stat-value { color: #fff; }

.gc-s__stat-label { margin: 10px 0 0; font-size: 14px; color: var(--gc-muted); }

.gc-s--bg-dark .gc-s__stat-label, .gc-s--bg-brand .gc-s__stat-label { color: rgba(255,255,255,.8); }

.gc-s__faq { border-top: 1px solid var(--gc-line); }

.gc-s__faq-item { border-bottom: 1px solid var(--gc-line); }

.gc-s__faq-q { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 18px; position: relative; }

.gc-s__faq-q::-webkit-details-marker { display: none; }

.gc-s__faq-q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--gc-brand); }

.gc-s__faq-item[open] > .gc-s__faq-q::after { content: "−"; }

.gc-s__faq-a { padding: 0 0 22px; font-size: 16px; line-height: 1.7; max-width: 720px; }

.gc-s__quote { margin: 0; padding: 28px; border: 1px solid var(--gc-line); border-radius: var(--gc-radius); background: #fff; color: var(--gc-ink); }

.gc-s__stars { color: #e0a800; letter-spacing: 2px; font-size: 14px; }

.gc-s__quote-text { margin: 12px 0 18px; font-size: 16px; line-height: 1.65; }

.gc-s__quote-by { font-size: 13px; color: var(--gc-muted); }

.gc-s__quote-by strong { display: block; color: var(--gc-ink); font-size: 14px; }

.gc-s__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: gc-step; }

.gc-s__step { padding: 24px 0 0; border-top: 2px solid var(--gc-brand); }

.gc-s__step-num { display: block; margin-bottom: 10px; font-family: var(--gc-heading-font); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--gc-brand); }

.gc-s--bg-dark .gc-s__step-num, .gc-s--bg-brand .gc-s__step-num { color: rgba(255,255,255,.75); }

.gc-s__logos { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; justify-content: center; }

.gc-s__logo img { display: block; max-height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: opacity .15s ease, filter .15s ease; }

.gc-s__logo:hover img { filter: none; opacity: 1; }

.gc-s__logo-text { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; color: var(--gc-muted); }

.gc-s--banner { padding: 0; }

.gc-s__banner { position: relative; min-height: 380px; display: flex; align-items: center; background: var(--gc-brand-dark) center/cover no-repeat; color: #fff; padding: var(--gc-pad) 5%; }

.gc-s__banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,22,14,.9), rgba(3,22,14,.35)); }

.gc-s__banner-copy { position: relative; margin: 0; }

.gc-s__banner .gc-s__eyebrow { color: rgba(255,255,255,.75); }

.gc-s__banner .gc-s__text { color: rgba(255,255,255,.85); }

.gc-s__banner .gc-s__button { background: #fff; color: var(--gc-brand-dark); }

@media (prefers-reduced-motion: reduce) {

 .gc-s__button, .gc-s__logo img { transition: none; } }
