/* =====================================================================
   FILE:   public_html/assets/css/rf-blog-cat.css
   ACTION: NEW FILE
   CHANGE (15 Nov 2026): Journal category tree - the row of sub-categories under the tabs, the small trail above a
           sub-category heading, the Bangla line under a category heading, the count line on the category cards.
           Uses the colours and fonts of rf-blog.css (loaded right after it). Nothing else is restyled.
   ===================================================================== */

/* trail above the heading of a sub-category:  Journal / Ayurvedic Powders */
.rfb-crumb{ margin:0 0 10px; font-family:var(--sans); font-size:12px; font-weight:500; letter-spacing:.06em; color:var(--muted); }
.rfb-crumb a{ color:var(--text) !important; border-bottom:1px solid var(--line-2); padding-bottom:1px; }
.rfb-crumb a:hover{ color:var(--m) !important; border-bottom-color:var(--m); }
.rfb-crumb span{ margin:0 6px; color:var(--g-dk); }

/* Bangla name under an English category heading */
.rfb-mast h1 .rfb-h1bn{ display:block; margin-top:10px; font-family:var(--bn); font-size:.38em; font-weight:500; line-height:1.4; letter-spacing:0; color:var(--text); }

/* sub-categories: a quiet line of text links with their counts, under the tabs */
.rfb-subs{ position:relative; z-index:1; display:flex; gap:26px; margin:0; padding:14px 0 0; border-top:1px solid var(--line-2); overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.rfb-subs::-webkit-scrollbar{ display:none; }
.rfb-sub{ flex:0 0 auto; display:inline-flex; align-items:baseline; gap:7px; padding:0 0 13px; border-bottom:2px solid transparent; font-family:var(--sans); font-size:14px; font-weight:500; line-height:1.3; color:var(--text) !important; white-space:nowrap; transition:color .2s ease, border-color .2s ease; }
.rfb-sub span{ font-size:11.5px; font-weight:500; font-variant-numeric:tabular-nums; color:var(--g-dk); }
.rfb-sub:hover{ color:var(--m) !important; }
.rfb-sub.is-active{ color:var(--m) !important; border-bottom-color:var(--m); font-weight:600; }
.rfb-tabs + .rfb-subs{ margin-top:-4px; }

/* category cards on the Journal home: Bangla name, then the English name and how many articles */
.rfb-cat__name{ flex-direction:column; gap:4px; }
.rfb-cat__sub{ display:block; font-family:var(--sans); font-size:11.5px; font-weight:500; letter-spacing:.03em; line-height:1.35; color:var(--muted); }

@media (max-width:767px){
  .rfb-crumb{ font-size:11.5px; margin-bottom:8px; }
  .rfb-subs{ gap:20px; margin-left:-16px; margin-right:-16px; padding-left:16px; padding-right:16px; }
  .rfb-sub{ font-size:13.5px; padding-bottom:11px; }
  .rfb-cat__sub{ font-size:11px; }
}
