/*
Theme Name: Smartmews
Theme URI: https://www.deshjagaran.com/
Author: M.R. LITON
Author URI: https://www.facebook.com/litonofc/
Description: Smart News is a modern, fast-loading Bengali news/magazine WordPress theme. You can install and use it directly on any WordPress site without any license key or activation code.
Version: 2.9.6
Requires at least: 5.3
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-news
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
*/

/* ============================================================================
   পরিবর্তন লগ (Changelog)
   v2.9.6 — অ্যাডমিন বার ও wp-admin ফুটার ব্র্যান্ডিং (inc/admin-branding.php):
   - থিম এক্টিভ থাকা অবস্থায় অ্যাডমিন বার থেকে ওয়ার্ডপ্রেস লোগো এবং তার
     সাব-মেনু (About WordPress, WordPress.org, Documentation,
     Learn WordPress, Support, Feedback) সম্পূর্ণ হাইড করা হলো।
   - Customizer-এ আলাদা করে "Site Icon" সেট করা না থাকলে থিম অপশনের
     ফেভিকন এখন স্বয়ংক্রিয়ভাবে ওয়ার্ডপ্রেসের নিজস্ব সাইট আইকন হিসেবে
     ব্যবহৃত হয় — ফলে অ্যাডমিন বারের সাইট-নেম আইকন এবং ব্রাউজার/সার্চ
     ইঞ্জিন ট্যাব আইকন (মোবাইল ও ডেস্কটপ উভয় জায়গায়) থিমের নিজস্ব
     ফেভিকনই দেখাবে।
   - wp-admin ফুটারে ডিফল্ট "Thank you for creating with WordPress."
     বার্তার বদলে "Thank you for creating with M. R. LITON." দেখাবে।

   v2.9.5 — হোমপেজ থেকে ডান-পাশের সাইটবার সরানো হলো:
   - index.php থেকে get_sidebar() এবং widget_1/widget_2/widget_3
     (home_page_right কলাম) সম্পূর্ণ বাদ দেওয়া হয়েছে — শুধু হোমপেজে।
     অন্য টেমপ্লেটে (single, archive, search, taxonomy ইত্যাদি) সাইটবার
     আগের মতোই থাকবে, কোনো পরিবর্তন হয়নি।
   - হোমপেজ র‍্যাপারে নতুন "home_page-no-sidebar" ক্লাস যোগ হলো, যার
     মাধ্যমে .home_page_left এখন ফুল-উইথ (100%) — ফলে হোমপেজ লেআউট
     ম্যানেজারের সব সেকশন (section-one থেকে section-eighteen, এবং
     section-sidebar) পুরো প্রস্থ জুড়ে প্রদর্শিত হবে।
   - সাইটবার-জাতীয় কনটেন্ট এখনও প্রয়োজনে "section-sidebar"
     (থিম অপশন → হোমপেজ লেআউট ম্যানেজার) দিয়ে home_page_left-এর
     ভেতরে একটি সাধারণ সেকশন হিসেবে যেকোনো অবস্থানে বসানো যাবে।

   v2.9.4 — পারফরম্যান্স, অটো SEO/ইনডেক্সিং, AdSense-ফ্রেন্ডলি:
   - হোমপেজের কোনো গ্রিড/সেকশনে আর ছবির ক্যাপশন দেখায় না (section-one.php)।
   - সেকশন ১-এর লিড ইমেজ eager+fetchpriority=high (দ্রুত LCP); বাকি সব
     গ্রিড ছবি lazy-load + decoding="async"।
   - হেড থেকে ইমোজি স্ক্রিপ্ট/স্টাইল, RSD/WLW/শর্টলিংক/জেনারেটর ট্যাগ
     সরানো হলো; jQuery-নির্ভরতাহীন স্ক্রিপ্ট defer করে লোড হয়।
   - সব @font-face-এ font-display: swap যোগ হলো।
   - হোমপেজ লিড/সাব-লিড কোয়েরি এখন ৫ মিনিটের transient cache ব্যবহার
     করে (পোস্ট পাবলিশ/লিড বদলে অটো-ইনভ্যালিডেট) — ভারী ট্রাফিকে DB
     লোড কমায়।
   - ফ্রন্ট-এন্ডে হার্টবিট API বন্ধ, অ্যাডমিনে ৬০ সেকেন্ডে কমানো হলো।
   - হোমপেজে WebSite/Organization JSON-LD + robots.txt-এ সাইটম্যাপ
     লিংক + "Discourage search engines" চালু থাকলে অ্যাডমিন সতর্কতা।
   - Theme Options → Advertisements-এ নতুন "ads.txt Content" ফিল্ড —
     Google AdSense-এর জন্য /ads.txt স্বয়ংক্রিয়ভাবে সার্ভ হয়।
   - নতুন PERFORMANCE-SCALE.md: থিম কী অপ্টিমাইজ করে আর সত্যিকারের
     ম্যাসিভ ট্রাফিকের জন্য হোস্টিং-লেভেলে (ক্যাশিং/CDN/অবজেক্ট ক্যাশ)
     আর কী লাগবে, তার সৎ ও স্পষ্ট বিবরণ।

   v2.9.3 — সেকশন ৩-এর গ্রিড/ব্লক ডিজাইন থিমের স্থায়ী ডিজাইন হিসেবে লক:
   - সেকশন ৩-এর গ্রিড/ব্লকের মার্কআপ ও CSS (template-parts/section-three.php)
     এখন থিম/সাইটের নিজস্ব চূড়ান্ত ডিজাইন — ভবিষ্যতে "লিড সিলেকশন" থেকে
     যত খুশি পোস্ট সাব-লিড হিসেবে সিলেক্ট করা হোক না কেন, শুধু গ্রিডের
     কনটেন্ট (কোন পোস্টগুলো দেখাবে) বদলাবে; ব্লকের ডিজাইন/লেআউট কখনো
     বদলাবে না।
   - কোনো কার্যকরী (functional) পরিবর্তন নেই — শুধু ডিজাইন-লক নিশ্চিতকরণ
     ও ভার্সন বাম্প, যাতে ব্রাউজার/CDN ক্যাশ রিফ্রেশ হয়।

   v2.9.2 — সেকশন ৩ এখন একাধিক-পোস্ট গ্রিড + SEO আরও আধুনিক + এডিটর আরও প্রফেশনাল:
   - সাব-লিড আর সিঙ্গেলটন নয়: এখন একাধিক পোস্টকে একসাথে "সাব-লিড" হিসেবে
     চিহ্নিত করা যায়। সেকশন ৩-এর গ্রিড/ব্লকের ডিজাইন কখনো বদলায় না —
     শুধু কোন পোস্টগুলো দেখাচ্ছে সেটাই বদলায়। গ্রিডে মোট
     SMART_NEWS_SUB_LEAD_GRID_COUNT (ডিফল্ট ৬)-টি স্লট থাকে; সর্বশেষ
     প্রকাশিত ৬টি সাব-লিড পোস্ট সেখানে বসে, কম থাকলে বাকি স্লট সর্বশেষ
     সাধারণ পোস্ট দিয়ে পূরণ হয় (দেখুন inc/lead-selection.php)।
   - সেকশন ৩-এর জন্য এখন সম্পূর্ণ নতুন, স্বতন্ত্র ৩-কলাম কার্ড-গ্রিড
     ডিজাইন (template-parts/section-three.php) — সেকশন ১ (লিড)-এর বড়
     সিঙ্গেল-পোস্ট ডিজাইনের সাথে আর গুলিয়ে যাবে না। মোবাইলে ২ কলাম,
     ছোট স্ক্রিনে ১ কলামে রেসপন্সিভভাবে সাজে।
   - পোস্ট এডিটরের "লিড সিলেকশন" ট্যাবে এখন একাধিক সাব-লিড পোস্টের
     তালিকা (ক্রমানুসারে, "এই পোস্ট" ট্যাগসহ) দেখা যায় — আর শুধু ১টি
     পোস্ট নয়।
   - সেকশন ২ থেকে এখন সবগুলো সাব-লিড পোস্ট বাদ দিয়ে খবর দেখানো হয়
     (আগে শুধু প্রথমটা বাদ দেওয়া হতো), যাতে একই খবর দুইবার না আসে।
   - SEO Management আরও আধুনিক ও স্মার্ট হলো:
       • Open Graph (og:title, og:description, og:image, og:type,
         og:site_name, article:published_time/modified_time/section)
         ট্যাগ যোগ হলো — ফেসবুক/হোয়াটসঅ্যাপ/লিংকডইন প্রিভিউর জন্য।
       • BreadcrumbList JSON-LD স্ট্রাকচার্ড ডেটা যোগ হলো।
       • সার্চ-রেজাল্ট, ৪০৪ ও পেজিনেটেড পেজে স্মার্ট robots meta
         (noindex, follow) — ডুপ্লিকেট/থিন কনটেন্ট থেকে সুরক্ষা।
       • ক্যাটাগরি/ট্যাগ আর্কাইভ পেজেও এখন নিজস্ব canonical, Open
         Graph ও মেটা ডেসক্রিপশন (ট্যাক্সোনমির বর্ণনা থেকে) বসে।
   - পোস্ট এডিটরের ডিজাইন আরও আধুনিক ও প্রফেশনাল: পিল-স্টাইল ট্যাব নেভ,
     সফট শ্যাডো, ফোকাস-স্টেট হাইলাইট ইনপুট, ফেড-ইন ট্যাব ট্রানজিশন।
   - থিম ভার্সন 2.9.1 → 2.9.2 এ আপডেট হলো।

   v2.9.1 — পোস্ট এডিটর আরও পরিষ্কার + SEO Management আরও শক্তিশালী/অটো:
   - "কনটেন্ট তথ্য" ট্যাব থেকে পুরনো "লিড অনুচ্ছেদ চালু করুন / লিড /
     সাব-লিড অনুচ্ছেদ চালু করুন / সাব-লিড" ফিল্ড ৪টা সরিয়ে ফেলা হলো —
     এগুলো নতুন "লিড সিলেকশন" ট্যাবের সাথে বিভ্রান্তিকর ছিল। (পুরনো
     পোস্টে আগে থেকে সেভ করা ডেটা অক্ষত থাকবে, single.php-এ এখনো ঠিকঠাক
     দেখাবে — শুধু নতুন করে GUI থেকে যোগ/এডিট করা যাবে না।)
   - সেকশন ৩ (সাব-লিড)-এর জন্য আলাদা কোনো নতুন কার্ড-ডিজাইন রাখা হয়নি —
     এখন এটা সেকশন ১ (লিড)-এর সাথে হুবহু একই বড়, দুই-কলাম ডিজাইন
     ব্যবহার করে; পার্থক্য শুধু কোন পোস্টটা দেখাচ্ছে তাতে।
   - SEO Management ট্যাব আরও শক্তিশালী ও আধুনিক হলো:
       • এখন সত্যিই "অটো" — Focus Keyword, SEO Title, Meta Description
         খালি রেখে সেভ করলে পোস্টের শিরোনাম/কনটেন্ট বিশ্লেষণ করে
         স্বয়ংক্রিয়ভাবে তৈরি হয়ে পোস্ট মেটাতে সেভ হয়ে যায় (শুধু
         ফ্রন্ট-এন্ড ফলব্যাক না, এডিটরেও পরের বার দেখা যাবে)।
       • নতুন "✨ অটো জেনারেট করুন" বাটন — ক্লিক করলেই বর্তমান
         (এমনকি এখনো সেভ না করা) শিরোনাম ও কনটেন্ট থেকে তাৎক্ষণিকভাবে
         Focus Keyword, SEO Title, Meta Description, Slug বসিয়ে দেয়।
       • পেজ লোড হওয়ার পরপরই খালি ফিল্ডে নিঃশব্দে অটো-ফিল হয়ে যায়।
       • নতুন গ্রেডিয়েন্ট স্কোর-কার্ড: শতাংশ রিং + প্রোগ্রেস বার +
         রঙিন ব্যাজ (লাল/হলুদ/সবুজ) — আগের চেয়ে অনেক বেশি স্পষ্ট।
       • সার্চ ইঞ্জিনের জন্য নতুন meta keywords ট্যাগ ও JSON-LD-তে
         keywords যোগ হলো।

   v2.9.0 — পোস্ট এডিটর আধুনিক ট্যাব-ডিজাইনে রিমেক + "লিড সিলেকশন" ও
   "SEO Management" — দুইটি সম্পূর্ণ নতুন ট্যাব যোগ হলো:
   - পোস্ট এডিটরের মেটা বক্স এখন ৩টি ট্যাবে ভাগ করা: "কনটেন্ট তথ্য"
     (আগের রিপোর্টার/শোল্ডার/লিড অনুচ্ছেদ ফিল্ডগুলো), "লিড সিলেকশন" ও
     "SEO Management" — একই ফর্মে, একবারেই সেভ হয় (দেখুন
     inc/post-meta-boxes.php)।
   - নতুন "লিড সিলেকশন" ট্যাব (inc/lead-selection.php): যেকোনো পোস্টকে
     হোমপেজের "লিড" বা "সাব-লিড" হিসেবে বাছাই করা যায়। একটা সময়ে সাইটে
     মাত্র ১টি লিড ও ১টি সাব-লিড থাকতে পারে — নতুন পোস্ট বাছাই করলে আগের
     পোস্ট থেকে ট্যাগ স্বয়ংক্রিয়ভাবে সরে যায় (সিঙ্গেলটন)। হোমপেজে:
       • সেকশন ১ → শুধু নির্বাচিত "লিড" পোস্ট দেখায়
       • সেকশন ২ → লিড/সাব-লিড বাদে সর্বশেষ #২ ও #৩ নম্বর খবর দেখায়
       • সেকশন ৩ → শুধু নির্বাচিত "সাব-লিড" পোস্ট দেখায় (নতুন আধুনিক
         কার্ড-স্টাইল ডিজাইনে)
     কিছু বাছাই করা না থাকলে হোমপেজ কখনো খালি না থাকার জন্য সর্বশেষ
     পোস্টে স্বয়ংক্রিয়ভাবে ফলব্যাক করে।
   - নতুন "SEO Management" ট্যাব (inc/seo.php): Focus Keyword, SEO
     Title, Meta Description, Slug — প্রতিটির পাশে লাইভ লাল/সবুজ
     ইন্ডিকেটর ও ক্যারেক্টার কাউন্টার সহ একটা সার্বিক SEO স্কোর ব্যাজ।
     কোনো প্লাগিন/থার্ডপার্টি ছাড়াই থিম নিজে থেকে প্রতিটি পোস্টের
     <title>, meta description, canonical URL, Open Graph, Twitter
     কার্ড ও Google News/Discover-ফ্রেন্ডলি NewsArticle JSON-LD
     স্ট্রাকচার্ড ডেটা অটো-জেনারেট করে — ম্যানুয়ালি পূরণ না করলেও
     পোস্টের শিরোনাম/এক্সসার্পট থেকে যুক্তিসঙ্গত মান বসে যায়, ফলে সাইটের
     সব নিউজ অটোমেটিক SEO-অপটিমাইজড থাকে।
   - হোমপেজের Open Graph ট্যাগে থাকা পুরনো একটা ভুল
     (og:title="text/x-generic") ঠিক করে প্রকৃত সাইটের নাম/পোস্টের
     শিরোনাম বসানো হয়েছে, সাথে article:published_time/modified_time
     ট্যাগও যোগ হলো।

   v2.8.3 — ব্রাউজারের "Request Desktop Site" অটো-ডিটেকশনের বদলে থিমের
   নিজস্ব, ১০০% নির্ভরযোগ্য "ডেস্কটপ ভার্সন" টগল বাটন যোগ হলো:
   - v2.8.1/v2.8.2-এ ব্রাউজারের নিজস্ব "Request Desktop Site" ফিচার
     জাভাস্ক্রিপ্ট দিয়ে সনাক্ত করার চেষ্টা করা হয়েছিল (User-Agent/টাচ/স্ক্রিন
     সাইজ দেখে অনুমান)। কিন্তু ভিন্ন ভিন্ন ব্রাউজার ও ভার্সনে এই ফিচারের
     আচরণ অসামঞ্জস্যপূর্ণ (কোনোটা UA বদলায়, কোনোটা শুধু Client Hints বদলায়,
     UA অপরিবর্তিত রাখে) — ফলে ডিটেকশন সবসময় কাজ করছিল না।
   - এখন সেই অনুমান-নির্ভর অটো-ডিটেকশন বাদ দিয়ে হেডারের মোবাইল মেনুতে
     সরাসরি "ডেস্কটপ ভার্সন দেখুন" নামে একটা লিংক/বাটন যোগ করা হয়েছে।
     এতে ক্লিক করলে sn_desktop_mode কুকি সেট হয়ে পেজ রিলোড হয়, আর
     header.php তখন সার্ভার-সাইডেই (PHP, কোনো জাভাস্ক্রিপ্ট রেসের ঝুঁকি
     ছাড়া) ভিউপোর্ট width=1280 নিয়ে পেজ রেন্ডার করে — তাই কোনো লোডিং
     ফ্ল্যাশ/ভুল সাইজ এক মুহূর্তের জন্যও দেখা যায় না, এবং এটা প্রতিটি
     ব্রাউজারে, প্রতিবার একইভাবে নির্ভরযোগ্যভাবে কাজ করবে।
   - ডেস্কটপ ভার্সনে থাকা অবস্থায় ডেস্কটপ হেডারের ড্রপডাউন মেনুতেও একই
     জায়গায় "মোবাইল ভার্সনে ফিরে যান" লিংক দেখা যাবে, যাতে যেকোনো সময়
     সহজে মোবাইল ভিউতে ফিরে যাওয়া যায়।
   v2.8.2 — ডেস্কটপ সাইট মোডে পুরো পেজ স্ক্রিনজুড়ে ছোট হয়ে ফুল দেখাবে +
   লগইন সমস্যা ফিক্স:
   - v2.8.1-এ ভিউপোর্টকে "width=1280, initial-scale=1, shrink-to-fit=no"
     করা হয়েছিল। initial-scale=1 দেওয়ায় ব্রাউজার পেজটাকে জুম-ইন অবস্থায়
     রাখছিল — ফলে স্ক্রিনে শুধু ১২৮০px চওড়া পেজের উপরের-বামের একটা ছোট
     অংশ (ক্রপ হয়ে) দেখা যেত, পুরো হেডার/সাইট ফুল স্ক্রিনজুড়ে দেখা যেত না।
     লোডিং অবস্থায় তাই শুধু থিমের ছোট আইকন/লোগো অংশটুকুই চোখে পড়ত, এবং
     Google/অন্যান্য লগইন বাটন-পপআপ ক্রপ হওয়া অংশের বাইরে পড়ে যাওয়ায়
     ক্লিক/লগইন করা যাচ্ছিল না।
   - এখন ভিউপোর্ট কনটেন্ট শুধু "width=1280" করা হয়েছে (initial-scale ও
     shrink-to-fit বাদ) — ফলে ব্রাউজার নিজে থেকেই পুরো ১২৮০px চওড়া
     ডেস্কটপ পেজটাকে স্ক্রিনের ভেতর auto-fit করে ছোট করে দেখায় (পুরনো
     দিনের non-responsive সাইট মোবাইলে যেভাবে দেখাতো ঠিক সেভাবে) — হেডার
     সহ পুরো সাইট এখন স্ক্রিনজুড়ে হুবহু ডেস্কটপের মতো ফুল দেখাবে, এবং
     Google/অন্যান্য লগইন বাটন-পপআপও স্বাভাবিকভাবে ক্লিকযোগ্য থাকবে।
   v2.8.1 — মোবাইলে "Request Desktop Site" মোড এখন হুবহু ডেস্কটপের মতো দেখাবে:
   - আগে ভিউপোর্ট মেটা ট্যাগে width=device-width ফিক্সড থাকায় মোবাইল ব্রাউজার
     থেকে "ডেস্কটপ সাইট" মোড চালু করলেও পেজ মোবাইল লেআউটেই থেকে যেত, কারণ
     লেআউট ভিউপোর্ট ডিভাইসের প্রকৃত প্রস্থেই আটকে থাকত এবং max-width ভিত্তিক
     ডেস্কটপ মিডিয়া কোয়েরিগুলো কখনো সক্রিয় হতো না।
   - header.php-তে নতুন একটি স্ক্রিপ্ট যোগ হয়েছে যা UA থেকে মোবাইল টোকেন
     (Mobi/Android Mobile/iPhone ইত্যাদি) না থাকা সত্ত্বেও টাচস্ক্রিন ও ছোট
     স্ক্রিন সাইজ দেখে বুঝে নেয় যে ব্যবহারকারী মোবাইল থেকেই ডেস্কটপ সাইট মোড
     চালু করেছেন — তখন ভিউপোর্ট মেটাকে width=1280 এ পরিবর্তন করে দেয়।
   - এর ফলে থিমের সব max-width ভিত্তিক ডেস্কটপ CSS (হেডার, সাইটবার, গ্রিড
     সেকশনগুলো) এবং script.js-এর matchMedia লজিক স্বয়ংক্রিয়ভাবে ডেস্কটপ
     মোডে চলে যায় — অর্থাৎ মোবাইলে ডেস্কটপ সাইট মোডে সাইটটি একদম ডেস্কটপের
     মতোই দেখাবে। স্বাভাবিক মোবাইল ব্রাউজিংয়ে (ডেস্কটপ মোড অফ থাকলে) কোনো
     পরিবর্তন নেই, আগের মতোই রেসপনসিভ মোবাইল লেআউট দেখাবে।
   v2.8.0 — সাইটবার প্রস্থ ফিক্সড ৩০০px করা হলো:
   - হোমপেজ, সিঙ্গেল পোস্ট, সার্চ/অল-পোস্টস, ক্যাটাগরি আর্কাইভ ও সাব-ক্যাটাগরি
     পেজের রাইট সাইটবার আগে ছিল প্যারেন্ট কনটেইনারের ৩২%–৩৩% (%-ভিত্তিক,
     স্ক্রিন সাইজ অনুযায়ী ওঠানামা করত)। এখন ডেস্কটপে (>770px) সব জায়গায়
     সাইটবারের প্রস্থ ফিক্সড ৩০০px, আর পাশের মূল কনটেন্ট এরিয়া flex:1 দিয়ে
     বাকি জায়গা নেবে — ফলে সাইটবার সব পেজে সমান ও অপরিবর্তিত থাকবে।
   - মোবাইল/ট্যাবলেট (≤770px) লেআউট আগের মতোই অপরিবর্তিত রইল, সেখানে
     সাইটবার এখনো ১০০% প্রস্থ নিয়ে নিচে স্ট্যাক হয়।
   v2.7.9 — লিড গ্রিড বক্সের ছবি লম্বা/ছোট হয়ে ভাসার বাগ ফিক্স:
   - .sports_grid (section-eight/eleven/fourteen/fifteen/sixteen) সেকশনের
     ৫টি পোস্টের মধ্যে প্রথমটি (বড় লিড বক্স) মোবাইল ভিউতে (≤770px) তার
     ছবির জন্য কোনো width/height/object-fit রুলই পেত না — অথচ পাশের ২-৫
     নম্বর ছোট আইটেমগুলোর জন্য ঠিকই ছিল। ফলে বিশেষ করে ফিচার্ড ইমেজ ছাড়া
     পোস্টে (ডিফল্ট/ফলব্যাক লোগো ছবি দেখানো অবস্থায়) ছবিটি একটা বড়, ফাঁকা
     ধূসর বক্সের মাঝখানে ছোট হয়ে ভেসে থাকত — অন্য নিউজ গ্রিডের মতো স্বাভাবিক
     দেখাচ্ছিল না। এখন এই বক্সের thumb-কে ফিক্সড ১৬:৯ অনুপাতের কন্টেইনার
     বানিয়ে ভেতরের ছবি object-fit:cover দিয়ে পুরো বক্স ভরাট করবে (আসল
     ফিচার্ড ইমেজ বা ফলব্যাক ছবি — দুটোর জন্যই)।
   - `.sn-default-thumb` (ফলব্যাক ছবি) এর জন্য একটি সাইটজুড়ে সেফটি-নেট
     object-fit:cover রুল যোগ করা হয়েছে, যাতে ভবিষ্যতে অন্য কোনো গ্রিডেও
     ফিচার্ড-ইমেজ-বিহীন পোস্টে ছবি স্ট্রেচ/ভাসা না হয়।
   v2.7.8 — হোমপেজ গ্রিড ক্লিক ফিক্স + দ্রুত সিঙ্গেল পেইজ লোড:
   - script.js-এ .bottom_parent এলিমেন্ট না থাকলে (কিছু কাস্টম/পেজ টেমপ্লেটে)
     jQuery অফসেট কল থেকে JS এরর হয়ে পুরো script.js থেমে যেত, ফলে মেনু/সার্চ
     টগলের পাশাপাশি অন্য বাটন-নির্ভর ফিচারও কাজ করা বন্ধ হয়ে যাচ্ছিল। এখন
     এলিমেন্ট আছে কিনা যাচাই করে তবেই কোডটি চলে।
   - নতুন inc/grid-quicklink.js যোগ করা হয়েছে: হোমপেজের সবগুলো সেকশন গ্রিডের
     পোস্ট লিংকে (a[href]) হোভার/টাচ করা মাত্র ব্রাউজার ব্যাকগ্রাউন্ডে সেই
     সিঙ্গেল নিউজ পেইজটি prefetch করে রাখে, ফলে ক্লিক করলে পেইজ প্রায়
     সাথে সাথেই (instant) খুলে যায় — full-reload এর অপেক্ষা কমে যায়।
   - একই ফাইলে একটি সেফটি-নেট ক্লিক হ্যান্ডলারও যোগ করা হয়েছে যা নিশ্চিত করে
     গ্রিডের কোনো লিংকে ভবিষ্যতে অন্য কোনো স্ক্রিপ্ট ভুলবশত preventDefault()
     করলেও পোস্টের লিংকটি স্বাভাবিকভাবে ওপেন হবে (fallback navigation)।
   v2.7.6 — গ্রিড থাম্বনেইল সবসময় ফিক্সড সাইজ:
   - more_six_posts, subcat_six_posts_grid, photo_subcat_posts_grid,
     archive_leatest_eighteen_posts, archive_leatest_three_posts,
     first_item/second_item sidebar thumb, single_right_more থাম্বনেইল —
     এই সেকশনগুলোতে height:auto বাদ দিয়ে ফিক্সড height + object-fit:cover
     বসানো হয়েছে, যাতে ইউজার যেকোনো সাইজের ছবি আপলোড করলেও গ্রিডের বক্স
     সবসময় একই সাইজে থাকে এবং ছবি ক্রপ হয়ে বক্স পূরণ করে (distort হয় না)।
   - শিরোনাম (h4/figcaption) আগের মতোই নিজের প্রয়োজন অনুযায়ী জায়গা নেয়,
     শুধু ছবির বক্সের সাইজ ফিক্সড।
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

li {
    list-style: none
}

a,
a:hover {
    text-decoration: none !important
}

blockquote {
    margin: 0 !important
}

img {
    display: block
}

img.wp-post-image {
    filter: brightness(95%);
    max-width: unset;
}

img.wp-post-image:hover {
    filter: brightness(110%);
    transition: .2s
}

#myBtn {
    display: none;
    z-index: 99;
    outline: 0;
    background-color: transparent;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    overflow: hidden;
    z-index: 99999999;
    color: #f3151c;
    width: 40px;
    height: 40px;
    border: 3px solid #f3151c;
    line-height: 20px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;
    border-radius: 50px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

#myBtn i {
    font-size: 25px;
    left: 0;
    bottom: 0;
    position: relative
}

.nav_container {
    max-width: 1200px;
    padding: 0 15px;
    width: 100%;
    margin: auto
}

/* মোবাইল/ছোট ট্যাবলেট রেঞ্জে (৯৭৯px পর্যন্ত) হেডারের নিজস্ব ১৫px পাশের
   প্যাডিং সরিয়ে দেওয়া হলো, যাতে মোবাইল হেডারের মেনু ও সার্চ আইকন দুটো
   স্ক্রিনের একদম কিনারা ঘেঁষে বসে — কোনো বাড়তি স্পেস/প্যাডিং না থাকে */
