/**
 * HeliumWP – blog index, archives, search and single posts.
 * Same visual language as the homepage: blue rounded hero, yellow accents, Poppins.
 */

/* Hero sits directly under the header like the homepage sections. */
.blog .storeplugin-header,
.archive .storeplugin-header,
.search .storeplugin-header,
.single-post .storeplugin-header {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Blog / archive hero
 * ------------------------------------------------------------------------- */
.wp-site-blocks .hp-blog-hero {
	position: relative;
	overflow: hidden;
	background-color: #004ce5;
	background-image: url("../images/bg-vector.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
	border-radius: 25px;
	margin: 25px 25px 0;
	padding: 100px 30px 110px;
	text-align: center;
	color: #fff;
}
.hp-blog-hero p.hp-blog-eyebrow {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #000;
	background-color: #ffbe18;
	border-radius: 80px;
	padding: 10px 18px;
	margin: 0 0 26px;
}
.hp-blog-hero .hp-blog-hero__title {
	font-size: 62px;
	font-weight: 700;
	line-height: 72px;
	color: #fff;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}
.hp-blog-hero .hp-blog-hero__desc {
	max-width: 640px;
	margin: 20px auto 0;
	font-size: 18px;
	line-height: 28px;
	color: rgba(255, 255, 255, 0.9);
}
.hp-blog-hero .hp-blog-hero__desc p {
	margin: 0;
}
.hp-blog-hero .hp-blog-hero__search {
	max-width: 560px;
	margin: 32px auto 0;
}
.hp-blog-hero .hp-blog-hero__search .wp-block-search__input {
	border: 0;
	height: 56px;
	padding: 0 24px;
}
.hp-blog-hero .hp-blog-hero__search .wp-block-search__button {
	background-color: #ffbe18;
	color: #000;
}

/* ---------------------------------------------------------------------------
 * Post cards (blog index, archives, search, related posts)
 * ------------------------------------------------------------------------- */
.wp-site-blocks .hp-blog-list {
	max-width: 1380px;
	margin: 0 auto;
	padding: 90px 30px 120px;
}
.wp-site-blocks .hp-blog-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 30px;
}
.hp-blog-grid > li {
	display: flex;
	margin: 0;
}
.wp-site-blocks .hp-post-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: #fff;
	border: 1px solid #eceef4;
	border-radius: 15px;
	overflow: hidden;
	margin: 0;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.wp-site-blocks .hp-post-card:hover,
.wp-site-blocks .hp-post-card:focus-within {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: 0 24px 44px -24px rgba(0, 76, 229, 0.4);
}
.wp-site-blocks .hp-post-card__image {
	margin: 0;
	background-color: #e3e1f9;
	aspect-ratio: 16 / 10;
}
.hp-post-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.hp-post-card:hover .hp-post-card__image img {
	transform: scale(1.04);
}
.wp-site-blocks .hp-post-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 26px 28px 28px;
}
.wp-site-blocks .hp-post-card__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	font-size: 0; /* hides the comma separators between term links */
}
.hp-post-card__cats a,
.hp-single-hero__cats a {
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	color: #004ce5;
	background-color: #e0eaff;
	border-radius: 80px;
	padding: 7px 13px;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
.hp-post-card__cats a:hover,
.hp-single-hero__cats a:hover {
	background-color: #ffbe18;
	color: #000;
}
.hp-post-card__cats .wp-block-post-terms__separator {
	display: none;
}
.wp-site-blocks .hp-post-card__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 12px;
}
.hp-post-card__title a {
	color: #000;
	text-decoration: none;
	background-image: linear-gradient(#ffbe18, #ffbe18);
	background-size: 0 3px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.3s ease, color 0.3s ease;
}
.hp-post-card:hover .hp-post-card__title a {
	background-size: 100% 3px;
}
.wp-site-blocks .hp-post-card__excerpt {
	flex-grow: 1;
	margin: 0 0 22px;
}
.hp-post-card__excerpt p,
.hp-post-card__excerpt .wp-block-post-excerpt__excerpt {
	font-size: 15px;
	line-height: 25px;
	color: #4a4a4a;
	margin: 0;
}
.hp-post-card__excerpt .wp-block-post-excerpt__more-text {
	display: none;
}
.wp-site-blocks .hp-post-card__meta {
	gap: 0;
	align-items: center;
	border-top: 1px solid #eef0f5;
	padding-top: 16px;
	margin: 0;
	font-size: 14px;
	line-height: 1;
	color: #6b7280;
}
.hp-post-card__meta > * {
	margin: 0;
}
.hp-post-card__meta > * + *::before,
.hp-single-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: currentColor;
	opacity: 0.5;
	vertical-align: middle;
	margin: 0 10px;
}
.hp-post-card__meta a {
	color: inherit;
	text-decoration: none;
}

