.single-blog-body{
  --primary:#0f4c81;
  --secondary:#f39c12;
  --dark:#0f172a;
  --text:#334155;
  --muted:#64748b;
  --light:#f8fafc;
  --white:#ffffff;
  --border:#e2e8f0;
  --shadow:0 18px 40px rgba(15,23,42,.08);
  --radius:24px;
  --container:1280px;
  background:#fff;
  color:var(--text);
  font-family:Arial, Helvetica, sans-serif;
}
.single-blog-body *{box-sizing:border-box}
.single-blog-body a{text-decoration:none;color:inherit}
.single-blog-body img{max-width:100%;display:block}
.single-blog-body .container{width:min(var(--container),calc(100% - 32px));margin:0 auto}
.single-blog-body .section{padding:32px 0}

.single-hero{
  padding:34px 0 24px;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
  border-bottom:1px solid var(--border);
}
.single-breadcrumb{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  font-size:14px;color:var(--muted);margin-bottom:18px;
}
.single-breadcrumb a:hover{color:var(--primary)}
.single-hero-grid{
  display:grid;grid-template-columns:minmax(0,1.05fr) 360px;gap:28px;align-items:start;
}
.single-category{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 16px;border-radius:999px;background:#eaf4ff;color:var(--primary);font-size:13px;font-weight:700;
  margin-bottom:16px;
}
.single-title{
  margin:0 0 16px;font-size:clamp(34px,4.6vw,56px);line-height:1.12;color:var(--dark);
}
.single-excerpt{
  margin:0 0 20px;font-size:17px;line-height:1.8;color:var(--muted);max-width:860px;
}
.single-meta{
  display:flex;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:14px;margin-bottom:22px;
}
.single-meta span{
  display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--border);
}
.single-meta-brand img{
  width:24px;
  height:24px;
  padding:3px;
  border-radius:50%;
  background:#fff;
  object-fit:contain;
}
.single-author-card{
  background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px;box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.single-author-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.single-author-top img{width:62px;height:62px;border-radius:50%;object-fit:cover}
.single-author-top img.single-brand-logo{
  padding:8px;
  background:#fff;
  object-fit:contain;
  border:1px solid var(--border);
}
.single-author-top strong{display:block;font-size:18px;color:var(--dark)}
.single-author-top span{font-size:13px;color:var(--muted)}
.single-author-card p{margin:0 0 14px;color:var(--muted);line-height:1.7}
.single-share{
  display:flex;flex-wrap:wrap;gap:10px;
}
.single-share a{
  width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);background:#f8fafc;font-weight:700;color:var(--dark);
}
.single-share a img{
  width:22px;
  height:22px;
  object-fit:contain;
}
.single-brand-socials a img{
  width:22px;
  height:22px;
  object-fit:contain;
}
.single-brand-socials a{
  border-radius:50%;
}
.single-share a:hover{color:var(--primary);border-color:#bfd7ef}

.single-layout{
  display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start;
}
.single-main{min-width:0}
.single-sidebar{min-width:0;position:sticky;top:24px}

.single-cover{
  position:relative;border-radius:30px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);margin-bottom:26px;
}
.single-cover img{width:100%;height:540px;object-fit:cover}
.single-cover-badge{
  position:absolute;left:18px;top:18px;background:rgba(15,76,129,.94);color:#fff;padding:10px 14px;border-radius:999px;font-size:13px;font-weight:700;
}

