body.single {
  background-color: #000000;
  color: white;
}

.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  background: var(--primary-color, #9247d7);
  width: 0%;
  transition: width 0.1s;
}

.article-hero {
  position: relative;
  padding: 180px 0 100px;
  background-color: #050505;
  overflow: hidden;
  text-align: center;
}

.article-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.4;
  filter: blur(8px);
  transform: scale(1.1);
}

.article-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, #000000 100%);
  z-index: 1;
}

.hero-content-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.article-meta-top {
  font-size: 0.9rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.meta-sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.3);
}

.article-read-time {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.article-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-author-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-details {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.post-date {
  font-size: 0.85rem;
  color: #888;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 6rem;
  position: relative;
}

.article-sidebar {
  position: relative;
}

.sidebar-sticky-content {
  position: sticky;
  top: 120px;
}

.widget-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 700;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn:hover {
  color: white;
  border-color: var(--primary-color);
  background: rgba(146, 71, 215, 0.1);
  transform: translateX(5px);
}

.toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.05);
}

.toc-item a {
  display: block;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  position: relative;
}

.toc-item a:hover {
  color: var(--primary-color);
}

.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: white;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.entry-content h2 {
  font-size: 2rem;
}
.entry-content h3 {
  font-size: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(146, 71, 215, 0.3);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.entry-content a:hover {
  color: #ffffff;
  border-bottom-color: var(--primary-color);
  background-color: rgba(146, 71, 215, 0.15);
}

.article-cta-box {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.article-cta-box:hover {
  transform: translateY(-5px);
  border-color: rgba(146, 71, 215, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-cta-box h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.article-cta-box p {
  color: #ccc;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.cta-btn-small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cta-btn-small:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(146, 71, 215, 0.4);
}

.author-bio-box {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
  align-items: center;
}

.bio-avatar img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.bio-name {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
}

.bio-desc {
  color: #888;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.related-posts-section {
  padding: 4rem 0 6rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.related-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
  color: white;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-card {
  display: block;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-8px);
  border-color: rgba(146, 71, 215, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.related-img {
  height: 200px;
  overflow: hidden;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover .related-img img {
  transform: scale(1.05);
}

.related-content {
  padding: 1.5rem;
}

.related-cat {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.related-post-title {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.read-more-link {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.related-card:hover .read-more-link {
  color: white;
}

.article-footer-cta {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #000000 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.footer-cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-cta-desc {
  color: #888;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.newsletter-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.submit-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  background: white;
  color: black;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.privacy-note {
  font-size: 0.8rem;
  color: #555;
}

.toc-item a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.2s;
}

.toc-item a:hover::before {
  opacity: 1;
}

.toc-h3 a {
  padding-left: 2.5rem;
  font-size: 0.85rem;
}

.article-content-area {
  max-width: 800px;
  margin: 0 auto;
}

.article-lead {
  font-size: 1.35rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 3rem;
  font-weight: 300;
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
}

.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #ccc;
}

.entry-content h2 {
  font-size: 2rem;
  color: white;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.entry-content h3 {
  font-size: 1.5rem;
  color: white;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.75rem;
}

.entry-content blockquote {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  font-size: 1.25rem;
  color: white;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.entry-content figcaption {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.article-cta-box {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(146, 71, 215, 0.1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border: 1px solid rgba(146, 71, 215, 0.3);
  border-radius: 20px;
  text-align: center;
}

.cta-box-content h3 {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1rem;
}

.cta-box-content p {
  color: #ccc;
  margin-bottom: 2rem;
}

.cta-btn-small {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s;
}

.cta-btn-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(146, 71, 215, 0.3);
}

.author-bio-box {
  display: flex;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
  align-items: flex-start;
}

.bio-avatar img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.bio-name {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
}

.bio-desc {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}

.related-posts-section {
  padding: 6rem 0;
  background: #0a0a0a;
}

.related-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: white;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-card {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(146, 71, 215, 0.3);
}

.related-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-content {
  padding: 1.5rem;
}

.related-cat {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.related-post-title {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.read-more-link {
  font-size: 0.85rem;
  color: #888;
  text-decoration: underline;
}

.article-footer-cta {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #0a0a0a 0%, #000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-cta-desc {
  color: #aaa;
  margin-bottom: 3rem;
}

.newsletter-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
}

.submit-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  background: white;
  color: black;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: var(--primary-color);
  color: white;
}

.privacy-note {
  font-size: 0.8rem;
  color: #555;
}
