/*
Theme Name: Khoj Samachar Hindi
Theme URI: https://hindi.khojsamachar.com/
Description: Custom Hindi news theme for Khoj Samachar Hindi with homepage, single post, schema-ready layout and SEO focused design.
Author: Roshan Shrestha
Author URI: https://roshanstha.com/
Version: 1.0
Text Domain: khoj-samachar-hindi
*/


/* 🔷 Reset & Base Styles */
*{margin:0;padding:0;box-sizing:border-box}
body{background:#ffffff;font-family:'Segoe UI',sans-serif;line-height:1.6;color:#111}
a{color:#0645ad;text-decoration:none;transition:all .2s ease-in-out}
a:hover,a:focus{text-decoration:underline}
img{max-width:100%;display:block}

/* 📝 Paragraph Styling */
.site-main p,
.entry-content p{
  margin-bottom:1.6em;
  line-height:1.8;
}

/* ✅ White Background everywhere */
body,.site,.site-content,.single-post,.page{background:#ffffff!important}









/* =====================================
   GLOBAL RAIL (HEADER + CONTENT ALIGN)
===================================== */

.container,
.site-container,
.main-container,
.content-area,
.primary,
#primary,
#content {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}



/* ===== HEADER FINAL MERGED ===== */

.site-header{
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
  position:sticky;
  top:0;
  z-index:1000;
}

.header-bar{
  max-width:1280px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.header-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.header-brand a{
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:700;
  letter-spacing:-0.3px;
  line-height:1.2;
  color:#111;
  text-decoration:none;
  transition:color .2s ease;
}

.header-brand a:hover{
  color:#8a1f1f;
}

.menu-toggle{
  font-size:22px;
  background:none;
  border:none;
  cursor:pointer;
  display:none;
  color:#111;
}

/* SEARCH */
.header-search{
  display:flex;
  align-items:center;
  position:relative;
}

.header-search form{
  position:relative;
}

.header-search input{
  width:220px;
  padding:7px 12px;
  border:1px solid #d9d9d9;
  border-radius:4px;
  font-size:14px;
  outline:none;
  transition:.25s ease;
}

.header-search input:focus{
  border-color:#111;
}

/* MOBILE */
@media(max-width:768px){

  .menu-toggle{
    display:inline-block;
  }

  .header-bar{
    padding:10px 16px;
  }

  .header-brand a{
    font-size:22px;
  }

  .header-search input{
    width:34px;
    height:34px;
    padding:0;
    border:none;
    background:transparent;
    cursor:pointer;
    text-indent:-9999px;
  }

  .header-search form::before{
    content:"";
    position:absolute;
    width:16px;
    height:16px;
    border:2px solid #111;
    border-radius:50%;
    top:7px;
    left:4px;
    pointer-events:none;
  }

  .header-search form::after{
    content:"";
    position:absolute;
    width:8px;
    height:2px;
    background:#111;
    transform:rotate(45deg);
    top:19px;
    left:17px;
    pointer-events:none;
  }

  .header-search.open{
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    background:#fff;
    padding:12px 16px;
    border-top:1px solid #eee;
    box-shadow:0 6px 12px rgba(0,0,0,.08);
  }

  .header-search.open input{
    width:100%;
    height:auto;
    padding:10px 12px;
    border:1px solid #ddd;
    border-radius:4px;
    text-indent:0;
    background:#fff;
  }
}


/* =====================================
   NAV WRAPPER (OFF-WHITE SUBSECTION)
===================================== */

.nav-wrapper {
  background: #f8f9fb;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #e5e7eb;
}

/* =====================================
   MAIN MENU – DESKTOP
===================================== */

.main-menu {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  padding: 8px 20px;

  display: flex;
  justify-content: center;
  gap: 26px;

  list-style: none;
}

/* Links */
.main-menu li a {
  display: inline-block;
  padding: 6px 0;

  font-size: 14.5px;
  font-weight: 600;

  color: #222;
  text-decoration: none;
  position: relative;

  transition: color 0.2s ease;
}

/* underline */
.main-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0%;
  height: 2px;
  background: #d00000;

  transition: width 0.25s ease;
}

.main-menu li a:hover,
.main-menu li.current-menu-item > a {
  color: #d00000;
}

.main-menu li a:hover::after,
.main-menu li.current-menu-item > a::after {
  width: 100%;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  .menu-toggle {
    display: inline-block;
  }

  .header-bar {
    justify-content: space-between;
  }

  .main-menu {
    flex-direction: column;
    align-items: flex-start;

    padding: 6px 0;
    display: none;
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu li {
    width: 100%;
    border-top: 1px solid #f2f2f2;
  }

  .main-menu li a {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
  }

  .main-menu li a::after {
    display: none;
  }

  .nav-wrapper {
    border-bottom: none;
  }
}

/* =====================================================
   KHOJ SAMACHAR — FINAL HOMEPAGE SYSTEM (2026)
   Fast • SEO • International Newspaper Look
===================================================== */

/* =====================================================
   LATEST NEWS — CNN / BBC STYLE
===================================================== */

.latest-news{
  margin-bottom:90px;
}

.latest-grid{
  display:grid;
  grid-template-columns:1fr 1.6fr 1fr;
  gap:28px;
  align-items:start;
}

/* =====================================================
   LEFT
===================================================== */

.latest-left{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.latest-left .latest-card{
  display:flex;
  flex-direction:column;
}

.latest-left img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

.latest-left h2{
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  margin-top:10px;
}

.latest-left p{
  font-size:14.5px;
  color:#475569;
  line-height:1.6;
  margin-top:6px;
}

/* =====================================================
   CENTER
===================================================== */

.latest-center{
  display:flex;
  flex-direction:column;
}

.latest-lead img{
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center;
  border-radius:16px;
  display:block;
}

.latest-lead h2{
  font-size:32px;
  font-weight:800;
  line-height:1.2;
  margin-top:16px;
}

.latest-lead p{
  font-size:16px;
  color:#334155;
  line-height:1.7;
  margin-top:10px;
}

/* =====================================================
   FOLLOWUP POSTS
===================================================== */

.latest-followups{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #e5e7eb;
  display:grid;
  gap:16px;
}

.followup-item a{
  display:block;
}

.followup-item h3{
  font-size:16px;
  font-weight:700;
  line-height:1.5;
  margin:0 0 4px;
}

.followup-item span{
  font-size:12px;
  color:#64748b;
}

.followup-item a:hover h3{
  text-decoration:underline;
}

/* =====================================================
   RIGHT
===================================================== */

.latest-right{
  display:grid;
  gap:20px;
}

.latest-list a{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:12px;
  align-items:center;
}

.latest-list img{
  width:90px;
  height:60px;
  object-fit:cover;
  border-radius:8px;
  display:block;
}

.latest-list h4{
  font-size:15px;
  font-weight:600;
  line-height:1.45;
}

.latest-list .time{
  font-size:12px;
  color:#64748b;
  margin-top:4px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:900px){

  .latest-grid{
    grid-template-columns:1fr;
  }

  /* CENTER TOP */
  .latest-center{
    order:-1;
  }

  .latest-lead img{
    height:220px;
  }

  .latest-lead h2{
    font-size:24px;
  }

  .latest-followups{
    gap:12px;
  }

}




/* ===============================
EDITOR PICKS SECTION
=============================== */

.editor-picks{
margin:40px 0;
}

.ep-box{
background:#f8fafc;
border:1px solid #e5e7eb;
border-radius:14px;
padding:22px;
}

/* TITLE */

.ep-title{
font-size:22px;
font-weight:800;
margin-bottom:20px;
}

/* HERO LAYOUT */

.ep-main-wrap{
display:grid;
grid-template-columns:1.4fr 1fr;
gap:24px;
align-items:center;
text-decoration:none;
}

/* IMAGE */

.ep-main-img img{
width:100%;
height:360px;
object-fit:cover;
border-radius:10px;
}

/* TITLE TEXT */

.ep-main-text h2{
font-size:36px;
font-weight:900;
line-height:1.15;
color:#0b3a67;
margin:0;
}

/* SMALL GRID */

.ep-grid{
margin-top:24px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

/* CARD */

.ep-card img{
width:100%;
height:160px;
object-fit:cover;
border-radius:8px;
}

.ep-card h3{
font-size:15px;
font-weight:800;
margin-top:8px;
line-height:1.35;
color:#0b3a67;
}

/* TABLET */

@media(max-width:900px){

.ep-main-wrap{
grid-template-columns:1fr;
}

.ep-main-img img{
height:260px;
}

.ep-main-text h2{
font-size:26px;
}

.ep-grid{
grid-template-columns:1fr 1fr;
}

}

/* MOBILE */

@media(max-width:600px){

.ep-grid{
grid-template-columns:1fr;
}

}






/* ===============================
CATEGORY GRID — FINAL VERSION
=============================== */

.category-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:26px;
margin-top:20px;
}

/* CATEGORY CARD */

.category-block{
background:#f8fafc;
border:1px solid #e5e7eb;
border-radius:14px;
padding:18px;
transition:0.2s ease;
}

.category-block:hover{
box-shadow:0 6px 16px rgba(0,0,0,0.08);
transform:translateY(-2px);
}

/* CATEGORY HEADER */

.category-head h3{
color:#000;
background-color:#c6e3d4;
border:1px solid #a3c7b8;
padding:12px 18px;
border-radius:4px;
font-size:18px;
font-weight:800;
margin-bottom:14px;
}

.category-head a{
text-decoration:none;
color:#000;
}

/* ===============================
MAIN STORY
=============================== */

.cat-main{
margin-bottom:14px;
}

.cat-main img{
width:100%;
height:170px;
object-fit:cover;
border-radius:8px;
}

.cat-main h4{
font-size:16px;
font-weight:800;
line-height:1.35;
margin-top:8px;
margin-bottom:10px;
color:#111;
}

/* ===============================
SMALL STORIES
=============================== */

.cat-sub-grid{
display:flex;
flex-direction:column;
gap:12px;
}

.cat-sub{
border-top:1px solid #e5e7eb;
padding-top:12px;
}

.cat-sub a{
display:flex;
justify-content:space-between;
align-items:center;
gap:14px;
text-decoration:none;
}

.cat-sub h5{
flex:1;
font-size:14px;
font-weight:700;
line-height:1.35;
margin:0;
color:#111;
}

/* THUMBNAIL RIGHT */

.cat-sub img{
width:90px;
height:65px;
object-fit:cover;
border-radius:6px;
flex-shrink:0;
}

/* ===============================
TABLET
=============================== */

@media(max-width:1100px){

.category-grid{
grid-template-columns:repeat(2,1fr);
}

}

/* ===============================
MOBILE
=============================== */

@media(max-width:700px){

.category-grid{
grid-template-columns:1fr;
}

.cat-main img{
height:200px;
}

.cat-sub img{
width:80px;
height:60px;
}

}
.home .global-footer{
  margin-top: 96px;
  padding-top: 56px;
  border-top: 2px solid #e5e7eb;
  background: #ffffff;
}













/* ==============================
   TEAM PAGE – FINAL CLEAN EDITORIAL
   ============================== */

.team-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: Helvetica, Arial, sans-serif;
  color: #111;
}

/* SECTION */
.team-section {
  margin-bottom: 70px;
}

/* HEADING */
.team-heading {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 3px solid #c00;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 35px;
}

/* GRID – ALWAYS SINGLE COLUMN (EDITORIAL LIST) */
.team-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px;
}

/* CARD */
.team-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* PHOTO – DESKTOP BIG */
.team-photo {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%);
}

/* INFO */
.team-info {
  line-height: 1.4;
}

/* NAME – SINGLE LINE ALWAYS */
.team-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;        /* 👈 name ekai line */
}

.team-name a {
  color: #000;
  text-decoration: none;
}

.team-name a:hover {
  text-decoration: underline;
}

/* ROLE */
.team-role {
  font-size: 14px;
  color: #555;
}

/* ==================
   MOBILE TUNING
   ================== */
@media (max-width: 600px) {

  .team-photo {
    width: 64px;
    height: 64px;
  }

  .team-name {
    font-size: 16px;
  }

  .team-role {
    font-size: 13px;
  }
}

/* THEME WIDTH FIX */
.page .site-content,
.page .content-area {
  width: 100%;
}


.team-faq{
  max-width: 900px;
  margin: 0 auto;
}

/* Each FAQ block */
.faq-item{
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
}

/* Question – FAQ style */
.faq-question{
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  padding: 0;
  cursor: default;        /* click jasto feel hataune */
  display: block;
}

/* + icon remove (since always open) */
.faq-icon{
  display: none;
}

/* Answer – always visible */
.faq-answer{
  margin-top: 8px;
}

.faq-answer p{
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #475569;
}



/* ===== GLOBAL FOOTER ===== */
.global-footer {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 48px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  color: #111;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GRID ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

/* ===== BRAND ===== */
.footer-brand {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.footer-brand-link {
  color: #000;
  text-decoration: none;
}

.footer-brand-link:hover {
  text-decoration: underline;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  max-width: 420px;
  margin-bottom: 18px;
}

.brand .meta {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.brand .meta a {
  color: #000;
  text-decoration: none;
}

.brand .meta a:hover {
  text-decoration: underline;
}

/* ===== FOOTER BLOCKS ===== */
.ft-block h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ft-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ft-list li {
  margin-bottom: 8px;
}

.ft-list a {
  font-size: 14px;
  color: #111;
  text-decoration: none;
}

.ft-list a:hover {
  text-decoration: underline;
}

/* ===== BOTTOM BAR ===== */
.ft-bottom {
  border-top: 1px solid #e5e5e5;
  margin-top: 40px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.ft-bottom a {
  color: #000;
  text-decoration: none;
}

.ft-bottom a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ft-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}


/* =====================================================
   SINGLE POST — FINAL PREMIUM NEWS LAYOUT
   Clean BBC / NYT editorial style
===================================================== */

:root{
  --ks-paper-bg:#f4efe7;
  --ks-card-bg:#fffdf9;
  --ks-text:#1d2329;
  --ks-heading:#10233b;
  --ks-muted:#6f7a86;
  --ks-line:#d8d0c4;
  --ks-accent:#8a1f1f;
  --ks-link:#36546f;
}

/* Page background */
body.single-post{
  background:var(--ks-paper-bg) !important;
  color:var(--ks-text);
}

/* Main container */
body.single-post .site-main{
  max-width:1240px;
  margin:auto;
  padding:20px 16px 60px;
}

/* Article card */
body.single-post .single-article{
  background:var(--ks-card-bg);
  border:1px solid var(--ks-line);
  border-radius:12px;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
}

/* Wider header */
body.single-post .post-header,
body.single-post .featured-image,
body.single-post .related-posts{
  max-width:1100px;
  margin:auto;
  padding-left:30px;
  padding-right:30px;
}

/* Wider readable content */
body.single-post .post-content{
  max-width:780px;
  margin:auto;
  padding-left:30px;
  padding-right:30px;
}

/* Breadcrumb */
body.single-post .breadcrumbs{
  max-width:1100px;
  margin:0 auto 14px;
  font-size:12px;
  color:#7a7a7a;
}

body.single-post .breadcrumbs a{
  color:#7a7a7a;
  text-decoration:none;
}

body.single-post .breadcrumbs a:hover{
  text-decoration:underline;
}

/* Header spacing */
body.single-post .post-header{
  padding-top:24px;
  padding-bottom:10px;
}

/* =====================================================
   HEADLINE — FIXED (NO CUT)
===================================================== */

body.single-post .post-title{
  display:block;
  width:100%;
  margin:0 0 12px;

  font-family:Georgia,"Times New Roman",serif;

  font-size:clamp(28px,2.4vw,36px);

  line-height:1.22;

  font-weight:700;

  letter-spacing:-0.35px;

  color:var(--ks-heading);

  word-break:normal;

  overflow-wrap:break-word;

}

/* =====================================================
   EXCERPT / DECK
===================================================== */

body.single-post .post-subheading{

  margin:0 0 18px;

  font-family:Georgia,"Times New Roman",serif;

  font-size:17px;

  line-height:1.65;

  font-weight:400;

  color:var(--ks-muted);

  max-width:900px;

}

/* =====================================================
   AUTHOR LINE
===================================================== */

body.single-post .byline-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;

  border-top:1px solid var(--ks-line);
  border-bottom:1px solid var(--ks-line);

  padding:12px 0;
}

body.single-post .byline-left{
  display:flex;
  align-items:center;
  gap:12px;
}

body.single-post .byline-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
}

body.single-post .byline-author{
  font-size:14px;
  font-weight:700;
  color:#10233b;
}

body.single-post .byline-dates{
  font-size:12px;
  color:#7a8794;
}

/* =====================================================
   FEATURED IMAGE
===================================================== */

body.single-post .featured-image{
  margin-top:20px;
  margin-bottom:22px;
}

body.single-post .featured-image img{
  width:100%;
  height:auto;
  border-radius:10px;
}

/* Featured image caption */

body.single-post .featured-image-caption{

  margin-top:10px;

  font-size:12.5px;

  line-height:1.6;

  color:#6b7280;

  max-width:720px;

  margin-left:auto;

  margin-right:auto;

  text-align:center;

}

/* If caption becomes long */

body.single-post .featured-image-caption:has(br),
body.single-post .featured-image-caption:has(p){

  max-width:100%;

  text-align:left;

}

/* =====================================================
   ARTICLE CONTENT
===================================================== */

body.single-post .post-content{

  font-family:Georgia,"Times New Roman",serif;

  font-size:20px;

  line-height:1.9;

  color:var(--ks-text);

  padding-bottom:30px;

}

body.single-post .post-content p{
  margin-bottom:1.6em;
}

body.single-post .post-content p:first-of-type{
  font-size:21px;
  line-height:1.85;
}

/* Headings */

body.single-post .post-content h2{
  font-size:28px;
  font-weight:800;
  margin:2.2em 0 1em;
  padding-bottom:6px;
  border-bottom:1px solid #d8d0c4;
}

body.single-post .post-content h3{
  font-size:22px;
  font-weight:800;
  margin:1.7em 0 .6em;
}

body.single-post .post-content h4{
  font-size:18px;
  font-weight:700;
  margin:1.3em 0 .5em;
}
/* Blockquote */

body.single-post .post-content blockquote{
  border-left:3px solid var(--ks-accent);
  background:#f8f4ed;
  padding:16px 18px;
  margin:28px 0;
  font-size:18px;
  line-height:1.8;
  font-style:italic;
}



/* =====================================================
RELATED COVERAGE — PREMIUM NEWS STYLE
===================================================== */

body.single-post .related-posts{
padding-top:34px;
padding-bottom:38px;
}

/* SECTION TITLE */

body.single-post .related-posts h2{
font-size:20px;
font-weight:800;
margin-bottom:18px;
letter-spacing:.2px;
}

/* GRID */

body.single-post .related-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:18px;
}

/* CARD */

body.single-post .related-card{
border:1px solid #e6e6e6;
border-radius:12px;
overflow:hidden;
background:#fff;
transition:0.28s ease;
}

body.single-post .related-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 24px rgba(0,0,0,0.08);
}

