/* ============================================================
   MULTIMEDIA IN MARATHI — EXTRA COMPONENTS
   Mobile nav, filter bar, load more, reading progress, etc.
   ============================================================ */

/* ── Mobile Nav Drawer ── */
.mobile-nav {
  position: fixed; top: 0; left: -100%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--bg2);
  border-right: 1px solid var(--border);
  z-index: 9998; transition: left 0.35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { left: 0; }
.mobile-nav__inner { padding: 24px 20px; }
.mobile-nav__close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--txt2); cursor: pointer; margin-bottom: 24px;
  margin-left: auto; font-size: 0.9rem; transition: all var(--t);
}
.mobile-nav__close:hover { background: var(--red); border-color: var(--red); color: #fff; }

.mobile-menu { display: flex; flex-direction: column; }
.mobile-menu li a {
  display: block; padding: 12px 0;
  font-family: var(--f-ui); font-size: 1rem; font-weight: 600;
  color: var(--txt2); border-bottom: 1px solid var(--border2);
  transition: color var(--t), padding-left var(--t);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.mobile-menu li a:hover { color: var(--red); padding-left: 8px; }
.mobile-menu .sub-menu { padding-left: 16px; }
.mobile-menu .sub-menu a { font-size: 0.875rem; font-weight: 400; text-transform: none; }

.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9997; opacity: 0; visibility: hidden;
  transition: all 0.3s ease; backdrop-filter: blur(4px);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* ── Hero Side Stack ── */
.hero-side-stack {
  display: flex; flex-direction: column; gap: 3px;
}
.hero-side { flex: 1; }

/* ── Read More Button ── */
.read-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-ui); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); transition: gap var(--t);
}
.read-more-btn:hover { gap: 10px; }

/* ── Load More Button ── */
.load-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ui); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--bg3); color: var(--txt2);
  border: 1px solid var(--border); padding: 14px 32px;
  border-radius: 3px; cursor: pointer;
  transition: all var(--t);
}
.load-more-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.load-more-btn.loading { opacity: 0.6; pointer-events: none; }

/* ── Filter Bar ── */
.filter-bar {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 24px;
}
.filter-tag {
  font-family: var(--f-mono); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--txt2); transition: all var(--t); cursor: pointer;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--red); border-color: var(--red); color: #fff;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 44px; height: 44px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--txt2); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--t); box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ── Reading Progress Bar ── */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--saffron), var(--gold));
  transition: width 0.1s linear;
}

/* ── Post Format Badge ── */
.format-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

/* ── Comments ── */
.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border2); }
.comment:last-child { border-bottom: none; }
.comment-body { display: flex; gap: 14px; }
.comment-body .avatar { border-radius: 50%; flex-shrink: 0; }
.comment-meta { font-family: var(--f-mono); font-size: 0.65rem; color: var(--txt3); margin-bottom: 6px; }
.comment-content p { font-size: 0.9rem; color: var(--txt2); }

.comment-form input,
.comment-form textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  color: var(--txt); padding: 10px 14px; border-radius: 3px;
  font-family: var(--f-body); font-size: 0.9rem; outline: none;
  transition: border-color var(--t); margin-bottom: 12px;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--red); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
  background: var(--red); color: #fff;
  font-family: var(--f-ui); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 28px; border: none; border-radius: 3px;
  cursor: pointer; transition: background var(--t);
}
.comment-form .submit:hover { background: var(--red-light); }

/* ── Search Form ── */
.search-form { display: flex; gap: 8px; }
.search-form .search-field {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  color: var(--txt); padding: 10px 14px; border-radius: 3px;
  font-family: var(--f-hindi); font-size: 0.9rem; outline: none;
  transition: border-color var(--t);
}
.search-form .search-field:focus { border-color: var(--red); }
.search-form .search-submit {
  background: var(--red); color: #fff; border: none;
  padding: 10px 18px; border-radius: 3px; cursor: pointer;
  font-family: var(--f-ui); font-size: 0.8rem; font-weight: 700;
  transition: background var(--t);
}
.search-form .search-submit:hover { background: var(--red-light); }

/* ── Featured Strip ── */
.featured-strip {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 20px 24px;
  position: relative; overflow: hidden;
}
.featured-strip::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--saffron), var(--gold), var(--teal));
}

/* ── Page (Static Pages) ── */
.page-content { padding: 48px 0; }
.page-body { font-size: 1rem; line-height: 1.85; color: var(--txt); }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 24px; }

/* ── 404 ── */
.error-404 { text-align: center; padding: 100px 0; }
.error-404 .error-num {
  font-family: var(--f-display); font-size: clamp(6rem, 15vw, 12rem);
  color: var(--red); line-height: 1; opacity: 0.3;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card { animation: fadeInUp 0.5s ease both; }
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.10s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.20s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.30s; }

/* ── Responsive: hero side stack ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-side-stack { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-side { min-height: 160px; }
}
@media (max-width: 600px) {
  .hero-side-stack { display: none; }
  .back-to-top { bottom: 16px; right: 16px; }
}
