/* v2.1.5：全站并列网格首项视觉一致性与区块留白 */
.grid.two,
.grid.three,
.grid.four {
  align-items: stretch !important;
  grid-auto-rows: 1fr;
}

.grid.two > :is(.card, .feature, .stat),
.grid.three > :is(.card, .feature, .stat),
.grid.four > :is(.card, .feature, .stat) {
  align-self: stretch !important;
  block-size: 100% !important;
  min-block-size: 0;
  margin: 0 !important;
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
}

.grid.two > :is(.card, .feature, .stat):first-child,
.grid.three > :is(.card, .feature, .stat):first-child,
.grid.four > :is(.card, .feature, .stat):first-child {
  margin: 0 !important;
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  isolation: isolate;
}

.grid.two > .stat,
.grid.three > .stat,
.grid.four > .stat {
  min-height: 144px !important;
  block-size: 144px !important;
}

.grid.two > .stat > .label,
.grid.three > .stat > .label,
.grid.four > .stat > .label {
  min-height: 21px;
}

.grid.two > .stat > .value,
.grid.three > .stat > .value,
.grid.four > .stat > .value {
  min-height: 35px;
}

.grid.two > .stat > .note,
.grid.three > .stat > .note,
.grid.four > .stat > .note {
  min-height: 29px;
  margin-top: auto !important;
  padding-top: 5px;
}

.container > .grid.two + :not(.grid),
.container > .grid.three + :not(.grid),
.container > .grid.four + :not(.grid) {
  margin-top: 36px;
}

@media (max-width: 700px) {
  .container > .grid.two + :not(.grid),
  .container > .grid.three + :not(.grid),
  .container > .grid.four + :not(.grid) {
    margin-top: 30px;
  }
}

@media (max-width: 580px) {
  .grid.two,
  .grid.three,
  .grid.four {
    grid-auto-rows: auto;
  }

  .grid.two > :is(.card, .feature, .stat),
  .grid.three > :is(.card, .feature, .stat),
  .grid.four > :is(.card, .feature, .stat) {
    block-size: auto !important;
  }

  .grid.two > .stat,
  .grid.three > .stat,
  .grid.four > .stat {
    min-height: 144px !important;
    block-size: auto !important;
  }

  .container > .grid.two + :not(.grid),
  .container > .grid.three + :not(.grid),
  .container > .grid.four + :not(.grid) {
    margin-top: 28px;
  }
}
