/*
Theme Name: Exam Hub Typing
Theme URI: https://erojgarresult.com/
Author: Exam Hub
Description: सरकारी परीक्षाओं की टाइपिंग तैयारी वाली पूरी वेबसाइट — English, हिंदी Mangal (Inscript), Krutidev (Remington GAIL), परीक्षा मोड, लाइव टाइपिंग, लेसन, लीडरबोर्ड, Google लॉगिन और Telegram पॉपअप।
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: exam-hub-typing
*/

/* पूरी साइट (होम के अलावा बाकी पेज) */
html { -webkit-text-size-adjust: 100%; }
body.ehs { margin: 0; background: #f4f6fb; color: #1f2937; font-family: 'Poppins', 'Mukta', system-ui, sans-serif; line-height: 1.65; }
body.ehs.home-app { background: #eef1f7; }
.ehs a { color: #1d3a66; }
.ehs img { max-width: 100%; height: auto; }
.ehs-skip { position: absolute; left: -9999px; }
.ehs-skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 10; }

.ehs-header { background: #13294b; color: #fff; }
.ehs-header-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 12px 16px; flex-wrap: wrap; }
.ehs-brand { display: flex; align-items: center; gap: 9px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 1.12rem; }
.ehs-brand svg { width: 34px; height: 34px; color: #f59e0b; }
.ehs-brand b { color: #f59e0b; }
.ehs-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.ehs-nav a { color: #cfd8e6 !important; text-decoration: none; padding: 7px 12px; border-radius: 8px; font-family: 'Mukta', 'Poppins', sans-serif; font-weight: 500; font-size: .95rem; }
.ehs-nav a:hover, .ehs-nav a.on { background: rgba(245, 158, 11, .16); color: #f59e0b !important; }
.ehs-burger { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.ehs-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; }

.ehs-main { max-width: 1180px; margin: 0 auto; padding: 24px 16px 40px; }
.ehs-app-main { max-width: 1220px; margin: 0 auto; padding: 18px 12px 30px; }
.ehs-app-main .eht { margin-bottom: 0; }
.ehs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.ehs-card { background: #fff; border-radius: 16px; padding: clamp(16px, 3vw, 30px); box-shadow: 0 1px 2px rgba(19, 41, 75, .06), 0 6px 20px rgba(19, 41, 75, .07); margin-bottom: 18px; }
.ehs h1, .ehs h2, .ehs h3 { color: #13294b; font-family: 'Mukta', 'Poppins', sans-serif; line-height: 1.3; }
.ehs-title { margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 2rem); }
.ehs-meta { color: #5b6b82; font-size: .88rem; margin-bottom: 16px; }
.ehs-content { font-family: 'Mukta', 'Noto Sans Devanagari', 'Poppins', sans-serif; font-size: 1.08rem; overflow-wrap: anywhere; }
.ehs-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.ehs-content td, .ehs-content th { border: 1px solid #e3e8f0; padding: 8px; }
.ehs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ehs-post { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(19, 41, 75, .06), 0 6px 20px rgba(19, 41, 75, .07); text-decoration: none !important; border-top: 4px solid #f59e0b; }
.ehs-post img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.ehs-post div { padding: 14px 16px; }
.ehs-post h2 { font-size: 1.05rem; margin: 0 0 6px; }
.ehs-post p { margin: 0; color: #5b6b82; font-size: .9rem; font-family: 'Mukta', sans-serif; }
.ehs-pager { display: flex; gap: 8px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.ehs-pager .page-numbers { background: #fff; padding: 7px 13px; border-radius: 8px; text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.ehs-pager .current { background: #13294b; color: #fff; }
.ehs-side .ehs-card h3 { margin-top: 0; }
.ehs-cta { background: linear-gradient(135deg, #13294b, #24497d); color: #fff; }
.ehs-cta h3 { color: #fff; }
.ehs-cta a { display: block; background: #f59e0b; color: #1f1300 !important; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; text-decoration: none; margin-top: 8px; }
.ehs-cta a.tg { background: #229ed9; color: #fff !important; }
.ehs-side ul { padding-left: 18px; margin: 0; font-family: 'Mukta', sans-serif; }
.ehs-search { display: flex; gap: 6px; }
.ehs-search input { flex: 1; padding: 9px 12px; border: 2px solid #e3e8f0; border-radius: 10px; font: inherit; }
.ehs-search button { background: #13294b; color: #fff; border: 0; border-radius: 10px; padding: 0 14px; font: inherit; cursor: pointer; }

.ehs-footer { background: #13294b; color: #b9c4d6; font-family: 'Mukta', sans-serif; }
.ehs-footer-in { max-width: 1180px; margin: 0 auto; padding: 22px 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.ehs-footer a { color: #dfe6f1; text-decoration: none; margin-right: 14px; }
.ehs-footer a:hover { color: #f59e0b; }
.ehs-footer b { color: #fff; }

@media (max-width: 900px) {
  .ehs-layout { grid-template-columns: 1fr; }
  .ehs-burger { display: block; }
  .ehs-nav { display: none; flex-basis: 100%; flex-direction: column; order: 3; }
  .ehs-header.open .ehs-nav { display: flex; }
}
