/* Green Upshot Blog Layout */
.gu-blog-page,
.gu-blog-page * {
	box-sizing: border-box;
}

.gu-blog-page {
	--gu-deep: #003f4c;
	--gu-teal: #056983;
	--gu-green: #18a866;
	--gu-lime: #c2ed7a;
	--gu-cream: #f9f8f4;
	--gu-muted: #667c80;
	--gu-line: #dde7e5;
	--gu-light: #eef6f3;
	padding: 66px 0 88px;
	background: #fff;
	color: var(--gu-deep);
	font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.gu-blog-shell {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.gu-blog-page-head {
	margin-bottom: 34px;
}

.gu-blog-page-head h1 {
	margin: 0 0 10px;
	color: var(--gu-deep);
	font-family: "Outfit", Arial, sans-serif;
	font-size: clamp(36px, 4.4vw, 58px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -1.6px;
}

.gu-blog-page-head p,
.gu-blog-archive-description {
	max-width: 700px;
	margin: 0;
	color: var(--gu-muted);
	font-size: 15px;
	line-height: 1.7;
}

.gu-blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 36px;
	align-items: start;
}

.gu-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 20px;
}

.gu-blog-card {
	min-width: 0;
}

.gu-blog-card-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 8.3;
	border-radius: 0;
	background: var(--gu-light);
}

.gu-blog-card-image img,
.gu-popular-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.gu-blog-card:hover .gu-blog-card-image img,
.gu-popular-item:hover .gu-popular-image img {
	transform: scale(1.035);
}

.gu-blog-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background:
		linear-gradient(135deg, rgba(5, 105, 131, .14), rgba(194, 237, 122, .32)),
		var(--gu-light);
	color: var(--gu-deep);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .5px;
}

.gu-blog-card-body {
	padding-top: 14px;
}

.gu-blog-card-title {
	margin: 0 0 7px;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.28;
}

.gu-blog-card-title a,
.gu-popular-copy h3 a,
.gu-post-nav-item a {
	color: var(--gu-deep);
	text-decoration: none;
}

.gu-blog-card-title a:hover,
.gu-popular-copy h3 a:hover,
.gu-post-nav-item a:hover {
	color: var(--gu-teal);
}

.gu-blog-card-meta,
.gu-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 11px;
	color: #8a999c;
	font-size: 10px;
	line-height: 1.45;
}

.gu-blog-card-excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--gu-muted);
	font-size: 12px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.gu-blog-card-excerpt p {
	margin: 0;
}

.gu-blog-read-more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-top: 11px;
	color: var(--gu-green);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.gu-blog-read-more:hover {
	color: var(--gu-teal);
}

.gu-blog-pagination {
	margin-top: 48px;
}

.gu-blog-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gu-blog-pagination a,
.gu-blog-pagination span {
	display: grid;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	place-items: center;
	border: 1px solid var(--gu-line);
	border-radius: 6px;
	color: var(--gu-deep);
	text-decoration: none;
}

.gu-blog-pagination .current,
.gu-blog-pagination a:hover {
	border-color: var(--gu-teal);
	background: var(--gu-teal);
	color: #fff;
}

/* Sidebar */
.gu-blog-sidebar {
	position: sticky;
	top: 30px;
	min-width: 0;
}

.gu-sidebar-widget {
	margin-bottom: 34px;
}

.gu-author-image {
	display: block;
	width: 100%;
	max-height: 270px;
	margin-bottom: 18px;
	object-fit: cover;
}

.gu-sidebar-widget h2 {
	margin: 0;
	color: #111;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.gu-sidebar-rule {
	width: 34px;
	height: 1px;
	margin: 12px 0 16px;
	background: #111;
}

.gu-sidebar-widget p {
	margin: 0;
	color: var(--gu-muted);
	font-size: 12px;
	line-height: 1.75;
}

.gu-popular-list {
	display: grid;
	gap: 10px;
}

