.home-page {
  --home-card-radius: 8px;
  --home-gap: 14px;
}

.home-page.markdown-preview-view,
.home-page .markdown-preview-section {
  max-width: 1120px;
  margin-inline: auto;
}

.home-page h1 {
  margin-bottom: 4px;
  border-bottom: 0;
  font-size: 2rem;
}

.home-page h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--background-modifier-border);
  padding-bottom: 6px;
  font-size: 1.08rem;
}

.home-page table {
  width: 100%;
}

.home-page .callout {
  border: 1px solid var(--background-modifier-border);
  border-radius: var(--home-card-radius);
  background: var(--background-secondary);
  margin-block: var(--home-gap);
  box-shadow: none;
}

.home-page .callout-title {
  align-items: center;
  min-height: 32px;
}

.home-page .callout-title-inner {
  font-size: 0.96rem;
  font-weight: 650;
}

.home-page .callout-content {
  padding-top: 4px;
}

.home-page .callout[data-callout="todo-scroll"] {
  --callout-color: 34, 139, 230;
  --callout-icon: lucide-list-todo;
}

.home-page .callout[data-callout="todo-scroll"] .callout-content {
  max-height: min(620px, 68vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 10px;
  scrollbar-gutter: stable;
}

.home-page .callout[data-callout="todo-scroll"] .block-language-dataview,
.home-page .callout[data-callout="todo-scroll"] .dataview.dataview-container {
  max-height: none !important;
  overflow: visible !important;
}

.home-page .callout[data-callout="live"] {
  --callout-color: 20, 184, 166;
  --callout-icon: lucide-activity;
}

.home-page .callout[data-callout="live"] .callout-content {
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 10px;
  scrollbar-gutter: stable;
}

.home-page .callout[data-callout="workspace"] {
  --callout-color: 245, 159, 0;
  --callout-icon: lucide-folder-kanban;
}

.home-page .block-language-dataview {
  overflow-x: auto;
}

.home-page .dataview.table-view-table {
  font-size: 0.92rem;
}

.home-page .contains-task-list {
  padding-left: 1.2rem;
}

.home-page .dataview.task-list-item,
.home-page .dataview.task-list-basic-item {
  margin-top: 4px;
  margin-bottom: 4px;
}

.home-page .callout-content::-webkit-scrollbar {
  width: 10px;
}

.home-page .callout-content::-webkit-scrollbar-track {
  background: transparent;
}

.home-page .callout-content::-webkit-scrollbar-thumb {
  background: var(--background-modifier-border);
  border-radius: 999px;
}

.home-page .callout-content::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

@media (max-width: 700px) {
  .home-page.markdown-preview-view,
  .home-page .markdown-preview-section {
    max-width: 100%;
  }

  .home-page h1 {
    font-size: 1.6rem;
  }

  .home-page .callout[data-callout="todo-scroll"] .callout-content {
    max-height: 58vh;
  }
}
