@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  background: #f5f5f4 !important;
  color: #18181b !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.content-wrapper {
  max-width: 840px !important;
  margin: 0 auto !important;
  padding: 2rem 1.25rem 4rem !important;
}

.content-wrapper article {
  background: transparent;
}

.content-wrapper article header,
.content-wrapper article .post-body,
.content-wrapper article > header > .mt-6.mb-6 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper article header,
.content-wrapper article .post-body {
  padding-left: 0;
  padding-right: 0;
}

.content-wrapper .post-title {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.6vw, 2.9rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em !important;
  color: #18181b !important;
  margin-top: 5.2rem !important;
  margin-bottom: 0 !important;
  max-width: 100%;
  font-weight: 800 !important;
  text-wrap: balance;
}

.content-wrapper .post-body {
  font-size: 1.06rem !important;
  line-height: 1.82 !important;
  color: #52525b !important;
  padding-bottom: 2.5rem;
  max-width: 760px !important;
}

.content-wrapper .post-body p,
.content-wrapper .post-body ul,
.content-wrapper .post-body ol,
.content-wrapper .post-body h2,
.content-wrapper .post-body h3,
.content-wrapper .post-body h4 {
  max-width: 42rem;
}

.content-wrapper .post-body h2,
.content-wrapper .post-body h3,
.content-wrapper .post-body h4 {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: #18181b !important;
  letter-spacing: -0.03em !important;
  font-weight: 700 !important;
}

.content-wrapper .post-body h2 {
  font-size: 2rem !important;
  line-height: 1.1 !important;
  margin-top: 2.8rem !important;
  margin-bottom: 0.8rem !important;
}

.content-wrapper .post-body h3 {
  font-size: 1.45rem !important;
  line-height: 1.2 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
}

.content-wrapper .post-body h4 {
  font-size: 1.18rem !important;
  line-height: 1.3 !important;
  margin-top: 1.75rem !important;
  margin-bottom: 0.45rem !important;
}

.content-wrapper .post-body ul,
.content-wrapper .post-body ol {
  padding-left: 1.1rem !important;
}

.content-wrapper .post-body li {
  margin: 0.42rem 0;
}

.content-wrapper .post-body a {
  color: #2563eb !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.24);
}

.content-wrapper .post-body a:hover {
  color: #1d4ed8 !important;
}

.content-wrapper img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 24px !important;
  background: #f4f4f5;
  display: block;
}

.content-wrapper article header img {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.content-wrapper .highlight {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-left: none !important;
  border-radius: 18px !important;
  padding: 1.15rem 1.2rem !important;
  margin: 1.8rem 0 !important;
  color: #27272a !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.content-wrapper .post-meta,
.content-wrapper .text-sm.text-gray-600 {
  color: #71717a !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.005em !important;
  line-height: 1.7 !important;
  margin-top: 1rem !important;
}

.content-wrapper strong {
  color: #3f3f46;
}

.content-wrapper article header > div.mt-6.mb-6 {
  margin-top: 1.75rem !important;
  margin-bottom: 1.75rem !important;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .content-wrapper article header,
  .content-wrapper article .post-body,
  .content-wrapper article > header > .mt-6.mb-6 {
    max-width: 100%;
  }

  .content-wrapper .post-title {
    max-width: 100% !important;
    font-size: clamp(1.55rem, 6.2vw, 2.3rem) !important;
    line-height: 1.12 !important;
    margin-top: 4.8rem !important;
    text-wrap: pretty;
  }

  .content-wrapper img {
    border-radius: 20px !important;
  }

  .content-wrapper .post-body {
    font-size: 1rem !important;
    line-height: 1.78 !important;
  }

  .content-wrapper .post-meta,
  .content-wrapper .text-sm.text-gray-600 {
    font-size: 0.92rem !important;
  }
}
