/* =========================================
   Blog Detail Custom Components
   (Restored to Original User Design)
   ========================================= */

/* Tip Box */
.blog-detail-tip {
  background: #fffbe6;
  border-left: 5px solid #ffe066;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin: 1.2rem 0;
  color: #b85a8c;
  font-weight: 600;
  display: flex !important;
  /* Force flex to ensure icon alignment */
  align-items: center;
  gap: 0.7rem;
  box-shadow: none;
  /* Removed shadow to match original */
  font-family: inherit;
  /* Use inherited font */
  font-size: inherit;
}

.blog-detail-tip:before {
  content: '💡';
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.5rem;
  margin-right: 0.5rem;
  font-weight: normal;
}

/* Quote Box */
.blog-detail-quote {
  background: #e0f7fa;
  border-left: 5px solid #20bfa9;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin: 1.2rem 0;
  color: #00394f;
  font-style: italic;
  font-size: 1.08rem;
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  font-family: inherit;
}

.blog-detail-quote:before {
  content: '❝';
  font-size: 2rem;
  color: #20bfa9;
  margin-right: 0.5rem;
  opacity: 0.7;
  font-family: inherit;
  font-style: normal;
}

/* Standard Call to Action Button */
.blog-detail-cta {
  text-align: center;
  margin: 1.5rem 0;
}

.blog-detail-cta a {
  background: #20bfa9;
  color: #fff !important;
  font-size: 1.15rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border-radius: 1rem;
  padding: 0.7rem 2.2rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
}

.blog-detail-cta a:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

/* =========================================
   Advanced Components (From Blog Detail 2)
   ========================================= */

/* Advanced CTA Box (Fun) */
.blog-cta-fun {
  background: linear-gradient(120deg, #ffe066 60%, #f77ca2 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(32, 191, 169, 0.10);
  border: 3px solid #20bfa9;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.blog-cta-fun svg {
  position: absolute;
  top: -20px;
  left: -20px;
  opacity: 0.13;
  z-index: 0;
}

.blog-cta-fun .cta-title {
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #20bfa9;
  z-index: 1;
  position: relative;
  margin-bottom: 0.7rem;
}

.blog-cta-fun .cta-text {
  font-size: 1.15rem;
  color: #00394f;
  z-index: 1;
  position: relative;
  margin-bottom: 1.5rem;
}

.blog-cta-fun .cta-btn {
  display: inline-block;
  background: #20bfa9;
  color: #fff !important;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.9rem 2.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(32, 191, 169, 0.13);
  transition: background 0.2s;
  z-index: 1;
  position: relative;
  letter-spacing: 0.5px;
}

.blog-cta-fun .cta-btn:hover {
  background: #f77ca2;
  color: #fff !important;
  text-decoration: none;
}

/* Testimonials Section */
.testimonial-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2.5rem 0 2rem 0;
  justify-content: flex-start;
}

.testimonial-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(32, 191, 169, 0.10);
  border-left: 6px solid #f77ca2;
  padding: 1.5rem 1.5rem 1.2rem 1.5rem;
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.7rem;
  border: 2px solid #ffe066;
  background: #f6f7fb;
}

.testimonial-name {
  font-weight: 700;
  color: #20bfa9;
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.testimonial-meta {
  font-size: 0.98rem;
  color: #b85a8c;
  margin-bottom: 0.7rem;
}

.testimonial-quote {
  font-size: 1.08rem;
  color: #00394f;
  font-style: italic;
  margin-bottom: 0.2rem;
  position: relative;
  padding-left: 1.2rem;
}

.testimonial-quote:before {
  content: '“';
  color: #ffe066;
  font-size: 2.2rem;
  position: absolute;
  left: 0;
  top: -0.7rem;
  opacity: 0.7;
}

@media (max-width: 991.98px) {
  .testimonial-section {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* =========================================
   Layout Utilties (From Blog Detail 4)
   ========================================= */

/* Image Left, Text Right Layout */
.img-left-text-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.img-left-text-right img {
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.img-left-text-right .text-content {
  flex: 1;
  min-width: 250px;
}

/* Text Left, Image Right Layout */
.text-left-img-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.text-left-img-right img {
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
  order: 2;
}

.text-left-img-right .text-content {
  flex: 1;
  min-width: 250px;
  order: 1;
}