/* IMAGE */

body.single-post .related-card img{
width:100%;
height:160px;
object-fit:cover;
transition:0.35s ease;
}

body.single-post .related-card:hover img{
transform:scale(1.05);
}

/* CONTENT */

body.single-post .related-content{
padding:12px 14px;
text-align:center;
}

/* TITLE */

body.single-post .related-title{
font-size:14px;
font-weight:700;
line-height:1.45;
margin-bottom:8px;
color:#111;

display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

/* DATE */

body.single-post .related-date{
font-size:12.5px;
color:#6b7280;
text-align:center;
margin-top:6px;
}

body.single-post .related-date::before{
content:"Published • ";
font-weight:600;
color:#555;
}


/* =====================================================
TABLET
===================================================== */

@media (max-width:1000px){

body.single-post .related-grid{
grid-template-columns:repeat(2,1fr);
}

body.single-post .post-content{
max-width:100%;
font-size:19px;
}

body.single-post .post-title{
font-size:30px;
}

}


/* =====================================================
MOBILE — FINAL OPTIMIZED
===================================================== */

@media (max-width:640px){

body.single-post .site-main{
padding:10px 8px 34px;
}

body.single-post .single-article{
border-radius:8px;
}

body.single-post .post-header,
body.single-post .featured-image,
body.single-post .post-content{
padding-left:14px;
padding-right:14px;
}

body.single-post .post-title{
font-size:clamp(20px,5.5vw,24px);
line-height:1.28;
letter-spacing:-0.2px;
}

body.single-post .post-subheading{
font-size:13.5px;
line-height:1.55;
margin-bottom:14px;
}

body.single-post .byline-wrap{
padding:10px 0;
gap:10px;
}

body.single-post .byline-avatar{
width:38px;
height:38px;
}

body.single-post .byline-author{
font-size:13px;
}

body.single-post .byline-dates{
font-size:11px;
}

body.single-post .featured-image{
margin-top:16px;
margin-bottom:18px;
}

body.single-post .featured-image img{
border-radius:8px;
}

body.single-post .featured-image-caption{
font-size:11.5px;
line-height:1.55;
}

body.single-post .post-content{
font-size:16.8px;
line-height:1.82;
padding-bottom:22px;
}

body.single-post .post-content p:first-of-type{
font-size:17.5px;
}

body.single-post .post-content h2{
font-size:21px;
margin:2em 0 .8em;
}

body.single-post .post-content h3{
font-size:18px;
}

body.single-post .post-content h4{
font-size:16px;
}

body.single-post .post-content blockquote{
font-size:15px;
padding:12px 14px;
}

}


/* =====================================================
SMALL MOBILE
===================================================== */

@media (max-width:600px){

body.single-post .related-grid{
grid-template-columns:1fr;
gap:16px;
}

body.single-post .related-card img{
height:180px;
}

body.single-post .related-title{
font-size:15px;
}

}






/* =====================================================
   BBC / REUTERS STYLE UPGRADE
===================================================== */


/* ===== Reading progress bar ===== */

body.single-post::before{
content:"";
position:fixed;
top:0;
left:0;
height:3px;
width:0%;
background:#8a1f1f;
z-index:9999;
animation:scroll-progress linear;
animation-timeline:scroll();
}

@keyframes scroll-progress{
from{width:0%;}
to{width:100%;}
}


/* ===== UNIVERSAL DROP CAP ===== */

body.single-post .post-content p:first-of-type{
position:relative;
}

body.single-post .post-content p:first-of-type::first-letter{

float:left;

font-size:64px;

line-height:.9;

margin-right:10px;

margin-top:6px;

font-family:Georgia,"Times New Roman",serif;

font-weight:700;

color:#8a1f1f;

}

/* if first word wrapped in strong/span/link */

body.single-post .post-content p:first-of-type strong::first-letter,
body.single-post .post-content p:first-of-type span::first-letter,
body.single-post .post-content p:first-of-type a::first-letter{

float:left;

font-size:64px;

line-height:.9;

margin-right:10px;

margin-top:6px;

font-family:Georgia,"Times New Roman",serif;

font-weight:700;

color:#8a1f1f;

}

/* mobile */

@media(max-width:640px){

body.single-post .post-content p:first-of-type::first-letter,
body.single-post .post-content p:first-of-type strong::first-letter,
body.single-post .post-content p:first-of-type span::first-letter,
body.single-post .post-content p:first-of-type a::first-letter{

font-size:46px;
margin-top:4px;

}

}

/* ===== Professional image caption ===== */

body.single-post .featured-image-caption{

font-style:italic;
color:#6b7280;
font-size:12.5px;
line-height:1.6;

}

body.single-post .featured-image-caption::after{

content:"";
display:block;
height:1px;
background:linear-gradient(to right, transparent,#d8d0c4,transparent);
margin-top:10px;

}


/* ===== Image credit ===== */

body.single-post .image-credit{

display:block;
font-size:11px;
color:#9ca3af;
margin-top:4px;
text-transform:uppercase;
letter-spacing:.5px;

}


/* ===== Sticky share bar ===== */

.single-share-bar{

position:fixed;
left:20px;
top:220px;
display:flex;
flex-direction:column;
gap:10px;
z-index:100;

}

.single-share-bar a{

width:36px;
height:36px;
display:flex;
align-items:center;
justify-content:center;

background:white;

border-radius:50%;

box-shadow:0 2px 6px rgba(0,0,0,.1);

font-size:14px;

color:#1f2937;

transition:.2s;

}

.single-share-bar a:hover{

transform:scale(1.08);
background:#8a1f1f;
color:white;

}

@media(max-width:900px){

.single-share-bar{

display:none;

}

}


/* ===== Related posts hover ===== */

body.single-post .related-card{

transition:.25s ease;

}

body.single-post .related-card:hover{

transform:translateY(-4px);

box-shadow:0 10px 18px rgba(0,0,0,.08);

}

body.single-post .related-card img{

transition:.3s;

}

body.single-post .related-card:hover img{

transform:scale(1.05);

}


/* ===== Content links ===== */

body.single-post .post-content a{

color:#36546f;
text-decoration:underline;
text-underline-offset:2px;

}

body.single-post .post-content a:hover{

color:#8a1f1f;

}


/* ===== Quote style upgrade ===== */

body.single-post .post-content blockquote{

border-left:4px solid #8a1f1f;

font-style:italic;

background:#f8f4ed;

}


/* ===== Better paragraph rhythm ===== */

body.single-post .post-content p{

text-rendering:optimizeLegibility;

}


/* ===== Smooth image edges ===== */

body.single-post .featured-image img{

box-shadow:0 3px 10px rgba(0,0,0,.06);

}


/* ===== Mobile typography polish ===== */

@media(max-width:640px){

body.single-post .post-content p:first-of-type::first-letter{

font-size:48px;

}

}





/* Premium Intro Text Style (Optimized) */
.homepage-intro {
  font-size: 12px; /* 12px बाट बढायो (readability + SEO) */
  line-height: 1.7;
  color: #4b5563; /* soft but darker gray (perfect balance) */
  max-width: 620px;
  margin: 8px 0 18px 0;
  font-weight: 400;
  letter-spacing: 0.2px;

  /* smooth readability */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* remove opacity for better contrast */
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .homepage-intro {
    font-size: 14px;
    line-height: 1.6;
    margin: 6px 0 14px 0;
  }
}

/* =====================================
   PREMIUM H1 – FINAL CLEAN
===================================== */

.section-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; /* 🔥 brand भन्दा फरक */

  font-size: 18px; /* 🔥 alik sano */
  line-height: 1.35;

  font-weight: 700; /* less heavy */
  color: #111827;

  margin: 10px 0 6px 0;
  letter-spacing: -0.2px;

  -webkit-font-smoothing: antialiased;
}

/* 🔥 Khoj Samachar (light serif brand feel) */
.section-title .brand-part {
  font-family: Georgia, "Times New Roman", serif; /* brand jasto */
  font-weight: 600;
  color: #6b7280;
  margin-right: 6px;
}

/* 🔥 Main headline (clean sans-serif) */
.section-title .main-part {
  font-family: inherit; /* same as section-title */
  font-weight: 700;
  color: #111827;
}

@media (max-width: 768px) {

  .section-title {
    font-size: 16px; /* 🔥 mobile ma sano */
    line-height: 1.4;
  }

  .section-title .brand-part {
    display: inline; /* 🔥 same line (no break) */
  }
}



/* ONLY apply inside single post */
.single-post .related-posts {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

/* Heading */
.single-post .related-heading {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0f172a;
  letter-spacing: -0.2px;
}

/* Grid */
.single-post .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card */
.single-post .related-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Hover */
.single-post .related-card {
  transition: all 0.3s ease;
}

.single-post .related-card:hover {
  transform: translateY(-4px);
}

/* Image */
.single-post .related-image {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.single-post .related-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.single-post .related-card:hover img {
  transform: scale(1.06);
}

/* Badge */
.single-post .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.single-post .badge.breaking {
  background: #dc2626;
}

.single-post .badge.latest {
  background: #f59e0b;
}

/* Content */
.single-post .related-content {
  padding-top: 10px;
}

/* Title */
.single-post .related-title {
  font-size: 15.8px;
  font-weight: 600;
  line-height: 1.45;
  color: #111827;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.single-post .related-title:hover {
  color: #dc2626;
}

/* Date */
.single-post .related-date {
  font-size: 12.5px;
  color: #9ca3af;
  font-weight: 500;
}

/* Tablet */
@media (max-width: 1024px) {
  .single-post .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .single-post .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .single-post .related-heading {
    font-size: 18px;
  }
}











/* =========================
   DESKTOP (Clean White UI)
========================= */
.khoj-cta-bar {
  padding: 24px 16px 32px;
  background: transparent;
  border-top: 1px solid #eef2f7;
}

.khoj-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.khoj-cta-item {
  min-width: 170px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  background: #ffffff;
  border: 1px solid #dbe2ea;
  color: #1f2937;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.khoj-cta-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  background: #f8fafc;
}

.khoj-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.desktop-label {
  display: inline;
}

.mobile-label {
  display: none;
}

/* =========================
   MOBILE (App Style Bar)
========================= */
@media (max-width: 767px) {
  .khoj-cta-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
    background: #ffffff;
    border-top: 1px solid #dcdcdc;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
  }

  .khoj-cta-inner {
    display: flex;
    gap: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
  }

  .khoj-cta-item {
    flex: 1 1 20%;
    min-width: 0;
    height: 72px;
    padding: 6px 3px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent !important;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transform: none;
  }

  .khoj-cta-item:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .khoj-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .khoj-icon img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
  }

  .desktop-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    color: #4b5563;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
  }

  .mobile-label {
    display: none;
  }

  body {
    padding-bottom: 74px;
  }
}















