.elementor-8520 .elementor-element.elementor-element-a508a5f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-8520 .elementor-element.elementor-element-a508a5f.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-8520 .elementor-element.elementor-element-bf78494.elementor-element{--flex-grow:0;--flex-shrink:0;}@media(max-width:767px){.elementor-8520 .elementor-element.elementor-element-a508a5f{--width:321.111px;}.elementor-8520 .elementor-element.elementor-element-bf78494{width:var( --container-widget-width, 335.111px );max-width:335.111px;--container-widget-width:335.111px;--container-widget-flex-grow:0;}}/* Start custom CSS for text-editor, class: .elementor-element-bf78494 *//* 🌐 GLOBAL (SCOPED) */
.medicube-blog {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  line-height: 1.75;
  font-size: 16px;

  /* ❌ removed max-width + margin to allow full width */
  padding: 20px;
}

/* ✅ NEW: controls readable content width */
.content-wrap {
  max-width: 820px;
  margin: auto;
}

/* 🧠 HEADINGS */
.medicube-blog h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.medicube-blog h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
}

.medicube-blog h3 {
  font-size: 1.25rem;
  margin-top: 25px;
  margin-bottom: 12px;
  background: #fff3f6;
  padding: 12px 14px;
  border-left: 4px solid #e91e63;
  border-radius: 8px;
}

/* ✍️ TEXT */
.medicube-blog p {
  margin-bottom: 16px;
}

/* 📌 LISTS */
.medicube-blog ul,
.medicube-blog ol {
  margin: 15px 0 20px 22px;
}

.medicube-blog li {
  margin-bottom: 8px;
}

/* 🔗 LINKS */
.medicube-blog a {
  color: #d6336c;
  text-decoration: none;
  font-weight: 500;
}

.medicube-blog a:hover {
  text-decoration: underline;
}

/* 🖼️ IMAGE */
.medicube-blog .image-placeholder {
  margin: 30px 0;
  text-align: center;
}

.medicube-blog .image-placeholder img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.medicube-blog .credit {
  font-size: 0.8em;
  color: #777;
  margin-top: 6px;
}

/* 🚀 CTA BUTTON */
.medicube-blog .cta-btn {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(135deg, #e91e63, #d6336c);
  color: #fff !important;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* 📊 TABLE */
.medicube-blog .table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0;
}

.medicube-blog .table-wrapper table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.medicube-blog th,
.medicube-blog td {
  padding: 12px;
  border: 1px solid #eee;
}

.medicube-blog .product-images {
  display: flex;
  justify-content: center;
  align-items: center;   /* vertical alignment fix */
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px auto;     /* ensures centering */
  width: 100%;
  text-align: center;
}

.medicube-blog .product-images img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  background: #fff;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.medicube-blog .product-images img:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 20px 45px rgba(0,0,0,0.12),
    0 5px 12px rgba(0,0,0,0.08);
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .medicube-blog {
    padding: 15px;
    font-size: 15px;
  }

  .medicube-blog .product-images img {
    width: 45%;
    height: auto;
  }

  .medicube-blog .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* ✨ Editorial Picks Block */
.editorial-picks {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  margin-bottom: 25px;
  text-align: center;
}

.ep-title {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}

.ep-sub {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

/* 🔥 SCROLL */
.ep-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 5px 5px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ep-scroll::-webkit-scrollbar {
  display: none;
}

.ep-card {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eee;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  scroll-snap-align: start;
  transition: 0.25s ease;
}

.ep-card:active {
  transform: scale(0.96);
}

/* Desktop fallback */
@media (min-width: 768px) {
  .ep-scroll {
    justify-content: center;
    overflow: visible;
  }

  .ep-card {
    min-width: auto;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: none;
  }
}

@media (max-width: 768px) {

  .author-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 20px;
  }

  .author-box img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;

    margin-bottom: 12px;
    flex-shrink: 0;
  }

}/* End custom CSS */