/* ===== Wall hero v2 — desktop two-column, per design spec =====
   The hero's actual available width is whatever Blocksy's page content
   width is (not something this stylesheet controls reliably) — so this
   layout is written to adapt to that width rather than assume 1280px:
   flex-wrap as a safety net, percentage-based card sizing with a max
   cap, and sane min-widths so the left column can never be crushed. */
.gn-wall-hero {
	margin-top: 24px !important;
	margin-bottom: 1.75rem;
	text-align: left !important;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding: 40px 56px !important;
	max-width: 1280px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
/* Fix: converting the CTA row to raw HTML dropped Gutenberg's
   is-layout-flex class, which is what actually turns on display:flex —
   the button and thought-count were silently stacking instead of
   sitting side by side, wasting vertical space. */
.gn-wall-hero .gn-wall-cta-row {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap;
}
.gn-wall-hero .gn-wall-lead {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-style: normal;
	font-weight: 500;
	font-size: 20px !important;
	line-height: 1.4 !important;
}
.gn-wall-hero-left {
	flex: 1 1 320px;
	min-width: 280px;
}
.gn-wall-hero-featured {
	flex: 1 1 320px;
	max-width: 380px;
	min-width: 280px;
	box-sizing: border-box;
}
.gn-wall-hero .gn-eyebrow,
.gn-wall-hero .gn-wall-title,
.gn-wall-hero .gn-wall-lead {
	text-align: left !important;
	justify-content: flex-start !important;
	margin-left: 0 !important;
	max-width: none;
}
.gn-wall-hero .gn-wall-cta-row {
	justify-content: flex-start !important;
}

.gn-wall-lead-mobile {
	display: none;
}

.gn-featured-card {
	background: #fff;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(120, 86, 86, 0.04), 0 6px 20px rgba(120, 86, 86, 0.06);
	width: 100%;
	box-sizing: border-box;
	transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.gn-featured-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(120, 86, 86, 0.06), 0 14px 36px rgba(120, 86, 86, 0.10);
}
.gn-featured-label {
	font-family: 'Playfair Display SC', Georgia, serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gn-deep-pink);
	margin: 0 0 16px;
}
.gn-featured-text {
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	line-height: 1.4;
	color: var(--gn-ink);
	margin: 0 0 16px;
}
.gn-featured-text a {
	color: inherit;
	text-decoration: none;
}
.gn-featured-meta {
	display: flex;
	gap: 18px;
	align-items: center;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: var(--gn-grey);
}
.gn-featured-likes {
	color: var(--gn-pink);
}

@media (max-width: 781px) {
	.gn-wall-hero {
		margin-top: 20px !important;
		width: auto !important;
		margin-left: 24px !important;
		margin-right: 24px !important;
		flex-direction: column;
		align-items: center;
		text-align: center !important;
		padding: 32px 24px 8px !important;
		gap: 0;
	}
	.gn-wall-hero .gn-eyebrow {
		text-align: center !important;
		justify-content: center !important;
		max-width: 320px;
		margin: 0 auto 18px !important;
	}
	.gn-wall-hero .gn-wall-title {
		font-size: 38px !important;
		text-align: center !important;
		justify-content: center !important;
		max-width: 320px;
		margin: 0 auto 20px !important;
	}
	.gn-wall-hero .gn-wall-lead {
		text-align: center !important;
		justify-content: center !important;
		font-size: 16px !important;
		line-height: 1.5 !important;
		max-width: 320px;
		margin: 0 auto 28px !important;
	}
	.gn-wall-hero .gn-wall-cta-row {
		justify-content: center !important;
		flex-direction: column;
		align-items: center;
		max-width: 320px;
		gap: 16px !important;
		margin: 0 auto !important;
	}
	.gn-wall-hero .gn-wall-cta-row .wp-block-button__link {
		padding: 14px 26px !important;
	}
	.gn-wall-hero-featured {
		display: none !important;
	}
	.gn-wall-lead-desktop {
		display: none;
	}
	.gn-wall-lead-mobile {
		display: block;
	}
}

/* ===== LATEST / MOST LOVED segmented control ===== */
.gn-wall-sort {
	display: inline-flex !important;
	border: 1px solid var(--gn-border);
	border-radius: 6px;
	padding: 3px;
	gap: 2px !important;
	margin: 0 auto 1.5rem !important;
}
.gn-sort-btn {
	border-radius: 4px !important;
	padding: 8px 22px !important;
	border-bottom: none !important;
	background: transparent !important;
	transition: background 0.15s ease, color 0.15s ease;
}
.gn-sort-btn.is-active {
	background: var(--gn-pink) !important;
	color: var(--gn-ink) !important;
	border-bottom: none !important;
}

