:root{
  --bg:#0b1d3a;
  --card:#0f274d;
  --gold:#d4af37;
  --text:#ffffff;
  --muted:#c9d4e3;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:Arial,Helvetica,sans-serif;
}

body{
  background:linear-gradient(180deg,#07162f,#0b1d3a);
  color:var(--text);
  line-height:1.7;
}

/* Layout */
.blog-container{
  max-width:900px;
  margin:60px auto;
  padding:20px;
}

/* Article Card */
.article-card{
  background:var(--card);
  border-radius:14px;
  padding:40px 35px;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}

/* Header */
.post-header{
  border-bottom:1px solid rgba(255,255,255,.1);
  margin-bottom:25px;
  padding-bottom:20px;
}

.post-header h1{
  font-size:32px;
  color:var(--gold);
  margin-bottom:10px;
}

.meta{
  font-size:14px;
  color:var(--muted);
}

/* Content */
.article-card h2{
  color:var(--gold);
  margin:30px 0 12px;
  font-size:22px;
}

.article-card p{
  margin:12px 0;
  color:#e8edf7;
}

.article-card ul,
.article-card ol{
  margin:12px 0 12px 20px;
}

.article-card li{
  margin:8px 0;
}

/* Highlight box */
.highlight{
  background:rgba(212,175,55,.1);
  border-left:4px solid var(--gold);
  padding:14px 18px;
  margin:20px 0;
  border-radius:6px;
}

/* FAQ */
.faq{
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
}

.faq h3{
  color:var(--gold);
  margin-bottom:10px;
}

.faq p{
  margin:10px 0;
}

/* Back link */
.back-link{
  margin-top:30px;
}

.back-link a{
  color:var(--gold);
  text-decoration:none;
  font-weight:bold;
}

.back-link a:hover{
  text-decoration:underline;
}

/* Mobile */
@media(max-width:768px){
  .article-card{padding:25px 20px}
  .post-header h1{font-size:26px}
}
/* Pagination */
.pagination{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:40px auto 0;
  max-width:900px;
  padding:0 20px;
}

.pagination a{
  background:#0f274d;
  color:#d4af37;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  transition:.2s;
}

.pagination a:hover{
  background:#d4af37;
  color:#0b1d3a;
}
/* Blog Grid */
.post-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:25px;
  margin-top:30px;
}

/* Post Card */
.post-box{
  background:#0f274d;
  border-radius:14px;
  padding:22px 20px;
  box-shadow:0 8px 22px rgba(0,0,0,.35);
  transition:.25s;
}

.post-box:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.5);
}

.post-box h2{
  font-size:18px;
  margin-bottom:8px;
}

.post-box a{
  color:#d4af37;
  text-decoration:none;
}

.post-box a:hover{
  text-decoration:underline;
}

.post-box p{
  font-size:14px;
  color:#dbe4f5;
}

/* Mobile grid */
@media(max-width:768px){
  .post-grid{
    grid-template-columns:1fr;
  }
}
/* ------------------
   MOBILE RESPONSIVE FIX
------------------- */
@media (max-width: 768px) {

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .blog-container {
    width: 100%;
    padding: 12px;
  }

  /* BLOG HOME BOXES */
  .post-grid {
    grid-template-columns: 1fr; /* single column */
    gap: 15px;
  }

  .post-box {
    padding: 15px;
  }

  .post-box h2 {
    font-size: 18px;
  }

  .post-box p {
    font-size: 14px;
  }

  /* POST PAGE */
  .post-content {
    padding: 15px;
  }

  .post-content h1 {
    font-size: 24px;
  }

  .post-content h2 {
    font-size: 20px;
  }

  .post-content p {
    font-size: 16px;
  }

  /* FAQ / AEO blocks */
  .faq-box {
    padding: 15px;
  }

  .faq-box h3 {
    font-size: 18px;
  }

  .faq-box p {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  a {
    word-break: break-word;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}
/* POST CTA BOX */
.post-cta {
  margin: 40px 0;
  padding: 30px;
  background: #0b1f3a;   /* dark blue */
  color: #fff;
  border-radius: 12px;
  text-align: center;
}

.post-cta h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

.post-cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #d4af37;   /* gold */
  color: #0b1f3a;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #d4af37;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
}

