/* Notion Content Styles */

/* General typography */
.notion-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.notion-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.notion-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.notion-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Lists */
.notion-content ul,
.notion-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.notion-content ul {
  list-style-type: disc;
}

.notion-content ol {
  list-style-type: decimal;
}

.notion-content li {
  margin-bottom: 0.5rem;
}

.notion-content li > ul,
.notion-content li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Blockquotes */
.notion-content blockquote {
  border-left: 4px solid #e2e8f0;
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1rem;
  font-style: italic;
  color: #4a5568;
}

/* Code blocks */
.notion-content pre {
  background-color: #f7fafc;
  border-radius: 0.375rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.notion-content code {
  font-family: monospace;
  background-color: #f1f5f9;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.notion-content pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
}

/* Images */
.notion-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.notion-content figure {
  margin-bottom: 1.5rem;
}

.notion-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #718096;
  margin-top: 0.5rem;
}

/* Tables */
.notion-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.notion-content th,
.notion-content td {
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.notion-content th {
  background-color: #f7fafc;
  font-weight: 600;
}

.notion-content tr:nth-child(even) {
  background-color: #f7fafc;
}

/* Dividers */
.notion-content hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
}

/* Links */
.notion-content a {
  color: #3182ce;
  text-decoration: underline;
}

.notion-content a:hover {
  color: #2c5282;
}

/* Callouts */
.notion-content .callout {
  background-color: #ebf8ff;
  border-left: 4px solid #4299e1;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.notion-content .callout-icon {
  margin-right: 0.5rem;
}

/* Checkboxes */
.notion-content .checkbox {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

.notion-content .checkbox-checked {
  color: #4299e1;
}

/* Columns */
.notion-content .columns {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.notion-content .column {
  flex: 1;
}

/* Notion Rendered Content */
.notion-rendered-content {
  width: 100%;
}

.notion-rendered-content h1,
.notion-rendered-content h2,
.notion-rendered-content h3,
.notion-rendered-content h4,
.notion-rendered-content h5,
.notion-rendered-content h6,
.notion-rendered-content p,
.notion-rendered-content ul,
.notion-rendered-content ol,
.notion-rendered-content blockquote,
.notion-rendered-content pre,
.notion-rendered-content table {
  margin-bottom: 1rem;
}

.notion-rendered-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  margin: 1rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .notion-content .columns {
    flex-direction: column;
    gap: 1rem;
  }

  .notion-content h1,
  .notion-rendered-content h1 {
    font-size: 1.875rem;
  }

  .notion-content h2,
  .notion-rendered-content h2 {
    font-size: 1.5rem;
  }

  .notion-content h3,
  .notion-rendered-content h3 {
    font-size: 1.25rem;
  }
}
