/*
Theme Name: Prajanetra News Portal
Theme URI: https://wordpress.org/themes/
Author: Prajanetra Media Network
Author URI: https://wordpress.org/
Description: A modern, responsive, high-performance Telugu News Portal WordPress theme designed with clean newspaper architecture, dedicated Telangana & Andhra Pradesh district hubs, 6-column news card grids, real-time breaking news ticker, and multi-tier ad placements.
Version: 1.2.0
Tested up to: 7.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prajanetra-news
Tags: news, newspaper, telugu, responsive-layout, grid-layout, two-columns, custom-menu, featured-images, custom-logo, translation-ready
*/

:root {
  --pn-primary: #0b2545;
  --pn-primary-dark: #07172b;
  --pn-primary-light: #163d6f;
  --pn-red: #c9182b;
  --pn-red-dark: #a11121;
  --pn-gold: #f59e0b;
  --pn-text-dark: #1e293b;
  --pn-text-muted: #64748b;
  --pn-text-light: #94a3b8;
  --pn-bg-page: #f8fafc;
  --pn-bg-card: #ffffff;
  --pn-border: #e2e8f0;
  --pn-border-light: #f1f5f9;
  --pn-radius: 4px;
  --pn-font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --pn-font-telugu: 'Noto Sans Telugu', 'Anek Telugu', 'Segoe UI', sans-serif;
  --pn-font-heading: 'Noto Sans Telugu', 'Anek Telugu', 'Segoe UI', sans-serif;
  --pn-font-title: 'Noto Sans Telugu', 'Anek Telugu', 'Segoe UI', sans-serif;
  --pn-font-body: 'Noto Sans Telugu', 'Anek Telugu', 'Segoe UI', sans-serif;
  --pn-ticker-duration: 24s;
  --pn-container: 1280px;
}

/* Remove date, time, font controls and the unused social-links strip. */
.pn-topbar {
  display: none !important;
}

/* Keep the logo centered and contained in the header. */
.pn-header-wide-container,
.pn-header-inner,
.pn-brand-wrap {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pn-logo-img,
.pn-brand-wrap .custom-logo,
.custom-logo-link img {
  width: min(92vw, 680px) !important;
  max-width: 92vw !important;
  max-height: 96px !important;
  height: auto !important;
  object-fit: contain;
}

@media (max-width: 640px) {
  .pn-header {
    padding: 6px 0 !important;
  }

  .pn-logo-img,
  .pn-brand-wrap .custom-logo,
  .custom-logo-link img {
    width: 92vw !important;
    max-width: 92vw !important;
    max-height: 82px !important;
    height: auto !important;
    object-fit: contain;
  }
}

@media (max-width: 400px) {
  .pn-logo-img,
  .pn-brand-wrap .custom-logo,
  .custom-logo-link img {
    width: 90vw !important;
    max-width: 90vw !important;
    max-height: 70px !important;
  }
}

/* Desktop navigation and branding polish. */
@media (min-width: 1025px) {
  .pn-logo-img,
  .pn-brand-wrap .custom-logo,
  .custom-logo-link img {
    width: min(96vw, 760px) !important;
    max-width: 96vw !important;
    max-height: 120px !important;
  }

  /* One clear indicator for every desktop item that has a submenu. */
  .pn-nav-menu .pn-nav-item.has-children > .pn-dropdown-toggle .pn-nav-arrow {
    display: none !important;
  }

  .pn-nav-menu .pn-nav-item.has-children > .pn-dropdown-toggle::after {
    content: '⌄';
    display: inline-block;
    margin-left: 6px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: currentColor;
    vertical-align: middle;
  }

  .pn-nav-menu .pn-nav-item:not(.has-children) .pn-nav-arrow,
  .pn-nav-menu .pn-nav-item:not(.has-children) > .pn-dropdown-toggle::after {
    display: none !important;
    content: none !important;
  }
}