.khoj-language-switch-wrap{
  margin:18px 0 22px;
}

.khoj-language-switch{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

.khoj-language-label{
  font-size:14px;
  font-weight:600;
  color:#666;
}

.khoj-language-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:15px;
  font-weight:700;
  color:#c40000;
  text-decoration:none;
  transition:.2s ease;
}

.khoj-language-link:hover{
  opacity:.8;
  text-decoration:underline;
}






/* =====================================================
   MOBILE HEADER
===================================================== */

@media (max-width:900px){

  .header-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    background:#fff;
    position:relative;
    z-index:99999;
    border-bottom:1px solid #ececec;
    box-sizing:border-box;
  }

  .header-left{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    flex:1;
  }

  /* =====================================================
     BRAND
  ===================================================== */

  .header-brand{
    flex:1;
    min-width:0;
    overflow:hidden;
  }

  .header-brand a{
    display:block;
    font-size:20px;
    font-weight:800;
    color:#000;
    text-decoration:none;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* =====================================================
     MENU BUTTON
  ===================================================== */

  .menu-toggle{
    width:40px;
    height:40px;
    border:none;
    background:none;
    font-size:30px;
    color:#111;
    cursor:pointer;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    position:relative;
    z-index:99999999;
  }

  .menu-toggle:focus{
    outline:none;
  }

  /* =====================================================
     SEARCH
  ===================================================== */

  .header-search{
    position:relative;
    flex-shrink:0;
    width:42px;
    height:42px;
    z-index:999999;
  }

  .header-search::before{
    content:"⌕";
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d7d7d7;
    border-radius:12px;
    background:#fff;
    font-size:24px;
    color:#111;
    pointer-events:none;
  }

  .header-search form{
    position:absolute;
    top:54px;
    right:0;
    width:0;
    opacity:0;
    visibility:hidden;
    transition:.25s ease;
    z-index:999999;
    display:block !important;
    pointer-events:none;
  }

  .header-search.active form{
    width:min(88vw,270px);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .header-search input{
    width:100%;
    height:48px;
    border:1px solid #d1d5db;
    border-radius:14px;
    padding:0 16px;
    font-size:16px !important;
    background:#fff !important;
    color:#111 !important;
    box-sizing:border-box;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    -webkit-appearance:none;
    appearance:none;
    opacity:1 !important;
    caret-color:#111;
  }

  .header-search input::placeholder{
    color:#6b7280;
  }

  .header-search input:focus{
    outline:none;
    border-color:#d60000;
  }

  /* =====================================================
     MOBILE MENU
  ===================================================== */

  #primary-menu{
    position:fixed;
    top:0;
    left:-100%;
    width:290px;
    max-width:84%;
    height:100vh;
    background:#fff;
    z-index:9999999;
    transition:left .28s ease;
    padding:22px 22px 40px;
    overflow-y:auto;
    box-shadow:0 0 40px rgba(0,0,0,.14);
    box-sizing:border-box;
  }

  #primary-menu.menu-open{
    left:0;
  }

  /* CLOSE SPACE FIX */

  #primary-menu .menu-toggle{
    margin-bottom:14px;
  }

  .main-menu{
    display:flex;
    flex-direction:column;
    gap:0;
    margin:0;
    padding:0;
  }

  .main-menu li{
    list-style:none;
    border-bottom:1px solid #efefef;
  }

  .main-menu a{
    display:block;
    padding:16px 0;
    font-size:18px;
    font-weight:700;
    color:#111827;
    text-decoration:none;
    line-height:1.45;
  }

  .main-menu a:hover{
    color:#d60000;
  }

  /* =====================================================
     BODY LOCK
  ===================================================== */

  body.menu-active{
    overflow:hidden;
  }

}

