/*
Theme Name: জনজীবন চিত্র
Theme URI: https://jonojibon.com
Author: জনজীবন চিত্র
Description: আধুনিক বাংলা সংবাদমাধ্যম থিম। ব্রেকিং টিকার, হিরো গ্রিড, ক্যাটাগরি সেকশন, ভিডিও, সাইডবার সহ।
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jonjiban-chitra
Tags: news, bangla, custom-menu, featured-images, custom-logo, custom-colors, two-columns, right-sidebar
*/

/* ── Variables ── */
:root {
  --ink:     #1a1208;
  --paper:   #faf7f2;
  --accent:  #c0392b;
  --accent2: #922b21;
  --gold:    #b5860d;
  --muted:   #6b6257;
  --rule:    #d4ccc0;
  --card:    #ffffff;
  --tagbg:   #f0ebe2;
  --logo-h:  52px;
}

/* ── Reset ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Noto Sans Bengali',sans-serif;background:var(--paper);color:var(--ink);overflow-x:hidden;line-height:1.6;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font-family:inherit;cursor:pointer}

/* ── Ticker ── */
.jjc-ticker{background:var(--accent);color:#fff;font-size:.82rem;display:flex;align-items:stretch;overflow:hidden;position:relative;z-index:200;min-height:34px}
.jjc-ticker__label{background:var(--accent2);padding:0 16px;font-weight:700;white-space:nowrap;flex-shrink:0;letter-spacing:.04em;display:flex;align-items:center;gap:6px}
.jjc-ticker__label::after{content:'▶';font-size:.6rem}
.jjc-ticker__wrap{overflow:hidden;flex:1;display:flex;align-items:center}
.jjc-ticker__track{display:flex;gap:60px;white-space:nowrap;width:max-content;padding-left:40px;animation:jjcTick 40s linear infinite}
.jjc-ticker__track a{color:#fff}
.jjc-ticker__track a:hover{opacity:.8}
@keyframes jjcTick{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ── Header ── */
#site-header{background:var(--paper);border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:100;backdrop-filter:blur(8px)}
.jjc-header-top{display:flex;align-items:center;justify-content:space-between;padding:14px 60px;border-bottom:1px solid var(--rule);gap:20px;flex-wrap:wrap}
.jjc-branding{display:flex;flex-direction:column;gap:2px}
.jjc-branding a.custom-logo-link{display:block}
.jjc-branding .custom-logo-link img,.jjc-branding .custom-logo img{height:var(--logo-h);width:auto;max-width:260px;object-fit:contain}
.jjc-site-title{font-family:'Noto Serif Bengali',serif;font-size:var(--logo-h);font-weight:800;color:var(--ink);line-height:1;letter-spacing:-.02em;display:block;transition:color .2s}
.jjc-site-title:hover{color:var(--accent)}
.jjc-site-title span{color:var(--accent)}
.jjc-tagline{font-size:.68rem;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin-top:2px}
.jjc-header-date{text-align:center;font-size:.78rem;color:var(--muted);line-height:1.7}
.jjc-header-date strong{color:var(--ink);font-weight:700;display:block;font-size:.85rem}
.jjc-header-actions{display:flex;gap:10px;align-items:center}
.jjc-btn-search{background:none;border:1.5px solid var(--rule);padding:7px 14px;border-radius:4px;font-size:.8rem;color:var(--muted);display:flex;align-items:center;gap:6px;transition:all .2s}
.jjc-btn-search svg{flex-shrink:0}
.jjc-btn-search:hover{border-color:var(--accent);color:var(--accent)}
.jjc-btn-nl{background:var(--accent);color:#fff!important;border:none;padding:8px 18px;border-radius:4px;font-size:.8rem;font-weight:700;transition:background .2s;display:inline-block;white-space:nowrap}
.jjc-btn-nl:hover{background:var(--accent2);color:#fff!important}

/* Search overlay */
.jjc-search-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:99999;align-items:flex-start;justify-content:center;padding-top:100px}
.jjc-search-overlay.is-open{display:flex}
.jjc-search-inner{background:#fff;padding:28px;width:90%;max-width:560px;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.25);position:relative}
.jjc-search-close{position:absolute;top:12px;right:14px;background:none;border:none;font-size:1.3rem;color:var(--muted);line-height:1;padding:4px}
.jjc-search-close:hover{color:var(--ink)}
.jjc-search-inner .search-form{display:flex;gap:8px;margin-top:8px}
.jjc-search-inner input[type=search]{flex:1;font-family:inherit;font-size:1rem;padding:10px 14px;border:2px solid var(--rule);border-radius:4px;outline:none;color:var(--ink)}
.jjc-search-inner input[type=search]:focus{border-color:var(--accent)}
.jjc-search-inner input[type=submit]{background:var(--accent);color:#fff;border:none;padding:10px 18px;border-radius:4px;font-family:inherit;font-size:.9rem;white-space:nowrap}
.jjc-search-inner input[type=submit]:hover{background:var(--accent2)}

/* ── Nav ── */
#site-nav{border-bottom:1px solid var(--rule)}
.jjc-nav-inner{display:flex;align-items:center;padding:0 60px;overflow-x:auto;scrollbar-width:none}
.jjc-nav-inner::-webkit-scrollbar{display:none}
#jjc-primary-menu{display:flex;align-items:center;flex-wrap:nowrap}
#jjc-primary-menu > li > a{display:block;font-size:.85rem;font-weight:500;padding:13px 16px;white-space:nowrap;position:relative;transition:color .2s;color:var(--ink)}
#jjc-primary-menu > li > a::after{content:'';position:absolute;bottom:0;left:16px;right:16px;height:2px;background:var(--accent);transform:scaleX(0);transition:transform .2s}
#jjc-primary-menu > li > a:hover{color:var(--accent)}
#jjc-primary-menu > li > a:hover::after,
#jjc-primary-menu > li.current-menu-item > a::after,
#jjc-primary-menu > li.current_page_item > a::after{transform:scaleX(1)}
#jjc-primary-menu > li.current-menu-item > a,
#jjc-primary-menu > li.current_page_item > a{color:var(--accent)}
.jjc-menu-toggle{display:none;background:none;border:1.5px solid var(--rule);padding:7px 12px;border-radius:4px;font-size:1.1rem;margin:8px 24px;line-height:1}

/* ── Layout ── */
.jjc-wrap{max-width:1280px;margin:0 auto;padding:36px 40px}

/* Full-page two-col: sidebar টপ থেকে শুরু */
.jjc-page-grid{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:40px;
  align-items:start;
}
.jjc-page-content{min-width:0}
.jjc-page-sidebar{
  min-width:0;
  position:sticky;
  top:80px;
  max-height:calc(100vh - 100px);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--rule) transparent;
}
.jjc-page-sidebar::-webkit-scrollbar{width:4px}
.jjc-page-sidebar::-webkit-scrollbar-track{background:transparent}
.jjc-page-sidebar::-webkit-scrollbar-thumb{background:var(--rule);border-radius:2px}

/* Legacy two-col (archive/single) */
.jjc-two-col{display:grid;grid-template-columns:1fr 300px;gap:40px;margin-bottom:48px;align-items:start}
#jjc-main{min-width:0}
#jjc-sidebar{
  min-width:0;
  position:sticky;
  top:80px;
  max-height:calc(100vh - 100px);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--rule) transparent;
}
#jjc-sidebar::-webkit-scrollbar{width:4px}
#jjc-sidebar::-webkit-scrollbar-track{background:transparent}
#jjc-sidebar::-webkit-scrollbar-thumb{background:var(--rule);border-radius:2px}

/* Section header */
.jjc-sec-head{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.jjc-sec-title{font-family:'Noto Serif Bengali',serif;font-size:1.1rem;font-weight:700;white-space:nowrap;color:var(--ink)}
.jjc-sec-title em{color:var(--accent);font-style:normal}
.jjc-sec-rule{flex:1;height:1px;background:var(--rule)}
.jjc-sec-more{font-size:.75rem;color:var(--accent);white-space:nowrap;font-weight:600;transition:opacity .2s}
.jjc-sec-more:hover{opacity:.75;text-decoration:underline}

/* ── Hero Grid ── */
.jjc-hero{display:grid;grid-template-columns:1fr 340px;border:1px solid var(--rule);background:var(--card);margin-bottom:44px}
.jjc-hero__main{border-right:1px solid var(--rule);display:flex;flex-direction:column;overflow:hidden}
.jjc-hero__main .jjc-thumb{overflow:hidden;flex-shrink:0}
.jjc-hero__main .jjc-thumb a{display:block}
.jjc-hero__main .jjc-thumb img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .5s ease}
.jjc-hero__main:hover .jjc-thumb img{transform:scale(1.02)}
.jjc-hero__body{padding:24px 28px 28px;flex:1;display:flex;flex-direction:column}
.jjc-hero__tag{display:inline-block;background:var(--accent);color:#fff;font-size:.7rem;font-weight:700;padding:3px 10px;letter-spacing:.08em;margin-bottom:12px;transition:background .2s}
.jjc-hero__tag:hover{background:var(--accent2)}
.jjc-hero__title{font-family:'Noto Serif Bengali',serif;font-size:1.65rem;font-weight:700;line-height:1.4;color:var(--ink);margin-bottom:10px;flex:1}
.jjc-hero__title a:hover{color:var(--accent)}
.jjc-hero__excerpt{font-size:.88rem;color:var(--muted);line-height:1.75;margin-bottom:14px}
.jjc-hero__side{display:flex;flex-direction:column}
.jjc-hero__panel{padding:20px;flex:1;border-bottom:1px solid var(--rule)}
.jjc-hero__panel:last-child{border-bottom:none}
.jjc-side-story{display:flex;gap:12px;align-items:flex-start}
.jjc-side-story+.jjc-side-story{margin-top:14px;padding-top:14px;border-top:1px solid var(--rule)}
.jjc-side-story .jjc-thumb{flex-shrink:0}
.jjc-side-story .jjc-thumb img{width:88px;height:62px;object-fit:cover;border-radius:2px}
.jjc-side-tag{font-size:.67rem;color:var(--accent);font-weight:700;letter-spacing:.06em;display:block;margin-bottom:4px}
.jjc-side-title{font-family:'Noto Serif Bengali',serif;font-size:.93rem;font-weight:700;line-height:1.42;color:var(--ink)}
.jjc-side-title a:hover{color:var(--accent)}
.jjc-time{font-size:.7rem;color:var(--muted);margin-top:4px}

/* Meta */
.jjc-meta{font-size:.74rem;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.jjc-meta .jjc-author{font-weight:700;color:var(--ink)}
.jjc-meta .sep{opacity:.4}

/* ── Card Grid (3-col) ── */
.jjc-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.jjc-card{background:var(--card);border:1px solid var(--rule);overflow:hidden;transition:box-shadow .25s,transform .25s;display:flex;flex-direction:column}
.jjc-card:hover{box-shadow:0 6px 28px rgba(0,0,0,.1);transform:translateY(-2px)}
.jjc-card .jjc-thumb{overflow:hidden;flex-shrink:0}
.jjc-card .jjc-thumb a{display:block}
.jjc-card .jjc-thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .4s}
.jjc-card:hover .jjc-thumb img{transform:scale(1.03)}
.jjc-card__body{padding:14px;flex:1;display:flex;flex-direction:column}
.jjc-card__tag{font-size:.67rem;color:var(--accent);font-weight:700;letter-spacing:.05em;display:block;margin-bottom:7px}
.jjc-card__tag:hover{text-decoration:underline}
.jjc-card__title{font-family:'Noto Serif Bengali',serif;font-size:.97rem;font-weight:700;line-height:1.5;color:var(--ink);margin-bottom:8px;flex:1}
.jjc-card__title a:hover{color:var(--accent)}
.jjc-card__meta{font-size:.7rem;color:var(--muted);margin-top:auto}

/* ── Category Section (2-col list) ── */
.jjc-cat-section{margin-bottom:44px}
.jjc-cat-section-inner{display:grid;grid-template-columns:repeat(2,1fr);gap:0;border:1px solid var(--rule);background:var(--card)}
.jjc-cat-post{display:flex;gap:14px;padding:16px;border-bottom:1px solid var(--rule);align-items:flex-start;transition:background .2s}
.jjc-cat-post:hover{background:var(--tagbg)}
.jjc-cat-post:nth-last-child(-n+2){border-bottom:none}
.jjc-cat-post:nth-child(odd){border-right:1px solid var(--rule)}
.jjc-cat-post .jjc-thumb{flex-shrink:0}
.jjc-cat-post .jjc-thumb img{width:80px;height:56px;object-fit:cover;border-radius:2px}
.jjc-cat-post__info{}
.jjc-cat-post__title{font-family:'Noto Serif Bengali',serif;font-size:.92rem;font-weight:700;line-height:1.45;color:var(--ink)}
.jjc-cat-post__title a:hover{color:var(--accent)}
.jjc-cat-post__meta{font-size:.7rem;color:var(--muted);margin-top:5px}

/* Load more */
.jjc-load-wrap{text-align:center;margin-top:28px}
.jjc-load-btn{background:var(--accent);color:#fff;border:none;padding:10px 28px;border-radius:4px;font-size:.88rem;font-weight:700;transition:background .2s}
.jjc-load-btn:hover{background:var(--accent2)}
.jjc-load-btn:disabled{opacity:.6;cursor:not-allowed}

/* ── Sidebar ── */
.jjc-sidebar .widget{margin-bottom:20px;background:var(--card);border:1px solid var(--rule);padding:18px}
.jjc-sidebar .widget-title{font-family:'Noto Serif Bengali',serif;font-size:.97rem;font-weight:700;color:var(--ink);padding-bottom:10px;border-bottom:2px solid var(--accent);display:block;margin-bottom:16px}
.jjc-popular-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--rule);align-items:flex-start}
.jjc-popular-item:first-child{padding-top:0}
.jjc-popular-item:last-child{border-bottom:none;padding-bottom:0}
.jjc-popular-num{font-family:'Noto Serif Bengali',serif;font-size:1.2rem;font-weight:800;color:var(--rule);line-height:1;flex-shrink:0;width:24px;padding-top:2px}
.jjc-popular-thumb{flex-shrink:0}
.jjc-popular-thumb img{width:62px;height:44px;object-fit:cover;border-radius:2px}
.jjc-popular-title{font-size:.83rem;font-weight:600;line-height:1.5;color:var(--ink)}
.jjc-popular-title a:hover{color:var(--accent)}
.jjc-popular-time{font-size:.67rem;color:var(--muted);margin-top:3px}
.jjc-sidebar .widget_categories ul li{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--rule);font-size:.85rem}
.jjc-sidebar .widget_categories ul li:first-child{padding-top:0}
.jjc-sidebar .widget_categories ul li:last-child{border-bottom:none;padding-bottom:0}
.jjc-sidebar .widget_categories ul li a{color:var(--ink);font-weight:500;transition:color .2s}
.jjc-sidebar .widget_categories ul li a:hover{color:var(--accent)}
.jjc-sidebar .widget_categories ul li .post-count{color:var(--muted);font-size:.78rem}
.jjc-sidebar .widget_tag_cloud .tagcloud a{display:inline-block;background:var(--tagbg);border:1px solid var(--rule);padding:4px 11px;font-size:.78rem!important;margin:3px;border-radius:2px;transition:all .2s;color:var(--ink)}
.jjc-sidebar .widget_tag_cloud .tagcloud a:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.jjc-sidebar .widget_recent_entries ul li{padding:9px 0;border-bottom:1px solid var(--rule);font-size:.85rem}
.jjc-sidebar .widget_recent_entries ul li:last-child{border-bottom:none}
.jjc-sidebar .widget_recent_entries ul li a{color:var(--ink);font-weight:500;line-height:1.45}
.jjc-sidebar .widget_recent_entries ul li a:hover{color:var(--accent)}

/* ── Video Section ── */
.jjc-video-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.jjc-video-card{position:relative;overflow:hidden;border-radius:2px;display:block}
.jjc-video-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;transition:transform .35s}
.jjc-video-card:hover img{transform:scale(1.04)}
.jjc-video-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,transparent 55%);display:flex;align-items:center;justify-content:center}
.jjc-play-btn{width:42px;height:42px;background:rgba(255,255,255,.2);border:2px solid rgba(255,255,255,.75);border-radius:50%;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px);color:#fff;font-size:.95rem;padding-left:3px;transition:background .2s,border-color .2s}
.jjc-video-card:hover .jjc-play-btn{background:var(--accent);border-color:var(--accent)}
.jjc-video-info{position:absolute;bottom:10px;left:12px;right:12px;color:#fff;pointer-events:none}
.jjc-v-tag{font-size:.63rem;font-weight:700;letter-spacing:.08em;color:var(--gold)}
.jjc-v-title{font-size:.8rem;font-weight:600;line-height:1.4;margin-top:2px}

/* Topic pills */
.jjc-topic-strip{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:44px;padding:18px;border:1px solid var(--rule);background:var(--card)}
.jjc-pill{background:var(--tagbg);border:1px solid var(--rule);padding:5px 13px;font-size:.78rem;color:var(--ink);border-radius:2px;transition:all .2s}
.jjc-pill:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Post list (archive/search) */
.jjc-post-list{display:flex;flex-direction:column;gap:0}
.jjc-post-item{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--rule);align-items:flex-start}
.jjc-post-item:first-child{padding-top:0}
.jjc-post-item .jjc-thumb img{width:130px;height:88px;object-fit:cover;flex-shrink:0;border-radius:2px}
.jjc-post-item .jjc-excerpt{font-size:.84rem;color:var(--muted);line-height:1.65;margin-top:5px}

