/* ========================================
   LASH AND BEAUTY — Blog Page Styles
   ======================================== */

/* ---- Hero ---- */
.blog-hero {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #000000 0%, #4a2a2e 40%, #d2888d 100%);
  overflow: hidden;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(210, 136, 141, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(210, 136, 141, 0.1) 0%,
      transparent 50%
    );
}
.blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.25);
}
.blog-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 0 4rem;
}
.blog-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}
.blog-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.blog-hero__title em { color: #D2888D; font-style: italic; }
.blog-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Tabs ---- */
.blog-tabs {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0;
  position: sticky;
  top: 70px;
  z-index: 30;
}
.tabs-bar {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  -webkit-overflow-scrolling: touch;
}
.tabs-bar::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  padding: 0.55rem 1.25rem;
  border: 1px solid #e8e8e8;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #666;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
}
.tab-btn:hover {
  border-color: #d2888d;
  color: #d2888d;
}
.tab-btn.active {
  background: linear-gradient(135deg, #d2888d, #c47a7f);
  color: #fff;
  border-color: transparent;
}

/* ---- Featured Article ---- */
.blog-featured {
  padding: 3rem 0 1rem;
  background: #fdf6f6;
}
.featured-card {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}
.featured-card:hover {
  transform: translateY(-4px);
}
.featured-card__image {
  width: 50%;
  min-height: 340px;
  overflow: hidden;
  flex-shrink: 0;
}
.featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-card:hover .featured-card__image img {
  transform: scale(1.04);
}
.featured-card__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.featured-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #d2888d, #c47a7f);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.featured-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.featured-card__excerpt {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 1.5rem;
}
.featured-card__meta i {
  margin-right: 0.3rem;
  color: #d2888d;
}
.featured-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d2888d;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.25s;
}
.featured-card__link:hover {
  gap: 0.8rem;
}

/* ---- Articles Grid ---- */
.blog-articles {
  padding: 3rem 0 4rem;
  background: #fdf6f6;
}
.section-title {
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.75rem;
}
.section-title i {
  color: #d2888d;
  margin-right: 0.5rem;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ---- Article Card ---- */
.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}
.article-card__image {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5e8e9, #f0dada);
}
.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-card__image img {
  transform: scale(1.06);
}
.article-card__cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(210, 136, 141, 0.9);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.article-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__title {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.article-card__excerpt {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}
.article-card__date {
  font-size: 0.72rem;
  color: #aaa;
}
.article-card__date i {
  margin-right: 0.25rem;
}
.article-card__read {
  font-size: 0.75rem;
  color: #d2888d;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.article-card:hover .article-card__read {
  gap: 0.55rem;
}

/* ---- Empty state ---- */
.articles-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #999;
}
.articles-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ddd;
}
.articles-empty h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 0.5rem;
}

/* ---- Ebooks Section ---- */
.blog-ebooks {
  padding: 4.5rem 0 4rem;
  background: #fff;
}
.ebooks-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.ebooks-header__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #d2888d, #c47a7f);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.ebooks-header__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.ebooks-header__title em {
  color: #d2888d;
  font-style: italic;
}
.ebooks-header__desc {
  font-size: 1rem;
  color: #666;
  max-width: 520px;
  margin: 0 auto;
}
.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ---- Ebook Card ---- */
.ebook-card {
  background: linear-gradient(145deg, #fdf8f8, #f8eeef);
  border: 1px solid #f0e0e2;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ebook-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(210, 136, 141, 0.15);
  border-color: transparent;
}
.ebook-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.ebook-card__icon--skincare {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
}
.ebook-card__icon--makeup {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  color: #c62828;
}
.ebook-card__icon--hair {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #e65100;
}
.ebook-card__icon--sales {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1565c0;
}
.ebook-card__icon--lashes {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  color: #d2888d;
}
.ebook-card__icon--essential {
  background: linear-gradient(135deg, #fffde7, #fff9c4);
  color: #f57f17;
}
.ebook-card__pdf-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.ebook-card__title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ebook-card__desc {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  flex: 1;
}
.ebook-card__pages {
  font-size: 0.72rem;
  color: #aaa;
  margin-bottom: 1.25rem;
}
.ebook-card__pages i {
  margin-right: 0.25rem;
}
.ebook-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #d2888d, #c47a7f);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.25s;
  text-decoration: none;
}
.ebook-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(210, 136, 141, 0.3);
}

/* ---- Newsletter ---- */
.blog-newsletter {
  padding: 4rem 0;
  background: #fdf6f6;
}
.newsletter-card {
  background: linear-gradient(135deg, #000000 0%, #4a2a2e 50%, #d2888d 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 70%,
      rgba(210, 136, 141, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(210, 136, 141, 0.1) 0%,
      transparent 50%
    );
}
.newsletter-card > * {
  position: relative;
  z-index: 1;
}
.newsletter-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffd700;
  margin: 0 auto 1.25rem;
  backdrop-filter: blur(8px);
}
.newsletter-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.newsletter-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}
.newsletter-form__row {
  display: flex;
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-form__row input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  backdrop-filter: blur(6px);
}
.newsletter-form__row input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.newsletter-form__row input:focus {
  outline: none;
  border-color: #ffd700;
  background: rgba(255, 255, 255, 0.15);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ebooks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-card {
    flex-direction: column;
  }
  .featured-card__image {
    width: 100%;
    min-height: 240px;
  }
}
@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .ebooks-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero__content {
    padding: 3.5rem 0 3rem;
  }
  .blog-hero__title {
    font-size: 1.8rem;
  }
  .newsletter-form__row {
    flex-direction: column;
  }
  .newsletter-card {
    padding: 2.5rem 1.5rem;
  }
  .featured-card__body {
    padding: 1.5rem;
  }
  .featured-card__title {
    font-size: 1.25rem;
  }
  .tabs-bar {
    gap: 0.5rem;
  }
}
