.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  background:
    radial-gradient(ellipse at 80% 20%, #ffdcc750, transparent 45%),
    radial-gradient(ellipse at 70% 90%, #aebcff60, transparent 55%), #f2f0ff;
}
.blog-hero .container {
  position: relative;
}
.blog-hero h1 {
  font-size: clamp(40px, 5vw, 70px);
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.blog-hero p {
  max-width: 680px;
  font-size: 17px;
  position: relative;
  z-index: 1;
}
.blog-orbit {
  position: absolute;
  right: 50px;
  top: 15px;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid #7982dc30;
  border-radius: 50%;
  box-shadow:
    0 0 0 32px #9f9fea0b,
    0 0 0 65px #9f9fea0b;
  color: #8b7ce85e;
  transform: rotate(-15deg);
}
.blog-orbit svg {
  width: 110px;
  height: 110px;
}
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid #e8ecf8;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 8px 0 65px;
}
.featured-post > div {
  padding: 40px;
}
.featured-post h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin: 18px 0;
}
.post-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.6;
  background: #e9eefb;
}
.featured-post .post-image {
  aspect-ratio: auto;
  min-height: 350px;
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-image:hover img {
  transform: scale(1.035);
}
.post-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(circle at 70% 25%, #c3a5ff80, transparent 60%),
    linear-gradient(140deg, #dfefff, #f0eaff);
  color: #6864c6;
}
.post-image-fallback svg {
  width: 64px;
  height: 64px;
}
.post-image-fallback span {
  font-size: 12px;
  letter-spacing: 0.1em;
}
.category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  background: #efecff;
  color: #5940c0 !important;
  padding: 4px 10px;
  border-radius: 5px;
}
.post-meta {
  font-size: 12px !important;
  color: #5e6c84 !important;
  margin: 18px 0 !important;
}
.post-excerpt p {
  font-size: 14px;
  margin-bottom: 16px;
}
.post-excerpt {
  overflow-wrap: anywhere;
}
.post-excerpt .wp-block-image {
  display: none;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.post-card {
  background: #fff;
  border: 1px solid #e9edf7;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  min-width: 0;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px #24387512;
}
.post-card-content {
  padding: 25px;
}
.post-card h3 {
  font-size: 23px;
  line-height: 1.25;
  margin: 16px 0;
}
.post-card h3 a:hover,
.featured-post h2 a:hover {
  color: #6048dd;
}
.post-card .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-heading span {
  font-size: 13px;
  color: #5e6c84;
}
.pagination {
  margin: 42px 0 0;
}
.pagination ul {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.page-numbers a,
.page-numbers span {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e1e5f2;
  font-size: 13px;
}
.page-numbers .current {
  background: #6045ef;
  color: #fff;
  border-color: #6045ef;
}
.page-numbers a:hover {
  background: #edeaff;
}
.empty-state {
  text-align: center;
  border-radius: 22px;
  background: #fff;
  padding: 60px 24px;
}
.empty-state h2 {
  margin-top: 24px;
}
.empty-state .search-form {
  margin: 25px auto;
}
.archive-hero h1 {
  font-size: clamp(34px, 4vw, 58px);
}
.archive-description {
  max-width: 750px;
}
.article-hero {
  padding: 36px 0 40px;
  background: linear-gradient(135deg, #f5f2ff, #f4f9ff);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #667085;
  margin-bottom: 35px;
  overflow-wrap: anywhere;
}
.breadcrumbs .category-badge {
  background: none;
  padding: 0;
  font-size: inherit;
}
.breadcrumbs > span:last-child {
  max-width: 550px;
}
.article-hero h1 {
  max-width: 1060px;
  font-size: clamp(38px, 4.6vw, 67px);
  margin: 20px 0;
}
.article-summary {
  max-width: 820px;
  font-size: 19px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  color: #667085;
  margin-top: 26px;
}
.article-meta img {
  border-radius: 50%;
}
.article-cover {
  margin-top: 36px;
  overflow: hidden;
  border-radius: 20px;
}
.article-cover img {
  width: 100%;
  max-height: 630px;
  object-fit: cover;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr);
  gap: 65px;
  padding-top: 55px;
  padding-bottom: 40px;
}
.article-main,
.article-sidebar {
  min-width: 0;
}
.article-content {
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.article-content p {
  color: #42516b;
}
.article-content h2 {
  font-size: 34px;
  margin: 40px 0 20px;
}
.article-content h3 {
  font-size: 27px;
  margin: 30px 0 16px;
}
.article-content h4 {
  font-size: 22px;
  margin: 26px 0 14px;
}
.article-content a {
  color: #5842d6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content li {
  margin-bottom: 9px;
}
.article-content blockquote {
  margin: 30px 0;
  padding: 25px 30px;
  border-left: 4px solid #7858f5;
  background: #eeeaff;
  border-radius: 0 12px 12px 0;
  font-size: 21px;
}
.article-content blockquote p:last-child {
  margin-bottom: 0;
}
.article-content figure {
  max-width: 100%;
  margin: 30px 0;
}
.article-content img {
  border-radius: 12px;
  height: auto;
}
.article-content figcaption,
.article-content .wp-caption-text {
  font-size: 12px;
  text-align: center;
  color: #667085;
  margin-top: 10px;
}
.article-content pre {
  overflow-x: auto;
  background: #071b35;
  color: #d8e8ff;
  padding: 24px;
  border-radius: 12px;
  font-size: 13px;
}
.article-content code {
  font-size: 0.85em;
  background: #eaeef8;
  padding: 2px 5px;
  border-radius: 4px;
}
.article-content pre code {
  background: none;
  padding: 0;
}
.article-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.article-content td,
.article-content th {
  border: 1px solid #dce2f0;
  padding: 12px;
  text-align: left;
}
.article-content th {
  background: #ecefff;
}
.article-content .wp-block-table {
  overflow: auto;
}
.article-content > table {
  display: block;
  overflow: auto;
}
.article-content .alignwide,
.article-content .alignfull {
  max-width: 100%;
  margin-inline: 0;
}
.article-content iframe,
.article-content video {
  max-width: 100%;
}
.article-content .wp-block-button__link {
  color: #fff;
  text-decoration: none;
}
.sidebar-sticky {
  position: sticky;
  top: 110px;
}
.sidebar-box {
  padding: 23px;
  background: #fff;
  border: 1px solid #e7ecf7;
  border-radius: 14px;
  margin-bottom: 20px;
}
.sidebar-box h2,
.sidebar-cta h2 {
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.category-list,
.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  font-size: 13px;
  color: #5e6c84;
  margin: 10px 0;
}
.category-list a {
  color: #243653;
}
.category-list .children {
  padding-left: 14px;
  list-style: none;
}
.recent-posts li + li {
  border-top: 1px solid #eef0f7;
  margin-top: 15px;
  padding-top: 15px;
}
.recent-posts a {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  display: block;
}
.recent-posts small {
  display: block;
  color: #5e6c84;
  font-size: 10px;
  margin-top: 5px;
}
.sidebar-cta {
  padding: 28px;
  border-radius: 15px;
  background: linear-gradient(135deg, #071b45, #322569);
  color: #fff;
}
.sidebar-cta .icon-tile {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  background: #ffffff16;
  color: #b7a4ff;
}
.sidebar-cta p {
  font-size: 13px;
  color: #ccd4eb;
}
.sidebar-cta .button {
  font-size: 11px;
  width: 100%;
  padding-inline: 10px;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  margin: 35px 0;
}
.article-tags a {
  padding: 3px 9px;
  border-radius: 4px;
  background: #ece8ff;
  color: #5a40c0;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e2e6f0;
  border-bottom: 1px solid #e2e6f0;
  padding: 20px 0;
  font-size: 12px;
}
.share-row a,
.copy-link {
  color: #5840c9;
  background: none;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}
.post-navigation div:last-child {
  text-align: right;
}
.post-navigation small {
  display: block;
  color: #78689f;
  font-size: 11px;
  margin-bottom: 9px;
}
.post-navigation span {
  font-weight: 650;
  font-size: 15px;
  overflow-wrap: anywhere;
  display: block;
}
.related-section {
  background: #eff2fb;
}
.related-section h2 {
  margin-bottom: 30px;
}
.comments-area {
  margin-top: 40px;
}
.comments-area h2,
.comments-area h3 {
  font-size: 25px;
}
.comments-area input:not([type="checkbox"]),
.comments-area textarea {
  max-width: 100%;
  padding: 12px;
  border: 1px solid #d6ddec;
  border-radius: 6px;
}
.comments-area label {
  display: block;
  font-size: 13px;
}
.comments-area .submit {
  background: #5842dc;
  color: #fff;
  cursor: pointer;
}
.comment-list {
  padding-left: 22px;
}
.comment-list .children {
  padding-left: 18px;
}
.comment-body {
  padding: 20px 0;
  border-bottom: 1px solid #e1e5f0;
}
.comment-meta {
  font-size: 12px;
}
.comment-author img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
