/*!
Theme Name: guestposts
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Editorial Hub theme for a mixed-niche guest posting platform.
Version: 1.1.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: guestposts
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/*--------------------------------------------------------------
# Design tokens
--------------------------------------------------------------*/
:root {
	--gp-ink: #1a1a1a;
	--gp-ink-muted: #5c5c5c;
	--gp-paper: #f7f3ec;
	--gp-paper-deep: #efe8dc;
	--gp-forest: #0f3d32;
	--gp-forest-mid: #1a5c4a;
	--gp-coral: #e85d4c;
	--gp-coral-dark: #c94a3b;
	--gp-cream: #fffbf5;
	--gp-white: #ffffff;
	--gp-line: rgba(15, 61, 50, 0.12);
	--gp-shadow: 0 18px 40px rgba(15, 61, 50, 0.08);
	--gp-radius: 4px;
	--gp-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--gp-font-body: "DM Sans", "Segoe UI", sans-serif;
	--gp-container: 1120px;
	--gp-header-h: 72px;
	--gp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*--------------------------------------------------------------
# Reset / base
--------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--gp-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--gp-ink);
	background-color: var(--gp-paper);
	background-image:
		radial-gradient(ellipse 120% 80% at 10% -20%, rgba(15, 61, 50, 0.08), transparent 50%),
		radial-gradient(ellipse 90% 60% at 100% 0%, rgba(232, 93, 76, 0.06), transparent 45%),
		linear-gradient(180deg, var(--gp-paper) 0%, var(--gp-paper-deep) 100%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-style: none;
}

a {
	color: var(--gp-forest-mid);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.2s var(--gp-ease);
}

a:hover,
a:focus {
	color: var(--gp-coral);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--gp-font-display);
	font-weight: 600;
	line-height: 1.2;
	color: var(--gp-forest);
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1.1em;
}

ul, ol {
	margin: 0 0 1.1em;
	padding-left: 1.35em;
}

figure {
	margin: 0;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/*--------------------------------------------------------------
# Layout shell
--------------------------------------------------------------*/
.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.gp-container {
	width: min(100% - 2.5rem, var(--gp-container));
	margin-inline: auto;
}

#content,
.site-content-wrap {
	flex: 1;
}

.site-main {
	padding: 2.5rem 0 4rem;
}

body.home .site-main,
body.blog .site-main {
	padding-top: 0;
}

body.no-sidebar .widget-area {
	display: none;
}

body.no-sidebar #primary {
	float: none;
	margin-left: 0;
	margin-right: 0;
}

/* All inner pages share the same container width as the homepage */
body.page #primary.site-main,
body.single #primary.site-main,
body.archive #primary.site-main,
body.blog:not(.home) #primary.site-main,
body.search #primary.site-main,
body.error404 #primary.site-main {
	width: min(100% - 2.5rem, var(--gp-container));
	max-width: var(--gp-container);
	margin-inline: auto;
	padding-top: 2rem;
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--gp-cream);
	clip: auto !important;
	clip-path: none;
	color: var(--gp-ink);
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	top: 0.5rem;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.gp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	font-family: var(--gp-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	border: 2px solid transparent;
	border-radius: var(--gp-radius);
	cursor: pointer;
	text-decoration: none !important;
	transition: transform 0.25s var(--gp-ease), background 0.25s var(--gp-ease), color 0.25s var(--gp-ease), border-color 0.25s var(--gp-ease), box-shadow 0.25s var(--gp-ease);
}

.gp-btn:hover,
.gp-btn:focus {
	transform: translateY(-2px);
}

.gp-btn--primary {
	background: var(--gp-coral);
	color: var(--gp-white) !important;
	box-shadow: 0 8px 24px rgba(232, 93, 76, 0.28);
}

.gp-btn--primary:hover,
.gp-btn--primary:focus {
	background: var(--gp-coral-dark);
	color: var(--gp-white) !important;
}

.gp-btn--ghost {
	background: transparent;
	color: var(--gp-forest) !important;
	border-color: var(--gp-forest);
}

.gp-btn--ghost:hover,
.gp-btn--ghost:focus {
	background: var(--gp-forest);
	color: var(--gp-cream) !important;
}

