/* =========================================================
   JaiSandar 5.0.8 — premium editorial article experience
   ========================================================= */

body.single .single-main{
  --article-accent:#660033;
  --article-accent-soft:#f8eaf1;
  --article-accent-ink:#4a0025;
}
body.single .single-main.single-rubric-market{--article-accent:#006666;--article-accent-soft:#e3f2f1;--article-accent-ink:#004d4d}
body.single .single-main.single-rubric-economy{--article-accent:#2676a5;--article-accent-soft:#eaf4fb;--article-accent-ink:#17577c}
body.single .single-main.single-rubric-trade{--article-accent:#3967b1;--article-accent-soft:#edf2fb;--article-accent-ink:#294b82}
body.single .single-main.single-rubric-business{--article-accent:#b86a16;--article-accent-soft:#fff2df;--article-accent-ink:#84480a}
body.single .single-main.single-rubric-banking{--article-accent:#425d8d;--article-accent-soft:#edf1f8;--article-accent-ink:#2d4268}
body.single .single-main.single-rubric-rating{--article-accent:#7252a8;--article-accent-soft:#f2eef9;--article-accent-ink:#523984}
body.single .single-main.single-rubric-analytics{--article-accent:#5b6470;--article-accent-soft:#f0f2f4;--article-accent-ink:#3f4750}

/* Reading progress */
.article-reading-progress{
  position:fixed;
  z-index:99999;
  top:0;
  left:0;
  right:0;
  height:3px;
  pointer-events:none;
  background:rgba(255,255,255,.18);
}
.article-reading-progress i{
  display:block;
  width:100%;
  height:100%;
  transform:scaleX(0);
  transform-origin:0 50%;
  background:linear-gradient(90deg,var(--article-progress-a,#008080),var(--article-progress-b,#58c8c2));
  box-shadow:0 0 10px rgba(0,128,128,.26);
  will-change:transform;
}
body.admin-bar .article-reading-progress{top:32px}

/* Intro */
body.single .single-header{
  position:relative;
  animation:jai-article-intro .58s cubic-bezier(.2,.7,.2,1) both;
}
body.single .single-header .eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 11px;
  border:1px solid color-mix(in srgb,var(--article-accent) 20%,transparent);
  border-radius:999px;
  background:color-mix(in srgb,var(--article-accent) 9%,#fff);
  color:var(--article-accent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}
body.single .single-header h1{
  text-wrap:balance;
}
body.single .single-lead{
  line-height:1.55;
}
body.single .single-meta{
  padding-top:2px;
}

/* Three-column reading frame keeps the article itself perfectly centred. */
.article-reading-shell{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:52px minmax(0,1040px) 52px;
  grid-template-areas:"share surface spacer";
  justify-content:center;
  gap:18px;
  align-items:start;
}
.article-reading-shell .article-surface{
  grid-area:surface;
  margin:0 !important;
  animation:jai-article-paper .66s .07s cubic-bezier(.2,.7,.2,1) both;
}
.article-reading-spacer{grid-area:spacer}

/* Share rail */
.article-share-rail{
  grid-area:share;
  position:sticky;
  top:190px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  padding-top:14px;
}
.article-share-title{
  color:#7d817f;
  font-size:.61rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  margin-bottom:2px;
}
.article-share-buttons{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.article-share-button{
  position:relative;
  width:42px;
  height:42px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(18,42,54,.10);
  border-radius:13px;
  background:rgba(255,255,255,.78);
  color:#3f4a52;
  box-shadow:0 5px 16px rgba(22,39,48,.07),inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,color .18s ease,background .18s ease;
}
.article-share-button svg{width:19px;height:19px;fill:currentColor;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.article-share-button.telegram svg,.article-share-button.whatsapp svg{stroke:none}
.article-share-button.copy svg{fill:none}
.article-share-button:hover{
  transform:translateY(-2px);
  color:var(--article-accent);
  border-color:color-mix(in srgb,var(--article-accent) 27%,transparent);
  background:#fff;
  box-shadow:0 9px 20px rgba(22,39,48,.11);
}
.article-share-button.is-copied{
  color:#fff;
  border-color:var(--article-accent);
  background:var(--article-accent);
}
.article-share-button.is-copied:after{
  content:"✓";
  position:absolute;
  font-size:17px;
  font-weight:900;
}
.article-share-button.is-copied svg{opacity:0}

/* Hero */
body.single .single-hero{
  position:relative;
  box-shadow:0 12px 34px rgba(36,37,31,.09);
}
body.single .single-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}
body.single .single-hero img,
body.single .article-content figure img,
body.single .article-content .wp-block-image img{
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .3s ease;
}
@media(hover:hover) and (pointer:fine){
  body.single .single-hero:hover img,
  body.single .article-content figure:hover img,
  body.single .article-content .wp-block-image:hover img{transform:scale(1.012)}
}

/* Typography and section rhythm */
body.single .article-content{
  color:#252827;
  font-size:1.075rem;
  line-height:1.79;
}
body.single .article-content p{margin:0 0 1.28em}
body.single .article-content h2{
  position:relative;
  margin:2.15em 0 .82em;
  padding:0 0 0 22px;
  color:#191d1c;
  font-size:clamp(1.65rem,2.5vw,2rem);
  line-height:1.15;
  letter-spacing:-.035em;
  text-wrap:balance;
}
body.single .article-content h2:before{
  content:"";
  position:absolute;
  left:0;
  top:.08em;
  width:5px;
  height:1.05em;
  border-radius:999px;
  background:var(--article-accent);
  box-shadow:0 0 0 5px color-mix(in srgb,var(--article-accent) 9%,transparent);
}
body.single .article-content h3{
  margin:1.8em 0 .7em;
  color:#252827;
  font-size:1.35rem;
  line-height:1.25;
  letter-spacing:-.025em;
}
body.single .article-content a{
  color:var(--article-accent-ink);
  text-decoration-color:color-mix(in srgb,var(--article-accent) 42%,transparent);
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}
body.single .article-content a:hover{color:var(--article-accent)}

/* Quotes */
body.single .article-content blockquote,
body.single .article-content .wp-block-quote,
body.single .article-content .wp-block-pullquote{
  position:relative;
  margin:2em 0;
  padding:22px 24px 22px 58px;
  border:1px solid color-mix(in srgb,var(--article-accent) 17%,transparent);
  border-left:0;
  border-radius:17px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--article-accent) 8%,#fff),rgba(255,255,255,.66));
  box-shadow:0 8px 24px rgba(34,40,38,.045);
  font-size:1.12rem;
  line-height:1.62;
}
body.single .article-content blockquote:before,
body.single .article-content .wp-block-quote:before,
body.single .article-content .wp-block-pullquote:before{
  content:"“";
  position:absolute;
  left:18px;
  top:12px;
  color:var(--article-accent);
  font-family:Georgia,serif;
  font-size:3.2rem;
  line-height:1;
  opacity:.82;
}

/* Data-rich short paragraphs are upgraded automatically by article.js. */
body.single .article-content .article-number-callout{
  margin:1.7em 0;
  padding:18px 20px;
  border:1px solid color-mix(in srgb,var(--article-accent) 17%,transparent);
  border-radius:17px;
  background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--article-accent) 7%,#fff));
  box-shadow:0 8px 22px rgba(28,40,38,.045);
}
body.single .article-content .article-number-callout > strong:first-child{
  display:block;
  margin-bottom:4px;
  color:var(--article-accent);
  font-size:clamp(1.85rem,4vw,2.7rem);
  line-height:1;
  letter-spacing:-.045em;
}

/* Media and visual blocks */
body.single .article-content figure,
body.single .article-content .wp-block-image{
  overflow:hidden;
  border-radius:15px;
}
body.single .article-content .jai-graphic{
  position:relative;
  isolation:isolate;
}
body.single .article-content .jai-graphic:after{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;
  border-radius:18px;
  box-shadow:0 13px 34px rgba(30,39,36,.06);
  pointer-events:none;
}

/* Reveal animation. Hidden states only apply after JS confirms enhancement. */
body.jai-article-enhanced .jai-reveal{
  opacity:0;
  transform:translateY(16px) scale(.994);
  transition:opacity .48s cubic-bezier(.2,.7,.2,1),transform .48s cubic-bezier(.2,.7,.2,1);
}
body.jai-article-enhanced .jai-reveal.is-visible{
  opacity:1;
  transform:none;
}

/* Tags */
body.single .post-tags{
  padding-top:14px;
  border-top:1px solid rgba(65,66,58,.10);
}
body.single .post-tags a{
  border-color:color-mix(in srgb,var(--article-accent) 16%,#ddd);
  background:rgba(255,255,255,.58);
  color:var(--article-accent-ink);
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
body.single .post-tags a:hover{
  color:#fff;
  background:var(--article-accent);
  border-color:var(--article-accent);
}

/* Related stories */
body.single .premium-related{
  width:100%;
  max-width:1040px;
  margin:58px auto 0;
  padding:25px;
  border:1px solid rgba(30,42,38,.08);
  border-radius:24px;
  background:rgba(255,255,255,.72);
  box-shadow:0 14px 38px rgba(39,44,38,.055);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.related-heading-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.related-kicker{
  display:block;
  margin-bottom:5px;
  color:var(--article-accent);
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.single .premium-related h2{
  margin:0;
  font-size:clamp(1.65rem,3vw,2rem);
  letter-spacing:-.04em;
}
.related-count{
  color:#7b827f;
  font-size:.75rem;
  font-weight:700;
  white-space:nowrap;
}
body.single .premium-related .stories-grid{gap:14px}
body.single .premium-related .story-card{
  border:1px solid rgba(32,48,42,.07);
  border-radius:17px;
  box-shadow:0 5px 18px rgba(29,40,36,.05);
}
body.single .premium-related .card-visual{height:180px}
body.single .premium-related .card-content{padding:16px 17px 18px}
body.single .premium-related .card-content h3{font-size:1.08rem;margin:6px 0 10px}
body.single .premium-related .card-excerpt{display:none}
body.single .premium-related .visual-label{top:11px;left:11px;padding:5px 8px;font-size:.58rem}

/* Telegram end card */
.article-telegram-cta{
  width:100%;
  max-width:1040px;
  margin:18px auto 0;
  padding:19px 22px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  border:1px solid rgba(0,128,128,.14);
  border-radius:20px;
  background:linear-gradient(125deg,#f7ffff,#edf9f8 56%,#ffffff);
  box-shadow:0 12px 34px rgba(15,57,55,.055);
}
.article-telegram-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#008080;
  color:#fff;
  box-shadow:0 7px 17px rgba(0,128,128,.2),inset 0 1px 0 rgba(255,255,255,.28);
}
.article-telegram-icon svg{width:25px;height:25px;fill:currentColor}
.article-telegram-copy{min-width:0}
.article-telegram-copy span{
  display:block;
  margin-bottom:3px;
  color:#008080;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.article-telegram-copy strong{
  display:block;
  color:#23312f;
  font-size:1rem;
  line-height:1.3;
}
.article-telegram-cta>a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding:0 15px;
  border-radius:12px;
  background:#008080;
  color:#fff;
  font-size:.82rem;
  font-weight:900;
  box-shadow:0 7px 17px rgba(0,128,128,.18);
  transition:transform .18s ease,box-shadow .18s ease;
}
.article-telegram-cta>a:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(0,128,128,.24)}

@keyframes jai-article-intro{
  from{opacity:0;transform:translateY(9px)}
  to{opacity:1;transform:none}
}
@keyframes jai-article-paper{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:none}
}

@media(max-width:950px){
  .article-reading-shell{
    grid-template-columns:44px minmax(0,900px) 44px;
    gap:10px;
  }
  .article-share-rail{top:184px}
  .article-share-button{width:38px;height:38px;border-radius:11px}
  body.single .premium-related,
  .article-telegram-cta{max-width:900px}
}

@media(max-width:780px){
  .article-reading-shell{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:"surface" "share";
    gap:0;
  }
  .article-reading-spacer{display:none}
  .article-share-rail{
    position:static;
    width:100%;
    max-width:none;
    padding:12px 14px 2px;
    display:flex;
    flex-direction:row;
    justify-content:flex-start;
    gap:10px;
  }
  .article-share-title{
    writing-mode:horizontal-tb;
    transform:none;
    margin:0 2px 0 0;
  }
  .article-share-buttons{flex-direction:row;gap:6px}
  .article-share-button{width:38px;height:38px}
}

@media(max-width:650px){
  body.admin-bar .article-reading-progress{top:46px}
  .article-reading-progress{height:2px}
  body.single .single-header h1{
    font-size:clamp(2rem,9vw,2.35rem) !important;
    line-height:1.03;
    letter-spacing:-.052em;
    margin-top:13px;
    margin-bottom:16px;
  }
  body.single .single-lead{font-size:1.02rem;line-height:1.52}
  body.single .single-meta{gap:8px;font-size:.75rem}
  body.single .single-header .eyebrow{min-height:27px;padding:5px 9px;font-size:.64rem}
  body.single .article-content{font-size:1.04rem;line-height:1.74}
  body.single .article-content h2{
    margin-top:1.85em;
    padding-left:18px;
    font-size:1.55rem;
  }
  body.single .article-content h2:before{width:4px;box-shadow:0 0 0 4px color-mix(in srgb,var(--article-accent) 8%,transparent)}
  body.single .article-content blockquote,
  body.single .article-content .wp-block-quote,
  body.single .article-content .wp-block-pullquote{
    margin:1.6em 0;
    padding:18px 16px 18px 48px;
    border-radius:14px;
    font-size:1.03rem;
  }
  body.single .article-content blockquote:before,
  body.single .article-content .wp-block-quote:before,
  body.single .article-content .wp-block-pullquote:before{left:14px;top:10px;font-size:2.8rem}
  body.single .article-content .article-number-callout{padding:16px;border-radius:14px}
  body.single .article-content .article-number-callout > strong:first-child{font-size:2rem}
  .article-share-rail{padding-left:12px;padding-right:12px}
  body.single .premium-related{
    width:calc(100% - 24px);
    margin-top:38px;
    padding:17px 0 17px 14px;
    border-radius:18px;
    overflow:hidden;
  }
  .related-heading-row{padding-right:14px;margin-bottom:13px}
  .related-count{display:none}
  body.single .premium-related .stories-grid{
    display:flex !important;
    gap:10px;
    overflow-x:auto;
    padding:0 14px 6px 0;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  body.single .premium-related .stories-grid::-webkit-scrollbar{display:none}
  body.single .premium-related .story-card{
    flex:0 0 min(78vw,300px);
    width:min(78vw,300px);
    margin:0 !important;
    scroll-snap-align:start;
  }
  body.single .premium-related .card-visual{height:165px}
  .article-telegram-cta{
    width:calc(100% - 24px);
    margin-top:14px;
    padding:15px;
    grid-template-columns:42px minmax(0,1fr);
    gap:11px;
    border-radius:17px;
  }
  .article-telegram-icon{width:42px;height:42px;border-radius:13px}
  .article-telegram-icon svg{width:22px;height:22px}
  .article-telegram-copy strong{font-size:.9rem}
  .article-telegram-cta>a{
    grid-column:1/-1;
    justify-content:center;
    min-height:40px;
  }
}

@media(prefers-reduced-motion:reduce){
  body.single .single-header,
  .article-reading-shell .article-surface{animation:none!important}
  body.jai-article-enhanced .jai-reveal{opacity:1!important;transform:none!important;transition:none!important}
  body.single .single-hero img,
  body.single .article-content figure img,
  body.single .article-content .wp-block-image img,
  .article-share-button,
  .article-telegram-cta>a{transition:none!important}
}


/* =========================================================
   JAISANDAR 5.0.9 — SINGLE ARTICLE LAYOUT POLISH
   Wider desktop title, home-like rubric navigation, stable header,
   desktop/mobile TOC and refined captions.
   ========================================================= */

/* Header actions must stay on the far right on article pages. */
body.single .site-header .site-nav{
  width:100%;
  max-width:var(--jai-width);
}
body.single .site-header .site-brand{flex:0 0 auto!important}
body.single .site-header .header-actions{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
}

/* Desktop title follows the wider article paper instead of the 760px text column. */
@media(min-width:951px){
  body.single .single-main{max-width:1180px!important}
  body.single .single-header{
    width:100%!important;
    max-width:1040px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.single .single-header h1{
    max-width:1010px!important;
    font-size:clamp(3rem,4.65vw,4.9rem)!important;
    line-height:1.01!important;
    letter-spacing:-.057em!important;
    text-wrap:pretty!important;
  }
  body.single .single-lead{max-width:840px!important}
}

/* Article rubric row now has the same visual weight as the homepage row. */
.article-rubric-nav-shell{
  overflow:visible;
  background:rgba(251,253,254,.985)!important;
}
.article-rubric-nav{
  position:relative!important;
  isolation:isolate;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:6px!important;
  width:min(1180px,100%)!important;
  padding:7px 24px!important;
}
.article-rubric-link,.article-rubric-more{
  position:relative;
  z-index:2;
  min-height:64px!important;
  padding:6px 4px 5px!important;
  gap:4px!important;
  border-radius:13px!important;
  font-size:.66rem!important;
  transition:color .2s ease,transform .2s ease,background .2s ease,border-color .2s ease!important;
}
.article-rubric-link>i,.article-rubric-more>i,.article-rubric-drawer-link>i{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  flex-basis:34px!important;
  padding:5px!important;
  border-radius:10px!important;
}
.article-rubric-link>i svg,.article-rubric-more>i svg,.article-rubric-drawer-link>i svg{width:23px!important;height:23px!important}
.article-rubric-link:hover>i,.article-rubric-more:hover>i{animation:rubric-icon-lift .6s ease both}
.article-rubric-link.active,.article-rubric-more.active{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
}
.article-rubric-link.active>i,.article-rubric-more.active>i{
  color:inherit!important;
  border-color:rgba(255,255,255,.5)!important;
  background:rgba(255,255,255,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.article-nav-active-indicator{
  z-index:1!important;
  background:linear-gradient(135deg,#7d1842,#5f0d30)!important;
  box-shadow:0 8px 20px rgba(102,0,51,.20)!important;
}
.article-rubric-active-market .article-nav-active-indicator{background:linear-gradient(135deg,#129494,#007171)!important;box-shadow:0 8px 20px rgba(0,128,128,.22)!important}
.article-rubric-active-economy .article-nav-active-indicator{background:linear-gradient(135deg,#5f9079,#3e6f59)!important}
.article-rubric-active-banking .article-nav-active-indicator{background:linear-gradient(135deg,#6c5b80,#4b3d5d)!important}
.article-rubric-active-rating .article-nav-active-indicator{background:linear-gradient(135deg,#7b274d,#591834)!important}
.article-rubric-active-analytics .article-nav-active-indicator{background:linear-gradient(135deg,#4d7777,#34595b)!important}

/* Automatic table of contents. */
.article-reading-shell{max-width:1180px!important;grid-template-columns:52px minmax(0,1040px) 52px!important;grid-template-areas:"share surface toc"!important;gap:18px!important}
.article-toc{
  position:sticky;
  top:164px;
  align-self:start;
  min-width:0;
  max-height:calc(100vh - 190px);
  padding:13px 12px;
  overflow:auto;
  border:1px solid rgba(34,50,48,.09);
  border-radius:16px;
  background:rgba(255,255,255,.68);
  box-shadow:0 8px 24px rgba(37,44,41,.045);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.article-toc[hidden]{display:none!important}
.article-toc-toggle{
  width:100%;
  padding:0 0 8px;
  border:0;
  border-bottom:1px solid rgba(45,60,57,.09);
  background:transparent;
  color:#6b7472;
  font:900 .64rem/1.2 Inter,"Segoe UI",Arial,sans-serif;
  letter-spacing:.08em;
  text-align:left;
  text-transform:uppercase;
  cursor:default;
}
.article-toc-toggle i{display:none}
.article-toc-links{display:flex;flex-direction:column;gap:3px;margin-top:7px}
.article-toc-links a{
  display:block;
  padding:7px 8px;
  border-radius:9px;
  color:#66706e;
  font-size:.72rem;
  font-weight:700;
  line-height:1.28;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.article-toc-links a:hover{background:#f2f6f4;color:var(--article-accent);transform:translateX(2px)}
.article-toc-links a.is-active{background:color-mix(in srgb,var(--article-accent) 9%,#fff);color:var(--article-accent);font-weight:900}

/* Photo and inline image captions. */
body.single figcaption,.article-content .wp-element-caption{
  position:relative;
  margin-top:7px!important;
  padding-left:18px;
  color:#7b817f;
  font-size:.72rem!important;
  line-height:1.4;
}
body.single figcaption:before,.article-content .wp-element-caption:before{
  content:"◉";
  position:absolute;
  left:1px;
  top:.02em;
  color:var(--article-accent);
  font-size:.62rem;
}

@media(min-width:1300px){
  body.single .single-main{max-width:1380px!important}
  .article-reading-shell{max-width:1318px!important;grid-template-columns:52px minmax(0,1040px) 190px!important;grid-template-areas:"share surface toc"!important;gap:18px!important}
}
@media(min-width:781px) and (max-width:1299px){
  .article-toc{display:none!important}
}
@media(max-width:1100px) and (min-width:781px){
  .article-reading-shell{max-width:100%!important;grid-template-columns:46px minmax(0,1fr) 46px!important;grid-template-areas:"share surface toc"!important;gap:12px!important}
}

@media(max-width:780px){
  /* Header remains balanced: brand left, indicators + Telegram right. */
  body.single .site-header .header-actions{margin-left:auto!important}

  /* Full-width, homepage-sized rubric bar on article pages. */
  .article-rubric-nav-shell{width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
  .article-rubric-nav{
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    padding:6px 0!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-template-rows:68px!important;
    gap:2px!important;
  }
  .article-rubric-link.article-rubric-home,
  .article-rubric-link.article-rubric-market,
  .article-rubric-link.article-rubric-economy,
  .article-rubric-link.article-rubric-banking,
  .article-rubric-more{
    min-height:68px!important;
    height:68px!important;
    padding:5px 1px 4px!important;
    gap:4px!important;
    border-radius:11px!important;
    font-size:.52rem!important;
  }
  .article-rubric-link>i,.article-rubric-more>i{
    width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important;flex-basis:33px!important;padding:4px!important
  }
  .article-rubric-link>i svg,.article-rubric-more>i svg{width:23px!important;height:23px!important}
  .article-rubric-drawer:not([hidden]){left:0!important;right:0!important;border-radius:0 0 15px 15px!important}
  .article-rubric-drawer-link{min-height:68px!important;font-size:.50rem!important}

  /* TOC becomes a compact collapsible block below the article paper. */
  .article-reading-shell{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:"surface" "share" "toc"!important;gap:0!important}
  .article-toc{
    grid-area:toc;
    position:static;
    width:calc(100% - 24px);
    max-height:none;
    margin:10px 12px 0;
    padding:0;
    overflow:hidden;
    border-radius:14px;
    background:rgba(255,255,255,.72);
  }
  .article-toc-toggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:44px;
    padding:0 13px;
    border-bottom:0;
    cursor:pointer;
  }
  .article-toc-toggle i{display:block;font-style:normal;font-size:1rem;transition:transform .18s ease}
  .article-toc-links{display:none;margin:0;padding:0 8px 9px;border-top:1px solid rgba(45,60,57,.08)}
  .article-toc.is-open .article-toc-links{display:flex}
  .article-toc.is-open .article-toc-toggle i{transform:rotate(180deg)}
  .article-toc-links a{font-size:.76rem;padding:8px}
}

@media(max-width:390px){
  .article-rubric-nav{grid-template-rows:64px!important}
  .article-rubric-link.article-rubric-home,
  .article-rubric-link.article-rubric-market,
  .article-rubric-link.article-rubric-economy,
  .article-rubric-link.article-rubric-banking,
  .article-rubric-more{height:64px!important;min-height:64px!important;font-size:.47rem!important}
  .article-rubric-link>i,.article-rubric-more>i{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex-basis:30px!important}
  .article-rubric-link>i svg,.article-rubric-more>i svg{width:21px!important;height:21px!important}
}

/* JaiSandar 5.1.12 — wider mobile H2 + animated accent rail */
body.single .article-content h2{max-width:100%!important;width:100%!important;box-sizing:border-box!important;padding-left:20px!important;text-wrap:pretty!important}
body.single .article-content h2:before{height:1.12em!important;overflow:hidden!important;background:linear-gradient(180deg,var(--article-accent) 0%,color-mix(in srgb,var(--article-accent) 38%,#fff) 45%,var(--article-accent) 100%)!important;background-size:100% 210%!important;animation:jai-h2-rail 2.35s ease-in-out infinite alternate!important}
@keyframes jai-h2-rail{from{background-position:50% 0;transform:translateY(-2px)}to{background-position:50% 100%;transform:translateY(3px)}}
@media(max-width:780px){body.single .article-content h2{width:calc(100% + 4px)!important;max-width:calc(100% + 4px)!important;margin-left:-2px!important;padding-left:17px!important;font-size:clamp(1.52rem,7.2vw,1.9rem)!important;line-height:1.12!important;letter-spacing:-.032em!important;text-wrap:pretty!important}body.single .article-content h2:before{left:0!important;width:4px!important;height:1.2em!important;top:.02em!important}}
@media(prefers-reduced-motion:reduce){body.single .article-content h2:before{animation:none!important}}


/* Jaisandar 107 — article end: previous four posts */
body.single .article-more{
  max-width:1180px;
  margin-top:46px;
  padding:22px;
  background:rgba(255,255,255,.82);
}
body.single .article-more .article-more-heading{
  margin-bottom:16px;
}
body.single .article-more .article-more-heading h2{
  font-size:clamp(1.7rem,2.6vw,2.2rem);
}
body.single .article-more-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
}
body.single .article-more-grid .story-card{
  grid-column:auto;
  min-width:0;
  margin:0;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
body.single .article-more-grid .card-visual{
  height:145px;
}
body.single .article-more-grid .card-content{
  padding:13px 14px 15px;
}
body.single .article-more-grid .card-content h3{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:1rem;
  line-height:1.18;
  margin:5px 0 9px;
}
body.single .article-more-grid .card-category{
  font-size:.62rem;
}
body.single .article-more-grid .card-meta{
  font-size:.68rem;
}
body.single .article-more-grid .visual-label{
  top:9px;
  left:9px;
  padding:4px 7px;
  font-size:.54rem;
}
@media(max-width:950px){
  body.single .article-more-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.single .article-more-grid .card-visual{height:180px;}
}
@media(max-width:650px){
  body.single .article-more{
    width:calc(100% - 24px);
    padding:16px 0 16px 14px;
    margin-top:34px;
  }
  body.single .article-more .article-more-heading{padding-right:14px;margin-bottom:12px;}
  body.single .article-more-grid{
    display:flex !important;
    gap:10px;
    overflow-x:auto;
    padding:0 14px 5px 0;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body.single .article-more-grid::-webkit-scrollbar{display:none;}
  body.single .article-more-grid .story-card{
    flex:0 0 min(78vw,292px);
    width:min(78vw,292px);
    scroll-snap-align:start;
  }
  body.single .article-more-grid .card-visual{height:162px;}
}

/* =========================================================
   JAISANDAR 131 — "НЕГІЗГІ САН" FRONT-END FALLBACK
   ========================================================= */
/*
 * JaiSandar Editor saves the block as .jai-editor-key-number.
 * Keep its published appearance independent of the editor plugin's
 * front.css so the block cannot collapse to visually plain text/number.
 */
body.single .article-content .jai-editor-key-number,
body.single .article-content .wp-block-jaisandar-key-number{
  --jai-key-accent:#660033;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  margin:24px 0!important;
  padding:20px 22px!important;
  border:1px solid rgba(102,0,51,.20)!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#fff5fa 0%,#ffffff 76%)!important;
  box-shadow:0 10px 26px rgba(17,24,39,.06)!important;
  overflow:hidden!important;
}
body.single .article-content .jai-editor-key-number.is-teal,
body.single .article-content .wp-block-jaisandar-key-number.is-teal{
  --jai-key-accent:#008080;
  border-color:rgba(0,128,128,.20)!important;
  background:linear-gradient(135deg,#f0fbfa 0%,#ffffff 76%)!important;
}
body.single .article-content .jai-editor-key-number.is-blue,
body.single .article-content .wp-block-jaisandar-key-number.is-blue{
  --jai-key-accent:#2878b5;
  border-color:rgba(40,120,181,.20)!important;
  background:linear-gradient(135deg,#f2f8fd 0%,#ffffff 76%)!important;
}
body.single .article-content .jai-editor-key-number.is-gold,
body.single .article-content .wp-block-jaisandar-key-number.is-gold{
  --jai-key-accent:#a56f00;
  border-color:rgba(165,111,0,.22)!important;
  background:linear-gradient(135deg,#fff9e9 0%,#ffffff 76%)!important;
}
body.single .article-content .jai-editor-key-number__value{
  display:block!important;
  margin:0!important;
  color:var(--jai-key-accent)!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:clamp(36px,5vw,62px)!important;
  font-weight:900!important;
  font-style:normal!important;
  line-height:.95!important;
  letter-spacing:-.05em!important;
  font-variant-numeric:tabular-nums!important;
}
body.single .article-content .jai-editor-key-number__label{
  display:block!important;
  margin:9px 0 0!important;
  color:#111827!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:1rem!important;
  font-weight:850!important;
  line-height:1.35!important;
}
body.single .article-content .jai-editor-key-number__note{
  display:block!important;
  margin:6px 0 0!important;
  color:#6b7280!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.45!important;
}
@media(max-width:700px){
  body.single .article-content .jai-editor-key-number,
  body.single .article-content .wp-block-jaisandar-key-number{
    margin:19px 0!important;
    padding:16px!important;
    border-radius:15px!important;
  }
  body.single .article-content .jai-editor-key-number__value{
    font-size:40px!important;
  }
}
/* 459 · Мақаладағы HTML/инфографика блоктары анимациядан кейін көрінбей қалмасын */
.article-content .jai-reveal.jai-in,.article-content .jai-embed .jai-reveal,.article-content .wp-block-html .jai-reveal,.jai-embed,.jai-embed-root{opacity:1!important;transform:none!important}
