/* =====================================================================
   দেশের আয়না — ভিত্তি স্টাইল (আগের থিমের Bootstrap reboot ও style.css-এর
   যে নিয়মগুলো নকশায় প্রভাব ফেলত, শুধু সেগুলো)
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { font-family: "Noto Serif Bengali", serif !important; font-optical-sizing: auto; font-weight: 600; font-style: normal; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-size: 1rem; line-height: 1.5; color: #212529; background-color: #fff; -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; line-height: 1.2; font-weight: 700; }
h1 { font-size: calc(1.375rem + 1.5vw); } h2 { font-size: calc(1.325rem + .9vw); } h3 { font-size: calc(1.3rem + .6vw); } h4 { font-size: calc(1.275rem + .3vw); } h5 { font-size: 1.25rem; } h6 { font-size: 1rem; }
@media (min-width: 1200px) { h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } }
p { margin-top: 0; margin-bottom: 1rem; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
b, strong { font-weight: bolder; }
small { font-size: .875em; }
a { color: #fff; text-decoration: none; outline: medium none; }
button { color: #fff; outline: medium none; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
figure { margin: 0 0 1rem; }
table { caption-side: bottom; border-collapse: collapse; }
button, input, select, textarea { margin: 0; font-size: inherit; line-height: inherit; }
button, select { text-transform: none; }
button, [type=button], [type=submit] { -webkit-appearance: button; }
button:not(:disabled), [type=button]:not(:disabled), [type=submit]:not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }
hr { border-bottom: 1px solid #eceff8; border-top: 0 none; margin: 30px 0; padding: 0; }
blockquote { margin: 0 0 1rem; }
pre, code { font-family: ui-monospace, Consolas, monospace !important; }
iframe { border: 0; max-width: 100%; }
/* বিজ্ঞাপনের জায়গা */
.dr-adslot { position: relative; max-width: 100%; text-align: center; }
.dr-adslot .dr-adunit { display: block; max-width: 100%; }
.dr-adslot .dr-adlabel { display: block; margin: 0 0 4px; font-size: 11px; line-height: 1.2; letter-spacing: .4px; color: #5A5563; text-align: center; }
.dr-adslot .dr-adlink { display: block; max-width: 100%; line-height: 0; text-decoration: none; border: 0; }
.dr-adslot .dr-adlink:focus-visible { outline: 2px solid #0F6236; outline-offset: 2px; }
.dr-adslot picture { display: block; }
.dr-adslot img.dr-adimg { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; }
.dr-adslot .dr-adph img.dr-adimg { width: 100%; }
.dr-adslot-box .dr-adph img.dr-adimg { max-width: 300px; }
.dr-adslot .dr-adcode { max-width: 100%; overflow: hidden; }
.dr-adslot .dr-adcode iframe, .dr-adslot .dr-adcode img { max-width: 100%; }

/* "বিজ্ঞাপন দিন এখানে" ইমেজের নিচের যোগাযোগ */
.dr-adslot .dr-adcontact { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 14px; margin: 8px 0 0; font-size: 13px; line-height: 1.7; font-weight: 600; color: #5A5563; text-align: center; }
.dr-adslot .dr-adcontact span { font-weight: 600; }
.dr-adslot .dr-adcontact i { display: none; }
.dr-adslot .dr-adcontact a { display: inline-block; color: #0F6236; font-weight: 700; text-decoration: none; border: 0; white-space: nowrap; }
.dr-adslot .dr-adcontact a:hover { color: #D7191F; text-decoration: underline; }

/* ডিভাইস অনুযায়ী লুকানো */
@media (min-width: 768px) { .dr-adslot .dr-ad-hd { display: none !important; } }
@media (max-width: 767px) { .dr-adslot .dr-ad-hm { display: none !important; } }

@media (max-width: 767px) {
	.dr-adslot .dr-adcontact { font-size: 12.5px; }
}

@media print {
	.dr-adslot { display: none !important; }
}

/* লেখার ভেতরের ভিডিও, টেবিল, গ্যালারি (পুরনো ব্লক এডিটরের অংশ) */
.dn-embed { margin: 0 0 1.4em; }
.dn-embed-in { position: relative; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; }
.dn-embed-in iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dn-table { width: 100%; overflow-x: auto; margin: 0 0 1.2em; }
.dn-table table { width: 100%; min-width: 420px; }
.dn-table td, .dn-table th { border: 1px solid #E2DFE7; padding: 8px 10px; }
.wp-block-gallery, .blocks-gallery-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; }
.wp-block-gallery > figure, .wp-block-gallery .wp-block-image, .blocks-gallery-item { flex: 1 1 calc(50% - 8px); margin: 0; }
.wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.wp-block-image { margin: 0 0 1.2em; }
.wp-block-image img { height: auto; }
.wp-block-image figcaption, .wp-element-caption { font-size: 14px; color: #5A5563; padding-top: 6px; }
.wp-block-separator { border: 0; border-top: 1px solid #DDD9E3; margin: 1.6em auto; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; margin: 0 0 1em 1em; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.dn-preview-bar { background: #FFF4D6; color: #6B4E00; border: 1px solid #F3D88A; padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; font-size: 15px; }
/* ভুল মাপের বড় ছবির বিজ্ঞাপনও যেন পাতা না ভাঙে */
.dr-adslot-wide .dr-adunit:not(.dr-adph) img.dr-adimg { max-height: 300px; width: auto; max-width: 100%; }
.dr-adslot-box .dr-adunit:not(.dr-adph) img.dr-adimg { max-height: 620px; width: auto; }
