/* ── Scroll Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform, opacity;
}
[data-reveal="left"] {
  transform: translateX(-36px);
}
[data-reveal="right"] {
  transform: translateX(36px);
}
[data-reveal].revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ── Category Tag Colors ── */
.bc-cat,
.fp-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}
.bc-cat.resume-tips,
.fp-cat-tag.resume-tips {
  background: #ba2325;
  color: white;
}
.bc-cat.fresher-jobs,
.fp-cat-tag.fresher-jobs {
  background: #ba2325;
  color: white;
}
.bc-cat.it-skills,
.fp-cat-tag.it-skills {
  background: #ba2325;
  color: white;
}
.bc-cat.career-guidance,
.fp-cat-tag.career-guidance {
  background: #ba2325;
  color: white;
}
.bc-cat.hiring-recruitment,
.fp-cat-tag.hiring-recruitment {
  background: #ba2325;
  color: white;
}
.bc-cat.campus-placement,
.fp-cat-tag.campus-placement {
  background: #ba2325;
  color: white;
}
.bc-cat.hr-workplace,
.fp-cat-tag.hr-workplace {
  background: #ba2325;
  color: white;
}
.bc-cat.interview-preparation,
.fp-cat-tag.interview-preparation {
  background: #ba2325;
  color: white;
}
.bc-cat.job-market,
.fp-cat-tag.job-market {
  background: #ba2325;
  color: white;
}

/* ============================================================
 MARQUEE TICKER
============================================================ */
.blog-ticker {
  background: var(--red);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}
.blog-ticker .ticker-track {
  display: inline-flex;
  animation: tickScroll 32s linear infinite;
}
.blog-ticker .tick-item {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  padding: 0 28px;
}
.blog-ticker .tick-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  margin-left: 28px;
  vertical-align: middle;
}
@keyframes tickScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.blog-ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* ============================================================
 SECTION 2 — SEARCH BAR
============================================================ */
.blog-search-section {
  padding: 80px 0;
  background: #fff;
}
.blog-search-inner {
  max-width: 820px;
  margin: 0 auto;
}

.blog-search-form {
  margin-top: 10px;
}
.search-field-wrap {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 8px 8px 8px 22px;
  transition: border-color 0.25s, box-shadow 0.25s;
  gap: 10px;
}
.search-field-wrap:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(160, 50, 50, 0.07);
}
.search-icon-left {
  font-size: 16px;
  color: var(--grey);
  flex-shrink: 0;
}
.search-field-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  color: var(--dark);
  outline: none;
  padding: 6px 0;
}
.search-field-wrap input::placeholder {
  color: #b0a09a;
}
.search-btn {
  border-radius: 40px !important;
  white-space: nowrap;
  padding: 11px 26px !important;
}

.quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.quick-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.qtag {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--grey);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Nunito Sans", sans-serif;
}
.qtag:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.search-results-wrap {
  margin-top: 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  padding-left: 6px;
}
.search-result-item i {
  color: var(--red);
  font-size: 14px;
}
.search-result-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
}
.search-result-item a:hover {
  color: var(--red);
}
.search-result-item span {
  font-size: 11px;
  color: var(--grey);
}

/* ============================================================
 SECTION 3 — CATEGORIES
============================================================ */

/*  */
/* ============================================================
   CATEGORY IMAGE CARDS
============================================================ */

.category-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
  cursor: pointer;
  transition: var(--transition);
  font-family: "Nunito Sans", sans-serif;
}
.cat-tab:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(160, 50, 50, 0.04);
}
.cat-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.cat-tab i {
  font-size: 12px;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.cat-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.35s ease;
  cursor: pointer;
  position: relative;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.cat-card-image {
  position: relative;
  overflow: hidden;
  height: 180px;
}

.cat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
  border: 2px solid #4b2325;
}

.cat-card:hover .cat-card-image img {
  transform: scale(1.1);
}

.cat-card-content {
  padding: 20px;
  text-align: center;
}

