/* PDF embed: stable iOS / Android / desktop */
.v2_bnc_news_details_post,
.v2_bnc_about_details_post {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.v2_bnc_news_details_post iframe,
.v2_bnc_news_details_post embed,
.v2_bnc_news_details_post object,
.v2_bnc_about_details_post iframe,
.v2_bnc_about_details_post embed,
.v2_bnc_about_details_post object {
  max-width: 100% !important;
}

.v2_bnc_news_details_post iframe[src*=".pdf"],
.v2_bnc_news_details_post iframe[src*="/pdf/"],
.v2_bnc_about_details_post iframe[src*=".pdf"],
.v2_bnc_about_details_post iframe[src*="/pdf/"] {
  width: 100% !important;
  height: 70vh;
  min-height: 280px;
  border: 0;
}

.pdf-embed {
  width: 100%;
  max-width: 100%;
  margin: 12px 0 20px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f6f7;
  box-sizing: border-box;
}

.pdf-embed__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #1db4c3;
}

.pdf-embed__toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.18);
}

.pdf-embed__toolbar a:hover,
.pdf-embed__toolbar a:focus {
  background: rgba(0, 0, 0, 0.32);
  color: #fff !important;
}

.pdf-embed__toolbar a.is-primary {
  background: #fff94c;
  color: #222 !important;
}

.pdf-embed__frame {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 420px;
  max-height: 900px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #525659;
}

.pdf-embed__frame iframe,
.pdf-embed__frame embed,
.pdf-embed__frame object {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  border: 0 !important;
  background: #525659;
}

.pdf-embed__fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 32px;
  text-align: center;
  background: linear-gradient(180deg, #f8fbfb 0%, #eef6f7 100%);
}

.pdf-embed__fallback i {
  font-size: 42px;
  color: #1db4c3;
  margin-bottom: 12px;
}

.pdf-embed__fallback p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  max-width: 360px;
}

.pdf-embed__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.pdf-embed__fallback a,
.pdf-embed__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  color: #fff !important;
  background: #1db4c3;
}

.pdf-embed__fallback a:hover,
.pdf-embed__fallback a:focus,
.pdf-embed__actions a:hover,
.pdf-embed__actions a:focus {
  background: #189aa7;
  color: #fff !important;
}

.pdf-embed__actions a.is-primary {
  background: #fff94c;
  color: #222 !important;
}

.pdf-embed__actions a.is-primary:hover,
.pdf-embed__actions a.is-primary:focus {
  background: #ffe82e;
  color: #222 !important;
}

.pdf-embed--native .pdf-embed__frame,
.pdf-embed--native .pdf-embed__toolbar,
.pdf-embed--native iframe,
.pdf-embed--native embed,
.pdf-embed--native object {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.pdf-embed--native .pdf-embed__fallback {
  display: flex;
}

@media only screen and (max-width: 991px) {
  .pdf-embed__frame {
    height: 62vh;
    min-height: 280px;
  }

  .pdf-embed__frame iframe,
  .pdf-embed__frame embed,
  .pdf-embed__frame object {
    min-height: 280px;
  }
}

@media only screen and (max-width: 767px) {
  .pdf-embed__toolbar {
    justify-content: stretch;
  }

  .pdf-embed__toolbar a {
    flex: 1 1 calc(50% - 8px);
  }
}
