/* বিজ্ঞাপনের জায়গা (resources/views/frontend/partials/ad-slot.blade.php) */
.dp-ad { position: relative; display: block; width: 100%; margin: 18px 0; padding: 0; text-align: center; overflow: hidden; clear: both; }
.dp-ad-label { display: block; margin-bottom: 4px; font-size: 11.5px; line-height: 1.2; letter-spacing: .04em; color: #8a97ab; text-transform: uppercase; }
.dp-ad ins.adsbygoogle { display: block; width: 100%; }
.dp-ad img { display: inline-block; max-width: 100%; height: auto; border-radius: 8px; }

/* লোড হওয়ার সময় পেজ যেন না লাফায় — জায়গার ন্যূনতম উচ্চতা */
.dp-ad.is-adsense { min-height: 100px; }
.dp-ad--doctors_feed.is-adsense, .dp-ad--blog_list_feed.is-adsense, .dp-ad--blog_article_mid.is-adsense { min-height: 120px; }
.dp-ad--doctors_sidebar.is-adsense { min-height: 250px; }

/* গুগল বিজ্ঞাপন না দিলে জায়গাটা লুকিয়ে যায় */
.dp-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }

/* অ্যাডমিন প্রিভিউ বক্স */
.dp-ad-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 100px; padding: 14px; border: 2px dashed #9db4d6; border-radius: 10px; background: #f3f7fd; color: #35507c; }
.dp-ad-preview b { font-size: 15px; }
.dp-ad-preview small { font-size: 13px; color: #5b7096; }
.dp-ad--doctors_sidebar .dp-ad-preview { min-height: 250px; }

/* ডিভাইস অনুযায়ী */
@media (max-width: 767.98px) { .dp-ad--desktop { display: none; } }
@media (min-width: 768px) { .dp-ad--mobile { display: none; } }

/* ব্লগ-তালিকার গ্রিডে বিজ্ঞাপন পুরো সারি জুড়ে */
.dpb-grid > .dp-ad { grid-column: 1 / -1; }

/* নিজস্ব ব্যানার: ছবি যত বড়ই হোক, উচ্চতা সীমার মধ্যে থাকে (অনুপাত ঠিক রেখে ছোট হয়) */
.dp-ad.is-house img { width: auto; max-width: 100%; max-height: 160px; object-fit: contain; }
.dp-ad--doctors_sidebar.is-house img { max-height: 600px; }
@media (max-width: 767.98px) { .dp-ad.is-house img { max-height: 120px; } }