.cat-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.cat-card span {
  font-size: 13px;
  @media (max-width: 992px) {
    .cat-card-image {
      height: 160px;
    }
  }

  @media (max-width: 576px) {
    .cat-card-image {
      height: 140px;
    }
  }
  color: var(--grey);
}
.cat-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .category-cards-grid {
    grid-template-columns: 1fr;
  }
}

/*  */
/* ============================================================
   SECTION 3 — IMAGE CATEGORY CARDS (CLEAN VERSION)
============================================================ */

.blog-categories-section {
  padding: 80px 0;
  background: var(--cream);
}

/* ================= GRID ================= */

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Tablet */
@media (max-width: 992px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .category-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CARD ================= */

.cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

/* ================= IMAGE ================= */

.cat-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.cat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

/* Image zoom */
.cat-card:hover .cat-card-image img {
  transform: scale(1.1);
}

/* Overlay (light by default) */
.cat-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: 0.4s ease;
}

/* Dark overlay on hover */
.cat-card:hover .cat-card-image::after {
  background: rgba(0, 0, 0, 0.7);
}

/* ================= CONTENT ================= */

.cat-card-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  color: #fff;
  z-index: 2;
  transition: 0.3s ease;
}

.cat-card-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: 0.3s ease;
  color: white;
}

.cat-card-content span {
  font-size: 14px;
  opacity: 0.85;
  transition: 0.3s ease;
}

/* Hover text effect */
.cat-card:hover .cat-card-content h4 {
  font-weight: 800;
  color: #ffffff;
}

.cat-card:hover .cat-card-content span {
  opacity: 1;
  font-weight: 600;
}
/* ============================================================
   SECTION 3 — CATEGORIES (IMAGE CARDS)
============================================================ */

.blog-categories-section {
  padding: 80px 0;
  background: var(--cream);
}

/* ================= GRID ================= */

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Tablet */
@media (max-width: 992px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .category-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CARD ================= */

.cat-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Hover lift */
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ================= IMAGE ================= */

.cat-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.cat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

/* Zoom effect */
.cat-card:hover .cat-card-image img {
  transform: scale(1.12);
}

/* Overlay */
.cat-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.2),
    transparent
  );
  transition: 0.4s ease;
}

/* Darker on hover */
.cat-card:hover .cat-card-image::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.3),
    transparent
  );
}

/* ================= CONTENT ================= */

.cat-card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  z-index: 2;
}

.cat-card-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.cat-card-content span {
  font-size: 14px;
  opacity: 0.9;
}
/* ============================================================
 SECTION 4 — FEATURED POST
============================================================ */
.featured-post-section {
  padding: 80px 0;
  background: #fff;
}

.featured-post-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.featured-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(70, 43, 52, 0.65);
}
/* Make sure button has positioning */
.theme-btn-two {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Trigger button overlay animation when CARD is hovered */
.featured-post-card:hover .theme-btn-two:after {
  transform: scaleX(1);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

/* Optional: change text color on card hover */
.featured-post-card:hover .theme-btn-two {
  color: #fff !important;
}

.fp-image-side {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}
.fp-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.fp-image-side img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fp-image-side:hover img {
  transform: scale(1.08);
}
.fp-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(70, 43, 52, 0.4), transparent);
}
.fp-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fp-read-time {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fp-content-side {
  padding: 50px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
}
.fp-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fp-date {
  font-size: 12px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 5px;
}
.fp-content-side h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: var(--burgundy);
  line-height: 1.3;
  margin: 0 0 18px;
}
.fp-content-side > p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}
.fp-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.fp-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, var(--red), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

