@font-face {
    font-family: "Dhurjati";
    src: url("../fonts/dhurjati.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* Ticker 1: use the supplied Telugu display face. */
html body #rn-viewport-tickers .rn-breaking-ticker-text {
    font-family: "Dhurjati", "Noto Sans Telugu", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: .1px !important;
}

/* No reserved air between the ticker stack and its lower boundary. */
html body #rn-viewport-tickers.rn-viewport-tickers {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

@media (min-width: 700px) {
    html body #rn-viewport-tickers.rn-viewport-tickers {
        bottom: 0 !important;
    }
}

@media (max-width: 699px) {
    html body #rn-viewport-tickers.rn-viewport-tickers {
        bottom: var(--rn-site-bottom-menu-height, 68px) !important;
        transform: translateY(calc(8px + var(--rn-v5-ticker-mobile-y, 0px))) !important;
    }
}

@media (min-width: 1181px) {
    html body #rn-viewport-tickers.rn-viewport-tickers {
        transform: translateY(var(--rn-v5-ticker-desktop-y, 0px)) !important;
    }
}

@media (min-width: 700px) and (max-width: 1180px) {
    html body #rn-viewport-tickers.rn-viewport-tickers {
        transform: translateY(var(--rn-v5-ticker-tablet-y, 0px)) !important;
    }
}

/* Desktop sidebar brand: reliable source, compact and fully visible. */
@media (min-width: 981px) {
    html body .rn-desktop-sidebar .rn-desktop-brand-image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 70px !important;
        padding: 7px 12px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    html body .rn-desktop-sidebar .rn-desktop-brand-image img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        height: auto !important;
        max-width: 116px !important;
        max-height: 58px !important;
        object-fit: contain !important;
    }
}

/* Exact desktop news balance: 40% media and 60% content. */
@media (min-width: 1181px) {
    html body.rn-show-feed-tickers .rn-feed-card .rn-feed-image {
        height: 40% !important;
        min-height: 40% !important;
        max-height: 40% !important;
        flex: 0 0 40% !important;
    }

    html body.rn-show-feed-tickers .rn-feed-card .rn-news-body-area {
        flex: 0 0 60% !important;
        min-height: 0 !important;
        height: 60% !important;
        max-height: 60% !important;
        box-sizing: border-box !important;
    }

    html body.rn-show-feed-tickers .rn-feed-card .rn-feed-excerpt {
        -webkit-line-clamp: 9 !important;
        line-clamp: 9 !important;
        max-height: calc(1.55em * 9) !important;
    }
}

@media (max-width: 699px) {
    html body #rn-viewport-tickers .rn-breaking-ticker-text {
        font-size: 16px !important;
    }
}
