/* ==========================================================
 *  THEME 3 - MahamudFutureIT  (overrides on top of reference CSS)
 * ========================================================== */
body.t3-body { font-family: solaimanLipi, 'SolaimanLipi', Arial, sans-serif; }
img { max-width: 100%; }

/* ---------- Desktop submenu (hover) ---------- */
.header-main-menu ul li .sub-menu { z-index: 999; min-width: 200px; border-top: 3px solid var(--t3-primary,#134d68); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.header-main-menu ul li .sub-menu.t3-flip { left: auto; right: 0; }
.header-main-menu ul li:focus-within .sub-menu { display: block; visibility: visible; opacity: 1; }
.header-main-menu ul li .sub-menu li a { white-space: nowrap; }

/* ---------- Off-canvas (solid, no glass) ---------- */
.t3-oc-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; z-index: 99998; }
.t3-oc { position: fixed; top: 0; left: 0; bottom: 0; width: 340px; max-width: 88vw; background: #fff; z-index: 99999; transform: translateX(-102%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: 4px 0 24px rgba(0,0,0,.18); }
body.t3-oc-on { overflow: hidden; }
body.t3-oc-on .t3-oc { transform: translateX(0); }
body.t3-oc-on .t3-oc-backdrop { opacity: 1; visibility: visible; }
.t3-oc-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 3px solid var(--t3-primary,#134d68); }
.t3-oc-logo img { max-height: 44px; width: auto; }
.t3-oc-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--t3-primary,#134d68); color: #fff; font-size: 18px; cursor: pointer; }
.t3-oc-close:hover { background: var(--t3-accent,#b30f0f); }
.t3-oc-date { padding: 10px 16px 0; font-size: 14px; color: #555; }
.t3-oc-search { display: flex; margin: 12px 16px; border: 1px solid #d8d8d8; border-radius: 4px; overflow: hidden; }
.t3-oc-search input { flex: 1; border: 0; padding: 9px 12px; font-size: 15px; outline: 0; min-width: 0; }
.t3-oc-search button { border: 0; background: var(--t3-primary,#134d68); color: #fff; padding: 0 14px; }
.t3-oc-quick { display: flex; gap: 8px; padding: 0 16px 12px; flex-wrap: wrap; }
.t3-oc-quick a { flex: 1; text-align: center; padding: 7px 6px; border: 1px solid #e0e0e0; border-radius: 4px; color: #222; font-size: 14px; white-space: nowrap; }
.t3-oc-quick a:hover { border-color: var(--t3-primary,#134d68); color: var(--t3-primary,#134d68); }
.t3-oc-quick .t3-q-live i { color: red; }
.t3-oc-nav { flex: 1; overflow-y: auto; padding: 0 0 12px; border-top: 1px solid #eee; }
.t3-oc-label { margin: 0; padding: 12px 16px 6px; font-size: 13px; font-weight: 700; color: var(--t3-accent,#b30f0f); letter-spacing: .3px; }
.t3-oc-nav ul { list-style: none; margin: 0; padding: 0; }
.t3-oc-nav > ul > li { border-bottom: 1px solid #f1f1f1; }
.t3-oc-row { display: flex; align-items: stretch; }
.t3-oc-row a, .t3-oc-nav > ul > li > a { flex: 1; display: block; padding: 11px 16px; color: #212529; font-size: 17px; transition: color .15s, padding .15s; }
.t3-oc-row a:hover, .t3-oc-nav > ul > li > a:hover { color: var(--t3-primary,#134d68); padding-left: 20px; }
.t3-oc-toggle { width: 48px; border: 0; border-left: 1px solid #f1f1f1; background: transparent; color: #666; cursor: pointer; }
.t3-oc-toggle i { transition: transform .2s; }
li.open > .t3-oc-row .t3-oc-toggle { color: var(--t3-primary,#134d68); }
li.open > .t3-oc-row .t3-oc-toggle i { transform: rotate(180deg); }
.t3-oc-sub { display: none; background: #f6f8f9; border-left: 3px solid var(--t3-primary,#134d68); }
.t3-oc-sub li a { display: block; padding: 9px 16px 9px 28px; font-size: 15px; color: #333; }
.t3-oc-sub li a:hover { color: var(--t3-primary,#134d68); }
.t3-oc-pages { display: flex; flex-wrap: wrap; padding: 0 12px !important; }
.t3-oc-pages li a { display: block; padding: 6px; font-size: 14px; color: #555; }
.t3-oc-foot { padding: 12px 16px; border-top: 1px solid #eee; background: #fafafa; text-align: center; font-size: 13px; color: #666; }
.t3-oc-foot p { margin: 8px 0 0; }
.t3-oc-social { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.t3-oc-social a { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--t3-primary,#134d68); color: #fff; font-size: 14px; }
.t3-oc-social a:hover { background: var(--t3-accent,#b30f0f); }
@media (min-width: 992px) { .t3-oc { width: 380px; } }

/* hamburger cursor */
.res-menu-button, .others-toogle { cursor: pointer; }

/* ---------- Area search / poll ---------- */
.t3-local-form .form-select { font-size: 14px; padding: 6px 24px 6px 8px; }
.t3-local-btn { margin-top: 8px; width: 100%; border: 0; padding: 8px; background: var(--t3-primary,#134d68); color: #fff; border-radius: 3px; }
.t3-poll .wp-polls-ul { list-style: none; padding: 0; margin: 10px 0; }
.t3-poll .wp-polls-ul li { position: relative; padding: 8px 10px; margin-bottom: 6px; border: 1px solid #e0e0e0; border-radius: 3px; cursor: pointer; overflow: hidden; }
.t3-poll .wp-polls-ul li label { cursor: pointer; margin-left: 6px; position: relative; z-index: 1; }
.t3-poll .wp-polls-ul li i { position: relative; z-index: 1; color: var(--t3-primary,#134d68); }
.t3-poll .pollbar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(19,77,104,.15); z-index: 0; }
.t3-poll .t3-poll-perc { float: right; font-weight: 700; position: relative; z-index: 1; }
.t3-poll .t3-poll-total { text-align: center; font-weight: 700; }
.t3-poll-img img { width: 100%; border-radius: 3px; margin-bottom: 8px; }

/* ---------- Footer bottom / credit ---------- */
.t3-footer-bottom { background: var(--t3-primary,#134d68); color: #fff; font-size: 14px; padding: 10px 0; }
.t3-fb-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.t3-footer-bottom a { color: #fff; font-weight: 700; }
@media (max-width: 767px) { .t3-fb-inner { justify-content: center; text-align: center; } }

/* ---------- Load more / misc ---------- */
.t3-loadmore-wrap { text-align: center; margin: 20px 0; }
.t3-loadmore { display: inline-block; border: 1px solid var(--t3-primary,#134d68); color: var(--t3-primary,#134d68); background: #fff; padding: 8px 28px; font-size: 16px; border-radius: 3px; cursor: pointer; }
.t3-loadmore:hover { background: var(--t3-primary,#134d68); color: #fff; }
.t3-loadmore[disabled] { opacity: .6; cursor: wait; }
.t3-empty { text-align: center; color: #777; padding: 20px 0; }
.t3-copy-link.copied::after { content: ' ✓'; }
.t3-next-sep { border-top: 4px solid var(--t3-primary,#134d68); margin: 30px 0; position: relative; }
.t3-next-sep span { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--t3-primary,#134d68); color: #fff; padding: 2px 14px; font-size: 14px; }
.pitw_adv img, .t3-ad img { max-width: 100%; height: auto; }
/* category sidebar list spacing + offcanvas secondary links */
.politics-news-loop .news-item-list { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #e5e5e5; }
.politics-news-loop .news-item-list:last-child { border-bottom: 0; margin-bottom: 0; }
.t3-oc-nav .t3-oc-extra { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 16px; }
.t3-oc-nav .t3-oc-extra li { border: 0 !important; }
.t3-oc-nav .t3-oc-extra li a { display: inline-block; padding: 5px 12px !important; border: 1px solid #dde3e6; border-radius: 20px; font-size: 14px; }

/* ==========================================================
 *  v3.0.2 corrections
 * ========================================================== */
/* (1) Mobile: gap between the 4 news under the lead news */
@media (max-width: 991px) {
  .top-section .lead-below-item { padding-top: 12px; padding-bottom: 12px !important; border-right: 0 !important; border-bottom: 1px solid #e5e5e5; }
  .top-section .lead-below-item:last-child { border-bottom: 0; }
  .top-section .lead-below-item .news-item-list { display: flex; gap: 10px; align-items: flex-start; }
  .top-section .lead-news { padding-bottom: 4px; }
}

/* (3) Mobile: area news filters (বিভাগ / জেলা / উপজেলা) */
.t3-local-form { display: block !important; width: 100%; }
.t3-local-form .row { --bs-gutter-x: 6px; --bs-gutter-y: 6px; display: flex; flex-wrap: nowrap; margin-left: -3px; margin-right: -3px; }
.t3-local-form .row > .col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; padding-left: 3px; padding-right: 3px; }
.t3-local-form .form-select {
  display: block; width: 100%; max-width: 100%; height: 38px; line-height: 1.2; font-size: 14px; color: #333; background-color: #fff;
  border: 1px solid #cfd6dd; border-radius: 3px; padding: 6px 22px 6px 8px;
  background-position: right 6px center; background-size: 12px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: none;
}
.t3-local-form .form-select:disabled { background-color: #f3f5f7; color: #777; }
.t3-local-btn { height: 38px; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 767px) {
  .t3-local-form .form-select { font-size: 14px; padding: 6px 20px 6px 6px; background-position: right 4px center; }
}

/* (5) Audio news player: close button + round reopen button */
.mft-tts-player .t3-tts-close {
  position: absolute; top: -10px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: #e53935; color: #fff; font-size: 12px; line-height: 24px; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.mft-tts-player.t3-tts-min { display: none !important; }
.t3-tts-bubble {
  position: fixed; right: 16px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--t3-primary,#134d68); color: #fff; font-size: 21px; cursor: pointer;
  display: none; align-items: center; justify-content: center; z-index: 99999;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); animation: t3Pulse 2s infinite;
}
body.t3-tts-closed .t3-tts-bubble { display: flex; }
@keyframes t3Pulse { 0%{box-shadow:0 0 0 0 rgba(19,77,104,.45)} 70%{box-shadow:0 0 0 12px rgba(19,77,104,0)} 100%{box-shadow:0 0 0 0 rgba(19,77,104,0)} }
@media (max-width: 767px) { .t3-tts-bubble { bottom: 70px; right: 12px; width: 48px; height: 48px; } }

/* (8) Copy link share icon */
.share-icons .icons a.t3-copy-link { position: relative; }
.share-icons .icons a.t3-copy-link .t3-copied-tip {
  display: none; position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%);
  background: #222; color: #fff; font-size: 12px; line-height: 1; padding: 5px 8px; border-radius: 3px; white-space: nowrap;
}
.share-icons .icons a.t3-copy-link.copied .t3-copied-tip { display: block; }
.share-icons .icons a.t3-copy-link.copied { background: #1b9e4b !important; }

/* (9)(10) Reporter: Follow button + designation icon + followers */
.reporter .t3-writer-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reporter .t3-writer-head h5 { margin-bottom: 0 !important; }
.t3-follow-btn {
  display: inline-flex; align-items: center; border: 1px solid var(--t3-primary,#134d68);
  color: var(--t3-primary,#134d68); background: transparent; border-radius: 4px;
  padding: 0 6px; font-size: 12.5px; font-weight: 700; line-height: 1.5; cursor: pointer; white-space: nowrap;
}
.t3-follow-btn:hover, .t3-follow-btn:focus, .t3-follow-btn.is-following { background: transparent; color: var(--t3-primary,#134d68); outline: none; box-shadow: none; }
.t3-follow-btn.busy { opacity: .6; }
.reporter .auth_info .t3-desig { display: block; font-size: 14px; line-height: 1.4; margin-top: 3px; color: #555; }
.reporter .auth_info .t3-desig i { color: var(--t3-primary,#134d68); margin-right: 3px; font-size: 13px; }
.t3-follow-count { font-weight: 700; }
.reporter .auth_info .t3-meta-line .t3-desig,
.reporter .auth_info .t3-meta-line .t3-followers { display: block; font-size: 14px; line-height: 1.4; margin-top: 3px; color: #555; }
.reporter .auth_info .t3-followers i { color: var(--t3-primary,#134d68); margin-right: 3px; font-size: 13px; }
/* Mobile: designation + follower count side by side */
.reponsive-meta .reporter .auth_info .t3-meta-line { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.reponsive-meta .reporter .auth_info .t3-meta-line .t3-desig,
.reponsive-meta .reporter .auth_info .t3-meta-line .t3-followers { display: inline-block; }
.reponsive-meta .reporter .auth_info .t3-followers i { display: none; } /* mobile: no icon for followers */
.reponsive-meta .reporter .auth_info .t3-meta-line .t3-desig,
.reponsive-meta .reporter .auth_info .t3-meta-line .t3-followers,
.reponsive-meta .reporter .auth_info .t3-meta-line .t3-follow-count { font-size: 14px; line-height: 1.4; font-weight: 400; color: #555; margin-top: 3px; }
.reponsive-meta .reporter .auth_info .t3-meta-line .t3-follow-count { display: inline; margin-top: 0; }
/* mobile: comma between designation and follower count */
.reponsive-meta .reporter .auth_info .t3-meta-line .t3-desig:not(:last-child)::after { content: ","; }
.reponsive-meta .reporter .auth_info .t3-meta-line { column-gap: 5px; }

/* (11) Post title + content size from Admin > Post Settings (like your old design) */
.main-content .post-title .main-title.t3-post-title { font-size: var(--tt_post_title_fs, 28px); line-height: 1.4; }
.main-content .t3-post-content,
.main-content .t3-post-content p,
.main-content .t3-post-content span,
.main-content .t3-post-content li,
.main-content .t3-post-content div,
.main-content .t3-post-content blockquote {
  font-family: "Noto Serif Bengali", "SolaimanLipi", "Noto Sans Bengali", serif !important;
  font-size: var(--tt_post_content_fs, 21px) !important;
  font-weight: 400; line-height: 1.8 !important; text-align: justify !important;
}
.main-content .t3-post-content p { margin-top: 16px; }
.main-content .t3-post-content strong, .main-content .t3-post-content b { font-weight: 700 !important; }
.main-content .t3-post-content .pitw_adv, .main-content .t3-post-content .pitw_adv * { font-family: inherit !important; text-align: center !important; }
@media (max-width: 767px) {
  .main-content .post-title .main-title.t3-post-title { font-size: calc(var(--tt_post_title_fs, 28px) - 4px); }
}

/* v3.0.4 - post audio player: same design as the default site player (only the close button is extra) */
#mftTTSPlayer .t3-tts-close, #mftTTSPlayer .t3-tts-close * { color: #fff !important; font-size: 12px !important; }

/* v3.0.4 - back-to-top button: a little higher + bigger (all Theme 3 pages) */
.topbutton { bottom: 54px; right: 15px; width: 38px; height: 38px; line-height: 38px; text-align: center; z-index: 99990; }
.topbutton i { font-size: 38px; line-height: 38px; display: block; }
@media (max-width: 767px) { .topbutton { bottom: 60px; right: 12px; } }

/* v3.0.4 - round "listen" button: mobile only, sits right above the back-to-top button, same size */
.t3-tts-bubble { display: none !important; }
@media (max-width: 767px) {
  body.t3-tts-closed .t3-tts-bubble {
    display: flex !important; width: 38px; height: 38px; right: 12px; bottom: 108px; font-size: 17px; z-index: 99990;
  }
}
