.sodalite-blog-hub {
	--sbh-accent: #45b1a1;
	--sbh-accent-soft: #edf9f7;
	--sbh-border: #cfe7e3;
	--sbh-text: #263b38;
	--sbh-muted: #61736f;
	box-sizing: border-box;
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
	color: var(--sbh-text);
	font-size: 16px;
	line-height: 1.65;
}

.sodalite-blog-hub *,
.sodalite-blog-hub *::before,
.sodalite-blog-hub *::after {
	box-sizing: inherit;
}

.sodalite-blog-hub img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.sodalite-blog-hub__tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	margin: 0 0 20px;
	border-bottom: 2px solid var(--sbh-accent);
}

.sodalite-blog-hub__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 9px 8px;
	border: 1px solid var(--sbh-border);
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
	background: #fff;
	color: var(--sbh-accent);
	font: inherit;
	font-size: clamp(12px, 3.15vw, 14px);
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	cursor: pointer;
}

.sodalite-blog-hub__tab:hover {
	background: var(--sbh-accent-soft);
}

.sodalite-blog-hub__tab[aria-selected="true"] {
	border-color: var(--sbh-accent);
	background: var(--sbh-accent);
	color: #fff;
}

.sodalite-blog-hub__tab-icon {
	flex: 0 0 auto;
	font-size: 1em;
	line-height: 1;
}

.sodalite-blog-hub__tab-label {
	min-width: 0;
	overflow-wrap: anywhere;
}

.sodalite-blog-hub__tab:focus-visible,
.sodalite-blog-hub a:focus-visible {
	outline: 3px solid var(--sbh-accent);
	outline-offset: 3px;
}

.sodalite-blog-hub__panel[hidden] {
	display: none;
}

.sodalite-blog-hub__panel:focus {
	outline: none;
}

.sodalite-blog-hub__hero {
	margin: 0 0 24px;
}

.sodalite-blog-hub__hero-link,
.sodalite-blog-hub__item-link {
	color: inherit;
	text-decoration: none;
}

.sodalite-blog-hub__hero-link {
	display: block;
}

.sodalite-blog-hub__hero-media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--sbh-accent-soft);
}

.sodalite-blog-hub__hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sodalite-blog-hub__hero-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 18px 0;
}

.sodalite-blog-hub__hero-title {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.sodalite-blog-hub__list {
	border-top: 1px solid var(--sbh-border);
}

.sodalite-blog-hub__item {
	margin: 0;
	border-bottom: 1px solid var(--sbh-border);
}

.sodalite-blog-hub__item-link {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	min-height: 124px;
	padding: 18px;
}

.sodalite-blog-hub__item--ranked .sodalite-blog-hub__item-link {
	grid-template-columns: auto 88px minmax(0, 1fr);
	padding-left: 24px;
}

.sodalite-blog-hub__thumb {
	display: block;
	overflow: hidden;
	width: 88px;
	aspect-ratio: 1;
	background: var(--sbh-accent-soft);
}

.sodalite-blog-hub__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sodalite-blog-hub__item-body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.sodalite-blog-hub__item-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.sodalite-blog-hub__date {
	color: var(--sbh-muted);
	font-size: 13px;
}

.sodalite-blog-hub__rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--sbh-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.sodalite-blog-hub__empty {
	margin: 24px 0;
	color: var(--sbh-muted);
	text-align: center;
}

.sodalite-blog-hub__more {
	margin: 20px 18px 0;
	text-align: right;
}

.sodalite-blog-hub__more a {
	color: var(--sbh-accent);
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
}

.sodalite-blog-hub__more a:hover {
	text-decoration: underline;
}

@media (min-width: 480px) {
	.sodalite-blog-hub__item-link {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.sodalite-blog-hub__item--ranked .sodalite-blog-hub__item-link {
		grid-template-columns: auto 96px minmax(0, 1fr);
	}

	.sodalite-blog-hub__thumb {
		width: 96px;
	}
}


@media (min-width: 768px) {
	.sodalite-blog-hub {
		max-width: 420px;
	}

	.sodalite-blog-hub__hero-title {
		font-size: 16px;
		font-weight: 400;
	}
}

.sodalite-blog-hub__tabs a.sodalite-blog-hub__tab {
	color: var(--sbh-accent);
	text-decoration: none;
}

.sodalite-blog-hub__tab--static {
	cursor: default;
}

.sodalite-blog-hub__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 28px 0 0;
	padding: 0 6px;
}

.sodalite-blog-hub__pagination-link,
.sodalite-blog-hub__pagination-current,
.sodalite-blog-hub__pagination-ellipsis {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	min-height: 34px;
	margin: 0;
	padding: 6px 8px;
	border: 1px solid var(--sbh-border);
	border-radius: 3px;
	background: #fff;
	color: var(--sbh-accent);
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	list-style: none;
}

.sodalite-blog-hub__pagination-link::before,
.sodalite-blog-hub__pagination-link::after,
.sodalite-blog-hub__pagination-current::before,
.sodalite-blog-hub__pagination-current::after,
.sodalite-blog-hub__pagination-ellipsis::before,
.sodalite-blog-hub__pagination-ellipsis::after {
	display: none !important;
	content: none !important;
	background: none !important;
}

.sodalite-blog-hub__pagination-current,
.sodalite-blog-hub__pagination-link:hover,
.sodalite-blog-hub__pagination-link:focus-visible {
	border-color: var(--sbh-accent);
	background: var(--sbh-accent);
	color: #fff;
}

.sodalite-blog-hub__pagination-ellipsis {
	min-width: 18px;
	border-color: transparent;
	background: transparent;
	color: var(--sbh-muted);
}

.sodalite-blog-hub__pagination-link--prev,
.sodalite-blog-hub__pagination-link--next {
	min-width: 58px;
}

@media (max-width: 400px) {
	.sodalite-blog-hub__pagination {
		gap: 5px;
		padding-inline: 0;
	}

	.sodalite-blog-hub__pagination-link,
	.sodalite-blog-hub__pagination-current {
		min-width: 32px;
		min-height: 32px;
		padding: 5px 7px;
	}

	.sodalite-blog-hub__pagination-link--prev,
	.sodalite-blog-hub__pagination-link--next {
		min-width: 52px;
	}
}

/* Fixed-page compact display: equal-sized cards, no hero, three items by default. */
.sodalite-blog-hub--compact .sodalite-blog-hub__tabs {
	margin-bottom: 12px;
}

.sodalite-blog-hub--compact .sodalite-blog-hub__item-link {
	min-height: 112px;
	padding-block: 14px;
}

.sodalite-blog-hub--compact .sodalite-blog-hub__more--all {
	margin-top: 16px;
}

