/* ============================================================
   MYSURU 1ST KANNADA — MAIN STYLESHEET
   Design: Red & White, Noto Sans Kannada, News Portal
   ============================================================ */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Kannada:wght@400;500;600;700&family=Noto+Sans:wght@400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --red:          #CC0000;
  --red-dark:     #8B0000;
  --red-nav:      #1a0000;
  --red-light:    #FCEBEB;
  --gold:         #E8B84B;
  --gold-dark:    #412402;
  --gold-bg:      #FDF8EF;
  --gold-border:  #E8CB7A;
  --white:        #FFFFFF;
  --bg:           #F4F4F4;
  --bg-card:      #FFFFFF;
  --border:       #E5E5E5;
  --text-primary: #1A1A1A;
  --text-secondary:#555555;
  --text-muted:   #888888;
  --blue:         #185FA5;
  --green:        #3B6D11;
  --font-kn:      'Noto Sans Kannada', sans-serif;
  --font-en:      'Noto Sans', sans-serif;
  --radius-sm:    4px;
  --radius-md:    6px;
  --radius-lg:    10px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 2px 8px rgba(0,0,0,0.10);
  --max-width:    1440px;
  --ticker-speed: 40s;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-kn);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Global icon alignment fix ─────────────────────────────── */
/* Tabler icons — always vertically centered with text */
.ti, [class^="ti-"], [class*=" ti-"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   ROW 1 — BREAKING NEWS TICKER
   ============================================================ */
.breaking-bar {
  background: var(--red);
  height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.breaking-bar .container {
  height: 36px;
  gap: 0;
}
.breaking-label {
  background: var(--red-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  letter-spacing: .05em;
  white-space: nowrap;
  margin-left: -16px;
}
.breaking-label i { font-size: 13px; }
.breaking-ticker-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.breaking-ticker-wrap::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 100%;
  background: linear-gradient(to right, var(--red), transparent);
  z-index: 1;
}
.breaking-ticker {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker var(--ticker-speed) linear infinite;
  padding-left: 100%;
}
.breaking-ticker a {
  color: #fff;
  font-size: 13px;
  padding-right: 60px;
  opacity: .95;
  transition: opacity .2s;
}
.breaking-ticker a:hover { opacity: 1; text-decoration: underline; }
.breaking-ticker .sep {
  color: rgba(255,255,255,.4);
  padding-right: 60px;
  font-size: 16px;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.breaking-ticker-wrap:hover .breaking-ticker { animation-play-state: paused; }

/* ============================================================
   ROW 2 — LOGO + DATE/TIME
   ============================================================ */
.logo-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.logo-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
/* LEFT: social icons */
.logo-bar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 17px;
  text-decoration: none;
  transition: all .2s;
}
.logo-social-link:hover { border-color: var(--red); color: var(--red); }
/* CENTER: logo */
.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
/* Full logo image (contains text+icon) — taller now that there's no separate text div */
.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.logo-img-full {
  height: 72px; /* slightly taller — image includes the text */
}
/* Footer logo */
.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
}
/* RIGHT: datetime */
.datetime-box { text-align: right; }
.datetime-day {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.datetime-date {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.datetime-time {
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

/* ============================================================
   ROW 3 — CATEGORY NAV
   ============================================================ */
.main-nav {
  background: var(--red-nav);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 2px solid var(--red);
}
.main-nav .container {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li a {
  display: flex;
  align-items: center;
  gap: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 13px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  line-height: 1;
  vertical-align: middle;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: #fff;
  border-bottom-color: var(--red);
}
/* Remove ALL icons from nav — text only */
.nav-list li a i,
.nav-list li a .ti { display: none !important; }
.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,.1);
}

/* Google Translate wrapper in nav */
.gt-wrap {
  border-right: 1px solid rgba(255,255,255,.1);
  padding: 0 2px;
  display: flex;
  align-items: center;
}

/* LIVE TV link in nav */
.nav-live-link {
  display: flex !important;
  align-items: center;
  gap: 6px;
  color: #FF6B6B !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}
.nav-live-dot {
  width: 7px;
  height: 7px;
  background: #FF6B6B;
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.nav-live-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  border-left: 1px solid rgba(255,255,255,.1);
  border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(204,0,0,.25);
  transition: background .2s;
}
.nav-live-btn:hover { background: rgba(204,0,0,.5); }
.nav-search-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  padding: 8px 14px;
  font-size: 18px;
  transition: color .2s;
}
.nav-search-btn:hover { color: #fff; }
/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 8px 14px;
}

/* ============================================================
   ROW 4 — TRENDING TOPICS
   ============================================================ */
.trending-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trending-bar .container {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.trending-label {
  background: var(--gold);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: .04em;
  margin-left: -16px;
}
.trending-label i { font-size: 13px; }
.trending-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.trending-tags::-webkit-scrollbar { display: none; }
.trending-tag {
  background: #F9F9F9;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all .2s;
  cursor: pointer;
}
.trending-tag:hover,
.trending-tag.hot {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}

/* ============================================================
   ROW 5 — MAIN 3-COLUMN SECTION
   ============================================================ */
.main-section {
  padding: 14px 0;
}
.three-col {
  display: grid;
  grid-template-columns: 20% 1fr 20%;
  gap: 12px;
  align-items: stretch;
}
/* Equal height — all cols same bottom */
.col-left,
.col-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.col-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Widget base ─────────────────────────────────────────── */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.widget-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--border);
}
.widget-head i { font-size: 14px; }
.widget-head.red   { background: var(--red);       color: #fff; }
.widget-head.gold  { background: var(--gold);      color: var(--gold-dark); }
.widget-head.blue  { background: var(--blue);      color: #fff; }
.widget-head.dark  { background: var(--red-nav);   color: rgba(255,255,255,.9); }
.widget-body { padding: 10px 12px; }

/* ── Poll widget ─────────────────────────────────────────── */
.poll-question {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}
.poll-option { margin-bottom: 10px; }
.poll-option-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.poll-option-label .pct {
  font-weight: 600;
  color: var(--red);
}
.poll-bar-bg {
  height: 6px;
  background: #F0F0F0;
  border-radius: 3px;
  overflow: hidden;
}
.poll-bar-fill {
  height: 6px;
  background: var(--red);
  border-radius: 3px;
  transition: width .6s ease;
}
.poll-bar-fill.winner { background: var(--red-dark); }
.poll-vote-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-kn);
  margin-top: 10px;
  transition: background .2s;
}
.poll-vote-btn:hover { background: var(--red-dark); }
.poll-total {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}
.poll-closed-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red-light);
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
}
/* Poll results mode */
.poll-results-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 0 2px;
}