/* Image inside avatar */
.fp-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional subtle hover */
.fp-author-row:hover .fp-author-avatar img {
  transform: scale(1.05);
  transition: 0.4s ease;
}
.fp-author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.fp-author-info span {
  font-size: 12px;
  color: var(--grey);
}
.fp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.fp-engagement {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.fp-engagement span {
  font-size: 12px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 5px;
}
.fp-engagement span i {
  color: var(--red);
}

/* ============================================================
 SECTION 5 — LATEST BLOG POSTS
============================================================ */
.latest-blogs-section {
  padding: 80px 0;
  /* background: var(--cream); */

  position: relative;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;

  background: url("/assets/images/shape/pattern-22.png") no-repeat center center;
  background-size: cover;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-radius: 30px;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}
.blog-card.hidden-card {
  display: none;
}
.blog-card.hidden-card.visible {
  display: flex;
}
/* 
.bc-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}
.bc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .bc-image img {
  transform: scale(1.06);
} */

.bc-image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.bc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* DEEP ZOOM */
.blog-card:hover .bc-image img {
  transform: scale(1.18);
}

.bc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3),
    transparent
  );
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.blog-card:hover .bc-body h4 a {
  color: var(--red);
}

/* DARKER ON HOVER */
.blog-card:hover .bc-img-overlay {
  opacity: 0.9;
}
.bc-cat {
  position: absolute;
  top: 14px;
  left: 14px;
}

.bc-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bc-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.bc-meta span {
  font-size: 11px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 4px;
}
.bc-meta span i {
  color: var(--red);
}
.bc-body h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--burgundy);
  margin: 0 0 10px;
  line-height: 1.45;
  flex: 1;
}
.bc-body h4 a {
  color: inherit;
  transition: color 0.25s;
}
.bc-body h4 a:hover {
  color: var(--red);
}
.bc-body > p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.65;
  margin: 0 0 18px;
}
.bc-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  transition: gap 0.25s, color 0.25s;
  margin-top: auto;
}
.bc-read-more:hover {
  gap: 12px;
  color: var(--burgundy);
}

/* Load More */
.blog-load-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.blog-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: #fff;
  color: var(--grey);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Nunito Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.pg-btn:hover:not(.active) {
  border-color: var(--red);
  color: var(--red);
}
.pg-next {
  width: auto;
  padding: 0 14px;
}

/* ============================================================
 SECTION 6 — TRENDING POSTS
============================================================ */
.trending-section {
  /* padding: 80px 0; */
  background: #fff;

  position: relative;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;

  background: url("/assets/images/shape/pattern-39.png") no-repeat center center;
  background-size: cover;
}
/* ============================================================
   TRENDING SECTION — 3 CARDS IN ROW WITH HOVER EFFECTS
============================================================ */

/* .trending-section {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
} */

/* ===== 3 CARDS GRID ===== */
.trending-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===== TRENDING CARDS ===== */
.trending-col {
  background: #fcf9f7;
  border: 1px solid #ba2325;
  border-radius: 24px;
  padding: 30px 26px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Card hover effect - lift and shadow */
.trending-col:hover {
  transform: translateY(-10px);
  /* box-shadow: 0 25px 50px rgba(186, 35, 37, 0.15); */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.95);

  border-color: rgba(186, 35, 37, 0.3);
  background: #ffffff;
}

/* Subtle gradient overlay on hover */
.trending-col::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(186, 35, 37, 0.02) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.trending-col:hover::after {
  opacity: 1;
}

/* Card Header */
.trending-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(224, 214, 208, 0.6);
  position: relative;
  z-index: 2;
  transition: border-color 0.3s ease;
}

.trending-col:hover .trending-col-header {
  border-bottom-color: rgba(186, 35, 37, 0.3);
}

.trending-col-header i {
  font-size: 20px;
  color: #ba2325;
  transition: all 0.3s ease;
}

.trending-col:hover .trending-col-header i {
  transform: scale(1.1) rotate(5deg);
  color: #462b34;
}

.trending-col-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #462b34;
  margin: 0;
  transition: color 0.3s ease;
}

.trending-col:hover .trending-col-header h3 {
  color: #ba2325;
}

/* ===== NUMBERED LIST ITEMS ===== */
.trending-list.numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.trending-list.numbered li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 8px 8px 0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.trending-list.numbered li:hover {
  /* background: rgba(186, 35, 37, 0.04); */
  padding-left: 12px;
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.95);
  border: 1px solid #ba2325;
}

