/* "Patarimai" section (inc/blog.php, template-parts/blog-archive.php, blog-single.php). Mobile first. */

.lvb-page,
.lvb-inline-prods {
	--lvb-blue: #0f69af;
	--lvb-blue-dark: #0b5590;
	--lvb-text: #212121;
	--lvb-body: #374151;
	--lvb-muted: #6b7280;
	--lvb-border: #E6EBF0;
	--lvb-soft: #f1f7fc;
	font-family: 'Inter', sans-serif;
	color: var(--lvb-text);
}

.lvb-page {
	padding-bottom: 56px;
	overflow-wrap: break-word;
}

.lvb-page img {
	max-width: 100%;
	height: auto;
}

.lvb-page .lvb-img {
	box-sizing: border-box;
}

/* Breadcrumbs */
.lvb-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.5;
}

.lvb-crumbs li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	color: var(--lvb-muted);
}

.lvb-crumbs li + li::before {
	content: "/";
	margin: 0 8px;
	opacity: .6;
}

.lvb-crumbs a,
.lvb-crumbs a:visited {
	color: var(--lvb-blue);
	text-decoration: none;
}

.lvb-crumbs a:hover,
.lvb-crumbs a:focus {
	color: var(--lvb-blue-dark);
	text-decoration: underline;
}

.lvb-crumbs span[aria-current] {
	overflow: hidden;
	max-width: 260px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lvb-crumbs--light li {
	color: rgba(255, 255, 255, .85);
}

.lvb-crumbs--light a,
.lvb-crumbs--light a:visited,
.lvb-crumbs--light a:hover,
.lvb-crumbs--light a:focus,
.lvb-crumbs--light a:active {
	color: #fff;
}

.lvb-crumbs a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 2px;
}

/* Archive hero (same look as DUK) */
.lvb-hero {
	padding: 28px 0 52px;
	background-color: #0f69af;
	background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14), transparent 45%), linear-gradient(135deg, #0f69af 0%, #0b4f86 100%);
	color: #fff;
}

.lvb-hero__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.lvb-hero__lead {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, .92);
	font-size: 16px;
	line-height: 1.6;
}

/* Chips */
.lvb-chips {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -26px 0 28px;
	padding: 14px;
	border: 1px solid var(--lvb-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(16, 24, 40, .08);
}

a.lvb-chip,
a.lvb-chip:visited,
a.lvb-chip:hover,
a.lvb-chip:focus,
a.lvb-chip:active {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #cfe0ef;
	border-radius: 999px;
	background: var(--lvb-soft);
	color: var(--lvb-blue);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}

a.lvb-chip:hover {
	border-color: var(--lvb-blue);
	background: #e8f1f9;
}

a.lvb-chip.is-active,
a.lvb-chip.is-active:visited,
a.lvb-chip.is-active:hover,
a.lvb-chip.is-active:focus,
a.lvb-chip.is-active:active {
	border-color: var(--lvb-blue);
	background: var(--lvb-blue);
	color: #fff;
}

a.lvb-chip:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

.lvb-wrap {
	padding-top: 0;
}

.lvb-archive .lvb-wrap > .lvb-grid:first-child,
.lvb-archive .lvb-wrap > .lvb-empty:first-child {
	margin-top: 28px;
}

/* Cards */
.lvb-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.lvb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--lvb-border);
	border-radius: 14px;
	background: #fff;
	transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.lvb-card:hover,
.lvb-card:focus-within {
	border-color: #cfe0ef;
	box-shadow: 0 12px 28px rgba(15, 105, 175, .10);
}

.lvb-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--lvb-soft);
}

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

.lvb-card__media .lvb-img.lvb-img--contain,
.lvb-hero-img .lvb-img.lvb-img--contain {
	object-fit: contain;
	padding: 12px;
	background: #fff;
}

.lvb-card__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--lvb-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7d0e6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c3 4 6 7 6 11a6 6 0 0 1-12 0c0-4 3-7 6-11z'/%3E%3C/svg%3E") center / 56px no-repeat;
}

.lvb-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 18px 18px;
}