@media only screen and (max-width: 979px) {
    header.nav_container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* আপডেট: ডেস্কটপ হেডার এখন ৩-সারির আধুনিক লেআউট —
   ১) তারিখ + সোশ্যাল/টুলস বার (উপরে)
   ২) লোগো (মাঝখানে)
   ৩) মূল মেনু (নিচে) */
@media only screen and (min-width:991px) {
    header.nav_container {
        display: flex;
        flex-direction: column;
    }

    header.nav_container .top_nav {
        order: 1;
    }

    header.nav_container .bottom_parent {
        order: 2;
    }

    header.nav_container .social_toggle_div {
        order: 3;
    }
}

.top_nav {
    background: #1a1a1a;
    padding: 4px 15px 4px 0;
    color: #fff;
    height: 32px;
    display: flex;
    flex-wrap: wrap
}

.date_time {
    height: max-content;
    display: flex
}

.date_time li {
    height: max-content;
    padding: 0 13px;
    font-size: 14px;
    position: relative
}

.top_nav .nav_menu {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0
}

.top_nav .nav_menu li {
    padding: 0 13px;
    font-size: 14px;
    position: relative
}

.top_nav .nav_menu li a:link,
.top_nav .nav_menu li a:visited {
    text-decoration: none;
    color: #fff
}

