.single-post-page {
  background: #0b0f14;
  color: #fff;
  min-height: 100vh;
  overflow-x: clip;
}

/* Background Decorations */
.single-post-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.single-post-decor__blob {
  position: absolute;
  width: 800px;
  height: 800px;
  background: rgba(63, 193, 217, 0.03);
  filter: blur(150px);
  border-radius: 9999px;
  right: -10%;
  top: 500px;
}

/* Hero Section */
.single-post-hero {
  position: relative;
  height: clamp(400px, 60vh, 580px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #030a07;
}

.single-post-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.single-post-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.single-post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 20, 0) 0%,
    rgba(11, 15, 20, 0.8) 70%,
    #0b0f14 100%
  );
}

.single-post-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  width: 1000px; /* Aligned with content width in image */
  max-width: 100%;
  padding: 0 clamp(1.25rem, 6vw, 8.25rem);
  margin-top: 60px;
}

.single-post-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #a8a8a8;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.single-post-hero__breadcrumb-link {
  color: #e8744a; /* Matches the orange in design */
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-post-hero__breadcrumb-link:hover {
  color: #fff;
}

.single-post-hero__title {
  max-width: 900px;
  line-height: 1.15;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}

.single-post-hero__bottom-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(63, 193, 217, 0) 0%,
    rgba(63, 193, 217, 0.4) 50%,
    rgba(63, 193, 217, 0) 100%
  );
}

/* Article Container */
.single-post-container {
  padding: 40px 0 100px;
  position: relative;
  z-index: 2;
}

.single-post-container__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 6vw, 8.25rem);
}

.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

/* Main Content */
.single-post-main {
  max-width: 800px;
}

.single-post-header {
  margin-bottom: 40px;
}

.single-post-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.single-post-author__name {
  color: #3fc1d9; /* Teal accent from design */
  font-size: 1.125rem;
  font-weight: 600;
}

.single-post-author__date {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0.8;
}

.single-post-content {
  color: #ffffff;
  line-height: 1.8;
}
.single-post-intro {
  margin-bottom: 3rem;
}
.single-post-editor-title {
  margin-bottom: 2rem;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3 {
  color: #fff;
  font-family: var(--font-display);
  margin: 2.5em 0 0.8em;
  line-height: 1.25;
}

.single-post-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.single-post-content p {
  margin-bottom: 1.6em;
	color: #ffffff;
}

.single-post-content a {
  color: #3fc1d9;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Sidebar */
.single-post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.single-post-sidebar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.single-post-sidebar-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3fc1d9;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.single-post-sidebar-card__dash {
  width: 20px;
  height: 1.5px;
  background: currentColor;
}

.single-post-sidebar-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.single-post-sidebar-card__text {
  color: #a8a8a8;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Sidebar Stats */
.single-post-sidebar-stats {
  display: grid;
  gap: 20px;
}

.single-post-sidebar-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.single-post-sidebar-stat__value {
  color: #3fc1d9;
  font-size: 1.25rem;
  font-weight: 600;
}

.single-post-sidebar-stat__label {
  color: #a8a8a8;
  font-size: 0.9375rem;
}

/* Sidebar CTA Button */
.single-post-sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 116, 74, 0.4); /* Subtle orange border */
  border-radius: 4px;
  color: #e8744a;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.single-post-sidebar-cta-btn:hover {
  background: #e8744a;
  color: #fff;
  border-color: #e8744a;
}

@media (max-width: 1100px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .single-post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .single-post-hero {
    height: auto;
    padding: 140px 0 80px;
  }

  .single-post-hero__inner {
    margin-top: 0;
  }

  .single-post-sidebar {
    grid-template-columns: 1fr;
  }

  .single-post-container {
    padding: 40px 0;
  }
}
