/* ===============================
   Notion Single – Base layout
   =============================== */

.notion-single .wrap {
  max-width: 900px;
  margin: 0 auto;
}

/* ===============================
     Article
     =============================== */

.notion-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ===============================
     Header
     =============================== */

.notion-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.notion-cover {
  margin: 0;
}

.notion-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* ===============================
     Title
     =============================== */

.notion-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0;
}

/* ===============================
     Content
     =============================== */

.notion-content {
  font-size: 1.05rem;
  line-height: 1.7;
}

.notion-content p {
  margin: 0 0 1.2em;
}

.notion-content h2,
.notion-content h3,
.notion-content h4 {
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.notion-content ul,
.notion-content ol {
  margin: 1rem 0 1.5rem 1.2rem;
}

.notion-content li {
  margin-bottom: 0.5rem;
}

/* ===============================
     Fallback / debug
     =============================== */

.notion-fallback {
  font-style: italic;
  opacity: 0.7;
}

.notion-debug {
  font-size: 0.85rem;
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
}

.notion-paragraph {
  text-align: justify;
}