.article-box{
  background:#fff;border:1px solid var(--border);border-radius:28px;padding:30px;box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.article-box h2,
.article-box h3{
  color:var(--dark);line-height:1.28;margin:30px 0 14px;
}
.article-box h2{font-size:32px}
.article-box h3{font-size:25px}
.article-box p{
  margin:0 0 16px;font-size:17px;line-height:1.9;color:var(--text);
}
.article-box p a,
.article-box li a,
.article-box td a{
  color:#dc2626;
  font-weight:800;
}
.article-box p a:hover,
.article-box li a:hover,
.article-box td a:hover{
  color:#b91c1c;
  text-decoration:underline;
  text-underline-offset:3px;
}
.article-box ul,
.article-box ol{
  margin:0 0 20px 22px;color:var(--text);line-height:1.9;
}
.article-box li{margin-bottom:8px}
.article-box strong{color:var(--dark)}
.article-box figure,
.article-box .wp-caption,
.article-box .wp-block-image,
.article-box .alignnone,
.article-box .aligncenter,
.article-box .alignwide,
.article-box .alignfull{
  max-width:100% !important;
  width:100% !important;
  margin:24px 0;
}
.article-box figure img,
.article-box .wp-caption img,
.article-box p > img,
.article-box img[class*="wp-image-"]{
  width:100%;
  max-width:100% !important;
  height:auto;
  border-radius:22px;
}
.article-box figcaption,
.article-box .wp-caption-text{
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  text-align:center;
}
.article-box iframe,
.article-box video,
.article-box embed,
.article-box object{
  max-width:100%;
}
.article-box .wp-block-table,
.article-box .article-table-wrap{
  max-width:100%;
  width:100%;
  margin:26px 0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:20px;
}
.article-box table{
  width:max-content;
  min-width:100%;
  max-width:none;
  border:1px solid var(--border);
  border-spacing:0;
  border-collapse:separate;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}
.article-box > table{
  display:block;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.article-box table th,
.article-box table td{
  padding:15px 16px;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
  color:var(--text);
  font-size:15px;
  line-height:1.65;
  vertical-align:top;
}
.article-box table th:last-child,
.article-box table td:last-child{border-right:none}
.article-box table tr:last-child th,
.article-box table tr:last-child td{border-bottom:none}
.article-box table thead th,
.article-box table tr:first-child th{
  background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);
  color:var(--dark);
  font-weight:800;
}
.article-box table tbody tr:nth-child(even) td{background:#fbfdff}
.article-box table tbody tr:hover td{background:#fff8ed}
.article-box table caption{
  caption-side:bottom;
  padding:12px 10px 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  text-align:center;
}
.article-box .wp-block-table table,
.article-box .article-table-wrap table{
  margin:0;
}
.article-lead{
  font-size:18px;padding:18px 20px;border-left:4px solid var(--secondary);background:#fff8ed;border-radius:18px;margin-bottom:18px;
}
.article-highlight-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0;
}
.article-highlight-item{
  padding:18px;border-radius:18px;background:#f8fbff;border:1px solid #dbeafe;
}
.article-highlight-item strong{display:block;font-size:16px;margin-bottom:6px}
.article-highlight-item span{font-size:14px;color:var(--muted);line-height:1.7}
.article-inline-image{
  margin:24px 0;border-radius:24px;overflow:hidden;border:1px solid var(--border);
}
.article-inline-image img{width:100%;height:420px;object-fit:cover}
.article-inline-image figcaption{padding:14px 16px;background:#f8fafc;font-size:14px;color:var(--muted)}
.article-note{
  padding:18px 20px;border-radius:18px;background:#f8fafc;border:1px solid var(--border);margin:20px 0;
}
.article-note strong{display:block;margin-bottom:8px}
.article-table-wrap{overflow:auto;margin:22px 0}
.article-table{
  width:100%;min-width:700px;background:#fff;
}
.article-table th,
.article-table td{
  text-align:left;
}

.article-tags-share{
  display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-top:30px;padding-top:24px;border-top:1px solid var(--border);
}
.article-tags{display:flex;flex-wrap:wrap;gap:10px}
.article-tags a{
  padding:10px 14px;border-radius:999px;background:#f8fafc;border:1px solid var(--border);font-size:13px;font-weight:700;color:var(--text);
}
.article-tags a:hover{color:var(--primary);border-color:#bfd7ef}

.toc-box,
.related-box,
.cta-box,
.faq-box,
.small-card-box{
  background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px;box-shadow:0 10px 22px rgba(15,23,42,.05);margin-bottom:20px;
}
.single-sidebar h3{margin:0 0 16px;font-size:22px;color:var(--dark)}
.toc-list{display:grid;gap:10px}
.toc-list a{
  display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:#f8fafc;font-size:14px;color:var(--text);
}
.toc-list a:hover{color:var(--primary);background:#fff;border:1px solid #dbeafe}

.small-card-list{display:grid;gap:16px}
.small-card-item{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:start}
.small-card-item img{width:100%;height:78px;object-fit:cover;border-radius:14px}
.small-card-item .meta{font-size:12px;color:var(--muted);margin-bottom:4px}
.small-card-item h4{margin:0;font-size:15px;line-height:1.45;color:var(--dark)}

.cta-box{
  background:linear-gradient(135deg,#0f4c81,#12365c);color:#fff;
}
.cta-box h3{color:#fff}
.cta-box p{margin:0 0 14px;color:rgba(255,255,255,.88);line-height:1.8}
.cta-form{display:grid;gap:12px}
.cta-form input,
.cta-form textarea{
  width:100%;border:none;border-radius:14px;padding:14px 16px;outline:none;font:inherit;
}
.cta-form textarea{min-height:110px;resize:vertical}
.single-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:999px;font-weight:700;border:none;cursor:pointer;
  transition:.25s ease;background:var(--secondary);color:#fff;
}
.single-btn:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(243,156,18,.26)}

.faq-item{border-top:1px solid var(--border);padding:14px 0}
.faq-item:first-child{border-top:none;padding-top:0}
.faq-item strong{display:block;margin-bottom:6px;color:var(--dark)}
.faq-item p{margin:0;color:var(--muted);line-height:1.8}

.author-bio{
  display:grid;grid-template-columns:90px 1fr;gap:18px;align-items:start;margin-top:28px;padding:24px;border-radius:24px;background:#f8fafc;border:1px solid var(--border);
}
.author-bio img{width:90px;height:90px;border-radius:50%;object-fit:cover}
.author-bio h3{margin:0 0 8px;font-size:24px}
.author-bio p{margin:0 0 10px;color:var(--muted);line-height:1.8}

.related-posts{
  margin-top:30px;
}
.related-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;
}
.related-card{
  border:1px solid var(--border);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);
  transition:.25s ease;
}
.related-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.related-card img{width:100%;height:220px;object-fit:cover}
.related-card-body{padding:20px}
.related-card .meta{font-size:12px;color:var(--muted);margin-bottom:8px}
.related-card h4{margin:0 0 10px;font-size:21px;line-height:1.3;color:var(--dark)}
.related-card p{margin:0;color:var(--muted);line-height:1.7;font-size:14px}

@media (max-width:1100px){
  .single-hero-grid,
  .single-layout,
  .related-grid{grid-template-columns:1fr}
  .single-sidebar{position:static}
}
@media (max-width:860px){
  .single-hero{padding:26px 0 18px}
  .single-title{font-size:34px}
  .single-excerpt,
  .article-box p{font-size:16px}
  .single-meta{gap:8px}
  .single-cover img{height:280px}
  .article-box{padding:22px}
  .article-box h2{font-size:28px}
  .article-box h3{font-size:22px}
  .article-highlight-grid,
  .author-bio{grid-template-columns:1fr}
  .article-inline-image img{height:260px}
  .article-box .wp-block-table,
  .article-box .article-table-wrap,
  .article-box > table{
    display:block;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .article-box .article-table-wrap table,
  .article-box .wp-block-table table{
    width:max-content;
    min-width:680px;
    max-width:none;
  }
  .single-sidebar h3{font-size:20px}
}
