/* =====================================================================
   কর অঞ্চল-৩, চট্টগ্রাম — পাবলিক সাইটের ডিজাইন ও মোবাইল উন্নয়ন
   style.css ও screen.css-এর পরে লোড হয়। মূল রং/থিম অপরিবর্তিত।
   ===================================================================== */

:root {
    --tz-primary: #176b62;
    --tz-primary-dark: #10524b;
    --tz-primary-soft: #eaf5f2;
    --tz-accent: #2ca28f;
    --tz-border: #dce8e4;
    --tz-text: #243431;
    --tz-muted: #62736f;
    --tz-radius: 10px;
    --tz-shadow: 0 4px 16px rgba(20, 62, 54, .08);
    --tz-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- সাধারণ মসৃণতা ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

a, .btn, .nav > li > a, .panel, .list-group-item, .form-control {
    transition: color .2s var(--tz-ease), background-color .2s var(--tz-ease),
                border-color .2s var(--tz-ease), box-shadow .2s var(--tz-ease),
                transform .2s var(--tz-ease);
}

a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(44, 162, 143, .45);
    outline-offset: 2px;
}

.form-control:focus {
    border-color: var(--tz-accent);
    box-shadow: 0 0 0 3px rgba(44, 162, 143, .15);
}

img, iframe, video, embed, object { max-width: 100%; }
img { height: auto; }

/* প্যানেল/কার্ড */
.panel {
    border-radius: var(--tz-radius);
    box-shadow: var(--tz-shadow);
}
.panel > .panel-heading { border-top-left-radius: var(--tz-radius); border-top-right-radius: var(--tz-radius); }

/* পেজিনেশন */
.pagination > li > a, .pagination > li > span {
    min-width: 40px;
    text-align: center;
    color: var(--tz-primary);
}
.pagination > .active > a, .pagination > .active > a:hover,
.pagination > .active > span, .pagination > .active > a:focus {
    background-color: var(--tz-primary);
    border-color: var(--tz-primary);
    color: #fff;
}

