/* ===========================
   Local Fonts Import
   =========================== */

/* Ramabhadra Font (Headline) */
@font-face {
    font-family: 'Ramabhadra';
    src: url('../fonts/Ramabhadra-Regular.woff2') format('woff2'),
         url('../fonts/Ramabhadra-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* JIMS Font (Body) */
@font-face {
    font-family: 'JIMS';
    src: url('../fonts/JIMS-Regular.woff2') format('woff2'),
         url('../fonts/JIMS Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ===========================
   Base Styles (SCOPE: print page only)
   =========================== */

/* apply only inside the print page (.print-body) so global site is not affected */
.print-body,
.print-body article,
.print-body h1,
.print-body h2,
.print-body h3,
.print-body h4,
.print-body h5,
.print-body h6,
.print-body textarea,
.print-body input,
.print-body select,
.print-body .topbar,
.print-body .main-menu,
.print-body .breadcrumb,
.print-body .copyrights-area,
.print-body form span.required {
    font-family: 'JIMS', sans-serif !important; /* Default body font (only inside print) */
}

.print-body {
  font-family: 'JIMS', sans-serif !important;
  font-weight: 500;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}


.print-body p {
  font-size: 20px;
  line-height: 1.2;
  word-spacing: 0px;     /* ✅ Telugu కి చాలా ఎక్కువ spacing avoid */
  letter-spacing: 0px;   /* ✅ narrow kerning */
  text-align: justify;
  text-justify: inter-word; /* ✅ prevent Telugu words breaking */
  hyphens: auto;            /* ✅ proper word wrap (browser supported) */
  margin-bottom: 1px;
  color: #000000;
}


/* news details inside print body */
.print-body .news-details-print {
  column-gap: 40px;          /* ✅ columns మధ్య gap uniform */
  text-align-last: left;     /* ✅ last line center కాకుండా left */
  line-break: loose;         /* ✅ Telugu smoother wrap */
}

/* Column layout refinement (kept values same) */
.print-body .news-details-print {
  column-gap: 27px;         /* ✅ Columns మధ్య proper gap */
  font-kerning: normal;
  hyphens: auto;            /* ✅ Telugu line breaks naturalగా */
}

.print-body img {
  text-align: center;
  max-width: 100%;
}

/* ===========================
   Header Date + Editor
   =========================== */
.print-body .time.text-center.p-date {
    color: #fff;
    padding: 5px 0;
    width: 100%;
    background-color: #106634;
}

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

/* content-center inside print only */
.print-body .content-center {
  text-align: center;
  margin: auto;
  border: 2px solid #106634;
}

/* ===========================
   Headline (Ramabhadra)
   =========================== */

.print-body h2.p-title {
    font-family: 'Ramabhadra', sans-serif !important;
    font-weight: 500 !important;   /* Bold headline */
    text-align: center;
    padding: 0;
    margin: 10px 0;
    color: red !important; /* 🔴 Headline red */
    line-height: 1.2;   /* Telugu cut కాకుండా fix */

    /* ✅ Balanced responsive font-size (values kept same as you provided) */
    font-size: clamp(28px, 3.2vw + 10px, 40px);
}

/* ✅ Mobile-friendly adjustment (kept your values) */
@media (max-width: 768px) {
  .print-body h2.p-title {
    font-size: clamp(50px, 6vw + 10px, 40px);
    line-height: 1.3; /* Slightly higher line spacing for small screens */
  }
}

/* ===========================
   News Details
   =========================== */
.print-body .news-details-print {
  padding: 10px;
}

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

/* ===========================
   Floating Buttons
   =========================== */
.print-body .print-float {
  position:fixed;
  width:auto;
  height:auto;
  bottom:40px;
  right:10%;
}

@media print {    
    .print-body .no-print, .print-body .no-print * {
        display: none !important;
    }
    .print-body img {
        width: 100%!important;
    }
}

/* ===========================
   Copyright Section
   =========================== */
.print-body .print-copyright p {
  text-align: center;
  margin: 10px!important;
}

/* ===========================
   Buttons
   =========================== */
.print-body a.btn.red {
    background: red;
    color: white;
    padding: 5px;
    text-decoration: none;
    font-size: 22px;
}

.print-body a.btn.green {
    background: green;
    color: white;
    padding: 5px ;
    text-decoration: none;
    font-size: 22px;
}

.print-body a.btn {
    border-radius: 5px;
    margin: 5px;
}

.print-body a.btn img {
    max-height: 18px;
    filter: brightness(0) invert(1);
}