.gp-btn--light {
	background: var(--gp-cream);
	color: var(--gp-forest) !important;
}

.gp-btn--light:hover,
.gp-btn--light:focus {
	background: var(--gp-white);
	color: var(--gp-forest) !important;
}

.gp-btn--on-dark {
	background: transparent;
	color: var(--gp-cream) !important;
	border-color: rgba(255, 251, 245, 0.45);
}

.gp-btn--on-dark:hover,
.gp-btn--on-dark:focus {
	background: rgba(255, 251, 245, 0.1);
	border-color: var(--gp-cream);
	color: var(--gp-cream) !important;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(247, 243, 236, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--gp-line);
	animation: gp-fade-down 0.7s var(--gp-ease) both;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--gp-header-h);
	width: min(100% - 2.5rem, var(--gp-container));
	margin-inline: auto;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.site-title {
	margin: 0;
	font-family: var(--gp-font-display);
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.site-title a {
	color: var(--gp-forest);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--gp-coral);
}

.site-description {
	display: none;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	max-height: 42px;
	width: auto;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.header-actions .gp-btn {
	padding: 0.65rem 1.15rem;
	font-size: 0.875rem;
}

.header-actions .gp-btn--logout {
	padding: 0.55rem 0.95rem;
	border-width: 1.5px;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	background: var(--gp-cream);
	border: 1.5px solid var(--gp-forest);
	color: var(--gp-forest);
	border-radius: var(--gp-radius);
	padding: 0.5rem 0.75rem;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.8125rem;
	cursor: pointer;
	line-height: 1;
	flex-shrink: 0;
}

.menu-toggle--icon-only {
	padding: 0.55rem;
	min-width: 40px;
	min-height: 40px;
}

.menu-toggle--icon-only .menu-toggle__label {
	display: none;
}

.menu-toggle__icon {
	position: relative;
	width: 18px;
	height: 12px;
	display: inline-block;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.2s var(--gp-ease), top 0.2s var(--gp-ease), box-shadow 0.2s var(--gp-ease);
}

.menu-toggle__icon::before {
	top: 2px;
	box-shadow: 0 5px 0 currentColor;
}

.menu-toggle__icon::after {
	top: 12px;
}

.menu-open .menu-toggle__icon::before {
	top: 6px;
	box-shadow: none;
	transform: rotate(45deg);
}

.menu-open .menu-toggle__icon::after {
	top: 6px;
	transform: rotate(-45deg);
}

/* Navigation */
.main-navigation {
	display: flex;
	align-items: center;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.25rem 1.5rem;
}

.main-navigation a {
	color: var(--gp-ink);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	padding: 0.35rem 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--gp-coral);
}

.main-navigation ul ul {
	display: none;
}

@media (max-width: 900px) {
	.site-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand actions"
			"nav nav";
		align-items: center;
		gap: 0.65rem 0.75rem;
		padding-block: 0.75rem;
		min-height: auto;
	}

	.site-branding {
		grid-area: brand;
		min-width: 0;
		overflow: hidden;
	}

	.site-title {
		font-size: clamp(1rem, 4.2vw, 1.25rem);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
	}

	.site-title a {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.header-actions {
		grid-area: actions;
		gap: 0.45rem;
		justify-self: end;
	}

	/* Keep header clean: logout lives in the opened menu on mobile */
	.header-actions .gp-btn--logout {
		display: none;
	}

	.main-navigation {
		grid-area: nav;
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.main-navigation.toggled {
		display: flex;
	}

	.main-navigation ul,
	.main-navigation ul.menu,
	.main-navigation ul.nav-menu {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		padding: 0.25rem 0 0.5rem;
		margin: 0;
	}

	.main-navigation li {
		width: 100%;
	}

	.main-navigation a {
		display: block;
		padding: 0.85rem 0;
		width: 100%;
		border-bottom: 1px solid var(--gp-line);
	}

	.menu-toggle {
		display: inline-flex;
	}

	/* Icon-only hamburger on all mobile views to save space */
	.menu-toggle .menu-toggle__label {
		display: none;
	}

	.menu-toggle {
		padding: 0.55rem;
		min-width: 40px;
		min-height: 40px;
	}

	.header-actions .gp-btn--primary {
		padding: 0.55rem 0.85rem;
		font-size: 0.8125rem;
	}

	.header-actions .gp-btn--primary span {
		display: none;
	}
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.gp-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
	color: var(--gp-cream);
	background:
		linear-gradient(135deg, var(--gp-forest) 0%, #164a3d 48%, #0c2e26 100%);
}

.gp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 20%, rgba(232, 93, 76, 0.22), transparent 40%),
		radial-gradient(circle at 15% 80%, rgba(255, 251, 245, 0.08), transparent 35%),
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.gp-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 2.5rem, var(--gp-container));
	margin-inline: auto;
	animation: gp-fade-up 0.9s var(--gp-ease) 0.1s both;
}

