/* Center page with clean blog card */
.dermeto-blog {
  max-width: 800px;
  margin: 40px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: #333;
}
/* Blog page header outside the white container */
.blog-hero-header {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: left  center;
  background-repeat: no-repeat;
  position: relative;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
}

.blog-hero-header .hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px;
  box-sizing: border-box;
  background: 
    linear-gradient(to left, #fcecef 50%, transparent 50%),
    url('images/sun_damage.jpg');
	 background-size: cover;
  background-position: right center; /* Adjust to left/center/right as needed */
   
}


.hero-text {
  max-width: 900px;
  text-align: right;
  margin-left: auto;
}

.hero-text h1 {
  font-size: 2.6rem;
  color: #ba1a54;
  margin: 0;
  line-height: 1.3;
}

.hero-text .meta {
  font-size: 1rem;
  color: #555;
  margin-top: 12px;
}

/* ===== HEADER MOBILE STYLES ===== */
@media (max-width: 768px) {
  .blog-hero-header {
    height: auto; /* Let height grow as needed */
    background:
      linear-gradient(to bottom, #fcecef 30%, transparent 70%),
      url('images/skin_breakout.jpg');
    background-position: center;
    background-size: cover;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .blog-hero-header .hero-overlay {
    padding: 30px 20px;
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    margin-left: 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text .meta {
    font-size: 0.9rem;
  }
}


/* Sections and paragraphs */
.dermeto-blog .section {
  margin-bottom: 50px;
}

.dermeto-blog h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #ba1a54;
}

.dermeto-blog .text,
.dermeto-blog .highlight,
.dermeto-blog .tip {
  margin-top: 10px;
  font-size: 1rem;
}

.dermeto-blog .highlight {
  background-color: #fff4f4;
  padding: 10px 15px;
  border-left: 4px solid #ff8585;
  border-radius: 10px;
  font-style: italic;
}

.dermeto-blog .tip {
  background-color: #f1faff;
  padding: 10px 15px;
  border-left: 4px solid #00bcd4;
  border-radius: 10px;
}

/* CTA Section */
.dermeto-blog .cta {
  background-color: #fcecef;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 20px
}

.dermeto-blog .cta a {
  display: inline-block;
  margin-top: 15px;
  background: #ba1a54;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
}
.cta-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Footer */
.dermeto-blog .footer {
  margin-top: 40px;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
}
.blog-page-header {
  width: 100%;
  background-color: #fcecef;
  padding: 30px 20px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.blog-page-header .header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.blog-page-header .header-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-page-header .header-text {
  max-width: 600px;
}

.blog-page-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #ba1a54;
  font-weight: 600;
}

.blog-page-header .meta {
  font-size: 0.95rem;
  color: #555;
  margin-top: 6px;
}
/* Testimonials*/

.testimonial {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: #fff;
  border-left: 4px solid #ba1a54;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.user-icon {
  font-size: 2.2rem;
  color: #ba1a54;
  margin-right: 16px;
}

.testimonial-text {
  flex: 1;
}

.testimonial .quote {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #444;
}

.testimonial .client {
  text-align: right;
  font-size: 0.9rem;
  color: #666;
}
/* Treatement Plan */

/* Treatment Options Section */
.treatment-options h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #ba1a54;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.treatment-box {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.treatment-box:hover {
  transform: translateY(-5px);
}

.treatment-box i {
  font-size: 2rem;
  color: #ba1a54;
  margin-bottom: 15px;
}

.treatment-box h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333;
}

.treatment-box p {
  font-size: 0.95rem;
  color: #555;
}
.treatment-box.image-only {
  padding: 0;
  background: none;
  box-shadow: none;
}

.treatment-box.image-only img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
/* Blog Main */
    .blog-list-container {
      max-width: 1100px;
      margin: 60px auto;
      padding: 0 20px;
    }

    .blog-list-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .blog-list-header h1 {
      font-size: 2.5rem;
      color: #ba1a54;
    }

    .blog-cards {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: l;
    }

    .blog-card {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      width: 100%;
      max-width: 500px;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }

    .blog-card:hover {
      transform: translateY(-5px);
    }

    .blog-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .blog-content {
      padding: 20px;
    }

    .blog-content h2 {
      font-size: 1.4rem;
      color: #ba1a54;
      margin-top: 0;
    }

    .blog-meta {
      font-size: 0.9rem;
      color: #777;
      margin: 8px 0;
    }

    .blog-excerpt {
      font-size: 1rem;
      margin-bottom: 16px;
    }

    .read-more {
      display: inline-block;
      color: #fff;
      background: #ba1a54;
      padding: 10px 18px;
      border-radius: 30px;
      text-decoration: none;
      font-size: 0.95rem;
    }

    .read-more:hover {
      background: #a01649;
    }
	.no-bullets {
  list-style: none;
  padding-left: 0;
}

@media (max-width: 768px) {
  /* Main container padding */
  .dermeto-blog {
    padding: 20px;
    margin: 20px 10px;
  }

  /* Hero section */
  .blog-hero-header {
    height: auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .blog-hero-header .hero-overlay {
    padding: 30px 20px;
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    margin-left: 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .hero-text .meta {
    font-size: 0.9rem;
  }

  /* Section spacing */
  .dermeto-blog .section {
    margin-bottom: 40px;
  }

  /* Testimonials */
  .testimonial {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .user-icon {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .testimonial .quote {
    font-size: 0.95rem;
  }

  .testimonial .client {
    font-size: 0.85rem;
    text-align: left;
  }

  /* Treatment boxes grid: single column on small screens */
  .treatment-grid {
    grid-template-columns: 1fr;
  }

  /* CTA section */
  .cta-img {
    width: 140px;
    height: 140px;
  }

  .dermeto-blog .cta {
    padding: 15px;
  }

  /* Blog Cards (if listing multiple posts) */
  .blog-cards {
    flex-direction: column;
    gap: 20px;
  }

  .blog-card {
    max-width: 100%;
  }

  .blog-card img {
    height: 180px;
  }

  .blog-content h2 {
    font-size: 1.3rem;
  }

  .read-more {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  /* Blog List Header */
  .blog-list-header h1 {
    font-size: 1.8rem;
  }

  /* Reduce padding for list container */
  .blog-list-container {
    margin: 40px auto;
    padding: 0 15px;
  }
}
