/* Gymoo journal. Headings use Sahel Bold, licensed under the SIL OFL. */
@font-face {
  font-family: "Sahel Journal";
  src: url("/assets/fonts/Sahel-Bold.woff2?v=1") format("woff2");
  font-weight: 700 950;
  font-display: swap;
}
body.blog {
  --b-bg: #F9FAF7; --b-surface: #FFFFFF; --b-soft: #EEF2EC; --b-line: #DCE5DB;
  --b-ink: #152820; --b-text: #35483C; --b-mute: #546A5E;
  --b-accent: #20704C; --b-green: #216046; --b-accent-soft: #E7F1E6;
  --b-ease: cubic-bezier(.16, 1, .3, 1);
  margin: 0; background: var(--b-bg); color: var(--b-ink); font-family: Vazirmatn, Tahoma, sans-serif; font-size: 17px; line-height: 1.9; color-scheme: light;
}
.blog :is(h1,h2,h3,h4,.bh-logo b,.hs b) { font-family: "Sahel Journal", Vazirmatn, Tahoma, sans-serif; font-weight: 700; }
.blog a { color: inherit; }
.blog :focus-visible { outline: 2.5px solid var(--b-green); outline-offset: 3px; border-radius: 8px; }
.bw { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: var(--b-ink); color: #fff; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- header & footer */
.bh { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: 0 1px 0 var(--b-line), 0 8px 24px -18px rgba(28, 36, 32, .25); }
.bh-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.bh-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--b-ink) !important; }
.bh-logo span { display: grid; line-height: 1.15; }
.bh-logo b { font-size: 20px; font-weight: 900; }
.bh-logo small { font-size: 12px; font-weight: 700; color: var(--b-accent); }
.bh-logo img { border-radius: 11px; }
.bh-nav { display: flex; align-self: stretch; gap: 6px; min-width: 0; margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.bh-nav::-webkit-scrollbar { display: none; }
.bh-nav a { position: relative; display: flex; align-items: center; flex: none; padding: 0 14px; font-size: 15px; font-weight: 700; color: var(--b-text); text-decoration: none; white-space: nowrap; transition: color .2s; }
.bh-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--b-green); transform: scaleX(0); transition: transform .3s var(--b-ease); }
.bh-nav a:hover { color: var(--b-ink); }
.bh-nav a.on { color: var(--b-accent); }
.bh-nav a.on::after, .bh-nav a:hover::after { transform: scaleX(1); }
.bh-cta { flex: none; padding: 9px 20px; border-radius: 99px; background: var(--b-green); color: #fff !important; font-size: 14.5px; font-weight: 800; text-decoration: none; transition: background-color .2s; }
.bh-cta:hover { background: var(--b-accent); }
.bf { margin-top: 80px; padding-block: 40px 44px; background: #fff; border-top: 1px solid var(--b-line); color: var(--b-text); }
.bf-in { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.bf .bh-logo span { display: inline; font-size: 17px; }
.bf p { max-width: 46ch; margin: 12px 0 0; font-size: 13.5px; line-height: 1.9; }
.bf nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.bf nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.bf nav a:hover { color: var(--b-accent); }
@media (max-width: 760px) {
  .bh-in { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-block: 10px 0; }
  .bh-cta { margin-inline-start: auto; padding: 7px 16px; font-size: 13.5px; }
  .bh-nav { order: 3; width: calc(100% + 12px); margin: 6px -6px 0; height: 44px; }
  .bh-nav a { padding: 0 10px; font-size: 14px; }
  .bh-nav a::after { inset-inline: 10px; }
}

/* Featured story and latest articles. */
.khero { display:grid; gap:24px; }
.khero.has-side { grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); }
.khero-main {
  display:grid; align-content:start; min-width:0; overflow:hidden; border:1px solid var(--b-line);
  border-radius:22px; background:var(--b-surface); text-decoration:none;
}
.hero-bg { display:block; width:100%; aspect-ratio:2/1; object-fit:cover; background:var(--b-soft); }
.khero-text { display:grid; justify-items:start; gap:8px; padding:clamp(15px,3vw,30px); }
.khero-text h2 { margin:0; font-size:clamp(23px,3vw,40px); line-height:1.44; text-wrap:balance; }
.khero-text p { margin:0; max-width:58ch; color:var(--b-text); font-size:15px; }
.khero-text small,.hs small { color:var(--b-mute); font-size:12px; }
.khero-main:hover h2,.hs:hover b { color:var(--b-accent); }
.kc-cat { color:var(--b-accent); font-size:12px; font-weight:800; line-height:1.7; }
.khero-side { min-width:0; padding-inline-start:20px; border-inline-start:1px solid var(--b-line); }
.khero-side h2 { margin:0 0 10px; font-size:clamp(19px,2.2vw,25px); }
.khero-strip { display:grid; }
.hs {
  display:grid; grid-template-columns:clamp(76px,9vw,116px) minmax(0,1fr); gap:12px; align-items:center;
  padding-block:13px; border-block-start:1px solid var(--b-line); text-decoration:none; min-width:0;
}
.hs-img { display:block; overflow:hidden; aspect-ratio:4/3; border-radius:11px; background:var(--b-soft); }
.hs-img img { display:block; width:100%; height:100%; object-fit:cover; }
.hs > span:last-child { display:grid; gap:2px; min-width:0; }
.hs em { font-style:normal; font-size:12px; font-weight:800; color:var(--b-accent); }
.hs b { font-size:clamp(14px,1.4vw,17px); line-height:1.6; }
.hs small { display:flex; align-items:center; gap:5px; }
.cal { width:14px; height:14px; flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }

.journal-head { display:flex; align-items:end; justify-content:space-between; gap:18px; padding-bottom:23px; }
.journal-head.khead h1::after { display:none; }
.journal-head.khead p { margin-top:4px; }
.ksearch {
  display:flex; align-items:center; flex:0 1 304px; min-width:0; height:48px; padding-inline:5px;
  border:1px solid var(--b-line); border-radius:12px; background:#fff;
}
.ksearch input { flex:1; min-width:0; height:100%; border:0; padding-inline:9px; background:transparent; font:inherit; font-size:14px; color:var(--b-ink); }
.ksearch button { display:grid; place-items:center; width:43px; height:42px; border:0; border-radius:9px; background:var(--b-accent-soft); color:var(--b-accent); cursor:pointer; }
.ksearch svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
@media(max-width:740px) {
  .khero.has-side { grid-template-columns:minmax(0,1fr); gap:22px; }
  .khero-side { padding-inline-start:0; border-inline-start:0; }
  .journal-head { flex-wrap:wrap; align-items:start; }
  .ksearch { flex:1 1 100%; }
  .hero-bg { aspect-ratio:16/9; }
}

/* section heads and card rows */
.sh { display: flex; align-items: center; gap: 16px; padding-top: 56px; padding-bottom: 22px; }
.sh h2 { flex: none; margin: 0; font-size: clamp(21px, 2.4vw, 27px); font-weight: 900; }
.sh-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(to left, var(--b-line), transparent); }
[dir="rtl"] .sh-line { background: linear-gradient(to right, transparent, var(--b-line)); }
.see { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 800; color: var(--b-accent) !important; text-decoration: none; }
.see i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--b-accent-soft); transition: background-color .2s, color .2s; }
.see i::before { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: translateX(1px) rotate(-45deg); }
.see:hover i { background: var(--b-green); color: #fff; }
.krow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.krow.grid { padding-top: 8px; row-gap: 30px; }
.kc { display: flex; flex-direction: column; min-width: 0; overflow:hidden; border-radius:16px; border:1px solid var(--b-line); background:#fff; text-decoration: none; color: var(--b-ink) !important; }
.kc-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--b-soft); }
.kc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--b-ease); }
.kc:hover .kc-img img { transform: scale(1.05); }
.kc-body { display:grid; justify-items:start; gap:7px; flex:1; padding:12px 14px 14px; }
.kc h3 { margin: 0; font-size: 16.5px; font-weight: 900; line-height: 1.65; text-wrap: balance; transition: color .2s; }
.kc:hover h3 { color: var(--b-accent); }
.kc small { display: flex; align-items: center; gap: 6px; margin-top: auto; font-size: 12.5px; color: var(--b-mute); }
.khead { padding-block: 48px 8px; }
.khead h1 { margin: 0; font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; line-height: 1.3; }
.khead h1::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--b-green); }
.khead p { max-width: 62ch; margin: 12px 0 0; color: var(--b-text); }
.bi-empty { padding-block: 64px; color: var(--b-text); text-align: center; }
.pager { display: flex; justify-content: center; gap: 6px; padding-top: 48px; }
.pager a { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--b-line); background: #fff; text-decoration: none; font-weight: 700; }
.pager a[aria-current] { background: var(--b-green); border-color: var(--b-green); color: #fff; }
@media(max-width:960px) { .krow { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .sh { padding-top:35px; }
  .krow { grid-template-columns:minmax(0,1fr); gap:12px; }
  .krow.grid { row-gap:12px; }
  .khead { padding-block-start:26px; }
}

/* ---------------------------------------------------------------- article */
.progress { position: fixed; top: 0; inset-inline: 0; z-index: 40; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--b-green); transform: scaleX(0); transform-origin: right; }
.bp-preview { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: #FFF4D6; color: #6B4E00; font-size: 14px; font-weight: 700; text-align: center; }
.bp-head { max-width: 980px; padding-block: 39px 24px; text-align: start; }
.crumbs { font-size: 13.5px; color: var(--b-mute); }
.crumbs a { text-decoration: none; color: var(--b-accent); font-weight: 700; }
.crumbs a:last-child { display: inline-block; padding: 1px 12px; border-radius: 99px; background: var(--b-accent-soft); }
.bp-head h1 { margin: 12px 0 14px; font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.3; letter-spacing: -.8px; text-wrap: balance; }
.bp-lead { max-width: 62ch; margin: 0; font-size: clamp(17px, 1.7vw, 19.5px); line-height: 1.95; color: var(--b-text); }
.bp-meta { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 4px 11px; margin: 16px 0 0; font-size: 13.5px; color: var(--b-mute); }
.bp-meta span + span::before { content: "·"; margin-inline-end: 10px; }
.bp-cover { max-width: 980px; margin: 4px auto 0; padding-inline: max(20px, env(safe-area-inset-left, 0px)); box-sizing: border-box; }
.bp-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.bp-grid { display: grid; grid-template-columns: minmax(0, 690px) minmax(170px, 226px); justify-content: center; gap: 30px; padding-top: 44px; }
.bp-side { grid-column:2; grid-row:1; position: sticky; top: 88px; align-self: start; display: grid; gap: 18px; }
.toc { padding: 18px; border-radius: 18px; background: var(--b-surface); border: 1px solid var(--b-line); }
.toc b { display: block; margin-bottom: 8px; font-size: 13.5px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 10px; border-radius: 9px; font-size: 13.5px; line-height: 1.7; color: var(--b-text); text-decoration: none; border-inline-start: 2px solid transparent; transition: background-color .2s, color .2s; }
.toc .l3 a { padding-inline-start: 22px; font-size: 13px; }
.toc a:hover { background: var(--b-soft); }
.toc a.on { color: var(--b-accent); font-weight: 800; border-inline-start-color: var(--b-accent); background: var(--b-accent-soft); }
.share button { width: 100%; padding: 10px; border-radius: 12px; border: 1px solid var(--b-line); background: var(--b-surface); font: inherit; font-size: 14px; font-weight: 700; color: var(--b-ink); cursor: pointer; }
.share button:hover { border-color: var(--b-ink); }

/* prose */
.prose { grid-column:1; grid-row:1; min-width: 0; font-size: 18px; line-height: 2.08; color: #26302B; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin: 1.85em 0 .6em; padding-inline-start:11px; border-inline-start:3px solid var(--b-green); font-size: clamp(23px, 2.4vw, 28px); font-weight: 900; line-height: 1.5; letter-spacing: -.3px; color: var(--b-ink); scroll-margin-top: 90px; }
.prose h3 { margin: 1.5em 0 .4em; font-size: 21px; font-weight: 800; line-height: 1.6; color: var(--b-ink); scroll-margin-top: 90px; }
.prose h4 { margin: 1.3em 0 .3em; font-size: 18px; font-weight: 800; }
.prose a { color: var(--b-accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.prose strong { font-weight: 800; color: var(--b-ink); }
.prose mark { background: linear-gradient(transparent 55%, rgba(31, 183, 116, .28) 55%); color: inherit; padding: 0 2px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.prose li { margin: .35em 0; padding-inline-start: .2em; }
.prose li::marker { color: var(--b-accent); font-weight: 800; }
.prose blockquote { margin: 1.6em 0; padding: 4px 22px; border-inline-start: 4px solid var(--b-accent); font-size: 20px; font-weight: 600; line-height: 1.9; color: var(--b-ink); }
.prose blockquote p { margin: 0; }
.prose hr { margin: 2.4em auto; width: 80px; border: 0; border-top: 3px dotted var(--b-line); }
.prose figure { margin: 1.8em 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: 18px; }
.prose figure img[src^="https://gymoo.ir/assets/img/frontpage/"] {
  width: auto; max-width: 100%; max-height: min(72vh, 620px); margin-inline: auto; object-fit: contain;
}
.prose figcaption { margin-top: 10px; font-size: 13.5px; text-align: center; color: var(--b-mute); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--b-soft); font-size: .88em; }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: #10150F; color: #E7ECE8; font-size: 14px; line-height: 1.7; }
.prose pre code { padding: 0; background: none; }
.prose .table { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--b-line); border-radius: 16px; background: var(--b-surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.8; }
.prose th { padding: 10px 14px; text-align: start; font-weight: 800; background: var(--b-soft); }
.prose td { padding: 10px 14px; border-top: 1px solid var(--b-line); font-variant-numeric: tabular-nums; }
.callout { margin: 1.6em 0; padding: 16px 20px; border-radius: 18px; font-size: 16.5px; line-height: 1.95; }
.callout > b { display: block; margin-bottom: 4px; font-size: 15px; }
.callout p:last-child { margin-bottom: 0; }
.callout.tip { background: #F1FBDD; border: 1px solid #D7F0A4; }
.callout.tip > b { color: #3C6200; }
.callout.note { background: #EAF2FF; border: 1px solid #CFE0FB; }
.callout.note > b { color: #2357B5; }
.callout.warning { background: #FFF3E0; border: 1px solid #FFD9A8; }
.callout.warning > b { color: #9A5300; }
.bp-cta { display: flex; align-items: center; gap: 16px; margin-top: 3em; padding: 20px; border-radius: 24px; background: var(--b-accent-soft); color: var(--b-ink); }
.bp-cta img { flex: none; border-radius: 16px; background: #fff; }
.bp-cta b { display: block; font-size: 17px; line-height: 1.6; }
.bp-cta p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--b-text); }
.bp-cta a { flex: none; margin-inline-start: auto; padding: 10px 18px; border-radius: 11px; background: var(--b-green); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; border-radius: 99px; }
.related { padding-top: 64px; }
.related h2 { margin: 0; padding-bottom: 16px; border-bottom: 2px solid var(--b-line); font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; }
.related .krow { padding-top: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .related .krow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .related .krow { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) {
  .bp-grid { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 760px; }
  .bp-side,.prose { grid-column:auto; grid-row:auto; }
  .bp-side { position: static; margin-bottom: 24px; }
  .share { display: none; }
}
@media (max-width: 600px) {
  .bp-head { padding-block: 28px 20px; }
  .bp-cover img { border-radius: 18px; }
  .prose { font-size: 17px; }
  .bp-cta { flex-wrap: wrap; }
  .bp-cta a { width: 100%; text-align: center; margin: 4px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .blog *, .blog *::before { transition: none !important; } }

/* The magazine desk and article conversations */
.journal-desk { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:24px; margin-block-start:40px; }
.journal-feed-head { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; border-block-end:1px solid var(--b-line); }
.journal-feed-head h2,.journal-rank h2 { margin:0 0 8px; font-size:clamp(20px,2.5vw,29px); }
.journal-feed-head a { color:var(--b-accent); font-size:.82rem; font-weight:750; }
.journal-story { display:grid; grid-template-columns:minmax(0,31%) minmax(0,1fr); gap:13px; padding-block:13px; border-block-end:1px solid var(--b-line); text-decoration:none; }
.journal-thumb { aspect-ratio:8/5; overflow:hidden; border-radius:11px; background:var(--b-soft); }
.journal-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.journal-story strong { display:block; font-family:"Sahel Journal",Vazirmatn,sans-serif; line-height:1.52; font-size:clamp(.85rem,1.45vw,1.15rem); }
.journal-story small,.journal-excerpt { color:var(--b-mute); font-size:.76rem; }
.journal-excerpt { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:4px; }
.journal-story:hover strong,.journal-ranked:hover b { color:var(--b-accent); }
.journal-rank { align-self:start; border:1px solid var(--b-line); border-radius:19px; background:#fff; padding:16px; }
.journal-ranked { display:grid; grid-template-columns:32px 1fr; align-items:start; gap:8px; border-block-start:1px solid var(--b-line); padding:9px 0; text-decoration:none; font-size:.88rem; line-height:1.6; }
.journal-ranked>span { color:var(--b-accent); font-weight:850; }
.journal-rank h2:not(:first-child) { margin-top:18px; font-size:19px; }
.journal-rank nav { display:flex; gap:6px; flex-wrap:wrap; }
.journal-rank nav a { padding:4px 9px; border-radius:9px; background:var(--b-accent-soft); text-decoration:none; color:var(--b-accent); font-size:.82rem; }
.bp-discussion { max-width:900px; padding-top:42px; scroll-margin-top:64px; }
.bp-discussion>header,.discussion-comment header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.bp-discussion h2 { margin:0; font-size:clamp(20px,3vw,28px); }
.bp-discussion button,.bp-discussion select { padding:6px 11px; margin:3px; min-height:42px; border:1px solid var(--b-line); border-radius:11px; background:white; color:var(--b-accent); font:inherit; font-size:.8rem; cursor:pointer; }
.bp-discussion button[aria-pressed=true],.bp-discussion button[type=submit] { background:var(--b-green); color:#fff; }
.bp-discussion button:disabled { opacity:.65; cursor:wait; }
.bp-discussion [hidden] { display:none !important; }
.discussion-comment { margin-top:8px; padding:12px; border:1px solid var(--b-line); border-radius:13px; background:white; }
.discussion-comment p { white-space:pre-wrap; overflow-wrap:anywhere; margin:6px 0; }
.discussion-comment small,.discussion-empty,.bp-discussion form p { font-size:.8rem; color:var(--b-mute); }
[data-comment-admin] .discussion-comment>small { display:block; }
.bp-discussion form { margin-top:16px; padding:14px; border-radius:15px; background:var(--b-soft); }
.bp-discussion form h3 { margin:0; }
.bp-discussion label { display:grid; gap:3px; margin-top:7px; font-size:.86rem; }
.bp-discussion input,.bp-discussion textarea { width:100%; box-sizing:border-box; padding:8px; border:1px solid var(--b-line); border-radius:9px; font:inherit; color:var(--b-ink); background:#fff; }
.discussion-status { color:var(--b-accent); font-size:.82rem; }
.discussion-status:empty { display:none; }
@media(max-width:740px) {
  .journal-desk { grid-template-columns:minmax(0,1fr); gap:15px; }
  .journal-excerpt { display:none; }
}

/* Blog front page and reading accents. */
body.blog {
  --b-bg:#f7f8f4;
  --b-ink:#182821;
  --b-green:#214f38;
  --b-accent:#256345;
  --b-highlight:#d9eea2;
}
.bh { background:#fdfefa; border-top:4px solid var(--b-green); }
.bh-nav a.on { background:#ecf3e8; }
.bh-nav a::after { bottom:0; height:2px; }
.bh-cta { border-radius:11px; }
.journal-head.khead { padding-block:25px 0; }
.journal-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(175px,300px); gap:13px 17px; }
.journal-topics {
  grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; gap:7px;
  padding-block:9px; border-block:1px solid var(--b-line);
}
.journal-topics a { display:inline-flex; align-items:center; min-height:38px; padding:4px 13px; border-radius:8px; background:#e9f0e6; color:var(--b-accent); font-weight:750; font-size:.81rem; text-decoration:none; }
.journal-topics a:hover { background:#deecd7; }
.journal-head + .sh { padding-block:20px 12px; }
.sh h2,.journal-feed-head h2,.journal-rank h2 {
  padding-inline-start:10px; border-inline-start:4px solid #78a64b; line-height:1.45;
}
.khero.has-side { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:9px; }
.khero-main,.khero-side .hs { position:relative; isolation:isolate; overflow:hidden; background:#20382a; color:#fff !important; }
.khero-main { align-content:end; min-height:clamp(340px,39vw,466px); border:0; border-radius:17px; }
.khero-main .hero-bg,.khero-side .hs-img { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; }
.khero-main::before,.khero-side .hs::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,#0f1c1333,#0d1a1168 34%,#0a1610ee 94%); }
.khero-text { padding:clamp(16px,3vw,31px); gap:5px; }
.khero-text h2 { font-size:clamp(22px,3.35vw,43px); }
.khero-text p,.khero-text small,.khero-side .hs small { color:#e8f2e8; }
.khero-main .kc-cat,.khero-side .hs em { color:#182d20; align-self:start; padding:2px 8px; border-radius:5px; background:var(--b-highlight); }
.khero-main:hover h2,.khero-side .hs:hover b { color:var(--b-highlight); }
.khero-side { border:0; padding:0; }
.khero-strip { min-height:100%; grid-auto-rows:1fr; gap:9px; }
.khero-side .hs { display:grid; grid-template-columns:minmax(0,1fr); align-items:end; min-height:152px; padding:12px 14px; border:0; border-radius:13px; }
.khero-side .hs-img { background:transparent; border-radius:0; }
.khero-side .hs>span:last-child { justify-items:start; gap:3px; }
.khero-side .hs b { font-family:"Sahel Journal",Vazirmatn,sans-serif; font-size:clamp(.85rem,1.55vw,1.17rem); }
.journal-desk { margin-block-start:31px; }
.journal-rank { background:#f0f5eb; border-color:#d9e7d7; }
.journal-ranked>span { display:grid; place-items:center; height:29px; border-radius:8px; background:#e1ecd9; font-weight:850; }
.journal-story .journal-thumb { border-radius:9px; }
.bp-head { margin-block-start:11px; padding-block-start:27px; }
.bp-meta { padding-top:12px; border-top:1px solid var(--b-line); }
.toc { border-inline-start:3px solid #78a64b; }
@media(max-width:740px) {
  .journal-head { grid-template-columns:minmax(0,1fr); }
  .khero.has-side { grid-template-columns:minmax(0,1fr); }
  .khero-main { min-height:clamp(275px,78vw,420px); }
  .khero-main .khero-text p { display:none; }
  .khero-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .khero-side .hs { min-height:146px; padding:9px; }
  .khero-side .hs small { font-size:.65rem; }
}