.date_time li:nth-child(2)::before,
.top_nav ul.nav_menu li::before {
    position: absolute;
    background-color: #fff;
    width: 1px;
    top: 5px;
    left: 0;
    content: "";
    height: 14px
}

.social {
    display: flex;
    margin-left: auto
}

.social li {
    padding: 0 5px;
    font-size: 14px;
    color: #fff
}

.social li a:link i,
.social li a:visited i {
    color: #fff
}

.share_tiggle {
    display: none
}

.mobile_meta_bar {
    display: none;
}

.social_toggle_div {
    text-align: center;
    display: none;
    height: 46px;
    background-color: #f3f3f3;
    width: 100%;
    padding: 6px
}

.social_toggle {
    display: flex
}

.flex_item {
    display: flex;
    margin: auto
}

.social_toggle li a {
    color: #fff
}

.social_toggle li:last-child {
    display: none
}

.social_toggle li>a>i {
    position: relative;
    text-align: center;
    padding-top: 6px;
    font-weight: 400;
    margin: 0 7px;
    height: 30px;
    width: 30px;
    font-size: 17px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%
}

.social_toggle li a i.fa_md {
    background-color: #3b5998;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25)
}

.social_toggle li a i.tt_md {
    background-color: #55acee;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25)
}

.social_toggle li a i.yu_md {
    background-color: red;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25)
}

.social_toggle li a i.pt_md {
    background-color: #fa004b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25)
}

.social_toggle li a i.in_md {
    background-color: #1b77b5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25)
}

.social_toggle li a i.int_md {
    background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25)
}

.bottom_parent {
    width: auto;
    border-bottom: 2px solid #000;
    z-index: 9;
    position: relative;
    background: #fff;
}

.bottom_nav {
    display: flex;
    height: 70px
}

.bottom_nav .logo a {
    width: 180px;
    height: 70px;
    display: flex;
    align-items: center
}

.bottom_nav .logo a img {
    max-width: 100%
}

.nav_menu_ground {
    display: flex;
    width: 100%;
    z-index: 999
}

.bottom_nav .nav_menu_ground ul.first_ull_menu {
    display: flex;
    margin: auto;
    align-items: center
}

.bottom_nav .nav_menu_ground ul.first_ull_menu li {
    font-size: 16px;
    padding: 0 9px;
    font-weight: 600;
    height: 70px;
    display: flex;
    align-items: center
}

.bottom_nav .nav_menu_ground ul.first_ull_menu li a {
    white-space: nowrap;
    text-decoration: none;
    color: #484848;
    font-weight: 700;
    height: 100%;
    display: flex;
    align-items: center
}

.bottom_nav .nav_menu_ground ul.first_ull_menu li:hover>a {
    color: #1e88e5 !important
}

.ham_burger {
    margin-left: auto
}

.ham_burger ul {
    display: flex;
    z-index: 99
}

.ham_burger ul li span {
    padding: 0 5px;
    font-size: 16px;
    font-weight: 600;
    height: 70px;
    color: #4d4d4d;
    display: flex;
    align-items: center;
    cursor: pointer
}

.ham_burger ul li {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 9px
}

.drop_menu {
    display: none;
    position: absolute;
    max-width: 1200px;
    height: auto;
    width: 1170px;
    z-index: 999;
    margin: auto
}

.fixed {
    position: fixed;
    background-color: #fff;
    top: 0;
    z-index: 99;
    max-width: 1200px;
    width: 1170px;
    margin: auto;
    box-shadow: 0 4px 3px -3px #000;
    border-bottom: none
}

.drop_nav_menu {
    background-color: #f7f7f7;
    padding: 20px;
    border-top: 1px solid #000
}

.drop_menu ul:nth-child(1),
.drop_menu ul:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc
}

.drop_menu ul:nth-child(2) {
    margin-bottom: 0
}

.drop_menu ul:nth-child(1) li a,
.drop_menu ul:nth-child(2) li a {
    font-size: 16px;
    color: #484848;
    text-decoration: none;
    font-weight: 600;
    line-height: 35px
}

.drop_menu ul:nth-child(2) li i {
    margin-right: 10px
}

.search_form {
    display: none;
    width: 100%
}

.search_form_inner {
    padding: 12.5px 0;
    display: flex;
    width: 100%;
    align-items: center
}

.screen-reader-text {
    position: absolute;
    left: -999px
}

#close_search,
#close_search1 {
    border: 1px solid gray;
    background-color: #f80000;
    height: 45px;
    display: flex;
    width: 50px;
    border-radius: 0 5px 5px 0
}

#close_search1 {
    margin-top: 0
}

#close_search i,
#close_search1 i {
    margin: auto
}

#close_search1:hover,
#close_search:hover {
    background-color: #e21919;
    transition: .3s
}

#seachsubmit {
    border: 1px solid gray;
    position: relative;
    height: 45px;
    display: flex;
    background-color: #00c3ff;
    width: 50px
}

#seachsubmit:hover {
    background-color: #1da9d3;
    transition: .3s
}

#seachsubmit i {
    margin: auto
}

#s {
    padding: 9px 16px;
    border-radius: 5px 0 0 5px;
    border: 1px solid gray;
    width: 100%
}

.mobile_search {
    margin: 10px 0;
    display: flex;
    width: 100%
}

@media only screen and (max-width:1230px) {
    .fixed {
        max-width: 960px;
        width: 100%
    }

    .nav_container {
        max-width: 960px;
        width: 100%;
        padding: 0
    }

    .drop_menu {
        max-width: 960px;
        width: 100%
    }

    .bottom_nav .nav_menu_ground ul.first_ull_menu li:last-child {
        display: none
    }
}

@media only screen and (max-width:990px) {

    .bottom_nav,
    .nav_container {
        width: 760px;
        margin: auto
    }

    .top_nav {
        height: auto
    }

    .fixed {
        width: 760px
    }

    .drop_menu {
        width: 760px
    }

    .nav_menu_ground {
        display: none
    }

    .ham_burger {
        position: relative;
        width: inherit;
        z-index: 99;
        background-color: #fff
    }

    .drop_menu ul:nth-child(1) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, 25px);
        border-bottom: 1px solid #666
    }

    .drop_menu ul:nth-child(2) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, 25px);
        border-bottom: 1px solid #666;
        margin: 0;
        padding: 0
    }

    .ham_burger ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-bottom: 0;
        z-index: 99;
        background-color: #fff
    }

    .ham_burger ul li:nth-child(1) span:nth-child(2) {
        display: none
    }

    .bottom_nav .logo {
        width: 100%;
        width: inherit;
        position: absolute;
        display: flex
    }

    .bottom_nav .logo a {
        margin: auto;
        z-index: 999
    }

    .top_nav .date_time li:nth-child(1) {
        display: none
    }

    .date_time li::before {
        display: none
    }

    /* আপডেট: মোবাইলে হেডারের সম্পূর্ণ ওপরের বার (তারিখ, ক্যাটাগরি মেনু, শেয়ার আইকন)
       সম্পূর্ণ হাইড থাকবে — শুধু মেনু আইকন, লোগো ও সার্চ আইকন দেখা যাবে।
       তারিখ ও ক্যাটাগরি মেনু আইকনে ক্লিক করলে ড্রপডাউন প্যানেলের ভেতরে দেখা যাবে */
    .top_nav {
        display: none !important;
    }

    .mobile_meta_bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        background-color: #f3f3f3;
        color: #333;
        padding: 10px 15px;
        font-size: 13px;
        border-bottom: 1px solid #e2e2e2;
    }

    .ham_burger ul li#drop_ground i.fa-bars,
    .ham_burger ul li#open_search i.fa-search {
        font-size: 22px;
    }

    .drop_category_menu_list {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        border-bottom: 1px solid #e2e2e2;
    }

    .drop_category_menu_list li {
        width: 50%;
        box-sizing: border-box;
    }

    .drop_category_menu_list li a {
        display: block;
        padding: 8px 15px;
        color: #222;
        text-decoration: none;
        font-size: 13px;
        border-bottom: 1px solid #eee;
    }

    .social {
        display: none
    }

    .share_tiggle {
        display: block;
        margin-left: auto;
        margin-bottom: 0
    }

    /* আপডেট: শেয়ার আইকন এখন হেডারের টপবারে নয়, মেনু আইকনের ড্রপডাউনের ভেতরে
       একটি সাধারণ তালিকা-আইটেম হিসেবে দেখাবে */
    .drop_nav_menu > ul {
        display: flex;
        flex-wrap: wrap;
    }

    .drop_nav_menu > ul li {
        width: 50%;
        box-sizing: border-box;
    }

    .drop_nav_menu > ul li a {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .drop_nav_menu > ul li.share_tiggle {
        width: 100%;
        margin-left: 0;
        border-bottom: 1px solid #ccc;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .drop_nav_menu > ul li.share_tiggle a {
        color: #1e88e5;
        font-weight: 700;
    }
}

.pic-loop {
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px
}

.pic-loop a {
    overflow: hidden;
    display: block;
    position: relative
}

.pic-loop a i {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    padding: 6px 7px 5px 9px;
    opacity: .8;
}

.pic-loop img {
    transition: all .3s ease-out;
    max-width: 100%;
}

.pic-loop a:hover img {
    transform: scale(1.1);
}

.pic-loop a:hover i {
    background: #c4302b
}

@media only screen and (max-width:770px) {
    .photo_subcat_posts_grid {
        grid-template-columns: repeat(2, 1fr) !important
    }

    .bottom_nav,
    .nav_container {
        width: 100%;
        margin: auto
    }

    .ham_burger ul,
    .search_form {
        max-width: 570px;
        width: 100%;
        margin: auto
    }

    .fixed {
        width: 100%
    }

    .drop_menu {
        width: 100%
    }
}

.page_container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 15px
}

@media only screen and (max-width:1230px) {
    .page_container {
        width: 960px;
        margin: auto;
        padding: 0 15px
    }
}

@media only screen and (max-width:990px) {
    .page_container {
        width: 760px;
        margin: auto;
        padding: 0 15px
    }
}

@media only screen and (max-width:770px) {
    .page_container {
        max-width: 570px;
        width: 97%;
        margin: auto;
        padding: 0 10px
    }
}

article.page h2 {
    font-size: calc(1em + 1vw);
    margin: 15px 0;
    color: #383838;
    text-align: center
}

article.page p {
    font-size: calc(1em + .3vw);
    color: #484848;
    line-height: calc(1em + .5vw);
    margin-bottom: 30px
}

.home_page_ad {
    display: block;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    text-align: center;
    overflow: hidden
}

.home_page_ad p {
    margin-bottom: 0;
    width: 100%
}

.home_lest_ad img {
    width: 100%;
    height: auto;
    max-height: 950px
}

.home_page_ad img,
.home_page_ad a,
.home_page_ad iframe,
.home_page_ad ins {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block
}

.home_page {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
    display: flex
}

.home_page .home_page_left {
    flex: 1;
    min-width: 0;
    padding-right: 25px
}

.home_page .home_page_right {
    width: 300px;
    flex: 0 0 300px;
    padding-left: 5px
}

/* v2.9.4: হোমপেজে ডান সাইটবার তুলে দেওয়া হয়েছে, তাই home_page_left
   এখন ফুল-উইথ দেখাবে এবং সেকশনগুলোও পুরো প্রস্থ জুড়ে থাকবে */
.home_page.home_page-no-sidebar .home_page_left {
    flex: 1 1 100%;
    width: 100%;
    padding-right: 0
}

.sidebar_ad {
    display: flex;
    justify-content: center;
    padding: 10px
}

.sidebar_ad img,
.sidebar_ad a,
.sidebar_ad iframe,
.sidebar_ad ins {
    width: 400px !important;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    height: auto !important;
    object-fit: cover;
    margin: 0 auto;
    display: block
}

#id {
    height: auto;
    max-height: 250px;
    width: 300px;
    float: right;
    margin: 5px 0 5px 5px
}

.button_group {
    display: flex;
    justify-content: space-between
}

.button_group .leatest_btn,
.button_group .popular_btn,
.last_btn {
    font-size: 1rem;
    background-color: #3a495e;
    color: #fff;
    border: none;
    text-align: center;
    padding: 5px 0;
    width: 45%;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer
}

.buttonfixed,
.popular_btn {
    background-color: transparent !important;
    color: #3a495e !important
}

.buttonfixed:hover,
.popular_btn:hover {
    background-color: #eee !important
}

.popbuttonfixed {
    background-color: #3a495e !important;
    color: #fff !important
}

.popbuttonfixed:hover {
    background-color: #3a495e !important
}

.last_btn {
    width: 100%;
    cursor: pointer
}

.fixed_height {
    height: 430px;
    overflow-y: scroll
}

.first_item item6,
.second_item item6 {
    width: 100%;
    display: flex;
    margin: 10px 0 10px 0
}

