/* Shared blog styles for angar.tpk-stella.com */
:root{
  --ink:#121316;
  --bg:#F6F5F1;
  --accent:#2D63A8;
  --muted:#6B6F76;
  --border:rgba(18,19,22,.12);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Manrope, Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:17px;
  line-height:1.65;
  color:var(--ink);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,picture{ max-width:100%; height:auto; display:block; }
a{ color:var(--accent); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
a:hover{ color:var(--ink); }

/* Topbar */
.topbar{
  background:var(--bg);
  border-bottom:1px solid var(--border);
  padding:14px 0;
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(120%) blur(6px);
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.topbar a.brand{ display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:var(--ink); font-weight:600; font-size:15px; }
.topbar img.brand-logo{ height:32px; width:auto; }
.topbar nav{ display:flex; gap:22px; align-items:center; }
.topbar nav a{
  color:var(--ink); text-decoration:none; font-size:14.5px; font-weight:500;
  padding:6px 0; border-bottom:1px solid transparent; transition:border-color .15s;
}
.topbar nav a:hover{ border-bottom-color:var(--ink); }
.topbar .cta-btn{
  background:var(--ink); color:#fff; padding:9px 16px; border-radius:6px;
  font-size:14px; font-weight:600; text-decoration:none;
}
@media (max-width:720px){
  .topbar nav{ display:none; }
}

/* Layout */
.container{ max-width:1100px; margin:0 auto; padding:0 24px; }
main.article{ padding:48px 0 80px; }
.article-wrap{ max-width:760px; margin:0 auto; }

/* Breadcrumbs */
.crumbs{ font-size:13.5px; color:var(--muted); margin-bottom:32px; }
.crumbs a{ color:var(--muted); }
.crumbs a:hover{ color:var(--ink); }
.crumbs .sep{ margin:0 8px; opacity:.5; }

/* Article header */
.article-meta{ font-size:13.5px; color:var(--muted); display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-bottom:18px; }
.article-meta .tag{ background:rgba(45,99,168,.1); color:var(--accent); padding:3px 10px; border-radius:99px; font-weight:600; font-size:12.5px; letter-spacing:.02em; text-transform:uppercase; }
h1.article-title{
  font-size:42px; line-height:1.15; letter-spacing:-.01em;
  margin:0 0 18px; font-weight:700; color:var(--ink);
}
.article-lede{
  font-size:19px; line-height:1.55; color:rgba(18,19,22,.78);
  margin:0 0 36px;
}

/* Article body */
.article-body h2{
  font-size:28px; line-height:1.25; margin:48px 0 16px;
  font-weight:700; letter-spacing:-.005em; color:var(--ink);
}
.article-body h3{
  font-size:21px; line-height:1.35; margin:32px 0 12px;
  font-weight:600; color:var(--ink);
}
.article-body p{ margin:0 0 18px; }
.article-body ul, .article-body ol{ margin:0 0 22px; padding-left:24px; }
.article-body li{ margin-bottom:8px; }
.article-body strong{ color:var(--ink); font-weight:600; }

/* Tables */
.article-body .table-wrap{ overflow-x:auto; margin:24px 0 30px; -webkit-overflow-scrolling:touch; }
.article-body table{ width:100%; border-collapse:collapse; min-width:560px; font-size:15px; line-height:1.5; }
.article-body th, .article-body td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--border); }
.article-body th{ font-weight:600; background:var(--bg); }

/* Callout */
.callout{
  margin:30px 0;
  padding:20px 22px;
  background:var(--bg);
  border-left:3px solid var(--accent);
  border-radius:6px;
  font-size:15.5px;
  line-height:1.6;
}
.callout strong{ display:block; margin-bottom:6px; font-size:13.5px; text-transform:uppercase; letter-spacing:.04em; color:var(--accent); }

/* FAQ */
.faq{ margin:48px 0 30px; }
.faq h2{ margin-bottom:16px; }
.faq-list{ display:flex; flex-direction:column; gap:10px; }
.faq-item{ border:1px solid var(--border); border-radius:8px; background:#fff; }
.faq-item[open]{ border-color:rgba(18,19,22,.35); }
.faq-item summary{
  position:relative; padding:16px 50px 16px 20px;
  font-weight:600; font-size:16px; line-height:1.4;
  cursor:pointer; list-style:none; color:var(--ink);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:''; position:absolute; right:20px; top:50%;
  width:9px; height:9px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:translateY(-75%) rotate(45deg);
  transition:transform .25s ease;
}
.faq-item[open] summary::after{ transform:translateY(-25%) rotate(-135deg); }
.faq-item p{ margin:0; padding:0 20px 18px; font-size:15px; line-height:1.6; color:rgba(18,19,22,.82); }

/* CTA */
.article-cta{
  margin:48px 0 0;
  padding:32px 30px;
  background:var(--ink);
  color:#fff;
  border-radius:10px;
}
.article-cta h3{ margin:0 0 8px; font-size:22px; font-weight:700; color:#fff; }
.article-cta p{ margin:0 0 20px; color:rgba(255,255,255,.78); font-size:15.5px; }
.article-cta .btn{
  display:inline-block; background:#fff; color:var(--ink);
  padding:12px 24px; border-radius:6px;
  font-weight:600; text-decoration:none; font-size:15px;
}
.article-cta .btn:hover{ background:var(--bg); }

/* Footer */
footer{
  background:var(--bg); border-top:1px solid var(--border);
  padding:40px 0 32px; margin-top:60px;
  font-size:14px; color:var(--muted);
}
footer .footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:36px; align-items:start; }
footer h4{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink); margin:0 0 12px; }
footer a{ display:block; color:var(--muted); text-decoration:none; padding:3px 0; }
footer a:hover{ color:var(--ink); }
footer .copy{ grid-column:1/-1; padding-top:24px; margin-top:24px; border-top:1px solid var(--border); font-size:12.5px; }
@media (max-width:720px){
  footer .footer-grid{ grid-template-columns:1fr; gap:20px; }
}

/* Listing */
.blog-listing{ padding:48px 0 80px; }
.blog-listing-head{ max-width:760px; margin:0 auto 40px; }
.blog-listing-head h1{ font-size:38px; line-height:1.15; margin:0 0 14px; font-weight:700; }
.blog-listing-head p{ font-size:18px; color:rgba(18,19,22,.7); margin:0; }
.post-grid{ display:flex; flex-direction:column; gap:28px; max-width:760px; margin:0 auto; }
.post-card{
  display:block; padding:24px 26px;
  border:1px solid var(--border); border-radius:10px;
  text-decoration:none; color:var(--ink);
  transition:border-color .15s, transform .15s;
}
.post-card:hover{ border-color:rgba(18,19,22,.5); transform:translateY(-2px); }
.post-card .post-date{ font-size:12.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
.post-card h2{ font-size:23px; line-height:1.3; margin:0 0 8px; font-weight:700; }
.post-card p{ font-size:15px; line-height:1.55; color:rgba(18,19,22,.72); margin:0; }

/* Reading aids */
@media (max-width:640px){
  h1.article-title{ font-size:32px; }
  .article-body h2{ font-size:24px; }
  .article-body h3{ font-size:19px; }
  body{ font-size:16px; }
  .article-lede{ font-size:17px; }
}
