/* ==========================================================================
   Single blog post (custom code). Copy of Elementor Single Post #4451 + loop item #4433.
   Article typography (h2 / h3 / lists) comes from the Elementor kit, as on the live page.
   Breakpoints match the Elementor kit: 1200 / 1024 / 880 / 767.
   ========================================================================== */

.gg-post {
	font-family: "Geist", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.16px;
	color: #0E0E0E;
	background: #FBF9F5;
}

.gg-post *,
.gg-post *::before,
.gg-post *::after {
	box-sizing: border-box;
}

.gg-post .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gg-post-inner {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
}

/* ---------------------------------------------------------------------------
   Article + Table of Contents
   ------------------------------------------------------------------------ */
.gg-post-top {
	padding: 80px 16px;
	background: #FBF9F5;
}

.gg-post-top__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.gg-post-article {
	display: flex;
	flex-direction: column;
	width: 69%;
	min-width: 0;
}

/* Sidebar sticks to the top while the article scrolls (Elementor sticky, offset 0). */
.gg-post-side {
	position: sticky;
	top: 0;
	align-self: flex-start;
	width: 28%;
	min-width: 0;
}

body.admin-bar .gg-post-side {
	top: 32px;
}

/* Breadcrumb ("Home / Single Post", as on the live template). */
.gg-post .gg-post-crumbs {
	padding: 0 0 20px;
}

.gg-post .gg-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-post .gg-crumbs li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: rgba(2, 1, 1, 0.57);
}

.gg-post .gg-crumbs li:last-child span {
	color: #000;
}

.gg-post .gg-crumbs a {
	color: rgba(2, 1, 1, 0.57);
	text-decoration: none;
	transition: color 0.3s;
}

.gg-post .gg-crumbs a:hover,
.gg-post .gg-crumbs a:focus {
	color: #0E0E0E;
}

.gg-post .gg-crumbs__sep {
	display: flex;
	line-height: 0;
	color: #0E0E0E;
}

.gg-post .gg-crumbs__sep svg {
	width: 14px;
	height: 14px;
}

.gg-post .gg-post-title {
	width: 879px;
	max-width: 100%;
	margin: 0;
	padding: 0 0 20px;
	font-family: "Gentium Plus", serif;
	font-size: 62px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -2px;
	color: #0E0E0E;
}

/* Category + date. */
.gg-post-info {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
	padding: 0 0 20px;
	list-style: none;
}

.gg-post-info li {
	margin: 0 8px;
	font-size: 14px;
	line-height: 21px;
	color: rgba(2, 1, 1, 0.63);
}

/* Featured image (shown 3:2, as on the live page). */
.gg-post-image {
	padding: 0 0 30px;
}

.gg-post .gg-post-image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: none;
	aspect-ratio: 1.5;
	object-fit: cover;
	border-radius: 8px;
}

/* Content (block markup from the editor). */
.gg-post-content {
	padding: 0 0 50px;
	line-height: 24px;
}

.gg-post-content > *:first-child {
	margin-top: 0;
}

.gg-post-content img {
	max-width: 100%;
	height: auto;
}

.gg-post-content a {
	color: #0E0E0E;
}

.gg-post-content h2,
.gg-post-content h3,
.gg-post-content h4 {
	scroll-margin-top: 24px;
}

/* Share. */
.gg-post .gg-post-share__title {
	margin: 0;
	padding: 0 0 20px;
	font-family: "Gentium Plus", serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 48px;
	letter-spacing: -1px;
	color: #0E0E0E;
}

.gg-post-share {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-post-share li {
	margin: 0;
}

.gg-post-share__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	color: #FFFFFF;
	background: #000000;
	border-radius: 999px;
	transition: filter 0.3s, opacity 0.3s;
}

.gg-post-share__btn:hover,
.gg-post-share__btn:focus {
	color: #FFFFFF;
	filter: saturate(1.5) brightness(1.2);
	opacity: 0.9;
}

.gg-post-share__btn:focus-visible {
	outline: 2px solid #0E0E0E;
	outline-offset: 2px;
}

.gg-post-share__btn svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* Table of Contents. */
.gg-toc {
	border-bottom: 1px solid rgba(14, 14, 14, 0.52);
}

.gg-toc__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #FBF9F5;
}

.gg-post .gg-toc__title {
	flex: 1 1 auto;
	margin: 0;
	font-family: "Gentium Plus", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 38px;
	letter-spacing: -0.16px;
	color: #0E0E0E;
	text-align: start;
}

.gg-post .gg-toc__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 24px;
	margin: 0;
	padding: 0;
	color: #000;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.gg-toc__toggle:focus-visible {
	outline: 2px solid #0E0E0E;
	outline-offset: 2px;
}

.gg-toc__icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.gg-toc__toggle[aria-expanded="true"] .gg-toc__icon--down,
.gg-toc__toggle[aria-expanded="false"] .gg-toc__icon--up {
	display: none;
}

.gg-toc__body {
	max-height: 380px;
	padding: 10px;
	overflow-y: auto;
}

.gg-toc.is-collapsed .gg-toc__body {
	display: none;
}