.first_item item6 thumb_sidebar a img,
.second_item item6 thumb_sidebar a img {
    width: 90px;
    display: block;
    height: 60px;
    object-fit: cover
}

.first_item item6 h2,
.second_item item6 h2 {
    margin: auto 0;
    padding-left: 10px;
    color: #000;
    text-align: left;
    line-height: 20px;
    font-size: 1rem
}

.first_item item6 h2 a,
.second_item item6 h2 a {
    color: #000;
    line-height: 22px;
    font-weight: 700
}

.right_poll_block {
    width: 100%;
    margin: 15px 0;
    overflow: hidden;
    border-radius: 5px;
    background: #f0f0ed
}

.right_poll_block .right_poll_title,
.widgettitle {
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 35px;
    font-weight: 700;
    background-position: bottom center;
    background-image: url(img/right-poll-bg.png)
}

.blocks-gallery-grid,
.wp-block-gallery {
    width: 100%;
}

.right_poll_block .right_poll_title a:link,
.right_poll_block .right_poll_title a:visited {
    color: #fff
}

.wp-polls p strong {
    display: block;
    margin: 5px 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px
}

.right_poll_cont {
    border: 1px solid #d17c29;
    border-top: 0;
    padding: 10px;
    overflow: hidden;
    border-radius: 0 0 5px 5px
}

input[type=radio] {
    display: none
}

.wp-polls-ul {
    display: flex;
    justify-content: space-between;
    margin-left: 0;
    margin-bottom: 0
}

.wp-polls-ul li label {
    display: flex;
    align-items: center
}

.wp-polls-ul li .pollbar {
    display: none
}

.wp-polls-ans p:nth-child(3) {
    display: none
}

.radio_three input[type=radio]+label:before,
.radio_two input[type=radio]+label:before,
[type=radio]+label:before {
    content: "";
    width: 30px;
    height: 30px;
    padding: 3px;
    margin-right: 10px;
    background-clip: content-box;
    border: 3px solid #e00;
    transition: .9s;
    border-radius: 50%
}

.radio_three input[type=radio]:checked+label:before,
.radio_two input[type=radio]:checked+label:before,
input[type=radio]:checked+label:before {
    width: 30px;
    height: 30px;
    background-color: #f30303
}

.wp-polls-ul li:nth-child(1) input[type=radio]+label:before {
    border: 3px solid green
}

.wp-polls-ul li:nth-child(1) input[type=radio]:checked+label:before {
    background-color: green
}

.wp-polls-ul li:nth-child(3) input[type=radio]+label:before {
    border: 3px solid #0053ee
}

.wp-polls-ul li:nth-child(3) input[type=radio]:checked+label:before {
    background-color: #0053ee
}

.wp-polls .Buttons {
    margin-top: 15px;
    padding: 4px 20px;
    background: #00a651;
    color: #fff;
    width: inherit;
    border: none;
    border-radius: 5px
}

.homepage_leatest_three_post {
    display: grid;
    grid-column-gap: 30px;
    grid-row-gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    /* পুরো গ্রিডের উচ্চতা এখন কন্টেইনারের প্রস্থ অনুযায়ী aspect-ratio দিয়ে
       ফিক্সড — ক্যাপশন কত লাইন হলো তার উপর নির্ভর করে না, তাই বাম-ডান
       সবসময় ঠিক সমান উচ্চতায় মিলবে, কোনো ফাঁকা জায়গা বা ওভারফ্লো হবে না */
    aspect-ratio: 1.8 / 1
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* aspect-ratio এর বদলে flex:1 — ছবি যতটুকু জায়গা বাকি থাকে (ক্যাপশন
       বাদ দিয়ে) ততটুকুই নেবে, ফলে উচ্চতা মিসম্যাচ হওয়ার কোনো সুযোগ নেই */
    flex: 1 1 auto;
    min-height: 0
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner:first-of-type {
    grid-column: 1/3;
    grid-row: 1/3
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner figcaption.figure-caption {
    flex: 0 0 auto;
    max-height: 3.2rem;
    overflow: hidden;
    margin-top: 10px
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner:first-of-type figcaption.figure-caption {
    padding: 0;
    margin-top: 10px;
    max-height: 4.4rem
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner figcaption.figure-caption a {
    /* width:100% জরুরি — এটা ছাড়া display:-webkit-box কন্টেন্ট-সাইজে
       সংকুচিত হয়ে হেডলাইন ১-২ শব্দের পরেই কেটে যাচ্ছিল */
    width: 100% !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner:first-of-type figcaption.figure-caption a {
    font-size: calc(1.5em + .4vw) !important;
    line-height: 1.2 !important;
    position: static !important;
    aspect-ratio: unset !important;
    height: auto !important
}

.leatest_nine_post {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 30px;
    grid-row-gap: 1rem
}

.leatest_nine_post a {
    display: block
}

.leatest_nine_post a thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10
}

.homepage_leatest_three_post img,
.leatest_nine_post a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    display: block;
    margin-bottom: .5rem;
    position: absolute;
    top: 0;
    left: 0
}

.leatest_nine_post a img {
    margin-bottom: 0;
    position: absolute
}

.homepage_leatest_three_post .homepage_leatest_three_post_inner figcaption.figure-caption a,
.leatest_nine_post a figcaption.figure-caption {
    color: #000 !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 24px
}

.leatest_nine_post a figcaption.figure-caption {
    width: 100%;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
    max-height: 48px !important;
    margin-top: 10px
}

.leatest_nine_post a:hover h4,
img {
    color: #1e88e5
}

/* ---- সেকশন ১৮: লিডের নিচের ছোট দুটি গ্রিড ---- */
.sn_two_mini_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px
}

.sn_mini_grid_col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 15px
}

.sn_mini_grid_item a {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    border-radius: 4px
}

.sn_mini_grid_item img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    margin-bottom: 0;
    display: block
}

.sn_mini_grid_item figcaption.figure-caption {
    margin-top: 10px
}

.sn_mini_grid_item figcaption.figure-caption a {
    color: #000 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px
}

.two_coloumn_grid {
    display: flex;
    justify-content: space-between
}

.two_coloumn_grid .national {
    width: 48%
}

.two_coloumn_grid .political {
    width: 48%
}

.photo h3,
.sports_grid_container h3,
.two_coloumn_grid h3,
.video h3 {
    line-height: 36px;
    color: #484848;
    font-size: 24px;
    font-weight: 600;
    padding-left: 2px;
    border-bottom: 1.5px solid #fb0000;
    margin-top: 15px
}

.photo h3 a,
.sports_grid_container h3 a,
.two_coloumn_grid h3 a,
.video h3 a {
    color: #484848;
    font-weight: 700
}

.vid.item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0
}

.vid.item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 35px
}

.cat_arrow {
    display: none
}

.two_coloumn_grid .national a:nth-child(2) img,
.two_coloumn_grid .political a:nth-child(2) img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block
}

.two_coloumn_grid .national a:nth-child(3),
.two_coloumn_grid .national a:nth-child(4),
.two_coloumn_grid .national a:nth-child(5),
.two_coloumn_grid .national a:nth-child(6),
.two_coloumn_grid .political a:nth-child(3),
.two_coloumn_grid .political a:nth-child(4),
.two_coloumn_grid .political a:nth-child(5),
.two_coloumn_grid .political a:nth-child(6) {
    display: flex;
    margin: 5px 5px 5px 0
}

.two_coloumn_grid .national a:nth-child(3) thumb img,
.two_coloumn_grid .national a:nth-child(4) thumb img,
.two_coloumn_grid .national a:nth-child(5) thumb img,
.two_coloumn_grid .national a:nth-child(6) thumb img,
.two_coloumn_grid .political a:nth-child(3) thumb img,
.two_coloumn_grid .political a:nth-child(4) thumb img,
.two_coloumn_grid .political a:nth-child(5) thumb img,
.two_coloumn_grid .political a:nth-child(6) thumb img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    display: block;
    margin: 5px 10px 5px 0;
    flex-shrink: 0
}

.two_coloumn_grid .national a:nth-child(2) h4,
.two_coloumn_grid .political a:nth-child(2) h4 {
    font-size: 20px;
    line-height: 24px;
    padding: 10px 0;
    margin: 0;
    font-weight: 600;
    color: #212529
}

.two_coloumn_grid .national a:nth-child(3) h4,
.two_coloumn_grid .national a:nth-child(4) h4,
.two_coloumn_grid .national a:nth-child(5) h4,
.two_coloumn_grid .national a:nth-child(6) h4,
.two_coloumn_grid .political a:nth-child(3) h4,
.two_coloumn_grid .political a:nth-child(4) h4,
.two_coloumn_grid .political a:nth-child(5) h4,
.two_coloumn_grid .political a:nth-child(6) h4 {
    font-size: 1rem;
    line-height: 22px;
    margin: auto 7px auto 0;
    align-items: center;
    font-weight: 600;
    color: #000
}

.two_coloumn_grid a:link,
.two_coloumn_grid a:visited {
    color: #484848
}

.two_coloumn_grid .national a:nth-child(2):hover h4,
.two_coloumn_grid .political a:nth-child(2):hover h4 {
    color: #1e88e5
}

.two_coloumn_grid .national a h4:hover,
.two_coloumn_grid .political a h4:hover {
    color: #1e88e5
}

.sports_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 30px;
    grid-row-gap: 15px
}

.sports_grid a img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block
}

.sports_grid a h4 {
    font-size: 20px;
    padding-top: 10px
}

.sports_grid a:nth-child(2) h4,
.sports_grid a:nth-child(3) h4,
.sports_grid a:nth-child(4) h4,
.sports_grid a:nth-child(5) h4 {
    color: #000;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    margin: auto 0;
    padding-top: 10px
}

.sports_grid a h4:hover {
    color: #1e88e5
}

.sports_grid a h4,
p {
    color: #000;
    font-weight: 600;
    margin-bottom: 5px
}

.sports_grid a:nth-child(1) {
    grid-column: 1/3;
    grid-row: 1/3
}

/* বড় বক্সের নিজস্ব ছবি (aspect-ratio: 4/3, ডাবল প্রস্থে) আগে পুরো
   গ্রিডের ২টি "auto" সারিকেই নিজের উচ্চতার সমান বড় হতে বাধ্য করছিল —
   ফলে পাশের ছোট বক্সগুলোও অস্বাভাবিক লম্বা/ফাঁকা দেখাচ্ছিল। এখন এই
   বক্সকে (শুধু ডেস্কটপে, ≥৭৭১px — মোবাইলে .sports_grid আলাদা
   flex-column লেআউট ব্যবহার করে, তাই এখানে হাত দেওয়া হয়নি) flex-column
   বানিয়ে ছবি থেকে aspect-ratio বাদ দেওয়া হলো। বক্সের উচ্চতা এখন শুধু
   ছোট বক্সগুলোর (২,৩,৪,৫) স্বাভাবিক উচ্চতা অনুযায়ী ঠিক হবে, আর বড়
   বক্সের ছবি height:100% + object-fit:cover দিয়ে যতটুকু জায়গা পায়
   ততটুকু ভরাট করবে — কোনো বাড়তি টান/লম্বা হওয়া থাকবে না */
@media only screen and (min-width: 771px) {
    .sports_grid a:nth-child(1) {
        display: flex;
        flex-direction: column;
        overflow: hidden
    }

    .sports_grid a:nth-child(1) thumb {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        position: relative
    }

    .sports_grid a:nth-child(1) img {
        aspect-ratio: unset !important;
        height: 100% !important;
        width: 100%;
        object-fit: cover;
        display: block
    }

    .sports_grid a:nth-child(1) h4,
    .sports_grid a:nth-child(1) p {
        flex: 0 0 auto
    }
}

.sports_grid a:nth-child(1):hover h4 {
    color: #1e88e5
}

.sports_grid a p {
    display: none;
    font-weight: 400
}

.sports_grid a:nth-child(1) p {
    display: block;
    font-size: 1rem;
    margin-top: .5rem
}

.three_col_grid {
    display: flex;
    justify-content: space-between
}

.three_col_grid .part_one {
    width: 31%
}

.three_col_grid .part_two {
    width: 31%
}

.three_col_grid .part_three {
    width: 31%
}

.three_col_grid .part_one h3,
.three_col_grid .part_three h3,
.three_col_grid .part_two h3 {
    line-height: 36px;
    color: #484848;
    font-size: 24px;
    font-weight: 600;
    padding: 0;
    padding-left: 2px;
    border-bottom: 1.5px solid #fb0000
}

.three_col_grid .part_one h3 a,
.three_col_grid .part_three h3 a,
.three_col_grid .part_two h3 a {
    text-decoration: none;
    color: #484848;
    font-weight: 700
}

.three_col_grid .part_one a img,
.three_col_grid .part_three a img,
.three_col_grid .part_two a img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block
}

.three_col_grid .part_one a:nth-child(3),
.three_col_grid .part_one a:nth-child(4),
.three_col_grid .part_one a:nth-child(5),
.three_col_grid .part_one a:nth-child(6),
.three_col_grid .part_three a:nth-child(3),
.three_col_grid .part_three a:nth-child(4),
.three_col_grid .part_three a:nth-child(5),
.three_col_grid .part_three a:nth-child(6),
.three_col_grid .part_two a:nth-child(3),
.three_col_grid .part_two a:nth-child(4),
.three_col_grid .part_two a:nth-child(5),
.three_col_grid .part_two a:nth-child(6) {
    display: flex;
    margin-bottom: 5px;
    margin-top: 10px
}

.three_col_grid .part_one a:nth-child(3) img,
.three_col_grid .part_one a:nth-child(4) img,
.three_col_grid .part_one a:nth-child(5) img,
.three_col_grid .part_one a:nth-child(6) img,
.three_col_grid .part_three a:nth-child(3) img,
.three_col_grid .part_three a:nth-child(4) img,
.three_col_grid .part_three a:nth-child(5) img,
.three_col_grid .part_three a:nth-child(6) img,
.three_col_grid .part_two a:nth-child(3) img,
.three_col_grid .part_two a:nth-child(4) img,
.three_col_grid .part_two a:nth-child(5) img,
.three_col_grid .part_two a:nth-child(6) img {
    width: 90px;
    height: 60px;
    aspect-ratio: auto;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0 10px 7px 0
}

