/* ═══════════════════════════════════
   ARTICLE STYLES - BeSure Blog
   Clean, readable, professional
   ═══════════════════════════════════ */

/* Progress bar */
.progress{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,var(--complementary),var(--brand));z-index:999;width:0;transition:width .08s linear;pointer-events:none}

/* Hero */
.art-hero{max-width:780px;margin:0 auto;padding:2.5rem 1.5rem 1rem;text-align:center}
.art-hero .breadcrumb{margin-bottom:1.2rem;font-size:.82rem}
.art-hero .breadcrumb a{color:var(--tl);text-decoration:none;transition:color .2s}
.art-hero .breadcrumb a:hover{color:var(--complementary)}
.art-hero .breadcrumb span{color:var(--tl);opacity:.5}
.art-hero-meta{display:flex;align-items:center;gap:.7rem;justify-content:center;font-size:.78rem;color:var(--tl);margin-top:.5rem}
.art-hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,4vw,2.8rem);font-weight:400;line-height:1.18;letter-spacing:-.02em;color:var(--uc1);margin-bottom:0}

/* Featured image */
.art-featured-img{max-width:780px;margin:1.5rem auto 0;padding:0 1.5rem}
.art-featured-img img{width:100%;height:auto;border-radius:var(--R);display:block;max-height:440px;object-fit:cover;box-shadow:0 8px 30px rgba(0,0,0,.08)}

/* Layout */
.art-wrap{max-width:780px;margin:0 auto;padding:2rem 1.5rem 3rem}
.art-wrap:has(.toc){display:grid;grid-template-columns:1fr 200px;gap:2.5rem;align-items:start;max-width:1020px}

/* TOC */
.toc{position:sticky;top:1.5rem;font-size:.78rem}
.toc-title{font-family:'Cormorant Garamond',serif;font-size:.95rem;font-weight:600;color:var(--uc1);margin-bottom:.5rem;padding-bottom:.35rem;border-bottom:1px solid rgba(0,0,0,.08)}
.toc ol{list-style:none;counter-reset:toc;padding:0;margin:0}
.toc li{counter-increment:toc;margin-bottom:.25rem}
.toc ol a{color:var(--tl);display:flex;gap:.35rem;padding:.2rem 0 .2rem .55rem;border-left:2px solid transparent;transition:all .2s;line-height:1.4;text-decoration:none}
.toc ol a::before{content:counter(toc) ".";color:var(--brand);font-weight:500;flex-shrink:0;width:1.1rem}
.toc ol a:hover,.toc ol a.active{color:var(--uc1);border-left-color:var(--complementary)}
.toc-cta{display:block;margin-top:1.2rem;text-align:center;background:var(--complementary);color:#fff;padding:.6rem 1rem;border-radius:10px;font-size:.8rem;font-weight:500;transition:all .3s;text-decoration:none;border-left:none!important}
.toc-cta::before{content:none!important;display:none!important}
.toc-cta:hover{background:var(--uc1);transform:translateY(-1px)}

/* Article body */
.art{max-width:700px}
.art h1,.art h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.3rem,2.5vw,1.65rem);
  font-weight:600;
  color:var(--uc1);
  margin:2rem 0 .6rem;
  padding:0;
  line-height:1.25;
  scroll-margin-top:1.5rem;
  border-left:3px solid var(--complementary);
  padding-left:.8rem;
}
.art h1::before,.art h2::before{display:none}
.art h1:first-child,.art h2:first-child{margin-top:0}
.art h3{
  font-family:'Cormorant Garamond',serif;
  font-size:1.15rem;
  font-weight:600;
  color:var(--uc1);
  margin:1.5rem 0 .4rem;
}
.art p{font-size:.92rem;color:var(--tl);line-height:1.85;margin-bottom:.8rem}
.art p:last-child{margin-bottom:0}
.art strong{color:var(--uc1);font-weight:600}
.art em{color:var(--complementary);font-style:italic;font-weight:500}
.art>ul,.art>ol{margin:.5rem 0 1.2rem 1.2rem;font-size:.9rem;color:var(--tl)}
.art ul,.art ol{margin:.5rem 0 1.2rem 1.2rem;font-size:.9rem;color:var(--tl)}
.art li{margin-bottom:.3rem;line-height:1.75;padding-left:.3rem}
.art li::marker{color:var(--brand)}
.art li p{margin-bottom:.2rem}
.art a{color:var(--brand);text-decoration:underline;text-underline-offset:2px;font-weight:500;transition:color .2s}
.art a:hover{color:var(--complementary)}
.art blockquote{
  border-left:3px solid var(--brand);
  margin:1.5rem 0;
  padding:.8rem 1.2rem;
  background:var(--warm);
  border-radius:0 var(--R) var(--R) 0;
  font-style:italic;
  color:var(--uc1);
  font-size:.9rem;
  line-height:1.7;
}
.art hr{border:none;height:1px;background:linear-gradient(to right,rgba(0,0,0,.08),transparent);margin:2rem 0}
.art img{max-width:100%;height:auto;border-radius:12px;margin:1rem 0;box-shadow:0 4px 16px rgba(0,0,0,.06)}

