/*
Theme Name: Hello Child
Template: hello-elementor
*/
/* Blog Hero Section */
.lm-blog-hero {
  background: linear-gradient(135deg, #E9F5F3 0%, #FFFFFF 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', 'Open Sans', sans-serif;
  animation: lm-fadeIn 1s ease-out;
}

.lm-blog-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.lm-blog-hero-content {
  animation: lm-slideInUp 1s ease-out 0.3s both;
}

.lm-blog-hero-heading {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: #000000;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lm-blog-hero-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2A9D8F, #238A7A);
  margin: 0 auto;
  border-radius: 2px;
}

/* Blog Feed Section */
.lm-blog-feed {
  background-color: #FFFFFF;
  padding: 100px 0;
  font-family: 'Inter', 'Open Sans', sans-serif;
  animation: lm-fadeIn 1.2s ease-out;
}

.lm-blog-feed-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.lm-blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  animation: lm-slideInUp 0.8s ease-out 0.5s both;
}

.lm-blog-post-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: lm-slideInUp 0.8s ease-out both;
}

.lm-blog-post-card:nth-child(1) { animation-delay: 0.7s; }
.lm-blog-post-card:nth-child(2) { animation-delay: 0.9s; }
.lm-blog-post-card:nth-child(3) { animation-delay: 1.1s; }
.lm-blog-post-card:nth-child(4) { animation-delay: 1.3s; }
.lm-blog-post-card:nth-child(5) { animation-delay: 1.5s; }
.lm-blog-post-card:nth-child(6) { animation-delay: 1.7s; }

.lm-blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(42, 157, 143, 0.15);
}

.lm-blog-post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2A9D8F, #238A7A);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.lm-blog-post-card:hover::before {
  transform: scaleX(1);
}

.lm-blog-post-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.lm-blog-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lm-blog-post-card:hover .lm-blog-featured-image {
  transform: scale(1.05);
}

.lm-blog-post-content {
  padding: 32px 24px;
}

.lm-blog-post-title {
  margin: 0 0 16px 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
}

.lm-blog-post-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lm-blog-post-title a:hover {
  color: #2A9D8F;
}

.lm-blog-post-excerpt {
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lm-blog-read-more {
  display: inline-block;
  color: #2A9D8F;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border: 2px solid #2A9D8F;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lm-blog-read-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #2A9D8F;
  transition: left 0.3s ease;
  z-index: -1;
}

.lm-blog-read-more:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

.lm-blog-read-more:hover::before {
  left: 0;
}

/* Pagination Section */
.lm-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: lm-slideInUp 0.8s ease-out 1.9s both;
}

.lm-blog-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lm-blog-page-number,
.lm-blog-page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  color: #555555;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.lm-blog-page-number:hover,
.lm-blog-page-next:hover {
  color: #2A9D8F;
  border-color: #2A9D8F;
  transform: translateY(-2px);
}

.lm-blog-page-number.lm-blog-current {
  background-color: #2A9D8F;
  color: #FFFFFF;
  border-color: #2A9D8F;
}

.lm-blog-page-dots {
  color: #CCCCCC;
  font-weight: 500;
  padding: 0 8px;
}

.lm-blog-page-next {
  gap: 8px;
  margin-left: 8px;
}

/* Animations */
@keyframes lm-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lm-slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet Responsive (2 columns) */
@media (max-width: 1024px) and (min-width: 769px) {
  .lm-blog-hero {
    padding: 100px 0 70px;
  }
  .lm-blog-hero-heading {
    font-size: 3.25rem;
  }
  .lm-blog-feed {
    padding: 80px 0;
  }
  .lm-blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-bottom: 50px;
  }
  .lm-blog-post-content {
    padding: 28px 20px;
  }
  .lm-blog-post-title {
    font-size: 1.25rem;
  }
}

/* Mobile Responsive (1 column) */
@media (max-width: 768px) {
  .lm-blog-hero {
    padding: 80px 0 60px;
  }
  .lm-blog-hero-heading {
    font-size: 2.5rem;
    margin-bottom: 24px;
  }
  .lm-blog-feed {
    padding: 60px 0;
  }
  .lm-blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .lm-blog-post-image {
    height: 180px;
  }
  .lm-blog-post-content {
    padding: 24px 20px;
  }
  .lm-blog-post-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .lm-blog-post-excerpt {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .lm-blog-read-more {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
  .lm-blog-pagination-numbers {
    flex-wrap: wrap;
    gap: 8px;
  }
  .lm-blog-page-number,
  .lm-blog-page-next {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }
}

/* Accessibility */
.lm-blog-post-title a:focus,
.lm-blog-read-more:focus,
.lm-blog-page-number:focus,
.lm-blog-page-next:focus,
.lm-blog-load-more:focus {
  outline: 3px solid #2A9D8F;
  outline-offset: 2px;
}
/* === Single Post (LM) === */
.lm-single-hero{background:linear-gradient(135deg,#E9F5F3 0%,#FFFFFF 100%);padding:72px 0 24px}
.lm-single-hero-inner{max-width:1100px;margin:0 auto;padding:0 24px;text-align:center}
.lm-single-meta{color:#516;opacity:.8;margin:0 0 8px}
.lm-single-title{font-size:clamp(28px,4vw,48px);line-height:1.1;margin:0 0 20px}
.lm-single-hero-media{max-width:1100px;margin:12px auto 0;padding:0 24px}
.lm-single-hero-img{width:100%;height:auto;display:block;border-radius:16px}

.lm-single-content-wrap{max-width:1100px;margin:32px auto 80px;padding:0 24px}
.lm-single-content{font-size:18px;line-height:1.75;color:#0b0d12}
.lm-single-content h2{margin-top:1.6em}
.lm-single-content img{max-width:100%;height:auto;border-radius:12px}
.lm-single-content blockquote{border-left:4px solid #2A9D8F;padding:8px 16px;margin:16px 0;color:#334}

.lm-single-tax{margin:28px 0 8px;display:grid;gap:8px}
.lm-tax-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.lm-tax-label{font-weight:600}
.lm-tax-chip{display:inline-block;padding:6px 10px;border:1.5px solid #2A9D8F;border-radius:999px;text-decoration:none;color:#2A9D8F;font-weight:600}
.lm-tax-chip:hover{background:#2A9D8F;color:#fff}

.lm-single-nav{display:flex;justify-content:space-between;gap:16px;margin-top:28px}
.lm-single-nav a{text-decoration:none;color:#2A9D8F;font-weight:700}
.lm-single-nav a:hover{opacity:.85}