@media (max-width: 781px) {
	.gn-wall-sort {
		display: flex !important;
		width: calc(100% - 40px);
		max-width: 420px;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-bottom: 2rem !important;
	}
	.gn-sort-btn {
		flex: 1 1 50%;
		text-align: center;
	}
	.gn-wall-range {
		display: none !important;
	}
}

/* ===== Category chips: gap between label and count ===== */
.gn-tag-chip .gn-tag-count {
	margin-left: 5px;
}

/* ===== Desktop results row: compact sort + count + left-aligned tags ===== */
@media (min-width: 782px) {
	.gn-wall-results-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 12px;
		max-width: 1280px;
		margin: 0 auto 28px;
		padding: 0 56px;
		box-sizing: border-box;
	}
	.gn-wall-results-row .gn-wall-sort {
		margin: 0 !important;
		width: fit-content;
	}
	.gn-wall-range {
		font-family: 'Lato', sans-serif;
		font-size: 13px;
		font-weight: 400;
		line-height: 1.5;
		letter-spacing: normal;
		color: var(--gn-grey);
	}
	.gn-tag-row {
		max-width: 1280px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 0 56px !important;
		box-sizing: border-box;
		justify-content: flex-start !important;
	}
}

/* ===== Tag filter row: horizontal scroll on mobile ===== */
.gn-tag-scroll-btn {
	display: none;
	border: none;
	cursor: pointer;
}

@media (max-width: 781px) {
	.gn-tag-row {
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		justify-content: flex-start !important;
		padding-left: 20px !important;
		padding-right: 0 !important;
		margin-bottom: 28px !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.gn-tag-row::-webkit-scrollbar {
		display: none;
	}
	.gn-tag-row > .wp-block-buttons {
		flex: 0 0 auto !important;
	}
	.gn-tag-scroll-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 64px;
		width: 64px;
		height: 44px;
		position: sticky;
		right: 0;
		align-self: center;
		-webkit-appearance: none;
		appearance: none;
		background: linear-gradient(to right, rgba(252, 250, 248, 0) 0%, var(--gn-bg) 55%);
		border: 0;
		outline: none;
		box-shadow: none;
		color: var(--gn-ink);
		font-size: 22px;
		line-height: 1;
		padding: 0 4px 0 32px;
		margin: 0;
		z-index: 2;
	}
	.gn-tag-scroll-btn[hidden] {
		display: none;
	}
}

/* ===== Wall layout: main grid + sidebar, three-column composition =====
   The 1280/56 column used by the hero/results-row/tag-row now lives on
   the OUTER wrapper (.gn-wall-layout), calculated WITH the sidebar's own
   width and gap already subtracted — not on the grid alone and then a
   sidebar bolted on afterwards. width:100% + border-box on the wrapper
   keeps it immune to the mystery auto-margin that was narrowing things
   upstream (Gutenberg's is-layout-constrained, most likely). */
.gn-wall-layout {
	display: flex !important;
	align-items: flex-start;
	gap: 40px;
	max-width: 1280px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 56px !important;
	box-sizing: border-box !important;
}
.gn-wall-layout .gn-wall-grid {
	flex: 1 1 0%;
	min-width: 0;
	max-width: none !important;
	width: auto !important;
	padding: 0 !important;
	margin: 0 !important;
}
.gn-wall-sidebar {
	flex: 0 0 340px;
	width: 340px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
@media (max-width: 781px) {
	.gn-wall-layout {
		flex-direction: column;
		padding: 0 24px !important;
		gap: 32px;
	}
	.gn-wall-sidebar {
		flex: 1 1 auto;
		width: 100%;
	}
}

/* ===== Sidebar cards: Popular This Week / Top Voices / CTA ===== */
.gn-sidebar-card {
	background: #fff;
	border: 1px solid var(--gn-border);
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(120, 86, 86, 0.04), 0 6px 20px rgba(120, 86, 86, 0.06);
	box-sizing: border-box;
}
.gn-sidebar-eyebrow {
	font-family: 'Playfair Display SC', Georgia, serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gn-grey);
	margin: 0 0 16px;
}
.gn-popular-item,
.gn-voice-item {
	padding: 12px 0;
	border-top: 1px solid var(--gn-border);
}
.gn-popular-item:first-of-type,
.gn-voice-item:first-of-type {
	border-top: none;
	padding-top: 0;
}
.gn-popular-item:last-of-type {
	padding-bottom: 0;
}
.gn-sidebar-card:has(.gn-popular-item) {
	padding-bottom: 16px;
}
.gn-popular-item-text {
	font-family: 'Playfair Display', serif;
	font-size: 16px;
	line-height: 1.4;
	color: var(--gn-ink);
	margin: 0 0 8px;
}
.gn-popular-item-text a {
	color: inherit;
	text-decoration: none;
}
.gn-popular-item-likes {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--gn-deep-pink);
}
.gn-voice-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.gn-voice-name {
	display: block;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--gn-ink);
}
.gn-voice-count {
	display: block;
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	color: var(--gn-grey);
	margin-top: 2px;
}
.gn-voice-likes {
	flex: 0 0 auto;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--gn-deep-pink);
}
.gn-voice-disclaimer {
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	line-height: 1.5;
	color: var(--gn-grey);
	margin: 16px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--gn-border);
}
.gn-sidebar-cta.gn-sidebar-card {
	background: var(--gn-blush);
	border: none;
	padding: 30px 26px;
}
.gn-sidebar-cta-title {
	font-family: 'Playfair Display', serif;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gn-ink);
	margin: 0 0 10px;
}
.gn-sidebar-cta-sub {
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--gn-body);
	margin: 0 0 22px;
}
.gn-sidebar-cta-btn {
	display: inline-block;
	background: var(--gn-pink);
	color: var(--gn-ink) !important;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	border-radius: 6px;
	padding: 15px 28px;
}