.gp-hero__brand {
	margin: 0 0 1rem;
	font-family: var(--gp-font-display);
	font-size: clamp(2.75rem, 8vw, 4.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 0.95;
	color: var(--gp-cream);
}

.gp-hero__headline {
	margin: 0 0 0.85rem;
	font-family: var(--gp-font-body);
	font-size: clamp(1.15rem, 2.4vw, 1.4rem);
	font-weight: 500;
	line-height: 1.4;
	color: rgba(255, 251, 245, 0.92);
	max-width: 32ch;
}

.gp-hero__support {
	margin: 0 0 2rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 251, 245, 0.72);
	max-width: 42ch;
}

.gp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.gp-section {
	padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.gp-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
}

.gp-section__title {
	margin: 0;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	letter-spacing: -0.02em;
}

.gp-section__lede {
	margin: 0.35rem 0 0;
	color: var(--gp-ink-muted);
	font-size: 1rem;
	max-width: 42ch;
}

.gp-section__link {
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	color: var(--gp-forest);
	white-space: nowrap;
}

.gp-section__link:hover {
	color: var(--gp-coral);
}

.gp-section--topics {
	border-bottom: 1px solid var(--gp-line);
}

.gp-section--cta {
	padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.gp-submit-lede {
	margin-top: 0.5rem;
}

.gp-cta-band--spaced {
	margin-top: 2.5rem;
}

.gp-cta-band {
	width: 100%;
	box-sizing: border-box;
}

/* Topics */
.gp-topics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.gp-topic {
	display: block;
	padding: 1.5rem 1.25rem;
	background: var(--gp-cream);
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	text-decoration: none !important;
	color: var(--gp-forest);
	transition: transform 0.3s var(--gp-ease), border-color 0.3s var(--gp-ease), box-shadow 0.3s var(--gp-ease);
}

.gp-topic:hover {
	transform: translateY(-4px);
	border-color: var(--gp-forest-mid);
	box-shadow: var(--gp-shadow);
	color: var(--gp-forest);
}

.gp-topic__name {
	display: block;
	font-family: var(--gp-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.gp-topic__meta {
	display: block;
	font-size: 0.875rem;
	color: var(--gp-ink-muted);
}

@media (max-width: 900px) {
	.gp-topics {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.gp-topics {
		grid-template-columns: 1fr;
	}
}

/* CTA band */
.gp-cta-band {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 5vw, 3.5rem);
	background: var(--gp-forest);
	color: var(--gp-cream);
	border-radius: calc(var(--gp-radius) + 4px);
}

.gp-cta-band::after {
	content: "";
	position: absolute;
	right: -10%;
	top: -40%;
	width: 50%;
	height: 180%;
	background: radial-gradient(circle, rgba(232, 93, 76, 0.35), transparent 65%);
	pointer-events: none;
}

.gp-cta-band__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.gp-cta-band h2 {
	margin: 0 0 0.4rem;
	color: var(--gp-cream);
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.gp-cta-band p {
	margin: 0;
	color: rgba(255, 251, 245, 0.75);
	max-width: 40ch;
}

/*--------------------------------------------------------------
# Post grid / cards
--------------------------------------------------------------*/
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

@media (max-width: 960px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.posts-grid {
		grid-template-columns: 1fr;
	}
}

.gp-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--gp-cream);
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 2px);
	overflow: hidden;
	transition: transform 0.35s var(--gp-ease), box-shadow 0.35s var(--gp-ease);
	opacity: 0;
	transform: translateY(18px);
	animation: gp-rise 0.7s var(--gp-ease) forwards;
}

.gp-card:nth-child(1) { animation-delay: 0.05s; }
.gp-card:nth-child(2) { animation-delay: 0.12s; }
.gp-card:nth-child(3) { animation-delay: 0.19s; }
.gp-card:nth-child(4) { animation-delay: 0.26s; }
.gp-card:nth-child(5) { animation-delay: 0.33s; }
.gp-card:nth-child(6) { animation-delay: 0.4s; }

.gp-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--gp-shadow);
}

