/* ===============================
   BLOG HERO
================================ */
.blog-hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.blog-hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.blog-hero p {
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 25px;
  color: #555;
}

.blog-search input {
  width: 100%;
  max-width: 420px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}
/* ===== SUBMIT ARTIKEL BUTTON ===== */
.blog-submit {
  margin-top: 20px;
  text-align: center;
}

.blog-submit .btn {
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
}


/* ===============================
   BLOG BACKGROUND SECTION
================================ */
.blog-container {
  background: url("../assets/images/blog-hero-material.jpg") center / cover no-repeat;
  padding: 80px 20px;
}

.blog-bg-overlay {
  background: rgba(255,255,255,0.9);
  padding: 50px 30px;
  max-width: 1200px;
  margin: auto;
  border-radius: 14px;
}

/* ===============================
   BLOG GRID
================================ */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:25px;
  padding:60px 20px;
}

.blog-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,.1);
  display:flex;
  flex-direction:column;
}

.blog-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}

.blog-info{
  padding:15px;
}

.blog-info h2{
  font-size:17px;
  margin:8px 0;
}

.blog-info p{
  font-size:14px;
  color:#555;
}

.blog-info .btn{
  margin-top:10px;
  display:block;
  text-align:center;
}

/* ===============================
   EMPTY STATE
================================ */
.no-result {
  text-align: center;
  color: #666;
  margin-top: 40px;
}

/* ===============================
   FLOATING WHATSAPP
================================ */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,.3);
  z-index: 999;
}

.wa-float img {
  width: 28px;
  height: 28px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 28px;
  }

  .blog-container {
    padding: 50px 15px;
  }
}
.cta-wa {
  background:#0a7cff;
  color:#fff;
  padding:30px;
  margin:40px 0;
  text-align:center;
  border-radius:10px;
}
.cta-wa a {
  background:#25d366;
  color:#fff;
  padding:12px 24px;
  display:inline-block;
  margin-top:15px;
  border-radius:6px;
  font-weight:bold;
}
/* =========================
   GLOBAL RESET
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.7;
}

/* =========================
   ARTICLE HERO
========================= */
.article-hero {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* =========================
   ARTICLE CONTAINER
========================= */
.article-container {
  max-width: 920px;
  margin: -80px auto 60px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  position: relative;
}

.article-container h1 {
  font-size: 30px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

/* =========================
   ARTICLE CONTENT
========================= */
.article-content p {
  margin-bottom: 18px;
  font-size: 16px;
}

.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

/* =========================
   CTA BOX (OPTIONAL)
========================= */
.article-cta {
  background: #0a7cff;
  color: #fff;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  margin: 40px 0;
}

.article-cta h3 {
  margin-bottom: 10px;
}

.article-cta a {
  display: inline-block;
  margin-top: 12px;
  background: #fff;
  color: #0a7cff;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* =========================
   BACK TO BLOG
========================= */
.article-nav {
  margin-top: 40px;
}

.article-nav a {
  text-decoration: none;
  color: #0a7cff;
  font-weight: 600;
}

/* =========================
   RELATED ARTICLES
========================= */
.related-articles {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.related-articles h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.related-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}

.related-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.related-card h3 {
  font-size: 16px;
  margin: 14px;
}

.related-card p {
  font-size: 14px;
  margin: 0 14px 14px;
  color: #555;
}

.related-card .btn-read {
  margin: auto 14px 18px;
  padding: 10px;
  background: #0a7cff;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

/* =========================
   FLOATING WHATSAPP
========================= */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  z-index: 999;
}

.wa-float img {
  width: 32px;
}

/* =========================
   FOOTER FIX
========================= */
.footer-main {
  background: #111;
  color: #ccc;
  padding: 60px 20px 20px;
}

.footer-main a {
  color: #ccc;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
  color: #777;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .article-hero img {
    height: 260px;
  }

  .article-container {
    margin-top: -40px;
    padding: 24px;
  }

  .article-container h1 {
    font-size: 24px;
  }
}