.three_col_grid .part_one h4,
.three_col_grid .part_three h4,
.three_col_grid .part_two h4 {
    color: #343a40;
    font-size: 20px;
    line-height: 27px;
    font-weight: 600;
    padding-top: 10px;
    margin-bottom: 15px
}

.three_col_grid .part_one a:nth-child(3) h4,
.three_col_grid .part_one a:nth-child(4) h4,
.three_col_grid .part_one a:nth-child(5) h4,
.three_col_grid .part_one a:nth-child(6) h4,
.three_col_grid .part_three a:nth-child(3) h4,
.three_col_grid .part_three a:nth-child(4) h4,
.three_col_grid .part_three a:nth-child(5) h4,
.three_col_grid .part_three a:nth-child(6) h4,
.three_col_grid .part_two a:nth-child(3) h4,
.three_col_grid .part_two a:nth-child(4) h4,
.three_col_grid .part_two a:nth-child(5) h4,
.three_col_grid .part_two a:nth-child(6) h4 {
    font-size: 14px;
    line-height: 20px;
    color: #000;
    padding-top: 0;
    margin: auto 0
}

.photo_video {
    padding-bottom: 20px;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    grid-column-gap: 10px
}

.photo {
    grid-column: 1/3
}

.video_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-gap: 15px
}

.video_content {
    width: 100%;
    position: relative
}

.video_content:nth-child(1) {
    grid-column: 1/3
}

.video_content:nth-child(1) .the_title {
    border-bottom: 1px solid #dee2e6;
    color: #696969;
    padding: 5px 0
}

.video_content img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block
}

.yt_logo i {
    position: absolute;
    z-index: 9;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    padding: 13px 10px 12px 14px;
    top: 0;
    left: 0;
    opacity: .8
}

.video_content:hover i {
    color: #ff004c
}

.video_content:nth-child(2) .yt_logo i,
.video_content:nth-child(3) .yt_logo i {
    padding: 6px 7px 6px 9px;
    font-size: 14px
}

.the_title {
    font-size: 16px;
    text-align: left;
    line-height: 20px;
    margin-top: 10px
}

.leatest_popular_home {
    display: none
}

@media only screen and (max-width:1230px) {
    .home_page {
        width: 960px;
        padding: 0
    }
}

@media only screen and (max-width:990px) {
    .home_page {
        width: 760px
    }
}

@media only screen and (max-width:770px) {
    .home_page {
        margin: 0 auto;
        display: flex;
        max-width: 570px;
        width: 96%;
        flex-direction: column
    }

    .leatest_popular_home {
        display: block
    }

    .home_page .leatest_popular_sidebar {
        display: none
    }

    .home_page_left .home_lest_ad {
        display: none
    }

    .home_page_ad {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 10px 0;
        box-sizing: border-box
    }

    .home_page_ad img {
        border-radius: 0 !important
    }

    .homepage_leatest_three_post,
    .leatest_nine_post {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, auto);
        /* ডেস্কটপের জন্য বানানো aspect-ratio/flex সাইজিং মোবাইলে যেন প্রভাব না
           ফেলে (এটাই বড় ছবি কেটে যাওয়া ও ছোট গ্রিডে ছবি না দেখানোর কারণ ছিল) */
        aspect-ratio: unset
    }

    .homepage_leatest_three_post .homepage_leatest_three_post_inner {
        height: auto;
        overflow: visible
    }

    .homepage_leatest_three_post .homepage_leatest_three_post_inner a {
        flex: none;
        min-height: unset
    }

    .homepage_leatest_three_post .homepage_leatest_three_post_inner:not(:first-of-type) a {
        aspect-ratio: 16 / 11;
        height: auto
    }

    .homepage_leatest_three_post .homepage_leatest_three_post_inner figcaption.figure-caption {
        max-height: none
    }

    .homepage_leatest_three_post .homepage_leatest_three_post_inner:first-of-type {
        grid-column: 1/3;
        position: relative
    }

    .homepage_leatest_three_post .homepage_leatest_three_post_inner:first-of-type a {
        height: auto;
        aspect-ratio: 16 / 10
    }

    .homepage_leatest_three_post .homepage_leatest_three_post_inner:first-of-type img {
        margin-bottom: 0
    }

    .homepage_leatest_three_post_inner:first-of-type figcaption.figure-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, .5);
        color: #f1f1f1 !important;
        width: 100%;
        max-height: none;
        padding: 10px !important
    }

    .homepage_leatest_three_post_inner:first-of-type figcaption.figure-caption a {
        color: #f1f1f1 !important
    }

    .leatest_nine_post a:last-of-type {
        display: none
    }

    .sn_two_mini_grid {
        grid-template-columns: 1fr;
        grid-row-gap: 15px
    }

    .sports_grid {
        display: flex;
        flex-direction: column
    }

    .sports_grid a:nth-child(1) p {
        display: none
    }

    .sports_grid a:nth-child(1) {
        position: relative
    }

    /* v2.7.9 ফিক্স: আইটেম ২-৫ এর ছবির জন্য নিচে স্পষ্ট width/height/object-fit
       রুল আছে, কিন্তু বড় লিড বক্স (nth-child(1)) এর জন্য মোবাইলে ছবির কোনো
       সাইজিং রুলই ছিল না। ফলে ফিচার্ড ইমেজ না থাকা পোস্টে (ডিফল্ট/ফলব্যাক
       লোগো ছবি ব্যবহার হলে) সেই ছোট ছবিটি একটা বড়, ফাঁকা ধূসর বক্সের মাঝে
       ছোট হয়ে ভাসতে দেখাচ্ছিল, স্বাভাবিক নিউজ থাম্বনেইলের মতো লাগছিল না।
       এখন thumb-কে একটা ফিক্সড-অনুপাতের (16:9) কন্টেইনার বানিয়ে তার ভেতরের
       ছবিকে (আসল ফিচার্ড ইমেজ বা ফলব্যাক লোগো — উভয়ই) object-fit:cover দিয়ে
       পুরো বক্স ভরাট করে দেখানো হচ্ছে, ঠিক অন্য গ্রিডগুলোর মতোই। */
    .sports_grid a:nth-child(1) thumb {
        display: block;
        position: relative;
        overflow: hidden;
        aspect-ratio: 16 / 9;
        background-color: #f2f2f2;
    }

    .sports_grid a:nth-child(1) img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: unset;
        object-fit: cover;
        display: block;
        margin: 0;
    }

    .sports_grid a:nth-child(1) h4 {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        color: #fff;
        padding: 7px;
        font-size: 23px;
        background-color: rgba(0, 0, 0, .383);
        margin-bottom: 0
    }

    .sports_grid a:nth-child(2),
    .sports_grid a:nth-child(3),
    .sports_grid a:nth-child(4),
    .sports_grid a:nth-child(5) {
        display: flex
    }

    .sports_grid a:nth-child(2) img,
    .sports_grid a:nth-child(3) img,
    .sports_grid a:nth-child(4) img,
    .sports_grid a:nth-child(5) img {
        width: 90px;
        height: 60px;
        aspect-ratio: auto;
        object-fit: cover;
        flex-shrink: 0;
        margin-right: 10px
    }

    .two_coloumn_grid {
        display: flex;
        flex-direction: column
    }

    .photo h3 a,
    .sports_grid_container h3 a,
    .two_coloumn_grid h3 a,
    .video h3 a {
        display: flex;
        justify-content: space-between
    }

    .photo h3 .cat_arrow,
    .sports_grid_container h3 .cat_arrow,
    .two_coloumn_grid h3 .cat_arrow,
    .video h3 .cat_arrow {
        display: block;
        color: red;
        font-size: 24px
    }

    .two_coloumn_grid .political {
        width: 100%
    }

    .two_coloumn_grid .national {
        width: 100%
    }

    .two_coloumn_grid .national a:nth-child(2),
    .two_coloumn_grid .political a:nth-child(2) {
        position: relative;
        display: block
    }

    .two_coloumn_grid .national a:nth-child(2) h4,
    .two_coloumn_grid .political a:nth-child(2) h4 {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        color: #fff;
        padding: 7px;
        font-size: 23px;
        background-color: rgba(0, 0, 0, .383)
    }

    .three_col_grid {
        display: flex;
        flex-direction: column
    }

    .three_col_grid .part_one,
    .three_col_grid .part_three,
    .three_col_grid .part_two {
        width: 100%
    }

    .three_col_grid .part_one a:nth-child(2),
    .three_col_grid .part_three a:nth-child(2),
    .three_col_grid .part_two a:nth-child(2) {
        display: block;
        position: relative
    }

    .three_col_grid .part_one a:nth-child(2) h4,
    .three_col_grid .part_three a:nth-child(2) h4,
    .three_col_grid .part_two a:nth-child(2) h4 {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        color: #fff;
        padding: 7px;
        font-size: 23px;
        background-color: rgba(0, 0, 0, .383)
    }

    .home_page .home_page_left {
        width: 100%;
        padding-right: 0
    }

    .home_page .home_page_right {
        width: 100%;
        text-align: center;
        padding-left: 0
    }

    .photo_video {
        display: flex;
        flex-direction: column
    }

    .video_content:nth-child(2) .yt_logo img,
    .video_content:nth-child(3) .yt_logo img {
        width: 35px;
        bottom: 45%
    }
}

/* =====================================================
   ফুটার — নতুন, আধুনিক, ফ্লেক্সিবল লেআউট (.sn-footer)
   প্রতিটি জোনের ব্যাকগ্রাউন্ড/টেক্সট/লিংক কালার ও প্রতিটি
   টেক্সট অংশের ফন্ট সাইজ/স্টাইল থিম অপশন থেকে বদলানো যায়
   (দেখুন: inc/helpers.php → smart_news_output_dynamic_css)
   ===================================================== */

.sn-footer {
    width: 100%;
    background-color: #f5f5f5;
    color: #222222;
    text-align: center;
}

.sn-footer-topbar,
.sn-footer-bottombar {
    width: 100%;
    height: 6px;
    background-color: #9e9e9e;
}

.sn-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sn-footer-logo {
    margin-bottom: 18px;
    line-height: 0;
}

.sn-footer-logo img {
    display: inline-block;
    border-radius: 50%;
    object-fit: contain;
}

.sn-footer-editor {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}

.sn-footer-editor-label {
    font-weight: 700;
}

.sn-footer-editor-name {
    font-weight: 700;
}

.sn-footer-address {
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.6;
    opacity: .9;
}

.sn-footer-address p {
    margin: 0 0 4px;
}

.sn-footer-menu {
    margin-bottom: 18px;
    width: 100%;
}

.sn-footer-menu ul.sn-footer-menu-ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.sn-footer-menu ul.sn-footer-menu-ul li {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.sn-footer-menu ul.sn-footer-menu-ul li a {
    color: #222222;
    padding: 0 14px;
    display: inline-block;
    transition: color .2s ease;
}

.sn-footer-menu ul.sn-footer-menu-ul li a:hover {
    color: #d0342c;
}

.sn-footer-menu ul.sn-footer-menu-ul li:not(:last-child)::after {
    content: "|";
    color: #9e9e9e;
}

.sn-footer-social {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
}

.sn-footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .08);
    color: #222222;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.sn-footer-social li a:hover {
    background-color: #d0342c;
    color: #ffffff;
    transform: translateY(-2px);
}

.sn-footer-extra {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.sn-footer-extra img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.sn-footer-copyright-wrap {
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.sn-footer-copyright-left {
    font-size: .85rem;
    font-weight: 400;
    opacity: .75;
    margin: 0 0 6px;
}

.sn-footer-copyright {
    font-size: .95rem;
    font-weight: 400;
    margin: 0;
}

.sn-footer-copyright a {
    color: inherit;
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {
    .sn-footer-inner {
        padding: 30px 16px 18px;
    }

    .sn-footer-editor {
        font-size: 1.3rem;
    }

    .sn-footer-address {
        font-size: .95rem;
    }

    .sn-footer-menu ul.sn-footer-menu-ul li a {
        padding: 0 8px;
        font-size: .9rem;
    }
}


.single_page_container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 15px
}

.single_top_cat {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: .92rem;
    font-weight: 700;
    padding: .75rem 0;
    border-bottom: 1px solid #ccc
}

.single_top_cat ul {
    display: flex;
    margin-left: 30px;
    margin-bottom: 0
}

.single_top_cat ul li {
    margin-right: 10px;
    padding-right: 10px;
    border-right: #acacac 1px solid
}

.single_top_cat ul li:last-child {
    border: none
}

.single_top_cat a:link,
.single_top_cat a:visited {
    color: #343a40;
    font-weight: 700
}

.single_top_cat a:hover {
    color: #1e88e5
}

.the_thumb_caption {
    border-bottom: #acacac 1px solid;
    text-align: center;
    width: 100%;
    font-size: 14px;
    padding: 5px 0;
    margin-bottom: 20px
}

.the_content_single p {
    margin: 7px 0;
    font-weight: 400;
    font-size: calc(1em + .1vw);
    line-height: calc(1em + .8vw);
    text-align: justify
}

.the_content_single img {
    width: 100%;
    height: auto
}

.single_page_container .sigle_left {
    padding: 0 34px 0 1px;
    flex: 1;
    min-width: 0
}

.single_page_container .sigle_right {
    padding-left: 15px;
    width: 300px;
    flex: 0 0 300px
}

.single_page_container .single_first_ad {
    text-align: center
}

.single_page_container .single_first_ad img {
    width: auto;
    height: auto;
    margin: 5px auto
}

.single_container {
    display: flex
}

.Custom_breadcrumb {
    background: 0 0;
    font-weight: 700;
    margin: 20px 0;
    font-size: 1.1rem
}

.breadcrumb1 {
    margin: 20px 0;
    font-size: 1.1rem
}

.breadcrumb1 a {
    color: #1e88e5
}

.single_container .sigle_left h1 {
    font-size: calc(1em + .9vw);
    font-weight: 600;
    color: #333;
    margin: 10px 0
}

.single_container .sigle_left .info_box {
    display: flex;
    justify-content: space-between;
    height: 55px;
    border-bottom: #acacac 1px solid;
    margin-bottom: 15px;
    padding-bottom: 70px
}

.info_box_right {
    margin-top: 10px
}

/* সিঙ্গেল পেজে তারিখ/সময়ের পাশে শেয়ার বার */
.sn_share_bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sn_share_bar .sn_share_icon,
.sn_share_bar .sn_font_btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    line-height: 1;
    transition: opacity .15s ease;
}

.sn_share_bar .sn_share_icon:hover,
.sn_share_bar .sn_font_btn:hover {
    opacity: .85;
}

.sn_share_bar .sn_share_fb {
    background: #1877f2;
    color: #fff;
}

.sn_share_bar .sn_share_x {
    background: #14171a;
    color: #fff;
}

.sn_share_bar .sn_share_more {
    background: #fd7e14;
    color: #fff;
}

.sn_share_bar .sn_font_btn {
    background: #f1f1f1;
    color: #333;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    font-family: inherit;
}

.sn_share_bar .sn_share_print,
.sn_share_bar .sn_share_bookmark {
    background: #fff;
    color: #444;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
}

.sn_share_bar .sn_share_bookmark.sn_bookmarked {
    background: #212529;
    color: #fff;
    border-color: #212529;
}

.sn_toast_msg {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 10px);
    background: #212529;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: .95rem;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
    pointer-events: none;
}