.gp-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--gp-paper-deep);
}

.gp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--gp-ease);
}

.gp-card:hover .gp-card__media img {
	transform: scale(1.05);
}

.gp-card__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(145deg, var(--gp-forest) 0%, var(--gp-forest-mid) 100%);
	color: rgba(255, 251, 245, 0.35);
	font-family: var(--gp-font-display);
	font-size: 2rem;
}

.gp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.35rem 1.5rem;
}

.gp-card__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.65rem;
}

.gp-card__cats--header {
	margin-bottom: 0.85rem;
}

.gp-chip {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--gp-forest) !important;
	background: rgba(15, 61, 50, 0.08);
	border-radius: 2px;
}

.gp-chip:hover {
	background: rgba(232, 93, 76, 0.12);
	color: var(--gp-coral) !important;
}

.gp-card .entry-title {
	margin: 0 0 0.55rem;
	font-size: 1.2rem;
	letter-spacing: -0.015em;
}

.gp-card .entry-title a {
	color: var(--gp-forest);
	text-decoration: none;
}

.gp-card .entry-title a:hover {
	color: var(--gp-coral);
}

.gp-card__excerpt {
	flex: 1;
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--gp-ink-muted);
}

.gp-card__excerpt p {
	margin: 0;
}

.gp-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	font-size: 0.8125rem;
	color: var(--gp-ink-muted);
}

.gp-card__meta a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
}

.gp-card__meta a:hover {
	color: var(--gp-coral);
}

/* Archive / index page header */
.page-header {
	width: 100%;
	margin: 0 0 2rem;
	padding-top: 0;
}

.page-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin-bottom: 0.35rem;
}

.archive-description {
	color: var(--gp-ink-muted);
	max-width: 55ch;
}

.archive-description p:last-child {
	margin-bottom: 0;
}

body.archive .page-header,
body.blog:not(.home) .page-header,
body.search .page-header {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-top: 0;
}

body.archive .posts-grid,
body.blog:not(.home) .posts-grid,
body.search .posts-grid {
	margin-bottom: 2rem;
}

.posts-navigation,
.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-weight: 600;
}

.nav-links a {
	text-decoration: none;
}

/*--------------------------------------------------------------
# Single post / pages
--------------------------------------------------------------*/
/* body.single-post .entry-header,
body.page .entry-header {
	margin-bottom: 1.75rem;
	max-width: 40rem;
} */

body.single-post .entry-title,
body.page .entry-title {
	font-size: clamp(2rem, 5vw, 3rem);
	letter-spacing: -0.025em;
	margin-bottom: 0.75rem;
}

/* Keep form cards from overflowing on small screens */
body.page .entry-content,
body.page .entry-content .gps-panel,
body.page .entry-content .gps-auth,
body.page article {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-wrap: anywhere;
}

body.page .entry-content .gp-cta-band {
	max-width: 100%;
	box-sizing: border-box;
}

body.single-post .entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.9rem;
	color: var(--gp-ink-muted);
}

body.single-post .entry-meta a {
	color: var(--gp-forest);
	text-decoration: none;
	font-weight: 500;
}

body.single-post .post-thumbnail {
	margin: 0 0 2rem;
	border-radius: calc(var(--gp-radius) + 2px);
	overflow: hidden;
}

body.single-post .post-thumbnail img {
	width: 100%;
}

.entry-content {
	font-size: 1.1rem;
	line-height: 1.8;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.75em;
}

.entry-content a {
	color: var(--gp-coral-dark);
}