/* Pagination */
.wp-site-blocks .hp-blog-pagination {
	gap: 8px;
	margin: 60px 0 0;
	font-size: 15px;
	font-weight: 500;
}
.hp-blog-pagination a,
.hp-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border-radius: 80px;
	background-color: #f1f3f9;
	color: #000;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
.hp-blog-pagination .page-numbers.current {
	background-color: #004ce5;
	color: #fff;
}
.hp-blog-pagination a:hover {
	background-color: #ffbe18;
	color: #000;
}
.hp-blog-pagination .page-numbers.dots {
	background: none;
	min-width: 0;
	padding: 0 4px;
}
.hp-blog-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: 8px;
}

/* Empty state */
.wp-site-blocks .hp-blog-empty {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}
.hp-blog-empty h2 {
	font-size: 30px;
	margin: 0 0 12px;
}

/* ---------------------------------------------------------------------------
 * Single post
 * ------------------------------------------------------------------------- */
.wp-site-blocks .hp-single-hero {
	background-color: #f2f6ff;
	background-image: url("../images/bg-vector.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
	border-radius: 25px;
	margin: 25px 25px 0;
	padding: 90px 30px 190px;
	text-align: center;
}
.wp-site-blocks .hp-single-hero__cats {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 22px;
	font-size: 0;
}
.hp-single-hero__cats .wp-block-post-terms__separator {
	display: none;
}
.wp-site-blocks .hp-single-hero__title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.25;
	color: #000;
	max-width: 900px;
	margin: 0 auto 28px;
	text-align: center;
}
.wp-site-blocks .hp-single-meta {
	gap: 0;
	align-items: center;
	margin: 0;
	font-size: 15px;
	line-height: 1;
	color: #4a4a4a;
}
.hp-single-meta > * {
	margin: 0;
}
.hp-single-meta a {
	color: inherit;
	text-decoration: none;
}
.wp-site-blocks .hp-single-image {
	max-width: 1100px;
	margin: -150px auto 0;
	padding: 0 30px;
	position: relative;
}
.hp-single-image img {
	display: block;
	width: 100%;
	border-radius: 25px;
	box-shadow: 0 30px 60px -30px rgba(17, 24, 82, 0.35);
	object-fit: cover;
}

/* Reading column */
.wp-site-blocks .hp-single-body {
	padding: 70px 30px 0;
}
.hp-single-content {
	font-size: 18px;
	line-height: 1.8;
	color: #2b2b2b;
}
.hp-single-content > * + * {
	margin-top: 0;
}
.hp-single-content p {
	margin: 0 0 1.4em;
}
.hp-single-content h2 {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin: 1.6em 0 0.6em;
	color: #000;
}
.hp-single-content h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	margin: 1.5em 0 0.5em;
	color: #000;
}
.hp-single-content h4 {
	font-size: 20px;
	font-weight: 600;
	margin: 1.4em 0 0.5em;
}
.hp-single-content a {
	color: #004ce5;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hp-single-content a:hover {
	color: #000;
	background-color: #ffbe18;
	text-decoration: none;
}
.hp-single-content ul,
.hp-single-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}
.hp-single-content li {
	margin: 0 0 0.5em;
}
.hp-single-content ol.wp-block-list {
	list-style-position: outside;
}
.hp-single-content li::marker {
	color: #004ce5;
	font-weight: 600;
}
.hp-single-content blockquote,
.hp-single-content .wp-block-quote {
	margin: 1.8em 0;
	padding: 28px 32px;
	background-color: #f2f6ff;
	border-left: 5px solid #004ce5;
	border-radius: 0 15px 15px 0;
	font-size: 20px;
	line-height: 1.6;
	font-weight: 500;
	color: #000;
}
.hp-single-content blockquote p:last-child {
	margin-bottom: 0;
}
.hp-single-content blockquote cite {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	color: #4a4a4a;
}
.hp-single-content .wp-block-image {
	margin: 1.8em 0;
}
.hp-single-content .wp-block-image img {
	border-radius: 15px;
}
.hp-single-content figcaption {
	font-size: 14px;
	color: #6b7280;
	text-align: center;
	margin-top: 10px;
}
.hp-single-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88em;
	background-color: #f1f3f9;
	border-radius: 6px;
	padding: 2px 6px;
}
.hp-single-content pre,
.hp-single-content .wp-block-code {
	margin: 1.8em 0;
	padding: 22px 24px;
	background-color: #00021a;
	color: #e6e8f0;
	border-radius: 15px;
	overflow-x: auto;
	font-size: 15px;
	line-height: 1.7;
}
.hp-single-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}
.hp-single-content hr {
	border: 0;
	border-top: 1px solid #eceef4;
	margin: 2.4em 0;
}