.sn_toast_msg.sn_toast_show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media print {
    .sn_share_bar, .bottom_nav, .sn_post_tags, .sn_single_ad_box, .more_single {
        display: none !important;
    }
}

.the_post_banner img {
    width: 100%;
    height: auto
}

.more_single h2 {
    color: #484848;
    font-size: calc(1em + .1vw);
    padding: 5px;
    padding-left: 2px;
    border-bottom: 1.5px solid #fb0000;
    margin-top: 15px;
    margin-bottom: 15px
}

.more_six_posts {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto, auto);
    grid-auto-rows: max-content
}

.more_six_posts a {
    display: block;
    text-decoration: none
}

.more_six_posts a thumb {
    display: block;
    width: 100%;
    height: 200px;
    margin-bottom: .5rem;
    line-height: 0
}

.more_six_posts a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block
}

.more_six_posts h4 {
    color: #000;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600
}

.single_right_more h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #000;
    padding-bottom: 5px;
    border-bottom: 2px solid red
}

.single_right_more .single_right_post a {
    display: flex;
    margin: 3px 0
}

.single_right_more .single_right_post rihgt_thumb img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    margin: 3px 10px 3px 0
}

.single_right_more .single_right_post a h2 {
    font-size: 1rem;
    color: #000;
    margin: auto 0;
    font-weight: 700
}

@media only screen and (max-width:1230px) {
    .single_page_container {
        width: 960px;
        margin: auto;
        padding: 0
    }
}

@media only screen and (max-width:990px) {
    .single_page_container {
        width: 760px;
        margin: auto;
        padding: 0
    }

    .single_top_cat {
        display: none
    }

    .info_box .smp-regular-but [data-network=linkedin],
    .info_box .smp-regular-but [data-network=pinterest] {
        display: none
    }

    .single_page_container .single_first_ad {
        display: none
    }

    .info_box_right i.pr_md {
        display: none
    }
}

@media only screen and (max-width:770px) {
    .single_page_container {
        max-width: 570px;
        width: 97%
    }

    .single_container {
        display: flex;
        flex-direction: column
    }

    .single_container .sigle_left .info_box {
        display: flex;
        flex-direction: column;
        height: 120px;
        border-bottom: none
    }

    .single_container .sigle_left .info_box p {
        padding-bottom: 5px;
        border-bottom: #acacac 1px solid
    }

    .info_box_right {
        margin: 0 auto
    }

    .info_box .smp-regular-but [data-network=linkedin],
    .info_box .smp-regular-but [data-network=pinterest] {
        display: block
    }

    .single_page_container .sigle_left {
        padding: 0;
        width: 100%
    }

    .single_page_container .sigle_right {
        padding-left: 0;
        width: 100%
    }

    .more_single h2 {
        color: #fff;
        background: #3b5998;
        border-bottom: none !important;
        margin-top: 10px;
        margin-bottom: 10px
    }

    .more_six_posts {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, auto)
    }
}

.archive_page_container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px
}

/* সার্চ পেজ ও ট্যাগ/লেখক/তারিখ আর্কাইভ পেজের মূল কন্টেইনার —
   আগে কোনো width সীমা ছিল না, তাই স্ক্রিন জুড়ে ছড়িয়ে যেত।
   এখন সাইটের বাকি সব পেজের মতো একই প্রস্থে সীমাবদ্ধ করা হলো। */
.all_posts_container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
    display: flex
}

.all_posts_container_left {
    flex: 1;
    min-width: 0;
    padding-right: 25px
}

.all_posts_container_right {
    width: 300px;
    flex: 0 0 300px;
    padding-left: 5px
}

@media only screen and (max-width:1230px) {
    .all_posts_container {
        width: 960px;
        padding: 0
    }
}

@media only screen and (max-width:990px) {
    .all_posts_container {
        width: 760px;
        padding: 0
    }
}

@media only screen and (max-width:770px) {
    .all_posts_container {
        max-width: 570px;
        width: 97%;
        margin: auto;
        padding: 0;
        display: flex;
        flex-direction: column
    }

    .all_posts_container_left,
    .all_posts_container_right {
        width: 100%;
        padding: 0
    }
}

.archieve_top_cat {
    margin-bottom: 16px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    height: 45px;
    padding: 5px 0;
    font-size: 1rem;
    border-bottom: 1px solid #ccc
}

.archieve_top_cat a {
    font-size: 19px;
    font-weight: 600
}

.archieve_top_cat ul {
    display: flex;
    margin-bottom: 0;
    margin-left: 20px;
    font-weight: 600
}

.archieve_top_cat ul li {
    margin-right: 10px;
    padding-right: 10px;
    border-right: #acacac 1px solid
}

.archieve_top_cat ul li:last-child {
    border: none
}

.archieve_top_cat ul li a:link,
.archieve_top_cat ul li a:visited {
    font-size: 1rem;
    color: #484848 !important;
    font-weight: 700
}

.archieve_top_cat ul li a:hover {
    color: #1e88e5 !important
}

.archive_first_ad img {
    max-width: 100%;
    height: auto;
    margin: 10px auto
}

.archive_leatest_three_posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    grid-column-gap: 26px;
    grid-row-gap: 15px
}

.archive_leatest_three_posts item3:nth-child(1) {
    grid-column: 1/3;
    grid-row: 1/3;
    position: relative
}

.archive_leatest_three_posts item3:nth-child(2) {
    grid-row: 1/2
}

.archive_leatest_three_posts item3:nth-child(3) {
    grid-row: 2/3
}

.archive_leatest_three_posts item3 img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.archive_leatest_three_posts item3 {
    position: relative
}

.archive_leatest_three_posts item3 h4 {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: calc(1em + .9vw)
}

.archive_leatest_three_posts item3 h4 a {
    width: 100%;
    position: absolute;
    bottom: 0;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(0deg, #222, transparent);
    left: 0;
    padding: 10px 10px 10px 15px
}

.archive_leatest_three_posts item3:nth-child(2) h4 a,
.archive_leatest_three_posts item3:nth-child(3) h4 a {
    font-size: .7em
}

.archive_leatest_three_posts item3:hover h4 a {
    color: #ffb300
}

.archive_container {
    display: flex
}

.archieve_left_part {
    flex: 1;
    min-width: 0;
    padding-right: 12px
}

.archieve_right_part {
    width: 300px;
    flex: 0 0 300px;
    padding-left: 13px;
    margin-top: 15px
}

.subcat_six_posts {
    margin-top: 15px
}

.subcat_six_posts h2 {
    width: 100%;
    line-height: 36px;
    color: #484848;
    font-size: 24px;
    padding-left: 2px;
    border-bottom: 1px solid #f80000;
    display: flex
}

.subcat_six_posts h2 a:link,
.subcat_six_posts h2 a:visited {
    color: #484848;
    font-weight: 600;
    text-decoration: none
}

.subcat_six_posts_grid h4 {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 1rem
}

.subcat_six_posts_grid h4 a:link,
.subcat_six_posts_grid h4 a:visited {
    color: #000;
    display: block;
    margin-top: 7px;
    font-weight: 600
}

.subcat_six_posts_grid h4 a:hover {
    color: #1e88e5
}

.subcat_six_posts_grid item6 thumb1 {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: .5rem;
    line-height: 0
}

.subcat_six_posts_grid item6 thumb1 img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 180px;
    aspect-ratio: 16/9
}

.subcat_six_posts_grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 30px;
    grid-row-gap: 15px
}

.down,
.down h2 {
    display: none
}

.archive_sub_cat_for_mobile {
    display: none
}

@media only screen and (max-width:1230px) {
    .archive_page_container {
        width: 960px;
        margin: auto;
        padding: 0
    }
}

@media only screen and (max-width:990px) {
    .archieve_top_cat {
        margin-bottom: 0;
        border-bottom: none;
        background-color: #e9ecef
    }

    .archieve_top_cat ul {
        display: none
    }

    .archive_page_container {
        width: 760px;
        margin: auto;
        padding: 0
    }

    .archieve_top_cat a {
        color: #000 !important;
        margin-left: 15px
    }

    .archive_sub_cat_for_mobile {
        align-items: center;
        display: flex;
        background-color: #f8f9fa
    }

    .archive_sub_cat_for_mobile ul {
        margin-bottom: 0;
    }

    .archive_sub_cat_for_mobile li {
        padding-left: 15px
    }

    .archive_sub_cat_for_mobile li a {
        color: #484848;
        text-decoration: none;
        font-weight: 600;
        line-height: 35px
    }

    .down {
        display: flex;
        align-items: center;
        width: 100%
    }

    .down h2 {
        display: block;
        color: #000;
        font-size: 22px;
        font-weight: 600;
        margin-left: 45%;
        margin-top: 10px;
        padding-left: 5px;
        border-left: 2px solid red
    }

    .archive_sub_cat_for_mobile ul {
        margin-left: 0;
        z-index: 99;
        background-color: #f3f3f3;
        display: grid;
        max-width: 760px;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, auto)
    }

    .archive_leatest_three_posts {
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-gap: 15px
    }

    .archive_leatest_three_posts item3:nth-child(1) {
        grid-column-start: 1;
        grid-column-end: 3
    }

    .archive_leatest_three_posts item3:nth-child(2) {
        grid-row: 3/4
    }

    .archive_leatest_three_posts item3:nth-child(3) {
        grid-row: 3/4
    }

    .archive_leatest_three_posts item3:nth-child(2) img,
    .archive_leatest_three_posts item3:nth-child(3) img {
        height: 140px;
        object-fit: cover;
        margin-bottom: 5px
    }

    .archive_leatest_three_posts item3:nth-child(2) h4,
    .archive_leatest_three_posts item3:nth-child(3) h4 {
        line-height: 15px;
        margin: 7px 0
    }

    .archive_leatest_three_posts item3:nth-child(2) h4 a,
    .archive_leatest_three_posts item3:nth-child(3) h4 a {
        color: #020202;
        background: 0 0;
        padding: 0;
        font-size: .7em;
        position: relative
    }

    .subcat_six_posts_grid item6:nth-last-child(-n+3) {
        display: none
    }

    .subcat_six_posts_grid {
        display: flex;
        flex-direction: column
    }

    .subcat_six_posts_grid item6:nth-child(1) {
        position: relative
    }

    .subcat_six_posts_grid item6:nth-child(1) h4 a {
        position: absolute;
        font-size: 25px;
        color: #fff;
        background-color: rgba(0, 0, 0, .323);
        width: 100%;
        bottom: 0;
        padding: 8px 0;
        left: 0
    }

    .subcat_six_posts_grid item6:nth-child(2),
    .subcat_six_posts_grid item6:nth-child(3) {
        display: flex
    }

    .subcat_six_posts_grid item6:nth-child(2) h4,
    .subcat_six_posts_grid item6:nth-child(3) h4 {
        margin: auto 5px
    }

    .subcat_six_posts_grid item6:nth-child(2) thumb1 img,
    .subcat_six_posts_grid item6:nth-child(3) thumb1 img {
        width: 90px;
        height: 60px;
        object-fit: cover
    }
}

@media only screen and (max-width:770px) {
    .subcat_six_posts h2 .cat_arrow {
        display: block;
        color: red;
        font-size: 24px;
        margin-left: auto
    }

    .archive_page_container {
        max-width: 570px;
        width: 97%;
        margin: auto;
        padding: 0
    }

    .archive_first_ad {
        display: none
    }

    #id {
        display: none
    }

    .archieve_left_part {
        width: 100%;
        padding-right: 0
    }

    .archieve_right_part {
        width: 100%
    }

    .archive_container {
        margin: 0 5px;
        display: flex;
        flex-direction: column
    }
}

.subcat_archive_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.subcat_page_container {
    display: flex
}

.subcat_page_container .subcat_left {
    flex: 1;
    min-width: 0;
    padding-right: 9px
}

.subcat_page_container .subcat_right {
    width: 300px;
    flex: 0 0 300px;
    padding-left: 13px;
    margin-top: 15px
}

.archive_leatest_eighteen_posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, auto);
    grid-column-gap: 30px;
    grid-row-gap: 5px
}

.archive_leatest_eighteen_posts item15 img {
    width: 100%;
    height: 150px;
    object-fit: cover
}

.archive_leatest_eighteen_posts item15 {
    margin-top: 15px
}

.archive_leatest_eighteen_posts item15 h4 {
    color: #000;
    display: block;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    margin-top: 7px
}

.archive_leatest_eighteen_posts item15 h4 a {
    color: #000;
    font-weight: 600
}

.fullwidth {
    width: 100%;
    padding: 10px;
    display: block;
    text-align: center;
    background-color: #337ab7;
    font-size: 20px;
    margin: 5px 0
}

a.fullwidth a {
    text-decoration: none;
    color: #fff
}

