.blog-content .container {
  max-width: 1000px;
}

/* Blog Content Section */
.blog-content {
  padding: 3rem 0;
}

/* Unified Heading (copied from secreto-mention.css) */
.unified-heading {
  position: relative;
  background: linear-gradient(135deg,
      rgba(255, 182, 255, 0.1) 0%,
      rgba(255, 182, 255, 0.05) 50%,
      transparent 100%);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 182, 255, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.unified-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--accent-color) 0%,
      rgba(255, 182, 255, 0.8) 50%,
      var(--accent-color) 100%);
}

.unified-heading::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%,
      rgba(255, 182, 255, 0.15) 0%,
      rgba(255, 182, 255, 0.08) 25%,
      transparent 50%),
    radial-gradient(circle at 70% 60%,
      rgba(255, 182, 255, 0.12) 0%,
      rgba(255, 182, 255, 0.06) 30%,
      transparent 60%),
    radial-gradient(circle at 20% 80%,
      rgba(255, 182, 255, 0.1) 0%,
      rgba(255, 182, 255, 0.04) 35%,
      transparent 70%);
  animation: smokeFlow 15s ease-in-out infinite;
  z-index: 1;
}

.heading-content {
  position: relative;
  z-index: 2;
}

.category-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.main-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      rgba(255, 182, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 60px;
  text-align: center;
}

@keyframes smokeFlow {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }

  25% {
    transform: translate(-10px, -15px) rotate(90deg) scale(1.1);
    opacity: 0.8;
  }

  50% {
    transform: translate(15px, -10px) rotate(180deg) scale(0.9);
    opacity: 0.6;
  }

  75% {
    transform: translate(-5px, 10px) rotate(270deg) scale(1.05);
    opacity: 0.7;
  }

  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
    opacity: 1;
  }
}

