/* BMS News — all colors/fonts come from Elementor global kit (Site Settings) */
:root {
	--bms-primary: var(--e-global-color-primary, #1A7F1F);
	--bms-red: var(--e-global-color-secondary, #E3242B);
	--bms-text: var(--e-global-color-text, #222);
	--bms-pink: var(--e-global-color-accent, #EC1A6E);
	--bms-dark: var(--e-global-color-bmsdark, #111);
	--bms-light: var(--e-global-color-bmsgreenlight, #E6F4E8);
	--bms-green-dark: var(--e-global-color-bmsgreendark, #0E6614);
	--bms-border: var(--e-global-color-bmsborder, #E3E3E3);
	--bms-muted: var(--e-global-color-bmsmuted, #6B6B6B);
	--bms-bg: var(--e-global-color-bmsbg, #F5F6F7);
	--bms-fh: var(--e-global-typography-primary-font-family, "SolaimanLipi"), "SolaimanLipi", "Noto Sans Bengali", sans-serif;
	--bms-fb: var(--e-global-typography-text-font-family, "SolaimanLipi"), "SolaimanLipi", "Noto Sans Bengali", sans-serif;
	--bms-shadow: 0 1px 5px rgba(0, 0, 0, .13);
}

body { font-family: var(--bms-fb); color: var(--bms-text); }
.bms-block a, .bms-st a, .bms-tabs a, .bms-article a, .bms-footer a { text-decoration: none; }
.bms-title { font-family: var(--bms-fh); font-weight: var(--e-global-typography-primary-font-weight, 600); color: var(--bms-dark); margin: 0; line-height: 1.4; }
.bms-title a { color: var(--bms-dark); transition: color .2s; }
.bms-title a:hover { color: var(--bms-primary); }
.bms-shoulder { color: var(--bms-red); }
.bms-shoulder::after { content: " /"; }
.bms-excerpt { margin: 8px 0 0; color: #444; font-size: 16px; line-height: 1.7; text-align: justify; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bms-date { color: var(--bms-muted); font-size: 13px; margin-top: 8px; }
.bms-empty { padding: 14px; background: var(--bms-bg); color: var(--bms-muted); font-size: 14px; text-align: center; }

/* Thumbnails */
.bms-thumb { position: relative; display: block; overflow: hidden; background: #e9ecef; }
.bms-thumb.r169 { aspect-ratio: 16 / 9; }
.bms-thumb.r43 { aspect-ratio: 4 / 3; }
.bms-thumb.r11 { aspect-ratio: 1 / 1; }
.bms-thumb.r32 { aspect-ratio: 3 / 2; }
.bms-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .4s ease; max-width: none; }
.bms-card:hover .bms-thumb img { transform: scale(1.04); }
.bms-noimg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--bms-light), #cfd8d0); }
.bms-ic { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; color: var(--bms-red); filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.bms-ic svg { width: 100%; height: 100%; display: block; }
.bms-card--list .bms-ic { width: 28px; height: 28px; }
.bms-card--overlay .bms-ic { left: auto; right: 14px; top: 14px; transform: none; width: 34px; height: 34px; }

/* Cards */
.bms-card { position: relative; }
.bms-card--big .bms-card__body { padding-top: 12px; }
.bms-card--big .bms-title { font-size: 28px; line-height: 1.35; font-weight: 700; }
.bms-card--box { background: #fff; box-shadow: var(--bms-shadow); height: 100%; display: flex; flex-direction: column; }
.bms-card--box .bms-card__body { padding: 10px 12px 14px; flex: 1; }
.bms-card--box .bms-title { font-size: 17px; }
.bms-card--list { display: grid; grid-template-columns: 42% 1fr; gap: 12px; align-items: start; padding: 10px 0; }
.bms-card--list .bms-title { font-size: 16px; line-height: 1.45; }
.bms-card--text { padding: 9px 0 9px 16px; position: relative; }
.bms-card--text::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; background: var(--bms-primary); }
.bms-card--text .bms-title { font-size: 16px; font-weight: 500; }
.bms-card--overlay { height: 100%; }
.bms-card--overlay .bms-thumb { height: 100%; }
.bms-card--overlay .bms-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); pointer-events: none; }
.bms-card--overlay .bms-title { font-size: 18px; }
.bms-card--overlay .bms-title a, .bms-card--overlay .bms-date, .bms-card--overlay .bms-excerpt { color: #fff; pointer-events: auto; }
.bms-card--video .bms-card__body { padding-top: 10px; }
.bms-card--video .bms-title { font-size: 17px; }

/* Block layouts */
.bms-grid { display: grid; grid-template-columns: repeat(var(--bms-cols, 3), minmax(0, 1fr)); gap: 20px; }
.bms-block.has-divider.bms-block--list .bms-card + .bms-card,
.bms-block.has-divider.bms-block--text .bms-card + .bms-card,
.bms-block.has-divider .bms-sublist .bms-card + .bms-card { border-top: 1px solid var(--bms-border); }
.bms-block--list .bms-card:first-child { padding-top: 0; }
.bms-block--big .bms-card + .bms-card { margin-top: 20px; }
.bms-block--big_list .bms-card--big .bms-title { font-size: 19px; }
.bms-block--big_list .bms-card--big { margin-bottom: 6px; }
.bms-block.is-dark .bms-title a, .bms-block.is-dark .bms-date { color: #fff; }
.bms-block.is-dark .bms-title a:hover { color: #ffd2d2; }
.bms-block--video:first-child .bms-grid { gap: 16px; }
.bms-more-wrap { text-align: right; margin-top: 10px; }
.bms-more { display: inline-block; background: var(--bms-red); color: #fff !important; padding: 3px 14px; font-size: 14px; border-radius: 2px; }

/* Section titles */
.bms-st { display: flex; margin: 0; }
.bms-st.align-center { justify-content: center; }
.bms-st__h { margin: 0; font-family: var(--bms-fh); font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--bms-dark); }
.bms-st__h a, .bms-st__h > span { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.bms-st__arrow { display: inline-flex; width: 18px; height: 18px; color: var(--bms-red); }
.bms-st__arrow svg { width: 100%; height: 100%; }
.bms-st--pill .bms-st__h { background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); padding: 6px 12px 6px 12px; }
.bms-st--banner { margin: 0 -15px; background: #CDEBD2; background: color-mix(in srgb, var(--bms-primary) 18%, #fff); padding: 6px 15px; justify-content: center; }
.bms-st--banner .bms-st__arrow { display: none; }
.bms-st--line { border-bottom: 2px solid var(--bms-primary); padding-bottom: 6px; }
.bms-st--line .bms-st__h { font-size: 19px; }
.bms-st--dark { border-bottom: 3px solid var(--bms-red); padding-bottom: 8px; }
.bms-st--dark .bms-st__h { color: #fff; font-size: 20px; }
.bms-st--boxed { background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); padding: 7px 10px; }
.bms-st--boxed .bms-st__h { font-size: 19px; }
.bms-st--boxed .bms-st__h a, .bms-st--boxed .bms-st__h > span { flex-direction: row-reverse; }

/* Tabs */
.bms-tabs { border: 1px solid var(--bms-border); background: #fff; }
.bms-tabs__nav { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--bms-border); }
.bms-tabs__btn { appearance: none; background: #fff; border: 0; border-bottom: 3px solid transparent; padding: 9px 6px; font-family: var(--bms-fh); font-size: 16px; font-weight: 500; color: var(--bms-text); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 0; }
.bms-tabs__btn i { display: none; width: 14px; height: 14px; color: var(--bms-red); }
.bms-tabs__btn i svg { width: 100%; height: 100%; }
.bms-tabs__btn.is-active { border-bottom-color: var(--bms-primary); font-weight: 700; color: var(--bms-dark); background: #fff; }
.bms-tabs__btn.is-active i { display: inline-flex; }
.bms-tabs__btn:hover, .bms-tabs__btn:focus { background: var(--bms-bg); color: var(--bms-dark); }
.bms-tabs__pane { display: none; }
.bms-tabs__pane.is-active { display: block; }
.bms-tabs__scroll { max-height: 340px; overflow-y: auto; padding: 4px 10px; scrollbar-width: thin; }
.bms-tabs .bms-card--list { grid-template-columns: 82px 1fr; gap: 10px; padding: 8px 0; }
.bms-tabs .bms-card--list + .bms-card--list { border-top: 1px solid var(--bms-border); }
.bms-tabs .bms-card--list .bms-title { font-size: 15px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bms-tabs__more { text-align: right; padding: 8px 10px; border-top: 1px solid var(--bms-border); }
.bms-tabs__more a { background: var(--bms-red); color: #fff; padding: 3px 12px; font-size: 14px; }

/* Sidebar boxes (prayer / poll / weather) */
.bms-box { border: 1px solid #ddd; background: #fff; }
.bms-box__head { background: linear-gradient(90deg, var(--bms-green-dark), var(--bms-primary) 55%, color-mix(in srgb, var(--bms-primary) 70%, #fff)); color: #fff; font-family: var(--bms-fh); font-size: 21px; font-weight: 500; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bms-box__body { padding: 12px 14px; }
.bms-prayer__sel { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); font-size: 13px; padding: 2px 4px; border-radius: 3px; max-width: 105px; font-family: var(--bms-fb); }
.bms-prayer__sel option { color: #222; }
.bms-prayer__table { width: 100%; border-collapse: collapse; margin: 0; font-size: 16px; }
.bms-prayer__table th, .bms-prayer__table td { border: 1px solid #ddd; padding: 13px 12px; text-align: left; background: #fff; }
.bms-prayer__table th { width: 35%; font-weight: 700; color: #444; }
.bms-prayer__table td { color: #444; }
.bms-prayer__date { text-align: center; font-size: 13px; color: var(--bms-muted); margin-top: 8px; }

.bms-poll__head { justify-content: center; letter-spacing: .32em; font-size: 22px; }
.bms-poll .bms-box__body { padding: 0; text-align: center; }
.bms-poll__sponsor { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-bottom: 1px solid #e5e5e5; color: var(--bms-primary); font-size: 22px; font-weight: 500; }
.bms-poll__sponsor img { width: 40px; height: 40px; object-fit: contain; }
.bms-poll__q-label { color: var(--bms-red); font-size: 20px; padding: 10px 12px 2px; }
.bms-poll__q { font-size: 17px; line-height: 1.7; padding: 6px 14px; margin: 0; color: #222; }
.bms-poll__opts { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; padding: 8px 10px; font-size: 16px; }
.bms-poll__opts label { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.bms-poll__total { margin: 6px 0 12px; font-size: 16px; }
.bms-poll__total b { color: var(--bms-red); font-weight: 500; }
.bms-poll__msg { margin: 0 12px 10px; font-size: 14px; color: var(--bms-primary); }
.bms-poll__msg.is-err { color: var(--bms-red); }
.bms-poll__btns { display: grid; grid-template-columns: 1fr 1fr; }
.bms-poll__btns button { border: 0; border-radius: 0; color: #fff; font-family: var(--bms-fh); font-size: 19px; padding: 12px 8px; cursor: pointer; }
.bms-poll__vote { background: var(--bms-red); }
.bms-poll__vote:disabled { opacity: .75; cursor: default; }
.bms-poll__show { background: var(--bms-primary); }
.bms-poll__btns button:hover { filter: brightness(1.08); background-color: inherit; }
.bms-poll__vote:hover, .bms-poll__vote:focus { background: var(--bms-red); }
.bms-poll__show:hover, .bms-poll__show:focus { background: var(--bms-primary); }
.bms-poll__results { padding: 4px 14px 6px; text-align: left; }
.bms-poll__bar { position: relative; background: var(--bms-bg); margin: 8px 0; padding: 6px 10px; display: flex; justify-content: space-between; font-size: 15px; overflow: hidden; }
.bms-poll__bar span, .bms-poll__bar b { position: relative; z-index: 1; }
.bms-poll__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--bms-primary) 28%, #fff); transition: width .6s ease; }

.bms-weather .bms-box__body { padding: 0 12px; }
.bms-weather__viewport { height: 236px; overflow: hidden; }
.bms-weather__list { list-style: none; margin: 0; padding: 0; }
.bms-weather__list.is-auto { animation: bms-up 28s linear infinite; }
.bms-weather__viewport:hover .bms-weather__list { animation-play-state: paused; }
@keyframes bms-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.bms-weather__list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dotted #ccc; }
.bms-wicon { width: 64px; height: 64px; background: linear-gradient(#5aa9e6, #9fd3f7); border-radius: 2px; }
.bms-weather__list strong { display: block; font-size: 17px; color: #333; }
.bms-weather__list span { display: block; font-size: 15px; color: #444; }

/* Header */
.bms-datebar { font-size: 14px; color: #444; line-height: 1.5; }
.bms-social { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
.bms-social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; padding: 6px; }
.bms-social a svg { width: 100%; height: 100%; }
.bms-social__facebook { background: #1877F2; }
.bms-social__youtube { background: #FF0000; }
.bms-social__x { background: #000; }
.bms-social__instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.bms-social__linkedin { background: #0A66C2; }
.bms-social a.bms-social__epaper { width: auto; height: 30px; border-radius: 15px; padding: 0 14px; background: var(--bms-primary); font-size: 14px; font-weight: 500; }

.bms-nav-wrap { position: relative; z-index: 99; }
.bms-nav-ph { display: none; }
.bms-nav { display: flex; align-items: center; background: var(--bms-bg); border-top: 1px solid var(--bms-border); border-bottom: 1px solid var(--bms-border); min-height: 46px; padding: 0 6px; gap: 4px; position: relative; }
.bms-nav__logo { display: none; flex: 0 0 auto; margin-right: 6px; }
.bms-nav__logo img { height: 34px; width: auto; display: block; }
.bms-nav__home { display: inline-flex; width: 34px; height: 34px; padding: 6px; color: var(--bms-primary); }
.bms-nav__home svg { width: 100%; height: 100%; }
.bms-nav__list { list-style: none; display: flex; align-items: center; flex-wrap: nowrap; margin: 0; padding: 0; flex: 1; min-width: 0; }
.bms-nav__list > li > a, .bms-nav__more > button { display: block; padding: 11px 10px; color: var(--bms-dark); font-family: var(--bms-fh); font-size: 17px; font-weight: 500; white-space: nowrap; text-decoration: none; position: relative; }
.bms-nav__list > li > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--bms-primary); transform: scaleX(0); transition: transform .2s; }
.bms-nav__list > li > a:hover::after, .bms-nav__list > li.is-active > a::after { transform: scaleX(1); }
.bms-nav__list > li > a:hover { color: var(--bms-primary); }
.bms-nav__more { position: relative; }
.bms-nav__more > button { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; border-radius: 0; }
.bms-nav__more > button:hover, .bms-nav__more > button:focus { background: none; color: var(--bms-primary); }
.bms-nav__more > button svg { width: 20px; height: 20px; }
.bms-nav__mega { display: none; position: absolute; right: -60px; top: 100%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); border-top: 3px solid var(--bms-primary); padding: 12px; min-width: 420px; z-index: 50; }
.bms-nav__more.is-open .bms-nav__mega, .bms-nav__more:hover .bms-nav__mega { display: block; }
.bms-nav__mega ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 10px; }
.bms-nav__mega a { display: block; padding: 7px 8px; color: var(--bms-dark); font-size: 16px; border-bottom: 1px dotted #ddd; }
.bms-nav__mega a:hover { color: var(--bms-primary); background: var(--bms-light); }
.bms-nav__search-btn, .bms-nav__toggle { background: none; border: 0; border-left: 1px solid var(--bms-border); width: 46px; height: 40px; padding: 10px; color: var(--bms-dark); cursor: pointer; border-radius: 0; flex: 0 0 auto; }
.bms-nav__search-btn:hover, .bms-nav__toggle:hover, .bms-nav__search-btn:focus, .bms-nav__toggle:focus { background: none; color: var(--bms-primary); }
.bms-nav__search-btn svg, .bms-nav__toggle svg { width: 100%; height: 100%; }
.bms-nav__toggle { display: none; border: 0; }
.bms-nav__search { display: none; position: absolute; right: 0; top: 100%; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.15); padding: 10px; width: 340px; max-width: 100vw; z-index: 60; }
.bms-nav.search-open .bms-nav__search { display: flex; }
.bms-nav__search input, .bms-drawer__search input { flex: 1; border: 1px solid var(--bms-border); padding: 8px 10px; font-family: var(--bms-fb); font-size: 15px; border-radius: 0; }
.bms-nav__search button, .bms-drawer__search button { width: 44px; background: var(--bms-primary); border: 0; color: #fff; padding: 10px; border-radius: 0; }
.bms-nav__search button svg, .bms-drawer__search button svg { width: 100%; height: 100%; }
.bms-nav-wrap.is-fixed .bms-nav { position: fixed; top: 0; left: 0; right: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: 0 max(12px, calc((100vw - 1200px) / 2)); border-top: 0; }
.admin-bar .bms-nav-wrap.is-fixed .bms-nav { top: 32px; }
.bms-nav-wrap.is-fixed .bms-nav__logo { display: block; }
.bms-nav-wrap.is-fixed .bms-nav__home { display: none; }
.bms-nav-wrap.is-fixed .bms-nav-ph { display: block; }

.bms-drawer { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99999; }
.bms-drawer[hidden] { display: none; }
.bms-drawer__in { position: absolute; left: 0; top: 0; bottom: 0; width: 300px; max-width: 85vw; background: #fff; overflow-y: auto; padding: 16px; }
.bms-drawer__close { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; background: none; border: 0; padding: 6px; color: #333; }
.bms-drawer__logo { max-width: 200px; margin: 6px 0 14px; display: block; }
.bms-drawer__search { display: flex; margin-bottom: 10px; }
.bms-drawer ul { list-style: none; margin: 0; padding: 0; }
.bms-drawer li a { display: block; padding: 10px 4px; border-bottom: 1px solid #eee; color: var(--bms-dark); font-size: 17px; text-decoration: none; }

.bms-ticker { display: flex; align-items: stretch; border: 1px solid var(--bms-border); background: #fff; height: 38px; overflow: hidden; }
.bms-ticker__label { background: var(--bms-primary); color: #fff; font-family: var(--bms-fh); font-weight: 700; font-size: 17px; padding: 0 14px; display: flex; align-items: center; white-space: nowrap; position: relative; }
.bms-ticker__label::after { content: ""; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left-color: var(--bms-primary); border-right: 0; }
.bms-ticker__track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; padding-left: 12px; }
.bms-ticker__move { display: inline-flex; white-space: nowrap; animation: bms-marquee var(--bms-speed, 60s) linear infinite; will-change: transform; }
.bms-ticker:hover .bms-ticker__move { animation-play-state: paused; }
.bms-ticker__move a { color: var(--bms-dark); font-size: 16px; padding: 0 22px 0 14px; position: relative; text-decoration: none; }
.bms-ticker__move a::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; background: var(--bms-red); border-radius: 50%; }
.bms-ticker__move a:hover { color: var(--bms-primary); }
@keyframes bms-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bms-ticker__ctrl { display: flex; border-left: 1px solid var(--bms-border); }
.bms-ticker__ctrl button { width: 30px; background: #fff; border: 0; padding: 6px; color: #333; cursor: pointer; border-radius: 0; }
.bms-ticker__ctrl button:hover, .bms-ticker__ctrl button:focus { background: var(--bms-bg); color: var(--bms-primary); }

/* District search */
.bms-district { display: flex; flex-direction: column; gap: 8px; }
.bms-district__title { text-align: center; font-family: var(--bms-fh); font-size: 20px; font-weight: 600; padding: 7px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); margin-bottom: 6px; }
.bms-district select { width: 100%; padding: 8px 10px; border: 1px solid #ccc; background: #fff; font-family: var(--bms-fb); font-size: 15px; color: #333; border-radius: 0; }
.bms-district__go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #bbb; background: #fff; color: #333; padding: 8px; font-family: var(--bms-fb); font-size: 16px; cursor: pointer; border-radius: 0; }
.bms-district__go:hover, .bms-district__go:focus { background: var(--bms-primary); color: #fff; border-color: var(--bms-primary); }
.bms-district__go svg { width: 16px; height: 16px; }

.bms-epaper a { display: block; border: 1px solid var(--bms-border); padding: 8px; text-decoration: none; }
.bms-epaper__img { display: block; background: var(--bms-bg); padding: 10px; }
.bms-epaper__img img { display: block; width: 100%; height: auto; }
.bms-epaper__txt { display: block; text-align: center; color: var(--bms-primary); font-size: 15px; padding-top: 8px; }

/* Footer */
.bms-footer__top { display: flex; align-items: center; gap: 20px; border: 1px solid var(--bms-border); padding: 10px 14px; }
.bms-footer__logo img { height: 46px; width: auto; display: block; }
.bms-footer__menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-around; flex: 1; margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--bms-border); gap: 4px 10px; }
.bms-footer__menu a { color: #333; font-size: 15px; }
.bms-footer__menu a:hover { color: var(--bms-primary); }
.bms-footer__info { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--bms-border); border-top: 0; }
.bms-footer__col { padding: 16px 18px; font-size: 16px; line-height: 1.6; }
.bms-footer__col + .bms-footer__col { border-left: 1px solid var(--bms-border); }
.bms-footer__col p { margin: 0 0 6px; }
.bms-footer__copy { text-align: center; font-size: 14px; color: var(--bms-muted); padding: 14px 6px 0; }

/* Single article */
.bms-article { padding-bottom: 20px; }
.bms-article + .bms-article { border-top: 4px solid var(--bms-primary); padding-top: 26px; margin-top: 20px; }
.bms-article__cat { display: inline-flex; align-items: center; gap: 6px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); padding: 4px 10px; margin-bottom: 14px; }
.bms-article__cat a { color: var(--bms-dark); font-size: 16px; font-weight: 600; }
.bms-article__cat span { display: inline-flex; color: var(--bms-red); }
.bms-article__cat svg { width: 12px; height: 14px; margin-left: -3px; }
.bms-article__shoulder { color: var(--bms-red); font-size: 18px; margin-bottom: 4px; }
.bms-article__title { font-family: var(--bms-fh); font-size: 34px; line-height: 1.35; font-weight: 700; color: var(--bms-dark); margin: 0 0 8px; }
.bms-article__sub { font-size: 19px; color: #555; margin-bottom: 8px; }
.bms-article__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 0 12px; border-bottom: 1px solid var(--bms-border); margin-bottom: 14px; }
.bms-article__reporter { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 5px; }
.bms-article__reporter svg { width: 15px; height: 15px; color: var(--bms-red); }
.bms-article__reporter a { color: var(--bms-primary); }
.bms-article__date { font-size: 13px; color: var(--bms-muted); margin-top: 2px; }
.bms-share { display: flex; gap: 6px; flex-wrap: wrap; }
.bms-share a, .bms-share button { width: 30px; height: 30px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; padding: 6px; color: #fff; border: 0; cursor: pointer; }
.bms-share svg { width: 100%; height: 100%; }
.bms-share__facebook { background: #1877F2; }
.bms-share__linkedin { background: #0A66C2; }
.bms-share__x { background: #000; }
.bms-share__whatsapp { background: #25D366; }
.bms-share__messenger { background: linear-gradient(45deg, #0695FF, #A334FA, #FF6968); }
.bms-share__copy, .bms-share__copy:hover, .bms-share__copy:focus { background: #666; }
.bms-share__print, .bms-share__print:hover, .bms-share__print:focus { background: var(--bms-primary); }
.bms-share__copy.is-done { background: var(--bms-primary); }
.bms-article__img { margin: 0 0 16px; }
.bms-article__img img { width: 100%; height: auto; display: block; }
.bms-article__img figcaption { font-size: 14px; color: var(--bms-muted); padding: 6px 0; border-bottom: 1px solid var(--bms-border); }
.bms-video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 16px; background: #000; }
.bms-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bms-article__content { font-size: 19px; line-height: 1.85; text-align: justify; color: #222; }
.bms-article__content p { margin: 0 0 16px; }
.bms-article__content img { max-width: 100%; height: auto; }
.bms-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.bms-article__tags a { background: #EFF1F4; color: #1d5fbf; font-size: 13px; padding: 6px 12px; border-radius: 2px; }
.bms-article__tags a:hover { background: var(--bms-primary); color: #fff; }
.bms-article__more { margin-top: 22px; }
.bms-article__more .bms-st { margin-bottom: 14px; }
.bms-single__next-label { border: 1px solid var(--bms-border); padding: 14px; font-size: 17px; margin: 10px 0 24px; }
.bms-single__next-label a { color: #1d5fbf; text-decoration: underline; }
.bms-single__loader { height: 60px; display: flex; align-items: center; justify-content: center; }
.bms-single__loader span { width: 30px; height: 30px; border: 3px solid var(--bms-border); border-top-color: var(--bms-primary); border-radius: 50%; animation: bms-spin .8s linear infinite; }
.bms-single__loader.is-done { display: none; }
@keyframes bms-spin { to { transform: rotate(360deg); } }
.bms-sticky { position: sticky; top: 64px; }
.admin-bar .bms-sticky { top: 96px; }

/* Archive */
.bms-archive-title { margin-bottom: 14px; }
.bms-subterms { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.bms-subterms a { border: 1px solid var(--bms-border); padding: 4px 10px; font-size: 14px; color: var(--bms-dark); }
.bms-subterms a:hover { background: var(--bms-primary); color: #fff; border-color: var(--bms-primary); }
.bms-archive__lead { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--bms-border); }
.bms-archive__lead-side { display: flex; flex-direction: column; gap: 20px; }
.bms-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.bms-pagination .page-numbers { border: 1px solid var(--bms-border); padding: 6px 13px; color: var(--bms-dark); font-size: 15px; text-decoration: none; }
.bms-pagination .page-numbers.current, .bms-pagination a.page-numbers:hover { background: var(--bms-primary); color: #fff; border-color: var(--bms-primary); }

/* Home helpers */
.bms-lead-row { border-bottom: 1px solid var(--bms-border); padding-bottom: 18px !important; }
.bms-lead-left { border-right: 1px solid var(--bms-border); padding-right: 18px !important; }
.bms-lead-main .bms-card--big .bms-title { font-size: 30px; }
.bms-catbox .bms-card--big .bms-title { font-size: 18px; }
.bms-photo-sec .bms-grid > .bms-card:first-child { grid-column: span 2; grid-row: span 2; }
.bms-photo-sec .bms-grid > .bms-card:first-child .bms-title { font-size: 24px; }
.bms-photo-sec .bms-card--overlay .bms-thumb { aspect-ratio: auto; min-height: 200px; }
.bms-video-sec .bms-block--video .bms-card:only-child .bms-title { font-size: 22px; }

/* Responsive */
@media (max-width: 1024px) {
	.bms-grid { grid-template-columns: repeat(var(--bms-cols-t, 2), minmax(0, 1fr)); }
	.bms-nav__list, .bms-nav__home { display: none; }
	.bms-nav__toggle { display: block; }
	.bms-nav { justify-content: space-between; }
	.bms-nav__logo { display: block; margin: 0 auto; }
	.bms-card--big .bms-title, .bms-lead-main .bms-card--big .bms-title { font-size: 24px; }
	.bms-catbox { width: 48% !important; }
}
@media (max-width: 767px) {
	.bms-grid { grid-template-columns: repeat(var(--bms-cols-m, 1), minmax(0, 1fr)); gap: 14px; }
	.bms-card--box .bms-title { font-size: 15px; }
	.bms-card--big .bms-title, .bms-lead-main .bms-card--big .bms-title { font-size: 22px; }
	.bms-article__title { font-size: 25px; }
	.bms-article__content { font-size: 18px; }
	.bms-lead-left { border-right: 0; padding-right: 0 !important; }
	.bms-datebar { text-align: center; font-size: 13px; }
	.bms-social { justify-content: center; }
	.bms-footer__top { flex-direction: column; }
	.bms-footer__menu { border-left: 0; padding: 0; justify-content: center; }
	.bms-footer__info { grid-template-columns: 1fr; }
	.bms-footer__col + .bms-footer__col { border-left: 0; border-top: 1px solid var(--bms-border); }
	.bms-archive__lead { grid-template-columns: 1fr; }
	.bms-photo-sec .bms-grid > .bms-card:first-child { grid-column: auto; grid-row: auto; }
	.bms-catbox { width: 100% !important; }
	.bms-ticker__ctrl { display: none; }
	.bms-sticky { position: static; }
	.admin-bar .bms-nav-wrap.is-fixed .bms-nav { top: 0; }
}
@media print {
	.bms-header-top, .bms-header-nav, .bms-ticker, .bms-sidebar, .bms-share, .bms-article__more, .bms-single__next-label, .bms-single__stream, .bms-footer { display: none !important; }
}

/* Theme (Hello) button/link overrides — keep widget styling intact */
body .bms-poll .bms-poll__btns button { border: 0; border-radius: 0; color: #fff; }
body .bms-poll .bms-poll__btns .bms-poll__vote, body .bms-poll .bms-poll__btns .bms-poll__vote:hover, body .bms-poll .bms-poll__btns .bms-poll__vote:focus { background-color: var(--bms-red); color: #fff; }
body .bms-poll .bms-poll__btns .bms-poll__show, body .bms-poll .bms-poll__btns .bms-poll__show:hover, body .bms-poll .bms-poll__btns .bms-poll__show:focus { background-color: var(--bms-primary); color: #fff; }
body .bms-district .bms-district__go { border: 1px solid #bbb; color: #333; background: #fff; border-radius: 0; }
body .bms-district .bms-district__go:hover, body .bms-district .bms-district__go:focus { background: var(--bms-primary); color: #fff; border-color: var(--bms-primary); }
body .bms-tabs .bms-tabs__btn { border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--bms-text); background: #fff; }
body .bms-tabs .bms-tabs__btn.is-active { border-bottom-color: var(--bms-primary); color: var(--bms-dark); }
body .bms-nav button, body .bms-ticker button, body .bms-drawer button { border-radius: 0; }
body .bms-nav .bms-nav__more > button { border: 0; color: var(--bms-dark); background: none; }
body .bms-nav .bms-nav__search-btn { border: 0; border-left: 1px solid var(--bms-border); background: none; color: var(--bms-dark); }
body .bms-nav .bms-nav__toggle { border: 0; background: none; color: var(--bms-dark); }
body .bms-ticker .bms-ticker__ctrl button { border: 0; background: #fff; color: #333; }
body .bms-drawer .bms-drawer__close { border: 0; background: none; color: #333; }
body .bms-share button { border: 0; color: #fff; }
.bms-st--dark .bms-st__h, .bms-st--dark .bms-st__h a, .bms-st--dark .bms-st__h > span { color: #fff !important; }
.bms-block.is-dark .bms-title a { color: #fff !important; }
.bms-tabs__more a, .bms-more { color: #fff !important; }
.bms-social a { color: #fff !important; }
.bms-ticker__move a { color: var(--bms-dark); }
@media (max-width: 1024px) {
	.bms-nav__logo { display: none; }
	.bms-nav-wrap.is-fixed .bms-nav__logo { display: block; }
}
@media (max-width: 767px) {
	.bms-order-m2 { order: 2; }
	.bms-header-top { gap: 6px !important; }
}
.bms-poll [hidden], .bms-prayer [hidden] { display: none !important; }

/* ===== v1.1 ===== */
:root {
	--bms-navy: var(--e-global-color-bmsnavy, #2E2A7E);
	--bms-orange: var(--e-global-color-bmsorange, #F58634);
	--bms-adbg: var(--e-global-color-bmsadbg, #C4C4C4);
}

/* Slanted tab title (ফিচার / প্রবাস / গণমাধ্যম / ধর্ম) */
.bms-st--slant { background: #DDDDDD; width: 100%; }
.bms-st--slant .bms-st__h { background: var(--bms-navy); color: #fff; font-size: 19px; font-weight: 500; padding: 3px 38px 3px 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); line-height: 1.55; }
.bms-st--slant .bms-st__h a, .bms-st--slant .bms-st__h > span { color: #fff !important; }
.bms-st--slant .bms-st__arrow { display: none; }

/* Division links under সারাদেশ */
.bms-st-wrap.has-subs { border-bottom: 1px solid var(--bms-border); padding-bottom: 10px; }
.bms-st__subs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bms-st__subs a { position: relative; padding-left: 16px; color: var(--bms-dark); font-size: 16px; text-decoration: none; }
.bms-st__subs a::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; background: #E8452C; background: var(--bms-red); }
.bms-st__subs a:hover { color: var(--bms-primary); }

/* Archive calendar */
.bms-acal { border-radius: 4px; overflow: hidden; background: #E9E9E9; border: 1px solid #ddd; }
.bms-acal__head { background: var(--bms-orange); color: #222; text-align: center; font-family: var(--bms-fh); font-weight: 700; font-size: 20px; padding: 8px; }
.bms-acal__body { padding: 14px 10px 10px; }
.bms-acal__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.bms-acal__btns a { display: block; text-align: center; background: #fff; border: 1px solid var(--bms-orange); border-radius: 6px; padding: 8px 4px; color: #222 !important; font-size: 15px; text-decoration: none; }
.bms-acal__btns a:hover { background: var(--bms-orange); color: #fff !important; }
.bms-acal__sels { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bms-acal__sels select { width: 48%; padding: 4px 6px; border: 1px solid #333; background: #fff; font-family: var(--bms-fb); font-size: 15px; border-radius: 0; color: #222; }
.bms-acal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; background: #fff; }
.bms-acal__grid th { background: #EEF2DC; font-size: 14px; font-weight: 600; padding: 8px 2px; border: 1px solid #ddd; text-align: center; color: #222; }
.bms-acal__grid td { border: 1px solid #ddd; text-align: center; padding: 0; height: 38px; background: #fff; }
.bms-acal__grid td a, .bms-acal__grid td span { display: flex; align-items: center; justify-content: center; height: 38px; font-size: 15px; text-decoration: none; }
.bms-acal__grid td a { color: #222; font-weight: 600; }
.bms-acal__grid td span { color: #aaa; }
.bms-acal__grid td a:hover { background: color-mix(in srgb, var(--bms-orange) 25%, #fff); }
.bms-acal__grid td.is-today a, .bms-acal__grid td.is-today span, .bms-acal__grid td.is-sel a { background: var(--bms-orange); color: #fff; }
.bms-acal__grid td.is-empty { background: #f4f4f4; }
.bms-acal.is-loading .bms-acal__grid tbody { opacity: .5; }

/* Ad space */
.bms-ad { text-align: center; }
.bms-ad__label { font-size: 11px; color: var(--bms-muted); letter-spacing: .05em; margin-bottom: 4px; }
.bms-ad img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.bms-ad__ph { background: var(--bms-adbg); min-height: var(--bms-ad-h, 90px); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; padding: 8px 10px; font-family: Arial, Helvetica, sans-serif; }
.bms-ad__l1 { font-size: 26px; letter-spacing: .35em; font-weight: 700; line-height: 1.25; }
.bms-ad__l2 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.bms-ad--box .bms-ad__l1 { font-size: 20px; letter-spacing: .25em; }
.bms-ad--box .bms-ad__l2 { font-size: 16px; }
.bms-ad--leader .bms-ad__ph { max-width: 970px; margin: 0 auto; }
@media (max-width: 767px) {
	.bms-ad__ph { min-height: var(--bms-ad-hm, var(--bms-ad-h, 90px)); }
	.bms-ad__l1 { font-size: 17px; letter-spacing: .2em; }
	.bms-ad__l2 { font-size: 14px; }
	.bms-st__subs { gap: 6px 16px; }
}

/* ===== v1.2 dynamic ads ===== */
.bms-ad__list { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.bms-ad__item { width: 100%; text-align: center; }
.bms-ad__item img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.bms-ad__list.is-slider { display: grid; gap: 0; }
.bms-ad__list.is-slider > .bms-ad__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.bms-ad__list.is-slider > .bms-ad__item.is-active { opacity: 1; visibility: visible; }
.bms-ad--inarticle { margin: 10px 0 18px; }
@media (max-width: 767px) { .bms-only-desktop { display: none !important; } }
@media (min-width: 768px) { .bms-only-mobile { display: none !important; } }

/* ===== v1.3 ===== */
body, button, input, select, textarea { font-family: var(--bms-fb); }

/* Ticker: bigger, light-green */
.bms-ticker { height: 46px; border-color: color-mix(in srgb, var(--bms-primary) 30%, #fff); background: var(--bms-light); }
.bms-ticker__label { font-size: 20px; padding: 0 18px; }
.bms-ticker__track { background: var(--bms-light); }
.bms-ticker__move a, body .bms-ticker__move a { font-size: 19px; font-weight: 600; color: var(--bms-green-dark); padding: 0 26px 0 18px; }
.bms-ticker__move a::before { width: 9px; height: 9px; margin-top: -4px; background: var(--bms-primary); }
.bms-ticker__move a:hover { color: var(--bms-red); }
body .bms-ticker .bms-ticker__ctrl button { background: var(--bms-light); color: var(--bms-green-dark); }
@media (max-width: 767px) { .bms-ticker { height: 40px; } .bms-ticker__label { font-size: 17px; padding: 0 12px; } .bms-ticker__move a, body .bms-ticker__move a { font-size: 17px; } }

/* Tighter spacing between posts */
.bms-grid { gap: 12px; }
.bms-card--list { padding: 7px 0; gap: 10px; }
.bms-card--text { padding: 6px 0 6px 16px; }
.bms-card--text::before { top: 14px; }
.bms-card--box .bms-card__body { padding: 8px 10px 10px; }
.bms-card--big .bms-card__body { padding-top: 8px; }
.bms-excerpt { margin-top: 5px; }
.bms-date { margin-top: 5px; }
.bms-block--big .bms-card + .bms-card { margin-top: 12px; }
.bms-block--big_list .bms-card--big { margin-bottom: 2px; }
.bms-lead-row { padding-bottom: 12px !important; }
.bms-article__more { margin-top: 16px; }
.bms-st--banner { padding: 4px 15px; }
@media (max-width: 767px) { .bms-grid { gap: 10px; } }

/* Visitor counter */
.bms-visitors__t { width: 100%; border-collapse: collapse; margin: 0; font-size: 16px; }
.bms-visitors__t th, .bms-visitors__t td { border: 1px solid #e3e3e3; padding: 9px 10px; background: #fff; }
.bms-visitors__t th { text-align: left; font-weight: 600; color: #444; }
.bms-visitors__t td { text-align: right; font-weight: 700; color: var(--bms-green-dark); }
.bms-visitors__t tr.is-total td { color: var(--bms-red); font-size: 18px; }
.bms-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; margin-right: 6px; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: bms-pulse 1.6s infinite; }
@keyframes bms-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Share market link under জেলার খবর */
.bms-share-mkt { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 12px; background: linear-gradient(90deg, var(--bms-green-dark), var(--bms-primary)); color: #fff !important; text-decoration: none; border-radius: 3px; }
.bms-share-mkt:hover { filter: brightness(1.08); }
.bms-share-mkt__ic { width: 34px; height: 34px; flex: 0 0 34px; background: rgba(255,255,255,.18); border-radius: 50%; padding: 7px; }
.bms-share-mkt__ic svg, .bms-share-mkt__go svg { width: 100%; height: 100%; display: block; }
.bms-share-mkt__t { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.bms-share-mkt__t b { font-size: 18px; }
.bms-share-mkt__t small { font-size: 12.5px; opacity: .9; }
.bms-share-mkt__go { width: 20px; height: 20px; }
.bms-share-mkt__ex { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.bms-share-mkt__ex a { text-align: center; border: 1px solid var(--bms-primary); color: var(--bms-primary) !important; padding: 5px; font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: .05em; }
.bms-share-mkt__ex a:hover { background: var(--bms-primary); color: #fff !important; }
/* Auto-fill extra headlines (revealed by JS when there is empty space) */
.bms-fill .bms-fill-x { display: none; }
.bms-fill .bms-fill-x.is-on { display: block; }
.bms-fill .bms-card--list.bms-fill-x.is-on { display: grid; }
.bms-fill .bms-card--box.bms-fill-x.is-on { display: flex; }
.bms-block--text.bms-fill .bms-card:first-child, .bms-block--text.bms-fill .bms-card.is-first { border-top: 0; }

/* Visitor countries */
.bms-countries { margin-top: 12px; }
.bms-countries__h { font-weight: 700; font-size: 16px; color: var(--bms-dark); padding-bottom: 6px; border-bottom: 2px solid var(--bms-primary); margin-bottom: 4px; }
.bms-countries__h small { font-weight: 400; color: var(--bms-muted); font-size: 13px; }
.bms-countries__list { list-style: none; margin: 0; padding: 0; }
.bms-countries__list li { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-bottom: 1px dotted #ddd; font-size: 15px; overflow: hidden; }
.bms-countries__list li > * { position: relative; z-index: 1; }
.bms-countries__list li i { position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; background: var(--bms-light); }
.bms-countries__n { flex: 1; }
.bms-countries__list b { color: var(--bms-green-dark); }
.bms-flag { width: 24px; height: 18px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.1); flex: 0 0 24px; }
.bms-flag--x { box-shadow: none; text-align: center; line-height: 18px; font-size: 15px; }
.bms-countries__empty { font-size: 14px; color: var(--bms-muted); margin: 6px 0 0; }