.gg-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gg-toc__list .gg-toc__list {
	margin: 8px 0 0 16px;
}

.gg-toc__item {
	margin: 0 0 8px;
	padding: 0;
}

.gg-toc__row {
	display: flex;
	align-items: center;
}

.gg-toc__marker {
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	margin: 0 8px 0 0;
	fill: rgba(0, 0, 0, 0.63);
}

.gg-toc__link {
	font-size: 16px;
	line-height: 24px;
	color: #0E0E0E;
	text-decoration: none;
}

.gg-toc__link:hover,
.gg-toc__link:focus {
	color: #0E0E0E;
	text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Related Insights
   ------------------------------------------------------------------------ */
.gg-post-related {
	padding: 120px 16px 92px;
	background: #FBF9F5;
}

.gg-post-related__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.gg-post-related__divider {
	width: 100%;
	height: 1px;
	margin: 0 0 120px;
	padding: 0;
	background: rgba(0, 0, 0, 0.35);
	border: 0;
}

.gg-post-related__intro {
	width: 744px;
	max-width: 744px;
	padding: 0 0 102px;
}

.gg-post .gg-post-related__title {
	margin: 8px 0 26px;
	font-family: "Gentium Plus", serif;
	font-size: 38px;
	font-weight: 400;
	line-height: 1.26316em;
	letter-spacing: -1px;
	color: #0E0E0E;
}

.gg-post-related__intro p {
	margin: 0;
}

/* "02 You May Also Like" counter. The 10px on the outer side matches the live
   page, where an extra (empty) anchor sits in this row. */
.gg-post-num {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	align-self: flex-start;
	gap: 10px;
	padding: 0 10px 0 0;
	text-align: end;
}

.gg-post .gg-post-num__n {
	margin: 8px 0 0;
	font-family: "Geist", sans-serif;
	font-size: 60px;
	font-weight: 400;
	line-height: 1.26316em;
	letter-spacing: -1px;
}

.gg-post .gg-post-num__t {
	margin: 0 0 20px;
	font-size: 16px;
}

/* Cards (same as the Insider page, loop item #4433). */
.gg-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	width: 100%;
}

.gg-post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.gg-post-card__media {
	display: block;
	padding: 0 0 16px;
}

.gg-post .gg-post-card__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: 1.5;
	object-fit: cover;
	border-radius: 8px;
}

.gg-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
	padding: 0 0 10px;
	list-style: none;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(2, 1, 1, 0.63);
}

.gg-post-card__meta li {
	margin: 0 8px;
}

.gg-post-card__meta li:first-child:not(:last-child) {
	color: rgba(2, 1, 1, 0.63);
}

.gg-post .gg-post-card__title {
	margin: 0;
	padding: 0 0 10px;
	font-family: "Gentium Plus", serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.2em;
	letter-spacing: -1px;
	color: #0E0E0E;
}

.gg-post .gg-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.gg-post .gg-post-card__title a:hover {
	text-decoration: underline;
}

.gg-post .gg-post-card a:focus-visible {
	outline: 2px solid #0E0E0E;
	outline-offset: 2px;
}

.gg-post-card__excerpt {
	color: rgba(2, 1, 1, 0.63);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.gg-post-article { width: 62%; }
	.gg-post-side { width: 33%; }
	.gg-post .gg-post-title { font-size: 42px; line-height: 1.1em; }
	.gg-post-related__intro { width: 599px; max-width: 599px; padding: 0 0 60px; }
}

@media (max-width: 1024px) {
	.gg-post-top { padding: 60px 16px; }
	.gg-post .gg-post-title { font-size: 40px; }
	.gg-post-related { padding: 80px 16px; }
	.gg-post-related__divider { margin-bottom: 80px; }
	.gg-post-related__intro { width: 547px; max-width: 547px; }
	.gg-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
	.gg-post-related__intro { width: 459px; max-width: 459px; }
}

@media (max-width: 767px) {
	.gg-post-top { padding: 40px 16px; }
	.gg-post-article { width: 100%; }
	/* The live sidebar (Table of Contents) is hidden on phones. */
	.gg-post-side { display: none; }
	.gg-post .gg-post-title { font-size: 32px; }
	.gg-post-content h2 { font-size: 26px; }
	.gg-post-content h3 { font-size: 22px; }

	.gg-post-related { padding: 60px 16px; }
	.gg-post-related__divider { order: -99999; margin-bottom: 60px; }
	.gg-post-related__intro { padding: 0 0 38px; }
	.gg-post .gg-post-related__title { margin-bottom: 6px; font-size: 28px; }
	.gg-post-related__intro p { font-size: 14px; }
	.gg-post-num { order: -99999; flex-direction: row; width: 100%; padding: 0 0 16px 10px; }
	.gg-post .gg-post-num__n { font-size: 30px; }
	.gg-post .gg-post-num__t { margin-bottom: 0; font-size: 14px; }
	.gg-post-grid { grid-template-columns: minmax(0, 1fr); }
	.gg-post-card__excerpt { font-size: 14px; }
}
