@import url('https://fonts.maateen.me/solaiman-lipi/font.css');


.button {
  background-color: #cc0000; /* Green */
  border: none;
  color: white;
  padding: 9px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.button1 {border-radius: 2px;}
.button2 {border-radius: 4px;}
.button3 {border-radius: 8px;}
.button4 {border-radius: 12px;}
.button5 {border-radius: 50%;}

body, article, h1, h2, h3, h4, h5, h6, textarea, input, select, .topbar, .main-menu, .breadcrumb, .copyrights-area, form span.required, .p-title {
        font-family: 'SolaimanLipi', Arial, sans-serif !important;
      }

body.print-body p{
  font-size: 18px;
  text-align: justify;
}

body.print-body {
  width: 230mm;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  margin: auto!important;
}
body.print-body img{
  text-align: center;
}


.time.text-center.p-date {
    color: #fff;
    padding: 5px 0;
    width: 100%;
    background-color: #cc0000;
}

.text-center {
    text-align: center;
}

@media print {
  body {
   
  }
}

h2.p-title {
    font-weight: 700;
    text-align: center;
    padding: 0;
    margin: 30px 0;
    font-size: 34px;
}

.content-center {
  margin: auto;
  border: 2px solid #000000;
}
.news-details-print{
  padding: 10px;
}

.news-details-print
  img {
    max-width: 100%;
    height: auto;
    width: 100%!important;
}


@media print
{    
    .no-print, .no-print *
    {
        display: none !important;
    }
}

.print-copyright p{
  text-align: center;
  margin: 10px!important;
}
/* Print and image download buttons */
.print-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 18px auto 25px;
  width: 100%;
}

.print-action-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #000;
  border-radius: 5px;
  background: #e00000;
  color: #fff;
  padding: 10px 18px;
  min-height: 44px;
  font-family: 'SolaimanLipi', Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}

.print-action-btn:hover,
.print-action-btn:focus {
  background: #b80000;
  color: #fff;
}

.print-action-btn:disabled {
  opacity: .7;
  cursor: wait;
}

@media (max-width: 600px) {
  .print-actions {
    gap: 8px;
    margin: 14px auto 20px;
  }
  .print-action-btn {
    padding: 9px 12px;
    font-size: 16px;
  }
}

@media print {
  .print-actions,
  .print-actions * {
    display: none !important;
  }
}

/* Keep downloaded copyright after the editor/contact block and centered. */
.print-copyright > strong {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}


/* Exact visual centering for the print-date bar.
 * Keep the date as normal inline content and center it with flexbox.
 * No absolute positioning/translate is used, preventing duplicate/ghost
 * Bengali text in html2canvas and keeping the date centered at every width.
 */
.p-date {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  padding: 0 6px !important;
}

.pbn-date-centered-text {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  transform-origin: initial !important;
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: center !important;
  line-height: 1.2 !important;
}