.tl-rank {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 900;
  color: #d4c4bc;
  line-height: 1.3;
  min-width: 32px;
  transition: all 0.3s ease;
}

.trending-list.numbered li:hover .tl-rank {
  color: #ba2325;
  transform: scale(1.1);
}

.tl-info {
  flex: 1;
}

.tl-info a {
  font-size: 14px;
  font-weight: 600;
  color: #2d2d2d;
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 5px;
  display: block;
  transition: color 0.2s ease;
}

.tl-info a:hover {
  color: #ba2325;
}

.tl-info span {
  font-size: 11px;
  color: #766068;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tl-info span i {
  color: #ba2325;
  font-size: 10px;
}

/* ===== TAGS CLOUD ===== */
.trending-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.trend-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(224, 214, 208, 0.6);
  color: #462b34;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.trend-tag span {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.trend-tag:hover {
  background: #ba2325;
  border-color: #ba2325;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(186, 35, 37, 0.2);
}

.trend-tag.hot {
  background: rgba(186, 35, 37, 0.08);
  border-color: rgba(186, 35, 37, 0.3);
  color: #ba2325;
  font-weight: 600;
}

.trend-tag.hot:hover {
  background: #ba2325;
  color: #ffffff;
}

.trend-tag.hot:hover span {
  transform: rotate(10deg);
}

/* ===== SHARED ITEMS ===== */
.shared-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.shared-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.shared-item:hover {
  background: #ffffff;
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.95);
  border: 2px solid #ba2325;
}

.shared-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.shared-item:hover .shared-img {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(186, 35, 37, 0.15);
}

.shared-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shared-item:hover .shared-img img {
  transform: scale(1.1);
}

.shared-info {
  flex: 1;
}

.shared-info a {
  font-size: 14px;
  font-weight: 600;
  color: #2d2d2d;
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 5px;
  display: block;
  transition: color 0.2s ease;
}

.shared-info a:hover {
  color: #ba2325;
}

.shared-info span {
  font-size: 11px;
  color: #766068;
  display: flex;
  align-items: center;
  gap: 4px;
}

.shared-info span i {
  color: #ba2325;
  font-size: 10px;
}

/* ===== BOTTOM CTA BUTTON ===== */
.trending-bottom-cta {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 5;
}

.trending-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #462b34, #ba2325);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 15px 30px rgba(186, 35, 37, 0.25);
  position: relative;
  overflow: hidden;
}

.trending-cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 1;
}

.trending-cta-btn i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.trending-cta-btn span {
  position: relative;
  z-index: 2;
}

.trending-cta-btn:hover {
  background: transparent;
  border-color: #ba2325;
  color: #462b34;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 45px rgba(186, 35, 37, 0.35);
}

.trending-cta-btn:hover::before {
  width: 400px;
  height: 400px;
}

.trending-cta-btn:hover i:last-child {
  transform: translateX(8px);
}

.trending-cta-btn:hover i:first-child {
  transform: rotate(10deg);
}

/* ===== RESPONSIVE STYLES ===== */

/* Keep 3 cards until tablet */
@media (max-width: 1024px) {
  .trending-layout {
    gap: 20px;
  }

  .trending-col {
    padding: 25px 20px;
  }
}

