/* Coinsclone Blog — scoped visual port of the supplied 1232px reference page. */

.hb-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	font-family: 'Figtree', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #0f1115;
}

.hb-wrap *,
.hb-wrap *::before,
.hb-wrap *::after {
	box-sizing: border-box;
}

body.home #primary.content-area,
body.page-template-template-blog #primary.content-area,
.hb-shell #primary.content-area {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.home .site-content,
body.page-template-template-blog .site-content,
.hb-shell .site-content {
	padding-bottom: 0;
}

.hb-eyebrow,
.hb-hero-eyebrow {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #0f5fd6;
}

.hb-eyebrow {
	margin-bottom: 9px;
}

/* Category filter */
.hb-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 28px 0 20px;
	border-bottom: 1px solid #e7ecf4;
}

.hb-pill {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 8px 15px;
	border: 1px solid #dce7ff;
	border-radius: 999px;
	background: #f4f8ff;
	color: #1d3a6b;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.hb-pill:hover,
.hb-pill:focus-visible {
	border-color: #b9cff2;
	color: #0b4fb8;
	text-decoration: none;
}

.hb-pill.is-active {
	border-color: #0f1115;
	background: #0f1115;
	color: #fff;
}

.hb-pill-count {
	font-size: 11.5px;
	font-weight: 600;
	color: #5a6472;
}

.hb-pill.is-active .hb-pill-count {
	color: #c9cfda;
}

/* Hero */
.hb-hero-section {
	padding: clamp(32px, 3.6vw, 52px) 0 clamp(28px, 3vw, 40px);
}

.hb-hero-eyebrow {
	margin-bottom: 14px;
}

.hb-hero-title {
	max-width: 940px;
	margin: 0 0 clamp(28px, 3.2vw, 44px);
	color: #0f1115;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: -.03em;
	text-wrap: pretty;
}

.hb-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 240px) minmax(420px, 1.5fr) minmax(0, 300px);
	gap: clamp(16px, 2vw, 24px);
	align-items: start;
}

.hb-hero-small-col {
	display: grid;
	gap: 16px;
}

/* Article cards */
.hb-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e7ecf4;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(15, 35, 75, .04);
	color: #0f1115;
	text-decoration: none;
	transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.hb-card:hover,
.hb-card:focus-visible {
	border-color: #c9dcfb;
	box-shadow: 0 10px 28px rgba(15, 35, 75, .08);
	color: #0f1115;
	text-decoration: none;
	transform: translateY(-3px);
}

.hb-card-media {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-bottom: 1px solid #e7ecf4;
	background: #f2f6fd;
}

.hb-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hb-card-body {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px 18px 18px;
}

.hb-card-title {
	margin: 0 0 10px;
	color: #0f1115;
	font-size: 16.5px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -.014em;
	text-wrap: pretty;
}

.hb-meta {
	margin-top: auto;
	color: #5a6472;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.45;
}

.hb-feat-card .hb-card-body {
	padding: 22px 24px 24px;
}

.hb-feat-card .hb-card-title {
	margin-bottom: 12px;
	font-size: clamp(22px, 2.3vw, 29px);
	line-height: 1.2;
	letter-spacing: -.02em;
}

.hb-feat-excerpt {
	margin: 0 0 14px;
	color: #4a5260;
	font-size: 16px;
	line-height: 1.68;
	text-wrap: pretty;
}

/* Most-read panel */
.hb-side {
	overflow: hidden;
	border: 1px solid #e7ecf4;
	border-radius: 18px;
	background: #fff;
}

.hb-side-head {
	padding: 16px 18px;
	border-bottom: 1px solid #eef2f9;
	background: #f9fbff;
}

.hb-side-row {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 14px 18px;
	border-bottom: 1px solid #f2f5fa;
	color: inherit;
	text-decoration: none;
}

.hb-side-row:last-child {
	border-bottom: 0;
}

.hb-side-row:hover,
.hb-side-row:focus-visible {
	background: #f9fbff;
	text-decoration: none;
}

.hb-side-num {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: #5a6472;
}

