/* [vm_articles] — the copy of kessel.com's "Article overview" (1.14.0): product sections, purple group bars,
   collapsible tables (native <details>), picture · columns · item no. · "Show", as on www.kessel.com. */

.vm-ao {
	--vm-ao-accent: #572381;
	--vm-ao-ink: #230e34;
	--vm-ao-soft: #ddd3e6;
	--vm-ao-softer: #f1e9f7;
	--vm-ao-text: #212121;
	--vm-ao-line: #dee2e6;
	margin: 2rem 0;
	color: var(--vm-ao-text);
}

.vm-ao .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.vm-ao .vm-ao__title {
	margin: 2rem 0 1rem;
	color: var(--vm-ao-accent);
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.3;
}

.vm-ao .vm-ao__section:first-of-type .vm-ao__title {
	margin-top: 1rem;
}

.vm-ao__group {
	margin: 0 0 1rem;
	border: 1px solid var(--vm-ao-line);
	border-top: 0;
}

/* Two classes: the theme's heading colours (e.g. ".elementor-kit-5 h5") must not win over the white. */
.vm-ao .vm-ao__group-name {
	margin: 0;
	padding: 0.625rem 1.25rem;
	background: var(--vm-ao-accent);
	color: #fff !important;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
}

.vm-ao__table + .vm-ao__table {
	border-top: 1px solid var(--vm-ao-line);
}

.vm-ao .vm-ao__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: #fff;
	color: var(--vm-ao-ink);
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

.vm-ao__summary::-webkit-details-marker {
	display: none;
}

.vm-ao .vm-ao__table[open] > .vm-ao__summary {
	background: var(--vm-ao-soft);
}

.vm-ao .vm-ao__summary:hover {
	color: var(--vm-ao-accent);
}

.vm-ao__summary:focus-visible {
	outline: 2px solid var(--vm-ao-accent);
	outline-offset: -2px;
}

.vm-ao__chevron {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5.5l6 6 6-6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5.5l6 6 6-6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.15s ease;
}

.vm-ao__table[open] > .vm-ao__summary .vm-ao__chevron {
	transform: rotate(180deg);
}

.vm-ao__scroll {
	overflow-x: auto;
	padding: 0.75rem 1.25rem 1.25rem;
}

.vm-ao .vm-ao__grid {
	width: 100%;
	min-width: 40rem;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 1rem;
	line-height: 1.4;
}

/* Three classes: the theme's table rules (e.g. "table thead:first-child tr:first-child th { border-top }")
   must not draw lines kessel.com does not have. */
.vm-ao .vm-ao__scroll .vm-ao__grid th,
.vm-ao .vm-ao__scroll .vm-ao__grid td {
	padding: 0.25rem 0.625rem 0.25rem 0;
	border: 0;
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.vm-ao .vm-ao__scroll .vm-ao__grid th {
	color: var(--vm-ao-accent);
	font-weight: 700;
	vertical-align: bottom;
}

.vm-ao .vm-ao__scroll .vm-ao__grid tbody > tr > td {
	border-bottom: 1px solid var(--vm-ao-accent);
	background: transparent;
}

.vm-ao .vm-ao__scroll .vm-ao__grid tbody > tr:target > td {
	background: var(--vm-ao-softer);
}

.vm-ao .vm-ao__pic {
	width: 6.875rem;
}

.vm-ao .vm-ao__pic img {
	display: block;
	width: 100px;
	max-width: 100px;
	height: auto;
}

.vm-ao .vm-ao__zoom {
	display: block;
	cursor: zoom-in;
}

.vm-ao .vm-ao__item {
	white-space: nowrap;
}

.vm-ao .vm-ao__item a {
	color: var(--vm-ao-accent);
	text-decoration: none;
}

.vm-ao .vm-ao__item a:hover {
	text-decoration: underline;
}

.vm-ao .vm-ao__show-col {
	width: 1%;
	text-align: right;
	white-space: nowrap;
}

.vm-ao .vm-ao__show {
	display: inline-block;
	padding: 0.0625rem 1rem;
	border: 1px solid var(--vm-ao-accent);
	background: #fff;
	color: var(--vm-ao-accent);
	text-decoration: none;
	line-height: 1.6;
}

.vm-ao .vm-ao__show:hover,
.vm-ao .vm-ao__show:focus-visible {
	background: var(--vm-ao-accent);
	color: #fff;
}

@media (max-width: 40rem) {
	.vm-ao .vm-ao__group-name {
		padding: 0.5rem 1rem;
		font-size: 1.125rem;
	}

	.vm-ao .vm-ao__summary {
		padding: 0.875rem 1rem;
	}

	.vm-ao__scroll {
		padding: 0.5rem 1rem 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vm-ao__chevron {
		transition: none;
	}
}