/* Was pinning the meta row to the card's bottom edge via flex auto-margin,
   which reads as a big empty gap above the divider on any card whose
   thought is shorter than its neighbours. Removing it lets the existing
   gap:14px on .gn-thought-card do the spacing naturally instead, with no
   change to each card's own height. */
.gn-thought-date {
	margin-top: 0 !important;
}

/* ===== Thought cards: mobile-only refinement =====
   Desktop card styling (style.css) is untouched — every rule below is
   scoped to the mobile breakpoint on purpose. */
.gn-thought-replies {
	display: none;
}
.gn-thought-more {
	margin: 0 !important;
}
.gn-thought-excerpt .gn-thought-more-link {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--gn-deep-pink) !important;
	text-decoration: none !important;
	letter-spacing: 0.02em;
}
.gn-thought-excerpt .gn-thought-more-link:hover {
	text-decoration: underline !important;
}

@media (max-width: 781px) {
	.gn-thought-card {
		padding: 24px !important;
		gap: 12px;
	}
	.gn-thought-tags {
		margin-bottom: 2px;
	}
	.gn-thought-title {
		font-size: 1.2rem !important;
		line-height: 1.35 !important;
	}
	.gn-thought-excerpt-text {
		margin: 0;
	}
	.gn-thought-meta-date {
		order: 2;
		font-family: 'Lato', sans-serif;
		font-size: 13px;
		font-weight: 400;
		color: var(--gn-grey);
	}
	.gn-thought-meta-actions {
		order: 1;
		display: inline-flex;
		align-items: center;
		gap: 10px;
	}
	.gn-thought-replies {
		display: inline;
		font-family: 'Lato', sans-serif;
		font-size: 12px;
		font-weight: 400;
		color: var(--gn-grey);
	}
}

/* ===== Load more thoughts =====
   The native numbered pagination (Prev/1/2/3.../Next) is NOT removed —
   it's kept in the DOM, just visually hidden, so its real <a href> links
   to ?query-0-page=N stay crawlable for search engines and anyone
   without JS. The Load More button is a progressive-enhancement layer
   on top of that, not a replacement for it. */
.gn-wall-pagination {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.gn-wall-load-more {
	text-align: center;
	margin: 44px 0 3rem;
}
.gn-load-more-btn {
	display: inline-block;
	background: transparent;
	border: 1px solid var(--gn-pink);
	color: var(--gn-deep-pink);
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	padding: 14px 32px;
	cursor: pointer;
	transition: background 120ms ease-out;
}
.gn-load-more-btn:hover:not(:disabled) {
	background: var(--gn-blush);
}
.gn-load-more-btn:active:not(:disabled) {
	background: var(--gn-pink);
	color: #fff;
}
.gn-load-more-btn:disabled {
	opacity: 0.45;
	pointer-events: none;
}
.gn-load-more-btn[hidden] {
	display: none;
}
.gn-wall-shown-count-wrap {
	margin: 14px 0 0;
}
.gn-wall-shown-count {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-grey);
}

/* ===== Desktop card feed: masonry so a tall card doesn't force a big
   blank gap beside a shorter neighbour =====
   CSS Grid pairs cards into strict rows (row height = tallest item in
   that row); a multi-column layout lets each column flow independently
   based on real content height instead. Mobile is untouched — the
   existing max-width:781px rule below already drops to one column
   there, this only overrides the desktop declaration. */
@media (min-width: 782px) {
	.gn-wall-grid .wp-block-post-template {
		display: block !important;
		columns: 2;
		column-gap: 24px;
	}
	.gn-thought-card {
		break-inside: avoid;
		margin-bottom: 24px;
	}
}