.hb-side-title {
	color: #0f1115;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
}

/* Editorial guide rails */
.hb-rail-section {
	padding: clamp(40px, 4.4vw, 64px) 0;
}

.hb-rail-layout {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 44px);
	align-items: start;
}

.hb-rail-intro {
	padding-top: 3px;
}

.hb-rail-heading,
.hb-section-title {
	color: #0f1115;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.024em;
	text-wrap: pretty;
}

.hb-rail-heading {
	margin: 0 0 12px;
}

.hb-rail-desc {
	margin: 0 0 14px;
	color: #4a5260;
	font-size: 16px;
	line-height: 1.68;
	text-wrap: pretty;
}

.hb-rail-link {
	display: inline;
	padding-bottom: 2px;
	border-bottom: 1px solid #c9dcfb;
	color: #0f5fd6;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.hb-rail-link:hover,
.hb-rail-link:focus-visible {
	border-color: #0f5fd6;
	color: #0b4fb8;
	text-decoration: none;
}

.hb-rail-track {
	display: grid;
	min-width: 0;
	grid-auto-flow: column;
	grid-auto-columns: minmax(270px, 270px);
	gap: 16px;
	overflow-x: auto;
	padding: 2px 2px 12px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-color: #727b88 #edf0f4;
	scrollbar-width: thin;
}

.hb-rail-track::-webkit-scrollbar {
	height: 6px;
}

.hb-rail-track::-webkit-scrollbar-track {
	border-radius: 999px;
	background: #edf0f4;
}

.hb-rail-track::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #727b88;
}

.hb-rail-track > * {
	height: 100%;
	scroll-snap-align: start;
}

/* Newsletter */
.hb-newsletter {
	position: relative;
	display: grid;
	overflow: hidden;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
	margin: clamp(36px, 4vw, 56px) 0;
	padding: clamp(28px, 3.4vw, 44px);
	border-radius: 26px;
	background: #0b1220;
}

.hb-newsletter::after {
	position: absolute;
	top: -120px;
	right: -80px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(24, 119, 242, .22);
	content: '';
	filter: blur(100px);
	pointer-events: none;
}

.hb-newsletter-copy,
.hb-newsletter-form {
	position: relative;
	z-index: 1;
}

.hb-newsletter h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.02em;
	text-wrap: pretty;
}

.hb-newsletter p {
	margin: 0;
	color: #9aaac2;
	font-size: 16px;
	line-height: 1.68;
}

.hb-newsletter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hb-newsletter-form input {
	min-width: 0;
	flex: 1 1 220px;
	padding: 14px 16px;
	border: 1px solid #2a3a57;
	border-radius: 12px;
	outline: 0;
	background: rgba(255, 255, 255, .05);
	color: #fff;
	font-family: 'Figtree', sans-serif;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .16s ease, background .16s ease;
}

.hb-newsletter-form input::placeholder {
	color: #9aaac2;
	opacity: 1;
}

.hb-newsletter-form input:focus {
	border-color: #5fa0ff;
	background: rgba(255, 255, 255, .09);
}

.hb-newsletter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: #1877f2;
	color: #fff;
	cursor: pointer;
	font-family: 'Figtree', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: background .16s ease, transform .16s ease;
}

