*{margin:0;padding:0;box-sizing:border-box}
:root{--primary:#4a6fa5;--secondary:#a54a4a;--accent:#f1c40f;--light:#f8f9fa;--dark:#2c3e50;--text:#333}
body{font-family:'Merriweather',serif;background:#f8f9fa;color:var(--text);line-height:1.6}

/* Header / slider */
header{position:relative;height:500px;overflow:hidden}
.slider-container{position:relative;width:100%;height:100%}
.slide{position:absolute;width:100%;height:100%;opacity:0;transition:opacity 1.2s ease;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center}
.slide.active{opacity:1}
.slide-overlay{background:rgba(0,0,0,.5);position:absolute;top:0;left:0;width:100%;height:100%}
.slide-content{position:relative;z-index:2;text-align:center;color:#fff;max-width:800px;padding:0 20px}
.slide-content h2{font-family:'Montserrat',sans-serif;font-size:3.5rem;margin-bottom:20px;text-shadow:2px 2px 5px rgba(0,0,0,.5)}
.slide-content p{font-size:1.2rem;margin-bottom:30px}
.btn{display:inline-block;background:var(--accent);color:var(--dark);padding:12px 30px;border-radius:30px;text-decoration:none;font-weight:500;transition:all .3s ease;font-family:'Montserrat',sans-serif}
.btn:hover{background:#e6b801;transform:translateY(-3px);box-shadow:0 10px 20px rgba(0,0,0,.2)}
.slider-nav{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;z-index:5}
.slider-dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.5);margin:0 5px;cursor:pointer;transition:background .3s ease}
.slider-dot.active{background:#fff}
.slider-arrows{position:absolute;top:50%;width:100%;display:flex;justify-content:space-between;padding:0 20px;z-index:5;transform:translateY(-50%)}
.arrow{color:#fff;font-size:2rem;cursor:pointer;text-shadow:2px 2px 5px rgba(0,0,0,.5);transition:all .3s ease}
.arrow:hover{color:var(--accent)}
/* Any image inside post content scales down nicely */
.post-body img,
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* Card/featured images that must crop to a fixed height */
.post-card-cover,
.post-hero {
  width: 100%;
  height: 240px;           /* adjust per design */
  object-fit: cover;       /* crop edges, no distortion */
  border-radius: 8px;
}
@media (max-width: 640px){
  .post-card-cover, .post-hero { height: 180px; }
}

/* Navigation */
nav{position:absolute;top:0;left:0;width:100%;padding:20px;z-index:10;display:flex;justify-content:space-between;align-items:center;background:rgba(0,0,0,.4)}
.logo{font-family:'Montserrat',sans-serif;font-size:2rem;font-weight:700;color:#fff;text-decoration:none}
.logo span{color:var(--accent)}
.nav-links{display:flex;list-style:none}
.nav-links li{margin-left:30px}
.nav-links a{color:#fff;text-decoration:none;font-weight:500;transition:color .3s ease;font-family:'Montserrat',sans-serif}
.nav-links a:hover{color:var(--accent)}

/* Main content */
.container{max-width:1200px;margin:0 auto;padding:60px 20px}
.section-title{font-family:'Montserrat',sans-serif;font-size:2.5rem;text-align:center;margin-bottom:50px;color:var(--dark);position:relative}
.section-title:after{content:'';display:block;width:80px;height:4px;background:var(--accent);margin:15px auto}
.blog-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:30px}
.post{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,.1);transition:transform .3s ease}
.post:hover{transform:translateY(-10px)}
.post-img{height:200px;background-size:cover;background-position:center}
.post-content{padding:20px}
.post-date{color:#888;font-size:.9rem}
.post-title{font-family:'Montserrat',sans-serif;font-size:1.5rem;margin:10px 0;color:var(--dark)}
.post-excerpt{color:#666;margin-bottom:20px}
.read-more{color:var(--primary);text-decoration:none;font-weight:500;display:inline-block;transition:transform .3s ease;font-family:'Montserrat',sans-serif}
.read-more:hover{transform:translateX(5px);color:var(--secondary)}

/* Verse */
.verse-container{background:linear-gradient(to right,var(--primary),var(--secondary));color:#fff;padding:40px;border-radius:10px;text-align:center;margin:50px 0}
.verse-text{font-size:1.5rem;font-style:italic;margin-bottom:20px}
.verse-ref{font-size:1.2rem}

/* Footer */
footer{background:var(--dark);color:#fff;padding:60px 0 30px;text-align:center}
.footer-content{max-width:1200px;margin:0 auto;padding:0 20px}
.footer-logo{font-family:'Montserrat',sans-serif;font-size:2.5rem;margin-bottom:20px}
.footer-logo span{color:var(--accent)}
.footer-links{display:flex;justify-content:center;list-style:none;margin:30px 0}
.footer-links li{margin:0 15px}
.footer-links a{color:#ddd;text-decoration:none;transition:color .3s ease}
.footer-links a:hover{color:var(--accent)}
.social-icons{margin:30px 0}
.social-icons a{color:#fff;font-size:1.5rem;margin:0 15px;transition:color .3s ease}
.social-icons a:hover{color:var(--accent)}

@media (max-width:768px){
  .slide-content h2{font-size:2.5rem}
  .nav-links{display:none}
  .blog-posts{grid-template-columns:1fr}
}
