/* Sri Vari — public blog styles (complements styles.css) */

.blog-hero{background:linear-gradient(180deg,#fff6ec 0%,#fff 100%);padding:56px 0 34px;text-align:center}
.blog-hero .eyebrow{color:var(--orange,#ff7f00)}
.blog-hero .lede{max-width:640px;margin:10px auto 0}

.blog-empty{text-align:center;color:#6b7280;padding:40px 0}

.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.blog-card{background:#fff;border:1px solid #eef0f3;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 24px rgba(15,42,74,.06);transition:transform .18s,box-shadow .18s}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(15,42,74,.12)}
.blog-card-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#f3f5f8}
.blog-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.blog-card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.blog-card-cat{align-self:flex-start;background:rgba(255,127,0,.12);color:#c26a00;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;padding:3px 10px;border-radius:20px}
.blog-card-title{font-size:19px;line-height:1.35;margin:0}
.blog-card-title a{color:#0f2a4a;text-decoration:none}
.blog-card-title a:hover{color:var(--orange,#ff7f00)}
.blog-card-excerpt{color:#6b7280;font-size:14px;line-height:1.55;margin:0;flex:1}
.blog-card-meta{display:flex;align-items:center;justify-content:space-between;margin-top:6px;font-size:13px;color:#9099a6}
.blog-card-link{color:var(--orange,#ff7f00);font-weight:700;text-decoration:none;font-size:14px}

.blog-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:40px}
.blog-pagination a{color:#0f2a4a;font-weight:700;text-decoration:none;border:1.5px solid #e5e7eb;padding:10px 18px;border-radius:9px}
.blog-pagination a:hover{border-color:var(--orange,#ff7f00)}
.blog-page-count{color:#6b7280;font-size:14px}

/* ---- Single post ---- */
.post{padding:34px 0 10px}
.post-wrap{max-width:880px}
.post-breadcrumb{font-size:13px;color:#9099a6;margin-bottom:16px}
.post-breadcrumb a{color:#6b7280;text-decoration:none}
.post-breadcrumb a:hover{color:var(--orange,#ff7f00)}
.post-breadcrumb .current{color:#0f2a4a}
.post-cat{display:inline-block;background:rgba(255,127,0,.12);color:#c26a00;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;padding:4px 12px;border-radius:20px;margin-bottom:12px}
.post-title{font-family:'Readex Pro','Poppins',sans-serif;font-size:clamp(28px,4vw,42px);line-height:1.2;color:#0f2a4a;margin:0 0 14px}
.post-meta{display:flex;flex-wrap:wrap;gap:8px;color:#6b7280;font-size:14px;margin-bottom:22px}
.post-hero-img{margin:0 0 24px;border-radius:16px;overflow:hidden}
.post-hero-img img{width:100%;height:auto;display:block}

.post-tldr{background:#fff6ec;border-left:4px solid var(--orange,#ff7f00);border-radius:10px;padding:16px 18px;margin:0 0 26px}
.post-tldr-title{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:#c26a00;margin:0 0 6px}
.post-tldr p{margin:0;color:#3a4452;line-height:1.6}

/* article typography */
.post-content{font-size:17px;line-height:1.75;color:#2b333f}
.post-content p{margin:0 0 20px}
.post-content h2{font-family:'Readex Pro','Poppins',sans-serif;font-size:26px;line-height:1.3;color:#0f2a4a;margin:36px 0 14px}
.post-content h3{font-size:21px;color:#0f2a4a;margin:28px 0 12px}
.post-content h4{font-size:18px;color:#0f2a4a;margin:22px 0 10px}
.post-content a{color:var(--orange-dark,#e56e00);text-decoration:underline}
.post-content ul,.post-content ol{margin:0 0 20px;padding-left:24px}
.post-content li{margin:0 0 8px}
.post-content img{max-width:100%;height:auto;border-radius:12px;margin:10px 0}
.post-content blockquote{border-left:4px solid #e5e7eb;margin:0 0 20px;padding:6px 18px;color:#556;font-style:italic}
.post-content pre{background:#0f2a4a;color:#e8eef6;padding:16px;border-radius:10px;overflow:auto;font-size:14px}
.post-content .ql-align-center{text-align:center}
.post-content .ql-align-right{text-align:right}
.post-content .ql-align-justify{text-align:justify}

.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}
.post-tag{background:#f3f5f8;color:#556;font-size:13px;padding:5px 12px;border-radius:20px}

.post-faq{margin:34px 0}
.post-faq h2{font-family:'Readex Pro','Poppins',sans-serif;font-size:24px;color:#0f2a4a;margin:0 0 14px}
.post-faq-item{border:1px solid #e5e7eb;border-radius:10px;padding:14px 16px;margin-bottom:10px;background:#fff}
.post-faq-item summary{cursor:pointer;font-weight:700;color:#0f2a4a;list-style:none}
.post-faq-item summary::-webkit-details-marker{display:none}
.post-faq-answer{margin-top:10px;color:#3a4452;line-height:1.6}

.post-author{display:flex;gap:14px;align-items:flex-start;background:#f8fafc;border:1px solid #eef0f3;border-radius:14px;padding:18px;margin:30px 0}
.post-author-avatar{width:48px;height:48px;border-radius:50%;background:var(--orange,#ff7f00);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;flex:none}
.post-author-name{font-weight:700;color:#0f2a4a}
.post-author-bio{margin:4px 0 0;color:#6b7280;font-size:14px;line-height:1.55}

.post-cta{background:linear-gradient(135deg,#0f2a4a 0%,#16385f 100%);color:#fff;border-radius:18px;padding:32px 34px;margin:40px 0 10px;display:flex;flex-wrap:wrap;gap:22px;align-items:center;justify-content:space-between;box-shadow:0 14px 40px rgba(15,42,74,.22)}
.post-cta-text{flex:1;min-width:240px}
.post-cta h2{margin:0 0 8px;font-size:24px;line-height:1.25;color:#fff}
.post-cta p{margin:0;color:#dbe4f0;font-size:15px;line-height:1.55;max-width:440px}
.post-cta-actions{display:flex;gap:12px;flex-wrap:wrap}
/* Override site button colours so they stay readable on the dark CTA */
.post-cta .btn{min-width:158px;height:50px;border-radius:10px;font-weight:700}
.post-cta .btn-primary{background:var(--orange,#ff7f00);color:#fff;border:none}
.post-cta .btn-primary:hover{background:var(--orange-dark,#e56e00)}
.post-cta .btn-outline{background:rgba(255,255,255,.08);color:#fff;border:1.5px solid rgba(255,255,255,.6)}
.post-cta .btn-outline:hover{background:#fff;color:#0f2a4a;border-color:#fff}

.related-title{margin-bottom:22px}

@media (max-width:860px){
  .blog-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .blog-grid{grid-template-columns:1fr}
  .post-cta{flex-direction:column;align-items:stretch;text-align:left;padding:26px 22px}
  .post-cta p{max-width:none}
  .post-cta-actions{flex-direction:column}
  .post-cta .btn{width:100%}
}
