/* Display Boxes: keep editable styles separate from the legacy bundle. */
.chaistop-box-grid {
	display: grid;
	gap: 1.5rem;
	padding: 1rem 0;
}
.chaistop-box-grid--1 { grid-template-columns: minmax(0, 1fr); }
.chaistop-box-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chaistop-box-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chaistop-box-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chaistop-choice-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fffdf9;
	border: 1px solid #dfd5c8;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgb(51 33 20 / 8%);
}
.chaistop-choice-card__image {
	overflow: hidden;
	border-radius: 5px 5px 0 0;
}
.chaistop-choice-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.chaistop-choice-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.75rem;
}
.chaistop-choice-card__body h3 {
	margin: 0 0 1rem;
	font-size: 1.75rem;
	line-height: 1.2;
}
.chaistop-choice-card__description {
	margin-bottom: 1.5rem;
	line-height: 1.7;
}
.chaistop-choice-card__description > :last-child { margin-bottom: 0; }
/* Keep any editorial links independently usable above the stretched CTA. */
.chaistop-choice-card__description a { position: relative; z-index: 2; }
a.chaistop-choice-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: auto;
	padding: .9rem 1.4rem;
	min-height: 48px;
	background: #980000;
	border-radius: 3px;
	color: #fff;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}
.chaistop-choice-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 6px;
	cursor: pointer;
}
.chaistop-choice-card:has(.chaistop-choice-card__link):hover,
.chaistop-choice-card:focus-within {
	border-color: #980000;
	box-shadow: 0 8px 24px rgb(51 33 20 / 14%);
}
a.chaistop-choice-card__link:hover { background: #760000; color: #fff; }
.chaistop-choice-card__link:focus-visible { outline: none; }
.chaistop-choice-card__link:focus-visible::after {
	outline: 3px solid #980000;
	outline-offset: 4px;
}
.chaistop-box-grid--1 .chaistop-choice-card--with-image {
	display: grid;
	grid-template-columns: 42% minmax(0, 1fr);
}
.chaistop-box-grid--1 .chaistop-choice-card__image { border-radius: 5px 0 0 5px; }
.chaistop-box-grid--1 .chaistop-choice-card__body { padding: clamp(1.5rem, 4vw, 3rem); }
.chaistop-box-grid--1 .chaistop-choice-card__body h3 { font-size: clamp(2rem, 3vw, 2.75rem); }
.chaistop-box-grid--1 .chaistop-choice-card__description { max-width: 34rem; font-size: 1.125rem; }
@media (max-width: 1023px) {
	.chaistop-box-grid--3, .chaistop-box-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
	.chaistop-box-grid { grid-template-columns: minmax(0, 1fr); }
	.chaistop-box-grid--1 .chaistop-choice-card--with-image { display: flex; }
	.chaistop-box-grid--1 .chaistop-choice-card__image { border-radius: 5px 5px 0 0; }
	.chaistop-choice-card__body { padding: 1.5rem; }
	a.chaistop-choice-card__link {
		box-sizing: border-box;
		width: auto;
		max-width: 100%;
		min-height: 44px;
		padding: .75rem 1rem;
		gap: .75rem;
	}
}