.unified-heading:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 182, 255, 0.2);
  border-color: rgba(255, 182, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unified-heading:hover .main-title {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.unified-heading:hover .category-label {
  color: rgba(255, 182, 255, 1);
  transition: color 0.3s ease;
}

/* Blog Body */
.blog-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
  line-height: 1.8;
  color: var(--text-color);
  text-align: left;
}

.blog-body h1,
.blog-body h2,
.blog-body h3,
.blog-body h4,
.blog-body h5,
.blog-body h6 {
  color: var(--primary-color);
  margin: 2.5rem 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.3;
  clear: both;
}

/* Ensure consistent header sizes */
.blog-body h1 {
  font-size: 2.5rem;
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin: 2.5rem 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.3;
  clear: both;
}

.blog-body h2 {
  font-size: 2rem;
  border-bottom: 2px solid rgba(255, 182, 255, 0.3);
  padding-bottom: 0.3rem;
  margin: 2.5rem 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.3;
  clear: both;
}

.blog-body h2:first-child {
  margin-top: 0;
}

.blog-body h3 {
  font-size: 1.5rem;
  color: rgba(var(--primary-color-rgb), 0.9);
  margin: 2.5rem 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.3;
  clear: both;
}

.blog-body h4 {
  font-size: 1.25rem;
  color: rgba(var(--primary-color-rgb), 0.8);
  margin: 2.5rem 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.3;
  clear: both;
}

/* Updated container-based image styling */
.blog-body .inline-image-container {
  max-width: 45%;
  margin-bottom: 1rem;
}

.blog-body .inline-image-container.image-left {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.blog-body .inline-image-container.image-right {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* Style the image within the container */
.blog-body .inline-image-container .inline-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: default;
  transition: transform 0.3s ease;
  margin-bottom: 0.5rem;
  display: block;
}

.blog-body .inline-image-container .inline-image:hover {
  transform: scale(1.02);
}

/* Style the caption within the container */
.blog-body .inline-image-container .image-caption {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-style: italic;
  text-align: center;
  margin: 0.5rem 0 0 0;
  line-height: 1.4;
  min-width: 100%;
}

/* Remove old individual image and caption styles */
.blog-body .inline-image {
  /* Keep this for legacy support but override with container styles */
}

/* Featured video container styling */
.blog-body .featured-video-container {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.blog-body .featured-video-container .featured-video-embed {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
}

.blog-body .featured-video-container .featured-video-embed video {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 12px;
  background-color: var(--black);
  display: block;
  object-fit: contain;
}

/* Inline video container styling */
.blog-body .inline-video-container {
  max-width: 400px;
  margin-bottom: 1rem;
  clear: none;
}

.blog-body .inline-video-container.video-left {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.blog-body .inline-video-container.video-right {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.blog-body .inline-video-container.video-center {
  float: none;
  margin: 2rem auto;
  display: block;
  max-width: 80%;
}

/* Local video embed styling */
.blog-body .inline-video-container .local-video-embed {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.blog-body .inline-video-container .local-video-embed video {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 8px;
  background-color: var(--black);
  display: block;
  object-fit: contain;
}

/* Style the video caption */
.blog-body .inline-video-container .video-caption {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
  text-align: center;
  margin: 0.25rem 0 0 0;
  line-height: 1.4;
  min-width: 100%;
}

/* Ensure proper text flow around inline videos */
.blog-body p {
  overflow: hidden;
  text-align: justify;
}

/* Mobile responsive - stack containers */
@media (max-width: 767px) {

  .blog-body .inline-image-container,
  .blog-body .inline-video-container {
    float: none !important;
    max-width: 90%;
    margin: 2rem auto;
    display: block;
  }

  .blog-body p {
    text-align: left;
  }
}

.blog-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg,
      rgba(255, 182, 255, 0.08) 0%,
      rgba(255, 182, 255, 0.04) 100%);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(var(--primary-color-rgb), 0.9);
  position: relative;
  clear: both;
}

.blog-body blockquote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(255, 182, 255, 0.3);
  position: absolute;
  top: -0.0rem;
  left: 0.5rem;
  line-height: 1;
}

.blog-body blockquote p {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Clear floats */
.blog-body::after {
  content: "";
  display: table;
  clear: both;
}

.blog-body p:has(.inline-image)+* {
  clear: both;
}

/* Blog Footer Meta Styles */
.blog-footer-meta {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 182, 255, 0.2);
}

.blog-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.blog-author {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.blog-tag {
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--primary-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-tag:hover {
  background: rgba(var(--primary-color-rgb), 0.2);
  transform: translateY(-1px);
}

/* Navigation Link Styles */
.nav-back-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  margin-bottom: 20px;
}

.nav-back-link:hover {
  color: var(--anchor-color);
}

/* Mobile responsive */
@media (max-width: 767px) {
  .blog-body .inline-image {
    float: none !important;
    max-width: 90%;
    margin: 2rem auto;
    display: block;
  }

  .image-text-wrapper {
    text-align: center;
  }

  .blog-meta {
    gap: 0.75rem;
  }

  .blog-tags {
    gap: 0.4rem;
  }
}

/* Image caption styling */
.blog-body .image-caption {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  max-width: 45%;
}

.blog-body .image-caption.caption-left {
  float: left;
  margin-right: 2rem;
}

.blog-body .image-caption.caption-right {
  float: right;
  margin-left: 2rem;
}

/* Ensure captions follow their images */
.blog-body .inline-image.image-left+.image-caption {
  float: left;
  margin-right: 2rem;
  margin-left: 0;
}

.blog-body .inline-image.image-right+.image-caption {
  float: right;
  margin-left: 2rem;
  margin-right: 0;
}

@media (max-width: 767px) {
  .blog-body .image-caption {
    float: none !important;
    max-width: 90%;
    margin: 1rem auto;
    text-align: center;
  }
}

/* Mobile responsive for main title */
@media (max-width: 767px) {
  .main-title {
    font-size: 2rem !important;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }
}

/* Blog Content Link Styles */
.blog-body a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.blog-body a:hover {
  color: var(--anchor-color);
  border-bottom: 1px solid var(--anchor-color);
}

/* Special styling for external links */
.blog-body a[href^="http"]::after {
  content: " ↗";
  font-size: 0.8em;
  opacity: 0.7;
}

/* Ad styles have been moved to centralized ads.css */