/* Scoped to: history-template-heart-of-ancient */
[data-component-slug="history-template-heart-of-ancient"].heart-grid, [data-component-slug="history-template-heart-of-ancient"] .heart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}

[data-component-slug="history-template-heart-of-ancient"].heart-img, [data-component-slug="history-template-heart-of-ancient"] .heart-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

[data-component-slug="history-template-heart-of-ancient"].heart-cell, [data-component-slug="history-template-heart-of-ancient"] .heart-cell {
  padding: 64px 48px;
  display: flex;
  align-items: center;
}

[data-component-slug="history-template-heart-of-ancient"].heart-number, [data-component-slug="history-template-heart-of-ancient"] .heart-number {
  font-family: "Albert Sans";
  font-size: 96px;
  line-height: 100%;
  margin-bottom: 24px;
}

[data-component-slug="history-template-heart-of-ancient"].heart-text, [data-component-slug="history-template-heart-of-ancient"] .heart-text {
  font-family: "Albert Sans";
  font-size: 24px;
  line-height: 100%;
  max-width: 360px;
}

@media (max-width: 1023px) {
  [data-component-slug="history-template-heart-of-ancient"].heart-grid, [data-component-slug="history-template-heart-of-ancient"] .heart-grid {
    grid-template-columns: 1fr;
  }
  [data-component-slug="history-template-heart-of-ancient"].heart-cell, [data-component-slug="history-template-heart-of-ancient"] .heart-cell {
    padding: 40px 24px;
  }
  [data-component-slug="history-template-heart-of-ancient"].img-03, [data-component-slug="history-template-heart-of-ancient"] .img-03 {
    order: 1;
  }
  [data-component-slug="history-template-heart-of-ancient"].content-01, [data-component-slug="history-template-heart-of-ancient"] .content-01 {
    order: 2;
  }
  [data-component-slug="history-template-heart-of-ancient"].img-04, [data-component-slug="history-template-heart-of-ancient"] .img-04 {
    order: 3;
  }
  [data-component-slug="history-template-heart-of-ancient"].content-02, [data-component-slug="history-template-heart-of-ancient"] .content-02 {
    order: 4;
  }
  [data-component-slug="history-template-heart-of-ancient"].img-01, [data-component-slug="history-template-heart-of-ancient"] .img-01 {
    order: 5;
  }
  [data-component-slug="history-template-heart-of-ancient"].content-03, [data-component-slug="history-template-heart-of-ancient"] .content-03 {
    order: 6;
  }
  [data-component-slug="history-template-heart-of-ancient"].img-02, [data-component-slug="history-template-heart-of-ancient"] .img-02 {
    order: 7;
  }
  [data-component-slug="history-template-heart-of-ancient"].content-04, [data-component-slug="history-template-heart-of-ancient"] .content-04 {
    order: 8;
  }
}