/* Switch to 1 card on mobile */
@media (max-width: 900px) {
  .trending-section {
    padding: 70px 0;
  }

  .trending-section .sec-title h2 {
    font-size: 36px;
  }

  .trending-layout {
    grid-template-columns: 1fr; /* 1 card on mobile */
    gap: 25px;
    max-width: 550px;
    margin: 0 auto;
  }

  .trending-cta-btn {
    padding: 14px 32px;
    font-size: 15px;
  }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
  .trending-section {
    padding: 60px 0;
  }

  .trending-section .sec-title h2 {
    font-size: 28px;
  }

  .trending-section .sec-title p {
    font-size: 15px;
  }

  .trending-col {
    padding: 22px 16px;
  }

  .trending-cta-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* ============================================================
   NEWSLETTER — ELEGANT PREMIUM VERSION
============================================================ */

.newsletter-section {
  padding: 100px 0;
  /* background: linear-gradient(135deg, #462b34 0%, #2f1a22 100%); */
  text-align: center;
  position: relative;
  overflow: hidden;

  position: relative;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;

  background: url("/assets/images/shape/pattern-5.png") no-repeat center center;
  background-size: cover;
}

.newsletter-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ===== FORM CONTAINER ===== */

.newsletter-form {
  margin-top: 40px;
}

.nl-form-row {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  /* border: 2px solid #ba2325; */
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transition: 0.4s ease;
  border-left: 6px solid #ba2325;
  border-right: 6px solid #ba2325;
  border-top: 1px solid #ba2325;
  border-bottom: 1px solid #ba2325;
}

.nl-form-row:focus-within {
  box-shadow: 0 25px 60px rgba(186, 35, 37, 0.35);
  border-color: rgba(186, 35, 37, 0.6);
}

/* ===== INPUT FIELDS ===== */

.nl-field {
  flex: 1;
}

.nl-field input {
  width: 100%;
  /* border: none; */
  outline: none;
  padding: 14px 20px;
  border-radius: 5px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: #462b34;
  font-weight: 500;
  transition: 0.3s ease;
  border: 0.75px solid #462b34;
  /* border-bottom: 2px solid #ba2325; */
  box-shadow: rgba(10, 10, 10, 0.95);
}

.nl-field input::placeholder {
  color: #999;
}

/* ===== BUTTON ===== */

.newsletter-formtheme-btn-two {
  background: linear-gradient(135deg, #ba2325, #8f1a1c);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
}

.nl-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(186, 35, 37, 0.65);
}

/* ===== INTEREST TAGS ===== */

.nl-interests {
  margin-top: 30px;
}

.nl-interests-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.nl-interest-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ni-tag {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: 0.3s ease;
}

.ni-tag input {
  display: none;
}

.ni-tag:hover {
  background: #ba2325;
  border-color: #ba2325;
  color: #ffffff;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .nl-form-row {
    flex-direction: column;
    border-radius: 24px;
  }

  .nl-btn {
    width: 100%;
  }
}