@media only screen and (max-width:1230px) {
    .subcat_archive_container {
        width: 960px;
        margin: auto;
        padding: 0
    }
}

@media only screen and (max-width:990px) {
    .bottom_parent {
        border-bottom: none;
        box-shadow: 0 4px 3px -4.5px #000;
    }

    .subcat_archive_container {
        width: 760px;
        margin: auto;
        padding: 0
    }

    .archive_leatest_eighteen_posts {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(auto, auto);
        grid-gap: 10px
    }

    .archive_leatest_eighteen_posts item15 {
        display: flex;
        margin-top: 0
    }

    .archive_leatest_eighteen_posts item15 h4 {
        margin: auto 5px
    }

    .archive_leatest_eighteen_posts item15 img {
        width: 120px;
        height: 68px;
        object-fit: cover
    }
}

@media only screen and (max-width:770px) {
    .subcat_archive_container {
        max-width: 570px;
        width: 97%;
        padding: 0
    }

    .subcat_page_container {
        display: flex;
        flex-direction: column
    }

    .subcat_page_container .subcat_left {
        width: 100%;
        padding-right: 0
    }

    .subcat_page_container .subcat_right {
        width: 100%;
        background-color: rgba(95, 158, 160, .411)
    }
}

.photo_archive_conatiner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex
}

.photo_archieve_left_part {
    width: 70%
}

.photo_subcat {
    padding: 0 10px 10px 10px;
    border: 1px solid #a5a5a5;
    border-top: 2px solid #000;
    margin-bottom: 30px
}

.photo_subcat h2 {
    margin-bottom: 10px;
    font-size: 20px
}

.photo_subcat h2 a {
    background: #630933;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    text-decoration: none;
    padding: 1px 25px 4px 25px;
    color: #fff
}

.photo_subcat_posts_grid item8 {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    position: relative
}

.photo_subcat_posts_grid item8 {
    position: relative
}

.photo_subcat_posts_grid item8 figure {
    width: 100%;
    height: auto;
    margin: 0;
    line-height: 0
}

.photo_subcat_posts_grid item8 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1.5/1;
    max-height: 200px
}

.photo_subcat_posts_grid item8 i {
    position: absolute;
    border: 2px solid #fff;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    padding: 13px 10px 12px 14px;
    opacity: .8;
    top: 20%;
    left: 35%;
    border-radius: 50%;
    -webkit-border-radius: 50%
}

figure {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0
}

.photo_subcat_posts_grid item8 h4 {
    color: #000;
    font-size: 16px;
    text-align: center;
    border-top: 1px solid #ddd;
    padding: 5px
}

.photo_subcat_posts_grid item8:hover h4 {
    text-decoration: underline
}

.photo_subcat_posts_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-gap: 15px
}

.photo_archieve_right_part {
    width: 30%
}

.pv_bread {
    margin: 15px 0 15px 0;
    font-size: 1rem;
    font-weight: 700
}

.pv_bread a {
    color: #000;
    font-size: 18px
}

.video_archive_conatner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex
}

.all_twinty_posts {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.all_twinty_posts > a {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.all_twinty_posts > a img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0
}

.all_twinty_posts .item20span h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px
}

.all_twinty_posts .item20span p {
    font-size: .85rem;
    color: #777
}

@media only screen and (max-width:770px) {
    .all_twinty_posts > a img {
        width: 110px;
        height: 75px
    }
}

.pagination1 {
    width: 100%;
    margin: 10px 0;
    display: flex
}

.page-numbers {
    position: relative;
    display: block;
    padding: .3rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #1e88e5;
    background-color: #fff;
    border: 1px solid #dee2e6
}

.pagination1 .current {
    color: red
}

.pagi_inner {
    margin-left: auto;
    display: flex
}

.home_menu_inner {
    width: 100%;
    margin: 0 0 10px;
    position: relative
}

.map_inner_block {
    width: 100%;
    background: #e6e6fa;
    margin-bottom: 0;
    position: relative
}

.map_inner {
    background: #e6e6fa;
    padding: 15px;
    overflow: hidden
}

.st0 {
    opacity: .7
}

.st1 {
    fill: #80c2eb;
    cursor: pointer
}

.st2 {
    fill: none;
    cursor: pointer
}

.st3 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st4 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st5 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st6 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st7 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st8 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st9 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st10 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st11 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st13 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .25;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st14 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .75;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st15 {
    fill: #008c44;
    stroke: #fff;
    stroke-width: .25;
    stroke-miterlimit: 10;
    cursor: pointer
}

.st16 {
    enable-background: new;
    cursor: pointer
}

.st17 {
    fill: #fff;
    cursor: pointer
}

.st18 {
    opacity: .34;
    cursor: pointer
}

.st19 {
    fill: #008c44;
    cursor: pointer
}

#rangpur:hover path {
    fill: #9a1515
}

#rangpur:hover path.st17 {
    fill: #fff
}

#rangpur:hover path.st19 {
    fill: #d5d5d5
}

#mymensingh:hover path {
    fill: #9a1515
}

#mymensingh:hover path.st17 {
    fill: #fff
}

#mymensingh:hover path.st19 {
    fill: #d5d5d5
}

#sylhet:hover path {
    fill: #9a1515
}

#sylhet:hover path.st17 {
    fill: #fff
}

#sylhet:hover path.st19 {
    fill: #d5d5d5
}

#rajshahi:hover path {
    fill: #9a1515
}

#rajshahi:hover path.st17 {
    fill: #fff
}

#rajshahi:hover path.st19 {
    fill: #d5d5d5
}

#khulna:hover path {
    fill: #9a1515
}

#khulna:hover path.st17 {
    fill: #fff
}

#khulna:hover path.st19 {
    fill: #d5d5d5
}

#borishal:hover path {
    fill: #9a1515
}

#borishal:hover path.st17 {
    fill: #fff
}

#borishal:hover path.st19 {
    fill: #d5d5d5
}

#chittagong:hover path {
    fill: #9a1515
}

#chittagong:hover path.st17 {
    fill: #fff
}

#chittagong:hover path.st19 {
    fill: #d5d5d5
}

#dhaka:hover path {
    fill: #9a1515
}

#dhaka:hover path.st17 {
    fill: #fff
}

#dhaka:hover path.st19 {
    fill: #d5d5d5
}

.home_menu_online {
    width: 100%;
    border-bottom: 1px solid #fe0104;
    padding-left: 7px
}

.home_menu_online .catTitle {
    margin-bottom: 0 !important;
    font-size: 24px;
    line-height: 36px
}

.info_box_right .st-btn {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: opacity .2s ease-in, top .2s ease-in;
    -ms-transition: opacity .2s ease-in, top .2s ease-in;
    -o-transition: opacity .2s ease-in, top .2s ease-in;
    -webkit-transition: opacity .2s ease-in, top .2s ease-in;
    transition: opacity .2s ease-in, top .2s ease-in;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    display: inline-block;
    height: 35px !important;
    width: 35px !important;
    line-height: 40px;
    margin-right: 8px;
    padding: 0 10px;
    position: relative;
    text-align: center;
    top: 0 !important;
    vertical-align: baseline;
    white-space: nowrap;
    display: inline-block !important
}

.info_box_right .st-total {
    display: inline-block;
    position: relative;
    width: 60px;
    border-right: 1px solid #cecece;
    margin-right: 15px;
    text-align: center;
    color: #282828 !important;
    line-height: 10px;
    margin-right: 5px !important
}

.info_box_right .st-btn>img {
    display: inline-block;
    height: 25px !important;
    width: 25px !important;
    position: relative;
    top: 5px !important;
    left: -4px;
    vertical-align: top
}
/* =========================================================================
   Smart News — Modern UI Refresh (v2.0.0)
   Additive, non-breaking visual polish layered on top of the original theme.
   ========================================================================= */
