/*
Theme Name: Just Abhi
Theme URI: https://justabhi.com
Author: Just Abhi News
Description: Professional news theme for Just Abhi — Crime, Cricket, Spiritual, India, UP, Health, Viral. Built for Newspoint & Dailyhunt onboarding.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: justabhi
Tags: news, magazine, responsive, custom-menu, featured-images, rss
*/


/* =============================================
   HEADER AD BAR (above logo)
   ============================================= */
#header-ad-bar {
  background: #f9f9f9;
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
  padding: 8px 16px;
}
.header-ad-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.header-ad-inner .ad-label {
  font-size: 10px;
  color: var(--gray-300);
  letter-spacing: .05em;
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  #header-ad-bar { padding: 6px 10px; }
}

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --red: #b71c1c;
  --red-dark: #7f0000;
  --red-light: #ef5350;
  --black: #1a1a1a;
  --dark: #252525;
  --gray-900: #111;
  --gray-700: #333;
  --gray-500: #666;
  --gray-400: #888;
  --gray-300: #bbb;
  --gray-200: #e0e0e0;
  --gray-100: #f2f2f2;
  --white: #fff;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --radius: 5px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,.12);
}


/* =============================================
   CUSTOM LOGO IMAGE
   ============================================= */
.custom-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.custom-logo-wrap a {
  display: inline-block;
  line-height: 0;
}
.custom-logo-wrap .custom-logo {
  max-height: 80px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
.footer-logo-img {
  margin-bottom: 8px;
}
.footer-logo-img .custom-logo {
  max-height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

/* =============================================
   SITE WRAPPER
   ============================================= */
.site-wrapper { min-height: 100vh; }

/* =============================================
   HEADER — CENTERED LOGO
   ============================================= */
#site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  padding: 16px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.site-branding { display: flex; flex-direction: column; align-items: center; }
.site-title a {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -1px;
  line-height: 1;
}
.site-title a:hover { color: var(--red-dark); }
.site-description {
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 4px;
}
.header-socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 15px;
  transition: all .2s;
}
.social-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* =============================================
   NAVIGATION
   ============================================= */
#site-navigation {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.main-menu {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-menu::-webkit-scrollbar { display: none; }
.main-menu li a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ccc;
  font-size: 12px;
  font-weight: 500;
  padding: 11px 15px;
  white-space: nowrap;
  transition: all .15s;
  letter-spacing: .02em;
}
.main-menu li a:hover { background: #2a2a2a; color: var(--white); }
.main-menu li.current-menu-item a,
.main-menu li.current-category-ancestor a { background: var(--red); color: var(--white); }
.main-menu li a .menu-icon { font-size: 13px; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  padding: 10px 16px;
  margin-left: auto;
}

/* =============================================
   BREAKING NEWS TICKER
   ============================================= */
#breaking-ticker {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
}
#breaking-ticker.ticker-hidden { display: none; }
.ticker-label {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  letter-spacing: .05em;
  /* Label only as wide as its text — no extra stretch */
  white-space: nowrap;
}
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-content {
  display: flex;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 12px;
  color: var(--gray-700);
  padding: 0 20px;
}
.ticker-item::before { content: '● '; color: var(--red); margin-right: 6px; }
@keyframes tickerScroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  grid-template-rows: auto;
  gap: 18px;
  align-items: start;
}
.content-area {
  min-width: 0;
  grid-column: 1;
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}
.section-header::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--red);
  border-radius: 2px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.section-more {
  margin-left: auto;
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
}
.section-more:hover { text-decoration: underline; }

/* =============================================
   CATEGORY BADGE
   ============================================= */
.cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cat-crime    { background: #4a148c; }
.cat-cricket  { background: #1b5e20; }
.cat-spiritual{ background: #e65100; }
.cat-india    { background: #1565c0; }
.cat-up       { background: #1a237e; }
.cat-health   { background: #006064; }
.cat-viral    { background: #880e4f; }
.cat-default  { background: var(--red); }

/* =============================================
   TOP 3 STORIES GRID
   ============================================= */
.top3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.top3-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.top3-card:hover { box-shadow: var(--shadow-md); }
.top3-card .card-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.top3-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.top3-card:hover .card-thumb img { transform: scale(1.04); }
.top3-card .card-thumb .no-img {
  width: 100%;
  height: 100%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top3-card .card-body {
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.top3-card .card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin: 7px 0 8px;
  font-family: var(--font-heading);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.top3-card .card-title a:hover { color: var(--red); }
.top3-card .card-meta {
  font-size: 11px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f5f5f5;
}
.top3-card .card-meta .read-more { margin-left: auto; color: var(--red); font-weight: 600; font-size: 11px; }

/* =============================================
   HERO CARD
   ============================================= */
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.hero-card:hover { box-shadow: var(--shadow-md); }
.hero-card .card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.hero-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.hero-card:hover .card-thumb img { transform: scale(1.03); }
.thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}
.hero-card .card-body { padding: 14px 16px; }
.hero-card .card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin: 8px 0 10px;
  font-family: var(--font-heading);
}
.hero-card .card-title a:hover { color: var(--red); }
.hero-card .card-excerpt {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--gray-400);
}
.card-meta .read-more { margin-left: auto; color: var(--red); font-weight: 600; }
.card-meta .read-more:hover { text-decoration: underline; }

/* =============================================
   CARD GRID (2 COLUMNS)
   ============================================= */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card .card-thumb { height: 100px; overflow: hidden; position: relative; }
.news-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .card-thumb img { transform: scale(1.05); }
.news-card .card-body { padding: 10px 12px; }
.news-card .card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
  margin: 6px 0 5px;
  font-family: var(--font-heading);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .card-title a:hover { color: var(--red); }
.news-card .card-time { font-size: 11px; color: var(--gray-300); }

/* =============================================
   LATEST NEWS LIST
   ============================================= */
.latest-list {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.latest-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
  transition: background .15s;
}
.latest-item:last-child { border-bottom: none; }
.latest-item:hover { background: #fafafa; }
.latest-item .li-thumb {
  width: 75px;
  height: 55px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.latest-item .li-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-item .li-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.latest-item .li-title a:hover { color: var(--red); }
.latest-item .li-meta { font-size: 11px; color: var(--gray-300); display: flex; gap: 6px; align-items: center; }

/* =============================================
   SIDEBAR WIDGETS
   ============================================= */
.sidebar {
  position: sticky;
  top: 48px;
  align-self: start;
  width: 270px;
  min-width: 0;
}
.sidebar .widget {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.widget-title-bar {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.widget-title-bar .wt-icon { font-size: 15px; color: var(--red); }

/* Trending widget */
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #f5f5f5;
  transition: background .15s;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: #fafafa; }
.trending-item:hover .tr-title { color: var(--red); }
.tr-num {
  font-size: 22px;
  font-weight: 700;
  color: #eee;
  min-width: 24px;
  line-height: 1;
  font-family: var(--font-body);
}
.tr-title { font-size: 12px; font-weight: 700; color: var(--gray-900); line-height: 1.4; font-family: var(--font-heading); }
.tr-count { font-size: 10px; color: var(--gray-300); margin-top: 2px; }

/* Follow widget */
.follow-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  margin: 4px 10px;
  cursor: pointer;
  transition: opacity .2s;
  text-decoration: none;
}
.follow-btn:hover { opacity: .85; }
.follow-btn.whatsapp { background: #e8f5e9; }
.follow-btn.facebook { background: #e8eaf6; }
.follow-btn .fb-icon { font-size: 20px; }
.follow-btn.whatsapp .fb-icon { color: #1b5e20; }
.follow-btn.facebook .fb-icon { color: #1a237e; }
.follow-btn .fb-label { font-size: 12px; font-weight: 700; }
.follow-btn.whatsapp .fb-label { color: #1b5e20; }
.follow-btn.facebook .fb-label { color: #1a237e; }
.follow-btn .fb-action { margin-left: auto; font-size: 11px; }
.follow-btn.whatsapp .fb-action { color: #1b5e20; }
.follow-btn.facebook .fb-action { color: #1a237e; }
.follow-btns-wrap { padding: 8px 0; }

/* Ad widget */
.ad-widget-wrap { padding: 12px; text-align: center; }
.ad-label { font-size: 10px; color: var(--gray-300); letter-spacing: .05em; margin-bottom: 6px; }

/* =============================================
   SINGLE POST
   ============================================= */
.single-post-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 18px;
  align-items: start;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.post-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.post-content-wrap { padding: 20px 24px; }
.post-cat-badge { margin-bottom: 10px; }
.post-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}
.post-meta-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: var(--gray-400);
  padding: 10px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-meta-bar .meta-item { display: flex; align-items: center; gap: 4px; }
.post-share-btns { display: flex; gap: 8px; margin-left: auto; }
.share-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
}
.share-fb { background: #1a237e; }
.share-wa { background: #1b5e20; }
.share-tw { background: #333; }

/* Post body typography */
.post-body { font-size: 15px; color: #2c2c2c; line-height: 1.8; }
.post-body p { margin-bottom: 18px; margin-top: 0; line-height: 1.85; }
.post-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 28px 0 10px;
  font-family: var(--font-heading);
  line-height: 1.3;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.post-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 22px 0 8px;
  line-height: 1.3;
}
.post-body h2 + p,
.post-body h3 + p { margin-top: 8px; }
.post-body blockquote {
  border-left: 4px solid var(--red);
  padding: 10px 18px;
  background: #fff8f8;
  color: var(--gray-500);
  font-style: italic;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
.post-body a { color: var(--red); text-decoration: underline; }

/* --- Post Body: Spacing & Formatting Fixes --- */
.post-body ul,
.post-body ol {
  margin: 0 0 18px 24px;
  padding: 0;
}
.post-body ul li,
.post-body ol li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.post-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 4px;
}
.post-body figure {
  margin: 20px 0;
}
.post-body figure img {
  margin: 0 auto;
}
.post-body figcaption {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}
.post-body strong,
.post-body b { font-weight: 700; }
.post-body em,
.post-body i { font-style: italic; }
.post-body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 28px 0;
}

/* --- Embeds: iframe / Twitter / YouTube / Facebook --- */
.post-body iframe,
.post-body video {
  max-width: 100%;
  display: block;
  margin: 20px auto;
}
/* Responsive embed wrapper (WordPress wraps oEmbed in .wp-block-embed) */
.post-body .wp-block-embed,
.post-body .wp-block-embed__wrapper {
  margin: 20px 0;
}
.post-body .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.post-body .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  border: 0;
}
/* Twitter/X embed */
.post-body .twitter-tweet {
  margin: 20px auto !important;
}
/* Facebook embed */
.post-body .fb-post,
.post-body .fb_iframe_widget {
  display: block;
  margin: 20px auto;
}
/* Instagram embed */
.post-body .instagram-media {
  margin: 20px auto !important;
  max-width: 100% !important;
}

/* In-post Ad */
.inpost-ad {
  background: #fafafa;
  border: 1px dashed var(--gray-200);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  margin: 20px 0;
}
.inpost-ad .ad-label { font-size: 10px; color: var(--gray-300); letter-spacing: .05em; margin-bottom: 6px; }

/* Above-title ad */
.above-title-ad {
  margin-bottom: 16px;
  text-align: center;
}

/* After-content ad */
.after-content-ad {
  margin-top: 24px;
  text-align: center;
}

/* Post tags */
.post-tags {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.post-tags .tags-label { font-size: 12px; font-weight: 700; color: var(--gray-500); }
.post-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  transition: all .15s;
}
.post-tag:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* Related posts */
.related-posts { margin-top: 24px; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--black);
  color: #aaa;
  font-size: 12px;
  margin-top: 10px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}
.footer-desc { font-size: 12px; color: #777; line-height: 1.6; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.footer-links li { margin-bottom: 7px; }
.footer-links li a { color: #888; font-size: 12px; transition: color .15s; }
.footer-links li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  text-align: center;
  padding: 14px 20px;
  font-size: 11px;
  color: #666;
}
.footer-bottom a { color: #777; margin: 0 8px; }
.footer-bottom a:hover { color: var(--red); }


/* =============================================
   SINGLE POST — FOLLOW PILLS (Meta Bar)
   ============================================= */
.post-follow-btns {
  display: flex;
  gap: 8px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}
.follow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
  font-family: var(--font-body);
}
.follow-pill:hover { opacity: .88; transform: translateY(-1px); color: var(--white); }
.follow-pill i { font-size: 15px; }
.follow-pill-wa  { background: #25d366; }
.follow-pill-fb  { background: #1877f2; }
.follow-pill-yt  { background: #ff0000; }


/* =============================================
   CATEGORY WIDGET — LAYOUT A (Hero + Side List)
   ============================================= */
.cat-widget-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 14px;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cwh-card {
  display: flex;
  flex-direction: column;
}
.cwh-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.cwh-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.cwh-card:hover .cwh-thumb img { transform: scale(1.03); }
.cwh-body {
  padding: 14px 16px;
  flex: 1;
}
.cwh-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  font-family: var(--font-heading);
  margin-bottom: 8px;
}
.cwh-title a:hover { color: var(--red); }
.cwh-excerpt {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  font-family: var(--font-body);
}
.cwh-side {
  border-left: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.cwh-side-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
}
.cwh-side-item:last-child { border-bottom: none; }
.cwh-side-item:hover .cwh-side-title { color: var(--red); }
.cwh-side-thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.cwh-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cwh-side-body { flex: 1; }
.cwh-side-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  font-family: var(--font-heading);
}
.cwh-side-title a:hover { color: var(--red); }

/* =============================================
   CATEGORY WIDGET — LAYOUT B (1 Big + 2 Small)
   ============================================= */
.cat-widget-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.cws-big {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cws-big .card-thumb { position: relative; }
.cws-small-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cws-small {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cws-small .card-thumb { position: relative; }

/* =============================================
   CATEGORY BADGE COLORS — per category
   ============================================= */
.cat-crime     { background: #4a148c !important; }
.cat-cricket   { background: #1b5e20 !important; }
.cat-spiritual { background: #e65100 !important; }
.cat-india     { background: #1565c0 !important; }
.cat-up        { background: #1a237e !important; }
.cat-health    { background: #006064 !important; }
.cat-viral     { background: #880e4f !important; }
.cat-national  { background: #b71c1c !important; }
.cat-lifestyle { background: #4e342e !important; }
.cat-business  { background: #1a237e !important; }
.cat-world     { background: #006064 !important; }
.cat-tech      { background: #212121 !important; }
.cat-education { background: #1b5e20 !important; }
.cat-politics  { background: #880e4f !important; }
.cat-default   { background: var(--red) !important; }

/* Responsive */
@media (max-width: 768px) {
  .cat-widget-hero  { grid-template-columns: 1fr; }
  .cwh-side         { border-left: none; border-top: 1px solid var(--gray-200); }
  .cat-widget-split { grid-template-columns: 1fr; }
}
/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}
.page-btn {
  padding: 6px 13px;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.page-btn:hover, .page-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  .site-main, .single-post-wrap { grid-template-columns: 1fr; padding: 10px 12px; gap: 12px; }
  .sidebar { display: none; position: static; }
  .card-grid { grid-template-columns: 1fr; }
  .top3-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .main-menu { display: none; }
  .main-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); z-index: 999; }
  .main-menu.open li a { padding: 12px 20px; border-bottom: 1px solid #2a2a2a; }
  .menu-toggle { display: block; }
  .site-title a { font-size: 26px; }
  .post-title { font-size: 19px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .post-meta-bar { flex-direction: column; align-items: flex-start; }
  .post-share-btns { margin-left: 0; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
