/*
Theme Name: The Green Techpreneur
Theme URI: https://thegreentechpreneur.com
Author: The Green Techpreneur Ltd
Author URI: https://thegreentechpreneur.com
Description: Magazine-first block theme for The Green Techpreneur: founder stories, investor voices and sector briefings, connected to Climate Marketplace. Edit everything in the Site Editor.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.3.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greentechpreneur
Tags: blog, news, block-patterns, full-site-editing, wide-blocks, custom-colors
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }

/* Highlighter: use the "Highlight" text format inside headings for the lime underline */
:where(h1, h2, h3, .wp-block-heading) mark {
	background: none !important;
	color: inherit !important;
	box-shadow: inset 0 -0.3em 0 var(--wp--preset--color--lime);
	padding: 0 0.04em;
}

/* ---------- Header ---------- */
.gt-brandband { line-height: 1; }
.gt-lockup { gap: 16px; }
.gt-lockup .wp-block-image { margin: 0; }
.gt-lockup .wp-block-image img { height: 46px; width: auto; border-radius: 0; }
.gt-lockup-words {
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	padding-left: 16px;
}
.gt-lockup-words p { margin: 0; }
.gt-lockup-words a { color: inherit !important; text-decoration: none; }

.gt-menubar .wp-block-navigation__container { flex-wrap: nowrap; gap: 0 32px; }
.gt-menubar .wp-block-navigation-item { white-space: nowrap; }
.gt-menubar .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 2px;
	color: var(--wp--preset--color--brand);
}
.gt-menubar .current-menu-item > .wp-block-navigation-item__content,
.gt-menubar .wp-block-navigation-item__content[aria-current="page"],
.gt-menubar .wp-block-navigation-item__content:hover {
	box-shadow: inset 0 -4px 0 var(--wp--preset--color--lime);
}
/* Sections dropdown: two-column panel */
.gt-menubar .gt-sections > .wp-block-navigation__submenu-container {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(240px, 1fr));
	padding: 16px !important;
	gap: 2px 16px;
	border: none !important;
	border-top: 4px solid var(--wp--preset--color--lime) !important;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 24px 48px rgba(45, 46, 45, 0.14);
	text-transform: none;
	letter-spacing: 0;
	font-size: 16px;
}
.gt-menubar .gt-sections .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	min-height: 0;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--wp--preset--color--charcoal);
	box-shadow: none;
}
.gt-menubar .gt-sections .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--off-white);
	box-shadow: inset 4px 0 0 var(--wp--preset--color--lime);
}
@media (max-width: 600px) {
	.gt-lockup .wp-block-image img { height: 36px; }
	.gt-lockup-words .gt-wordmark { font-size: 16px !important; letter-spacing: 0.18em !important; }
}

/* ---------- Block styles ---------- */

/* Card */
.is-style-gt-card {
	background: var(--wp--preset--color--white);
	border-top: 8px solid var(--wp--preset--color--lime);
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(45, 46, 45, 0.07);
}
.wp-block-post-template.is-style-gt-cards > li {
	background: var(--wp--preset--color--white);
	border-top: 8px solid var(--wp--preset--color--lime);
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(45, 46, 45, 0.07);
	padding: 24px;
}

/* Telegraph-style column dividers */
@media (min-width: 782px) {
	.wp-block-columns.is-style-gt-dividers { column-gap: 0 !important; }
	.wp-block-columns.is-style-gt-dividers > .wp-block-column { padding: 0 24px; }
	.wp-block-columns.is-style-gt-dividers > .wp-block-column:first-child { padding-left: 0; }
	.wp-block-columns.is-style-gt-dividers > .wp-block-column:last-child { padding-right: 0; }
	.wp-block-columns.is-style-gt-dividers > .wp-block-column + .wp-block-column { border-left: 1px solid var(--wp--preset--color--divider); }
}
.wp-block-query:has(> .wp-block-post-template.is-style-gt-dividers) { overflow: hidden; }
.wp-block-post-template.is-style-gt-dividers {
	column-gap: 0 !important;
	margin-left: -25px !important;
}
.wp-block-post-template.is-style-gt-dividers > li {
	border-left: 1px solid var(--wp--preset--color--divider);
	padding: 0 24px;
}

/* Numbered list of posts */
.wp-block-post-template.is-style-gt-numbered { counter-reset: gtnum; }
.wp-block-post-template.is-style-gt-numbered > li {
	counter-increment: gtnum;
	display: grid;
	grid-template-columns: 52px 1fr;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--divider);
	margin: 0 !important;
}
.wp-block-post-template.is-style-gt-numbered > li::before {
	content: counter(gtnum, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--titillium);
	font-weight: 600;
	font-size: 34px;
	line-height: 1;
	color: var(--wp--preset--color--lime);
}
.wp-block-post-template.is-style-gt-numbered > li > * { grid-column: 2; }
.wp-block-post-template.is-style-gt-numbered > li::before { grid-row: 1 / span 2; padding-top: 2px; }
.wp-block-post-template.is-style-gt-numbered > li > .wp-block-post-title { margin-top: 8px; margin-bottom: 0; }
.wp-block-post-template.is-style-gt-numbered > li > .wp-block-post-terms { margin: 0; }

/* Eyebrow label */
p.is-style-gt-eyebrow {
	font-family: var(--wp--preset--font-family--titillium);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand);
	margin-bottom: 0;
}

/* Category label above research headlines (Sector Briefings, Who's Raised, Opportunities Digest) */
.gt-eyebrow-terms { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0; }
.gt-eyebrow-terms a { color: var(--wp--preset--color--brand); }

/* Chips (climate themes, tags) */
.wp-block-tag-cloud.is-style-gt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-tag-cloud.is-style-gt-chips a,
.wp-block-post-terms.is-style-gt-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border: 2px solid var(--wp--preset--color--lime);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--titillium);
	font-weight: 600;
	font-size: 15px !important;
	text-transform: none;
	letter-spacing: 0;
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
	margin: 0 !important;
}
.wp-block-tag-cloud.is-style-gt-chips a:hover,
.wp-block-post-terms.is-style-gt-chips a:hover { background: var(--wp--preset--color--light-green); }
.wp-block-post-terms.is-style-gt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-post-terms.is-style-gt-chips .wp-block-post-terms__separator { display: none; }

/* Lime button */
.wp-block-button.is-style-gt-lime .wp-block-button__link {
	background: var(--wp--preset--color--lime);
	color: var(--wp--preset--color--charcoal);
}

/* Founder Wisdom quote */
.wp-block-quote.is-style-gt-wisdom { position: relative; padding-top: 0; }
.wp-block-quote.is-style-gt-wisdom::before { content: none; }
.wp-block-quote.is-style-gt-wisdom p { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.22; }
.wp-block-quote.is-style-gt-wisdom cite { font-family: var(--wp--preset--font-family--open-sans); font-size: 15px; font-style: normal; }