/* ── Most-read filler ────────────────────────────────────── */
.most-read {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.most-read-list { padding: 0; }
.most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.most-read-item:last-child { border-bottom: none; }
.most-read-item:hover { background: #FAFAFA; }
.most-read-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  min-width: 22px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.most-read-title {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.4;
  font-weight: 500;
}
.most-read-title:hover { color: var(--red); }

/* ── Hero article (center) ───────────────────────────────── */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.hero-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hero-card:hover .hero-img-wrap img { transform: scale(1.03); }
.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  padding: 60px 14px 14px;
}
.hero-cat-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.hero-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
  flex-wrap: wrap;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.hero-meta i { font-size: 12px; }
.hero-body { padding: 12px 14px; }
.hero-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.read-more-link {
  color: var(--red);
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: gap .2s;
}
.read-more-link:hover { gap: 6px; }

/* ── News list (center below hero) ──────────────────────── */
.news-list-widget {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.news-list-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.news-list-head .bar {
  width: 3px;
  height: 16px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.news-list-head span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.news-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #FAFAFA; }
.news-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--bg);
}
.news-content { flex: 1; }
.news-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .04em;
  margin-bottom: 3px;
}
.news-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color .2s;
}
.news-title:hover { color: var(--red); }
.news-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.news-meta i { font-size: 12px; }

