@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Telugu:wght@400;500;700;800;900&display=swap');

body, article, h1, h2, h3, h4, h5, h6, textarea, input, select, .p-title {
    font-family: 'Noto Sans Telugu', Arial, sans-serif !important;
}

body.print-body {
    min-height: 100%;
    margin: 0 auto !important;
    padding: 0;
    background: #e9eef7;
    color: #151515;
}

.jv-paper {
    background: #ffffff !important;
    margin: 0 auto;
    border: 3px solid #0b7a3b;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    overflow: hidden;
}

.jv-topbar {
    height: 14px;
    background: linear-gradient(90deg,#0b7a3b 0%,#0b7a3b 25%,#ffcc00 25%,#ffcc00 50%,#e51d2a 50%,#e51d2a 75%,#1349b7 75%,#1349b7 100%);
}

.jv-header {
    padding: 12px 18px 10px;
    background: radial-gradient(circle at top left,#fff7c8 0,#ffffff 32%,#eef4ff 72%,#fff 100%);
    text-align: center;
    border-bottom: 5px solid #0b7a3b;
    position: relative;
}

.jv-header:before,
.jv-header:after {
    content: '';
    position: absolute;
    top: 18px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    opacity: .18;
}
.jv-header:before { left: 20px; background: #e51d2a; }
.jv-header:after { right: 20px; background: #1349b7; }

.jv-logo-wrap { position: relative; z-index: 2; }
.jv-logo {
    max-width: 360px;
    width: auto;
    max-height: 110px;
    object-fit: contain;
}
.jv-logo-text {
    color: #e51d2a;
    font-size: 48px;
    font-weight: 900;
    text-shadow: 2px 2px 0 #ffcc00;
}

.jv-brand-lines {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 7px;
    font-weight: 800;
    color: #0b7a3b;
    font-size: 16px;
}
.jv-brand-lines span {
    background: #fff;
    border: 1px solid #f0d36b;
    border-radius: 30px;
    padding: 4px 12px;
}

.jv-date-strip {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg,#075b2c,#0d8b47,#075b2c);
}

.jv-title-box {
    margin: 18px 14px 12px;
    padding: 12px 16px 16px;
    border: 3px solid #f2c200;
    border-radius: 16px;
    background: linear-gradient(180deg,#fffdf0,#ffffff);
    box-shadow: inset 0 0 0 2px #fff;
    text-align: center;
}

.jv-breaking {
    display: inline-block;
    background: linear-gradient(90deg,#e51d2a,#ff6b00);
    color: #fff;
    padding: 4px 18px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .8px;
    margin-bottom: 8px;
}

h1.p-title, h2.p-title {
    font-weight: 900;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 35px;
    line-height: 1.22;
    color: #181818;
}

.jv-main-photo,
.jv-inline-photo {
    margin: 10px 14px 8px;
    border: 4px solid #fff;
    outline: 3px solid #f2c200;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.jv-main-photo img,
.jv-inline-photo img,
.news-details-print img {
    display: block;
    max-width: 100%;
    width: 100% !important;
    height: auto;
}

.news-details-print {
    padding: 12px 16px 18px;
    column-gap: 24px;
}

body.print-body p,
.news-details-print p {
    font-size: 18px;
    line-height: 1.48;
    text-align: justify;
    background: white;
    margin: 0 0 10px;
    font-weight: 500;
}

.news-details-print p:first-of-type::first-letter {
    color: #e51d2a;
    font-size: 42px;
    font-weight: 900;
    float: left;
    line-height: .85;
    margin: 6px 6px 0 0;
}

.print-copyright {
    text-align: center;
    font-size: 15px;
    padding: 10px 12px 12px;
    color: #111;
    border-top: 4px solid #0b7a3b;
    background: linear-gradient(90deg,#fff7c8,#ffffff,#eaf1ff);
}
.print-copyright p { text-align: center; margin: 6px !important; }
.jv-footer-brand {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    color: #0b7a3b;
    margin-bottom: 4px;
}
.jv-footer-brand span { color: #e51d2a; font-weight: 900; }

.print-float {
    position: fixed;
    width: auto;
    height: auto;
    bottom: 40px;
    right: 10%;
    z-index: 9999;
}
a.btn {
    border-radius: 8px;
    margin: 5px;
    color: white;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
a.btn.red { background: #e51d2a; }
a.btn.green { background: #0b7a3b; }

@media print {
    body.print-body { background: #fff; }
    .jv-paper { box-shadow: none; }
    .no-print, .no-print * { display: none !important; }
}

@media (max-width: 700px) {
    .jv-date-strip { flex-direction: column; text-align: center; }
    h1.p-title, h2.p-title { font-size: 28px; }
    body.print-body p, .news-details-print p { font-size: 16px; }
}
