 .u-section-1 {
  min-height: 306px;
}

.u-section-1 .u-sheet-1 {
  min-height: 595px;
}

.u-section-1 .u-layout-wrap-1 {
  margin-top: 60px;
  margin-bottom: 60px;
}

.u-section-1 .u-layout-cell-1 {
  min-height: 475px;
}

.u-section-1 .u-container-layout-1 {
  padding: 30px 0;
}

.u-section-1 .u-text-1 {
  font-size: 2.8125rem;
  margin: 0 30px 0 0;
}

.u-section-1 .blog-post-meta {
  font-size: 0.875rem;
  opacity: 0.75;
  margin: 10px 30px 0 0;
}

.u-section-1 .u-text-2 {
  margin: 20px 30px 0 0;
}

.u-section-1 .u-image-1 {
  min-height: 400px;
  background-position: 50% 50%;
  background-size: cover;
}

.u-section-1 .u-container-layout-2 {
  padding: 30px;
}

.u-section-2 .u-sheet-1 {
  min-height: 520px;
}

.u-section-2 .u-layout-wrap-1 {
  margin-top: 60px;
  margin-bottom: 60px;
}

.u-section-2 .u-layout-cell-1 {
  min-height: 400px;
}

.u-section-2 .u-container-layout-1 {
  padding: 0;
}

.u-section-2 .u-text-1 {
  margin-bottom: 0;
  margin-top: 0;
}

.u-section-2 .u-layout-cell-2 {
  min-height: 400px;
}

.u-section-2 .u-container-layout-2 {
  padding: 0 0 0 30px;
}

.u-section-2 .u-text-2 {
  font-size: 1.5rem;
  margin: 0;
}

.u-section-2 .u-text-3 {
  margin: 10px 0 0;
}

.u-section-2 .u-text-4 {
  margin: 10px 0 0;
}

.u-section-2 .u-text-5 {
  margin: 10px 0 0;
}

.u-section-2 .u-text-6 {
  margin: 10px 0 0;
}

.u-section-2 .u-text-7 {
  font-size: 1.5rem;
  margin: 30px 0 0;
}

/* Blog content HTML styles */
.blog-post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.blog-post-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
}

.blog-post-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.blog-post-content p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 1rem 1.5rem;
  line-height: 1.7;
}

.blog-post-content li {
  margin-bottom: 0.35rem;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.blog-post-content a {
  color: #352791;
  text-decoration: underline;
}

.blog-post-content a:hover {
  color: #5c4fcc;
}

.blog-post-content blockquote {
  border-left: 4px solid #352791;
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-style: italic;
  opacity: 0.85;
}

.blog-post-content pre,
.blog-post-content code {
  background: #f3f4f8;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.875rem;
}

.blog-post-content pre {
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.blog-post-content code {
  padding: 0.1em 0.35em;
}

/* TOC styles */
.toc-container {
  margin: 0 0 1.5rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin: 8px 0;
  line-height: 1.4;
}

.toc-item a {
  color: #352791;
  text-decoration: none;
  font-size: 0.875rem;
}

.toc-item a:hover {
  text-decoration: underline;
}

.toc-item.h3 {
  padding-left: 1rem;
}

.toc-item.h4 {
  padding-left: 2rem;
}

/* Back button */
.blog-post-back {
  margin-top: 2.5rem;
}

@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 464px;
  }

  .u-section-1 .u-layout-wrap-1 {
    margin-top: 0;
    margin-bottom: 50px;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 392px;
  }

  .u-section-1 .u-text-1 {
    font-size: 2.25rem;
    margin-right: 0;
  }

  .u-section-1 .u-text-2 {
    margin-right: 0;
  }

  .u-section-1 .u-image-1 {
    min-height: 330px;
  }

  .u-section-2 .u-layout-wrap-1 {
    position: relative;
  }

  .u-section-2 .u-layout-cell-1 {
    min-height: 330px;
  }

  .u-section-2 .u-layout-cell-2 {
    min-height: 330px;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 448px;
  }

  .u-section-1 .u-layout-wrap-1 {
    position: relative;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 578px;
  }

  .u-section-1 .u-text-1 {
    width: auto;
    margin-right: 20px;
  }

  .u-section-1 .u-text-2 {
    width: auto;
    margin-right: 20px;
  }

  .u-section-1 .u-image-1 {
    min-height: 253px;
  }

  .u-section-2 .u-sheet-1 {
    min-height: 220px;
  }

  .u-section-2 .u-layout-cell-1 {
    min-height: 100px;
  }

  .u-section-2 .u-layout-cell-2 {
    min-height: 100px;
  }
}

@media (max-width: 767px) {
   .u-section-1 {
    min-height: 322px;
  }

  .u-section-1 .u-sheet-1 {
    min-height: 829px;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 100px;
  }

  .u-section-1 .u-text-1 {
    font-size: 1.875rem;
    margin-right: 0;
  }

  .u-section-1 .u-text-2 {
    margin-right: 0;
  }

  .u-section-1 .u-image-1 {
    min-height: 380px;
  }

  .u-section-1 .u-container-layout-2 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .u-section-2 .u-sheet-1 {
    min-height: 200px;
  }

  .u-section-2 .u-container-layout-2 {
    padding-left: 10px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 814px;
  }

  .u-section-1 .u-text-1 {
    font-size: 1.5rem;
    margin-right: 0;
  }

  .u-section-1 .u-text-2 {
    margin-right: 0;
  }

  .u-section-1 .u-image-1 {
    min-height: 239px;
  }
}