/* ============================================================
   TABLET RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .newsletter-section {
    padding: 80px 30px;
  }

  .newsletter-inner {
    max-width: 95%;
  }

  .nl-form-row {
    gap: 12px;
    padding: 16px;
  }

  .nl-field input {
    font-size: 14px;
    padding: 12px 16px;
  }
} /* ============================================================
   MOBILE RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .newsletter-section {
    padding: 60px 20px;
  }

  .nl-form-row {
    flex-direction: column; /* stack inputs */
    border-radius: 20px;
    gap: 14px;
    padding: 18px;
  }

  .nl-field {
    width: 100%;
  }

  .nl-field input {
    width: 100%;
    border-radius: 8px;
  }

  .newsletter-form .theme-btn-two {
    width: 100%;
    border-radius: 8px;
    text-align: center;
  }
} /* ============================================================
   SMALL MOBILE
============================================================ */
@media (max-width: 480px) {
  .newsletter-section {
    padding: 50px 15px;
  }

  .sec-title h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .sec-title p {
    font-size: 14px;
  }
}
/* ============================================================
 SECTION 8 — BLOG CTA BANNER
============================================================ */
.blog-cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--burgundy) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bcta-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.bcta-bg-shape.s1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.06);
  top: -200px;
  right: -100px;
}
.bcta-bg-shape.s2 {
  width: 280px;
  height: 280px;
  background: rgba(0, 0, 0, 0.1);
  bottom: -100px;
  left: -50px;
}
.bcta-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.bcta-icon-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}
.bcta-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  animation: bctaIconFloat 3s ease-in-out infinite;
}
.bcta-icon:nth-child(2) {
  animation-delay: -1s;
}
.bcta-icon:nth-child(3) {
  animation-delay: -2s;
}
@keyframes bctaIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.bcta-inner .sec-title {
  margin-bottom: 24px;
}
.bcta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.bcta-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
}
.bcta-feat i {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.bcta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
 SECTION 9 — FOOTER EXTRAS
============================================================ */
.footer-popular-blogs li a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45) !important;
}
.footer-popular-blogs li a i {
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-popular-blogs li a:hover {
  color: #fff !important;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}
.footer-contact-list li i {
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact-list li a:hover {
  color: #fff;
}

.footer-nl-form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.footer-nl-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #fff;
  outline: none;
  font-family: "Nunito Sans", sans-serif;
  transition: border-color 0.25s;
}
.footer-nl-form input:focus {
  border-color: var(--red);
}
.footer-nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.footer-nl-form button {
  background: var(--red);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.footer-nl-form button:hover {
  background: var(--red-light);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.25s;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--burgundy);
}

/* ============================================================
 TABLET RESPONSIVE (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  .category-cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .featured-post-card {
    grid-template-columns: 1fr;
  }
  .fp-image-side {
    min-height: 300px;
  }
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trending-layout {
    grid-template-columns: 1fr 1fr;
  }
  .trending-layout .trending-col:last-child {
    grid-column: 1 / -1;
  }
  .nl-form-row {
    border-radius: 14px;
    padding: 16px;
  }

  .nl-field:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  .newsletter-form .blog-btn-white {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .nl-form-row {
    flex-wrap: wrap;
  }

  .nl-field {
    flex: 1 1 48%;
  }

  .newsletter-form .theme-btn-two {
    flex: 1 1 100%;
  }
}
/* ============================================================
 MOBILE RESPONSIVE (max 768px)
============================================================ */
@media (max-width: 768px) {
  .auto-container {
    padding: 0 18px;
  }

  /* Hero */
  .blog-hero {
    padding: 60px 0 70px;
    min-height: auto;
  }
  .blog-hero-content h1 {
    font-size: 40px;
  }
  .bh-stats-row {
    gap: 16px;
  }
  .bh-stat strong {
    font-size: 22px;
  }
  .bh-btns {
    flex-direction: column;
  }
  .bh-btns a {
    width: 100%;
    justify-content: center;
  }

  /* Sections padding */
  .blog-search-section,
  .blog-categories-section,
  .featured-post-section,
  .latest-blogs-section,
  .trending-section,
  .newsletter-section,
  .blog-cta-section {
    padding: 60px 0;
  }

  /* Search */
  .search-field-wrap {
    border-radius: var(--radius-md);
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .search-btn {
    width: 100%;
    border-radius: var(--radius-sm) !important;
    justify-content: center;
  }

  /* Categories */
  .category-tabs-wrap {
    gap: 8px;
  }
  .cat-tab {
    font-size: 12px;
    padding: 7px 14px;
  }
  .category-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .cat-card {
    padding: 18px 12px;
  }
  .cat-card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .cat-card h4 {
    font-size: 11px;
  }

  /* Featured */
  .fp-content-side {
    padding: 28px 24px;
  }
  .fp-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .fp-engagement {
    gap: 12px;
  }

  /* Blog grid */
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  /* Load more */
  .blog-load-more-wrap {
    flex-direction: column;
    gap: 20px;
  }

  /* Trending */
  .trending-layout {
    grid-template-columns: 1fr;
  }
  .trending-layout .trending-col:last-child {
    grid-column: 1;
  }

  /* Newsletter */
  .nl-stats {
    gap: 20px;
  }
  .nl-stat strong {
    font-size: 20px;
  }

  /* CTA */
  .bcta-btns {
    flex-direction: column;
    align-items: center;
  }
  .bcta-btns a {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .bcta-features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
 SMALL MOBILE (max 480px)
============================================================ */
@media (max-width: 480px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bh-stats-row {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .bh-stat-div {
    display: none;
  }
  .blog-hero-content h1 {
    font-size: 32px;
  }
  .bcta-icon-group {
    gap: 10px;
  }
  .bcta-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .trending-tags-cloud .trend-tag {
    font-size: 11px;
  }
  .nl-interests-label {
    font-size: 11px;
  }
  .cat-tab {
    font-size: 11px;
    padding: 6px 12px;
  }
  .cat-tab i {
    display: none;
  }
}

/* 
 */

/* ===== BLOG PAGE SMOOTH ANIMATIONS ===== */

/* Scroll Progress Bar */
.blog-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  /* background: linear-gradient(90deg, #ba2325, #462b34); */
  z-index: 99999;
  transition: width 0.1s ease;
  /* box-shadow: 0 2px 10px rgba(186, 35, 37, 0.3); */
}

/* Base Animation Class */
.blog-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Visible State */
.blog-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Page Title Animation */
.page-title {
  opacity: 1;
}

/* Category Cards Stagger */
.cat-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.blog-categories-section.blog-visible .cat-card:nth-child(1) {
  transition-delay: 0.1s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(2) {
  transition-delay: 0.2s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(3) {
  transition-delay: 0.3s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(4) {
  transition-delay: 0.4s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(5) {
  transition-delay: 0.5s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(6) {
  transition-delay: 0.6s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(7) {
  transition-delay: 0.7s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(8) {
  transition-delay: 0.8s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(9) {
  transition-delay: 0.9s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(10) {
  transition-delay: 1s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(11) {
  transition-delay: 1.1s;
}
.blog-categories-section.blog-visible .cat-card:nth-child(12) {
  transition-delay: 1.2s;
}

/* Blog Cards Stagger */
.blog-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.latest-blogs-section.blog-visible .blog-card:nth-child(1) {
  transition-delay: 0.1s;
}
.latest-blogs-section.blog-visible .blog-card:nth-child(2) {
  transition-delay: 0.2s;
}
.latest-blogs-section.blog-visible .blog-card:nth-child(3) {
  transition-delay: 0.3s;
}
.latest-blogs-section.blog-visible .blog-card:nth-child(4) {
  transition-delay: 0.4s;
}
.latest-blogs-section.blog-visible .blog-card:nth-child(5) {
  transition-delay: 0.5s;
}
.latest-blogs-section.blog-visible .blog-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Trending Columns Stagger */
.trending-col {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.trending-section.blog-visible .trending-col:nth-child(1) {
  transition-delay: 0.1s;
}
.trending-section.blog-visible .trending-col:nth-child(2) {
  transition-delay: 0.2s;
}
.trending-section.blog-visible .trending-col:nth-child(3) {
  transition-delay: 0.3s;
}

/* Featured Post */
.fp-content-side,
.fp-image-side {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.featured-post-section.blog-visible .fp-image-side {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.featured-post-section.blog-visible .fp-content-side {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Search Box */
.search-box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Category Tabs */
.category-tabs-wrap {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Newsletter Section */
.newsletter-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* CTA Section */
.cta-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Blog Details Page */
.blog-details-content .inner-box,
.blog-details-content .image-box,
.blog-details-content .text,
.blog-details-content .post-time,
.author-box,
.comment-box,
.comments-form-area,
.sidebar-widget,
.search-widget,
.post-widget,
.sidebar-tags,
.nav-btn-box,
.post-share-option {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Sidebar Widgets Stagger */
.sidebar-page-container.blog-visible .sidebar-widget:nth-child(1) {
  transition-delay: 0.1s;
}
.sidebar-page-container.blog-visible .sidebar-widget:nth-child(2) {
  transition-delay: 0.2s;
}
.sidebar-page-container.blog-visible .sidebar-widget:nth-child(3) {
  transition-delay: 0.3s;
}

/* Navigation Buttons */
.nav-btn-box .left-btn,
.nav-btn-box .right-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.blog-visible .nav-btn-box .left-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.blog-visible .nav-btn-box .right-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-animate {
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .cat-card,
  .blog-card,
  .trending-col {
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}
