/*
Theme Name: Chitradurga Live News
Theme URI: https://chitradurgalive.com
Author: Chitradurga Live
Description: Mobile-first news magazine theme for Chitradurga Live. Breaking news line, district menu, home page sections, category pages, ad spaces, logo upload, Elementor-ready, and works alongside the Chitradurga Live app.
Version: 1.1.9
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: cl-news
*/

:root {
  --cln-primary: #C62828;
  --cln-ink: #15171C;
  --cln-muted: #5B616E;
  --cln-line: #E4E6EB;
  --cln-soft: #F5F6F8;
  --cln-max: 1200px;
  --cln-shadow: 0 10px 28px rgba(21, 23, 28, .14);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans Kannada", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--cln-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cln-primary); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 8px; }
p { margin: 0 0 1em; }
button { font: inherit; }
[hidden] { display: none !important; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 16px; }

.container { max-width: var(--cln-max); margin: 0 auto; padding: 0 16px; }

/* ---------- Top strip ---------- */
.topbar { background: var(--cln-ink); color: #C9CED8; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.topbar__date { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { min-width: 0; }
.topbar .cln-social { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.topbar .cln-social:empty { display: none; }
.topbar .cln-social a { color: #fff; font-weight: 600; }
.topbar .cln-social a:hover { color: #FFB4B4; }
@media (max-width: 639px) {
  .topbar .cln-social { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; box-shadow: 0 1px 0 var(--cln-line);
}
.header-row { display: flex; align-items: center; gap: 12px; min-height: 70px; }
.site-brand { flex: 1; min-width: 0; }
.site-brand .custom-logo-link { display: inline-block; line-height: 0; }
.site-brand .custom-logo { max-height: 52px; width: auto; }
.site-title { font-size: 24px; font-weight: 800; color: var(--cln-primary); }
.site-tagline { margin: 2px 0 0; font-size: 13px; color: var(--cln-muted); line-height: 1.3; display: none; }
@media (min-width: 640px) { .site-tagline { display: block; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle, .search-toggle {
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--cln-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.app-link {
  background: var(--cln-primary); color: #fff !important; padding: 8px 14px;
  border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.search-panel { border-top: 1px solid var(--cln-line); padding: 12px 0; background: var(--cln-soft); }
.search-panel .search-form { display: flex; gap: 8px; }
.search-panel .search-field {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--cln-line); border-radius: 8px; font: inherit; background: #fff;
}
.search-panel .search-submit, .btn {
  background: var(--cln-primary); color: #fff; border: 0; padding: 10px 16px;
  border-radius: 8px; font-weight: 700; cursor: pointer;
}

/* Main menu (mobile: stacked panel under the header; desktop: one row) */
.primary-nav { display: none; border-top: 1px solid var(--cln-line); }
.primary-nav.is-open { display: block; }
.primary-nav__inner { display: block; }
.menu, .footer-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu li a { display: block; padding: 12px 4px; font-weight: 700; border-bottom: 1px solid var(--cln-line); }
.mega-toggle {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 12px 4px; font-weight: 700; font-size: 16px; color: var(--cln-ink);
  cursor: pointer; border-bottom: 1px solid var(--cln-line);
}
.mega-toggle[aria-expanded="true"] { color: var(--cln-primary); }
.mega__panel { background: #fff; }
.mega__panel .container { padding-top: 12px; padding-bottom: 16px; }
.mega__title { font-size: 13px; color: var(--cln-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 24px; }
.mega-grid li a { display: block; padding: 9px 4px; border-bottom: 1px solid var(--cln-line); font-weight: 600; }
.mega-grid li a:hover { color: var(--cln-primary); }
@media (min-width: 640px) { .mega-grid { grid-template-columns: repeat(3, 1fr); } }

/* Category pills under the main menu */
.category-nav { border-top: 1px solid var(--cln-line); background: #fff; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav .container { padding-top: 0; padding-bottom: 0; }
.category-nav .menu { display: flex; gap: 6px; white-space: nowrap; padding: 10px 0; }
.category-nav .menu li a {
  display: block; padding: 6px 14px; font-size: 15px; font-weight: 600;
  background: var(--cln-soft); border-radius: 999px;
}
.category-nav .menu li a:hover,
.category-nav .current-menu-item > a,
.category-nav .current_page_item > a { background: var(--cln-primary); color: #fff; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .header-row { min-height: 84px; }
  .site-brand .custom-logo { max-height: 60px; }
  .site-title { font-size: 28px; }
  .primary-nav { display: block; border-top: 0; }
  .primary-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .primary-nav .menu { display: flex; gap: 2px; }
  .primary-nav .menu li a {
    padding: 13px 12px; font-size: 16px; border-bottom: 3px solid transparent;
  }
  .primary-nav .menu li a:hover,
  .primary-nav .current-menu-item > a { color: var(--cln-primary); border-bottom-color: var(--cln-primary); }
  .mega { position: relative; flex: none; }
  .mega-toggle {
    width: auto; border: 0; padding: 13px 12px; color: var(--cln-ink);
    border-bottom: 3px solid transparent;
  }
  .mega-toggle:hover { color: var(--cln-primary); }
  .mega__panel {
    position: absolute; top: 100%; right: 0; width: min(960px, 92vw); z-index: 60;
    box-shadow: var(--cln-shadow); border-top: 3px solid var(--cln-primary);
  }
  .mega__panel .container { max-width: none; }
  .mega-grid { grid-template-columns: repeat(4, 1fr); }
  .category-nav { overflow: visible; }
  .category-nav .menu { justify-content: flex-start; }
}

/* ---------- Breaking news line ---------- */
.cln-ticker { background: var(--cln-primary); color: #fff; }
.cln-ticker__inner { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.cln-ticker__label {
  background: #fff; color: var(--cln-primary); font-size: 11px; font-weight: 800;
  padding: 3px 7px; border-radius: 4px; flex: none;
}
.cln-ticker__item {
  display: none; flex: 1; min-width: 0; color: #fff; font-weight: 600;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.cln-ticker__item.is-active { display: block; }
.cln-ticker__item:hover { color: #fff; text-decoration: underline; }

/* ---------- Cards and grids ---------- */
.cln-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cln-card__img { display: block; overflow: hidden; border-radius: 8px; background: var(--cln-soft); }
.cln-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.cln-card:hover .cln-card__img img { transform: scale(1.03); }
.cln-card__cat { color: var(--cln-primary); font-size: 13px; font-weight: 700; display: inline-block; }
.cln-card__title { font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0; }
.cln-card__title a:hover { color: var(--cln-primary); }
.cln-card__meta { font-size: 13px; color: var(--cln-muted); }
.cln-card--lead { position: relative; }
.cln-card--lead .cln-card__img img { aspect-ratio: 16 / 10; }
.cln-card--lead .cln-card__title { font-size: 24px; }
.cln-card--list { flex-direction: row; gap: 12px; align-items: flex-start; }
.cln-card--list .cln-card__img { flex: 0 0 120px; }
.cln-card--list .cln-card__img img { aspect-ratio: 4 / 3; }
.cln-card--list .cln-card__title { font-size: 15px; }
.cln-card--compact .cln-card__title { font-size: 15px; font-weight: 600; }

.cln-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .cln-grid--cols-2, .cln-grid--cols-3, .cln-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .cln-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cln-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.cln-empty { color: var(--cln-muted); padding: 32px 0; text-align: center; }

/* ---------- Layout and sections ---------- */
.site-main { min-height: 60vh; }
.layout { display: grid; gap: 32px; padding: 24px 16px; }
@media (min-width: 960px) {
  .layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
}
.section-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--cln-line); margin: 36px 0 18px;
}
.section-title {
  position: relative; font-size: 20px; font-weight: 800; margin: 0 0 -1px;
  padding: 8px 0 10px 14px; border-bottom: 3px solid var(--cln-primary); display: inline-block;
}
.section-title::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 12px; width: 4px;
  background: var(--cln-primary); border-radius: 2px;
}
.section-more { font-size: 14px; font-weight: 700; color: var(--cln-primary); white-space: nowrap; }
.home-section { margin-bottom: 8px; }
.hero { display: grid; gap: 20px; }
.hero__side { display: grid; gap: 0; align-content: start; }
.hero__side .cln-card { padding: 14px 0; border-top: 1px solid var(--cln-line); }
.hero__side .cln-card:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 800px) {
  .hero { grid-template-columns: 1.6fr 1fr; }
}
.sidebar .widget { margin-bottom: 32px; }
.widget-title { font-size: 18px; font-weight: 800; border-bottom: 2px solid var(--cln-ink); padding-bottom: 8px; margin-bottom: 14px; }
.sidebar .cln-card { padding: 12px 0; border-bottom: 1px solid var(--cln-line); }
.sidebar .cln-card:last-child { border-bottom: 0; }

/* Numbered "most discussed" list in the sidebar */
.cln-numbered { list-style: none; counter-reset: cln-num; margin: 0; padding: 0; }
.cln-numbered li {
  counter-increment: cln-num; display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--cln-line);
}
.cln-numbered li:last-child { border-bottom: 0; }
.cln-numbered li::before {
  content: counter(cln-num); flex: 0 0 22px; font-size: 22px; font-weight: 800;
  color: var(--cln-primary); line-height: 1.1;
}
.cln-numbered .cln-card { flex: 1; min-width: 0; }
.sidebar .cln-numbered .cln-card { padding: 0; border: 0; }

/* "Get the app" box in the sidebar */
.app-box { background: #FDECEC; border-radius: 8px; padding: 16px; }
.app-box .widget-title { border: 0; margin-bottom: 6px; padding-bottom: 0; }
.app-box p { font-size: 14px; color: var(--cln-muted); margin: 0 0 12px; }
.app-box .btn { display: inline-block; }
@media (min-width: 960px) {
  .sidebar { position: sticky; top: 100px; align-self: start; }
}

/* ---------- Ad spaces ---------- */
.cln-ad { margin: 20px auto; text-align: center; overflow: hidden; }
.cln-ad:empty { display: none; }
.cln-ad img { margin: 0 auto; }
.cln-ad--header { margin: 0; background: var(--cln-soft); padding: 8px 0; }
.cln-ad--sidebar { margin: 0 0 28px; }

/* ---------- Article ---------- */
.article { min-width: 0; }
.article-header { margin-bottom: 16px; }
.article-title { font-size: 30px; font-weight: 800; line-height: 1.25; margin: 8px 0 12px; }
.article-meta { font-size: 14px; color: var(--cln-muted); }
.byline {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0 18px; padding: 12px 0; border-top: 1px solid var(--cln-line); border-bottom: 1px solid var(--cln-line);
}
.byline__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--cln-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex: none;
}
.byline__author { display: block; font-weight: 700; font-size: 16px; color: var(--cln-ink); }
.byline__date { display: block; font-size: 13px; color: var(--cln-muted); }
.article-figure { margin: 0 0 16px; }
.article-figure img {
  border-radius: 8px; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: center top;
  background: var(--cln-soft);
}
.entry-content { font-size: 19px; line-height: 1.9; color: #1F232B; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content img {
  border-radius: 8px; margin: 1em auto; display: block;
  max-width: 100%; width: auto; height: auto; max-height: 480px; object-fit: contain;
}
.entry-content blockquote {
  border-left: 4px solid var(--cln-primary); background: var(--cln-soft);
  padding: 12px 16px; margin: 1.2em 0; font-style: italic;
}
.entry-content h2 { font-size: 24px; margin-top: 1.4em; }
.entry-content h3 { font-size: 20px; margin-top: 1.2em; }
.entry-content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--cln-line); padding: 8px; }
.article-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin: 24px 0 8px; padding-top: 16px; border-top: 1px solid var(--cln-line); font-size: 14px;
}
.article-tags__label { font-weight: 700; }
.article-tags__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags__list a {
  display: inline-block; padding: 5px 12px; border-radius: 6px;
  background: var(--cln-soft); color: var(--cln-ink); font-weight: 600;
}
.article-tags__list a::before { content: "#"; color: var(--cln-primary); margin-right: 2px; }
.article-tags__list a:hover { background: var(--cln-primary); color: #fff; }
.article-tags__list a:hover::before { color: #fff; }

.cln-share {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--cln-line); border-bottom: 1px solid var(--cln-line);
}
.cln-share__label { font-weight: 700; font-size: 15px; }
.cln-share__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.cln-share__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border-radius: 8px; border: 1px solid var(--cln-line); background: #fff; color: var(--cln-ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.cln-share__btn svg { width: 18px; height: 18px; flex: none; }
.cln-share__x { font-weight: 800; font-size: 15px; line-height: 1; }
.cln-share__btn:hover { border-color: var(--cln-primary); color: var(--cln-ink); }
.cln-share__btn--wa svg { color: #1FA855; }
.cln-share__btn--fb svg { color: #1877F2; }
.cln-share__btn--x .cln-share__x { color: var(--cln-ink); }
@media (max-width: 480px) {
  .cln-share { flex-direction: column; align-items: stretch; }
  .cln-share__buttons { display: grid; grid-template-columns: repeat(2, 1fr); }
  .cln-share__btn { justify-content: center; }
}
.related { margin-top: 32px; }
.comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { border-bottom: 1px solid var(--cln-line); padding: 12px 0; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
  width: 100%; padding: 10px; border: 1px solid var(--cln-line); border-radius: 8px; font: inherit;
}
.comment-form .submit { background: var(--cln-primary); color: #fff; border: 0; padding: 10px 18px; border-radius: 8px; font-weight: 700; }

/* ---------- Pagination ---------- */
.navigation.pagination { margin: 24px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { padding: 8px 12px; border: 1px solid var(--cln-line); border-radius: 8px; }
.page-numbers.current { background: var(--cln-primary); color: #fff; border-color: var(--cln-primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cln-ink); color: #C9CED8; margin-top: 48px; padding: 44px 0 0; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FFB4B4; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-logo { max-height: 60px; width: auto; }
.footer-col .custom-logo-link { display: inline-block; line-height: 0; }
.footer-col .custom-logo { max-height: 60px; width: auto; }
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-about { line-height: 1.75; margin: 14px 0 0; color: #C9CED8; }
.footer-title { position: relative; font-size: 16px; font-weight: 800; color: #fff; margin: 0 0 14px; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--cln-primary); border-radius: 2px; }
.footer-menu li { margin-bottom: 9px; }
.footer-menu li a { color: #E4E6EB; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; line-height: 1.6; }
.footer-contact a { color: #E4E6EB; }
.footer-app {
  display: inline-block; margin-top: 18px; background: var(--cln-primary); color: #fff !important;
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.footer-app:hover { background: #A81F1F; }
.site-footer .cln-social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .cln-social a {
  display: inline-block; padding: 6px 12px; border: 1px solid #3A414C; border-radius: 999px; font-size: 13px;
}
.site-footer .cln-social a:hover { border-color: var(--cln-primary); }
.footer-widgets { margin-top: 32px; padding-top: 24px; border-top: 1px solid #2A2F38; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  margin-top: 36px; padding: 16px 0 20px; border-top: 1px solid #2A2F38;
  font-size: 14px; color: #A6ADB9;
}
.footer-bottom .back-top { color: #E4E6EB; font-weight: 600; }

/* ---------- Mobile layout (phones and small tablets) ---------- */
.tabbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: 66px; }
  .site-header { position: relative; }
  .topbar { display: none; }
  .header-row { min-height: 60px; gap: 8px; }
  .site-brand .custom-logo { max-height: 42px; }
  .site-title { font-size: 20px; }
  .app-link { padding: 6px 10px; font-size: 13px; }
  .header-actions { gap: 2px; }
  .primary-nav .menu li a, .mega-toggle { padding: 14px 4px; }
  .category-nav .container { padding-left: 12px; padding-right: 12px; }
  .category-nav .menu { gap: 8px; padding: 8px 0; }
  .category-nav .menu li a {
    padding: 6px 14px; font-size: 14px; background: #fff; border: 1px solid var(--cln-line);
  }
  .category-nav .menu li a:hover,
  .category-nav .current-menu-item > a,
  .category-nav .current_page_item > a { background: var(--cln-primary); border-color: var(--cln-primary); color: #fff; }
  .cln-ticker__inner { min-height: 40px; font-size: 14px; }
  .layout { padding: 12px 16px 0; gap: 14px; }
  .section-head { margin: 24px 0 12px; }
  .section-title { font-size: 18px; }
  .hero { gap: 10px; }
  .cln-card--lead { gap: 10px; }
  .cln-card--lead .cln-card__img { margin: 0 -16px; border-radius: 0; }
  .cln-card--lead .cln-card__img img { border-radius: 0; }
  .cln-card--lead .cln-card__title { font-size: 21px; line-height: 1.4; }
  .hero__side .cln-card { padding: 12px 0; }
  .cln-card--list { gap: 12px; }
  .cln-card--list .cln-card__img { flex: 0 0 112px; }
  .cln-card--list .cln-card__title { font-size: 15px; line-height: 1.45; }
  .cln-card__meta { font-size: 12px; }
  .cln-ad { margin: 14px auto; }
  .article-title { font-size: 24px; }
  .article-figure { margin: 0 0 14px; }
  .article-figure img {
    border-radius: 8px; width: 100%; height: auto;
    aspect-ratio: 16 / 9; object-fit: cover; max-height: 220px;
  }
  .entry-content { font-size: 17px; line-height: 1.8; }
  .entry-content img { max-height: 320px; }
  .site-footer { margin-top: 28px; padding-top: 28px; }
  .footer-grid { gap: 22px; }

  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--cln-line);
    box-shadow: 0 -4px 14px rgba(21, 23, 28, .08);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar__item {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0;
    background: none; border: 0; color: var(--cln-ink); font-size: 12px; font-weight: 600; cursor: pointer;
  }
  .tabbar__item svg { width: 22px; height: 22px; }
  .tabbar__item:hover { color: var(--cln-primary); }
}

/* ---------- Article page: byline, share pill, caption, ads, author box, highlights ---------- */
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px;
  margin: 16px 0 20px; padding: 14px 0; border-top: 1px solid var(--cln-line); border-bottom: 1px solid var(--cln-line);
}
.byline__avatars { display: flex; flex: none; }
.byline__avatars img,
.byline__avatars .byline__avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--cln-soft);
}
.byline__avatars img + img,
.byline__avatars .byline__avatar + .byline__avatar,
.byline__avatars img + .byline__avatar,
.byline__avatars .byline__avatar + img { margin-left: -12px; border: 2px solid #fff; }
.byline__avatars .byline__avatar {
  background: var(--cln-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
}
.byline__text { flex: 1 1 200px; min-width: 0; }
.byline__names { font-size: 17px; font-weight: 700; line-height: 1.4; }
.byline__names .byline__author { display: inline; color: #1A56DB; font-weight: 700; }
.byline__names a.byline__author:hover { color: var(--cln-primary); }
.byline__date { display: block; font-size: 14px; color: var(--cln-muted); margin-top: 2px; }
.cln-share-pill {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 5px 0 20px; border: 1.5px solid #C9CED8; border-radius: 999px;
  background: #fff; color: var(--cln-ink); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .05em; cursor: pointer;
}
.cln-share-pill:hover { border-color: var(--cln-ink); }
.cln-share-pill__icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--cln-ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cln-share-pill__icon svg { width: 20px; height: 20px; }

.article-figure { margin: 0 0 18px; border-radius: 8px; overflow: hidden; background: #E9EBEF; }
.article-figure img { border-radius: 0; }
.article-figure figcaption { padding: 12px 16px; font-size: 14px; line-height: 1.6; color: #3A3F4A; background: #E9EBEF; }

.entry-content p { margin: 0 0 1.25em; }
.entry-content .cln-highlights { background: #F7F6F5; border-radius: 16px; padding: 22px 24px; margin: 1.6em 0; }
.entry-content .cln-highlights ul { list-style: none; padding: 0; margin: 0; }
.entry-content .cln-highlights li { position: relative; padding-left: 22px; margin-bottom: 12px; font-weight: 600; }
.entry-content .cln-highlights li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--cln-primary);
}

.cln-ad::before { content: "ಜಾಹೀರಾತು"; display: block; font-size: 12px; color: #8A909C; margin-bottom: 6px; }
.cln-ad img { max-width: 100%; height: auto; margin: 0 auto; }
.entry-content [class*="advads"],
.entry-content [class*="adsbygoogle"],
.entry-content .cln-ad { display: block; text-align: center; margin: 1.6em auto; }
.entry-content [class*="advads"] img,
.entry-content [class*="adsbygoogle"] img { display: block; margin: 0 auto; max-width: 100%; height: auto; }

.author-boxes { margin: 28px 0 8px; }
.author-box {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  border: 1px solid var(--cln-line); border-radius: 12px; margin-bottom: 14px;
}
.author-box__avatar img, .author-box__avatar .byline__avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none;
}
.author-box__avatar .byline__avatar { background: var(--cln-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.author-box__body { min-width: 0; }
.author-box__name { font-size: 18px; font-weight: 800; }
.author-box__name .byline__author { color: #1A56DB; }
.author-box__bio { margin: 8px 0 12px; font-size: 15px; line-height: 1.7; color: #3A3F4A; }
.cln-read-more {
  display: inline-block; padding: 8px 22px; border: 1.5px solid var(--cln-ink); border-radius: 999px;
  font-weight: 600; font-size: 14px;
}
.cln-read-more:hover { background: var(--cln-ink); color: #fff; }
@media (max-width: 480px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .cln-share-pill { margin-left: 0; }
}

/* Phones: article pages use slimmer gutters and tighter heading and byline spacing */
@media (max-width: 899px) {
  .single-post .layout { padding: 10px 12px 0; }
  .single-post .article-header { margin-bottom: 6px; }
  .single-post .article-title { font-size: 24px; line-height: 1.3; margin: 4px 0 6px; }
  .single-post .article-meta { margin: 0; }
  .single-post .byline { margin: 8px 0 10px; padding: 10px 0; gap: 8px 10px; }
  .single-post .byline__avatars img,
  .single-post .byline__avatars .byline__avatar { width: 44px; height: 44px; }
  .single-post .byline__names { font-size: 16px; line-height: 1.3; }
  .single-post .byline__date { font-size: 13px; margin-top: 1px; }
  .single-post .cln-share-pill { height: 40px; padding: 0 4px 0 16px; font-size: 14px; }
  .single-post .cln-share-pill__icon { width: 32px; height: 32px; }
  .single-post .article-figure { margin: 0 -12px 12px; border-radius: 0; }
  .single-post .article-figure img { border-radius: 0; }
  .single-post .article-figure figcaption { padding: 8px 12px; font-size: 13px; }
  .single-post .entry-content { font-size: 17px; line-height: 1.75; }
}
