.mse-page {
  --mse-bg: #171014;
  --mse-panel: #24181b;
  --mse-gold: #d9ae54;
  --mse-gold-soft: #f1dca2;
  --mse-text: #fff8ea;
  --mse-muted: #bda979;
  color: var(--mse-text);
  font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Mangal", system-ui, sans-serif;
}

.mse-page a { color: inherit; text-decoration: none; }
.mse-hero, .mse-single__header {
  background: radial-gradient(circle at 80% 10%, rgba(217, 174, 84, .25), transparent 32%), linear-gradient(135deg, #171014, #38231c);
  padding: clamp(28px, 6vw, 72px);
}
.mse-hero p, .mse-single__title p { color: var(--mse-gold-soft); margin: 0 0 8px; font-weight: 700; }
.mse-hero h1, .mse-single h1 { margin: 0; font-size: clamp(34px, 6vw, 76px); line-height: 1.08; letter-spacing: 0; }
.mse-archive { background: #fffaf0; color: #221719; padding: clamp(20px, 4vw, 48px); }
.mse-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 28px;
  max-width: 1180px;
}
.mse-filters label { display: grid; gap: 6px; font-weight: 700; color: #4c382c; }
.mse-filters select {
  min-height: 46px;
  border: 1px solid #d9c59c;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  font: inherit;
}
.mse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.mse-grid.is-loading { opacity: .55; pointer-events: none; }
.mse-card {
  background: #fff;
  border: 1px solid #ecdfc6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(39, 27, 22, .08);
}
.mse-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #211316, #5b3924);
  color: var(--mse-gold);
  font-size: 56px;
  font-weight: 800;
}
.mse-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mse-card__body { padding: 18px; }
.mse-card h2 { margin: 10px 0 14px; color: #211316; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.mse-card__meta, .mse-card__deity { display: flex; flex-wrap: wrap; gap: 7px; }
.mse-pill { border: 1px solid #e5c879; background: #fff8e4; color: #67481e; border-radius: 999px; padding: 4px 9px; font-size: 13px; font-weight: 700; }
.mse-load-more {
  display: block;
  min-height: 46px;
  margin: 30px auto 0;
  border: 0;
  border-radius: 8px;
  background: #211316;
  color: #fff8ea;
  padding: 0 24px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.mse-single { background: #fffaf0; color: #211316; }
.mse-single__article { max-width: 1060px; margin: 0 auto; background: #fffaf0; }
.mse-single__header { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 30px; margin-inline: calc(50% - 50vw); padding-inline: max(24px, calc((100vw - 1060px) / 2)); }
.mse-single__image { aspect-ratio: 1200 / 630; overflow: hidden; border-radius: 8px; border: 1px solid rgba(217, 174, 84, .4); }
.mse-single__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mse-tabs { display: flex; gap: 8px; margin: 34px 0 0; border-bottom: 1px solid #e6d5ae; }
.mse-tabs button {
  min-height: 44px;
  border: 1px solid #e6d5ae;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: #4b3023;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.mse-tabs button.is-active { background: #211316; color: #fff8ea; border-color: #211316; }
.mse-content-panels, .mse-section, .mse-related { padding: 28px 0; }
.mse-content-panel { display: none; font-size: 21px; line-height: 1.95; }
.mse-content-panel.is-active { display: block; }
.mse-section h2, .mse-related h2 { font-size: 30px; margin: 0 0 14px; color: #4b3023; letter-spacing: 0; }
.mse-section { border-top: 1px solid #e6d5ae; font-size: 19px; line-height: 1.8; }
.mse-ad { margin: 24px 0; text-align: center; overflow: hidden; }
.mse-empty { grid-column: 1 / -1; text-align: center; color: #6b5645; }

@media (max-width: 860px) {
  .mse-filters, .mse-grid, .mse-single__header { grid-template-columns: 1fr; }
  .mse-single__header { margin-inline: -20px; padding: 24px 20px; }
  .mse-single__article { padding: 0 20px; }
}

@media (max-width: 560px) {
  .mse-tabs { overflow-x: auto; }
  .mse-tabs button { white-space: nowrap; }
  .mse-card h2 { font-size: 21px; }
  .mse-content-panel { font-size: 19px; }
}
