body.blog-post {
  background: #f4f6f8;
  color: #38373c;
  font-family: "Josefin Sans", Sans-serif;
  line-height: 1.7;
}

.blog-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px 140px;
}

.blog-hero {
  background: linear-gradient(135deg, #38373c, #09aeb8);
  color: #fff;
  border-radius: 32px;
  padding: 48px 48px 82px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 215, 99, 0.25), transparent 55%);
  pointer-events: none;
}

.blog-hero > * {
  position: relative;
  z-index: 1;
}

.blog-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd763;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-hero h1 {
  margin: 18px 0 12px;
  font-size: 2.6rem;
  line-height: 1.2;
}

.blog-hero p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.blog-hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.blog-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: #ffd763;
  color: #38373c;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.blog-hero__cta--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.blog-content {
  background: #fff;
  border-radius: 30px;
  padding: 58px 64px;
  margin-top: -48px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

.blog-content h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 2rem;
  color: #38373c;
}

.blog-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.35rem;
  color: #38373c;
}

.blog-content p {
  margin: 18px 0;
}

.blog-content ul,
.blog-content ol {
  margin: 16px 0;
  padding-left: 26px;
}

.blog-content li {
  margin-bottom: 10px;
}

.blog-content blockquote {
  border-left: 4px solid #ffd763;
  background: #fff9e6;
  margin: 32px 0;
  padding: 18px 26px;
  font-style: italic;
  color: #5d5850;
  border-radius: 0 18px 18px 0;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.blog-content th,
.blog-content td {
  border: 1px solid #e7e7e7;
  padding: 14px 16px;
  text-align: left;
}

.blog-content th {
  background: #f4fafc;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.blog-content .checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 26px 0 6px;
}

.blog-content .checklist .card {
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 18px 20px;
  background: #fafafa;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.blog-content .tip {
  background: rgba(255, 215, 99, 0.18);
  border-left: 4px solid #ffd763;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 24px 0;
  font-weight: 600;
}

.blog-content .steps {
  list-style: none;
  padding-left: 0;
  counter-reset: blog-step;
}

.blog-content .steps li {
  position: relative;
  padding-left: 42px;
  margin: 18px 0;
}

.blog-content .steps li::before {
  counter-increment: blog-step;
  content: counter(blog-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #09aeb8;
  color: #fff;
  font-size: 0.9rem;
  line-height: 26px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .blog-hero {
    padding: 36px;
  }

  .blog-content {
    padding: 40px;
  }
}

@media (max-width: 640px) {
  .blog-layout {
    padding: 60px 16px 100px;
  }

  .blog-hero {
    padding: 28px 24px 60px;
    border-radius: 24px;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .blog-content {
    padding: 28px;
    border-radius: 22px;
    margin-top: -32px;
  }

  .blog-content table,
  .blog-content th,
  .blog-content td {
    font-size: 0.85rem;
  }

  .blog-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
