/* Bolta Pakistan V16.2.9 — non-cropping ad render + reporter form fixes */

/* ----- Ads: labels sit outside the creative; creative itself keeps exact placement ratio ----- */
.top-ad,.footer-ad,.display-ad,.sidebar-ad,.global-top-ad,.mobile-sticky-ad,.bp-news-header-ad{
  aspect-ratio:auto!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  background:transparent!important;
}
.top-ad>.ad-label,.footer-ad>.ad-label,.display-ad>.ad-label,.sidebar-ad>.ad-label,.global-top-ad>.ad-label,.mobile-sticky-ad>.ad-label,.bp-news-header-ad>.ad-label{
  position:static!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0 0 5px!important;
  padding:0!important;
  background:transparent!important;
  color:#87909b!important;
  font-size:8px!important;
  line-height:1.2!important;
  letter-spacing:.65px!important;
  text-align:left!important;
  text-transform:uppercase!important;
}

/* 970 x 90 placements */
.top-ad>a,.footer-ad>a,.global-top-ad>a,.bp-news-header-ad>a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:970/90!important;
  overflow:hidden!important;
  border-radius:10px!important;
  background:#fff!important;
}
.top-ad>a>img,.footer-ad>a>img,.global-top-ad>a>img,.bp-news-header-ad>a>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}

/* 728 x 90 article/banner placement */
.display-ad:not(.rail .display-ad)>a{
  display:flex!important;
  width:100%!important;
  aspect-ratio:728/90!important;
  overflow:hidden!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
}
.display-ad:not(.rail .display-ad)>a>img{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;max-height:none!important;
}

/* 300 x 600 sidebar — never silently convert this to 300 x 250 on mobile */
.sidebar-ad,.rail .sidebar-ad{
  width:min(300px,100%)!important;
  margin-left:auto!important;margin-right:auto!important;
}
.sidebar-ad>a,.rail .sidebar-ad>a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:300/600!important;
  overflow:hidden!important;
  background:#fff!important;
}
.sidebar-ad>a>img,.rail .sidebar-ad>a>img{
  width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:#fff!important;
}

/* 300 x 250 tile */
.rail .display-ad{
  width:min(300px,100%)!important;
  margin-left:auto!important;margin-right:auto!important;
}
.rail .display-ad>a{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;aspect-ratio:300/250!important;overflow:hidden!important;background:#fff!important;
}
.rail .display-ad>a>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:#fff!important;}

/* 320 x 50 mobile sticky */
.mobile-sticky-ad{
  overflow:visible!important;
}
.mobile-sticky-ad>a{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;aspect-ratio:320/50!important;overflow:hidden!important;background:#fff!important;
}
.mobile-sticky-ad>a>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:#fff!important;}

/* placeholders themselves represent the exact creative canvas */
.ad-placeholder[data-ad-width="970"][data-ad-height="90"]{aspect-ratio:970/90!important;}
.ad-placeholder[data-ad-width="728"][data-ad-height="90"]{aspect-ratio:728/90!important;}
.ad-placeholder[data-ad-width="300"][data-ad-height="600"]{aspect-ratio:300/600!important;}
.ad-placeholder[data-ad-width="300"][data-ad-height="250"]{aspect-ratio:300/250!important;}
.ad-placeholder[data-ad-width="320"][data-ad-height="50"]{aspect-ratio:320/50!important;}

/* ----- Reporter Application V2 ----- */
.reporter-application-v2{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;}
.reporter-application-v2 .reporter-v2-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;}
.reporter-application-v2 .reporter-v2-head h1{margin:6px 0 8px;font-size:34px;}
.reporter-v2-form{width:100%!important;max-width:1000px!important;margin:0 auto!important;padding:24px!important;}
.reporter-v2-section{border:1px solid #e4e9e6;border-radius:15px;padding:18px;margin-bottom:16px;background:#fff;}
.reporter-v2-section h3{margin:0 0 14px;font-size:18px;}
.reporter-v2-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.reporter-v2-field{min-width:0!important;display:block!important;}
.reporter-v2-field label,.reporter-v2-form>label{display:block!important;margin-bottom:6px!important;font-size:12px!important;font-weight:800!important;}
.reporter-v2-field input,.reporter-v2-field select,.reporter-v2-form input,.reporter-v2-form select,.reporter-v2-form textarea{
  display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:44px!important;height:auto!important;margin:0 0 12px!important;padding:11px 12px!important;border:1px solid #d8dfe0!important;border-radius:9px!important;background:#fff!important;color:#111827!important;
}
.reporter-v2-form textarea{min-height:110px!important;resize:vertical!important;}
.reporter-v2-field input[readonly]{background:#f5f7f6!important;color:#374151!important;}
.reporter-v2-note{padding:12px 14px;margin-bottom:16px;border:1px solid #cde7d3;border-radius:12px;background:#f0f8f2;color:#173921;line-height:1.55;}
.reporter-v2-submit{display:flex;justify-content:flex-end;}
.reporter-v2-submit button{min-width:230px;}
@media(max-width:820px){
  .reporter-v2-grid{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:620px){
  .reporter-application-v2 .reporter-v2-head{display:block;}
  .reporter-application-v2 .reporter-v2-head .btn{display:inline-block;margin-top:10px;}
  .reporter-v2-grid{grid-template-columns:1fr!important;}
  .reporter-v2-form{padding:14px!important;}
  .reporter-v2-section{padding:14px!important;}
  .reporter-v2-submit button{width:100%;min-width:0;}
}
