/*
Theme Name: The Compass
Theme URI: https://thecompass.media
Author: The Compass Media
Description: সাপ্তাহিক সংবাদ ও বিশ্লেষণ - দ্রুত ও হালকা
Version: 3.17.0
Text Domain: thecompass
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--red:#c0392b;--redd:#96281b;--ink:#111;--ink2:#333;--ink3:#666;--rule:#e0e0e0;--bg:#fff;--bg2:#f6f6f4;--bg3:#eeebe6;--green:#1a6b3c;--blue:#1a4b8c;--purple:#5a1a6b;--brown:#6b4b1a;--teal:#1a5a6b;--gold:#b8860b}
html{scroll-behavior:smooth;overflow-x:clip}
body{overflow-x:hidden;max-width:100%;font-family:'Hind Siliguri',sans-serif;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block;height:auto}
ul{list-style:none}

/* TOPBAR */
.tc-top{background:var(--ink);color:#bbb;font-size:12px;padding:5px 0}
.tc-top .w{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px}
.tc-top a{color:#bbb;margin-left:12px;font-size:11px;letter-spacing:.5px;text-transform:uppercase;transition:color .15s}
.tc-top a:hover{color:#fff}

/* HEADER */
.tc-hdr{border-bottom:3px solid var(--ink);padding:16px 0 12px}
.tc-hdr .w{max-width:1200px;margin:0 auto;padding:0 16px;text-align:center}
.tc-logo{font-family:'Playfair Display',serif;font-size:clamp(36px,5.5vw,68px);font-weight:900;letter-spacing:-1px;line-height:1;color:var(--ink)}
.tc-logo span{color:var(--red)}
.tc-tagline{font-size:11px;color:var(--ink3);letter-spacing:3px;text-transform:uppercase;margin-top:4px}
.tc-rule{display:flex;align-items:center;gap:10px;margin-top:10px}
.tc-rule::before,.tc-rule::after{content:'';flex:1;height:1px;background:var(--ink)}
.tc-rule span{font-size:10px;color:var(--ink3);letter-spacing:2px;text-transform:uppercase;white-space:nowrap}

/* NAV */
.tc-nav{background:var(--red);position:sticky;top:0;z-index:100;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.tc-nav .w{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:0;flex-wrap:nowrap}
.tc-nav-scroll{overflow-x:auto;flex:1;min-width:0;display:flex;flex-wrap:nowrap;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.3) rgba(0,0,0,0.15);list-style:none;margin:0;padding:0}
.tc-nav-scroll::-webkit-scrollbar{height:3px}
.tc-nav-scroll::-webkit-scrollbar-track{background:rgba(0,0,0,0.15)}
.tc-nav-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.35);border-radius:2px}

.tc-nav ul li a{display:block;padding:0 10px;line-height:50px;color:#fff;font-size:13px;font-weight:700;white-space:nowrap;transition:background .15s}
.tc-nav ul li a:hover,.tc-nav ul li.cur a{background:var(--redd)}
.tc-search{display:flex;align-items:center;gap:4px;background:rgba(255,255,255,.15);border-radius:3px;padding:4px 7px;flex-shrink:0}
.tc-search input{background:none;border:none;outline:none;color:#fff;font-size:11px;width:60px;font-family:'Hind Siliguri',sans-serif}
.tc-search input::placeholder{color:rgba(255,255,255,.55)}

/* BREAKING */
.tc-brk{background:var(--bg2);border-bottom:1px solid var(--rule);padding:6px 0;overflow:hidden}
.tc-brk .w{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:10px}
.tc-brk-lbl{background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:2px 9px;letter-spacing:1px;white-space:nowrap;flex-shrink:0}
.tc-ticker-w{overflow:hidden;flex:1}
.tc-ticker{display:flex;gap:36px;animation:tick 35s linear infinite;white-space:nowrap}
.tc-ticker:hover{animation-play-state:paused}
.tc-ticker span{font-size:13px;color:var(--ink2)}
.tc-ticker span::before{content:'◆ ';color:var(--red);font-size:8px}
@keyframes tick{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* LAYOUT */
.tc-wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.tc-body{display:grid;grid-template-columns:1fr 290px;gap:26px;padding:24px 0}
@media(max-width:900px){.tc-body{grid-template-columns:1fr}}

/* SECTION TITLE */
.tc-stitle{font-family:'Playfair Display',serif;font-size:17px;font-weight:700;border-bottom:2px solid var(--ink);padding-bottom:7px;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.tc-stitle a{color:inherit}
.tc-stitle a:hover{color:var(--red)}
.tc-stitle::after{content:'';flex:1;height:1px;background:var(--rule);margin-top:1px}
.tc-stitle .more{font-family:'Hind Siliguri',sans-serif;font-size:11px;font-weight:600;color:var(--red);margin-left:auto;white-space:nowrap;padding-top:2px}
.tc-stitle .more:hover{text-decoration:underline}
hr.tc-div{border:none;border-top:1px solid var(--rule);margin:6px 0 22px}

/* CAT LABELS */
.tc-cat{display:inline-block;color:#fff;font-size:10px;font-weight:700;padding:1px 7px;letter-spacing:.4px;margin-bottom:6px;background:var(--red)}
.tc-cat.intl{background:var(--teal)}.tc-cat.sports{background:var(--green)}.tc-cat.tech{background:var(--blue)}.tc-cat.opinion{background:var(--brown)}.tc-cat.lekha{background:var(--purple)}.tc-cat.muslim{background:var(--gold)}
.tc-cat a{color:#fff}

/* HEADLINES */
.tc-h1{font-family:'Playfair Display',serif;font-size:24px;font-weight:700;line-height:1.32;margin-bottom:8px}
.tc-h2{font-family:'Playfair Display',serif;font-size:16px;font-weight:700;line-height:1.38;margin-bottom:5px}
.tc-h3{font-family:'Playfair Display',serif;font-size:14px;font-weight:700;line-height:1.4;margin-bottom:3px}
.tc-h1 a,.tc-h2 a,.tc-h3 a{color:inherit;transition:color .2s}
.tc-h1 a:hover,.tc-h2 a:hover,.tc-h3 a:hover{color:var(--red)}
.tc-exc{font-size:13px;color:var(--ink3);line-height:1.6;margin-bottom:6px}
.tc-meta{font-size:11px;color:var(--ink3)}

/* FEATURED HERO */
.tc-hero{display:grid;grid-template-columns:2fr 1fr;gap:2px;background:var(--rule);margin-bottom:22px}
.tc-hero-main{background:var(--bg);overflow:hidden}
.tc-hero-main .img{overflow:hidden;background:#ddd;max-height:420px}
.tc-hero-main .img img{width:100%;height:auto;display:block;transition:transform .4s}
.tc-hero-main:hover .img img{transform:scale(1.03)}
.tc-hero-main .cnt{padding:18px}
.tc-hero-side{display:flex;flex-direction:column;gap:2px}
.tc-hero-s{background:var(--bg);flex:1;overflow:hidden;display:flex;flex-direction:column}
.tc-hero-s .img{overflow:hidden;background:#ddd}
.tc-hero-s .img img{width:100%;height:auto;display:block;transition:transform .4s}
.tc-hero-s:hover .img img{transform:scale(1.04)}
.tc-hero-s .cnt{padding:10px;flex:1}
@media(max-width:680px){.tc-hero{grid-template-columns:1fr}}

/* 2-COL SECTION */
.tc-2col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;align-items:stretch}
@media(max-width:640px){.tc-2col{grid-template-columns:1fr}}

/* COL BLOCK */
.tc-col-block{background:#fff;border-radius:4px;border:0.5px solid #ddd;border-top:3px solid var(--red);padding:14px;box-shadow:0 1px 4px rgba(0,0,0,0.06);height:100%;box-sizing:border-box}

/* BIG+LIST pattern */
.tc-big{margin-bottom:12px;cursor:pointer}
.tc-big .img{overflow:hidden;background:#ddd;margin-bottom:8px}
.tc-big .img img{width:100%;height:auto;display:block;transition:transform .35s}
.tc-big:hover .img img{transform:scale(1.04)}
.tc-big:hover .tc-h2 a{color:var(--red)}

/* LIST ITEMS */
.tc-li{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--rule);cursor:pointer}
.tc-li:last-child{border-bottom:none}
.tc-li .img{width:60px;height:60px;flex-shrink:0;overflow:hidden;background:#ddd}
.tc-li .img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tc-li:hover .img img{transform:scale(1.06)}
.tc-li:hover .tc-h3 a{color:var(--red)}
.tc-li .txt{flex:1;min-width:0}

/* LEKHA GRID */
.tc-lekha{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:480px){.tc-lekha{grid-template-columns:1fr}}
.tc-lk{display:flex;gap:10px;padding:10px;border:1px solid var(--rule);cursor:pointer;background:var(--bg)}
.tc-lk .img{width:60px;height:64px;flex-shrink:0;overflow:hidden;background:#ddd}
.tc-lk .img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tc-lk:hover .img img{transform:scale(1.05)}
.tc-lk:hover .tc-h3 a{color:var(--red)}

/* OPINION CARDS */
.tc-ops{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:480px){.tc-ops{grid-template-columns:1fr}}
.tc-op{padding:12px;border:1px solid var(--rule);cursor:pointer}
.tc-op:hover .tc-h3 a{color:var(--red)}
.tc-av{width:44px;height:44px;border-radius:50%;overflow:hidden;background:#ddd;margin-bottom:7px;border:2px solid var(--rule)}
.tc-av img{width:100%;height:100%;object-fit:cover}
.tc-aname{font-size:12px;font-weight:600;color:var(--ink2)}
.tc-arole{font-size:10px;color:var(--ink3);margin-bottom:6px}

/* SIDEBAR */
.tc-sb-block{background:var(--bg2);padding:13px;margin-bottom:18px;border:1px solid var(--rule)}
.tc-sb-block .tc-stitle{font-size:14px}
.tc-pop li{display:flex;gap:9px;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--rule);cursor:pointer}
.tc-pop li:last-child{border-bottom:none}
.tc-pop li:hover h4 a{color:var(--red)}
.tc-pn{font-family:'Playfair Display',serif;font-size:24px;font-weight:900;color:var(--rule);line-height:1;flex-shrink:0;width:26px;transition:color .2s}
.tc-pop li:hover .tc-pn{color:var(--red)}
.tc-pop li h4{font-size:12px;font-weight:600;line-height:1.45}
.tc-pop li h4 a{color:inherit}
.tc-ad{background:var(--bg3);border:1px dashed var(--rule);display:flex;align-items:center;justify-content:center;color:var(--ink3);font-size:11px;letter-spacing:1px;text-transform:uppercase;margin-bottom:18px;text-align:center}
.tc-nl input{width:100%;padding:7px 9px;border:1px solid var(--rule);font-family:'Hind Siliguri',sans-serif;font-size:13px;margin-bottom:7px;outline:none}
.tc-nl button{width:100%;background:var(--red);color:#fff;border:none;padding:8px;font-family:'Hind Siliguri',sans-serif;font-size:13px;font-weight:600;cursor:pointer}
.tc-nl button:hover{background:var(--redd)}

/* SINGLE */
.tc-single{max-width:760px}
.tc-s-title{font-family:'Playfair Display',serif;font-size:clamp(20px,3.5vw,32px);font-weight:700;line-height:1.3;margin-bottom:10px}
.tc-s-meta{font-size:12px;color:var(--ink3);margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--rule)}
.tc-s-hero{width:100%;max-height:420px;object-fit:cover;margin-bottom:22px}
.tc-s-body{font-size:16px;line-height:1.85;color:var(--ink2)}
.tc-s-body p{margin-bottom:16px}
.tc-s-body h2{font-family:'Playfair Display',serif;font-size:21px;margin:26px 0 10px}
.tc-s-body h3{font-family:'Playfair Display',serif;font-size:17px;margin:20px 0 9px}
.tc-s-body blockquote{border-left:3px solid var(--red);padding:10px 18px;margin:20px 0;background:var(--bg2);font-style:italic;font-size:16px}
.tc-s-body img{max-width:100%;margin:18px 0}

/* PAGINATION */
.tc-pages{display:flex;gap:5px;margin:24px 0;flex-wrap:wrap}
.tc-pages a,.tc-pages span{display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 7px;border:1px solid var(--rule);font-size:13px;transition:all .15s}
.tc-pages a:hover,.tc-pages .current{background:var(--red);color:#fff;border-color:var(--red)}

/* FOOTER */
.tc-ftr{background:#111;color:#888;margin-top:36px}
.tc-ftr-top{max-width:1200px;margin:0 auto;padding:28px 16px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px}
@media(max-width:780px){.tc-ftr-top{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.tc-ftr-top{grid-template-columns:1fr}}
.tc-fl{font-family:'Playfair Display',serif;font-size:28px;font-weight:900;color:#fff;margin-bottom:8px}
.tc-fl span{color:var(--red)}
.tc-fd{font-size:13px;line-height:1.7;margin-bottom:10px}
.tc-fs{display:flex;gap:7px;flex-wrap:wrap}
.tc-fs a{background:#222;color:#999;width:30px;height:30px;display:flex;align-items:center;justify-content:center;font-size:12px;transition:background .2s}
.tc-fs a:hover{background:var(--red);color:#fff}
.tc-fc h4{color:#ddd;font-size:12px;font-weight:600;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid #222}
.tc-fc ul li{margin-bottom:6px}
.tc-fc ul li a,.tc-fc ul li span{font-size:12px;color:#666;transition:color .2s}
.tc-fc ul li a:hover{color:#ccc}
.tc-ftr-btm{border-top:1px solid #1e1e1e;padding:10px 16px;max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.tc-ftr-btm p,.tc-ftr-btm a{font-size:11px;color:#444}
.tc-ftr-btm a:hover{color:#888}
.tc-fbl{display:flex;gap:12px}

/* MOBILE SEARCH */
.tc-mob-search{display:none;align-items:center;gap:8px;background:#f0f0f0;padding:8px 16px;border-bottom:1px solid var(--rule)}
.tc-mob-search input{flex:1;background:none;border:none;outline:none;font-family:'Hind Siliguri',sans-serif;font-size:14px;color:var(--ink)}
.tc-mob-search input::placeholder{color:#aaa}
@media(max-width:600px){.tc-mob-search{display:flex}.tc-search{display:none!important}}
@media(min-width:601px){.tc-mob-search{display:none!important}}
.tc-nav-logo{font-family:"Playfair Display",serif;font-size:14px;font-weight:900;color:#ffffff !important;white-space:nowrap;padding:0 8px 0 0;border-right:1px solid rgba(255,255,255,.25);margin-right:6px;flex-shrink:0;flex-grow:0;min-width:max-content;text-decoration:none;display:inline-flex;align-items:center;height:50px;line-height:1;letter-spacing:0}
.tc-nav-logo span{color:#ffffff !important}
@media(max-width:600px){.tc-nav-logo{display:none}}

/* ── পিডিএফ ডাউনলোড বক্স ── */
.tc-pdf-box{padding:0}
.tc-pdf-item{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--rule)}
.tc-pdf-item:last-child{border-bottom:none;padding-bottom:0}
.tc-pdf-item:first-of-type{padding-top:6px}
.tc-pdf-icon{flex-shrink:0;margin-top:2px}
.tc-pdf-info{flex:1;min-width:0}
.tc-pdf-label{font-size:13px;font-weight:600;color:var(--ink);line-height:1.45;margin-bottom:3px}
.tc-pdf-date{font-size:11px;color:var(--ink3);margin-bottom:6px}
.tc-pdf-btn{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#fff;background:var(--green);padding:4px 10px;border-radius:3px;text-decoration:none;transition:background .2s;white-space:nowrap}
.tc-pdf-btn:hover{background:var(--red);color:#fff}
.tc-hdr-search{display:inline-flex;align-items:center;gap:5px;background:var(--bg3);border:1px solid var(--rule);border-radius:20px;padding:3px 10px;margin-top:8px}
.tc-hdr-search input{background:none;border:none;outline:none;font-family:'Hind Siliguri',sans-serif;font-size:11px;color:var(--ink);width:60px}
.tc-hdr-search input::placeholder{color:#aaa}
.tc-nav-track{height:3px;background:rgba(0,0,0,0.2);position:relative;cursor:pointer}
.tc-nav-thumb{height:3px;background:rgba(255,255,255,0.5);border-radius:2px;position:absolute;top:0;left:0;cursor:grab;min-width:30px}

/* ── Nav Dropdown ── */
.tc-nav-more{position:relative;flex-shrink:0;margin-left:8px;border-left:1px solid rgba(255,255,255,.25)}
.tc-nav-more-btn{display:flex;align-items:center;gap:4px;padding:0 12px;height:50px;color:#fff;font-size:13px;font-weight:700;cursor:pointer;background:transparent;border:none;font-family:'Hind Siliguri',sans-serif;white-space:nowrap}
.tc-nav-more-btn:hover{background:rgba(0,0,0,0.15)}
.tc-nav-dropdown{display:none;position:absolute;top:100%;right:0;background:#fff;border-radius:0 0 4px 4px;box-shadow:0 4px 16px rgba(0,0,0,.15);min-width:180px;z-index:999;border-top:3px solid var(--red)}
.tc-nav-dropdown.tc-open{display:block}
.tc-nav-dropdown a{display:block;padding:10px 16px;font-size:13px;font-weight:600;color:#333;text-decoration:none;border-bottom:0.5px solid #f0f0f0;font-family:'Hind Siliguri',sans-serif}
.tc-nav-dropdown a:last-child{border-bottom:none}
.tc-nav-dropdown a:hover{background:#fff5f5;color:var(--red)}

/* ── No image placeholder ── */
.tc-noimg{background:#e8e8e8;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:11px;letter-spacing:.5px;width:100%;height:100%;min-height:60px}

/* ── ফ্যাক্টচেক badge ── */
.tc-fact-true{display:inline-flex;align-items:center;gap:3px;font-size:9px;font-weight:700;padding:2px 7px;border-radius:10px;background:#e8f5e0;color:#2d7a2d;margin-bottom:3px}
.tc-fact-false{display:inline-flex;align-items:center;gap:3px;font-size:9px;font-weight:700;padding:2px 7px;border-radius:10px;background:#fde8e8;color:#c0392b;margin-bottom:3px}
.tc-fact-mixed{display:inline-flex;align-items:center;gap:3px;font-size:9px;font-weight:700;padding:2px 7px;border-radius:10px;background:#fef3e0;color:#b8680b;margin-bottom:3px}

/* ── ভিডিও section ── */
.tc-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}
.tc-video-item{background:#fff;border-radius:4px;border:0.5px solid var(--rule);border-top:3px solid var(--red);padding:10px}
.tc-video-thumb{position:relative;width:100%;padding-bottom:56.25%;background:#111;border-radius:3px;overflow:hidden;margin-bottom:8px}
.tc-video-thumb iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}
.tc-video-title{font-size:12px;font-weight:600;color:var(--ink);line-height:1.4;margin-bottom:4px}
.tc-video-date{font-size:10px;color:var(--ink3)}
@media(max-width:600px){.tc-video-grid{grid-template-columns:1fr}}

/* ── Social Share ── */
.tc-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);margin:20px 0}
.tc-share-label{font-size:12px;font-weight:600;color:var(--ink3)}
.tc-share-btn{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:6px 12px;border-radius:4px;text-decoration:none;transition:opacity .2s}
.tc-share-btn:hover{opacity:.85}
.tc-fb{background:#1877f2;color:#fff}
.tc-wa{background:#25d366;color:#fff}
.tc-tw{background:#000;color:#fff}