/* ---------- টেবিল (সব পাতা) ---------- */
.welcomeNote .table > thead > tr > th,
.welcomeNote table > thead > tr > th {
    background: var(--tz-primary-soft);
    color: var(--tz-primary-dark);
    font-weight: 600;
    vertical-align: middle;
}
.welcomeNote .table > tbody > tr > td { vertical-align: middle; }
.welcomeNote .table-hover > tbody > tr:hover > td { background-color: #f5fbf9; }

/* ---------- নোটিশ বোর্ড ---------- */
.notice-board .notice-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: #f7fbfa;
    border-bottom: 1px solid var(--tz-border);
    margin: 0;
}
.notice-board .notice-search > .fa-search {
    position: absolute;
    left: 28px;
    color: var(--tz-muted);
    pointer-events: none;
}
.notice-board .notice-search .form-control {
    flex: 1 1 auto;
    height: 42px;
    padding-left: 38px;
    border-radius: 8px;
    border-color: #cfe0db;
    font-size: 15px;
}
.notice-board .notice-search-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--tz-primary);
    border-color: var(--tz-primary);
    color: #fff;
    font-weight: 600;
}
.notice-board .notice-search-btn:hover,
.notice-board .notice-search-btn:focus { background: var(--tz-primary-dark); color: #fff; }
.notice-board .notice-search-clear {
    font-size: 24px;
    line-height: 1;
    color: var(--tz-muted);
    text-decoration: none;
    padding: 0 4px;
}
.notice-board .notice-search-result {
    margin: 0;
    padding: 8px 15px;
    font-size: 13px;
    color: var(--tz-muted);
    background: #fffdf3;
    border-bottom: 1px solid #f0e6c4;
}

.notice-table { margin-bottom: 0; }
.notice-table > thead > tr > th {
    background: var(--tz-primary-soft) !important;
    color: var(--tz-primary-dark);
    font-weight: 600;
    border: 0 !important;
    border-bottom: 2px solid #cfe3dc !important;
    padding: 10px 8px !important;
    white-space: nowrap;
}
.notice-table > tbody > tr > td {
    padding: 11px 8px !important;
    vertical-align: middle !important;
    border: 0 !important;
    border-top: 1px solid #e6efec !important;
}
.notice-table > tbody > tr:nth-child(even) > td { background: #fafdfc; }
.notice-table > tbody > tr:hover > td { background: #f0f8f5; }
.notice-table .nt-serial { width: 48px; text-align: center; color: var(--tz-muted); }
.notice-table .nt-date { width: 110px; white-space: nowrap; color: #3f524d; }
.notice-table .nt-actions { width: 210px; white-space: nowrap; }
.notice-table .nt-title a {
    color: var(--tz-text);
    line-height: 1.7;
    text-decoration: none;
}
.notice-table .nt-title a:hover { color: var(--tz-primary); text-decoration: underline; }

.notice-new-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 10px;
    background: #d9363e;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    vertical-align: middle;
    animation: tzPulse 1.8s ease-in-out infinite;
}
@keyframes tzPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.nt-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    margin: 2px 2px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none !important;
    border: 1px solid transparent;
}
.nt-btn-view { background: var(--tz-primary-soft); color: var(--tz-primary) !important; border-color: #cfe3dc; }
.nt-btn-view:hover { background: var(--tz-primary); color: #fff !important; }
.nt-btn-download { background: #fff; color: #31597d !important; border-color: #cddbe7; }
.nt-btn-download:hover { background: #31597d; color: #fff !important; }

.notice-empty-row td { text-align: center; color: var(--tz-muted); padding: 30px 10px !important; }
.notice-pagination { text-align: center; }

/* =====================================================================
   মোবাইল (≤ 767px)
   ===================================================================== */
@media (max-width: 767px) {

    body { font-size: 15px; }

    /* কম্পিউটারের মতো মোবাইলেও justify বজায় থাকবে; শব্দের মাঝে অতিরিক্ত ফাঁক কমাতে */
    .welcomeNote p[style*="justify"], p[style*="justify"], div[style*="justify"], [align="justify"] {
        text-justify: inter-word;
        word-spacing: -0.5px;
    }


    /* মেনু: বড় স্পর্শ-এলাকা */
    .mainmenu .navbar-nav { margin: 4px -15px; }
    .mainmenu .navbar-nav > li > a {
        padding: 13px 18px !important;
        font-size: 16px;
        line-height: 1.4;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    .mainmenu .navbar-nav > li > a .fa-ellipsis-v { display: none; }
    .mainmenu .navbar-nav .dropdown-menu > li > a {
        padding: 11px 18px 11px 30px !important;
        font-size: 15px;
        white-space: normal;
    }
    .mainmenu .navbar-nav .caret { float: right; margin-top: 9px; }
    .mainmenu .navbar-toggle { padding: 10px 12px; margin-right: 0; }
    .mainmenu .navbar-collapse { max-height: 75vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .mobile-login-item > a { background: rgba(0, 0, 0, .12); font-weight: 600; }

    /* হেডারের সার্চ */
    .searchBox .form-control, .searchBox .btn { height: 40px; font-size: 15px; }

    /* প্যানেল */
    .panel { margin-bottom: 16px; }
    .panel-heading { padding: 12px 14px; }
    .panel-heading .panel-title { font-size: 16px; line-height: 1.5; }

    /* ফর্মের উপাদান: iOS-এ zoom ঠেকাতে ১৬px */
    input.form-control, select.form-control, textarea.form-control { font-size: 16px; }
    .btn { min-height: 38px; }

    /* ---------- নোটিশ বোর্ড: কার্ড লেআউট ---------- */
    .notice-board > .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .notice-board > .panel-heading::before, .notice-board > .panel-heading::after { display: none; }
    .notice-board > .panel-heading .pull-right { float: none !important; flex: 0 0 auto; margin: 0; }
    .notice-board .notice-search .form-control { text-align: left; }
    .notice-board .notice-search { padding: 10px; gap: 6px; }
    .notice-board .notice-search > .fa-search { left: 22px; }
    .notice-board .notice-search-btn { padding: 0 14px; }

    .notice-table, .notice-table tbody, .notice-table tr, .notice-table td { display: block; width: 100% !important; }
    .notice-table thead { display: none; }
    .notice-table > tbody > tr {
        position: relative;
        padding: 12px 12px 10px 52px;
        border-bottom: 1px solid #e3ece9;
        background: #fff;
    }
    .notice-table > tbody > tr:nth-child(even) > td,
    .notice-table > tbody > tr:hover > td { background: transparent; }
    .notice-table > tbody > tr:nth-child(even) { background: #fafdfc; }
    .notice-table > tbody > tr > td { border: 0 !important; padding: 0 !important; }
    .notice-table .nt-serial {
        position: absolute;
        left: 12px;
        top: 13px;
        width: 30px !important;
        height: 30px;
        line-height: 30px;
        border-radius: 50%;
        background: var(--tz-primary-soft);
        color: var(--tz-primary);
        font-weight: 600;
        font-size: 13px;
        text-align: center !important;
    }
    .notice-table .nt-title a { font-size: 15.5px; font-weight: 500; display: inline; }
    .notice-table .nt-date { margin-top: 6px; font-size: 13px; color: var(--tz-muted); }
    .notice-table .nt-date .fa { margin-right: 4px; }
    .notice-table .nt-actions { margin-top: 8px; white-space: normal; }
    .notice-table .nt-btn { padding: 7px 14px; font-size: 14px; margin: 0 6px 0 0; }
    .notice-table .notice-empty-row { padding: 20px 12px; }

    .notice-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; }
    .notice-pagination .pagination > li > a { padding: 8px 12px; }

    /* এম্বেড করা ম্যাপ/ভিডিও */
    iframe[src*="google.com/maps"], iframe[src*="youtube"] { width: 100% !important; }

    /* ফুটারের লিংক-কলামগুলো দুই কলামে */
    .footerLink .col-sm-2, .footer-links .col-sm-2 { width: 50%; float: left; }
}

@media (max-width: 380px) {
    .notice-table > tbody > tr { padding-left: 46px; }
    .notice-table .nt-serial { left: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
    .notice-board .notice-search, .nt-actions, .notice-pagination { display: none !important; }
}

/* নোটিশ বোর্ডের শিরোনামের বাটন */
.notice-board > .panel-heading .btn {
    min-height: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 14px;
}

/* নোটিশ টেবিলের ভারী সীমারেখা হালকা করা (ডেস্কটপ) */
@media (min-width: 768px) {
    .notice-board .notice-table,
    .notice-board .notice-table > thead > tr > th,
    .notice-board .notice-table > tbody > tr > td {
        border-left: 0 !important;
        border-right: 0 !important;
    }
    .notice-board .notice-table > tbody > tr > td { padding: 10px 10px !important; }
    .notice-board .notice-table .nt-title { font-size: 15px; }
}

/* জরুরি নোটিশের চলমান লেখা পাতার বাইরে যাবে না (ট্যাবলেটে আনুভূমিক স্ক্রল ঠেকাতে) */
.news.red { overflow: hidden; max-width: 100%; }

/* লম্বা ই-মেইল ঠিকানা ছোট কলামে ভেঙে যাবে, বাইরে বেরোবে না */
a[href^="mailto:"], a[href^="mailto:"] span { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }

/* =====================================================================
   বক্সের শিরোনাম: নরম সবুজ পট্টি, লেখা বামে, বাম পাশে গাঢ় দাগ
   ===================================================================== */
.sidebar h3, .videopart h3 {
    background: linear-gradient(to right, #176b62, #2a8f7d) !important;
    color: #fff !important;
    text-align: left !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    padding: 9px 14px 9px 16px !important;
    border-left: 5px solid #0e4640 !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}
.sidebar h3 a, .videopart h3 a {
    display: block;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}
.sidebar h3 a:hover, .videopart h3 a:hover { color: #fff !important; background: transparent !important; opacity: .9; }
.sidebar h3 a::after {
    content: '\203A';
    float: right;
    font-size: 20px;
    line-height: 1.2;
    color: #cdeee6;
}

/* =====================================================================
   হোমপেজের ডান পাশের নোটিশ বোর্ড
   ===================================================================== */
.newsPart .panel-body { padding: 4px 0 !important; }
.home-notice-list { list-style: none; margin: 0; padding: 0; }
.home-notice-list > li { border-bottom: 1px solid #edf3f1; }
.home-notice-list > li:last-child { border-bottom: 0; }
.home-notice-list > li > a {
    display: block;
    position: relative;
    padding: 9px 12px 9px 26px;
    text-decoration: none !important;
    color: #243431 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}
.home-notice-list > li > a::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 17px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ca28f;
}
.home-notice-list > li > a:hover { background: #f3faf8; }
.home-notice-list > li > a:hover .hn-title { color: #176b62; text-decoration: underline; }
.home-notice-list .hn-title { display: block; }
.home-notice-list .hn-meta {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    color: #6b7d78;
}
.home-notice-list .hn-meta .fa { margin-right: 3px; }
.home-notice-list .hn-urgent {
    display: inline-block;
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 9px;
    background: #fdecec;
    color: #c62f36;
    font-size: 11px;
    font-weight: 600;
    line-height: 17px;
}
.home-notice-list .hn-empty { padding: 14px 12px; color: #6b7d78; font-size: 14px; }
.newsPart .panel-footer {
    padding: 0 !important;
    background: #f7fbfa;
    border-top: 1px solid #e3ece9;
}
.newsPart .panel-footer .hn-all {
    display: block;
    padding: 9px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #176b62;
    text-decoration: none;
}
.newsPart .panel-footer .hn-all:hover { background: #eaf5f2; }
.newsPart .panel-footer .hn-all span { margin-left: 4px; font-size: 16px; }

/* =====================================================================
   বাম পাশের "গুরুত্বপূর্ণ লিংকসমূহ": এক লাইনের সরল লিংক, ছোট আইকনসহ
   ===================================================================== */
.sideMenu ul.quick-links { list-style: none; margin: 0; padding: 2px 0; }
.sideMenu ul.quick-links > li { margin: 0; border-bottom: 1px dashed #dbe8e4; }
.sideMenu ul.quick-links > li:last-child { border-bottom: 0; }
.sideMenu ul.quick-links > li > a.ql-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 6px;
    background: transparent;
    color: #2a3b37;
    font-size: 14.5px;
    line-height: 1.4;
    text-decoration: none;
    -webkit-text-stroke: 0;
    border-left: 3px solid transparent;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease, padding .15s ease;
}
.sideMenu ul.quick-links > li > a.ql-link:hover,
.sideMenu ul.quick-links > li > a.ql-link:focus-visible {
    background: #eef7f4;
    border-left-color: #176b62;
    color: #176b62;
    padding-left: 9px;
    text-decoration: none;
}
.quick-links .ql-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: #2a8f7d;
    display: inline-flex;
}
.quick-links .ql-icon svg { width: 16px; height: 16px; }
.quick-links .ql-title { flex: 1 1 auto; min-width: 0; }
.quick-links .ql-go { flex: 0 0 12px; color: #b4c7c2; display: inline-flex; }
.quick-links .ql-go svg { width: 12px; height: 12px; }
.quick-links a.ql-link:hover .ql-go { color: #176b62; }

@media (max-width: 767px) {
    .sideMenu ul.quick-links > li > a.ql-link { padding: 10px 10px 10px 8px; font-size: 15.5px; }
}
/* ইংরেজি লেখা বাংলার সমান আকারে দেখাতে */
.quick-links .ql-title.ql-en { font-size: 13.5px; letter-spacing: .1px; }
@media (max-width: 767px) { .quick-links .ql-title.ql-en { font-size: 14.5px; } }

/* =====================================================================
   জনবলের তালিকা (মোবাইল): বড় ছবি উপরে, সব লেখা মাঝখানে
   ===================================================================== */
@media (max-width: 767px) {
    table.rt-stack.manpower-table > tbody > tr {
        display: flex !important;
        flex-direction: column;
        text-align: center;
    }
    table.rt-stack.manpower-table > tbody > tr > td {
        text-align: center !important;
    }
    table.rt-stack.manpower-table > tbody > tr > td::before,
    table.rt-stack.manpower-table > tbody > tr > td.rt-inline::before {
        display: block !important;
        width: auto !important;
        margin: 0 0 2px !important;
        text-align: center;
    }
    /* ক্রমিক নং: কার্ডের মাথায় ছোট পট্টি */
    table.rt-stack.manpower-table > tbody > tr > td.rt-serial {
        order: -2;
        padding: 5px 12px !important;
    }
    table.rt-stack.manpower-table > tbody > tr > td.rt-serial::before { display: inline !important; margin: 0 6px 0 0 !important; }
    /* ছবি: কার্ডের উপরে, বড় গোল ফ্রেমে */
    table.rt-stack.manpower-table > tbody > tr > td:last-child {
        order: -1;
        padding: 18px 12px 6px !important;
        border-bottom: 0 !important;
    }
    table.rt-stack.manpower-table > tbody > tr > td:last-child::before { display: none !important; }
    table.rt-stack.manpower-table > tbody > tr > td:last-child img {
        width: 128px !important;
        height: 128px !important;
        max-width: none !important;
        object-fit: cover;
        object-position: center top;
        border-radius: 50% !important;
        padding: 0 !important;
        border: 4px solid #eaf5f2 !important;
        box-shadow: 0 4px 14px rgba(16, 82, 75, .18);
        background: #f3f8f6;
    }
    /* নাম ও পদবী একটু বড় ও মোটা, নামের লেবেল লুকানো */
    table.rt-stack.manpower-table > tbody > tr > td:nth-child(2) { border-bottom: 0 !important; padding-top: 4px !important; }
    table.rt-stack.manpower-table > tbody > tr > td:nth-child(2)::before { display: none !important; }
    table.rt-stack.manpower-table > tbody > tr > td:nth-child(2) p { margin: 0 !important; }
    table.rt-stack.manpower-table > tbody > tr > td:nth-child(2) p:first-child a {
        font-size: 17px;
        font-weight: 600;
        color: #10524b;
    }
    table.rt-stack.manpower-table > tbody > tr > td:nth-child(2) p + p { color: #5d6f6a; font-size: 14px; margin-top: 2px !important; }
    table.rt-stack.manpower-table td a[href^="mailto:"] { word-break: break-all; }
}
@media (max-width: 767px) {
    table.rt-stack.manpower-table > tbody > tr > td p,
    table.rt-stack.manpower-table > tbody > tr > td div,
    table.rt-stack.manpower-table > tbody > tr > td span { text-align: center !important; }
}

/* =====================================================================
   জনবলের তালিকা (কম্পিউটার): নামের পাশে ছোট চারকোণা ছবি, হালকা টেবিল
   ===================================================================== */
.manpower-table .mp-thumb { display: none; }

@media (min-width: 768px) {
    .ftsTable table.manpower-table { border: 1px solid #dfe9e6 !important; border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
    .ftsTable table.manpower-table > thead > tr > th {
        background: #eaf5f2 !important;
        color: #10524b !important;
        font-weight: 600;
        border: 0 !important;
        border-bottom: 2px solid #cfe3dc !important;
        padding: 10px 12px !important;
        vertical-align: middle !important;
    }
    .ftsTable table.manpower-table > tbody > tr > td {
        border: 0 !important;
        border-top: 1px solid #e8f0ed !important;
        padding: 10px 12px !important;
        vertical-align: middle !important;
        font-size: 14.5px;
        line-height: 1.6;
    }
    .ftsTable table.manpower-table > tbody > tr:nth-child(even) > td { background: #fafdfc; }
    .ftsTable table.manpower-table > tbody > tr:hover > td { background: #f0f8f5; }

    /* আলাদা "ছবি" কলাম লুকানো; ছবি নামের পাশে */
    .manpower-table th.mp-photo, .manpower-table td.mp-photo { display: none; }

    .manpower-table td.mp-serial { width: 44px; text-align: center; color: #6b7d78; }
    .manpower-table td.mp-person { min-width: 240px; }
    .manpower-table td.mp-person {
        display: table-cell;
    }
    .manpower-table .mp-person > .mp-thumb,
    .manpower-table .mp-person > .mp-person-text { vertical-align: middle; }
    .ftsTable .manpower-table img.mp-thumb {
        display: inline-block;
        width: 60px !important;
        height: 74px !important;
        object-fit: cover;
        object-position: center top;
        border-radius: 8px;
        border: 1px solid #d9e7e2;
        padding: 2px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(16, 82, 75, .12);
        margin-right: 12px;
        float: left;
    }
    .manpower-table .mp-person-text { overflow: hidden; padding-top: 6px; }
    .manpower-table .mp-person-text p { margin: 0 !important; text-align: left !important; }
    .manpower-table .mp-name a { font-size: 15.5px; font-weight: 600; color: #10524b; text-decoration: none; }
    .manpower-table .mp-name a:hover { color: #176b62; text-decoration: underline; }
    .manpower-table .mp-designation { color: #5d6f6a; font-size: 13.5px; margin-top: 2px !important; }

    .manpower-table td.mp-office { color: #33443f; }
    .manpower-table td.mp-office p { margin: 0; }
    .manpower-table td.mp-phone { white-space: nowrap; }
    .manpower-table td.mp-phone a, .manpower-table td.mp-email a { color: #176b62; text-decoration: none; }
    .manpower-table td.mp-phone a:hover, .manpower-table td.mp-email a:hover { text-decoration: underline; }
    .manpower-table td.mp-email { word-break: normal !important; overflow-wrap: normal !important; font-size: 13.5px; }
    .manpower-table td.mp-email a { font-size: 13.5px !important; }

    .manpower-table td.mp-phone { font-size: 14px; }
}

/* মোবাইলে নামের পাশের ছোট ছবি লাগবে না (উপরে বড় ছবি আছে) */
@media (max-width: 767px) {
    .manpower-table .mp-thumb { display: none !important; }
}

/* বড় স্ক্রিনে (৯৯২px+) ই-মেইল এক লাইনে; জায়গা দপ্তরের কলাম থেকে নেওয়া হবে */
@media (min-width: 992px) {
    .manpower-table td.mp-email, .manpower-table td.mp-email a { white-space: nowrap !important; overflow-wrap: normal !important; }
}

/* ট্যাবলেটে (৭৬৮–৯৯১px) জায়গা কম: ই-মেইল কলামে ন্যূনতম প্রস্থ, প্রয়োজনে দুই লাইনে */
@media (min-width: 768px) and (max-width: 991px) {
    .manpower-table td.mp-email { min-width: 118px; }
    .manpower-table td.mp-email a { overflow-wrap: anywhere; font-size: 12px !important; }
}

/* টেবিল কখনো পুরো পাতাকে পাশে ঠেলবে না; প্রয়োজনে নিজের বক্সের ভেতরে স্ক্রল হবে */
@media (min-width: 768px) {
    .table-scroll-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* =====================================================================
   মোবাইল: হেডার/মেনু/ফুটার পূর্ণ প্রস্থে, কিন্তু ভেতরের কন্টেন্টের
   (স্লাইডার, সাইডবার বক্স, নোটিশ, লিংক) দুই পাশে সমান ফাঁকা জায়গা
   ===================================================================== */
@media (max-width: 767px) {
    #contentWrapper .mobile-content-columns > [class*="col-"] > .row {
        margin-left: 0;
        margin-right: 0;
    }
    #contentWrapper .mobile-content-columns > [class*="col-"] > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    #contentWrapper .mobile-content-columns > [class*="col-"] > .row > [class*="col-"] > .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* =====================================================================
   মোবাইল: চেয়ারম্যান ও কমিশনারের ছবি ছোট, মাঝখানে
   ===================================================================== */
@media (max-width: 767px) {
    .commissBox .photoComm { text-align: center; padding: 12px; }
    .commissBox .photoComm img {
        width: 170px !important;
        max-width: 60% !important;
        height: auto !important;
        display: block;
        margin: 0 auto 6px;
        border-radius: 8px;
    }
    .commissBox .photoComm h5 { margin: 6px 0 0; font-size: 15px; }
}

/* =====================================================================
   মোবাইল: ফুটারের উপরের কার্ডগুলো (তথ্য অধিকার, অভিযোগ প্রতিকার ...)
   ===================================================================== */
@media (max-width: 767px) {
    .siteMap {
        padding: 12px 11px 6px;
    }
    .siteMap > .col-sm-2 {
        width: 100%;
        padding: 4px;
        margin-bottom: 6px;
    }
    .siteMap > .col-sm-2::before {
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(16, 82, 75, .08);
    }
    .siteMap .sitemap-heading {
        height: auto !important;
        min-height: 0 !important;
        padding: 9px 12px !important;
        margin-bottom: 4px !important;
        border-radius: 9px 9px 0 0 !important;
    }
    .siteMap .sitemap-heading img {
        width: 32px !important;
        height: 32px !important;
        flex-basis: 32px !important;
    }
    .siteMap .sitemap-heading h3 {
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        height: auto !important;
    }
    .siteMap > .col-sm-2 ul { padding: 2px 12px 10px !important; }
    .siteMap > .col-sm-2 ul li { padding: 0 !important; border: 0 !important; }
    .siteMap > .col-sm-2 ul li a {
        display: block;
        position: relative;
        padding: 7px 4px 7px 16px !important;
        border-bottom: 1px dashed #e1ece8;
        font-size: 14.5px !important;
        line-height: 1.5 !important;
        color: #2a3b37 !important;
        text-decoration: none !important;
    }
    .siteMap > .col-sm-2 ul li:last-child a { border-bottom: 0; }
    .siteMap > .col-sm-2 ul li a::before {
        content: '';
        position: absolute;
        left: 3px;
        top: 15px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #2ca28f;
    }
}
/* বড় ফোনে দুই কলাম */
@media (min-width: 520px) and (max-width: 767px) {
    .siteMap > .col-sm-2 { width: 50%; }
}
@media (max-width: 767px) {
    .siteMap > .col-sm-2 ul, .siteMap > .col-sm-2 ul li { list-style: none !important; }
    .siteMap > .col-sm-2 ul li { margin: 0 !important; background: none !important; }
    .siteMap > .col-sm-2 ul li::before, .siteMap > .col-sm-2 ul li::marker { display: none !important; content: none !important; }
}

/* =====================================================================
   ফন্টের সামঞ্জস্য: ইংরেজি অক্ষর বাংলার সাথে মানানসই আকারে
   (বাংলা ফন্ট ফাইলে ইংরেজি অক্ষর নেই, তাই আলাদা ছোট-করা ইংরেজি ফন্ট)
   ===================================================================== */
@font-face {
    font-family: 'TZ Latin';
    src: local('Segoe UI'), local('SegoeUI'), local('Roboto'), local('Helvetica Neue'),
         local('Arial'), local('ArialMT'), local('Liberation Sans'), local('DejaVu Sans');
    font-weight: 400;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
    size-adjust: 92%;
}
@font-face {
    font-family: 'TZ Latin';
    src: local('Segoe UI Semibold'), local('SegoeUI-Semibold'), local('Roboto Medium'), local('Roboto-Medium'),
         local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('DejaVu Sans Bold');
    font-weight: 600 700;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
    size-adjust: 92%;
}
body, button, input, textarea, select, table, th, td, p, a, li,
h1, h2, h3, h4, h5, h6, .navbar, .dropdown-menu, label, span, small, strong, b {
    font-family: 'TZ Latin', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif !important;
}
.fa, .glyphicon, [class^="fa-"], [class*=" fa-"] { font-family: FontAwesome !important; }
.glyphicon { font-family: 'Glyphicons Halflings' !important; }
/* আগের ইংরেজি-লেখা ছোট করার কৌশল আর দরকার নেই */
.quick-links .ql-title.ql-en { font-size: inherit; letter-spacing: 0; }
@media (max-width: 767px) { .quick-links .ql-title.ql-en { font-size: inherit; } }
/* শিরোনামের আকার সব পাতায় এক */
#contentWrapper .panel-title { font-size: 17px; line-height: 1.45; font-weight: 600; }
@media (max-width: 767px) { #contentWrapper .panel-title { font-size: 16px; } }

/* =====================================================================
   পাতার উপরে শিরোনাম-ব্যান্ড ও পথ-নির্দেশ
   ===================================================================== */
.page-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0 0 14px;
    padding: 12px 16px;
    background: linear-gradient(90deg, var(--tz-primary-soft) 0%, #f6fbfa 100%);
    border: 1px solid var(--tz-border);
    border-left: 4px solid var(--tz-primary);
    border-radius: var(--tz-radius);
}
.page-band .page-band-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--tz-primary-dark);
}
.page-band-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--tz-muted);
}
.page-band-crumbs > li { display: inline-flex; align-items: center; }
.page-band-crumbs > li + li::before {
    content: '';
    width: 6px; height: 6px;
    margin: 0 9px;
    border-right: 1.5px solid #9bb3ad;
    border-top: 1.5px solid #9bb3ad;
    transform: rotate(45deg);
}
.page-band-crumbs a { color: var(--tz-primary); text-decoration: none; }
.page-band-crumbs a:hover { text-decoration: underline; }
.page-band-crumbs [aria-current="page"] { color: var(--tz-text); font-weight: 600; }
/* পাতার ভেতরের একই শিরোনাম লুকানো (JS দিয়ে চিহ্নিত) */
.pb-dup-hidden { display: none !important; }
@media (max-width: 767px) {
    .page-band { padding: 10px 12px; margin-bottom: 12px; flex-direction: column; align-items: flex-start; }
    .page-band .page-band-title { font-size: 17px; }
    .page-band-crumbs { font-size: 12.5px; }
}

/* =====================================================================
   নোটিশের বিস্তারিত পাতা
   ===================================================================== */
.notice-detail { padding: 0 !important; background: transparent !important; box-shadow: none !important; }
.nd-card {
    background: #fff;
    border: 1px solid var(--tz-border);
    border-radius: var(--tz-radius);
    box-shadow: var(--tz-shadow);
    padding: 20px 22px;
}
.nd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 10px; }
.nd-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 11px;
    border-radius: 999px;
    font-size: 12.5px; font-weight: 600; line-height: 22px;
}
.nd-badge-type { background: var(--tz-primary-soft); color: var(--tz-primary-dark); border: 1px solid #cfe3dc; }
.nd-badge-urgent { background: #fdecec; color: #c62f36; border: 1px solid #f6c9cc; }
.nd-badge-urgent::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%; background: #d93a41;
    box-shadow: 0 0 0 0 rgba(217, 58, 65, .5); animation: ndPulse 1.8s infinite;
}
@keyframes ndPulse { 0% { box-shadow: 0 0 0 0 rgba(217,58,65,.45); } 70% { box-shadow: 0 0 0 7px rgba(217,58,65,0); } 100% { box-shadow: 0 0 0 0 rgba(217,58,65,0); } }
.nd-date { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--tz-muted); }
.nd-card .nd-title {
    margin: 0 0 16px;
    font-size: 21px; line-height: 1.6; font-weight: 700;
    color: var(--tz-text);
}
.nd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.nd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 9px 18px;
    border-radius: 8px;
    font-size: 15px; font-weight: 600;
    text-decoration: none !important;
    border: 1.5px solid var(--tz-primary);
    cursor: pointer;
}
.nd-btn-primary { background: var(--tz-primary); color: #fff !important; padding: 10px 22px; font-size: 16px; }
.nd-btn-primary:hover, .nd-btn-primary:focus { background: var(--tz-primary-dark); border-color: var(--tz-primary-dark); color: #fff; }
.nd-btn-primary small { font-weight: 400; opacity: .85; font-size: 12.5px; }
.nd-btn-light { background: #fff; color: var(--tz-primary) !important; }
.nd-btn-light:hover, .nd-btn-light:focus { background: var(--tz-primary-soft); }
.nd-actions .nd-share { flex: 1 1 100%; }
.nd-share {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 12px 0 2px; margin-bottom: 4px;
    border-top: 1px dashed var(--tz-border);
}
.nd-share-label { font-size: 13.5px; color: var(--tz-muted); margin-right: 2px; }
.nd-share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13.5px; font-weight: 600;
    color: #fff !important; text-decoration: none !important;
    cursor: pointer;
}
.nd-share-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.nd-fb { background: #1877f2; }
.nd-fb:hover { background: #0f63d1; }
.nd-wa { background: #1fa855; }
.nd-wa:hover { background: #178a45; }
.nd-copy { background: #fff; color: var(--tz-text) !important; border-color: #cbd8d4; }
.nd-copy:hover { background: #f3f7f6; }
.nd-copied { font-size: 13px; color: var(--tz-primary); font-weight: 600; }
.nd-body { margin-top: 14px; line-height: 1.85; font-size: 15.5px; }
.nd-body img { max-width: 100%; height: auto; }
.nd-viewer {
    margin-top: 16px;
    border: 1px solid var(--tz-border);
    border-radius: var(--tz-radius);
    overflow: hidden;
    background: #eef3f2;
}
.nd-viewer iframe { display: block; width: 100%; height: 82vh; min-height: 560px; border: 0; }
.nd-viewer-hint { margin: 8px 2px 0; font-size: 13px; color: var(--tz-muted); }
.nd-image { margin-top: 16px; text-align: center; }
.nd-image img {
    max-width: 100%; height: auto;
    border-radius: var(--tz-radius);
    border: 1px solid var(--tz-border);
    box-shadow: var(--tz-shadow);
}
/* আরও নোটিশ */
.nd-more {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--tz-border);
    border-radius: var(--tz-radius);
    overflow: hidden;
}
.nd-more-title {
    margin: 0 !important;
    padding: 11px 16px;
    font-size: 16px !important; font-weight: 700;
    color: var(--tz-primary-dark);
    background: var(--tz-primary-soft);
    border-left: 4px solid var(--tz-primary);
}
.nd-more ul { list-style: none; margin: 0; padding: 0; }
.nd-more li, .welcomeNote .nd-more li {
    margin: 0 !important; padding: 0 !important;
    background: none !important; border: 0 !important; list-style: none;
}
.nd-more li + li { border-top: 1px solid #e8f0ee !important; }
.nd-more li::before { display: none !important; }
.nd-more li a {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 10px 16px;
    color: var(--tz-text); text-decoration: none;
}
.nd-more li a:hover { background: #f5faf9; }
.nd-more li a:hover .nd-more-head { color: var(--tz-primary); text-decoration: underline; }
.nd-more-head {
    flex: 1; min-width: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.55;
}
.nd-more-date { flex: none; font-size: 12.5px; color: var(--tz-muted); white-space: nowrap; }
.nd-more-all {
    display: block; padding: 10px 16px; text-align: center;
    font-weight: 600; color: var(--tz-primary); text-decoration: none;
    background: #f7fbfa; border-top: 1px solid #e3ece9;
}
.nd-more-all:hover { background: var(--tz-primary-soft); }
@media (max-width: 767px) {
    .nd-card { padding: 16px 14px; }
    .nd-card .nd-title { font-size: 18px; }
    .nd-actions { flex-direction: column; }
    .nd-actions .nd-share { flex-direction: row; }
    .nd-btn { width: 100%; }
    .nd-viewer iframe { height: 70vh; min-height: 420px; }
    .nd-more li a { flex-direction: column; gap: 2px; }
}

/* =====================================================================
   অধিক্ষেত্রের পাতা: খোঁজার বক্স ও accordion
   ===================================================================== */
.jd-page .panel-heading { margin-bottom: 0; }
.jd-search { position: relative; margin: 14px 0 8px; }
.jd-search .form-control {
    height: 46px;
    padding: 0 42px 0 42px;
    font-size: 15px;
    border-radius: 999px;
    border: 1.5px solid #cfe0db;
    box-shadow: none;
}
.jd-search .form-control:focus { border-color: var(--tz-accent); box-shadow: 0 0 0 3px rgba(44, 162, 143, .15); }
.jd-search-icon { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--tz-muted); pointer-events: none; }
.jd-search-icon svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.jd-clear {
    position: absolute; right: 8px; top: 50%; margin-top: -15px;
    width: 30px; height: 30px; border-radius: 50%;
    border: 0; background: #eef3f2; color: var(--tz-muted);
    font-size: 18px; line-height: 30px; cursor: pointer;
}
.jd-clear:hover { background: #e0ebe8; color: var(--tz-text); }
.jd-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; margin: 0 4px 10px; font-size: 13px; color: var(--tz-muted); }
.jd-toggle-all { display: inline-flex; gap: 6px; align-items: center; }
.jd-link { background: none; border: 0; padding: 2px 4px; color: var(--tz-primary); font-weight: 600; cursor: pointer; font-size: 13px; }
.jd-link:hover { text-decoration: underline; }
.jd-list { display: flex; flex-direction: column; gap: 8px; }
.jd-item {
    background: #fff;
    border: 1px solid var(--tz-border);
    border-radius: var(--tz-radius);
    overflow: hidden;
}
.jd-item.is-open { border-color: #b9d8cf; box-shadow: var(--tz-shadow); }
.jd-head {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: #fff; border: 0; text-align: left;
    cursor: pointer;
}
.jd-head:hover { background: #f6fbfa; }
.jd-item.is-open .jd-head { background: var(--tz-primary-soft); }
.jd-num {
    flex: none;
    min-width: 34px; height: 34px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: var(--tz-primary); color: #fff;
    font-weight: 700; font-size: 14px;
}
.jd-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jd-name { font-weight: 700; font-size: 15.5px; color: var(--tz-text); line-height: 1.45; }
.jd-addr { font-size: 13px; color: var(--tz-muted); line-height: 1.45; margin-top: 1px; }
.jd-chev { flex: none; width: 20px; height: 20px; color: var(--tz-primary); transition: transform .25s var(--tz-ease); }
.jd-chev svg, svg.jd-chev { fill: currentColor; }
.jd-item.is-open .jd-chev { transform: rotate(180deg); }
.jd-body { padding: 4px 16px 14px 60px; border-top: 1px solid #e3ece9; }
.jd-info { line-height: 1.85; font-size: 14.5px; padding-top: 8px; }
.jd-info table { width: 100% !important; }
.jd-contact {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px dashed var(--tz-border);
    font-size: 13.5px; color: var(--tz-muted);
}
.jd-call {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 13px; border-radius: 999px;
    background: var(--tz-primary); color: #fff !important; text-decoration: none !important;
    font-weight: 600; font-size: 13.5px;
}
.jd-call:hover { background: var(--tz-primary-dark); }
.jd-item mark { background: #fff2a8; color: inherit; padding: 0 1px; border-radius: 2px; }
.jd-empty { padding: 24px 12px; text-align: center; color: var(--tz-muted); background: #fff; border: 1px dashed var(--tz-border); border-radius: var(--tz-radius); }
.jd-page .jurisdiction-notes { margin-top: 16px; }
@media (max-width: 767px) {
    .jd-head { padding: 11px 12px; gap: 10px; }
    .jd-body { padding: 4px 12px 12px; }
    .jd-name { font-size: 15px; }
}

/* =====================================================================
   রেঞ্জ ও সার্কেল অফিস: কার্ড
   ===================================================================== */
.ro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
    padding: 14px 0 4px;
}
.ro-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--tz-border);
    border-top: 3px solid var(--tz-primary);
    border-radius: var(--tz-radius);
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(20, 62, 54, .05);
}
.ro-card:hover { box-shadow: var(--tz-shadow); }
.ro-top { display: flex; gap: 12px; align-items: flex-start; }
.ro-num {
    flex: none; width: 34px; height: 34px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--tz-primary-soft); color: var(--tz-primary-dark);
    font-weight: 700; font-size: 14px;
}
.ro-head { flex: 1; min-width: 0; }
.ro-title { margin: 0 !important; font-size: 16px !important; font-weight: 700; line-height: 1.45; color: var(--tz-primary-dark); }
.ro-officer { margin-top: 2px; font-size: 13.5px; color: var(--tz-text); line-height: 1.5; }
.ro-officer b, .ro-officer strong { font-weight: 600; }
.ro-addr {
    display: flex; gap: 7px; align-items: flex-start;
    margin: 10px 0 12px;
    font-size: 13.5px; line-height: 1.6; color: var(--tz-muted);
}
.ro-addr svg { flex: none; width: 15px; height: 15px; margin-top: 3px; fill: var(--tz-accent); }
.ro-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ro-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    flex: 1 1 auto;
    min-height: 38px; padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--tz-primary);
    font-size: 13.5px; font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}
.ro-btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.ro-call { background: var(--tz-primary); color: #fff !important; }
.ro-call:hover { background: var(--tz-primary-dark); border-color: var(--tz-primary-dark); }
.ro-mail, .ro-map { background: #fff; color: var(--tz-primary) !important; }
.ro-mail:hover, .ro-map:hover, .ro-map[aria-expanded="true"] { background: var(--tz-primary-soft); }
.ro-btn[aria-disabled="true"], .ro-btn.is-disabled { opacity: .45; pointer-events: none; }
.ro-map-box { margin-top: 10px; border-radius: 8px; overflow: hidden; border: 1px solid var(--tz-border); background: #eef3f2; }
.ro-map-box iframe { display: block; width: 100%; height: 240px; border: 0; }
@media (max-width: 767px) {
    .ro-grid { grid-template-columns: 1fr; gap: 12px; padding-top: 12px; }
}

/* =====================================================================
   ডাউনলোড পাতা: ছাঁকনি, ফাইলের ধরন ও আকার
   ===================================================================== */
.dl-filter {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 12px 14px;
    background: #f7fbfa;
    border-bottom: 1px solid var(--tz-border);
}
.dl-filter-search { position: relative; flex: 1 1 260px; min-width: 0; }
.dl-filter-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: var(--tz-muted); pointer-events: none; }
.dl-filter-search .form-control { padding-left: 36px; }
.dl-filter .form-control { height: 40px; border-radius: 8px; border: 1.5px solid #cfe0db; box-shadow: none; font-size: 14.5px; }
.dl-filter .form-control:focus { border-color: var(--tz-accent); box-shadow: 0 0 0 3px rgba(44,162,143,.15); }
.dl-filter-year { flex: 0 0 150px; width: 150px !important; }
.dl-filter-btn { height: 40px; padding: 0 18px; border-radius: 8px; background: var(--tz-primary); border-color: var(--tz-primary); color: #fff !important; font-weight: 600; }
.dl-filter-btn:hover { background: var(--tz-primary-dark); }
.dl-filter-reset { font-size: 13.5px; font-weight: 600; color: var(--tz-primary); padding: 0 4px; }
.dl-result-note { margin: 0; padding: 8px 15px; font-size: 13px; color: var(--tz-muted); background: #fffdf3; border-bottom: 1px solid #f0e6c4; }
.dl-type {
    flex: none;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    width: 44px; height: 50px;
    border-radius: 8px;
    margin-right: 12px;
    background: #eef2f1; color: #5b6e69;
}
.dl-type svg { width: 20px; height: 20px; fill: currentColor; }
.dl-type b { font-size: 10px; line-height: 1; margin-top: 3px; letter-spacing: .3px; font-weight: 700; }
.dl-type.dl-pdf { background: #fdecec; color: #c9343b; }
.dl-type.dl-doc { background: #e8f0fd; color: #2b5fc7; }
.dl-type.dl-xls { background: #e6f5ec; color: #1d7a45; }
.dl-type.dl-img { background: #f3ecfd; color: #7442c8; }
.dl-type.dl-zip { background: #fdf4e3; color: #b07012; }
.dl-type.dl-txt { background: #eef2f1; color: #4f625d; }
.dl-size {
    display: inline-block; margin-left: 8px; padding: 0 7px;
    border-radius: 9px; background: #eef3f2;
    font-size: 11.5px; line-height: 18px; color: var(--tz-muted);
}
.notice-download-item { display: flex; align-items: center; }
@media (max-width: 767px) {
    .dl-filter { padding: 10px; }
    .dl-filter-search { flex: 1 1 100%; }
    .dl-filter-year { flex: 1 1 auto; width: auto !important; }
    .dl-type { width: 38px; height: 44px; margin-right: 10px; }
}

/* =====================================================================
   "উপরে যান" বাটন
   ===================================================================== */
.back-to-top {
    position: fixed; right: 18px; bottom: 20px; z-index: 1040;
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--tz-primary); color: #fff !important;
    box-shadow: 0 6px 18px rgba(16, 82, 75, .3);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s var(--tz-ease), transform .25s var(--tz-ease), visibility .25s, background-color .2s;
}
.back-to-top.is-visible { opacity: .92; visibility: visible; transform: translateY(0); }
.back-to-top:hover, .back-to-top:focus { background: var(--tz-primary-dark); opacity: 1; outline: none; }
.back-to-top:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--tz-accent); }
@media (max-width: 767px) { .back-to-top { right: 12px; bottom: 14px; width: 42px; height: 42px; } }

/* ডিফল্ট ছবি */
img.img-fallback { object-fit: cover; background: #eaf5f2; }

/* =====================================================================
   প্রিন্ট: শুধু মূল লেখা, মেনু-সাইডবার-ফুটার বাদ
   ===================================================================== */
@media print {
    @page { margin: 14mm 12mm; }
    html, body { background: #fff !important; color: #000 !important; }
    body * { box-shadow: none !important; text-shadow: none !important; }
    #headWrapper, header, footer, .navbar, .mainmenu, .pageFooter, .siteMap, .footer, #footer,
    sidebar, .sidebar, .sideMenubox, .hide-sidebar-mobile,
    #contentWrapper .mobile-content-columns > [class*="col-"]:first-child,
    .back-to-top, .page-band-crumbs, .nd-actions, .nd-share, .nd-viewer-hint, .nd-more,
    .jd-search, .jd-toolbar, .jd-chev, .dl-filter, .ro-actions, .ro-map-box,
    .pagination, .notice-download-pagination, .notice-search, .scroll-top, iframe, .no-print {
        display: none !important;
    }
    .row { margin-left: 0 !important; margin-right: 0 !important; }
    #contentWrapper, .container, .container-fluid, [class*="col-"] {
        width: 100% !important; max-width: 100% !important; float: none !important;
        margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important;
    }
    .page-band { border: 0 !important; border-bottom: 2px solid #000 !important; background: none !important; border-radius: 0; padding: 0 0 6px !important; }
    .page-band .page-band-title { color: #000 !important; font-size: 18pt; }
    .panel, .nd-card, .jd-item, .ro-card { border: 1px solid #bbb !important; break-inside: avoid; page-break-inside: avoid; }
    .panel-heading { background: none !important; color: #000 !important; border-bottom: 1px solid #999 !important; }
    .jd-body[hidden] { display: block !important; }
    .ro-grid { display: block !important; }
    .ro-card { margin-bottom: 8px; }
    a { color: #000 !important; text-decoration: none !important; }
    .nd-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; word-break: break-all; }
    img { max-width: 100% !important; }
    table { border-collapse: collapse !important; }
    th, td { border: 1px solid #999 !important; }
}

/* =====================================================================
   যোগাযোগ ফর্ম: ট্র্যাকিং নম্বর, বটের ফাঁদ, অক্ষর গণনা
   ===================================================================== */
.fb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fb-req { color: #c62f36; }
.fb-optional label small { font-weight: 400; color: var(--tz-muted); }
.fb-counter { text-align: right; font-size: 12px; color: var(--tz-muted); margin-top: 3px; }
.fb-counter.is-near { color: #c62f36; font-weight: 600; }
.fb-done {
    display: flex; gap: 14px; align-items: flex-start;
    margin: 0 0 16px; padding: 16px 18px;
    background: #eefaf4; border: 1px solid #bfe5cf; border-left: 4px solid #1d9a58;
    border-radius: var(--tz-radius);
}
.fb-done-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #1d9a58; display: flex; align-items: center; justify-content: center; }
.fb-done-icon svg { width: 22px; height: 22px; fill: #fff; }
.fb-done-text h3 { margin: 2px 0 6px; font-size: 18px !important; font-weight: 700; color: #145c38; }
.fb-done-text p { margin: 0 0 6px; }
.fb-done-no { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 8px; }
.fb-done-no b { font-size: 22px; letter-spacing: 1px; color: #10524b; background: #fff; border: 1px dashed #9fcfc3; border-radius: 8px; padding: 4px 12px; }
.fb-copy { border: 1px solid #9fcfc3; background: #fff; color: var(--tz-primary); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 13px; cursor: pointer; }
.fb-done-help { font-size: 13.5px; color: #3d5b52; }

/* আবেদনের অবস্থা */
.tf-form {
    background: #fff; border: 1px solid var(--tz-border); border-radius: var(--tz-radius);
    padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--tz-shadow);
}
.tf-intro { margin: 0 0 12px; color: var(--tz-muted); }
.tf-fields { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; }
.tf-fields .form-group { flex: 1 1 220px; margin: 0; }
.tf-fields label { font-weight: 600; font-size: 14px; }
.tf-btn { height: 40px; padding: 0 22px; border-radius: 8px; background: var(--tz-primary); color: #fff !important; font-weight: 600; border: 0; }
.tf-btn:hover { background: var(--tz-primary-dark); }
.tf-empty { padding: 18px; background: #fff8e6; border: 1px solid #f0dca8; border-radius: var(--tz-radius); color: #6b5310; }
.tf-card { background: #fff; border: 1px solid var(--tz-border); border-radius: var(--tz-radius); padding: 18px 20px; box-shadow: var(--tz-shadow); }
.tf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tf-no { font-size: 20px; font-weight: 700; color: var(--tz-primary-dark); letter-spacing: .5px; }
.tf-meta { font-size: 13px; color: var(--tz-muted); margin-top: 2px; }
.tf-status { color: #fff; border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 13.5px; }
.tf-steps { display: flex; list-style: none; margin: 18px 0; padding: 0; counter-reset: s; }
.tf-steps li { flex: 1; position: relative; text-align: center; font-size: 12.5px; color: var(--tz-muted); }
.tf-steps li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: #e3ece9; z-index: 0; }
.tf-steps li:first-child::before { display: none; }
.tf-steps li.is-done::before, .tf-steps li.is-current::before { background: var(--tz-accent); }
.tf-dot { position: relative; z-index: 1; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: #eef3f2; color: var(--tz-muted); font-weight: 700; border: 2px solid #fff; box-shadow: 0 0 0 1px #dce8e4; }
.tf-steps li.is-done .tf-dot { background: var(--tz-accent); color: #fff; box-shadow: none; }
.tf-steps li.is-current .tf-dot { background: var(--tz-primary); color: #fff; box-shadow: 0 0 0 4px rgba(23,107,98,.15); }
.tf-steps li.is-current { color: var(--tz-text); font-weight: 700; }
.tf-step-label { display: block; margin-top: 6px; }
.tf-label { font-size: 13px; font-weight: 700; color: var(--tz-primary-dark); margin-bottom: 6px; }
.tf-msg { padding: 12px 14px; background: #f6faf9; border-radius: 8px; margin-bottom: 14px; }
.tf-body { line-height: 1.8; word-break: break-word; }
.tf-reply { padding: 12px 14px; border-left: 3px solid var(--tz-primary); background: #fff; border-radius: 0 8px 8px 0; box-shadow: 0 1px 4px rgba(0,0,0,.05); margin-bottom: 10px; }
.tf-reply-date { font-size: 12.5px; color: var(--tz-muted); margin-bottom: 4px; }
.tf-reply-body { line-height: 1.8; word-break: break-word; }
.tf-none { color: var(--tz-muted); }
.nd-preview-note { margin-bottom: 12px; padding: 10px 14px; border-radius: var(--tz-radius); background: #e8f0fd; border: 1px solid #c3d6f7; color: #1f4aa0; }
@media (max-width: 767px) {
    .fb-done { flex-direction: column; }
    .tf-steps li { font-size: 11px; }
    .tf-btn { width: 100%; }
}
@media print { .tf-form { display: none !important; } }