:root {
    --sn-accent: #d81f26;
    --sn-accent-dark: #a9151b;
    --sn-ink: #1a1a1a;
    --sn-muted: #6b6b6b;
    --sn-line: #eaeaea;
    --sn-card-bg: #ffffff;
    --sn-radius: 10px;
    --sn-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    --sn-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

a, button, input, .btn, img {
    transition: all 0.2s ease-in-out;
}

img.wp-post-image,
.sn-default-thumb,
.home_page_ad img,
.sidebar_ad img,
.archive_first_ad img,
.single_first_ad img {
    border-radius: 6px;
}

/* v2.7.9: ফলব্যাক/ডিফল্ট থাম্বনেইল ছবিটি (ফিচার্ড ইমেজ নেই এমন পোস্টে
   ব্যবহৃত হয়) যেন সবসময় তার কন্টেইনার অনুযায়ী ঠিকভাবে ক্রপ হয়ে বসে,
   কখনো স্ট্রেচ বা ছোট হয়ে ভেসে না থাকে — এটা একটা সেফটি-নেট, প্রতিটি
   গ্রিডের নিজস্ব img রুলের পাশাপাশি কাজ করবে, তার জায়গা নেবে না। */
.sn-default-thumb {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* Card-style lift on post thumbnails for a more modern magazine feel */
img.wp-post-image:hover,
.sn-default-thumb:hover {
    transform: translateY(-2px);
    filter: brightness(0.97);
}

/* Modern focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--sn-accent);
    outline-offset: 2px;
}

/* Scrollbar polish (WebKit) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--sn-accent);
}

/* Selection color */
::selection {
    background: var(--sn-accent);
    color: #fff;
}

/* =======================================================================
   Smart News 2.1.0 আপডেট — নতুন কম্পোনেন্টের স্টাইল
   (ডেস্কটপ হেডার লেআউট, ফুটার মডার্নাইজেশন, শর্টকোড বক্স, সিঙ্গেল পেজ
   নতুন উপাদান)
   ======================================================================= */

/* ৬. ডেস্কটপ হেডার — রেফারেন্স ছবির সাথে হুবহু মেলানো আধুনিক ৩-সারি লেআউট
   সারি ১: তারিখ (বামে) + সোশ্যাল আইকন, সার্চ, মেনু আইকন (ডানে) — সাদা ব্যাকগ্রাউন্ড
   সারি ২: লোগো + ট্যাগলাইন, মাঝ বরাবর
   সারি ৩: মূল মেনু, বামদিক থেকে শুরু, পাতলা বর্ডারসহ */
@media only screen and (min-width:991px) {

    /* ---- সারি ১: টপ বার ---- */
    .top_nav {
        background: #fff;
        color: #333;
        height: auto;
        min-height: 40px;
        padding: 10px 0;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e6e6e6;
    }

    .date_time {
        flex-direction: column;
        justify-content: center;
        height: auto;
    }

    .date_time li {
        height: auto;
        padding: 0;
        font-size: 12.5px;
        line-height: 1.5;
        color: #666;
        font-weight: 400;
    }

    .date_time li:first-child {
        font-size: 15px;
        color: #111;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .date_time li:nth-child(2)::before,
    .date_time li:nth-child(3)::before {
        display: none;
    }

    .top_nav .nav_menu {
        display: none;
    }

    .top_nav .share_tiggle {
        display: none;
    }

    .social {
        margin-left: auto;
        align-items: center;
    }

    .social li {
        width: 30px;
        height: 30px;
        margin: 0 4px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #1a1a1a;
        border-radius: 50%;
        transition: background-color .2s ease, transform .2s ease;
    }

    .social li:hover {
        background-color: var(--sn-accent, #c4302b);
        transform: translateY(-2px);
    }

    .social li a:link i,
    .social li a:visited i {
        color: #fff;
        font-size: 13px;
    }

    .social li:hover a i {
        color: #fff;
    }

    /* রেফারেন্স ছবির ক্রম অনুযায়ী আইকন সাজানো: ফেসবুক, ইনস্টাগ্রাম, এক্স/টুইটার, ইউটিউব */
    .social li:nth-child(1) {
        order: 1;
    }

    .social li:nth-child(6) {
        order: 2;
    }

    .social li:nth-child(2) {
        order: 3;
    }

    .social li:nth-child(3) {
        order: 4;
    }

    .social li:nth-child(4),
    .social li:nth-child(5),
    .social li:nth-child(7) {
        display: none;
    }

    /* রেফারেন্স ছবিতে সার্চ ও মেনু আইকন টপ বারে নেই, নিচের মেনু-বারে আছে —
       তাই টপ বারের এই আইকন জোড়া ডেস্কটপে লুকানো থাকবে (কাজ করবে মেনু-বারের
       .ham_burger আইকন দুটো, নিচে দেখুন) */
    .sn_header_tools {
        display: none !important;
    }

    /* ---- সারি ২: লোগো ---- */
    .bottom_parent {
        position: relative;
        border-bottom: 1px solid #e2e2e2 !important;
    }

    header.nav_container .bottom_nav {
        flex-wrap: wrap !important;
        height: auto !important;
        padding: 26px 0 22px !important;
    }

    header.nav_container .bottom_nav .logo {
        width: 100% !important;
        order: 1 !important;
        flex-direction: column;
        justify-content: center;
        display: flex !important;
        height: auto !important;
        padding-bottom: 0;
    }

    header.nav_container .bottom_nav .logo a {
        margin: 0 auto;
        height: auto !important;
        width: auto;
        max-width: 260px;
    }

    header.nav_container .bottom_nav .logo a img {
        max-height: 58px;
        width: auto;
        margin: 0 auto;
    }

    .sn_logo_tagline {
        display: block;
        text-align: center;
        margin-top: 10px;
        font-size: 13px;
        color: #7a7a7a;
        letter-spacing: .3px;
    }

    /* ---- সারি ৩: মূল মেনু (ক্যাটাগরি লিংক + ডানপ্রান্তে সার্চ/মেনু আইকন) ---- */
    header.nav_container .bottom_nav .nav_menu_ground {
        order: 3 !important;
        width: auto !important;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-start;
        border-top: 1px solid #e6e6e6;
        background-color: #fff;
        margin-top: 22px;
    }

    header.nav_container .bottom_nav .nav_menu_ground ul.first_ull_menu {
        justify-content: flex-start;
        width: 100%;
        margin: auto 0;
    }

    header.nav_container .bottom_nav .nav_menu_ground ul.first_ull_menu li {
        height: 48px;
        font-size: 15px;
        padding: 0 14px 0 0;
    }

    header.nav_container .bottom_nav .nav_menu_ground ul.first_ull_menu li:first-child {
        padding-left: 0;
    }

    header.nav_container .bottom_nav .nav_menu_ground ul.first_ull_menu li a {
        position: relative;
        color: #262626;
    }

    header.nav_container .bottom_nav .nav_menu_ground ul.first_ull_menu li a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 6px;
        height: 2px;
        background-color: var(--sn-accent, #c4302b);
        transform: scaleX(0);
        transition: transform .2s ease;
    }

    header.nav_container .bottom_nav .nav_menu_ground ul.first_ull_menu li:hover>a {
        color: var(--sn-accent, #c4302b) !important;
    }

    header.nav_container .bottom_nav .nav_menu_ground ul.first_ull_menu li:hover>a::after {
        transform: scaleX(1);
    }

    /* রেফারেন্স ছবি অনুযায়ী সার্চ ও মেনু আইকন মূল মেনু-বারের ডানপ্রান্তে —
       সার্চ আগে, মেনু (হ্যামবার্গার) পরে, লেখা ("আরও") ছাড়া শুধু আইকন */
    header.nav_container .ham_burger {
        display: flex !important;
        order: 4;
        margin-left: auto;
        flex-shrink: 0;
        border-top: 1px solid #e6e6e6;
        margin-top: 22px;
    }

    header.nav_container .ham_burger ul {
        height: 48px;
        align-items: center;
    }

    header.nav_container .ham_burger ul li {
        height: 48px;
        padding: 0 8px;
        cursor: pointer;
    }

    header.nav_container .ham_burger ul li#open_search {
        order: 1;
    }

    header.nav_container .ham_burger ul li#drop_ground {
        order: 2;
        margin-left: 6px;
        padding-left: 14px;
        border-left: 1px solid #e2e2e2;
    }

    header.nav_container .ham_burger ul li span:nth-child(2) {
        display: none;
    }

    header.nav_container .ham_burger ul li span,
    header.nav_container .ham_burger ul li i {
        font-size: 16px;
        color: #333;
        height: auto;
    }

    header.nav_container .ham_burger ul li:hover span,
    header.nav_container .ham_burger ul li:hover i {
        color: var(--sn-accent, #c4302b);
    }
}

/* ১. সিঙ্গেল পেজ — শোল্ডার, সাব-হেডিং, রিপোর্টার ছবি, লিড/সাব-লিড, ট্যাগ, বিজ্ঞাপন/শর্টকোড বক্স */
.sn_shoulder {
    display: inline-block;
    color: #c4302b;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .3px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

/* ২. গ্রিড/লিস্টিং পেজ (হোমপেজ, ক্যাটাগরি, আর্কাইভ, সার্চ ইত্যাদি) — পোস্টে
   শোল্ডার সেট থাকলে হেডলাইনের অংশ হিসেবেই (একই হেডিং লাইনে) দেখাবে, শুধু
   শোল্ডারের অংশটুকু লাল কালারে। আলাদা লাইন/হেডলাইন হয়ে যাবে না। শোল্ডার না
   থাকলে এই অংশ প্রিন্টই হয় না, তাই স্পেসিং স্বাভাবিক থাকে — বেশি ফাঁকাও
   লাগবে না, বেশি চাপাও লাগবে না। */
.sn_grid_shoulder {
    display: inline;
    color: var(--sn-accent, #c4302b);
    font-weight: 700;
}

.sn_sub_heading {
    font-size: 1.15rem;
    font-weight: 500;
    color: #444;
    margin: 6px 0 14px 0;
    line-height: 1.5;
}

.sn_reporter_photo {
    display: inline-block !important;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
}

.sn_lead {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.7;
    color: #222;
    margin: 14px 0;
    padding-left: 12px;
    border-left: 3px solid #c4302b;
}

.sn_sub_lead {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    margin: 0 0 14px 0;
}

.sn_post_tags {
    margin: 18px 0;
    padding-top: 12px;
    border-top: 1px dashed #ddd;
    font-size: .95rem;
}

.sn_post_tags a {
    display: inline-block;
    background: #f2f2f2;
    color: #333;
    padding: 4px 12px;
    margin: 3px 4px;
    border-radius: 20px;
    text-decoration: none;
    font-size: .85rem;
}

.sn_post_tags a:hover {
    background: #c4302b;
    color: #fff;
}

.sn_single_ad_box,
.sn_single_shortcode_wrap,
.sn_sidebar_bottom_boxes,
.sn_category_section_box_wrap {
    margin: 16px 0;
}

.sn_shortcode_box,
.sn_single_shortcode_box,
.sn_sidebar_bottom_box,
.sn_category_section_box {
    margin-bottom: 14px;
    text-align: center;
    overflow: hidden;
}

.sn-load-more-wrap {
    text-align: center;
    margin: 12px 0 24px 0;
}

.sn-load-more-btn {
    background-color: #c4302b;
    color: #fff;
    border: none;
    padding: 9px 26px;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.sn-load-more-btn:hover {
    background-color: #a5271f;
}

.sn-load-more-btn:disabled {
    opacity: .6;
    cursor: default;
}

/* পুরনো ফুটার ক্লাসগুলো নতুন .sn-footer লেআউটে প্রতিস্থাপিত হয়েছে */

@media only screen and (max-width:770px) {
    .sn_lead {
        font-size: 1rem;
    }
}

/* ============================================================================
   আধুনিক মোবাইল লেআউট (৩২০px – ৭৬৭px)
   - সব মূল কনটেইনারে দুই পাশে সমান ১৬px প্যাডিং
   - কোনো কনটেন্ট/ছবি/কার্ড স্ক্রিনের কিনারা স্পর্শ করবে না
   - ছবি, শিরোনাম ও নিউজ কার্ড সমানভাবে সারিবদ্ধ
   - এই ব্লক শুধু max-width:767px এর মধ্যেই কার্যকর, ডেস্কটপ অপরিবর্তিত থাকে
   ============================================================================ */
@media only screen and (max-width: 767px) {

    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* ---------- সব প্রধান পেজ-কনটেইনার একই নিয়মে: ফুল-উইথ + ১৬px পাশের প্যাডিং ---------- */
    .nav_container,
    .bottom_nav,
    .fixed,
    .drop_menu,
    .drop_nav_menu,
    .home_page,
    .page_container,
    .single_page_container,
    .archive_page_container,
    .subcat_archive_container,
    .all_posts_container,
    .photo_archive_conatiner,
    .ham_burger ul,
    .search_form,
    .sn-footer-inner {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    /* ভেতরের সাব-কনটেইনার যেগুলো প্যারেন্ট থেকে ইতিমধ্যে প্যাডিং পাচ্ছে,
       তাদের নিজস্ব সাইড-প্যাডিং সরিয়ে দেওয়া হলো — যাতে ডাবল প্যাডিং না হয়
       এবং সব কনটেন্ট একই লাইনে সমানভাবে সারিবদ্ধ থাকে */
    .home_page .home_page_left,
    .home_page .home_page_right,
    .single_page_container .sigle_left,
    .single_page_container .sigle_right,
    .archive_page_container .archieve_left_part,
    .archive_page_container .archieve_right_part,
    .subcat_page_container .subcat_left,
    .subcat_page_container .subcat_right,
    .all_posts_container_left,
    .all_posts_container_right {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    /* ---------- ছবি/মিডিয়া: কখনোই প্যারেন্টের বাইরে যাবে না ---------- */
    img,
    iframe,
    video,
    table,
    embed,
    object {
        max-width: 100% !important;
        height: auto;
    }

    /* কনটেন্টের ভেতরে থাকা ভাসমান বিজ্ঞাপন (#id) মোবাইলে ফুল-উইথ ও সেন্টার করা হলো,
       যাতে এটি ১৬px প্যাডিং-এর বাইরে না যায় */
    #id {
        width: 100% !important;
        max-width: 300px;
        float: none !important;
        margin: 10px auto !important;
    }

    /* ---------- শিরোনাম ও টেক্সট: সমান বাম-সারিবদ্ধ, ছোট স্ক্রিনে ভেঙে না যাওয়া ---------- */
    h1, h2, h3, h4, h5, h6, p {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* ---------- নিউজ কার্ড/গ্রিড: সমান gap দিয়ে সারিবদ্ধ, ওভারফ্লো বন্ধ ---------- */
    .all_twinty_posts,
    .archive_leatest_eighteen_posts,
    .photo_subcat_posts_grid {
        width: 100%;
        box-sizing: border-box;
    }

    .all_twinty_posts > a,
    item8,
    item15,
    item20 {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* খুব ছোট স্ক্রিনে (৩২০px–৩৭৪px) থাম্বনেইল আরেকটু ছোট করে যাতে
   টেক্সটের জন্য যথেষ্ট জায়গা থাকে এবং কার্ড ভেঙে না পড়ে */
@media only screen and (max-width: 374px) {
    .all_twinty_posts > a img {
        width: 90px;
        height: 65px;
    }
}

/* ============================================================================
   মোবাইল হেডার ফিক্স (৩২০px–৯৭৯px)
   লে-আউট: [মেনু আইকন — বামে, কিনারা থেকে ১০px স্পেস] [লোগো — মাঝখানে]
   [সার্চ আইকন — ডানে, কিনারা থেকে ১০px স্পেস]
   পুরোনো position:absolute / width:inherit / width:760px হ্যাক সরিয়ে পরিষ্কার
   flexbox দিয়ে পুনর্গঠন করা হলো, যাতে যেকোনো স্ক্রিন সাইজে (৩২০px থেকে ৯৭৯px
   পর্যন্ত, যেখানেই top bar/date_time বার লুকানো থাকে) আইকন-লোগো একে অপরের
   সাথে ওভারল্যাপ না করে এবং কনটেইনারের বাইরে ৭৬০px/১১৪০px-এর মতো ফিক্সড
   উইথের কারণে সরে/ভেঙে না যায়়। আপডেট (২.৭.৪): মেনু ও সার্চ আইকন এখন
   স্ক্রিনের একদম কিনারা ঘেঁষে না বসে, প্রতিটির পাশে ১০px প্যাডিং/স্পেস
   রাখা হলো — .bottom_nav-এর নিজস্ব সাইড প্যাডিং দিয়ে। */
@media only screen and (max-width: 979px) {

    .dg_mobile_wrapper .bottom_nav {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        height: 60px !important;
    }

    .dg_mobile_wrapper .bottom_nav .nav_menu_ground {
        display: none !important;
    }

    /* .ham_burger ও তার ul-এর নিজস্ব বক্স সরিয়ে দেওয়া হলো (display:contents),
       যাতে ভেতরের দুইটা <li> (মেনু আইকন ও সার্চ আইকন) সরাসরি .bottom_nav-এর
       ফ্লেক্স-আইটেম হিসেবে আলাদা আলাদা প্রান্তে বসতে পারে */
    .dg_mobile_wrapper .bottom_nav .ham_burger,
    .dg_mobile_wrapper .bottom_nav .ham_burger ul {
        display: contents !important;
    }

    /* আইকনের নিজস্ব প্যাডিং/মার্জিন ০ — কিনারা থেকে ১০px স্পেস
       .bottom_nav-এর সাইড প্যাডিং (উপরে) থেকেই আসে */
    .dg_mobile_wrapper .bottom_nav .ham_burger ul li {
        width: auto !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .dg_mobile_wrapper .bottom_nav .ham_burger ul li#drop_ground {
        order: 1 !important;
    }

    .dg_mobile_wrapper .bottom_nav .ham_burger ul li#open_search {
        order: 3 !important;
    }

    /* লোগো: মাঝখানের সব জায়গা নেবে এবং তার ভেতরে কনটেন্ট সেন্টার থাকবে —
       তাই আইকনের সাইজ যাই হোক, লোগো ঠিক দুই আইকনের মাঝখানে থাকবে */
    .dg_mobile_wrapper .bottom_nav .logo {
        order: 2 !important;
        position: static !important;
        width: auto !important;
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        min-width: 0 !important;
    }

    /* লোগোর পুরনো ফিক্সড উইথ (১৮০px) ও position:absolute বাদ — নাহলে লোগো
       ঠিক মাঝখানে সেন্টার না হয়ে একদিকে হেলে থাকতে পারে */
    .dg_mobile_wrapper .bottom_nav .logo a {
        position: static !important;
        margin: 0 !important;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        justify-content: center !important;
    }

    .dg_mobile_wrapper .bottom_nav .logo a img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* সার্চ ফর্ম প্যানেল (টগল হলে দেখা যায়) — সামান্য পাশের প্যাডিং রাখা
       হলো যাতে ইনপুট বক্স ও ক্লোজ আইকন একদম কিনারায় চেপে না যায় */
    .dg_mobile_wrapper .search_form {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ============================================================================
   মোবাইল হেডার ফিক্সড/স্টিকি (স্ক্রল করলে উপরে আটকে থাকবে)
   থিমে আগে থেকেই স্ক্রল করলে .bottom_parent-এ "fixed" ক্লাস যোগ হওয়ার
   জাভাস্ক্রিপ্ট (js/script.js) ছিল, কিন্তু .fixed ক্লাসের CSS ছিল শুধু
   ডেস্কটপের জন্য (width:1200px, margin:auto) — মোবাইলে স্ক্রল করলে হেডার
   পর্দার বাইরে ১১৭০px চওড়া বক্স হয়ে ভেঙে/সরে যেত। নিচের রুল দিয়ে
   মোবাইলে .fixed অবস্থায় হেডার ঠিক ভিউপোর্টের সমান চওড়া, ১৬px প্যাডিং ও
   একই মেনু-লোগো-সার্চ লেআউট বজায় রেখে উপরে আটকে থাকবে। কনটেন্ট যাতে
   হেডারের নিচে চাপা না পড়ে তা আগে থেকেই থিমের .nav-placeholder উপাদান
   দিয়ে সামলানো হয় (js/script.js), তাই এখানে আলাদা padding-top লাগবে না */
@media only screen and (max-width: 979px) {
    .dg_mobile_wrapper .bottom_parent.fixed {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        background-color: #ffffff !important;
        z-index: 99999 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    }
}