.lvb-card__cat {
	margin: 0 0 6px;
	color: var(--lvb-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.lvb-card__title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

a.lvb-card__link,
a.lvb-card__link:visited,
a.lvb-card__link:focus,
a.lvb-card__link:active {
	color: var(--lvb-text);
	text-decoration: none;
}

a.lvb-card__link:hover {
	color: var(--lvb-blue);
	text-decoration: none;
}

/* Whole card clickable through the title link. */
a.lvb-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

a.lvb-card__link:focus-visible {
	outline: none;
}

.lvb-card:has(a.lvb-card__link:focus-visible) {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

.lvb-card__excerpt {
	margin: 0 0 14px;
	color: var(--lvb-body);
	font-size: 15px;
	line-height: 1.6;
}

.lvb-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: auto 0 0;
	color: var(--lvb-muted);
	font-size: 13px;
}

/* Pagination */
.lvb-pager ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.lvb-pager a.page-numbers,
.lvb-pager a.page-numbers:visited,
.lvb-pager a.page-numbers:hover,
.lvb-pager a.page-numbers:focus,
.lvb-pager a.page-numbers:active,
.lvb-pager span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--lvb-border);
	border-radius: 10px;
	background: #fff;
	color: var(--lvb-text);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.lvb-pager a.page-numbers:hover {
	border-color: var(--lvb-blue);
	color: var(--lvb-blue);
}

.lvb-pager span.page-numbers.current {
	border-color: var(--lvb-blue);
	background: var(--lvb-blue);
	color: #fff;
}

.lvb-pager a.page-numbers:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

/* Empty state */
.lvb-empty {
	padding: 32px 20px;
	border: 1px dashed #cfe0ef;
	border-radius: 14px;
	background: #fafcfe;
	text-align: center;
}

.lvb-empty__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
}

.lvb-empty p {
	margin: 0 0 16px;
	color: var(--lvb-body);
}

.lvb-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

/* Buttons: every link state set, the theme's global a:hover/a:focus must not win. */
a.lvb-btn,
a.lvb-btn:visited,
a.lvb-btn:hover,
a.lvb-btn:focus,
a.lvb-btn:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

a.lvb-btn--primary,
a.lvb-btn--primary:visited,
a.lvb-btn--primary:focus,
a.lvb-btn--primary:active {
	background: var(--lvb-blue);
	color: #fff;
}

a.lvb-btn--primary:hover {
	background: var(--lvb-blue-dark);
	color: #fff;
}

a.lvb-btn--outline,
a.lvb-btn--outline:visited,
a.lvb-btn--outline:focus,
a.lvb-btn--outline:active {
	border-color: var(--lvb-blue);
	background: #fff;
	color: var(--lvb-blue);
}

a.lvb-btn--outline:hover {
	background: var(--lvb-soft);
	color: var(--lvb-blue-dark);
}

a.lvb-btn--light,
a.lvb-btn--light:visited,
a.lvb-btn--light:focus,
a.lvb-btn--light:active {
	background: #fff;
	color: var(--lvb-blue);
}

a.lvb-btn--light:hover {
	background: #e8f1f9;
	color: var(--lvb-blue-dark);
}

a.lvb-btn--ghost,
a.lvb-btn--ghost:visited,
a.lvb-btn--ghost:focus,
a.lvb-btn--ghost:active {
	border-color: rgba(255, 255, 255, .6);
	background: transparent;
	color: #fff;
}

a.lvb-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

a.lvb-btn:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

.lvb-cta a.lvb-btn:focus-visible {
	outline-color: #fff;
}

/* CTA band */
.lvb-cta {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 40px;
	padding: 24px 20px;
	border-radius: 16px;
	background-color: #0f69af;
	background-image: linear-gradient(135deg, #0f69af 0%, #0b4f86 100%);
	color: #fff;
}

.lvb-cta__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
}

.lvb-cta p {
	margin: 0;
	color: rgba(255, 255, 255, .92);
	font-size: 15px;
	line-height: 1.6;
}

.lvb-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Single article (full width) ---------- */
.lvb-head__grid {
	display: block;
}

.lvb-head__text {
	min-width: 0;
}

.lvb-head .lvb-hero-img {
	margin: 20px 0 0;
}

