/* ========================================
   BLOG PAGE STYLES – MacFrans
   ======================================== */

.blog-main {
  background: #fef9f0;
  padding-top: 80px; /* account for fixed header */
}

/* Blog header */
.blog-header {
  background: linear-gradient(135deg, #2c1a0e, #5a3e2b);
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
  margin-bottom: 60px;
}
.blog-header-content {
  max-width: 800px;
  margin: 0 auto;
}
.blog-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.blog-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Blog container and grid */
.blog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

/* Blog card */
.blog-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.12);
}

/* Card image area */
.blog-card-image {
  position: relative;
  height: 220px;
  background: #f0e6d8;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}
.blog-card-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b8860b, #daa520);
}
.blog-card-icon i {
  font-size: 4rem;
  color: white;
  opacity: 0.8;
}

/* Category badge */
.blog-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.badge-daily {
  background: #2c5282;
}
.badge-news {
  background: #c0392b;
}

/* Card content */
.blog-card-content {
  padding: 1.8rem;
}
.blog-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c1a0e;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: #7a5a3a;
  border-bottom: 1px solid #f0e6d8;
  padding-bottom: 0.75rem;
}
.blog-meta i {
  margin-right: 5px;
  color: #b8860b;
}
.blog-excerpt {
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  color: #b8860b;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}
.blog-readmore i {
  transition: transform 0.2s;
}
.blog-readmore:hover {
  color: #daa520;
}
.blog-readmore:hover i {
  transform: translateX(5px);
}

/* No posts message */
.no-posts {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 30px;
  grid-column: 1 / -1;
}
.no-posts i {
  font-size: 4rem;
  color: #b8860b;
  margin-bottom: 1rem;
}
.no-posts p {
  font-size: 1.2rem;
  color: #5a3e2b;
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .blog-main {
    padding-top: 70px;
  }
  .blog-header {
    padding: 60px 20px 40px;
  }
  .blog-header h1 {
    font-size: 2.5rem;
  }
  .blog-header p {
    font-size: 1rem;
  }
  .blog-container {
    padding: 0 16px 60px;
  }
  .blog-card-content {
    padding: 1.4rem;
  }
  .blog-card-content h3 {
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card-image {
    height: 180px;
  }
}


/* ========================================
   SINGLE POST PAGE STYLES – MacFrans
   ======================================== */

.single-main {
  background: #fef9f0;
  padding: 120px 20px 80px;
  min-height: 70vh;
}

.single-container {
  max-width: 900px;
  margin: 0 auto;
}

.single-article {
  background: white;
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.single-category {
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}
.badge-daily {
  background: #2c5282;
}
.badge-news {
  background: #c0392b;
}

.single-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #2c1a0e;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0e6d8;
  color: #7a5a3a;
  font-size: 0.9rem;
}
.single-meta i {
  margin-right: 6px;
  color: #b8860b;
}

.single-featured-image {
  margin: 1.5rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-scripture {
  background: #fef5e7;
  padding: 1.2rem 1.5rem;
  border-left: 5px solid #daa520;
  border-radius: 16px;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  color: #3a2a1a;
}
.single-scripture i {
  color: #daa520;
  margin-right: 10px;
}

.single-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c2c2c;
  margin: 2rem 0;
}
.single-content p {
  margin-bottom: 1.2rem;
}

.single-share {
  margin: 3rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0d6c8;
}
.single-share h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #5a3e2b;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}
.share-btn.facebook {
  background: #1877F2;
  color: white;
}
.share-btn.twitter {
  background: #1DA1F2;
  color: white;
}
.share-btn.whatsapp {
  background: #25D366;
  color: white;
}
.share-btn.copy-link {
  background: #5a3e2b;
  color: white;
}
.share-btn:hover {
  transform: translateY(-3px);
  filter: brightness(0.9);
}

.single-back {
  text-align: center;
  margin-top: 2rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8860b;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}
.back-link:hover {
  color: #daa520;
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .single-main {
    padding: 100px 16px 60px;
  }
  .single-article {
    padding: 1.5rem;
  }
  .single-title {
    font-size: 2rem;
  }
  .single-meta {
    gap: 1rem;
    font-size: 0.8rem;
  }
  .single-content {
    font-size: 1rem;
  }
  .share-buttons {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .single-title {
    font-size: 1.6rem;
  }
  .share-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}


/* Modern Footer (if not already present) */
.modern-footer {
  background: #1a130c;
  color: #e0d6c8;
  padding: 3rem 5% 1.5rem;
  font-size: 0.9rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(218,165,32,0.3);
  padding-bottom: 2rem;
}
.footer-brand p {
  margin-top: 0.5rem;
  line-height: 1.5;
}
.footer-logo {
  width: 60px;
  border-radius: 50%;
}
.footer-links h4, .footer-social h4 {
  color: #daa520;
  margin-bottom: 1rem;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #e0d6c8;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #daa520;
  padding-left: 5px;
}
.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icons a {
  background: rgba(218,165,32,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #daa520;
  font-size: 1.2rem;
  transition: 0.3s;
}
.social-icons a:hover {
  background: #daa520;
  color: #1a130c;
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}