/* Tags */
.wp-site-blocks .hp-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 40px 0 0;
	font-size: 0;
}
.hp-single-tags a {
	display: inline-block;
	font-size: 14px;
	line-height: 1;
	color: #000;
	background-color: #f1f3f9;
	border-radius: 80px;
	padding: 9px 15px;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
.hp-single-tags a::before {
	content: "#";
	color: #004ce5;
	margin-right: 2px;
}
.hp-single-tags a:hover {
	background-color: #ffbe18;
}
.hp-single-tags .wp-block-post-terms__separator {
	display: none;
}


/* Previous / next */
.wp-site-blocks .hp-post-nav {
	gap: 20px;
	margin: 50px 0 0;
	align-items: stretch;
}
.hp-post-nav > * {
	flex: 1 1 0;
	margin: 0;
}
.hp-post-nav a {
	display: block;
	height: 100%;
	padding: 22px 24px;
	border: 1px solid #eceef4;
	border-radius: 15px;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
.hp-post-nav a:hover {
	border-color: #004ce5;
	color: #004ce5;
}
.hp-post-nav .post-navigation-link__label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 6px;
}
.hp-post-nav .hp-post-nav__next {
	text-align: right;
}
.hp-post-nav .wp-block-post-navigation-link__arrow-previous,
.hp-post-nav .wp-block-post-navigation-link__arrow-next {
	color: #004ce5;
}

/* Related posts */
.wp-site-blocks .hp-related-section {
	max-width: 1380px;
	margin: 0 auto;
	padding: 110px 30px 120px;
}
.hp-related-section .hp-related-title {
	text-align: center;
	margin: 0 auto 50px;
	max-width: 640px;
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
	.hp-blog-hero .hp-blog-hero__title {
		font-size: 50px;
		line-height: 62px;
	}
	.wp-site-blocks .hp-single-hero__title {
		font-size: 40px;
	}
}
@media (max-width: 781px) {
	.wp-site-blocks .hp-blog-hero,
	.wp-site-blocks .hp-single-hero {
		border-radius: 15px;
		margin: 15px 15px 0;
	}
	.wp-site-blocks .hp-blog-hero {
		padding: 70px 20px 80px;
	}
	.hp-blog-hero .hp-blog-hero__title {
		font-size: 36px;
		line-height: 44px;
	}
	.wp-site-blocks .hp-blog-list {
		padding: 60px 15px 80px;
	}
	.wp-site-blocks .hp-single-hero {
		padding: 60px 20px 120px;
	}
	.wp-site-blocks .hp-single-hero__title {
		font-size: 30px;
	}
	.wp-site-blocks .hp-single-image {
		margin-top: -90px;
		padding: 0 15px;
	}
	.hp-single-image img {
		border-radius: 15px;
	}
	.wp-site-blocks .hp-single-body {
		padding: 50px 15px 0;
	}
	.hp-single-content {
		font-size: 17px;
	}
	.hp-single-content h2 {
		font-size: 26px;
	}
	.wp-site-blocks .hp-post-nav {
		flex-direction: column;
	}
	.hp-post-nav .hp-post-nav__next {
		text-align: left;
	}
	.wp-site-blocks .hp-related-section {
		padding: 70px 15px 80px;
	}
	.hp-related-section .storeplugin-section-title {
		font-size: 32px;
	}
}

/* Core prints the arrows outside the links; the labels already say Previous / Next. */
.hp-post-nav .wp-block-post-navigation-link__arrow-previous,
.hp-post-nav .wp-block-post-navigation-link__arrow-next {
	display: none;
}
.hp-post-nav .post-navigation-link-previous,
.hp-post-nav .post-navigation-link-next {
	display: flex;
}