/* ===== Submission flow (/is-it-just-me/submit/) =====
   Write it -> (sign in if needed) -> pick a Wall name -> sent. One
   swapped-content card, reusing the site's existing card/button/form
   vocabulary rather than inventing a new visual language. */
.gn-submit-wrap {
	max-width: 600px;
	margin: 0 auto;
	padding: 36px 20px 64px;
}
.gn-submit-cancel {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-grey, #999);
	text-decoration: none;
	margin-bottom: 16px;
}
.gn-submit-cancel:hover {
	color: var(--gn-body, #4B4B4B);
}
.gn-submit-card-shell {
	background: #fff;
	border-radius: 4px 28px 4px 4px;
	box-shadow: 0 2px 4px rgba(120, 86, 86, 0.06), 0 14px 36px rgba(120, 86, 86, 0.10);
	border: 1px solid var(--gn-border);
	padding: 32px 24px;
}
@media (min-width: 640px) {
	.gn-submit-card-shell { padding: 40px 40px; }
}
.gn-submit-eyebrow {
	font-family: 'Playfair Display SC', Georgia, serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gn-deep-pink, #895959);
	margin: 0 0 10px;
}
.gn-submit-title {
	/* h2 token: 30px / 1.3 / weight 600 */
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gn-ink);
	margin: 0 0 12px;
}
.gn-submit-title-center { text-align: center; }
.gn-submit-title-compact { font-size: 24px; }
.gn-submit-help {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.65;
	color: var(--gn-body, #4B4B4B);
	margin: 0 0 20px;
}
.gn-submit-help-small { font-size: 13px; margin-top: -6px; }
.gn-submit-help-center { text-align: center; }

.gn-field { margin-bottom: 14px; }
.gn-submit-panel textarea,
.gn-submit-panel input[type="text"],
.gn-submit-panel input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gn-ink, #2C2624);
	background: var(--gn-bg, #FCFAF8);
	border: 1px solid var(--gn-border, rgba(44, 38, 36, 0.10));
	border-radius: 6px;
	padding: 0.8em 0.9em;
}
.gn-submit-panel textarea { min-height: 96px; resize: vertical; }
.gn-submit-panel textarea::placeholder,
.gn-submit-panel input::placeholder {
	color: var(--gn-grey, #999);
	font-weight: 400;
	font-size: 15px;
	opacity: 1;
}
.gn-submit-panel textarea:focus,
.gn-submit-panel input:focus {
	outline: none;
	border-color: var(--gn-pink, #DDA6A6);
	box-shadow: 0 0 0 3px rgba(221, 166, 166, 0.22);
	background: #fff;
}
.gn-submit-counter {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: var(--gn-grey, #999);
	text-align: right;
	margin: -8px 0 16px;
}
.gn-error-text {
	font-family: 'Lato', sans-serif;
	color: #B65C5C;
	font-size: 13px;
	margin: -6px 0 12px;
	min-height: 1em;
}
/* An empty error paragraph shouldn't reserve visible space — this was
   leaving an odd ~40px gap on every form using the pattern (account page,
   submit flow) even when nothing was wrong. */
.gn-error-text:empty {
	display: none;
	margin: 0;
	min-height: 0;
}
.gn-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
	border-radius: 6px;
	padding: 0.85em 1.9em;
	margin-bottom: 10px;
	transition: background 120ms ease-out, border-color 120ms ease-out;
}
.gn-submit-btn.gn-btn-primary,
a.gn-submit-btn.gn-btn-primary {
	border: 1px solid var(--gn-pink, #DDA6A6);
	background: var(--gn-pink, #DDA6A6);
	color: #fff;
}
.gn-submit-btn.gn-btn-primary:hover { background: var(--gn-pink-hover); }
.gn-submit-btn.gn-btn-primary:active { background: var(--gn-pink-press); }
.gn-submit-btn:disabled { opacity: 0.45; pointer-events: none; }
.gn-submit-btn.gn-btn-outline {
	border: 1px solid var(--gn-border, rgba(44, 38, 36, 0.20));
	background: transparent;
	color: var(--gn-ink, #2C2624);
}
.gn-submit-btn.gn-btn-outline:hover { background: var(--gn-blush); border-color: var(--gn-pink); }
.gn-submit-footnote {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-grey, #999);
	text-align: center;
	margin: 0;
}
.gn-submit-benefits {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	color: var(--gn-body, #4B4B4B);
}
.gn-submit-benefits li {
	padding-left: 22px;
	position: relative;
	margin-bottom: 8px;
}
.gn-submit-benefits li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gn-pink, #DDA6A6);
}
.gn-checkbox-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-body, #4B4B4B);
	margin-bottom: 24px;
	cursor: pointer;
}
.gn-checkbox-row input { margin-top: 3px; min-width: 18px; min-height: 18px; }

.gn-name-preview {
	text-align: center;
	padding: 32px 24px;
	margin-bottom: 20px;
}
.gn-name-preview-text {
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--gn-ink);
	margin: 0 0 16px;
	word-break: break-word;
}
.gn-btn-outline-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
	border-radius: 6px;
	padding: 0.8em 1.4em;
	border: 1px solid var(--gn-border, rgba(44, 38, 36, 0.20));
	background: #fff;
	color: var(--gn-ink, #2C2624);
	min-height: 44px;
}
.gn-btn-outline-inline:hover { background: var(--gn-blush, #EED6D1); border-color: var(--gn-pink, #DDA6A6); }

.gn-submit-panel-sent { text-align: center; }
.gn-submit-panel-sent .gn-success-mark-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--gn-blush, #EED6D1);
	color: var(--gn-pink, #DDA6A6);
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}
.gn-submit-panel-sent .gn-submit-title { font-size: 26px; margin: 0 0 10px; }
.gn-submit-panel-sent .gn-submit-help { margin: 0 0 20px; }
.gn-submit-panel-sent .gn-submit-btn { margin-bottom: 8px; }

.gn-text-link {
	display: inline-block;
	background: none;
	border: none;
	padding: 6px;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--gn-pink-hover, #CE9494);
	cursor: pointer;
	text-decoration: none;
}
.gn-text-link:hover { color: var(--gn-pink, #DDA6A6); text-decoration: underline; }
.gn-text-link[hidden] { display: none; }

@media (max-width: 640px) {
	.gn-submit-wrap { max-width: none; padding: 0; margin: 0; }
	.gn-submit-cancel { display: block; padding: 16px 16px 0; margin-bottom: 8px; }
	.gn-submit-card-shell {
		padding: 8px 20px 32px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.gn-submit-title { font-size: 24px; }
	.gn-submit-btn, .gn-btn-outline-inline { min-height: 48px; }
}

/* ===== My Account page ===== */
.gn-account-wrap {
	max-width: 640px;
	margin: 0 auto;
	padding: 48px 20px 80px;
}
.gn-account-section {
	margin-top: 44px;
	padding-top: 32px;
	border-top: 1px solid var(--gn-border, rgba(44, 38, 36, 0.10));
}
.gn-account-heading {
	/* h3 token: 22px / weight 600 */
	font-family: 'Playfair Display', serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--gn-ink);
	margin: 0 0 16px;
}
.gn-account-empty {
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	color: var(--gn-grey, #999);
}
.gn-account-save-success {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #5a8a6b;
	margin: 10px 0 0;
}
.gn-account-item {
	padding: 14px 0;
	border-bottom: 1px solid var(--gn-border, rgba(44, 38, 36, 0.08));
}
.gn-account-item:last-child { border-bottom: 0; }
.gn-account-item a {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: var(--gn-ink, #2C2624);
	text-decoration: none;
}
.gn-account-item a:hover { color: var(--gn-pink, #DDA6A6); }
.gn-account-status {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gn-pink, #DDA6A6);
	background: var(--gn-blush, #EED6D1);
	border-radius: 4px;
	padding: 2px 8px;
	margin-left: 8px;
	vertical-align: middle;
}
.gn-account-item-excerpt {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-body, #4B4B4B);
	margin: 6px 0 0;
}
.gn-account-item-actions { margin-top: 8px; display: flex; gap: 16px; }
.gn-account-link-btn {
	background: none;
	border: none;
	padding: 0;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--gn-grey, #999);
	cursor: pointer;
	text-decoration: underline;
}
.gn-account-link-btn:hover { color: var(--gn-ink, #2C2624); }
.gn-account-link-btn.gn-account-delete:hover { color: #B65C5C; }

/* ===== Signed-in header account widget ===== */
.gn-header-account {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-left: 12px;
}
.gn-header-account-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--gn-ink, #2C2624);
}
.gn-header-account-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gn-blush, #EED6D1);
	color: var(--gn-pink, #DDA6A6);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}
.gn-header-account-name {
	max-width: 110px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.gn-header-account-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 8px;
	background: #fff;
	border: 1px solid var(--gn-border);
	border-radius: 8px;
	box-shadow: 0 24px 64px rgba(90, 64, 64, 0.18);
	min-width: 190px;
	padding: 8px;
	z-index: 50;
}
.gn-header-account-menu.is-open { display: block; }
.gn-header-account-menu a {
	display: block;
	padding: 9px 10px;
	border-radius: 5px;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-ink, #2C2624);
	text-decoration: none;
}
.gn-header-account-menu a:hover { background: var(--gn-bg, #FCFAF8); }
.gn-header-account-menu a.gn-header-logout { color: #B65C5C; }
.gn-header-signin-link {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--gn-ink, #2C2624);
	text-decoration: none;
	margin-left: 12px;
}

/* ===== Individual thought page (single-thought.php) ===== */
.gn-thought-page-wrap {
	max-width: 880px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}
.gn-thought-detail-card {
	background: #fff;
	border-radius: 4px 28px 4px 4px;
	box-shadow: 0 2px 4px rgba(120, 86, 86, 0.06), 0 14px 36px rgba(120, 86, 86, 0.10);
	border: 1px solid var(--gn-border);
	padding: 32px 28px;
	margin-bottom: 24px;
}
@media (min-width: 640px) { .gn-thought-detail-card { padding: 44px 48px; } }
.gn-thought-detail-title {
	/* h2 token: 30px / 1.3 / weight 600 */
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 30px !important;
	font-weight: 600;
	line-height: 1.3 !important;
	color: var(--gn-ink);
	margin: 0 0 18px;
}
.gn-thought-detail-body {
	/* --text-sm (15px) — this is short community content, not the
	   --text-base (17px) "Substack long-form reading" size */
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gn-body);
	margin-bottom: 20px;
}
.gn-thought-detail-body p:last-child { margin-bottom: 0; }
.gn-thought-detail-meta { margin-bottom: 16px; }
.gn-thought-detail-byline {
	/* --text-xs (13px) / --text-meta color, exactly as tokened for "meta, timestamps" */
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-grey);
}
.gn-thought-detail-divider { border: 0; border-top: 1px solid var(--gn-border, rgba(44, 38, 36, 0.10)); margin: 0 0 18px; }
.gn-thought-detail-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.gn-thought-detail-actions .gn-text-link { padding: 6px 0; }
.gn-thought-detail-actions .gn-like-btn {
	width: 72px;
	height: 36px;
	justify-content: center;
	background: var(--gn-blush, #EED6D1);
	border-color: var(--gn-blush, #EED6D1);
}
.gn-thought-detail-actions .gn-like-btn:hover { border-color: var(--gn-pink); background: var(--gn-blush); }
.gn-thought-detail-actions .gn-like-btn:active { background: var(--gn-pink); border-color: var(--gn-pink); }
.gn-thought-detail-actions .gn-like-btn.is-liked { background: var(--gn-blush); border-color: var(--gn-pink); }
.gn-thought-detail-reply-count { font-family: 'Lato', sans-serif; font-size: 13px; color: var(--gn-grey, #999); }
.gn-text-link-muted { color: #999999; }
.gn-text-link-muted:hover { color: var(--gn-body, #4B4B4B); }

.gn-replies-section-label {
	/* --text-xs (13px) + --tracking-label (0.08em) */
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gn-grey);
	margin: 0 0 14px;
}

.gn-reply-prompt {
	text-align: center;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	color: var(--gn-grey, #999);
	margin: 0 0 16px;
}
.gn-reply-prompt em { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gn-body, #4B4B4B); }

.gn-reply-composer {
	border: 1px dashed var(--gn-border, rgba(44, 38, 36, 0.25));
	border-radius: 16px;
	padding: 22px 24px;
	margin-bottom: 32px;
	text-align: center;
}
.gn-reply-composer-signedout .gn-submit-footnote { font-size: 11px; color: var(--gn-grey, #999); }
.gn-reply-composer-signedin { text-align: left; background: var(--gn-bg, #FCFAF8); border-style: solid; padding: 20px 22px; }
.gn-reply-composer-label {
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	color: var(--gn-body, #4B4B4B);
	margin: 0 0 12px;
}
.gn-reply-composer-label strong { color: var(--gn-ink, #2C2624); }
.gn-reply-composer textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 90px;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gn-ink, #2C2624);
	background: #fff;
	border: 1px solid var(--gn-border, rgba(44, 38, 36, 0.10));
	border-radius: 6px;
	padding: 0.8em 0.9em;
	resize: vertical;
	margin-bottom: 10px;
}
.gn-reply-composer textarea::placeholder { color: var(--gn-grey, #999); }
.gn-reply-composer textarea:focus {
	outline: none;
	border-color: var(--gn-pink, #DDA6A6);
	box-shadow: 0 0 0 3px rgba(221, 166, 166, 0.22);
}
.gn-reply-composer-signedin .gn-submit-footnote { font-size: 11px; color: var(--gn-grey, #999); }

.gn-replies-list { margin-bottom: 20px; }
.gn-reply {
	padding: 18px 0;
	border-bottom: 1px solid var(--gn-border, rgba(44, 38, 36, 0.08));
}
.gn-reply-nested { margin-left: 32px; padding-left: 20px; border-left: 2px solid var(--gn-border, rgba(44, 38, 36, 0.12)); }
.gn-reply-meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.gn-reply-author { font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700; color: var(--gn-ink); }
.gn-reply-time { font-family: 'Lato', sans-serif; font-size: 13px; color: var(--gn-grey); }
.gn-reply-text { font-family: 'Lato', sans-serif; font-size: 15px; line-height: 1.6; color: var(--gn-body); margin: 0 0 10px; white-space: pre-wrap; }
.gn-reply-footer { display: flex; align-items: center; gap: 14px; }
.gn-reply-footer .gn-text-link { padding: 4px 0; }
.gn-reply-hidden-notice {
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-style: italic;
	color: var(--gn-grey, #999);
	margin: 0;
}
.gn-comment-like-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: 1px solid var(--gn-border);
	border-radius: 999px;
	padding: 4px 11px;
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: var(--gn-body);
	cursor: pointer;
	transition: background 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}
.gn-comment-like-btn:hover { border-color: var(--gn-pink); background: var(--gn-blush); color: var(--gn-ink); }
.gn-comment-like-btn:active { background: var(--gn-pink); border-color: var(--gn-pink); color: #fff; }
.gn-comment-like-btn.is-liked { background: var(--gn-blush); border-color: var(--gn-pink); color: var(--gn-ink); }

.gn-replies-empty { text-align: center; padding: 32px 20px; }
.gn-replies-empty span { display: block; margin-top: 4px; }

.gn-pending-notice { text-align: center; }
.gn-pending-notice-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--gn-ink); margin: 0 0 8px; }
.gn-pending-notice-text { font-family: 'Lato', sans-serif; font-size: 15px; color: var(--gn-body); margin: 0; }

.gn-tag-empty-state { text-align: center; padding: 60px 20px; }
.gn-tag-empty-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--gn-ink); margin: 0 0 6px; }
.gn-tag-empty-sub { font-family: 'Lato', sans-serif; font-size: 15px; color: var(--gn-grey); margin: 0; }

@media (max-width: 640px) {
	.gn-thought-page-wrap { padding: 24px 16px 60px; }
	.gn-thought-detail-card { padding: 24px 20px; }
	.gn-thought-detail-title { font-size: 24px !important; }
	.gn-reply-nested { margin-left: 16px; padding-left: 12px; }
}

/* Token alignment: eyebrow-sc (15px / 400 / .18em / deep-pink) and Lato for card meta */
.gn-sidebar-eyebrow { font-size: 15px; font-weight: 400; letter-spacing: 0.18em; color: var(--gn-deep-pink); }
.gn-thought-meta-date, .gn-thought-meta-actions { font-family: 'Lato', sans-serif; }

/* Mobile header when signed in: avatar-only account chip + compact Subscribe so nothing overlaps the logo */
@media (max-width: 781px) {
	.gn-header-account-name { display: none; }
	header#header .ct-header-cta .ct-button-ghost { padding: 6px 12px; min-height: 0; font-size: 13px; }
	header#header .site-logo-container img { max-width: 130px; height: auto; }
}

/* Beat the block-layout "margin-block-start:0" reset so the button clears the last card */
.gn-wall-grid > .gn-wall-load-more { margin-top: 0 !important; padding-top: 48px !important; }

/* Homepage panels: keep a side gutter (matching the hero's 1.5rem) whenever the viewport is narrower than the 1280px container, and make the Substack photo fill its box */
@media (max-width: 1340px) {
	.gn-home-wall-promo,
	.gn-home-substack-promo {
		margin-left: 1.5rem !important;
		margin-right: 1.5rem !important;
		width: auto !important;
		max-width: none !important;
	}
}
.gn-home-substack-promo figure,
.gn-home-substack-promo .wp-block-image { width: 100% !important; max-width: none !important; margin: 0 !important; }
.gn-home-substack-promo img { width: 100% !important; max-width: none !important; height: auto; display: block; }
@media (min-width: 782px) { .gn-home-substack-promo .wp-block-column:first-child img { height: 100%; } }

/* ===== Mobile menu (Blocksy off-canvas) — per the design: cream full-width panel, big Playfair links with hairlines + chevrons, social icons in a row ===== */
#offcanvas.ct-panel .ct-panel-inner {
	background: var(--gn-bg) !important;
	width: 100% !important;
	max-width: 100% !important;
	color: var(--gn-ink);
}
#offcanvas .ct-toggle-close { color: var(--gn-ink) !important; }
#offcanvas .ct-toggle-close .ct-icon { fill: var(--gn-ink) !important; }
#offcanvas .ct-panel-content-inner { padding-left: 20px; padding-right: 20px; }
#offcanvas .mobile-menu ul { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
#offcanvas .mobile-menu li { margin: 0; }
#offcanvas .mobile-menu li:not(.gn-nav-social) { flex: 0 0 100%; border-bottom: 1px solid var(--gn-border); }
#offcanvas .mobile-menu li:not(.gn-nav-social) > a.ct-menu-link {
	display: flex !important; align-items: center; justify-content: space-between;
	min-height: 60px; padding: 0 !important;
	font-family: 'Playfair Display', serif !important; font-size: 26px !important; font-weight: 400 !important;
	color: var(--gn-ink) !important;
}
#offcanvas .mobile-menu li:not(.gn-nav-social) > a.ct-menu-link::after {
	content: "\203A"; font-family: 'Lato', sans-serif; font-size: 22px; color: var(--gn-deep-pink);
}
#offcanvas .mobile-menu li.gn-nav-social { margin: 28px 22px 0 0; }
#offcanvas .mobile-menu li.gn-nav-social > a.ct-menu-link { width: 22px; height: 22px; background-color: var(--gn-deep-pink); }

/* Mobile-only menu items (Home + Subscribe live in Appearance > Menus; shown only inside the off-canvas panel) */
li.gn-mobile-only { display: none !important; }
#offcanvas li.gn-mobile-only { display: block !important; }
#offcanvas .mobile-menu li.gn-menu-cta { flex: 0 0 100%; border-bottom: 0; margin-top: 32px; order: 99; }
#offcanvas .mobile-menu li.gn-menu-cta > a.ct-menu-link {
	justify-content: center !important; min-height: 50px !important;
	background: var(--gn-pink); color: var(--gn-ink) !important; border-radius: 6px;
	font-family: 'Lato', sans-serif !important; font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0.04em;
}
#offcanvas .mobile-menu li.gn-menu-cta > a.ct-menu-link::after { content: none; }
#offcanvas .mobile-menu li.gn-nav-social { order: 50; }

/* Logo next to the close button inside the menu panel */
#offcanvas .ct-panel-actions { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
#offcanvas .ct-panel-actions::before {
	content: ""; width: 130px; height: 36px;
	background: url("https://thegirlnook.com/wp-content/uploads/2026/09/logo-horizontal-colour-300x84.png") left center / contain no-repeat;
}

/* Clean mobile/tablet header: logo + sign-in/avatar + menu icon, everything vertically centred; Subscribe moves into the menu */
@media (max-width: 999px) {
	header#header .ct-header-cta { display: none !important; }
	header#header [data-row] .ct-container,
	header#header [data-row] [data-column] { align-items: center !important; }
	header#header .site-branding,
	header#header .site-logo-container { display: flex; align-items: center; }
	header#header .site-logo-container img { display: block; }
}

/* Secondary buttons everywhere: soft pink outline + deep-pink text (per design), not grey/black */
.gn-btn-outline-inline,
.gn-submit-btn.gn-btn-outline { border: 1.5px solid var(--gn-pink); color: var(--gn-deep-pink); background: transparent; }
.gn-btn-outline-inline:hover,
.gn-submit-btn.gn-btn-outline:hover { background: var(--gn-blush); border-color: var(--gn-pink); color: var(--gn-ink); }
.gn-btn-outline-inline:active,
.gn-submit-btn.gn-btn-outline:active { background: var(--gn-pink); border-color: var(--gn-pink); color: #fff; }

/* The logo artwork has a descender-heavy script, so its box centre sits high — nudge it down to optically line up with Sign in / menu icon */
@media (max-width: 999px) {
	header#header .site-logo-container img { position: relative; top: 4px; }
}

/* Sidebar CTA: full-width button per design */
.gn-sidebar-cta-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; }

/* Long headline fallback (no natural sentence break): lighter and smaller so it reads as text, not a shout; plus breathing room under the tag row */
.gn-thought-detail-title-long { font-size: 20px !important; font-weight: 500 !important; line-height: 1.45 !important; }
.gn-thought-detail-card .gn-thought-tags { margin-bottom: 14px; }

/* Contact form confirmation: brand font + centred thank-you look (heart mark, per design) */
.fluentform .ff-message-success,
.fluentform .ff-message-success p {
	font-family: 'Lato', sans-serif !important;
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: var(--gn-body) !important;
	text-align: center;
}
.fluentform .ff-message-success { padding: 32px 24px !important; background: transparent !important; }
.fluentform .ff-message-success::before {
	content: "\2665"; display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
	background: var(--gn-blush); color: var(--gn-deep-pink); font-size: 26px;
}

/* Phone gutters: 24px on the sign-in / submit flow and account page (matches the homepage hero) */
@media (max-width: 781px) {
	.gn-submit-cancel { padding: 16px 24px 0 !important; }
	.gn-submit-card-shell { padding: 8px 24px 40px !important; }
	.gn-account-wrap { padding: 32px 24px 64px !important; }
}
