/* Steel Strux — Blog templates
   Visual language matches the marketing pages (container, eyebrow, btn,
   breadcrumb, ah-* hero pattern). Only blog-specific additions live here. */

/* ------- Hero (reuses about-hero glow tokens) ------- */
.blog-hero{position:relative;overflow:hidden;padding:clamp(36px,3.8vw,56px) 0 clamp(32px,3.6vw,48px);background:linear-gradient(180deg,#030035 0%,#070751 60%,#04003d 100%);color:#fff;isolation:isolate}
.blog-hero .ah-inner{position:relative;z-index:2;max-width:880px;margin:0 auto;text-align:center}
.blog-hero .ah-eyebrow{color:var(--orange)}
.blog-hero .ah-title{font-size:clamp(34px,5vw,58px);line-height:1.05;font-weight:800;letter-spacing:-.02em;margin:14px 0 16px}
.blog-hero .ah-accent{color:var(--orange)}
.blog-hero .ah-lead{font-size:18px;line-height:1.6;color:rgba(255,255,255,.78);max-width:680px;margin:0 auto}
.blog-hero .ah-glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.5;z-index:0}
.blog-hero .ah-glow--1{width:520px;height:520px;background:radial-gradient(circle,#ff4f14 0%,transparent 70%);top:-160px;right:-120px}
.blog-hero .ah-glow--2{width:420px;height:420px;background:radial-gradient(circle,#5b48ff 0%,transparent 70%);bottom:-180px;left:-120px;opacity:.35}
.blog-hero .ah-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:48px 48px;z-index:1;mask-image:radial-gradient(circle at 50% 50%,#000 0%,transparent 75%)}
.blog-hero--archive{padding:70px 0 50px}

/* ------- Chips (categories filter) ------- */
.blog-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 32px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;background:#f3f3f1;color:#1a1a1a;font-size:14px;font-weight:500;text-decoration:none;border:1px solid transparent;transition:background .15s,color .15s,border-color .15s}
.chip span{font-weight:600;color:#9a9a9a;font-size:12px}
.chip:hover{background:#e9e9e6}
.chip--active{background:var(--navy,#030035);color:#fff;border-color:var(--navy,#030035)}
.chip--active span{color:rgba(255,255,255,.6)}

/* ------- Post grid + cards ------- */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:32px}
.post-card{background:#fff;border:1px solid #eee;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.post-card:hover{transform:translateY(-3px);box-shadow:0 14px 40px -18px rgba(0,0,0,.18);border-color:#e0e0e0}
.post-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:#f1f1ef;position:relative}
.post-card__img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.post-card:hover .post-card__img{transform:scale(1.04)}
.post-card__placeholder{position:absolute;inset:0;background:linear-gradient(135deg,#f3f3f1 0%,#e6e6e3 100%)}
.post-card__body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.post-card__cat{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#ffb347;text-decoration:none}
.post-card__cat:hover{text-decoration:underline}
.post-card__title{font-size:21px;line-height:1.3;font-weight:700;margin:0;letter-spacing:-.01em}
.post-card__title a{color:#0a0a0a;text-decoration:none}
.post-card__title a:hover{color:#444}
.post-card__excerpt{margin:0;font-size:15px;line-height:1.55;color:#555}
.post-card__meta{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:13px;color:#888;padding-top:10px}
.post-card__meta .dot{opacity:.6}

.blog-empty{text-align:center;font-size:16px;color:#666;padding:60px 0}

/* ------- Pagination ------- */
.pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:48px}
.pagination span a,.pagination span .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border-radius:10px;background:#f3f3f1;color:#1a1a1a;font-weight:600;text-decoration:none;font-size:14px}
.pagination span .current{background:#0a0a0a;color:#fff}
.pagination span a:hover{background:#e9e9e6}

/* ------- Single post ------- */
.post-single__header{padding:60px 0 24px;background:#fff}
.post-single__header-inner{max-width:820px}
.post-single__cat{display:inline-block;color:#ffb347;text-decoration:none;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.post-single__title{font-size:clamp(30px,4.2vw,48px);font-weight:800;line-height:1.1;letter-spacing:-.02em;color:#0a0a0a;margin:0 0 18px}
.post-single__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#777;font-size:14px}
.post-single__meta .dot{opacity:.6}

.post-single__hero{margin:18px 0 0}
.post-single__hero-img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;border-radius:16px}

.post-single__body{padding-top:40px}
.post-single__container{max-width:760px;margin:0 auto}
.post-content{font-size:17px;line-height:1.75;color:#222}
.post-content > * + *{margin-top:1.1em}
.post-content h2{font-size:30px;font-weight:700;letter-spacing:-.01em;margin-top:1.8em;line-height:1.2}
.post-content h3{font-size:23px;font-weight:700;margin-top:1.6em;line-height:1.3}
.post-content p{margin:0}
.post-content a{color:#1a4fff;text-decoration:underline;text-underline-offset:3px}
.post-content a:hover{color:#0a36cc}
.post-content blockquote{border-left:4px solid #ffb347;padding:6px 0 6px 22px;margin:1.6em 0;font-style:italic;color:#444}
.post-content ul,.post-content ol{padding-left:1.4em}
.post-content li + li{margin-top:.4em}
.post-content img{max-width:100%;height:auto;border-radius:12px;display:block}
.post-content pre{background:#0a0a0a;color:#eee;padding:18px 20px;border-radius:12px;overflow-x:auto;font-size:14px}
.post-content code{background:#f3f3f1;padding:2px 6px;border-radius:4px;font-size:.92em}
.post-content pre code{background:none;padding:0}

.post-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:40px 0 0;border-top:1px solid #eee;padding-top:28px}
.post-share{margin-top:32px;display:flex;justify-content:flex-start}

/* ------- Related posts ------- */
.related-posts{background:#fafaf8;border-top:1px solid #eee}
.related-posts__head{display:flex;flex-direction:column;gap:6px;margin-bottom:28px}
.related-posts__head .h-section{margin:0;font-size:30px;letter-spacing:-.01em}

@media (max-width:640px){
  .blog-hero{padding:70px 0 50px}
  .post-grid{grid-template-columns:1fr;gap:22px}
  .post-single__hero-img{border-radius:0}
  .post-single__hero .container{padding-left:0;padding-right:0}
}

/* ------- Rich content blocks (attention-holding, SU-style) ------- */
.post-content{font-size:17.5px;line-height:1.75;color:#25243c}
.post-content > *{margin:0 0 22px}
.post-content h2{font-size:clamp(24px,3vw,32px);font-weight:800;letter-spacing:-.02em;color:var(--navy,#030035);margin:44px 0 16px;line-height:1.15}
.post-content h3{font-size:21px;font-weight:700;color:var(--navy,#030035);margin:32px 0 12px}
.post-content a{color:var(--orange,#ff4f14);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.post-content ul,.post-content ol{padding-left:22px}
.post-content li{margin-bottom:8px}
.post-content img{max-width:100%;height:auto}

/* Quick answer / key box */
.bx{padding:22px 24px;margin:28px 0;border:1px solid rgba(3,0,53,.1);background:#faf9f6}
.bx .bx-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}
.bx p:last-child,.bx ul:last-child{margin-bottom:0}
.bx--quick{border-left:4px solid var(--orange,#ff4f14);background:#fff7f3}
.bx--quick .bx-title{color:var(--orange,#ff4f14)}
.bx--tip{border-left:4px solid #0a8a3a;background:#f2faf4}
.bx--tip .bx-title{color:#0a8a3a}
.bx--warn{border-left:4px solid #d97706;background:#fdf8ee}
.bx--warn .bx-title{color:#b45309}
.bx--note{border-left:4px solid var(--navy,#030035);background:#f4f4fa}
.bx--note .bx-title{color:var(--navy,#030035)}

/* checklist */
.post-content ul.checks{list-style:none;padding-left:0}
.post-content ul.checks li{position:relative;padding-left:30px;margin-bottom:10px}
.post-content ul.checks li::before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;background:var(--orange,#ff4f14);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat}

/* comparison / pricing table */
.post-content .tbl-wrap{overflow-x:auto;margin:28px 0}
.post-content table{width:100%;border-collapse:collapse;font-size:15.5px;min-width:520px}
.post-content thead th{background:var(--navy,#030035);color:#fff;text-align:left;padding:12px 16px;font-weight:700;font-size:14px;letter-spacing:.02em}
.post-content tbody td{padding:12px 16px;border-bottom:1px solid rgba(3,0,53,.1)}
.post-content tbody tr:nth-child(even){background:#faf9f6}

/* stat strip */
.kstats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:28px 0}
.kstats .ks{border:1px solid rgba(3,0,53,.1);background:#faf9f6;padding:16px;text-align:center}
.kstats .ks strong{display:block;font-size:24px;font-weight:800;color:var(--orange,#ff4f14)}
.kstats .ks span{font-size:13px;color:rgba(3,0,53,.6)}

/* FAQ accordions */
.post-content details{border:1px solid rgba(3,0,53,.12);margin:0 0 10px;background:#fff}
.post-content summary{cursor:pointer;padding:16px 18px;font-weight:700;color:var(--navy,#030035);list-style:none;position:relative;padding-right:44px}
.post-content summary::-webkit-details-marker{display:none}
.post-content summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:22px;color:var(--orange,#ff4f14);font-weight:600}
.post-content details[open] summary::after{content:"\2212"}
.post-content details .dt-body{padding:0 18px 16px;color:#3a3952}

/* CTA banner */
.post-cta{background:linear-gradient(135deg,#030035 0%,#0a0a56 100%);color:#fff;padding:32px 30px;margin:40px 0;text-align:center}
.post-cta h3{color:#fff !important;margin:0 0 8px !important;font-size:24px !important}
.post-cta p{color:rgba(255,255,255,.8);margin:0 0 18px}
.post-cta .btn-cta{display:inline-flex;align-items:center;gap:8px;background:var(--orange,#ff4f14);color:#fff !important;font-weight:700;padding:14px 28px;text-decoration:none !important}
.post-cta .btn-cta:hover{background:#e64510}
.post-cta .cta-sub{display:block;margin-top:12px;font-size:13px;color:rgba(255,255,255,.6)}