/* ── Gold widget ─────────────────────────────────────────── */
.gold-sponsor-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--gold-border);
  background: var(--gold-bg);
}
.gold-sponsor-logo {
  width: 36px;
  height: 24px;
  object-fit: contain;
  border-radius: 3px;
}
.gold-sponsor-logo-placeholder {
  width: 36px;
  height: 24px;
  background: var(--red);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  font-weight: 700;
}
.gold-sponsor-info { display: flex; flex-direction: column; gap: 1px; }
.gold-sp-by { font-size: 9px; color: #854F0B; }
.gold-sp-name { font-size: 11px; font-weight: 600; color: var(--gold-dark); }
.gold-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  border-bottom: 1px solid #F0E0B0;
  background: var(--gold-bg);
}
.gold-rate-row:last-child { border-bottom: none; }
.gold-metal { font-size: 11px; font-weight: 500; color: var(--gold-dark); }
.gold-price-wrap { text-align: right; }
.gold-price { font-size: 13px; font-weight: 700; color: #633806; }
.gold-change { font-size: 10px; }
.gold-change.up { color: var(--green); }
.gold-change.dn { color: var(--red); }

/* ── City Weather widget ─────────────────────────────────── */
.city-weather-widget {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.city-weather-row {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  border-bottom: 1px solid var(--border);
  gap: 6px;
  transition: background .15s;
  cursor: pointer;
}
.city-weather-row:last-child { border-bottom: none; }
.city-weather-row:hover { background: #FAFAFA; }
.city-weather-row.primary { background: var(--red-light); }
.city-weather-row.primary .city-name-text { color: var(--red); font-weight: 700; }
.city-name-text { flex: 1; font-size: 12px; font-weight: 500; color: var(--text-primary); }
.city-condition { font-size: 10px; color: var(--text-muted); flex: 1; }
.city-weather-icon { font-size: 14px; }
.city-temp-val { font-size: 13px; font-weight: 700; color: var(--blue); min-width: 36px; text-align: right; }

/* ============================================================
   SECTION HEADERS (category sections below the 3-col)
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.section-header .bar {
  width: 4px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.section-header .see-all {
  margin-left: auto;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: gap .2s;
}
.section-header .see-all:hover { gap: 6px; }

/* Article grid — 3 column */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.article-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg);
}
.article-card-body { padding: 12px; }
.article-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .04em;
  margin-bottom: 5px;
}
.article-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.article-card-title:hover { color: var(--red); }
.article-card-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.article-card-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.article-card-meta i { font-size: 12px; }

/* ============================================================
   AD ZONES
   ============================================================ */
.ad-zone {
  display: block;
  text-align: center;
  overflow: hidden;
}
.ad-zone img { margin: 0 auto; }
/* Specific zones */
.ad-header-banner    { margin: 8px 0; }
.ad-home-mid-banner  { margin: 20px 0; }
.ad-sidebar-top,
.ad-sidebar-mid,
.ad-sidebar-bottom   { margin: 10px 0; }
.ad-article-top,
.ad-article-mid,
.ad-article-bottom   { margin: 16px 0; }
.ad-category-banner  { margin: 12px 0; }
.ad-footer-banner    { margin: 12px 0; }
/* Mobile sticky ad */
.ad-mobile-sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 4px 0;
  display: none;
}
@media(max-width: 768px) {
  .ad-mobile-sticky { display: block; }
}
/* Placeholder styling when no ad assigned */
.ad-placeholder {
  background: #F9F9F9;
  border: 1px dashed #DDD;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CCC;
  font-size: 11px;
  font-family: var(--font-en);
  min-height: 50px;
}

/* ============================================================
   READ ALOUD PLAYER
   ============================================================ */
.read-aloud-bar {
  background: #FFF9F0;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.read-aloud-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: var(--gold-dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.read-aloud-btn:hover { background: var(--gold-dark); color: #fff; }
.read-aloud-info { flex: 1; }
.read-aloud-label { font-size: 12px; font-weight: 600; color: var(--gold-dark); }
.read-aloud-progress {
  height: 4px;
  background: #F0E0B0;
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.read-aloud-progress-fill {
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  width: 0%;
  transition: width .3s;
}
.read-aloud-time {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   AI SUMMARY / SMART EXCERPT BOX
   ============================================================ */
.summary-box {
  border-left: 3px solid var(--red);
  background: var(--red-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 12px 16px;
  margin: 14px 0;
}
.summary-box-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.summary-box-label i { font-size: 14px; }
.summary-box-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--red-nav);
  color: rgba(255,255,255,.8);
  margin-top: 30px;
}
.footer-top {
  padding: 30px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand .logo-text-kn {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a i { font-size: 13px; }
.footer-bottom {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.footer-bottom .footer-links {
  display: flex;
  gap: 16px;
}
.footer-bottom .footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-bottom .footer-links a:hover { color: #fff; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.open { display: flex; }
.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-md);
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--red);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  margin-bottom: 14px;
}
.search-input-wrap i { font-size: 20px; color: var(--red); }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--font-kn);
  color: var(--text-primary);
}
.search-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  padding: 0 4px;
  transition: color .2s;
}
.search-close:hover { color: var(--red); }