/* Callout boxes */
.callout{border-radius:11px;padding:1rem 1.2rem;margin:1.3rem 0;display:flex;gap:.7rem;align-items:flex-start;font-size:.84rem;line-height:1.7}
.callout-icon{flex-shrink:0;width:26px;height:26px;border-radius:7px;display:flex;align-items:center;justify-content:center;margin-top:.1rem}
.callout-icon svg{width:14px;height:14px}
.callout p{margin:0;color:var(--tl)}
.callout a{font-weight:600}
.callout--info{background:#e8f0f8;border-left:3px solid #4a7fb5}
.callout--info .callout-icon{background:rgba(74,127,181,.12);color:#4a7fb5}
.callout--warning{background:#fce8e8;border-left:3px solid var(--complementary)}
.callout--warning .callout-icon{background:rgba(163,53,80,.12);color:var(--complementary)}
.callout--warning a{color:var(--complementary)}
.callout--tip{background:#e8f4ea;border-left:3px solid var(--green-accent)}
.callout--tip .callout-icon{background:rgba(74,124,111,.12);color:var(--green-accent)}
.callout--note{background:#fef9e7;border-left:3px solid #c5a033}
.callout--note .callout-icon{background:rgba(197,160,51,.1);color:#c5a033}

/* Steps */
.art-steps{display:flex;flex-direction:column;gap:.5rem;margin:.8rem 0 1.2rem;list-style:none;padding:0}
.art-step{display:flex;gap:.7rem;align-items:flex-start;padding:.7rem .9rem;background:var(--pink-bg);border-radius:9px;transition:background .15s}
.art-step:hover{background:var(--warm)}
.art-step-n{flex-shrink:0;width:26px;height:26px;background:linear-gradient(135deg,var(--complementary),var(--brand));border-radius:7px;display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',serif;font-size:.75rem;font-weight:600;color:#fff}
.art-step p{margin:0;font-size:.84rem;line-height:1.6;padding-top:.1rem}

/* Article CTA */
.art-cta-box{background:linear-gradient(135deg,var(--pink-bg),var(--warm));border-radius:14px;padding:1.8rem;text-align:center;margin:1.8rem 0}
.art-cta-box h3{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:500;color:var(--uc1);margin-bottom:.3rem}
.art-cta-box p{font-size:.86rem;color:var(--tl);margin-bottom:1rem}
.art-cta-btn{display:inline-flex;align-items:center;gap:.4rem;background:var(--complementary);color:#fff;padding:.65rem 1.6rem;border-radius:100px;font-size:.86rem;font-weight:500;transition:all .3s;text-decoration:none}
.art-cta-btn:hover{background:var(--uc1);transform:translateY(-1px);box-shadow:0 4px 14px rgba(61,53,81,.2)}
.art-cta-btn svg{width:15px;height:15px}

/* Crisis box */
.art-crisis{background:var(--uc1);color:rgba(255,255,255,.72);padding:1.1rem 1.3rem;border-radius:12px;margin:1.5rem 0;font-size:.8rem;line-height:1.9}
.art-crisis-head{color:#fff;font-weight:600;font-size:.85rem;margin-bottom:.2rem;display:flex;align-items:center;gap:.35rem}
.art-crisis-head svg{width:15px;height:15px;color:var(--brand)}
.art-crisis a{color:#fff;font-weight:600;border-bottom:1px solid rgba(255,255,255,.3);transition:border-color .2s;text-decoration:none}
.art-crisis a:hover{border-color:#fff}

/* Author */
.art-author{display:flex;gap:.8rem;align-items:center;padding:1rem;background:var(--pink-bg);border-radius:12px;margin:1.5rem 0}
.art-author-av{width:46px;height:46px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,var(--brand),var(--complementary));display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',serif;font-size:1rem;color:#fff}
.art-author-name{font-weight:600;color:var(--uc1);font-size:.82rem}
.art-author-role{font-size:.76rem;color:var(--tl);line-height:1.4}

/* Share */
.art-share{display:flex;align-items:center;gap:.5rem;margin:1rem 0}
.art-share-label{font-size:.76rem;color:var(--tl);font-weight:500}
.art-share-btn{width:32px;height:32px;border-radius:7px;border:1px solid rgba(0,0,0,.06);background:var(--pink-bg);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s}
.art-share-btn:hover{background:var(--warm);transform:translateY(-1px)}
.art-share-btn svg{width:14px;height:14px;color:var(--tl)}

/* Responsive */
@media(max-width:880px){
  .art-wrap{grid-template-columns:1fr;gap:0}
  .toc{position:static;margin-bottom:1.5rem;padding:.8rem 1rem;background:var(--pink-bg);border-radius:11px}
  .toc ol{display:grid;grid-template-columns:1fr 1fr;gap:.15rem .6rem}
  .toc ol a{border-left:none;padding-left:0}
  .toc-cta{display:none}
}
@media(max-width:560px){
  .art-hero h1{font-size:1.5rem}
  .art-featured-img{padding:0 1rem}
  .art-wrap{padding:1.5rem 1rem 2.5rem}
  .art h1,.art h2{font-size:1.2rem}
}
