/* ─── BREADCRUMB ─── */
.breadcrumb-wrap { max-width: 1200px; margin: 12px auto 0; padding: 0 16px; font-size: 12.5px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb-wrap a { color: var(--saffron-dark); }
.breadcrumb-wrap a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #bbb; }

/* ─── LAYOUT ─── */
.layout { max-width: 1200px; margin: 14px auto 0; padding: 0 16px 40px; display: grid; grid-template-columns: 1fr var(--sidebar-w); gap: 22px; align-items: start; }

/* ─── MAIN CONTENT ─── */
.main-content { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); min-width: 0; }

/* Category tag */
.post-meta-top { padding: 16px 22px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cat-tag { background: var(--saffron); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 3px; letter-spacing: .5px; text-transform: uppercase; }
.post-date-top { font-size: 12px; color: var(--text-soft); }

.post-title { font-family: 'Noto Serif Devanagari', serif; font-size: 26px; font-weight: 700; color: var(--text-dark); line-height: 1.4; padding: 10px 22px 8px; }
.post-subtitle { font-size: 15px; color: var(--text-mid); padding: 0 22px 12px; line-height: 1.6; border-bottom: 1px solid var(--border); }

/* Author + share row */
.author-share-row { padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); gap: 10px; flex-wrap: wrap; }
.author-info { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron-light), var(--gold-light)); border: 2px solid var(--saffron); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.author-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.author-role { font-size: 11px; color: var(--text-soft); }
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 4px; cursor: pointer; border: none; color: #fff; transition: opacity .15s; }
.share-btn:hover { opacity: .85; }
.share-btn.fb   { background: #1877F2; }
.share-btn.wa   { background: #25D366; }
.share-btn.tw   { background: #1DA1F2; }
.share-btn.copy { background: #555; }

/* Featured image */
.featured-image-wrap { margin: 0; position: relative; background: #f0ece6; }
.featured-image-wrap img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block; }
.featured-image-caption { padding: 6px 22px; font-size: 11.5px; color: var(--text-soft); background: #faf8f5; border-bottom: 1px solid var(--border); font-style: italic; }

/* Post body */
.post-body { padding: 20px 22px; }
.post-body p { font-family: 'Tiro Devanagari Hindi', serif; font-size: 16.5px; color: #2a2a2a; line-height: 1.85; margin-bottom: 18px; }
.post-body h2 { font-family: 'Noto Serif Devanagari', serif; font-size: 20px; font-weight: 700; color: var(--maroon); margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid var(--saffron); line-height: 1.4; }
.post-body h3 { font-family: 'Noto Serif Devanagari', serif; font-size: 17px; font-weight: 600; color: var(--text-dark); margin: 22px 0 10px; }
.post-body ul { margin: 0 0 18px 20px; font-family: 'Tiro Devanagari Hindi', serif; font-size: 16px; color: #2a2a2a; line-height: 1.9; }
.post-body ul li { margin-bottom: 4px; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 18px auto; border-radius: 6px; }

/* Highlight box */
.highlight-box { background: var(--gold-light); border: 1px solid #e8d59a; border-left: 4px solid var(--gold); border-radius: 6px; padding: 14px 18px; margin: 18px 0; }
.highlight-box strong { display: block; font-size: 14px; color: var(--maroon); margin-bottom: 6px; font-weight: 600; }
.highlight-box p { font-size: 14.5px !important; margin-bottom: 0 !important; color: #5a4200 !important; font-family: 'Hind', sans-serif !important; line-height: 1.7 !important; }

/* Panchang table */
.panchang-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.panchang-table th { background: var(--saffron); color: #fff; padding: 9px 14px; text-align: left; font-weight: 600; font-size: 13px; }
.panchang-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.panchang-table tr:nth-child(even) td { background: #faf8f5; }
.panchang-table tr:last-child td { border-bottom: none; }
.panchang-table td:first-child { font-weight: 500; color: var(--maroon); width: 38%; }

/* Tags */
.post-tags { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tags-label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.tag { background: var(--saffron-light); color: var(--saffron-dark); border: 1px solid #f0cbb0; font-size: 12px; padding: 4px 10px; border-radius: 3px; cursor: pointer; transition: background .15s; }
.tag:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* Related posts */
.related-section { padding: 20px 22px; border-top: 1px solid var(--border); }
.section-heading { font-family: 'Noto Serif Devanagari', serif; font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.section-heading::after { content: ''; flex: 1; height: 2px; background: linear-gradient(to right, var(--saffron), transparent); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-card { display: flex; gap: 10px; cursor: pointer; transition: transform .15s; }
.related-card:hover { transform: translateX(3px); }
.related-card-img { width: 105px; aspect-ratio: 16 / 9; height: auto; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: var(--saffron-light); display: flex; align-items: center; justify-content: center; font-size: 22px; overflow: hidden; position: relative; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.related-card-title { font-family: 'Hind', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.45; }
.related-card-date { font-size: 11px; color: var(--text-soft); margin-top: 4px; }

/* ── STICKY AD BLOCK ── */
.sidebar-ad-sticky { position: sticky; top: 80px; z-index: 50; }
.sidebar-ad-box { background: #f0eee9; border: 1px dashed #ccc; border-radius: 6px; width: 100%; height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #bbb; font-size: 12px; gap: 6px; }

/* Fake hero fallback */
.fake-hero { width: 100%; aspect-ratio: 16 / 9; height: auto; background: linear-gradient(135deg, #FFF3EC 0%, #FFE0C8 40%, #FDEBD0 100%); display: flex; align-items: center; justify-content: center; font-size: 80px; }

/* English mode styles */
body.lang-en .hi-text { display: none; }
body.lang-en .en-text { display: inline; }
body.lang-hi .en-text { display: none; }
body.lang-hi .hi-text { display: inline; }
.en-text { display: none; } /* default hidden */

@media (max-width: 900px) {
  :root { --sidebar-w: 260px; }
  .layout { grid-template-columns: 1fr var(--sidebar-w); gap: 16px; }
  .post-title { font-size: 22px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