.entry-content blockquote {
	margin: 1.75rem 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid var(--gp-coral);
	font-family: var(--gp-font-display);
	font-size: 1.25rem;
	color: var(--gp-forest);
}

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gp-line);
	font-size: 0.9rem;
	color: var(--gp-ink-muted);
}

.entry-footer > span {
	display: block;
	margin-bottom: 0.4rem;
}

.entry-footer a {
	text-decoration: none;
}

.post-navigation {
	margin: 3rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gp-line);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gp-ink-muted);
	margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
	font-family: var(--gp-font-display);
	font-size: 1.05rem;
	color: var(--gp-forest);
}

.post-navigation a {
	text-decoration: none;
}

.post-navigation a:hover .nav-title {
	color: var(--gp-coral);
}

@media (max-width: 600px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}
}

/* Author box */
.gp-author {
	display: flex;
	gap: 1.15rem;
	margin-top: 2.5rem;
	padding: 1.5rem;
	background: var(--gp-cream);
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 2px);
}

.gp-author__avatar img {
	border-radius: 50%;
}

.gp-author__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gp-ink-muted);
	margin-bottom: 0.25rem;
}

.gp-author__name {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
}

.gp-author__name a {
	color: var(--gp-forest);
	text-decoration: none;
}

.gp-author__bio {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--gp-ink-muted);
}

/*--------------------------------------------------------------
# Forms / comments / search
--------------------------------------------------------------*/
.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 420px;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid var(--gp-line);
	border-radius: var(--gp-radius);
	background: var(--gp-cream);
}

.search-form .search-submit {
	padding: 0.75rem 1.15rem;
	background: var(--gp-forest);
	color: var(--gp-cream);
	border: none;
	border-radius: var(--gp-radius);
	font-weight: 600;
	cursor: pointer;
}

.comment-respond,
.comments-area {
	margin-top: 3rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid var(--gp-line);
	border-radius: var(--gp-radius);
	background: var(--gp-cream);
	margin-bottom: 0.85rem;
}

.comment-form .submit {
	padding: 0.8rem 1.4rem;
	background: var(--gp-coral);
	color: var(--gp-white);
	border: none;
	border-radius: var(--gp-radius);
	font-weight: 600;
	cursor: pointer;
}

.no-results {
	width: 100%;
	margin: 0;
	padding: 3rem 0;
	text-align: center;
}

.no-results--compact {
	padding: 2rem 0;
	width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	margin-top: auto;
	background: var(--gp-forest);
	color: rgba(255, 251, 245, 0.78);
	padding: 3.5rem 0 2rem;
}

.site-footer a {
	color: var(--gp-cream);
	text-decoration: none;
}

.site-footer a:hover {
	color: #ffb4aa;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	width: min(100% - 2.5rem, var(--gp-container));
	margin: 0 auto 2.5rem;
}

.site-footer__brand {
	font-family: var(--gp-font-display);
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--gp-cream);
	margin: 0 0 0.75rem;
}

.site-footer__brand a {
	color: inherit;
}

.site-footer__tagline {
	margin: 0;
	max-width: 32ch;
	line-height: 1.55;
	font-size: 0.95rem;
}

.site-footer__heading {
	margin: 0 0 1rem;
	font-family: var(--gp-font-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 251, 245, 0.5);
}

.site-footer__menu,
.site-footer__cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__menu li,
.site-footer__cats li {
	margin-bottom: 0.55rem;
}

.site-footer__bottom {
	width: min(100% - 2.5rem, var(--gp-container));
	margin-inline: auto;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 251, 245, 0.12);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: rgba(255, 251, 245, 0.5);
}

@media (max-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/*--------------------------------------------------------------
# Widgets (if used)
--------------------------------------------------------------*/
.widget-area {
	width: min(100% - 2.5rem, var(--gp-container));
	margin: 0 auto 3rem;
}

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1.1rem;
}

/*--------------------------------------------------------------
# Alignments / WP core
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: var(--gp-ink-muted);
	margin-top: 0.4rem;
}

.sticky {
	/* no special style needed */
}

.bypostauthor {
	/* no special style needed */
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
# Motion
--------------------------------------------------------------*/
@keyframes gp-fade-down {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes gp-fade-up {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes gp-rise {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