/* ============================================================
   SHARE BUTTONS
   ============================================================ */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--font-kn);
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.facebook { background: #1877F2; color: #fff; }
.share-btn.twitter  { background: #1DA1F2; color: #fff; }
.share-btn.copy     { background: var(--bg); color: var(--text-secondary); border: 1px solid var(--border); }

/* ============================================================
   READ TIME BADGE
   ============================================================ */
.read-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red-light);
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}
.read-time-badge i { font-size: 12px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}
.pagination ul {
  display: flex;
  gap: 5px;
}
.pagination ul li a,
.pagination ul li.active span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all .2s;
}
.pagination ul li a:hover { background: var(--red-light); color: var(--red); border-color: var(--red); }
.pagination ul li.active span { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   LIVE PULSE ANIMATION
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

/* ============================================================
   LIVE TV BUTTON
   ============================================================ */
.live-tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #CC0000, #8B0000);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  letter-spacing: .04em;
  transition: all .2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(204,0,0,.4);
}
.live-tv-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(204,0,0,.5); }
.live-tv-btn .live-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
  flex-shrink: 0;
}
.live-tv-btn i { font-size: 15px; }

/* ============================================================
   CRICKET WIDGET — Card style
   ============================================================ */
.cricket-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.cricket-widget-head { background: linear-gradient(135deg, #1B5E20, #2E7D32); color: #fff; padding: 8px 12px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.cricket-match { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.cricket-match:last-child { border-bottom: none; }
.cricket-match-header { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.cricket-live-badge { background: #CC0000; color: #fff; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 3px; display: flex; align-items: center; gap: 3px; }
.cricket-live-badge::before { content: ''; width: 5px; height: 5px; background: #fff; border-radius: 50%; animation: pulse 1s infinite; flex-shrink: 0; }
.cricket-type { font-size: 10px; color: var(--text-muted); font-weight: 500; }
.cricket-comp { font-size: 10px; color: var(--text-muted); margin-left: auto; }
.cricket-teams { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.cricket-score-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.cricket-team-name { font-size: 11px; font-weight: 600; color: var(--text-secondary); min-width: 100px; }
.cricket-score-val { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.cricket-overs { font-size: 10px; color: var(--text-muted); }
.cricket-status { font-size: 11px; color: var(--green); font-weight: 500; margin-top: 4px; }
.cricket-status.result { color: var(--text-muted); }

/* ============================================================
   FIFA / FOOTBALL WIDGET
   ============================================================ */
.football-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.football-widget-head { background: linear-gradient(135deg, #1565C0, #0D47A1); color: #fff; padding: 8px 12px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.football-match { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.football-match:last-child { border-bottom: none; }
.football-comp { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.football-teams-row { display: grid; grid-template-columns: 1fr 36px 1fr; align-items: center; gap: 6px; }
.football-team { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.football-team.away { text-align: right; }
.football-score { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; text-align: center; padding: 3px 0; font-size: 14px; font-weight: 700; color: var(--text-primary); }
.football-score.live { background: #CC0000; border-color: #CC0000; color: #fff; }
.football-time { font-size: 10px; color: var(--text-muted); text-align: center; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.football-live-min { background: #CC0000; color: #fff; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 2px; }

/* ============================================================
   ARTICLE LABELS — Trending / Important
   ============================================================ */
.article-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.article-label.trending { background: #FFF3CD; color: #856404; }
.article-label.breaking { background: #CC0000; color: #fff; }
.article-label.featured { background: #E8F5E9; color: #2E7D32; }

/* ============================================================
   YOUTUBE / VIDEO SECTION
   ============================================================ */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.video-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.video-thumb-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; cursor: pointer; }
.video-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video-thumb-wrap:hover img { opacity: .7; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: rgba(204,0,0,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.video-duration { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,.8); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 5px; border-radius: 2px; }
.video-card-body { padding: 10px 12px; }
.video-card-title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 8px; }

/* ============================================================
   LIVE TV MODAL
   ============================================================ */
.live-tv-modal { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; display: none; align-items: center; justify-content: center; }
.live-tv-modal.open { display: flex; }
.live-tv-modal-inner { background: #000; border-radius: var(--radius-lg); overflow: hidden; width: 100%; max-width: 900px; position: relative; }
.live-tv-modal-header { background: #1a0000; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.live-tv-modal-header span { color: #fff; font-weight: 600; flex: 1; }
.live-tv-close { background: none; border: none; color: rgba(255,255,255,.6); font-size: 22px; cursor: pointer; }
.live-tv-close:hover { color: #fff; }
.live-tv-player { aspect-ratio: 16/9; background: #000; display: flex; align-items: center; justify-content: center; }
.live-tv-player iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   READ ALOUD FIX
   ============================================================ */
.read-aloud-bar { cursor: pointer; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash { padding: 10px 16px; border-radius: var(--radius-md); margin-bottom: 12px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.flash.success { background: #EAF3DE; color: #3B6D11; border: 1px solid #C0DD97; }
.flash.error   { background: var(--red-light); color: var(--red); border: 1px solid #F7C1C1; }
.flash.info    { background: #E6F1FB; color: var(--blue); border: 1px solid #B5D4F4; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .three-col { grid-template-columns: 22% 1fr 22%; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 1024px) {
  .ws-grid { grid-template-columns: repeat(4, 1fr); }
  .vid-grid { grid-template-columns: repeat(3, 1fr); }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .col-card:nth-child(2n) { border-right: none; }
  .col-card:nth-child(3n) { border-right: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .three-col { grid-template-columns: 1fr; }
  .col-left, .col-right { display: none; }
  .article-grid { grid-template-columns: 1fr; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--red-nav); z-index: 300; padding: 8px 0; }
  .nav-list.open li a { padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-hamburger { display: flex; }
  .main-nav { position: relative; }
  .logo-bar-inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .logo-bar-social { gap: 6px; }
  .logo-social-link { width: 28px; height: 28px; font-size: 14px; }
  .logo-text-kn { font-size: 18px; }
  .datetime-time { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ws-grid { grid-template-columns: repeat(3, 1fr); }
  .vid-grid { grid-template-columns: repeat(2, 1fr); }
  .col-grid { grid-template-columns: 1fr; }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .logo-bar-inner { grid-template-columns: 1fr; justify-items: center; gap: 6px; }
  .logo-bar-social { order: 2; }
  .logo-area { order: 1; }
  .datetime-box { order: 3; text-align: center; }
  .logo-img { height: 44px; }
  .logo-text-kn { font-size: 16px; }
  .datetime-time { font-size: 16px; }
  .breaking-label { padding: 0 10px; font-size: 10px; }
  .three-col { gap: 8px; }
  .ws-grid { grid-template-columns: repeat(2, 1fr); }
  .vid-grid { grid-template-columns: repeat(2, 1fr); }
  .food-grid { grid-template-columns: 1fr; }
  .col-card:nth-child(2n) { border-right: none; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-red    { color: var(--red); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-10 { margin-bottom: 10px; }
.mb-16 { margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.d-none { display: none !important; }

/* ============================================================
   KANNADA PRABHA STYLE HOMEPAGE LAYOUT
   ============================================================ */

/* ── Page wrapper ─────────────────────────────────────────── */
.kp-page { padding: 12px 0 24px; background: var(--bg); }

/* ── ಪ್ರಮುಖ ಸುದ್ದಿ EDITORIAL BLOCK ───────────────────────── */
.pm-block {
  margin-bottom: 20px;
}

/* Section header — red left-border label like the screenshot */
.pm-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.pm-header-label {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  padding-left: 10px;
  border-left: 4px solid var(--red);
  line-height: 1.2;
}

/* Outer 3-col grid: left stack | center+br | widgets */
.pm-grid {
  display: grid;
  grid-template-columns: 26% 1fr 280px;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

/* ── LEFT COLUMN ──────────────────────────────────────────── */
.pm-left {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

/* First article: thumb + excerpt */
.pm-left-feature {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.pm-left-feature:hover { background: #FFF5F5; }
.pm-left-feature-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.pm-left-feature-body {
  padding: 10px 12px 12px;
}
.pm-left-feature-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 5px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Text-only list items */
.pm-left-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pm-left-list-item {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.pm-left-list-item:last-child { border-bottom: none; }
.pm-left-list-item:hover { background: #FFF5F5; }
.pm-left-list-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── CENTER COLUMN ────────────────────────────────────────── */
.pm-center {
  display: flex;
  flex-direction: column;
}
.pm-center-link { display: block; flex-shrink: 0; }
.pm-center-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.pm-center-link:hover .pm-center-img { transform: scale(1.02); }
.pm-center-noimg {
  aspect-ratio: 16/9;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.pm-center-noimg i { font-size: 48px; color: var(--text-muted); }
.pm-center-body {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.pm-center-title-link { text-decoration: none; }
.pm-center-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 6px 0 8px;
  transition: color .2s;
}
.pm-center-title-link:hover .pm-center-title { color: var(--red); }
.pm-center-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pm-center-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.pm-center-meta i { font-size: 12px; margin-right: 3px; }

/* ── BOTTOM-RIGHT HORIZONTAL CARD ────────────────────────── */
.pm-br-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background .15s;
  /* No flex:1 — card takes only as much height as its content needs */
}
.pm-br-card:hover { background: #FFF5F5; }
.pm-br-img {
  width: 140px;
  height: 130px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}
.pm-br-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pm-br-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 5px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.pm-br-card:hover .pm-br-title { color: var(--red); }
.pm-br-excerpt {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 3RD COLUMN: WIDGETS ──────────────────────────────────── */
.pm-widgets {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
/* Widgets inside pm-block share kp-widget styles but need border tweaks */
.pm-widgets .kp-widget {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.pm-widgets .kp-widget:last-child {
  border-bottom: none;
  flex: 1;
}
.pm-widgets .kp-widget-head {
  border-radius: 0;
}
.pm-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-left: 7px;
  border-left: 2px solid var(--red);
  line-height: 1;
}
/* Filled red pill — used in editorial block */
.pm-cat-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.6;
}
.pm-breaking-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  background: #FFF0F0;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.pm-trending-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #D97706;
  background: #FFFBEB;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.pm-excerpt {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 4px 0 0;
}

/* ── Main grid ───────────────────────────────────────────── */
.kp-main-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 16px;
  align-items: start;
}

/* ── Section header ──────────────────────────────────────── */
.kp-section { margin-bottom: 20px; }
.kp-section-head {
  display: flex; align-items: center;
  border-bottom: 2px solid var(--red);
  margin-bottom: 12px; padding-bottom: 6px;
}
.kp-section-label {
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 3px 12px; letter-spacing: .04em;
}
.kp-see-all {
  margin-left: auto; font-size: 11px;
  color: var(--red); text-decoration: none; font-weight: 500;
  display: flex; align-items: center; gap: 3px;
}
.kp-see-all:hover { text-decoration: underline; }

/* ── "More" button shared by new sections ────────────────── */
.kp-more-btn-wrap {
  text-align: center;
  margin-top: 16px;
}
.kp-more-btn {
  display: inline-block;
  padding: 8px 28px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .2s;
  letter-spacing: .02em;
}
.kp-more-btn:hover { border-color: var(--red); color: var(--red); }

/* ── ವೆಬ್ ಸ್ಟೋರೀಸ್ — tall portrait cards ─────────────────── */
.ws-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ws-card {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 9/16;
  text-decoration: none;
  background: #eee;
}
.ws-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ws-card:hover img { transform: scale(1.06); }
.ws-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  border-radius: 0 0 10px 10px;
}
.ws-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── ಅಂಕಣಗಳು — 3×2 grid with author avatar ──────────────── */
.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.col-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-decoration: none;
  background: var(--bg-card);
  transition: background .15s;
}
.col-card:nth-child(3n) { border-right: none; }
.col-card:nth-last-child(-n+3) { border-bottom: none; }
.col-card:hover { background: #FFF5F5; }
.col-card-left { flex: 1; min-width: 0; }
.col-card-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.col-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.col-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.col-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.col-card-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

/* ── ವಿಡಿಯೋ — 4-col grid with play overlay ──────────────── */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.vid-card {
  display: block;
  text-decoration: none;
}
.vid-thumb-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
}
.vid-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.vid-card:hover .vid-thumb-wrap img { transform: scale(1.04); }
.vid-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(204,0,0,.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: transform .2s, background .2s;
}
.vid-card:hover .vid-play-icon { transform: translate(-50%, -50%) scale(1.1); background: var(--red); }
.vid-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
  margin-top: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── ಅಡುಗೆ — 3-col image-dominant grid ──────────────────── */
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.food-card {
  display: block;
  text-decoration: none;
}
.food-thumb-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
}
.food-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.food-card:hover .food-thumb-wrap img { transform: scale(1.05); }
.food-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 3-column card grid ──────────────────────────────────── */
.kp-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}
.kp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kp-card-img {
  width: 100%; height: 140px;
  object-fit: cover; display: block;
}
.kp-no-img-md {
  width: 100%; height: 140px;
  background: var(--bg); display: flex;
  align-items: center; justify-content: center;
}
.kp-no-img-md i { font-size: 28px; color: var(--text-muted); }
.kp-card-body { padding: 10px; }
.kp-card-title {
  font-size: 13px; font-weight: 600;
  color: var(--text-primary); line-height: 1.4;
  margin: 4px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.kp-card-title:hover { color: var(--red); }

/* ── Category section: big + list ──────────────────────── */
.kp-cat-row {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 14px;
}
.kp-cat-big {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.kp-cat-big-img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
}
.kp-cat-big-body { padding: 10px; }
.kp-cat-big-title {
  font-size: 15px; font-weight: 700;
  color: var(--text-primary); line-height: 1.35;
  margin: 4px 0 6px;
}
.kp-cat-big-title:hover { color: var(--red); }
.kp-cat-big-excerpt {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 8px;
}
.kp-cat-list {
  display: flex; flex-direction: column; gap: 0;
}
.kp-list-item {
  display: flex; gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  align-items: flex-start;
  transition: background .1s;
}
.kp-list-item:last-child { border-bottom: none; }
.kp-list-item:hover .kp-list-title { color: var(--red); }
.kp-list-img {
  width: 72px; height: 52px;
  object-fit: cover; border-radius: 4px; flex-shrink: 0;
}
.kp-list-body { flex: 1; min-width: 0; }
.kp-list-title {
  font-size: 12px; font-weight: 600;
  color: var(--text-primary); line-height: 1.35;
  margin: 2px 0 4px;
}

/* ── Shared meta row ─────────────────────────────────────── */
.kp-meta-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-muted);
}
.kp-meta-row i { font-size: 12px; }

/* ── Cat badge ───────────────────────────────────────────── */
.kp-cat-badge {
  display: inline-flex; align-items: center;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 1px 6px; border-radius: 2px;
  letter-spacing: .04em;
}
/* Labels row above article title */
.kp-card-labels {
  display: flex; align-items: center;
  gap: 5px; flex-wrap: wrap;
  margin-bottom: 5px;
}
.kp-label-breaking {
  display: inline-flex; align-items: center;
  background: #CC0000; color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 1px 6px; border-radius: 2px;
  letter-spacing: .02em;
}
.kp-label-trending {
  display: inline-flex; align-items: center;
  background: #FFF3CD; color: #856404;
  font-size: 9px; font-weight: 700;
  padding: 1px 6px; border-radius: 2px;
}

/* ── SIDEBAR WIDGETS ─────────────────────────────────────── */
.kp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 56px; /* height of sticky nav */
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}
.kp-sidebar::-webkit-scrollbar { display: none; } /* Chrome */

/* Sidebar own-ad zone — 300x250 container */
.sidebar-own-ad {
  min-height: 0; /* only takes space when ad exists */
}
.sidebar-own-ad:empty { display: none; }

/* Branded promo box when no ads configured */
.sidebar-promo-box {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.kp-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.kp-widget-head {
  padding: 8px 12px; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  letter-spacing: .03em;
}
.kp-widget-head i { font-size: 14px; }
.kp-widget-gold    { background: #E8B84B; color: #412402; }
.kp-widget-weather { background: #185FA5; color: #fff; }
.kp-widget-cricket { background: #1B5E20; color: #fff; }
.kp-widget-football{ background: #1565C0; color: #fff; }
.kp-widget-poll    { background: var(--red); color: #fff; }
.kp-widget-dark    { background: #1a0000; color: #fff; }
.kp-empty-widget {
  padding: 14px 12px; font-size: 12px;
  color: var(--text-muted); text-align: center;
}

/* Gold widget */
.kp-gold-sponsor {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-bottom: 1px solid #E8CB7A;
  background: #FDF8EF; text-decoration: none;
}
.kp-gold-sp-by  { font-size: 10px; color: #854F0B; }
.kp-gold-sp-name{ font-size: 11px; font-weight: 600; color: #633806; }
.kp-gold-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px; border-bottom: 1px solid #F0E0B0;
  background: #FDF8EF;
}
.kp-gold-row:last-of-type { border-bottom: none; }
.kp-gold-label { font-size: 11px; font-weight: 500; color: #412402; }
.kp-gold-right  { display: flex; flex-direction: column; align-items: flex-end; }
.kp-gold-price  { font-size: 12px; font-weight: 700; color: #633806; }
.kp-gold-change { font-size: 9px; font-weight: 600; }
.kp-gold-change.up { color: #2e7d32; }
.kp-gold-change.dn { color: #CC0000; }
.kp-gold-updated {
  padding: 4px 12px; font-size: 9px; color: #854F0B;
  text-align: right; background: #FDF8EF;
  border-top: 1px solid #F0E0B0;
  display: flex; align-items: center; justify-content: flex-end; gap: 3px;
}

/* Weather */
.kp-weather-row {
  display: flex; align-items: center;
  padding: 6px 12px; border-bottom: 1px solid var(--border);
  gap: 6px;
}
.kp-weather-row:last-child { border-bottom: none; }
.kp-weather-row.primary { background: #FFF5F5; }
.kp-weather-city { font-size: 11px; font-weight: 500; min-width: 70px; }
.kp-weather-city.primary { color: var(--red); font-weight: 700; }
.kp-weather-desc { font-size: 10px; color: var(--text-muted); flex: 1; }
.kp-weather-icon { font-size: 14px; }
.kp-weather-temp { font-size: 13px; font-weight: 700; color: #185FA5; min-width: 28px; text-align: right; }

/* Cricket */
.kp-cricket-match {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}
.kp-cricket-match:last-child { border-bottom: none; }
.kp-cricket-header {
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.kp-live-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 2px;
}
.kp-live-dot {
  width: 5px; height: 5px; background: #fff;
  border-radius: 50%; animation: pulse 1s infinite; flex-shrink: 0;
}
.kp-match-type { font-size: 10px; color: var(--text-muted); }
.kp-cricket-comp { font-size: 10px; color: var(--text-muted); margin-left: auto; }
.kp-cricket-teams { font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.kp-cricket-score-row {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px;
}
.kp-cricket-team  { font-size: 11px; font-weight: 600; color: var(--text-secondary); min-width: 90px; }
.kp-cricket-score { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.kp-cricket-status { font-size: 10px; color: var(--text-muted); margin-top: 3px; }
.kp-cricket-status.live { color: #2e7d32; font-weight: 500; }

/* Football */
.kp-football-match {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.kp-football-match:last-child { border-bottom: none; }
.kp-football-comp {
  font-size: 9px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px;
}
.kp-football-row {
  display: grid; grid-template-columns: 1fr 36px 1fr;
  align-items: center; gap: 5px;
}
.kp-football-team { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.kp-football-away { text-align: right; }
.kp-football-score {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px; text-align: center;
  padding: 3px 0; font-size: 13px; font-weight: 700;
}
.kp-football-score.live { background: var(--red); border-color: var(--red); color: #fff; }
.kp-football-time {
  font-size: 10px; color: var(--text-muted);
  text-align: center; margin-top: 3px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.kp-football-live-min {
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 2px;
}

/* Poll */
.kp-poll-body { padding: 10px 12px; }
.kp-poll-question { font-size: 12px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.kp-poll-result { margin-bottom: 8px; }
.kp-poll-result.winner .kp-poll-result-label { color: var(--red); }
.kp-poll-result-label {
  display: flex; justify-content: space-between;
  font-size: 11px; margin-bottom: 3px;
}
.kp-poll-pct { font-weight: 600; }
.kp-poll-bar { height: 5px; background: var(--bg); border-radius: 3px; }
.kp-poll-fill { height: 5px; background: var(--border); border-radius: 3px; transition: width .6s; }
.kp-poll-fill.winner { background: var(--red); }
.kp-poll-total { font-size: 10px; color: var(--text-muted); text-align: center; margin-top: 8px; }
.kp-poll-form { display: flex; flex-direction: column; gap: 7px; }
.kp-poll-option {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; cursor: pointer; padding: 4px 0;
}
.kp-poll-option input { accent-color: var(--red); }
.kp-poll-submit {
  width: 100%; background: var(--red); color: #fff;
  border: none; border-radius: 4px; padding: 7px;
  font-size: 12px; font-weight: 600; cursor: pointer; margin-top: 4px;
}
.kp-poll-submit:hover { background: var(--red-dark); }

/* Most read */
.kp-mostread-item {
  display: flex; gap: 8px; padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-decoration: none; align-items: center;
  transition: background .1s;
}
.kp-mostread-item:last-child { border-bottom: none; }
.kp-mostread-item:hover { background: #FFF5F5; }
.kp-mostread-num {
  font-size: 18px; font-weight: 700; color: var(--red);
  min-width: 20px; line-height: 1; flex-shrink: 0;
}
.kp-mostread-body {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0;
}
.kp-mostread-img {
  width: 52px; height: 38px;
  object-fit: cover; border-radius: 3px; flex-shrink: 0;
}
.kp-mostread-title {
  font-size: 12px; font-weight: 500; color: var(--text-primary);
  line-height: 1.35;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  /* ಪ್ರಮುಖ ಸುದ್ದಿ tablet breakpoint */
  .pm-grid { grid-template-columns: 1fr 280px; }
  .pm-left { display: none; }
  .pm-center-img { aspect-ratio: 16/9; }
  .kp-main-grid { grid-template-columns: 1fr 280px; }
}
@media (max-width: 1024px) {
  /* ಪ್ರಮುಖ ಸುದ್ದಿ mobile */
  .pm-grid { grid-template-columns: 1fr; }
  .pm-left { display: none; }
  .pm-widgets { display: none; }
  .pm-center-title { font-size: 16px; }
  .pm-br-card { grid-template-columns: 100px 1fr; }
  .pm-br-img { width: 100px; min-height: 90px; }
  .kp-main-grid { grid-template-columns: 1fr; }
  .kp-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 768px) {
  .kp-3col { grid-template-columns: 1fr 1fr; }
  .kp-cat-row { grid-template-columns: 1fr; }
  .kp-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .kp-3col { grid-template-columns: 1fr; }
}