/* Numbered steps */
ol.is-style-gt-steps { list-style: none; counter-reset: gtstep; padding: 0; }
ol.is-style-gt-steps > li {
	counter-increment: gtstep;
	position: relative;
	padding: 18px 0 18px 58px;
	border-top: 1px solid var(--wp--preset--color--divider);
}
ol.is-style-gt-steps > li:last-child { border-bottom: 1px solid var(--wp--preset--color--divider); }
ol.is-style-gt-steps > li::before {
	content: counter(gtstep);
	position: absolute;
	left: 0;
	top: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wp--preset--color--lime);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--titillium);
	font-weight: 700;
}

/* ---------- Article ---------- */
.gt-standfirst { font-family: var(--wp--preset--font-family--titillium); font-weight: 300; }
.gt-byline { gap: 6px 14px; }
.gt-byline > * { margin: 0 !important; }
.gt-author-box .wp-block-post-author { align-items: flex-start; }
.gt-author-box .wp-block-post-author__avatar img { border-radius: 50%; border: 3px solid var(--wp--preset--color--lime); }
.gt-author-box .wp-block-post-author__name { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 19px; }
.gt-author-box .wp-block-post-author__bio { font-size: 15px; }

/* Partner and member labels */
.gt-label {
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid var(--wp--preset--color--divider);
	border-radius: 999px;
	font-size: 12px !important;
	font-weight: 600;
}

/* ---------- Footer values band ---------- */
.gt-values-line { display: flex; justify-content: center; align-items: baseline; gap: 14px; flex-wrap: wrap; }
/* All six words share one grid cell, so the line keeps a real baseline and lines up with "Our values:" */
.gt-values { display: inline-grid; vertical-align: baseline; text-align: left; }
.gt-values > span {
	grid-area: 1 / 1;
	white-space: nowrap;
	opacity: 0;
	animation: gtValue 15s infinite;
}
.gt-values > span:nth-child(2) { animation-delay: 2.5s; }
.gt-values > span:nth-child(3) { animation-delay: 5s; }
.gt-values > span:nth-child(4) { animation-delay: 7.5s; }
.gt-values > span:nth-child(5) { animation-delay: 10s; }
.gt-values > span:nth-child(6) { animation-delay: 12.5s; }
@keyframes gtValue {
	0% { opacity: 0; transform: translateY(8px); }
	2.5% { opacity: 1; transform: none; }
	13.3% { opacity: 1; transform: none; }
	16.6% { opacity: 0; transform: translateY(-8px); }
	100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.gt-values { display: inline; }
	.gt-values > span { opacity: 1; animation: none; }
	.gt-values > span:not(:last-child)::after { content: ", "; }
}

/* ---------- Footer: forest-green bottom band ---------- */
.gt-foot, .gt-foot p, .gt-foot a, .gt-foot .wp-block-navigation-item__content { color: var(--wp--preset--color--white) !important; }
.gt-foot a { text-decoration: none; }
.gt-foot a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--lime); text-underline-offset: 4px; }
.gt-foot p { margin: 0; }
.gt-foot .gt-strong .wp-block-navigation-item__content { font-weight: 700; }
.gt-foot .gt-foot-mark img { height: 36px; width: auto; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.wp-block-post-template.is-style-gt-dividers > li { border-left: none; padding: 0 0 0 25px; }
}

/* ---------- Links in listings: no underline until hover ---------- */
.wp-block-post-title a,
.wp-block-post-terms a,
.wp-block-navigation a,
.wp-block-categories a,
.gt-lockup a,
.wp-block-heading a { text-decoration: none; }
.wp-block-post-title a:hover,
.wp-block-heading a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--wp--preset--color--lime); text-underline-offset: 4px; }
.wp-block-post-terms:not(.is-style-gt-chips) a:hover { text-decoration: underline; }
.wp-block-quote.is-style-gt-wisdom.gt-small-quote { padding-top: 0; }

.wp-block-quote.is-style-gt-wisdom.gt-small-quote p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; }

/* ---------- 1.1.0 additions ---------- */

/* Explore dropdown: formats listed after the 13 themes, in green */
.gt-menubar .gt-sections .gt-nav-format > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--brand);
	font-weight: 700;
}
.gt-menubar .gt-sections .gt-nav-search > .wp-block-navigation-item__content::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	border: 2px solid currentColor;
	border-radius: 50%;
	vertical-align: -2px;
}

/* Lime label chips (category labels on the homepage) */
.wp-block-post-terms.is-style-gt-tag { display: flex; flex-wrap: wrap; gap: 6px; }
.wp-block-post-terms.is-style-gt-tag .wp-block-post-terms__separator { display: none; }
.wp-block-post-terms.is-style-gt-tag a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--wp--preset--color--light-green);
	color: var(--wp--preset--color--charcoal) !important;
	font-family: var(--wp--preset--font-family--open-sans);
	font-size: 11px !important;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}
.wp-block-post-terms.is-style-gt-tag a:hover { background: var(--wp--preset--color--lime); }

/* Sliders (Founder Wisdom and Be featured testimonials). Slides are ordinary groups you can edit
   and duplicate in the Site Editor; without JavaScript they simply stack. */