/* Single post */
.jjc-single{max-width:820px}
.jjc-single-cat{display:inline-block;background:var(--accent);color:#fff;font-size:.7rem;font-weight:700;padding:3px 10px;letter-spacing:.08em;margin-bottom:12px;transition:background .2s}
.jjc-single-cat:hover{background:var(--accent2)}
.entry-title{font-family:'Noto Serif Bengali',serif;font-size:1.9rem;font-weight:800;line-height:1.4;color:var(--ink);margin-bottom:14px}
.jjc-feat-img{margin-bottom:26px}
.jjc-feat-img img{width:100%;max-height:460px;object-fit:cover}
.jjc-feat-img figcaption{font-size:.76rem;color:var(--muted);margin-top:7px;font-style:italic}
.entry-content{font-family:'Noto Serif Bengali',serif;font-size:1.04rem;line-height:1.9;color:var(--ink)}
.entry-content p{margin-bottom:1.4em}
.entry-content h2{font-size:1.35rem;font-weight:700;margin:2em 0 .8em}
.entry-content h3{font-size:1.15rem;font-weight:700;margin:1.8em 0 .7em}
.entry-content ul,.entry-content ol{padding-left:1.5em;margin-bottom:1.4em}
.entry-content li{margin-bottom:.4em;list-style:disc}
.entry-content ol li{list-style:decimal}
.entry-content blockquote{border-left:3px solid var(--accent);padding:12px 20px;margin:1.5em 0;background:var(--tagbg);font-style:italic}
.entry-content a{color:var(--accent);text-decoration:underline}
.entry-content img{max-width:100%;height:auto;margin:1em 0}
.jjc-post-tags{margin-top:28px;padding-top:22px;border-top:1px solid var(--rule)}
.jjc-post-tags span{font-size:.76rem;color:var(--muted);margin-right:6px}
.jjc-post-tags a{display:inline-block;background:var(--tagbg);border:1px solid var(--rule);padding:4px 11px;font-size:.76rem;border-radius:2px;margin:3px;transition:all .2s}
.jjc-post-tags a:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.jjc-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

/* Archive */
.jjc-archive-head{margin-bottom:32px}
.jjc-archive-head h1{font-family:'Noto Serif Bengali',serif;font-size:1.7rem;font-weight:800}
.jjc-archive-head h1 span{color:var(--accent)}
.jjc-archive-head p{font-size:.86rem;color:var(--muted);margin-top:5px}

/* Pagination */
.jjc-pagination{display:flex;gap:7px;justify-content:center;margin:36px 0;flex-wrap:wrap}
.jjc-pagination .page-numbers{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--rule);font-size:.84rem;color:var(--ink);transition:all .2s}
.jjc-pagination .page-numbers.current,.jjc-pagination .page-numbers:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Comments */
.jjc-comments{margin-top:44px;padding-top:36px;border-top:1px solid var(--rule)}
.jjc-comments h2{font-family:'Noto Serif Bengali',serif;font-size:1.2rem;font-weight:700;margin-bottom:24px}
.comment-list{list-style:none}
.comment{padding:18px 0;border-bottom:1px solid var(--rule);overflow:hidden}
.comment-author-avatar{float:left;margin-right:12px;border-radius:50%}
.comment .fn{font-weight:700;font-size:.88rem;display:block;margin-bottom:2px}
.comment-date{font-size:.72rem;color:var(--muted);display:block;margin-bottom:8px}
.comment-content{font-size:.88rem;line-height:1.7}
.comment-reply-link{font-size:.76rem;color:var(--accent);margin-top:7px;display:inline-block}
.jjc-comment-form h3{font-family:'Noto Serif Bengali',serif;font-size:1.05rem;font-weight:700;margin:28px 0 18px}
.jjc-comment-form label{display:block;font-size:.8rem;font-weight:500;margin-bottom:5px;color:var(--muted)}
.jjc-comment-form input[type=text],.jjc-comment-form input[type=email],.jjc-comment-form textarea{width:100%;font-family:inherit;font-size:.9rem;padding:9px 13px;border:1.5px solid var(--rule);border-radius:4px;color:var(--ink);background:#fff;outline:none;margin-bottom:14px;transition:border-color .2s}
.jjc-comment-form input:focus,.jjc-comment-form textarea:focus{border-color:var(--accent)}
.jjc-comment-form textarea{min-height:110px;resize:vertical}
.jjc-comment-form .submit{background:var(--accent);color:#fff;border:none;padding:9px 26px;border-radius:4px;font-size:.88rem;font-weight:700;font-family:inherit;transition:background .2s}
.jjc-comment-form .submit:hover{background:var(--accent2)}

/* Footer */
#colophon{background:var(--ink);color:rgba(255,255,255,.75);padding:56px 60px 28px;margin-top:56px}
.jjc-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:44px;margin-bottom:44px}
.jjc-footer-logo{font-family:'Noto Serif Bengali',serif;font-size:1.5rem;font-weight:800;color:#fff;display:block;margin-bottom:11px}
.jjc-footer-brand .custom-logo-link img,.jjc-footer-brand .custom-logo img{height:46px;width:auto;margin-bottom:11px;filter:brightness(0)invert(1)}
.jjc-footer-brand p{font-size:.81rem;line-height:1.7;color:rgba(255,255,255,.65)}
.jjc-footer-col h4{font-family:'Noto Serif Bengali',serif;font-size:.88rem;color:#fff;margin-bottom:14px;padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.1)}
.jjc-footer-col ul li{margin-bottom:7px}
.jjc-footer-col ul li a{color:rgba(255,255,255,.58);font-size:.8rem;transition:color .2s}
.jjc-footer-col ul li a:hover{color:#fff}
.jjc-site-info{border-top:1px solid rgba(255,255,255,.1);padding-top:22px;display:flex;justify-content:space-between;align-items:center;font-size:.73rem;color:rgba(255,255,255,.38);flex-wrap:wrap;gap:10px}
.jjc-social-links{display:flex;gap:9px}
.jjc-social-link{width:30px;height:30px;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.55);font-size:.78rem;transition:all .2s}
.jjc-social-link:hover{background:var(--accent);border-color:var(--accent);color:#fff}

/* 404 */
.jjc-404{text-align:center;padding:70px 20px}
.jjc-404-num{font-family:'Noto Serif Bengali',serif;font-size:7rem;color:var(--rule);line-height:1;margin-bottom:14px}
.jjc-404 h2{font-family:'Noto Serif Bengali',serif;font-size:1.4rem;margin-bottom:12px}
.jjc-404 p{color:var(--muted);margin-bottom:24px}

/* Animations */
@keyframes jjcFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.jjc-hero{animation:jjcFadeUp .55s ease both}
.jjc-card-grid{animation:jjcFadeUp .6s ease .08s both}

/* ── Responsive ── */
@media(max-width:1100px){
  .jjc-wrap{padding:24px 20px}
  .jjc-header-top{padding:12px 20px}
  .jjc-nav-inner{padding:0 20px}
  #colophon{padding:36px 20px 22px}
  .jjc-hero{grid-template-columns:1fr}
  .jjc-hero__main{border-right:none;border-bottom:1px solid var(--rule)}
  .jjc-hero__side{flex-direction:row}
  .jjc-hero__panel{border-bottom:none;border-right:1px solid var(--rule)}
  .jjc-hero__panel:last-child{border-right:none}
  /* two-col layouts: single column on tablet */
  .jjc-page-grid{grid-template-columns:1fr}
  .jjc-page-sidebar{position:static;max-height:none;overflow-y:visible}
  .jjc-two-col{grid-template-columns:1fr;gap:32px}
  #jjc-sidebar{position:static;max-height:none;overflow-y:visible}
  .jjc-card-grid{grid-template-columns:repeat(2,1fr)}
  .jjc-video-grid{grid-template-columns:repeat(2,1fr)}
  .jjc-footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .jjc-related-grid{grid-template-columns:repeat(2,1fr)}
  .jjc-cat-section-inner{grid-template-columns:1fr}
  .jjc-cat-post:nth-child(odd){border-right:none}
  .jjc-cat-post:nth-last-child(-n+2){border-bottom:1px solid var(--rule)}
  .jjc-cat-post:last-child{border-bottom:none}
}
@media(max-width:680px){
  .jjc-header-actions .jjc-btn-nl{display:none}
  .jjc-hero__side{flex-direction:column}
  .jjc-hero__panel{border-right:none;border-bottom:1px solid var(--rule)}
  .jjc-hero__title{font-size:1.25rem}
  .jjc-card-grid{grid-template-columns:1fr}
  .jjc-video-grid{grid-template-columns:1fr}
  .jjc-footer-grid{grid-template-columns:1fr}
  .jjc-related-grid{grid-template-columns:1fr}
  .jjc-menu-toggle{display:block}
  #jjc-primary-menu{display:none;flex-direction:column;width:100%}
  #jjc-primary-menu.is-open{display:flex}
  #jjc-primary-menu > li > a{padding:11px 20px;border-bottom:1px solid var(--rule)}
  #jjc-primary-menu > li > a::after{display:none}
  .jjc-site-info{flex-direction:column;text-align:center}
  .entry-title{font-size:1.45rem}
}