.gu-popular-item {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.gu-popular-image {
	display: block;
	overflow: hidden;
	width: 68px;
	height: 68px;
	background: var(--gu-light);
}

.gu-popular-copy h3 {
	display: -webkit-box;
	margin: 0 0 6px;
	overflow: hidden;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.gu-popular-copy span {
	color: #6d7f82;
	font-size: 9px;
	text-transform: uppercase;
}

.gu-sidebar-categories {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gu-sidebar-categories li {
	margin-bottom: 9px;
	color: #667c80;
	font-size: 11px;
}

.gu-sidebar-categories a {
	color: #667c80;
	text-decoration: none;
	text-transform: uppercase;
}

.gu-sidebar-categories a:hover {
	color: var(--gu-teal);
}

.gu-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.gu-tag-list a {
	color: #667c80;
	font-size: 11px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gu-tag-list a:hover {
	color: var(--gu-teal);
}

/* Single post */
.gu-single-featured {
	margin: 0 0 20px;
}

.gu-single-featured img {
	display: block;
	width: 100%;
	max-height: 630px;
	object-fit: cover;
}

.gu-single-header {
	padding-bottom: 20px;
	border-bottom: 1px solid #111;
}

.gu-single-categories {
	margin-bottom: 8px;
	color: var(--gu-teal);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.gu-single-categories a {
	color: inherit;
	text-decoration: none;
}

.gu-single-header h1 {
	margin: 0 0 12px;
	color: #111;
	font-family: "Outfit", Arial, sans-serif;
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -1px;
}

.gu-single-entry {
	padding: 42px 6px 20px;
	color: #4f6064;
	font-size: 15px;
	line-height: 1.78;
}

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

.gu-single-entry h2,
.gu-single-entry h3,
.gu-single-entry h4 {
	color: var(--gu-deep);
	font-family: "Outfit", Arial, sans-serif;
	line-height: 1.25;
}

.gu-single-entry h2 {
	margin-top: 34px;
	font-size: 30px;
}

.gu-single-entry h3 {
	margin-top: 28px;
	font-size: 24px;
}

.gu-single-entry img {
	max-width: 100%;
	height: auto;
}

.gu-single-entry a {
	color: var(--gu-teal);
}

.gu-single-entry blockquote {
	margin: 28px 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--gu-lime);
	color: var(--gu-deep);
	font-size: 18px;
	font-weight: 600;
}

.gu-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 22px 0;
	color: var(--gu-muted);
	font-size: 12px;
}

.gu-single-tags a {
	padding: 6px 9px;
	border-radius: 999px;
	background: var(--gu-light);
	color: var(--gu-teal);
	text-decoration: none;
}

.gu-post-navigation {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin-top: 34px;
	padding: 24px 20px;
	border: 1px solid #111;
}

.gu-post-nav-item {
	min-width: 0;
}

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

.gu-post-nav-item span {
	display: block;
	margin-bottom: 5px;
	color: #809093;
	font-size: 9px;
	text-transform: uppercase;
}

.gu-post-nav-item a {
	display: block;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.gu-post-nav-divider {
	color: #111;
}

.gu-blog-empty {
	padding: 50px;
	background: var(--gu-cream);
	text-align: center;
}

.gu-blog-empty h2 {
	margin-top: 0;
	font-family: "Outfit", Arial, sans-serif;
}

/* Standard comments */
.gu-single-article .comments-area {
	margin-top: 46px;
}

.gu-single-article .comments-title,
.gu-single-article .comment-reply-title {
	font-family: "Outfit", Arial, sans-serif;
	color: var(--gu-deep);
}

.gu-single-article .comment-form input:not([type="submit"]),
.gu-single-article .comment-form textarea {
	width: 100%;
	border: 1px solid var(--gu-line);
	border-radius: 6px;
}

.gu-single-article .comment-form input[type="submit"] {
	border: 0;
	border-radius: 999px;
	background: var(--gu-teal);
	color: #fff;
}

/* Tablet */
@media (max-width: 1024px) {
	.gu-blog-layout {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 26px;
	}

	.gu-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gu-single-entry {
		font-size: 14px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.gu-blog-page {
		padding: 42px 0 62px;
	}

	.gu-blog-shell {
		width: min(100% - 28px, 1180px);
	}

	.gu-blog-layout {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.gu-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 12px;
	}

	.gu-blog-card-image {
		aspect-ratio: 4 / 3;
	}

	.gu-blog-card-title {
		font-size: 14px;
	}

	.gu-blog-card-meta {
		font-size: 8px;
	}

	.gu-blog-card-excerpt {
		font-size: 10px;
		line-height: 1.55;
		-webkit-line-clamp: 3;
	}

	.gu-blog-read-more {
		font-size: 10px;
	}

	.gu-blog-sidebar {
		position: static;
	}

	.gu-author-image {
		max-height: 360px;
	}

	.gu-single-header h1 {
		font-size: 34px;
	}

	.gu-single-entry {
		padding: 30px 0 16px;
		font-size: 14px;
	}

	.gu-post-navigation {
		grid-template-columns: 1fr;
		gap: 16px;
	}

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

	.gu-post-nav-divider {
		display: none;
	}
}

@media (max-width: 420px) {
	.gu-blog-grid {
		grid-template-columns: 1fr;
	}
}
