
/* ============================================
   Blog Article Styles - Enhanced Design
   ============================================ */

/* Blog Article Container */
.blog-article {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  position: relative;
}

.blog-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(135deg, rgba(8, 166, 152, 0.03) 0%, rgba(6, 209, 193, 0.05) 100%);
  z-index: 0;
  pointer-events: none;
}

.blog-article .container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 25px;
  position: relative;
  z-index: 1;
}

/* Blog Hero Section - Enhanced Layout */
.blog-hero-section {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 60px;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Blog Header */
.blog-header {
  flex: 1;
  text-align: left;
  margin-bottom: 0;
}

.blog-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #06d1c1);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(8, 166, 152, 0.2);
}

.blog-heading {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.15;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--dark-color) 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  color: #777;
  font-size: 0.85rem;
  padding-top: 12px;
  border-top: 2px solid #f0f0f0;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.blog-meta span:hover {
  color: var(--primary-color);
}

.blog-meta i {
  color: var(--primary-color);
  font-size: 1.05rem;
}

/* Blog Featured Image - Enhanced */
.blog-featured-image {
  flex: 0 0 420px;
  max-width: 420px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-featured-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(8, 166, 152, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.blog-featured-image:hover::before {
  opacity: 1;
}

.blog-featured-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.blog-featured-image:hover img {
  transform: scale(1.05);
}

/* Blog Content - Enhanced Typography */
.blog-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #2c3e50;
  background: #fff;
  padding: 50px 45px;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.blog-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-top: 60px;
  margin-bottom: 25px;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
  letter-spacing: -0.3px;
}

.blog-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: linear-gradient(180deg, var(--primary-color), #06d1c1);
  border-radius: 10px;
}

.blog-content h2:first-child {
  margin-top: 0;
}

.blog-content h3 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 45px;
  margin-bottom: 18px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.blog-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #34495e;
  margin-top: 35px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content p {
  margin-bottom: 24px;
  line-height: 1.85;
  color: #2c3e50;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 28px;
  padding-left: 35px;
}

.blog-content ul li,
.blog-content ol li {
  margin-bottom: 14px;
  line-height: 1.8;
  position: relative;
  padding-left: 8px;
}

.blog-content ul li {
  list-style-type: none;
}

.blog-content ul li::before {
  content: '●';
  color: var(--primary-color);
  font-size: 0.8em;
  position: absolute;
  left: -23px;
  top: 2px;
}

.blog-content ol li {
  list-style-type: decimal;
  list-style-position: outside;
}

.blog-content ol li::marker {
  color: var(--primary-color);
  font-weight: 700;
}

.blog-content strong {
  font-weight: 700;
  color: var(--dark-color);
}

.blog-content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid rgba(8, 166, 152, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
}

.blog-content a:hover {
  color: #067368;
  border-bottom-color: #067368;
  background: rgba(8, 166, 152, 0.05);
  padding: 0 4px;
}

/* Special Content Boxes - Enhanced */
.blog-content .highlight-box,
.blog-content .comparison-table,
.blog-content .stats-box,
.blog-content .metrics-list {
  background: linear-gradient(135deg, rgba(8, 166, 152, 0.06), rgba(8, 166, 152, 0.1));
  border-left: 5px solid var(--primary-color);
  padding: 30px 35px;
  margin: 35px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(8, 166, 152, 0.08);
  position: relative;
  overflow: hidden;
}

.blog-content .highlight-box::before,
.blog-content .comparison-table::before,
.blog-content .stats-box::before,
.blog-content .metrics-list::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(8, 166, 152, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.blog-content .highlight-box h4,
.blog-content .comparison-table h4,
.blog-content .stats-box h4,
.blog-content .metrics-list h4,
.blog-content .comparison-table h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-top: 0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-content .highlight-box h4::before,
.blog-content .comparison-table h4::before,
.blog-content .stats-box h4::before,
.blog-content .metrics-list h4::before,
.blog-content .comparison-table h3::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.blog-content .highlight-box ul,
.blog-content .comparison-table ul,
.blog-content .stats-box ul,
.blog-content .metrics-list ul {
  margin-bottom: 0;
  padding-left: 25px;
}

.blog-content .highlight-box ul li,
.blog-content .comparison-table ul li,
.blog-content .stats-box ul li,
.blog-content .metrics-list ul li {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

/* Blog CTA - Enhanced */
.blog-cta {
  background: linear-gradient(135deg, var(--primary-color), #06d1c1);
  color: #fff;
  text-align: center;
  padding: 50px 40px;
  border-radius: 16px;
  margin-top: 60px;
  box-shadow: 0 15px 50px rgba(8, 166, 152, 0.25);
  position: relative;
  overflow: hidden;
}

.blog-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.blog-cta h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.blog-cta p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta .btn-primary {
  background: #fff;
  color: var(--primary-color);
  padding: 17px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  display: inline-block;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.blog-cta .btn-primary:hover {
  background: var(--dark-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Blog Footer - Enhanced */
.blog-footer {
  margin-top: 70px;
  padding-top: 35px;
  border-top: 3px solid #f0f0f0;
}

.blog-share {
  text-align: center;
}

.blog-share p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.share-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8, 166, 152, 0.12), rgba(8, 166, 152, 0.18));
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.share-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--primary-color);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.share-btn:hover::before {
  width: 100%;
  height: 100%;
}

.share-btn:hover {
  color: #fff;
  transform: translateY(-4px) rotate(5deg);
  box-shadow: 0 6px 20px rgba(8, 166, 152, 0.35);
  border-color: var(--primary-color);
}

.share-btn i {
  position: relative;
  z-index: 1;
}

/* Responsive Blog Styles - Enhanced */
@media (max-width: 992px) {
  .blog-hero-section {
    flex-direction: column;
    gap: 35px;
    padding: 35px 30px;
  }

  .blog-header {
    text-align: center;
  }

  .blog-meta {
    justify-content: center;
  }

  .blog-featured-image {
    flex: 1;
    max-width: 100%;
    height: 280px;
    margin: 0 auto;
  }

  .blog-heading {
    font-size: 2.5rem;
  }

  .blog-content {
    padding: 45px 35px;
  }
}

@media (max-width: 768px) {
  .blog-article {
    padding: 50px 0 70px;
  }

  .blog-article::before {
    height: 250px;
  }

  .blog-hero-section {
    margin-bottom: 40px;
    padding: 30px 25px;
  }

  .blog-heading {
    font-size: 2.2rem;
  }

  .blog-meta {
    gap: 18px;
    font-size: 0.9rem;
  }

  .blog-featured-image {
    height: 260px;
    border-radius: 12px;
  }

  .blog-content {
    font-size: 1.08rem;
    padding: 40px 30px;
  }

  .blog-content h2 {
    font-size: 1.75rem;
    margin-top: 45px;
    margin-bottom: 18px;
    padding-left: 18px;
  }

  .blog-content h2::before {
    width: 4px;
  }

  .blog-content h3 {
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 14px;
  }

  .blog-content h4 {
    font-size: 1.15rem;
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .blog-content ul,
  .blog-content ol {
    padding-left: 28px;
  }

  .blog-content .highlight-box,
  .blog-content .comparison-table,
  .blog-content .stats-box,
  .blog-content .metrics-list {
    padding: 25px 28px;
    margin: 28px 0;
  }

  .blog-cta {
    padding: 40px 30px;
    margin-top: 50px;
  }

  .blog-cta h3 {
    font-size: 1.7rem;
  }

  .blog-cta p {
    font-size: 1.05rem;
  }

  .blog-cta .btn-primary {
    padding: 15px 35px;
    font-size: 1.05rem;
  }

  .blog-footer {
    margin-top: 60px;
  }
}

@media (max-width: 500px) {
  .blog-article {
    padding: 40px 0 60px;
  }

  .blog-article::before {
    height: 200px;
  }

  .blog-article .container {
    padding: 0 18px;
  }

  .blog-hero-section {
    padding: 25px 20px;
    margin-bottom: 35px;
  }

  .blog-category {
    font-size: 0.75rem;
    padding: 8px 18px;
  }

  .blog-heading {
    font-size: 1.75rem;
    margin-bottom: 18px;
  }

  .blog-meta {
    gap: 14px;
    font-size: 0.85rem;
  }

  .blog-featured-image {
    height: 240px;
    margin-bottom: 30px;
    border-radius: 10px;
  }

  .blog-content {
    font-size: 1.05rem;
    padding: 35px 25px;
  }

  .blog-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-left: 15px;
  }

  .blog-content h2::before {
    width: 4px;
    height: 60%;
  }

  .blog-content h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 12px;
  }

  .blog-content h4 {
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .blog-content p {
    margin-bottom: 18px;
  }

  .blog-content ul,
  .blog-content ol {
    padding-left: 25px;
    margin-bottom: 22px;
  }

  .blog-content ul li,
  .blog-content ol li {
    margin-bottom: 12px;
  }

  .blog-content .highlight-box,
  .blog-content .comparison-table,
  .blog-content .stats-box,
  .blog-content .metrics-list {
    padding: 22px 20px;
    margin: 25px 0;
  }

  .blog-content .highlight-box h4,
  .blog-content .comparison-table h4,
  .blog-content .stats-box h4,
  .blog-content .metrics-list h4,
  .blog-content .comparison-table h3 {
    font-size: 1.15rem;
  }

  .blog-cta {
    padding: 35px 20px;
    margin-top: 45px;
    border-radius: 12px;
  }

  .blog-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .blog-cta p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .blog-cta .btn-primary {
    padding: 14px 30px;
    font-size: 1rem;
    width: 100%;
    border-radius: 40px;
  }

  .blog-footer {
    margin-top: 50px;
    padding-top: 30px;
  }

  .share-buttons {
    gap: 14px;
  }

  .share-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}