
#hero-13 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
  padding: 6rem 0;
  text-align: center;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  --hero-overlay-color: transparent;
}
#hero-13::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--hero-overlay-color);
  z-index: 1;
  pointer-events: none;
}
#hero-13 .container {
  position: relative;
  z-index: 2;
}
#hero-13 .hero-content-wrapper-13 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
#hero-13 .hero-title-13 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-13 .hero-subtitle-13 {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
#hero-13 .cta-button-wrapper-13 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
#hero-13 .hero-cta-button-13 {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
#hero-13 .hero-cta-button-13.cta-style-secondary {
  border-color: #ffffff;
}
#hero-13 .hero-cta-button-13:hover {
  transform: translateY(-2px);
  filter: brightness(110%);
}
@media (max-width: 767.98px) {
  #hero-13 {
    min-height: 55vh;
    padding: 4rem 0;
  }
  #hero-13 .hero-title-13 {
    font-size: 2.3rem;
  }
  #hero-13 .hero-subtitle-13 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  #hero-13 .cta-button-wrapper-13 {
    gap: 0.8rem;
  }
}



/* Scoped variables for section */
#category-posts-24 {
  --cp-gradient-bg: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
  padding: 80px 20px;
  background: var(--cp-gradient-bg);
  overflow: hidden;
  position: relative;
}

/* Header */
#category-posts-24 .section-header {
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}
#category-posts-24 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
#category-posts-24 .section-subtitle {
  font-size: 1.125rem;
  opacity: .9;
}

/* Grid */
#category-posts-24 .flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}

/* Fade-in on scroll */
#category-posts-24 .flip-card-wrapper {
  perspective: 1000px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
#category-posts-24 .flip-card-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card */
#category-posts-24 .flip-card {
  width: 100%;
  height: 360px;
  position: relative;
}
#category-posts-24 .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
#category-posts-24 .flip-card-wrapper:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
#category-posts-24 .flip-card-front,
#category-posts-24 .flip-card-back {
  position: absolute;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Front side */
#category-posts-24 .flip-card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
}
#category-posts-24 .flip-card-front img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
#category-posts-24 .flip-card-front .front-body {
  padding: 1rem;
  flex: 1;
}
#category-posts-24 .flip-card-front h3 {
  font-size: 1.125rem;
  margin: 0;
  color: #333;
}

/* Back side */
#category-posts-24 .flip-card-back {
  background: rgba(255,255,255,0.95);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
#category-posts-24 .flip-card-back p {
  font-size: .95rem;
  color: #444;
  flex: 1;
  margin-bottom: 1rem;
}
#category-posts-24 .flip-card-back .btn-readmore {
  align-self: flex-end;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  background: #66a6ff;
  border-radius: .5rem;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-24 .flip-card-back .btn-readmore:hover {
  background: #89f7fe;
  transform: translateY(-2px);
}

/* Pagination & Load More */
#category-posts-24 .pagination-wrapper,
#category-posts-24 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}




/* === Section Base === */
#post-section-10 .post-section {
  padding: 60px 0;
  background: #f5f5f5;
}
#post-section-10 .post-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
#post-section-10 .post-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
#post-section-10 .post-section .section-header p {
  font-size: 1rem;
  color: #666;
  margin-top: 8px;
}

/* === Card Grid === */
#post-section-10 .post-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}
#post-section-10 .post-card {
  position: relative;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  margin: 15px;
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
@media (min-width: 992px) {
  #post-section-10 .post-card {
    flex: 1 1 calc(25% - 30px);
    max-width: calc(25% - 30px);
  }
}
#post-section-10 .post-card:hover {
  transform: translateY(-8px);
}

/* Thumbnail */
#post-section-10 .post-card img {
  width: 100%;
  display: block;
}

/* Tag Badge */
#post-section-10 .post-card .tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 123, 255, 0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

/* Overlay */
#post-section-10 .post-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#post-section-10 .post-card:hover .overlay {
  transform: translateY(0);
}
#post-section-10 .post-card .overlay h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
#post-section-10 .post-card .overlay .meta {
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 1rem;
}
#post-section-10 .post-card .overlay .btn-readmore {
  font-size: 0.85rem;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.3s;
}
#post-section-10 .post-card .overlay .btn-readmore:hover {
  background: #fff;
  color: #000;
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin: 40px 0;
}


