/* ═══ zhome.css — 2026-11-30 HOMEPAGE REDESIGN (director: "clean, clutter-free, well organised …
   hide all unnecessary / less important under a More button … fully professional like top IAS
   institutes … keep just 3 banners: 1. list of all our exam categories, 2. what we offer,
   3. our 3–5 main taglines").
   · .zh-* = the new 3-slide banner (lives INSIDE .hero, so /course pages — which hide .hero — never
     show it).
   · html.zhome = the homepage only (set in <head>): one clean order on EVERY screen size —
     header → banner → exams → notes → results → [More] → footer. The secondary blocks are not
     deleted (search engines still read them); they wait behind the one "More" button. ═══ */

:root{--zh-navy:#13205a;--zh-navy2:#1a2a6b;--zh-red:#c4161c;--zh-gold:#f5c842;--zh-ink:#141824;--zh-beige:#fbf6ea}

/* ── the banner ─────────────────────────────────────────────────────────── */
.hero.zh{padding:14px 0 6px !important;background:var(--zh-beige) !important;border:0 !important;min-height:0 !important}
.hero.zh::before,.hero.zh::after{display:none !important}
.hero.zh .container{max-width:1180px}
.zh-car{position:relative;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#0d1640 0%,#1a2a6b 60%,#27409a 100%);box-shadow:0 14px 36px rgba(16,26,74,.22);color:#fff;font-family:'Outfit','Poppins','Noto Sans Devanagari',system-ui,sans-serif}
.zh-car::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--zh-red),var(--zh-gold),var(--zh-red));z-index:3}
.zh-car::before{content:"";position:absolute;right:-110px;top:-130px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(245,200,66,.26),rgba(245,200,66,0) 68%);pointer-events:none;z-index:0}
.zh-track{display:grid;position:relative;z-index:1}
.zh-slide{grid-area:1/1;padding:26px 22px 54px;opacity:0;visibility:hidden;transform:translateX(18px);transition:opacity .45s ease,transform .45s ease,visibility 0s linear .45s}
.zh-slide.on{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease,transform .45s ease}
@media (min-width:900px){.zh-slide{padding:34px 46px 58px}}
.zh-kick{display:inline-flex;align-items:center;gap:7px;margin:0 0 12px;padding:5px 12px;border-radius:999px;background:rgba(245,200,66,.14);border:1px solid rgba(245,200,66,.55);color:#f8dc82;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.35}
.hero.zh .zh-car h1,.hero.zh .zh-car h2.zh-h{margin:0 0 6px !important;color:#fff !important;font-weight:800 !important;line-height:1.22 !important;letter-spacing:-.005em;font-size:clamp(1.3rem,3.4vw,2.1rem) !important;max-width:920px !important;text-transform:none !important}
.hero.zh .zh-car h1 em,.hero.zh .zh-car .zh-h em{font-style:normal;color:var(--zh-gold) !important}
.hero.zh .zh-car h1,.hero.zh .zh-car h2.zh-h{font-family:'Outfit','Poppins','Noto Sans Devanagari',system-ui,sans-serif !important}
.zh-hi{display:block;margin:0 0 16px;color:#cdd6f6;font-size:.95rem;font-weight:600;line-height:1.45}
/* slide 1 — exam categories */
.zh-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
.zh-chips a{display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);color:#fff;text-decoration:none;font-size:.86rem;font-weight:700;line-height:1.2;transition:background .15s}
.zh-chips a:hover{background:rgba(255,255,255,.2)}
.zh-chips a.zh-all{background:var(--zh-gold);border-color:var(--zh-gold);color:#1a1405}
/* slide 2 — what we offer */
.zh-offers{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media (min-width:900px){.zh-offers{grid-template-columns:repeat(5,1fr);gap:12px}}
.zh-off{display:flex;flex-direction:column;gap:3px;padding:13px 12px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;text-decoration:none;min-height:96px;transition:background .15s,transform .15s}
.zh-off:hover{background:rgba(255,255,255,.16);transform:translateY(-2px)}
.zh-off .i{font-size:1.45rem;line-height:1}
.zh-off b{font-size:.95rem;line-height:1.25;margin-top:4px}
.zh-off i{font-style:normal;font-size:.76rem;color:#cdd6f6;line-height:1.35}
.zh-off.zh-free{background:rgba(245,200,66,.16);border-color:rgba(245,200,66,.6)}
@media (max-width:560px){.zh-off:last-child{grid-column:1/-1;min-height:0}}
/* slide 3 — taglines */
.zh-tags{list-style:none;margin:6px 0 14px;padding:0;display:grid;gap:9px}
@media (min-width:900px){.zh-tags{grid-template-columns:1fr 1fr;gap:10px 26px}}
.zh-tags li{position:relative;padding-left:28px;font-size:.98rem;font-weight:600;line-height:1.4;color:#eef2ff}
.zh-tags li::before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--zh-gold);color:#1a1405;font-size:.75rem;font-weight:900;display:flex;align-items:center;justify-content:center}
.zh-tags li span{display:block;font-size:.8rem;font-weight:500;color:#b9c3ea}
.zh-stats{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:12px;border-top:1px solid rgba(255,255,255,.16)}
.zh-stats div{display:flex;flex-direction:column;line-height:1.15}
.zh-stats b{font-size:1.2rem;color:var(--zh-gold);font-weight:800}
.zh-stats span{font-size:.72rem;color:#cdd6f6;font-weight:600}
/* ⭐ the director's daily banner (admin → Content → ⭐ Daily Banner) */
.zh-daily{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.zh-t-red{background:linear-gradient(135deg,#7f0d12,#c4161c 60%,#e5332b)}
.zh-t-navy{background:linear-gradient(135deg,#0d1640,#1a2a6b 60%,#27409a)}
.zh-t-green{background:linear-gradient(135deg,#0b4a2a,#15803d 60%,#22a35a)}
.zh-t-gold{background:linear-gradient(135deg,#7a4b05,#b7791f 55%,#d9a032)}
.hero.zh .zh-daily .zh-kick{background:rgba(255,255,255,.16) !important;border-color:rgba(255,255,255,.5) !important;color:#fff !important}
.hero.zh .zh-daily h2.zh-h{font-size:clamp(1.35rem,3.6vw,2.3rem) !important}
.hero.zh .zh-daily .zh-hi{color:rgba(255,255,255,.92) !important;font-size:1rem}
.zh-dbtn{display:inline-flex;align-items:center;min-height:46px;margin-top:4px;padding:10px 20px;border-radius:12px;background:#fff;color:#141824;font-weight:800;text-decoration:none;font-size:.95rem;box-shadow:0 6px 18px rgba(0,0,0,.22)}
.zh-dbtn:hover{transform:translateY(-1px)}
/* controls */
.zh-dots{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:8px;z-index:2}
.zh-dots button{width:30px;height:30px;border:0;background:transparent;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.zh-dots button::after{content:"";width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.4);transition:width .25s,background .25s}
.zh-dots button.on::after{width:26px;background:var(--zh-gold)}
.zh-nav{position:absolute;bottom:10px;z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fff;font-size:1.3rem;line-height:1;cursor:pointer;display:none}
.zh-prev{left:14px}.zh-next{right:14px}
@media (min-width:700px){.zh-nav{display:block}}
.zh-nav:hover{background:rgba(255,255,255,.22)}
/* slim trust line under the banner */
.zh-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:12px 0 4px;font-size:.8rem;font-weight:700;color:#4a4334}
.zh-trust span{white-space:nowrap}
@media (prefers-reduced-motion:reduce){.zh-slide,.zh-slide.on{transition:none;transform:none}}
/* older .hero p / .hero h2 rules (store.css, store-clean.css, inline) win without these */
.hero.zh .zh-car .zh-kick{color:#f8dc82 !important;font-size:.7rem !important;font-weight:700 !important;line-height:1.35 !important;margin:0 0 10px !important;opacity:1 !important;max-width:none !important}
.hero.zh .zh-car .zh-hi{color:#cdd6f6 !important}
/* phones: the banner must fit about one screen — the tallest slide sets the height */
@media (max-width:560px){
  .hero.zh{padding:10px 0 4px !important}
  .zh-car{border-radius:16px}
  .zh-slide{padding:16px 15px 44px}
  .hero.zh .zh-car .zh-kick{font-size:.62rem !important;padding:4px 10px;margin-bottom:8px !important;letter-spacing:.05em}
  .hero.zh .zh-car h1,.hero.zh .zh-car h2.zh-h{font-size:1.16rem !important;line-height:1.25 !important}
  .zh-hi{font-size:.8rem;margin-bottom:10px}
  .zh-chips{gap:6px}
  .zh-chips a{min-height:32px;padding:5px 10px;font-size:.76rem}
  .zh-chips a:nth-child(n+12):not(.zh-all){display:none}
  .zh-offers{gap:7px}
  .zh-off{padding:9px 10px;min-height:0;gap:1px;border-radius:12px}
  .zh-off .i{font-size:1.1rem}
  .zh-off b{font-size:.82rem;margin-top:2px}
  .zh-off i{font-size:.68rem}
  .zh-tags{gap:7px;margin:4px 0 10px}
  .zh-tags li{font-size:.84rem;padding-left:25px}
  .zh-tags li::before{width:18px;height:18px;font-size:.68rem}
  .zh-tags li span{font-size:.7rem}
  .zh-stats{gap:6px 14px;padding-top:9px}
  .zh-stats b{font-size:1rem}
  .zh-stats span{font-size:.64rem}
  .zh-dots{bottom:10px}
  .zh-trust{font-size:.72rem;gap:4px 12px;margin-top:9px}
}

/* ── the homepage, one clean order on every screen ─────────────────────── */
html.zhome body{display:flex;flex-direction:column}
html.zhome body > *{order:30}
html.zhome body > .ticker-wrap,html.zhome body > header,html.zhome body > .hero{order:0}
html.zhome body > #categories{order:1}
html.zhome body > #notes{order:2}
/* 2026-11-30 (director) — Results & Reviews moved under the More button (first block inside it) */
html.zhome body > #results{order:5}
html.zhome body:not(.mob-more-open) > #results{display:none !important}
html.zhome body > #mobMoreWrap{order:4}
html.zhome body > #latestStrip{order:6}
html.zhome body > #formats{order:6}
html.zhome body > #tracks{order:7}
html.zhome body > #samples{order:8}
html.zhome body > #zSwitch{order:9}
html.zhome body > #moreFromZenith{order:10}
html.zhome body > #zNewsSec{order:11}
html.zhome body > footer{order:20}
/* the old 16-slide banner belt is replaced by the 3-slide banner above */
html.zhome body > .banner-belt{display:none !important}
/* secondary blocks wait behind ONE "More" button */
html.zhome body:not(.mob-more-open) > #latestStrip,
html.zhome body:not(.mob-more-open) > #formats,
html.zhome body:not(.mob-more-open) > #tracks,
html.zhome body:not(.mob-more-open) > #samples,
html.zhome body:not(.mob-more-open) > #zSwitch,
html.zhome body:not(.mob-more-open) > #moreFromZenith,
html.zhome body:not(.mob-more-open) > #zNewsSec{display:none !important}
/* #notes with no product cards (plain homepage) = FAQ + stats only → behind More, at the end */
html.zhome.zh-noprod body:not(.zSearching) > #notes{order:12}
html.zhome.zh-noprod body:not(.mob-more-open):not(.zSearching) > #notes{display:none !important}
/* section headings centred (an older width rule left "Exams & Subjects" off-centre on computers) */
html.zhome .sec-head h2{margin-left:auto !important;margin-right:auto !important}
html.zhome #mobMoreWrap{display:block !important;padding:18px 16px 26px;text-align:center;background:#fff}
html.zhome #mobMoreBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:560px;min-height:50px;font-size:1rem;font-weight:700;border-radius:12px;cursor:pointer;border:1.5px solid #d8c9a6;background:#fffaf0;color:#5a3d0b;font-family:inherit}
html.zhome body.mob-more-open #mobMoreBtn{background:#f3ece0}

/* ── exam grid: clean tiles (icon · name · count), whole tile taps through ── */
html.zhome #categories{padding-top:22px}
html.zhome #categories .sec-head{margin-bottom:8px}
html.zhome #examGrid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
@media (min-width:700px){html.zhome #examGrid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media (min-width:1000px){html.zhome #examGrid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}
html.zhome #examGrid .zgrp{grid-column:1/-1}
html.zhome #examGrid .exam-box{border-radius:14px !important;overflow:hidden;background:#fff !important;border:1px solid #e7dcc4 !important;box-shadow:0 2px 8px rgba(20,24,36,.05) !important;min-height:0 !important;transition:transform .15s,box-shadow .15s}
html.zhome #examGrid .exam-box:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(20,24,36,.12) !important}
html.zhome #examGrid .exam-box .exam-head{display:grid !important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:6px 8px;align-items:center;padding:12px 12px 13px !important;min-height:0;background:#fff !important;color:var(--zh-ink) !important;border:0 !important}
html.zhome #examGrid .exam-box .exam-head .eico{grid-row:1;grid-column:1;font-size:1.35rem !important;line-height:1;width:auto !important;height:auto !important;background:none !important;order:0 !important}
html.zhome #examGrid .exam-box .exam-head .ecount{grid-row:1;grid-column:2;justify-self:end;font-size:.7rem !important;font-weight:700;color:#6b5f4a !important;background:#f6efdf !important;border-radius:999px;padding:2px 8px !important;border:0 !important;opacity:1 !important;order:0 !important}
html.zhome #examGrid .exam-box .exam-head b{grid-row:2;grid-column:1/-1;font-size:.8rem !important;line-height:1.28 !important;color:var(--zh-navy2) !important;font-weight:800 !important;white-space:normal !important;overflow:visible !important;word-break:normal !important;overflow-wrap:break-word !important;hyphens:auto;flex-basis:auto !important;order:0 !important}
html.zhome #examGrid .exam-box .exam-head .eb-chev,
html.zhome #examGrid .exam-box .exam-head .eb-open,
html.zhome #examGrid .exam-box .exam-head button,
html.zhome #examGrid .exam-box .eb-body{display:none !important}

/* ── 2026-11-30 MENU BAR (all pages built from index.html: home, /course, /cat …) ── */
nav.znav{background:linear-gradient(90deg,#0d1640,#1a2a6b 55%,#22357f) !important;border:0 !important;box-shadow:0 3px 12px rgba(13,22,64,.18);position:relative;z-index:60}
nav.znav .container{padding-left:0 !important;padding-right:0 !important}
nav.znav ul{display:flex !important;gap:0 !important;list-style:none;margin:0 auto !important;padding:0 6px !important;width:max-content;max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
nav.znav ul::-webkit-scrollbar{display:none}
nav.znav li{flex:none}
nav.znav a.znav-top{display:block;color:#e6eaff !important;font-weight:600 !important;font-size:.9rem !important;padding:12px 15px 11px !important;border-bottom:3px solid transparent !important;white-space:nowrap;letter-spacing:.01em;text-decoration:none;font-family:'Outfit','Poppins','Noto Sans Devanagari',system-ui,sans-serif}
nav.znav a.znav-top:hover,nav.znav a.znav-top.on{color:#fff !important;border-bottom-color:#f5c842 !important;background:rgba(255,255,255,.07)}
nav.znav a.znav-hot{color:#f8dc82 !important;font-weight:700 !important}
nav.znav a.znav-exams{font-weight:700 !important}
@media (max-width:640px){nav.znav a.znav-top{font-size:.84rem !important;padding:11px 12px 10px !important}}
.znav .menubar-more-drop{background:#fff !important;border:1px solid #e7dcc4 !important;border-radius:14px !important;box-shadow:0 22px 54px rgba(13,22,64,.28) !important;padding:10px !important;z-index:400 !important;max-height:72vh;overflow-y:auto;font-family:'Outfit','Poppins','Noto Sans Devanagari',system-ui,sans-serif}
.znav .znav-small{min-width:270px;max-width:calc(100vw - 24px)}
.znav .znav-small a{display:flex !important;align-items:center;min-height:44px;padding:8px 13px !important;border-radius:9px;color:#1f2937 !important;text-decoration:none;font-size:.9rem !important;font-weight:600 !important;border:0 !important;white-space:normal}
.znav .znav-small a:hover{background:#f6efdf}
.znav .znav-small a,.znav .znav-col a{justify-content:flex-start !important;text-align:left !important}
.znav .znav-mega{max-width:780px;margin:0 auto;flex-wrap:wrap;align-items:flex-start}
.znav .znav-col{display:block;flex:1 1 50%;min-width:0;width:50%;padding:2px 6px;box-sizing:border-box}
.znav .znav-mega a.znav-all{flex:1 1 100%}
@media (max-width:600px){.znav .znav-col{width:100%;flex-basis:100%}}
.znav .znav-col b{display:block;font-size:.7rem;letter-spacing:.07em;text-transform:uppercase;color:#c4161c;padding:6px 8px 4px}
.znav .znav-col a{display:flex !important;align-items:center;min-height:38px !important;padding:6px 8px !important;border-radius:8px;color:#1a2a6b !important;font-weight:600 !important;font-size:.87rem !important;text-decoration:none;border:0 !important;white-space:normal}
.znav .znav-col a:hover{background:#f6efdf}
.znav a.znav-all{display:flex !important;justify-content:center;margin:8px 6px 2px;padding:11px !important;border-radius:10px;background:#1a2a6b;color:#fff !important;font-weight:800 !important;text-decoration:none;border:0 !important}

/* ── header: cleaner, premium ── */
header{background:#fff !important;box-shadow:0 1px 0 #efe6d1}
header .logo-text b{color:#1a2a6b !important;letter-spacing:-.01em}

/* ── results heading was dark-on-dark (unreadable) ── */
#results .sec-head h2{color:#fff !important}
#results .sec-head p{color:rgba(255,255,255,.78) !important}

/* ── phone header: calmer first screen ── */
@media (max-width:640px){
  html.zhome .search-col > a{display:none !important}      /* "Request your notes" — still in the footer + More */
  html.zhome .zt-bell{display:none !important}             /* floating 🔔 sat over the content */
}

/* 2026-11-30 — "Home" + ▾ (exam categories) side by side */
nav.znav li.znav-home{display:flex;align-items:stretch}
nav.znav a.znav-caret{padding-left:4px !important;padding-right:12px !important;font-size:.8rem !important;opacity:.85}
nav.znav li.znav-home a.znav-exams{padding-right:6px !important}
