/**
 * OEM Resources — Bester-inspired compact library + article
 * Smaller type, breadcrumb under header logo, less chrome.
 */

/* -------------------------------------------------------------------------
 * Header breadcrumb (under logo / nav)
 * ------------------------------------------------------------------------- */

.insole-resources-bc {
	background: #f5f7f9;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	padding: 0.55rem 0;
	font-size: 12px;
	line-height: 1.4;
	color: #64748b;
}

.insole-resources-bc__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.45rem;
}

.insole-resources-bc a {
	color: #64748b;
	text-decoration: none;
}

.insole-resources-bc a:hover {
	color: var(--b2b-accent, #3a7a8c);
}

.insole-resources-bc__sep {
	opacity: 0.4;
}

.insole-resources-bc span:last-child {
	color: #334155;
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * Hub / list
 * ------------------------------------------------------------------------- */

.insole-resources__section {
	padding: 1.5rem 0 2rem;
	background: #fff;
}

.insole-resources__hero {
	max-width: 36rem;
	margin: 0 0 1rem;
}

.insole-resources__hero .insole-home__eyebrow {
	font-size: 11px;
}

.insole-resources__hero h1 {
	margin: 0.2rem 0 0.35rem;
	font-family: var(--b2b-font-display, inherit);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--b2b-primary, #0b1220);
}

.insole-resources__hero p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.55;
	color: #64748b;
}

.insole-resources__hero a {
	color: var(--b2b-accent, #3a7a8c);
	font-weight: 600;
	text-decoration: none;
	font-size: 13px;
}

.insole-resources__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.5rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.insole-resources__count {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: #94a3b8;
}

.insole-resources__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
}

.insole-resources__filter {
	display: inline-flex;
	align-items: center;
	padding: 0.22rem 0.55rem;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	background: #f1f5f9;
	border-radius: 999px;
	transition: color 0.15s ease, background 0.15s ease;
}

.insole-resources__filter:hover,
.insole-resources__filter.is-active {
	color: #fff;
	background: var(--b2b-accent, #3a7a8c);
}

.insole-resources__list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.insole-resources__row {
	margin: 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.insole-resources__row-link {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 0.65rem 0.85rem;
	align-items: center;
	padding: 0.65rem 0.1rem;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.insole-resources__row-link:hover {
	background: rgba(58, 122, 140, 0.04);
}

.insole-resources__thumb {
	margin: 0;
	width: 72px;
	height: 72px;
	border-radius: 6px;
	overflow: hidden;
	background: #eef2f5;
	flex-shrink: 0;
}

.insole-resources__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.insole-resources__thumb--empty {
	background:
		linear-gradient(145deg, rgba(58, 122, 140, 0.18) 0%, #eef2f5 100%);
}

.insole-resources__row-main {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

.insole-resources__row .insole-resources__cat {
	padding-top: 0;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--b2b-accent, #3a7a8c);
}

.insole-resources__title {
	margin: 0;
	font-family: var(--b2b-font-display, inherit);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--b2b-primary, #0b1220);
}

.insole-resources__row-link:hover .insole-resources__title {
	color: var(--b2b-accent, #3a7a8c);
}

.insole-resources__excerpt {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #94a3b8;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.insole-resources__row-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-top: 0.1rem;
	white-space: nowrap;
	font-size: 12px;
	color: #94a3b8;
}

.insole-resources__more {
	font-weight: 700;
	color: var(--b2b-accent, #3a7a8c);
}

.insole-resources__foot-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.insole-resources__foot-cta p {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
}

.insole-resources__foot-cta .insole-home__btn {
	font-size: 13px;
	padding: 0.55rem 1rem;
}

.insole-resources__pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.insole-resources__pager-status {
	margin: 0;
	font-size: 12px;
	font-weight: 650;
	color: #64748b;
}

.insole-resources__pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.insole-resources__pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.75rem;
	padding: 0 0.45rem;
	font-size: 12px;
	font-weight: 650;
	color: #475569;
	text-decoration: none;
	background: #f1f5f9;
	border-radius: 4px;
}

.insole-resources__pager .page-numbers.current,
.insole-resources__pager a.page-numbers:hover {
	color: #fff;
	background: var(--b2b-accent, #3a7a8c);
}

/* -------------------------------------------------------------------------
 * Single article — smaller type like Bester knowledge guides
 * ------------------------------------------------------------------------- */

body.single-post.ast-narrow-container .site-content > .ast-container,
body.single.single-post .site-content > .ast-container,
body.blog .site-content > .ast-container,
body.category .site-content > .ast-container {
	max-width: var(--b2b-container, 1180px) !important;
	width: 100%;
}

body.single-post.ast-separate-container #primary,
body.single-post.ast-separate-container .ast-article-single,
body.single-post.ast-separate-container .insole-resources-article {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

body.single-post.ast-separate-container #content > .ast-container {
	padding-left: var(--b2b-section-x, 1.25rem);
	padding-right: var(--b2b-section-x, 1.25rem);
}

.insole-resources-article__shell {
	max-width: 680px;
	padding-top: 1rem;
	padding-bottom: 2rem;
}

.insole-resources-article__header {
	margin: 0 0 0.85rem;
	padding: 0;
	background: none;
	border: none;
}

.insole-resources-article__header h1 {
	margin: 0 0 0.35rem;
	font-family: var(--b2b-font-display, inherit);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--b2b-primary, #0b1220);
	overflow-wrap: normal;
	word-break: normal;
}

.insole-resources-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0.4rem;
	margin: 0;
	font-size: 12px;
	color: #94a3b8;
}

.single-post .entry-content,
.insole-resources-article__content {
	max-width: none;
	font-family: var(--b2b-font-body, inherit);
	font-size: 13.5px;
	line-height: 1.65;
	color: #475569;
	overflow-wrap: normal;
	word-break: normal;
}

.single-post .entry-content p,
.insole-resources-article__content p {
	margin: 0 0 0.75em;
	font-size: 13.5px;
	line-height: 1.65;
	color: #475569;
}

.single-post .entry-content h2,
.insole-resources-article__content h2 {
	margin: 1.2em 0 0.4em;
	font-family: var(--b2b-font-display, inherit);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--b2b-primary, #0b1220);
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.single-post .entry-content h3,
.insole-resources-article__content h3 {
	margin: 1em 0 0.3em;
	font-family: var(--b2b-font-display, inherit);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--b2b-primary, #0b1220);
}

.single-post .entry-content h2:first-child,
.single-post .entry-content h3:first-child,
.insole-resources-article__content h2:first-child,
.insole-resources-article__content h3:first-child {
	margin-top: 0.15em;
}

.single-post .entry-content ul,
.single-post .entry-content ol,
.insole-resources-article__content ul,
.insole-resources-article__content ol {
	padding-left: 1.1rem;
	margin: 0 0 0.75em;
	font-size: 13.5px;
}

.single-post .entry-content li,
.insole-resources-article__content li {
	margin-bottom: 0.25em;
	line-height: 1.55;
}

.single-post .entry-content a,
.insole-resources-article__content a {
	color: var(--b2b-accent, #3a7a8c);
	text-underline-offset: 2px;
}

.single-post .entry-content blockquote,
.insole-resources-article__content blockquote {
	margin: 1.1em 0;
	padding: 0.65em 0.85em 0.65em 0.95em;
	border: none;
	border-left: 3px solid var(--b2b-accent, #3a7a8c);
	border-radius: 0 4px 4px 0;
	background: #f8fafc;
}

.single-post .entry-content blockquote p,
.insole-resources-article__content blockquote p {
	margin: 0;
	font-size: 13.5px;
	font-weight: 650;
	line-height: 1.5;
	color: var(--b2b-primary, #0b1220);
}

.single-post .entry-content img,
.insole-resources-article__content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
	border-radius: 6px;
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.insole-resources-figure {
	margin: 1em 0 1.15em;
	max-width: 100%;
}

.insole-resources-figure img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.insole-resources-figure figcaption {
	margin-top: 0.4rem;
	font-size: 12px;
	line-height: 1.4;
	color: #94a3b8;
}

.single-post .entry-content table,
.insole-resources-article__content table {
	width: 100%;
	font-size: 12.5px;
	border-collapse: collapse;
	margin: 1em 0;
}

.single-post .entry-content th,
.single-post .entry-content td,
.insole-resources-article__content th,
.insole-resources-article__content td {
	padding: 0.4rem 0.5rem;
	border: 1px solid #e2e8f0;
	text-align: left;
}

.insole-resources-article__footer {
	margin-top: 1.35rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.insole-resources-article__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 0.9rem;
	background: #f8fafc;
	border-radius: 8px;
}

.insole-resources-article__cta-copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.insole-resources-article__cta-copy strong {
	font-size: 13px;
	color: var(--b2b-primary, #0b1220);
}

.insole-resources-article__cta-copy span {
	font-size: 12px;
	color: #64748b;
}

.insole-resources-article__cta .insole-home__btn {
	font-size: 13px;
	padding: 0.55rem 1rem;
}

.insole-resources-article__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	margin: 0.75rem 0 0;
	font-size: 12.5px;
}

.insole-resources-article__links a {
	color: var(--b2b-accent, #3a7a8c);
	font-weight: 600;
	text-decoration: none;
}

.insole-resources-article__links a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Floating quote CTA */
.insole-resources-fab {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.7rem 1.15rem;
	border: none;
	border-radius: 999px;
	background: var(--b2b-primary, #0b1220);
	color: #fff;
	font-family: var(--b2b-font-display, inherit);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(11, 18, 32, 0.28);
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.insole-resources-fab:hover {
	background: var(--b2b-accent, #3a7a8c);
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(11, 18, 32, 0.32);
}

.insole-resources-fab:focus-visible {
	outline: 2px solid var(--b2b-accent, #3a7a8c);
	outline-offset: 3px;
}

@media (max-width: 720px) {
	.insole-resources__row-link {
		grid-template-columns: 56px minmax(0, 1fr) auto;
		gap: 0.45rem 0.55rem;
	}

	.insole-resources__thumb {
		width: 56px;
		height: 56px;
	}

	.insole-resources__excerpt {
		display: none;
	}

	.insole-resources-article__header h1 {
		font-size: 1.1rem;
	}

	.insole-resources-fab {
		right: 0.85rem;
		bottom: 0.85rem;
		padding: 0.65rem 1rem;
		font-size: 12px;
	}

	.insole-resources-article__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.insole-resources-article__cta .insole-home__btn {
		width: 100%;
		justify-content: center;
	}
}