.lvb-head {
	margin-bottom: 24px;
	padding: 24px 0 26px;
	border-bottom: 1px solid var(--lvb-border);
	background: linear-gradient(180deg, #f5f9fd 0%, #eef5fb 100%);
}

a.lvb-tag,
a.lvb-tag:visited,
a.lvb-tag:hover,
a.lvb-tag:focus,
a.lvb-tag:active {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--lvb-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: inset 0 0 0 1px #cfe0ef;
}

a.lvb-tag:hover {
	background: var(--lvb-soft);
}

a.lvb-tag:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

.lvb-head__title {
	margin: 0 0 12px;
	color: var(--lvb-text);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.lvb-head__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	color: var(--lvb-muted);
	font-size: 14px;
}

.lvb-head__author {
	color: var(--lvb-text);
	font-weight: 600;
}

.lvb-hero-img {
	margin: 0 0 24px;
	overflow: hidden;
	border: 1px solid var(--lvb-border);
	border-radius: 14px;
	background: #fff;
	aspect-ratio: 16 / 9;
}

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

/* Layout: sticky "Šiame straipsnyje" list on the left (wide screens only) */
.lvb-layout {
	display: block;
}

.lvb-side {
	display: none;
}

.lvb-main {
	min-width: 0;
}

.lvb-toc__title {
	margin: 0 0 10px;
	color: var(--lvb-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lvb-toc__list {
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--lvb-border);
	list-style: none;
	font-size: 14px;
	line-height: 1.4;
}

.lvb-toc__list li {
	margin: 0;
}

.lvb-toc__list a,
.lvb-toc__list a:visited {
	display: block;
	margin-left: -2px;
	padding: 7px 0 7px 14px;
	border-left: 2px solid transparent;
	color: var(--lvb-body);
	text-decoration: none;
	transition: color .15s ease, border-color .15s ease;
}

.lvb-toc__list a:hover,
.lvb-toc__list a:focus,
.lvb-toc__list a:active {
	color: var(--lvb-blue);
	text-decoration: none;
}

.lvb-toc__list a:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 1px;
}

.lvb-toc__list a.is-active,
.lvb-toc__list a.is-active:visited,
.lvb-toc__list a.is-active:hover,
.lvb-toc__list a.is-active:focus {
	border-left-color: var(--lvb-blue);
	color: var(--lvb-blue);
	font-weight: 600;
}

/* Article typography: running text keeps a comfortable line length, media use the full column. */
.lvb-content > p,
.lvb-content > ul,
.lvb-content > ol,
.lvb-content > h2,
.lvb-content > h3,
.lvb-content > h4,
.lvb-content > blockquote,
.lvb-content > .lv-note {
	max-width: none; /* owner 2026-11-28: text uses the full width of the column */
}

.lvb-content {
	color: var(--lvb-body);
	font-size: 17px;
	line-height: 1.75;
}

.lvb-content > * {
	margin-top: 0;
	margin-bottom: 1.1em;
}

.lvb-content h2 {
	margin: 1.9em 0 .6em;
	color: var(--lvb-text);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	scroll-margin-top: 150px;
}

.lvb-content h3 {
	margin: 1.5em 0 .5em;
	color: var(--lvb-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	scroll-margin-top: 150px;
}

.lvb-content ul,
.lvb-content ol {
	padding-left: 1.4em;
}

.lvb-content li {
	margin-bottom: .45em;
	padding-left: .2em;
}

.lvb-content li::marker {
	color: var(--lvb-blue);
	font-weight: 700;
}

.lvb-content a {
	color: var(--lvb-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lvb-content img {
	border-radius: 12px;
}

.lvb-content blockquote {
	margin-left: 0;
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--lvb-blue);
	color: var(--lvb-text);
	font-style: normal;
}

.lvb-content .lv-note {
	padding: 14px 16px 14px 46px;
	border: 1px solid #f3dfa6;
	border-radius: 12px;
	background: #fffaeb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E") 14px 16px / 22px no-repeat;
	color: #5b3b06;
	font-size: 16px;
	line-height: 1.65;
}

/* Product cards (block after the article and [lv_produktai] in text) */
.lvb-section-title {
	margin: 0 0 16px;
	color: var(--lvb-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

.lvb-products {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--lvb-border);
}

.lvb-prods {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* "Straipsnyje minimos prekės": any count 1-8 (1-4 grid, 5+ scrollable row with arrows). */
.lvb-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.lvb-products__head .lvb-section-title {
	margin: 0;
}

.lvb-products__nav {
	display: flex;
	flex: none;
	gap: 8px;
}

.lvb-products__nav[hidden] {
	display: none;
}

@media (max-width: 575.98px) {
	.lvb-products__nav {
		display: none;
	}
}

.lvb-products button.lvb-products__arrow,
.lvb-products button.lvb-products__arrow:hover,
.lvb-products button.lvb-products__arrow:focus,
.lvb-products button.lvb-products__arrow:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0 !important;
	border: 1px solid var(--lvb-border) !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--lvb-text) !important;
	cursor: pointer;
}

.lvb-products button.lvb-products__arrow:hover {
	border-color: var(--lvb-blue) !important;
	color: var(--lvb-blue) !important;
}

.lvb-products button.lvb-products__arrow:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

.lvb-products button.lvb-products__arrow:disabled {
	opacity: .4;
	cursor: default;
}

.lvb-prods-wrap .lvb-prods {
	position: relative; /* Contains absolutely positioned screen-reader texts of the scrolled cards. */
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lvb-prods-wrap--n1 .lvb-prods {
	grid-template-columns: minmax(0, 260px);
}

/* 3 or 5+ on phones, 5+ everywhere: one scrollable row (swipe / arrows). */
.lvb-prods-wrap--n3 .lvb-prods,
.lvb-prods-wrap--n5 .lvb-prods {
	display: grid;
	grid-auto-columns: 44%;
	grid-auto-flow: column;
	grid-template-columns: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 2px;
	padding-bottom: 8px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.lvb-prods-wrap--n3 .lvb-prod,
.lvb-prods-wrap--n5 .lvb-prod {
	scroll-snap-align: start;
}

.lvb-inline-prods {
	margin: 1.4em 0;
}

.lvb-inline-prods__title {
	margin: 0 0 10px;
	font-weight: 700;
}

.lvb-content .lvb-prods {
	padding-left: 0;
}

.lvb-content .lvb-prods li {
	margin: 0;
	padding: 0;
}

.lvb-prod {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--lvb-border);
	border-radius: 12px;
	background: #fff;
}

a.lvb-prod__media {
	display: block;
	aspect-ratio: 1 / 1;
	padding: 10px;
	background: #fff;
}

a.lvb-prod__media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: contain;
}

.lvb-prod__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px 12px;
	border-top: 1px solid var(--lvb-border);
}

a.lvb-prod__name,
a.lvb-prod__name:visited,
a.lvb-prod__name:focus,
a.lvb-prod__name:active {
	display: -webkit-box;
	overflow: hidden;
	color: var(--lvb-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

a.lvb-prod__name:hover {
	color: var(--lvb-blue);
	text-decoration: none;
}

a.lvb-prod__name:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

.lvb-prod__price {
	color: var(--lvb-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.lvb-prod__price del {
	margin-right: 4px;
	color: var(--lvb-muted);
	font-size: 13px;
	font-weight: 400;
}

.lvb-prod__price ins {
	color: #c62828;
	text-decoration: none;
}

.lvb-prod__price small,
.lvb-prod__price .lv-omnibus,
.lvb-prod__price [class*="omnibus"] {
	display: block;
	color: var(--lvb-muted);
	font-size: 12px;
	font-weight: 400;
}

.lvb-prod__stock {
	color: #b45309;
	font-size: 13px;
	font-weight: 600;
}

a.lvb-prod__btn,
a.lvb-prod__btn:visited,
a.lvb-prod__btn:hover,
a.lvb-prod__btn:focus,
a.lvb-prod__btn:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: auto;
	padding: 8px 10px;
	border: 1px solid var(--lvb-blue);
	border-radius: 9px;
	background: #fff;
	color: var(--lvb-blue);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

a.lvb-prod__btn:hover {
	background: var(--lvb-blue);
	color: #fff;
}

a.lvb-prod__btn:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

/* Share: icon buttons */
.lvb-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 32px;
	padding: 18px 0;
	border-top: 1px solid var(--lvb-border);
	border-bottom: 1px solid var(--lvb-border);
}

.lvb-share__label {
	color: var(--lvb-text);
	font-size: 15px;
	font-weight: 600;
}

.lvb-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

a.lvb-share__btn,
a.lvb-share__btn:visited,
a.lvb-share__btn:hover,
a.lvb-share__btn:focus,
a.lvb-share__btn:active,
.lvb-share button.lvb-share__btn,
.lvb-share button.lvb-share__btn:hover,
.lvb-share button.lvb-share__btn:focus,
.lvb-share button.lvb-share__btn:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0 !important;
	border: 1px solid var(--lvb-border) !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--lvb-text) !important;
	line-height: 1 !important;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.lvb-share .lvb-share__ico {
	display: block;
	width: 20px;
	height: 20px;
}

/* Brand-coloured icons; hover / focus adds a tinted background. Every state is set (theme's global a:hover / a:focus). */
a.lvb-share__btn--facebook,
a.lvb-share__btn--facebook:visited,
a.lvb-share__btn--facebook:hover,
a.lvb-share__btn--facebook:focus,
a.lvb-share__btn--facebook:active {
	color: #1877f2 !important;
}

a.lvb-share__btn--messenger,
a.lvb-share__btn--messenger:visited,
a.lvb-share__btn--messenger:hover,
a.lvb-share__btn--messenger:focus,
a.lvb-share__btn--messenger:active {
	color: #0866ff !important;
}

a.lvb-share__btn--whatsapp,
a.lvb-share__btn--whatsapp:visited,
a.lvb-share__btn--whatsapp:hover,
a.lvb-share__btn--whatsapp:focus,
a.lvb-share__btn--whatsapp:active {
	color: #128c4b !important;
}

a.lvb-share__btn--linkedin,
a.lvb-share__btn--linkedin:visited,
a.lvb-share__btn--linkedin:hover,
a.lvb-share__btn--linkedin:focus,
a.lvb-share__btn--linkedin:active {
	color: #0a66c2 !important;
}

a.lvb-share__btn--email,
a.lvb-share__btn--email:visited,
a.lvb-share__btn--email:hover,
a.lvb-share__btn--email:focus,
a.lvb-share__btn--email:active,
.lvb-share button.lvb-share__btn,
.lvb-share button.lvb-share__btn:hover,
.lvb-share button.lvb-share__btn:focus,
.lvb-share button.lvb-share__btn:active {
	color: var(--lvb-blue) !important;
}

a.lvb-share__btn:hover,
a.lvb-share__btn:focus-visible,
a.lvb-share__btn:active,
.lvb-share button.lvb-share__btn:hover,
.lvb-share button.lvb-share__btn:focus-visible,
.lvb-share button.lvb-share__btn:active {
	border-color: currentColor !important;
	background: #f3f7fb !important;
}

a.lvb-share__btn:focus-visible,
.lvb-share button.lvb-share__btn:focus-visible {
	outline: 2px solid var(--lvb-blue);
	outline-offset: 2px;
}

.lvb-share button.lvb-share__btn[hidden] {
	display: none !important;
}

/* Messenger share opens the app: only on touch devices. */
a.lvb-share__btn--messenger {
	display: none !important;
}

@media (hover: none) and (pointer: coarse) {
	a.lvb-share__btn--messenger {
		display: inline-flex !important;
	}
}

.lvb-share__status {
	color: #15803d;
	font-size: 14px;
	font-weight: 600;
}

/* Related */
.lvb-related {
	margin-top: 48px;
	padding: 36px 0 8px;
	border-top: 1px solid var(--lvb-border);
	background: #fafcfe;
}

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
	.lvb-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lvb-prods--inline {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.lvb-hero {
		padding: 36px 0 60px;
	}
	.lvb-hero__title {
		font-size: 38px;
	}
	.lvb-hero__lead {
		font-size: 17px;
	}
	.lvb-head {
		padding: 32px 0 34px;
	}
	.lvb-head__title {
		font-size: 36px;
	}
	.lvb-content h2 {
		font-size: 27px;
	}
	.lvb-cta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 28px 32px;
	}
	.lvb-cta__actions {
		flex-shrink: 0;
	}
}

@media (min-width: 992px) {
	.lvb-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

/* Product cards: count-aware layouts on wider screens. */
@media (min-width: 576px) {
	.lvb-prods-wrap--n2 .lvb-prods,
	.lvb-prods-wrap--n3 .lvb-prods,
	.lvb-prods-wrap--n4 .lvb-prods {
		display: grid;
		grid-auto-flow: row;
		grid-template-columns: repeat(var(--lvb-n), minmax(0, 240px));
		overflow: visible;
		padding-bottom: 0;
	}
	.lvb-prods-wrap--n5 .lvb-prods {
		grid-auto-columns: calc((100% - 24px) / 3.2);
	}
}

@media (min-width: 992px) {
	.lvb-head__grid.has-img {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
		gap: 48px;
		align-items: center;
	}
	.lvb-head .lvb-hero-img {
		margin: 0;
		aspect-ratio: 4 / 3;
	}
	.lvb-head__title {
		font-size: 40px;
	}
	.lvb-prods-wrap--n2 .lvb-prods,
	.lvb-prods-wrap--n3 .lvb-prods,
	.lvb-prods-wrap--n4 .lvb-prods {
		grid-template-columns: repeat(var(--lvb-n), minmax(0, 240px));
		gap: 16px;
	}
	.lvb-prods-wrap--n5 .lvb-prods {
		grid-auto-columns: calc((100% - 48px) / 4);
		gap: 16px;
	}
}

@media (min-width: 1100px) {
	.lvb-layout.has-toc {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 56px;
		align-items: start;
	}
	.lvb-layout.has-toc .lvb-side {
		display: block;
		position: -webkit-sticky;
		position: sticky;
		top: calc(var(--hux-top, 0px) + var(--hux-sticky-h, 90px) + 24px);
		max-height: calc(100vh - var(--hux-top, 0px) - var(--hux-sticky-h, 90px) - 48px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 4px 4px 4px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lvb-card,
	.lvb-toc__list a,
	.lvb-share__btn,
	a.lvb-btn,
	a.lvb-chip {
		transition: none;
	}
}

/* Product cards: square image box whatever the photo shape (portrait packshots were 2.5x taller). */
.lvb-prod img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