/* =====================================================
   EXTRA SMALL
===================================================== */

@media (max-width:480px){

  .header-bar{
    padding:10px 12px;
  }

  .header-brand a{
    font-size:18px;
  }

  .menu-toggle{
    width:36px;
    height:36px;
    font-size:28px;
  }

  .header-search{
    width:38px;
    height:38px;
  }

  .header-search::before{
    font-size:22px;
    border-radius:10px;
  }

  .header-search.active form{
    width:min(86vw,230px);
  }

}










/* =====================================================
   AI DISCLAIMER
===================================================== */

.khoj-ai-disclaimer{
    margin:35px auto;
    max-width:920px;
}

.khoj-disclaimer-toggle{
    display:flex;
    align-items:center;
    gap:12px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
}

.khoj-disclaimer-toggle .icon{
    font-size:30px;
    color:#c78600;
    line-height:1;
}

.khoj-disclaimer-toggle span:last-child{
    font-size:22px;
    font-weight:800;
    color:#c78600;
    letter-spacing:.5px;
}

.khoj-disclaimer-content{
    display:none;
    margin-top:18px;
    background:#f7f1e7;
    border-radius:12px;
    padding:26px 30px;
    font-size:17px;
    line-height:1.8;
    color:#c78600;
    font-style:italic;
    font-weight:500;
}

.khoj-disclaimer-content.active{
    display:block;
}

/* MOBILE */

@media (max-width: 768px) {

    .khoj-ai-disclaimer{
        margin: 24px 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .khoj-disclaimer-toggle{
        padding: 14px 16px;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .khoj-disclaimer-toggle span:last-child{
        font-size: 17px;
        line-height: 1.5;
        word-break: break-word;
    }

    .khoj-disclaimer-content{
        padding: 16px;
        font-size: 15px;
        line-height: 1.7;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
        box-sizing: border-box;
    }

}