.ibd-illustrated-index {
	margin: 0 0 2rem;
	padding: .9rem clamp(.9rem, 3vw, 1.5rem);
	border: 1px solid rgba(126, 91, 183, .32);
	border-radius: .9rem;
	background: rgba(126, 91, 183, .08);
}

.ibd-illustrated-index h2 {
	margin: 0 0 .35rem;
	font-size: 1.12em;
}

.ibd-illustrated-index ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .35rem 1.6rem;
	margin: 0;
	padding-inline-start: 1.5rem;
}

.ibd-illustrated-index a,
.ibd-illustrated-variant a {
	color: inherit;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-underline-offset: .18em;
}

.ibd-illustrated-index a:focus-visible,
.ibd-illustrated-variant a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ibd-illustrated-variant {
	margin: .75rem 0 1rem;
	font-size: .92em;
}

.ibd-illustrated-chapter {
	scroll-margin-top: 6rem;
}

.ibd-illustrated-chapter + .ibd-illustrated-chapter {
	margin-block-start: 2.4rem;
	padding-block-start: 1.55rem;
	border-block-start: 1px solid rgba(126, 91, 183, .25);
}

.ibd-illustrated-chapter h2 {
	margin: 0 0 .65rem;
	font-size: clamp(1.3rem, 3.5vw, 1.85rem);
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.ibd-illustrated-figure {
	margin: 0 0 1rem;
}

.ibd-illustrated-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	border-radius: .85rem;
	background: rgba(126, 91, 183, .1);
}

.ibd-illustrated-caption {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: .55rem .75rem;
	margin: .7rem 0 0;
}

.ibd-illustrated-bubble {
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	padding: .46em .7em;
	border: 2px solid #262335;
	border-radius: .65em;
	background: #fff8dc;
	color: #262335;
	box-shadow: .12em .18em 0 #262335;
	font-size: clamp(.94rem, .78rem + .7vw, 1.2rem);
	font-weight: 750;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

@media (max-width: 550px) {
	.ibd-illustrated-index ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.ibd-illustrated-chapter + .ibd-illustrated-chapter {
		margin-block-start: 1.85rem;
		padding-block-start: 1.2rem;
	}
}
