/* বিজ্ঞাপনের জায়গা (DailyDesherayna-র মাপ ও নিয়ম অনুযায়ী)।
   ক্লাসের নামে "ad" নেই, যাতে অ্যাড-ব্লকার পুরো অংশ লুকিয়ে না দেয়। */
.nb-slot { position: relative; max-width: 100%; text-align: center; }
.nb-slot .nb-unit { display: block; max-width: 100%; }
.nb-slot .nb-label { display: block; margin: 0 0 4px; font-size: 11px; line-height: 1.2; letter-spacing: .4px; color: #5A5563; text-align: center; }
.nb-slot .nb-link { display: block; max-width: 100%; line-height: 0; text-decoration: none; border: 0; }
.nb-slot .nb-link:focus-visible { outline: 2px solid #b4231d; outline-offset: 2px; }
.nb-slot picture { display: block; }
.nb-slot img.nb-img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; }
.nb-slot .nb-ph img.nb-img { width: 100%; }
.nb-slot-box .nb-ph img.nb-img { max-width: 300px; }
.nb-slot .nb-code { max-width: 100%; overflow: hidden; }
.nb-slot .nb-code iframe, .nb-slot .nb-code img { max-width: 100%; }

/* ভুল মাপের বড় ছবির বিজ্ঞাপনও যেন পাতা না ভাঙে */
.nb-slot-wide .nb-unit:not(.nb-ph) img.nb-img { max-height: 300px; width: auto; max-width: 100%; }
.nb-slot-box .nb-unit:not(.nb-ph) img.nb-img { max-height: 620px; width: auto; }

/* "বিজ্ঞাপন দিন এখানে" ছবির নিচের যোগাযোগ */
.nb-slot .nb-contact { 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; }
.nb-slot .nb-contact span { font-weight: 600; }
.nb-slot .nb-contact i { display: none; }
.nb-slot .nb-contact a { display: inline-block; color: #b4231d; font-weight: 700; text-decoration: none; border: 0; white-space: nowrap; }
.nb-slot .nb-contact a:hover { color: #7f1612; text-decoration: underline; }

/* ডিভাইস অনুযায়ী লুকানো */
@media (min-width: 768px) { .nb-slot .nb-hd { display: none !important; } }
@media (max-width: 767px) { .nb-slot .nb-hm { display: none !important; } }
@media (max-width: 767px) { .nb-slot .nb-contact { font-size: 12.5px; } }
@media print { .nb-slot { display: none !important; } }

/* প্লেসমেন্টের অবস্থান */
.nb-ad-wide { margin: 28px auto 0; max-width: 970px; }
.nb-ad-stop { margin: 0 auto 22px; max-width: 970px; }
.nb-ad-inline { margin: 26px 0 0; }
.prose-article .nb-ad-inline { margin: 28px 0; clear: both; }
.nb-ad-box { margin-bottom: 26px; }
.nb-ad-foot { margin-bottom: 28px; }
.nb-ad-row { grid-column: 1 / -1; width: 100%; max-width: 970px; margin: 0 auto; }
.nb-ad-archive { margin: 0 auto 22px; max-width: 970px; }

/* হেডার: লোগোর ডানে (শুধু ডেস্কটপে) */
.nb-ad-header { min-width: 0; width: 100%; max-width: 728px; justify-self: center; }
@media (min-width: 992px) {
  .news-header__grid.has-header-ad { grid-template-columns: auto minmax(0, 728px) auto; justify-content: space-between; row-gap: 0; }
  .news-header__grid.has-header-ad .news-header__date { grid-column: 1 / -1; grid-row: 1; justify-content: flex-start; padding-top: 10px; }
  .news-header__grid.has-header-ad .news-header__date-line { font-size: 14px; }
  .news-header__grid.has-header-ad .news-header__date-line svg { width: 14px; height: 14px; margin-top: 2px; }
  .news-header__grid.has-header-ad > .news-logo,
  .news-header__grid.has-header-ad > .nb-ad-header,
  .news-header__grid.has-header-ad > .news-header__social { padding: 6px 0 4px; }
}
@media (max-width: 991px) { .nb-ad-header { display: none !important; } }