.hb-newsletter-btn:hover,
.hb-newsletter-btn:focus-visible {
	background: #3b8cff;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Topic tabs and cards */
.hb-topics-section {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: clamp(40px, 4.4vw, 64px) 24px;
	background: #f9fbff;
}

.hb-topics-section > .hb-wrap-inner {
	width: 100%;
	max-width: 1232px;
	margin: 0 auto;
}

.hb-section-title {
	margin: 0 0 12px;
}

.hb-section-desc {
	max-width: 760px;
	margin: 0 0 24px;
	color: #4a5260;
	font-size: 17px;
	line-height: 1.68;
	text-wrap: pretty;
}

.hb-topic-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.hb-topic-tab {
	padding: 9px 16px;
	border: 1px solid #dce7ff;
	border-radius: 999px;
	background: #fff;
	color: #1d3a6b;
	cursor: pointer;
	font-family: 'Figtree', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.hb-topic-tab:hover,
.hb-topic-tab:focus-visible {
	border-color: #b9cff2;
}

.hb-topic-tab[aria-current='true'] {
	border-color: #0f1115;
	background: #0f1115;
	color: #fff;
}

.hb-topic-panel {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.hb-topic-panel[hidden] {
	display: none !important;
}

/* Beginner grid */
.hb-starthere-section {
	padding: clamp(40px, 4.4vw, 64px) 0;
}

.hb-starthere-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.hb-starthere-card {
	display: flex;
	min-height: 126px;
	flex-direction: column;
	padding: 18px;
	border: 1px solid #e7ecf4;
	border-radius: 16px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.hb-starthere-card:hover,
.hb-starthere-card:focus-visible {
	border-color: #c9dcfb;
	background: #f9fbff;
	color: inherit;
	text-decoration: none;
	transform: translateY(-2px);
}

.hb-starthere-title {
	margin-bottom: 8px;
	color: #0f1115;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.4;
}

.hb-starthere-card .hb-meta {
	margin-top: auto;
}

/* Full-bleed consultation band */
.hb-final-cta {
	position: relative;
	width: 100vw;
	margin: 20px 0 0 calc(50% - 50vw);
	overflow: hidden;
	padding: clamp(52px, 6vw, 88px) 24px;
	border-radius: 0;
	background: #070c15;
	text-align: center;
}

.hb-final-cta::before {
	position: absolute;
	top: -160px;
	left: 50%;
	width: 680px;
	height: 440px;
	border-radius: 50%;
	background: rgba(24, 119, 242, .24);
	content: '';
	filter: blur(110px);
	pointer-events: none;
	transform: translateX(-50%);
}

.hb-final-cta-inner {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
}

.hb-final-cta h2 {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.026em;
	text-wrap: pretty;
}

.hb-final-cta p {
	max-width: 600px;
	margin: 0 auto 28px;
	color: #9aaac2;
	font-size: 17.5px;
	line-height: 1.7;
	text-wrap: pretty;
}

.hb-final-cta-btn {
	display: inline-flex;
	align-items: center;
	padding: 17px 34px;
	border-radius: 999px;
	background: #1877f2;
	box-shadow: 0 12px 30px rgba(24, 119, 242, .34);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: background .16s ease, transform .16s ease;
}

.hb-final-cta-btn:hover,
.hb-final-cta-btn:focus-visible {
	background: #3b8cff;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

.hb-final-cta-secondary {
	display: block;
	width: max-content;
	margin: 14px auto 0;
	color: #8fbbff;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
}

.hb-final-cta-secondary:hover,
.hb-final-cta-secondary:focus-visible {
	color: #fff;
	text-decoration: none;
}

.hb-empty {
	padding: 60px 0;
	color: #5a6472;
	font-size: 16px;
	text-align: center;
}

/* Dynamic category archive */
.hb-archive-page {
	width: 100%;
	font-family: 'Figtree', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #0f1115;
}

.hb-archive-page *,
.hb-archive-page *::before,
.hb-archive-page *::after {
	box-sizing: border-box;
}

.hb-archive-container {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-right: 24px;
	padding-left: 24px;
}

.hb-archive-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 3.6vw, 52px) 0 clamp(24px, 2.6vw, 34px);
	background: linear-gradient(180deg, #f7faff 0%, #fff 100%);
}

.hb-archive-hero::before {
	position: absolute;
	top: -140px;
	left: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(24, 119, 242, .13);
	content: '';
	filter: blur(90px);
	pointer-events: none;
}

.hb-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: clamp(18px, 2.4vw, 28px);
	color: #5a6472;
	font-size: 13px;
	line-height: 1.5;
}

.hb-breadcrumbs a {
	color: #5a6472;
	text-decoration: none;
}

.hb-breadcrumbs a:hover,
.hb-breadcrumbs a:focus-visible {
	color: #0f5fd6;
	text-decoration: none;
}

.hb-breadcrumbs [aria-current='page'] {
	color: #0f1115;
	font-weight: 600;
}

.hb-archive-eyebrow {
	margin-bottom: 13px;
	color: #0f5fd6;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.hb-archive-title {
	margin: 0 0 16px;
	color: #0f1115;
	font-size: clamp(34px, 4.4vw, 58px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.03em;
	text-wrap: pretty;
}

.hb-archive-description {
	max-width: 760px;
	margin: 0 0 6px;
	color: #4a5260;
	font-size: 18px;
	line-height: 1.68;
	text-wrap: pretty;
}

.hb-archive-count {
	margin: 14px 0 0;
	color: #5a6472;
	font-size: 14.5px;
	line-height: 1.55;
}

.hb-archive-count strong {
	color: #0f1115;
}

.hb-archive-filter {
	padding: 0 0 clamp(20px, 2.4vw, 30px);
	background: #fff;
}

.hb-archive-filter__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: clamp(16px, 2vw, 24px);
	border-top: 1px solid #e7ecf4;
}

.hb-archive-articles {
	padding: 0 0 clamp(48px, 5vw, 76px);
	background: #fff;
}

.hb-archive-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.hb-archive-grid .hb-card {
	height: 100%;
}

.hb-archive-pagination {
	margin-top: 36px;
}

.hb-archive-pagination .navigation.pagination {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
}

.hb-archive-pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.hb-archive-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
}

.hb-archive-pagination .page-numbers {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 13px;
	border: 1px solid #dce7ff;
	border-radius: 999px;
	background: #fff;
	color: #1d3a6b;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.hb-archive-pagination .page-numbers.current {
	border-color: #0f1115;
	background: #0f1115;
	color: #fff;
}

.hb-archive-pagination a.page-numbers:hover,
.hb-archive-pagination a.page-numbers:focus-visible {
	border-color: #b9cff2;
	background: #f4f8ff;
	color: #0b4fb8;
	text-decoration: none;
}

.hb-archive-cta {
	margin-top: 0;
}

@media (max-width: 1140px) {
	.hb-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.hb-hero-feat {
		grid-column: 1 / -1;
		order: -1;
	}

	.hb-topic-panel,
	.hb-starthere-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hb-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.hb-rail-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hb-rail-intro {
		max-width: 620px;
	}

	.hb-newsletter {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 720px) {
	.hb-wrap {
		padding: 0 18px;
	}

	.hb-pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-top: 20px;
		scrollbar-width: none;
	}

	.hb-pills::-webkit-scrollbar {
		display: none;
	}

	.hb-pill {
		flex: 0 0 auto;
	}

	.hb-hero-title {
		font-size: clamp(36px, 11vw, 52px);
	}

	.hb-hero-grid {
		grid-template-columns: 1fr;
	}

	.hb-hero-feat {
		grid-column: auto;
	}

	.hb-hero-small-col {
		grid-template-columns: repeat(3, minmax(230px, 1fr));
		overflow-x: auto;
		padding-bottom: 10px;
		scroll-snap-type: x mandatory;
	}

	.hb-hero-small-col > * {
		scroll-snap-align: start;
	}

	.hb-rail-track {
		grid-auto-columns: minmax(250px, 82vw);
	}

	.hb-topics-section {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hb-topic-panel,
	.hb-starthere-grid {
		grid-template-columns: 1fr;
	}

	.hb-newsletter {
		border-radius: 22px;
	}

	.hb-newsletter-form {
		align-items: stretch;
		flex-direction: column;
	}

	.hb-newsletter-form input {
		flex-basis: auto;
	}

	.hb-newsletter-btn {
		width: 100%;
	}

	.hb-final-cta {
		margin-top: 0;
	}

	.hb-archive-container {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hb-archive-filter__inner {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.hb-archive-filter__inner::-webkit-scrollbar {
		display: none;
	}

	.hb-archive-filter .hb-pill {
		flex: 0 0 auto;
	}

	.hb-archive-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hb-wrap *,
	.hb-wrap *::before,
	.hb-wrap *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
