/*
 * ETheme-Block — grid（栅格）
 *
 * 轨道、gap 与响应式折叠全部由主题 Grid Contract 提供：
 * .eth-grid / .eth-grid-cols-* / .eth-grid-ratio-* / .eth-grid-auto-* /
 * .eth-col-span-* / .eth-grid--reverse / .eth-gap-*。
 *
 * 本文件刻意不写任何 grid-template-columns、断点或 --eth-grid-* 变量。
 *
 * 关于对齐：
 * - 垂直对齐复用主题的 .eth-items-*（align-items），不在此重复定义。
 * - 水平对齐需要 justify-items，而主题的 .eth-justify-* 是 justify-content
 *   （在 Grid 中控制的是整体轨道分布，不是格内内容），语义不同，故由 Grid
 *   组件提供 .etb-grid--justify-*。
 */
.etb-grid {
	min-width: 0;
}

.etb-grid > * {
	min-width: 0;
}

/* 格内内容的水平对齐（justify-items） */
.etb-grid--justify-start {
	justify-items: start;
}

.etb-grid--justify-center {
	justify-items: center;
}

.etb-grid--justify-end {
	justify-items: end;
}