.gt-slider.is-ready > .gt-slide:not(.is-active) { display: none !important; }
.gt-slider-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--wp--preset--color--divider);
}
.gt-slider-dots { display: flex; align-items: center; }
.gt-slider-dots button {
	width: 44px; height: 44px; padding: 0; border: none; background: transparent; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.gt-slider-dots button span { display: block; width: 10px; height: 10px; border-radius: 999px; background: var(--wp--preset--color--light-green); transition: width .2s; }
.gt-slider-dots button[aria-current="true"] span { width: 28px; background: var(--wp--preset--color--brand); }
.gt-slider-arrows { display: flex; gap: 10px; align-items: center; }
.gt-slider-arrows button {
	width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	border: 2px solid var(--wp--preset--color--lime); background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--brand);
}
.gt-slider-arrows button.gt-next { border-color: var(--wp--preset--color--brand); background: var(--wp--preset--color--brand); color: var(--wp--preset--color--white); }
.gt-slider-count { font-size: 14px; color: var(--wp--preset--color--muted); margin-right: 6px; }
/* Compact slider (testimonial card): controls sit on the right, the card keeps its size */
.gt-slider--compact { position: relative; }
.gt-slider--compact.is-ready { padding-bottom: 92px !important; }
.gt-slider--compact .gt-slider-controls {
	position: absolute; right: 26px; bottom: 24px;
	margin: 0; padding: 0; border: 0;
}
.gt-slider--compact .gt-slider-dots { display: none; }
.gt-slider--compact .gt-slider-arrows button { width: 44px; height: 44px; }
.gt-wisdom-photo img { border-radius: 50%; border: 5px solid var(--wp--preset--color--lime); aspect-ratio: 1; object-fit: cover; }
.gt-wisdom-graphic img { border-radius: 18px; aspect-ratio: 1052 / 1184; object-fit: cover; height: auto; max-width: 100%; }
/* Two tilted founder portraits (homepage Marketplace section) */
.gt-photo-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: start; padding: 10px 8px 28px; }
.gt-photo-pair .wp-block-image { margin: 0; position: relative; }
.gt-photo-pair img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
	border: 4px solid var(--wp--preset--color--lime); border-radius: 16px;
	box-shadow: 0 10px 28px rgba(14, 36, 24, 0.16); background: var(--wp--preset--color--white);
}
.gt-photo-pair .gt-tilt-left { transform: rotate(-5deg); margin-right: -12%; z-index: 1; }
.gt-photo-pair .gt-tilt-right { transform: rotate(6deg); margin-top: 56px; z-index: 2; }
@media (max-width: 781px) { .gt-photo-pair { max-width: 420px; margin: 0 auto; } }
/* Founder Book Club article: rows of covers */
.gt-book-row { gap: 28px !important; margin-top: 18px !important; }
.gt-book { width: 150px; }
.gt-book .wp-block-image { margin: 0 0 10px; }
.gt-book-cover img { box-shadow: 0 6px 18px rgba(14, 36, 24, 0.14); border-radius: 3px; height: auto; }
.gt-book p { margin: 0; line-height: 1.4; }
.gt-avatar { flex: 0 0 72px; width: 72px; margin: 0; }
.gt-avatar img { width: 72px !important; height: 72px; }
.gt-book-cover img { box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.gt-avatar img { border-radius: 50%; border: 2px solid var(--wp--preset--color--lime); aspect-ratio: 1; object-fit: cover; }

/* Founder Story: Rapid-Fire panel */
.gt-rapid { border-top: 3px solid var(--wp--preset--color--lime); }
.gt-rapid > * { margin: 0 !important; padding: 14px 0; border-bottom: 1px solid var(--wp--preset--color--divider); }
.gt-rapid strong { display: inline-block; min-width: 190px; font-family: var(--wp--preset--font-family--titillium); }

/* Interview form: question group headings */
.gt-q-heading { padding-top: 18px; border-top: 1px solid var(--wp--preset--color--divider); }

/* ---------- 1.1.1 additions ---------- */

/* Cover story: a quiet green label with breathing room under the photo */
.wp-block-post-terms.gt-cover-label { margin-top: 26px !important; }
.wp-block-post-terms.gt-cover-label a { color: var(--wp--preset--color--brand); }
.wp-block-post-terms.gt-cover-label + .wp-block-post-title { margin-top: 10px; }
/* Cards: a little space between photo and label */
.wp-block-post-template.is-style-gt-cards .wp-block-post-featured-image + .wp-block-post-terms { margin-top: 18px; }

/* Built-in forms */
.gt-form { display: flex; flex-direction: column; gap: 22px; font-size: 16px; }
.gt-fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gt-fieldset + .gt-fieldset { padding-top: 26px; border-top: 1px solid var(--wp--preset--color--divider); }
.gt-fieldset > legend { padding: 0; margin-bottom: 14px; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 24px; }
.gt-fieldset > legend span { color: var(--wp--preset--color--brand); }
.gt-fieldset--plain > legend { font-family: var(--wp--preset--font-family--open-sans); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.gt-row { display: flex; flex-wrap: wrap; gap: 18px; }
.gt-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; min-width: 0; }
.gt-field--half { flex: 1 1 240px; }
.gt-field label { font-weight: 600; font-size: 15px; }
.gt-questions .gt-field label { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 18px; line-height: 1.35; }
.gt-optional { font-weight: 400; color: var(--wp--preset--color--muted); }
.gt-hint { font-size: 14px; color: var(--wp--preset--color--muted); }
.gt-form input[type="text"], .gt-form input[type="email"], .gt-form input[type="url"], .gt-form textarea {
	width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px;
	border: 1px solid var(--wp--preset--color--divider); border-radius: 6px; background: var(--wp--preset--color--white);
	font: inherit; font-size: 16px; color: var(--wp--preset--color--charcoal);
}
.gt-form textarea { line-height: 1.6; resize: vertical; }
.gt-form input:focus, .gt-form textarea:focus { outline: 2px solid var(--wp--preset--color--lime); outline-offset: 1px; border-color: var(--wp--preset--color--brand); }
.gt-form input[type="file"] { font-size: 14px; min-height: 44px; }
.gt-upload { padding: 20px; border-radius: 8px; background: var(--wp--preset--color--white); border-top: 8px solid var(--wp--preset--color--lime); box-shadow: 0 4px 24px rgba(45, 46, 45, 0.07); }
.gt-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.gt-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 2px solid var(--wp--preset--color--divider); border-radius: 999px; background: var(--wp--preset--color--white); font-family: var(--wp--preset--font-family--titillium); font-weight: 600; cursor: pointer; }
.gt-pill input { width: 18px; height: 18px; accent-color: var(--wp--preset--color--brand); margin: 0; }
.gt-pill:has(input:checked) { border-color: var(--wp--preset--color--brand); background: var(--wp--preset--color--light-green); }
.gt-pill:has(input:focus-visible) { outline: 2px solid var(--wp--preset--color--brand); outline-offset: 2px; }
.gt-q-heading { margin: 10px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--wp--preset--color--divider); font-family: var(--wp--preset--font-family--titillium); font-size: 14px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--brand); }
.gt-tagline { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--wp--preset--color--lime); font-family: var(--wp--preset--font-family--open-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 2px; }
.gt-intro { margin: 0; padding: 16px 20px; border-radius: 8px; background: var(--wp--preset--color--off-white); }
.gt-closing { margin: 0; font-size: 15px; }
.gt-topic-note { margin: 0; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--wp--preset--color--divider); background: var(--wp--preset--color--white); font-size: 15px; }
.gt-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.gt-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wp--preset--color--brand); flex: none; }
.gt-submit { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 3px solid var(--wp--preset--color--lime); }
.gt-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gt-btn { min-height: 52px; padding: 0 28px; border: none; border-radius: 999px; background: var(--wp--preset--color--brand); color: var(--wp--preset--color--white); font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 17px; cursor: pointer; }
.gt-btn:hover { background: var(--wp--preset--color--charcoal); }
.gt-btn--lime { background: var(--wp--preset--color--lime); color: var(--wp--preset--color--charcoal); }
.gt-btn--outline { background: transparent; color: var(--wp--preset--color--brand); border: 2px solid var(--wp--preset--color--brand); }
.gt-btn--outline:hover { background: var(--wp--preset--color--light-green); color: var(--wp--preset--color--charcoal); }
.gt-save-note { margin: 0; font-size: 14px; color: var(--wp--preset--color--muted); }
.gt-save-note:empty { display: none; }
.gt-notice { margin-bottom: 18px; padding: 16px 18px; border-radius: 8px; background: var(--wp--preset--color--light-green); font-weight: 600; }
.gt-notice--error { background: #FDECEC; color: #8A1C1C; }
.gt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gt-form [hidden] { display: none !important; }

/* Home link: underline it on the homepage, like the active menu item */
body.home .gt-menubar .gt-nav-home > .wp-block-navigation-item__content { box-shadow: inset 0 -4px 0 var(--wp--preset--color--lime); }

/* ==========================================================================
   Founder Book Club (/book-club/ and /book-club/library/)
   ========================================================================== */
.gt-handwritten {
	font-family: 'Caveat', cursive !important;
	font-weight: 500;
	font-size: 28px !important;
	line-height: 1.2;
	color: var(--wp--preset--color--brand);
}
.gt-handwritten.gt-tilt { transform: rotate(-2deg); transform-origin: left center; }

/* The open book on a green mat */
.gt-bc-hero { padding: 64px 32px 0; }
.gt-bc-mat {
	max-width: 1280px; margin: 0 auto !important; box-sizing: border-box;
	background: var(--wp--preset--color--brand); border-radius: 16px; padding: 30px 30px 44px;
}
.gt-bc-spread {
	position: relative; display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important;
	border-radius: 8px; box-shadow: 0 30px 60px rgba(8, 28, 16, 0.35);
}
.gt-bc-spread::before, .gt-bc-spread::after {
	content: ""; position: absolute; height: 24px; border-radius: 0 0 8px 8px; z-index: -1;
}
.gt-bc-spread::before { left: 10px; right: 10px; bottom: -10px; background: #EFE9DF; box-shadow: 0 2px 0 #DCD3C4; }
.gt-bc-spread::after { left: 4px; right: 4px; bottom: -5px; background: #F5F0E8; }
.gt-bc-page {
	position: relative; background: var(--wp--preset--color--off-white); box-sizing: border-box;
	min-height: 620px; padding: 56px 64px 40px; display: flex !important; flex-direction: column; margin: 0 !important;
}
.gt-bc-page > * { margin-block: 0 !important; }
.gt-bc-page > * + * { margin-top: 22px !important; }
.gt-bc-page--left { border-radius: 8px 0 0 8px; box-shadow: inset -46px 0 46px -34px rgba(14, 36, 24, 0.28); }
.gt-bc-page--right { border-radius: 0 8px 8px 0; box-shadow: inset 46px 0 46px -34px rgba(14, 36, 24, 0.28); align-items: center; text-align: center; }
.gt-bc-page--right::before {
	content: ""; position: absolute; top: -12px; right: 72px; width: 38px; height: 150px;
	background: var(--wp--preset--color--lime); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}
.gt-bc-runner {
	font-family: 'Titillium Web', sans-serif; font-weight: 600; font-size: 12px !important;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--wp--preset--color--muted); text-align: center;
}
.gt-bc-page--left .is-style-gt-eyebrow { margin-top: 30px !important; }
.gt-bc-title { font-size: clamp(46px, 5.2vw, 74px) !important; line-height: 0.98 !important; letter-spacing: -0.03em; }
.gt-bc-intro { font-size: 19px; max-width: 440px; }
.gt-bc-page .wp-block-buttons { gap: 14px; }
.gt-bc-folio { margin-top: auto !important; padding-top: 24px; text-align: center; font-family: 'Titillium Web', sans-serif; font-size: 14px !important; color: var(--wp--preset--color--muted); }
.gt-bc-page--left .gt-bc-folio { align-self: stretch; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; border: 2px solid var(--wp--preset--color--brand); color: var(--wp--preset--color--brand);
}
.gt-bc-pick { display: flex; flex-direction: column; align-items: center; gap: 0; }
.gt-bc-pick > * { margin: 0; }
.gt-bc-pick-cover { width: 230px; height: auto; margin-top: 34px !important; border-radius: 3px; transform: rotate(-3deg); box-shadow: 0 24px 36px rgba(14, 36, 24, 0.3); }
.gt-bc-pick-title { margin-top: 34px !important; font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.15; }
.gt-bc-pick-author { font-size: 16px; color: var(--wp--preset--color--muted); }
.gt-bc-pick-by { display: flex; align-items: center; gap: 12px; margin-top: 18px !important; color: var(--wp--preset--color--brand); text-align: left; }
.gt-bc-pick-by span { font-family: 'Caveat', cursive; font-weight: 700; font-size: 25px; line-height: 1.1; }
.gt-bc-pick-quote { margin-top: 12px !important; max-width: 380px; font-family: 'Caveat', cursive; font-size: 23px; line-height: 1.2; }
.gt-bc-pick-link { margin-top: 14px !important; font-size: 16px; font-weight: 600; }

/* How the club works */
.gt-bc-chapters { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.gt-bc-chapters > * { margin: 0 !important; }
.gt-bc-chapter { padding: 28px 28px 32px; }
.gt-bc-chapter > * { margin-block: 0 0 10px !important; }
.gt-bc-chapter-no { font-family: 'Titillium Web', sans-serif; font-weight: 300; font-size: 40px !important; line-height: 1; color: var(--wp--preset--color--brand); }
.gt-bc-chapter p:last-child { font-size: 16px; }

/* Shelves */
.gt-bc-shelves { display: flex; flex-direction: column; gap: 150px; margin-top: 140px !important; }
.gt-bc-section { min-width: 0; }
.gt-bc-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.gt-bc-label {
	display: inline-flex; margin: 0 !important; padding: 6px 14px; border-radius: 999px; background: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--lime); font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 15px !important; line-height: 1.4;
}
.gt-bc-more { font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 16px; }
.gt-bc-bays { display: grid; grid-template-columns: auto; grid-template-rows: auto auto auto; justify-content: start; column-gap: 48px; row-gap: 0; }
.gt-bc-bays--pair { grid-template-columns: auto auto; justify-content: space-between; }
.gt-bc-plank { display: grid; grid-row: span 3; grid-template-rows: subgrid; min-width: 0; }
.gt-bc-row { display: flex; flex-wrap: nowrap; gap: 36px; padding: 0 28px; }
.gt-bc-row:first-child { align-items: flex-end; }
.gt-bc-board { height: 16px; border-radius: 3px; background: var(--wp--preset--color--brand); border-top: 4px solid #3A9A4C; box-shadow: 0 14px 18px -8px rgba(14, 36, 24, 0.35); }
.gt-bc-captions { padding-top: 16px; }
.gt-bc-book { position: relative; flex: none; width: 150px; }
.gt-bc-caption { flex: none; width: 150px; font-size: 14px; line-height: 1.4; }
.gt-bc-caption strong, .gt-bc-caption span { display: block; }
.gt-bc-author { color: var(--wp--preset--color--muted); }
.gt-bc-by { font-family: 'Caveat', cursive; font-size: 20px; line-height: 1.1; color: var(--wp--preset--color--brand); margin-top: 2px; }
.gt-bc-sec { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--brand); margin-bottom: 4px; }
.gt-bc-cover { display: block; padding: 0; border: 0; background: none; cursor: pointer; width: 150px; }
.gt-bc-cover img { display: block; width: 150px; height: auto; border-radius: 3px; box-shadow: 0 10px 18px rgba(14, 36, 24, 0.22); transition: transform .25s ease, box-shadow .25s ease; }
.gt-bc-blank { display: flex; align-items: center; justify-content: center; width: 150px; height: 220px; padding: 12px; box-sizing: border-box; border-radius: 3px; background: var(--wp--preset--color--brand); color: #fff; font-family: 'Titillium Web', sans-serif; font-weight: 700; }
.gt-bc-book:hover .gt-bc-cover img, .gt-bc-book:focus-within .gt-bc-cover img { transform: translateY(-12px) rotate(-1.5deg); box-shadow: 0 22px 30px rgba(14, 36, 24, 0.28); }
.gt-bc-cover:focus-visible { outline: 3px solid var(--wp--preset--color--lime); outline-offset: 6px; border-radius: 4px; }

/* Hover card */
.gt-bc-card {
	position: absolute; z-index: 20; bottom: calc(100% + 4px); left: 50%; width: 300px; margin-left: -150px; box-sizing: border-box;
	display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 18px 20px 16px;
	background: var(--wp--preset--color--white); border-radius: 8px; border-top: 6px solid var(--wp--preset--color--lime);
	box-shadow: 0 18px 40px rgba(14, 36, 24, 0.22);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.gt-bc-card::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; width: 16px; height: 16px; background: var(--wp--preset--color--white); transform: rotate(45deg); }
.gt-bc-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 24px; }
.gt-bc-book:first-child .gt-bc-card { left: -8px; margin-left: 0; }
.gt-bc-book:first-child .gt-bc-card::after { left: 75px; }
.gt-bc-row .gt-bc-book:last-child:not(:first-child) .gt-bc-card { left: auto; right: -8px; margin-left: 0; }
.gt-bc-row .gt-bc-book:last-child:not(:first-child) .gt-bc-card::after { left: auto; right: 67px; margin-left: 0; }
.gt-bc-book:hover .gt-bc-card, .gt-bc-book:focus-within .gt-bc-card { opacity: 1; visibility: visible; transform: none; }
.gt-bc-card p { margin: 0; }
.gt-bc-tag { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--wp--preset--color--light-green); font-size: 12px; font-weight: 700; color: #1F5F2B; }
.gt-bc-quote { font-family: 'Caveat', cursive; font-weight: 500; font-size: 23px; line-height: 1.2; color: var(--wp--preset--color--charcoal); }
.gt-bc-who { font-size: 13px; line-height: 1.4; color: var(--wp--preset--color--muted); }
.gt-bc-who strong { color: var(--wp--preset--color--charcoal); }
.gt-bc-rec { font-size: 15px; line-height: 1.45; }
.gt-bc-links { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; border-top: 1px solid var(--wp--preset--color--divider); font-size: 14px; font-weight: 600; }

/* Notes in the margin */
.gt-bc-margin { display: flex !important; flex-wrap: wrap; align-items: center; gap: 56px; padding: 64px 56px; }
.gt-bc-margin > * { margin: 0 !important; }
.gt-bc-margin-cover { flex: none; }
.gt-bc-margin-cover img { border-radius: 3px; transform: rotate(3deg); box-shadow: 0 20px 32px rgba(14, 36, 24, 0.25); }
.gt-bc-margin-text { flex: 1 1 460px; min-width: 0; }
.gt-bc-note { position: relative; margin-top: 18px !important; background: var(--wp--preset--color--off-white); padding: 36px 36px 28px; border-radius: 3px; transform: rotate(-1deg); box-shadow: 0 8px 18px rgba(45, 46, 45, 0.1); }
.gt-bc-note::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; margin-left: -60px; background: rgba(103, 200, 77, 0.55); transform: rotate(2deg); }
.gt-bc-note-quote { margin: 0 !important; font-family: 'Caveat', cursive; font-weight: 500; font-size: 34px !important; line-height: 1.25; }
.gt-bc-note-who { margin: 16px 0 0 !important; font-size: 15px; color: var(--wp--preset--color--muted); }
.gt-bc-note-who strong { color: var(--wp--preset--color--charcoal); }

/* Meeting waitlist */
.gt-bc-meetup { display: flex !important; flex-wrap: wrap; gap: 56px; padding: 64px 56px; }
.gt-bc-meetup > * { margin: 0 !important; }
.gt-bc-meetup-text { flex: 1 1 420px; min-width: 0; }
.gt-bc-meetup-text > * + * { margin-top: 18px !important; }
.gt-bc-formbox { flex: 1 1 420px; min-width: 0; padding: 32px; border-radius: 8px; background: var(--wp--preset--color--off-white); }
.gt-bc-formbox .gt-form { margin: 0; }

/* Join cards */
.gt-bc-join { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.gt-bc-join > * { margin: 0 !important; }
.gt-bc-join-card { padding: 40px; border-radius: 8px; display: flex !important; flex-direction: column; gap: 14px; }
.gt-bc-join-card > * { margin: 0 !important; }
.gt-bc-join-card .gt-handwritten { font-weight: 700; font-size: 30px !important; line-height: 1; }
.gt-bc-join-card h3 { font-size: 28px; line-height: 1.15; }
.gt-bc-join-card p { font-size: 16px; }
.gt-bc-join-card--green { background: var(--wp--preset--color--brand); color: #fff; }
.gt-bc-join-card--green h3, .gt-bc-join-card--green p { color: #fff; }
.gt-bc-join-card--green .gt-handwritten { color: var(--wp--preset--color--light-green) !important; }
.gt-bc-btn-white .wp-block-button__link { background: #fff !important; color: var(--wp--preset--color--brand) !important; }

/* Library */
.gt-bc-back a { font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 15px; text-decoration: none; }
.gt-bc-count-intro { margin: 0 0 18px; font-size: 17px; }
.gt-bc-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--wp--preset--color--divider); border-bottom: 1px solid var(--wp--preset--color--divider); }
.gt-bc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gt-bc-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--wp--preset--color--divider); background: var(--wp--preset--color--white); color: var(--wp--preset--color--charcoal); font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; }
.gt-bc-chip[aria-pressed="true"] { border-color: var(--wp--preset--color--brand); background: var(--wp--preset--color--brand); color: #fff; }
.gt-bc-search { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.gt-bc-search input { min-height: 44px; width: 260px; max-width: 60vw; padding: 0 14px; border: 1px solid #C9C9C9; border-radius: 999px; background: #fff; font: inherit; font-weight: 400; }
.gt-bc-count { margin: 14px 0 0; font-size: 14px; color: var(--wp--preset--color--muted); }
.gt-bc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 64px 32px; align-items: start; margin-top: 56px; }
.gt-bc-tile { width: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gt-bc-tile[hidden] { display: none; }
.gt-bc-tile .gt-bc-card { left: 0; margin-left: 0; }
.gt-bc-tile .gt-bc-card::after { left: 60px; }
.gt-bc-tile .gt-bc-caption { width: auto; }
.gt-bc-empty { margin-top: 32px; font-size: 17px; }
.gt-bc-addyours { padding: 40px 48px; gap: 24px; }
.gt-bc-addyours h3 { margin: 0; font-size: 26px; line-height: 1.2; }
.gt-bc-addyours .gt-handwritten { margin: 0; font-weight: 700; font-size: 30px !important; line-height: 1; }

/* Book list (article) */
.gt-bc-list .gt-bc-person { margin-top: 2.2em; }
.gt-bc-list .gt-bc-role { margin: 0.2em 0 0.8em; color: var(--wp--preset--color--muted); }
.gt-bc-list-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 18px; }
.gt-bc-list-book { width: 150px; margin: 0; }
.gt-bc-list-book img { width: 150px; height: auto; border-radius: 3px; box-shadow: 0 6px 18px rgba(14, 36, 24, 0.14); }
.gt-bc-list-book figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; }

@media (max-width: 860px) {
	.gt-bc-hero { padding: 24px 10px 0; }
	.gt-bc-mat { padding: 10px 10px 22px; border-radius: 12px; }
	.gt-bc-spread { grid-template-columns: 1fr; }
	.gt-bc-page { min-height: 0; padding: 36px 22px 24px; box-shadow: none; }
	.gt-bc-title { font-size: 42px !important; }
	.gt-bc-page--right::before { right: 18px; width: 30px; height: 96px; }
	.gt-bc-page--right .gt-bc-runner { padding: 0 44px; }
	.gt-bc-pick-cover { width: 200px; }
	.gt-bc-page--left { border-radius: 8px 8px 0 0; }
	.gt-bc-page--right { border-radius: 0 0 8px 8px; border-top: 1px solid var(--wp--preset--color--divider); }
	.gt-bc-bays--pair { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 48px; }
	.gt-bc-plank { display: flex; flex-direction: column; grid-row: auto; }
	.gt-bc-plank { overflow-x: auto; padding-top: 300px; margin-top: -300px; }
	.gt-bc-margin, .gt-bc-meetup { padding: 36px 24px; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.gt-bc-cover img, .gt-bc-card { transition: none; }
}

/* Homepage "Every month" boxes: the latest roundup and digest show their featured image */
.gt-mcard-cols > .wp-block-column { display: flex; }
.gt-mcard { display: flex; flex-direction: column; width: 100%; box-sizing: border-box; padding: 32px; }
.gt-mcard__chip { align-self: flex-start; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--wp--preset--color--lime); color: var(--wp--preset--color--ink, #2D2E2D);
	font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }
.gt-mcard__big { margin: 0 0 22px; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; color: #2D2E2D; }
.gt-mcard__sub { margin: 0 0 12px; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 17px; color: #2D2E2D; }
.gt-mcard__bars, .gt-mcard__dates { list-style: none; margin: 0; padding: 0; }
.gt-mcard__bars li { margin: 0 0 11px; }
.gt-mcard__bar-label { display: block; font-size: 14px; line-height: 1.3; margin-bottom: 4px; color: #2D2E2D; }
.gt-mcard__bar-row { display: flex; align-items: center; gap: 10px; }
.gt-mcard__bar { display: block; height: 14px; border-radius: 3px; background: var(--wp--preset--color--light-green); max-width: calc(100% - 70px); }
.gt-mcard__bar-value { flex: none; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 16px; color: var(--wp--preset--color--brand); }
.gt-mcard__dates li { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid #DEDEDE; }
.gt-mcard__dates li:last-child { border-bottom: 0; }
.gt-mcard__badge { flex: none; width: 52px; height: 52px; border-radius: 6px; background: var(--wp--preset--color--brand); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-family: var(--wp--preset--font-family--titillium); }
.gt-mcard__badge span { font-weight: 700; font-size: 22px; }
.gt-mcard__badge small { font-weight: 700; font-size: 11px; letter-spacing: 0.08em; margin-top: 3px; }
.gt-mcard__dates a { color: #2D2E2D; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.35; }
.gt-mcard__dates a:hover { color: var(--wp--preset--color--brand); text-decoration: underline; }
.gt-mcard__foot { margin-top: auto; padding-top: 22px; border-top: 1px solid #DEDEDE; margin-top: 24px; }
.gt-mcard__graphic { flex: 1 1 auto; display: flex; flex-direction: column; }
.gt-mcard__title { margin: 0 0 10px; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 20px; line-height: 1.25; }
.gt-mcard__title a { color: #2D2E2D; text-decoration: none; }
.gt-mcard__title a:hover { color: var(--wp--preset--color--brand); text-decoration: underline; }
.gt-mcard__more { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; font-size: 15px; }
.gt-mcard__more a { font-weight: 700; color: var(--wp--preset--color--brand); }
.gt-mcard__more .gt-mcard__all { font-weight: 400; color: #757575; font-size: 14px; }
.gt-mcard__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #2D2E2D; }
.gt-mcard__empty { margin: 0; color: #757575; }
@media (max-width: 600px) { .gt-mcard { padding: 24px 20px; } .gt-mcard__chip { font-size: 11px; letter-spacing: 0.05em; padding: 5px 12px; } }

/* Homepage: no stray space after "will appear here" placeholders, so every section has the same spacing */
.wp-block-query-no-results > :last-child { margin-bottom: 0; }

/* Founder Book Club: the link is a book whose cover swings open */
.gt-book-door { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 20px; text-decoration: none; color: #2D2E2D; }
.gt-book-door-col { display: flex; flex-direction: column; justify-content: flex-start; }
.wp-block-columns.is-style-gt-dividers > .gt-book-door-col { padding-top: 0; }
.gt-book-door__book { position: relative; display: block; width: 170px; height: 255px; perspective: 1100px; }
.gt-book-door__page { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 18px 20px 26px;
	background: #FDFAF2; border: 1px solid #DEDEDE; border-radius: 2px 6px 6px 2px; box-shadow: 0 8px 20px rgba(45, 46, 45, 0.12), inset 6px 0 10px -6px rgba(45, 46, 45, 0.18); }
.gt-book-door__page::after { content: ""; position: absolute; top: 4px; right: -5px; bottom: 4px; width: 5px; border-radius: 0 3px 3px 0;
	background: repeating-linear-gradient(to bottom, #fff 0 2px, #E9E4DA 2px 3px); }
.gt-book-door__step { font-family: var(--wp--preset--font-family--caveat, cursive); font-weight: 700; font-size: 32px; line-height: 1; color: var(--wp--preset--color--brand); }
.gt-book-door__go { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 17px; line-height: 1.25; color: #2D2E2D; }
.gt-book-door__cover { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d;
	transform: rotateY(-16deg); transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.gt-book-door__cover-front, .gt-book-door__cover-back { position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.gt-book-door__cover-front { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px 18px 22px 26px;
	background: var(--wp--preset--color--brand); color: #fff; box-shadow: inset 8px 0 0 var(--wp--preset--color--lime), 0 10px 22px rgba(45, 46, 45, 0.22); }
.gt-book-door__cover-back { background: #1F6A2F; transform: rotateY(180deg); }
.gt-book-door__kicker { font-family: var(--wp--preset--font-family--titillium); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.gt-book-door__title { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 28px; line-height: 1.02; }
.gt-book-door__rule { display: block; width: 34px; height: 4px; background: var(--wp--preset--color--lime); border-radius: 2px; }
.gt-book-door__label { font-family: var(--wp--preset--font-family--open-sans); font-weight: 700; font-size: 15px; color: var(--wp--preset--color--brand); text-decoration: underline; text-underline-offset: 3px; }
.gt-book-door:hover .gt-book-door__cover, .gt-book-door:focus-visible .gt-book-door__cover { transform: rotateY(-128deg); }
.gt-book-door:focus-visible { outline: 3px solid var(--wp--preset--color--lime); outline-offset: 6px; border-radius: 4px; }
@media (hover: none) { .gt-book-door__cover { transform: rotateY(-22deg); } }
@media (prefers-reduced-motion: reduce) { .gt-book-door__cover { transition: none; } }

/* Marketplace section: proof line, two audience links and the "Raising now" row */
.gt-mp-proof { position: relative; padding-left: 18px; color: #2D2E2D; }
.gt-mp-proof::before { content: ""; position: absolute; left: 0; top: 0.35em; bottom: 0.35em; width: 4px; border-radius: 2px; background: var(--wp--preset--color--lime); }
.gt-mp-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.gt-mp { position: relative; margin-top: 44px; padding-top: 34px; }
.gt-mp::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 4px; background: var(--wp--preset--color--lime); }
.gt-mp__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.gt-mp__title { margin: 0; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--brand); }
.gt-mp__all { font-weight: 700; font-size: 15px; color: var(--wp--preset--color--brand); }
.gt-mp__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gt-mp__card { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px; border: 1px solid #DEDEDE; border-radius: 8px; background: #fff;
	text-decoration: none; color: #2D2E2D; transition: border-color .2s, box-shadow .2s, transform .2s; }
.gt-mp__card:hover, .gt-mp__card:focus-visible { border-color: var(--wp--preset--color--lime); box-shadow: 0 6px 18px rgba(45, 46, 45, 0.08); transform: translateY(-2px); }
.gt-mp__logo { display: flex; align-items: center; justify-content: center; height: 64px; margin-bottom: 8px; border-radius: 4px; background: #F7F7F5; overflow: hidden; }
.gt-mp__logo img { max-width: 86%; max-height: 50px; object-fit: contain; }
.gt-mp__logo span { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 28px; color: var(--wp--preset--color--brand); }
.gt-mp__name { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 16px; line-height: 1.2; }
.gt-mp__line { font-size: 13px; line-height: 1.35; color: #757575; }
.gt-mp__raise { margin-top: auto; padding-top: 6px; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 14px; color: var(--wp--preset--color--brand); }
@media (max-width: 1100px) { .gt-mp__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.gt-mp__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-right: -20px; padding-right: 20px; }
	.gt-mp__row > li { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ===== Read as a book (story pages) ===== */
.gt-bk-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 16px; border: 2px solid var(--wp--preset--color--lime); border-radius: 999px; background: #fff;
	font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 15px; color: var(--wp--preset--color--brand); cursor: pointer; transition: background .2s; }
.gt-bk-open:hover, .gt-bk-open:focus-visible { background: #F1FAEC; }
body.gt-bk-lock { overflow: hidden; }
.gt-bk { position: fixed; inset: 0; z-index: 100000; display: none; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0;
	background: radial-gradient(ellipse at 50% 40%, #F4EFE6 0%, #E6DDCD 100%); }
.gt-bk.is-open { display: flex; animation: gtbk-in .35s ease-out; }
.gt-bk__bar { align-self: stretch; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; }
.gt-bk__mark { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--brand); }
.gt-bk__count { font-family: var(--wp--preset--font-family--titillium); font-size: 15px; color: #5f5a52; }
.gt-bk__close { border: 0; background: #fff; border-radius: 999px; padding: 8px 16px; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 15px; color: #2D2E2D; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.gt-bk__close:hover, .gt-bk__close:focus-visible { background: #F1FAEC; }
.gt-bk__stage { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 0; }
.gt-bk__nav { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--wp--preset--color--brand); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.gt-bk__nav:disabled { opacity: .25; cursor: default; }
.gt-bk__book { position: relative; perspective: 5200px; background: #FDFAF2; border-radius: 3px 6px 6px 3px; cursor: pointer;
	box-shadow: 0 1px 0 #e9e2d4, 0 2px 0 #f6f1e7, 0 3px 0 #e9e2d4, 0 4px 0 #f6f1e7, 0 22px 50px rgba(60, 45, 20, .28); }
.gt-bk.is-spread .gt-bk__book { border-radius: 6px; }
.gt-bk__spine { display: none; }
.gt-bk.is-spread .gt-bk__spine { display: block; position: absolute; top: 0; bottom: 0; left: 50%; width: 60px; margin-left: -30px; pointer-events: none;
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(60,45,20,.10) 42%, rgba(60,45,20,.22) 50%, rgba(60,45,20,.10) 58%, rgba(0,0,0,0) 100%); }
.gt-bk__viewport { position: absolute; overflow: hidden; }
.gt-bk__flow { column-fill: auto; font-family: Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.62; color: #2D2E2D; }
.gt-bk__flow p { margin: 0 0 .9em; }
.gt-bk__flow h2, .gt-bk__flow h3, .gt-bk__flow h4 { font-family: var(--wp--preset--font-family--titillium); line-height: 1.2; margin: 1.1em 0 .45em; break-after: avoid; }
.gt-bk__flow h2 { font-size: 24px; } .gt-bk__flow h3 { font-size: 20px; } .gt-bk__flow h4 { font-size: 18px; }
.gt-bk__flow img { display: block; max-width: 100%; width: auto; height: auto; max-height: var(--gt-bk-img-h); margin: 0 auto; border-radius: 3px; }
.gt-bk__flow figure { margin: 0 0 1em; break-inside: avoid; }
.gt-bk__flow figcaption { font-size: 13px; color: #757575; text-align: center; margin-top: 6px; }
.gt-bk__flow blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 4px solid var(--wp--preset--color--lime); font-style: italic; break-inside: avoid; }
.gt-bk__flow a { color: var(--wp--preset--color--brand); }
.gt-bk__story *, .gt-bk__story { max-width: 100% !important; box-sizing: border-box; }
.gt-bk__story .alignwide, .gt-bk__story .alignfull { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
.gt-bk__story .wp-block-columns { display: block; }
.gt-bk__story .is-style-gt-card, .gt-bk__story .wp-block-group.has-background { break-inside: avoid; padding: 16px !important; margin: 0 0 1em; box-shadow: none; border: 1px solid #E6DED0; background: #fff; }
.gt-bk__story .wp-block-buttons { margin: .4em 0 1em; }
.gt-bk__story .wp-block-button__link { font-family: var(--wp--preset--font-family--titillium); font-size: 15px; }
.gt-bk__story > p:first-of-type::first-letter { float: left; font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 3.4em; line-height: .82; padding: 6px 8px 0 0; color: var(--wp--preset--color--brand); }
.gt-bk__titlepage, .gt-bk__end { height: 100%; display: flex; flex-direction: column; justify-content: center; break-after: column; text-align: center; }
.gt-bk__end { break-before: column; break-after: auto; }
.gt-bk__titleimg { max-height: var(--gt-bk-title-img-h) !important; width: 100% !important; object-fit: cover; margin-bottom: 22px !important; }
.gt-bk__kicker { font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--brand); margin: 0 0 .6em !important; }
.gt-bk__h { font-family: var(--wp--preset--font-family--titillium); font-size: clamp(24px, 3vw, 32px) !important; line-height: 1.12 !important; margin: 0 0 .5em !important; }
.gt-bk__standfirst { font-style: italic; color: #4a4a48; }
.gt-bk__by { font-family: var(--wp--preset--font-family--open-sans); font-size: 13px; color: #757575; }
.gt-bk__ornament { font-size: 26px; color: var(--wp--preset--color--lime); margin: .3em 0 !important; }
.gt-bk__endtitle { font-family: var(--wp--preset--font-family--caveat, cursive); font-size: 40px; color: var(--wp--preset--color--brand); margin: 0 0 .3em !important; }
.gt-bk__endlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gt-bk__btn { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--wp--preset--color--brand); background: var(--wp--preset--color--brand); color: #fff !important; text-decoration: none;
	font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 15px; cursor: pointer; }
.gt-bk__btn--ghost { background: transparent; color: var(--wp--preset--color--brand) !important; }
.gt-bk__media { font-style: italic; color: #757575; }
.gt-bk__hint { flex: none; margin: 0 0 14px; font-size: 13px; color: #6f685d; text-align: center; padding: 0 16px; }
.gt-bk__flip { position: absolute; top: 0; bottom: 0; display: none; pointer-events: none; transform-style: preserve-3d;
	background: linear-gradient(90deg, #F6F0E3 0%, #FDFAF2 18%, #FDFAF2 82%, #EFE7D7 100%); box-shadow: 0 0 30px rgba(60, 45, 20, .18); }
.gt-bk__flip.is-turning { display: block; }
.gt-bk__flip.is-next { left: 50%; transform-origin: left center; border-radius: 0 6px 6px 0; animation: gtbk-next .56s cubic-bezier(.45, .05, .35, 1) forwards; }
.gt-bk__flip.is-prev { left: 0; transform-origin: right center; border-radius: 6px 0 0 6px; animation: gtbk-prev .56s cubic-bezier(.45, .05, .35, 1) forwards; }
.gt-bk__flip.is-single { left: 0; transform-origin: left center; border-radius: 3px 6px 6px 3px; }
.gt-bk__flip.is-single.is-prev { animation-name: gtbk-prev-single; }
@keyframes gtbk-next { from { transform: rotateY(0deg); } to { transform: rotateY(-180deg); } }
@keyframes gtbk-prev { from { transform: rotateY(0deg); } to { transform: rotateY(180deg); } }
@keyframes gtbk-prev-single { from { transform: rotateY(-180deg); } to { transform: rotateY(0deg); } }
@keyframes gtbk-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 599px) {
	.gt-bk__nav { display: none; }
	.gt-bk__bar { padding: 10px 12px; }
	.gt-bk__mark { display: none; }
	.gt-bk__flow { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .gt-bk.is-open { animation: none; } }

/* ===== House style for articles (see inc/house-style.php) ===== */
.single-post .wp-block-post-content { font-size: 20px; line-height: 1.75; }
.single-post .wp-block-post-content > p { margin-top: 0; margin-bottom: 1.15em; }
.single-post .wp-block-post-content h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.18; margin: 1.9em 0 .55em; }
.single-post .wp-block-post-content h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.25; margin: 1.7em 0 .5em; }
.single-post .wp-block-post-content :is(h3, h4).wp-block-heading, .single-post .wp-block-post-content h4 { font-size: clamp(21px, 2vw, 24px); line-height: 1.25; margin: 1.7em 0 .5em; }
.single-post .wp-block-post-content :is(h2, h3, h4) + p { margin-top: 0; }
.single-post .wp-block-post-content :is(h2, h3, h4) :is(strong, b, em, i) { font-weight: inherit; font-style: normal; }
.single-post .wp-block-post-content .wp-block-list { margin: 0 0 1.2em; padding-left: 1.3em; }
.single-post .wp-block-post-content .wp-block-list li { margin: 0 0 .45em; }
.single-post .wp-block-post-content .wp-block-list li > p { margin: 0; }
.single-post .wp-block-post-content .wp-block-list li::marker { color: var(--wp--preset--color--brand); font-weight: 700; }
.single-post .wp-block-post-content hr.wp-block-separator { width: 64px; height: 4px; margin: 2.4em auto; border: 0; border-radius: 2px; background: var(--wp--preset--color--lime); opacity: 1; }
.single-post .wp-block-post-content figure.wp-block-image img { border-radius: 3px; }
.single-post .wp-block-post-content figcaption { font-size: 16px; color: #757575; text-align: left; margin-top: 8px; }
/* Pull quote: short quotes */
.single-post .wp-block-post-content blockquote.gt-pq { position: relative; margin: 2em 0; padding: 22px 0 22px 26px; border: 0; border-left: 4px solid var(--wp--preset--color--lime); }
.gt-pq p:first-of-type::before, .is-style-gt-wisdom p:first-of-type::before { content: "\201C"; } .gt-pq p:last-of-type::after, .is-style-gt-wisdom p:last-of-type::after { content: "\201D"; }
.gt-pq p:first-of-type::before, .gt-pq p:last-of-type::after, .is-style-gt-wisdom p:first-of-type::before, .is-style-gt-wisdom p:last-of-type::after { color: var(--wp--preset--color--lime); font-family: var(--wp--preset--font-family--titillium); font-weight: 700; font-size: 1.3em; line-height: 0; vertical-align: -0.12em; }
.gt-pq p:first-of-type::before, .is-style-gt-wisdom p:first-of-type::before { margin-right: 2px; } .gt-pq p:last-of-type::after, .is-style-gt-wisdom p:last-of-type::after { margin-left: 2px; }
.single-post .wp-block-post-content blockquote.gt-pq p { margin: 0 0 .4em; font-family: var(--wp--preset--font-family--titillium); font-weight: 600; font-style: normal; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.35; color: #2D2E2D; }
.single-post .wp-block-post-content blockquote.gt-pq p:last-of-type { margin-bottom: 0; }
.single-post .wp-block-post-content blockquote.gt-pq cite { display: block; margin-top: 10px; font-family: var(--wp--preset--font-family--open-sans); font-size: 15px; font-style: normal; color: #757575; }
/* Quoted passage: longer quotes, e.g. whole answers */
.single-post .wp-block-post-content blockquote.gt-passage { margin: 1.6em 0; padding: 4px 0 4px 22px; border: 0; border-left: 4px solid var(--wp--preset--color--lime); font-family: var(--wp--preset--font-family--open-sans); font-size: 20px; line-height: 1.75; }
.single-post .wp-block-post-content blockquote.gt-passage p { margin: 0 0 .9em; font-family: inherit; font-size: inherit; font-style: normal; font-weight: 400; line-height: inherit; }
.single-post .wp-block-post-content blockquote.gt-passage p:last-of-type { margin-bottom: 0; }
@media (max-width: 600px) {
	.single-post .wp-block-post-content { font-size: 19px; }
	.single-post .wp-block-post-content blockquote.gt-pq { padding-left: 18px; }
}
/* Book mode uses the same two quote looks */
.gt-bk__flow blockquote.gt-pq { border: 0; padding-left: 0; font-style: normal; font-family: var(--wp--preset--font-family--titillium); font-size: 20px; line-height: 1.35; color: var(--wp--preset--color--brand); text-align: center; }
.gt-bk__flow blockquote.gt-passage { font-style: normal; }
