/* ==========================================================================
 * CMI Plus 1.0.0 — premium footer, author box, install toast, ticker fix
 * Fonts Customizer se ate hain — yahan koi fixed font nahi.
 * ========================================================================== */

/* ---------- Hide GeneratePress default footer + old shortcode footer ---- */
.site-footer{display:none!important;}
.cmi-home > .cmi-footer{display:none!important;}

/* ---------- Hide old theme top utility bar (duplicate menu fix) --------- */
/* (Primary removal is via remove_action in cmi-plus.php; this is fallback) */
.cmi-utilitybar{display:none!important;}

/* ---------- Ticker: mobile visibility fix (2026-10-09) ------------------ */
@media(max-width:600px){
  .cmi-ticker-label{font-size:11px!important;padding:0 10px!important;letter-spacing:0!important;}
  .cmi-ticker-track{gap:30px!important;padding:10px 0!important;}
  .cmi-ticker-track a{font-size:13px!important;}
  .cmi-ticker-pause{padding:0 10px!important;font-size:14px!important;}
}

/* ---------- Ticker: no dates — only latest job titles scroll (2026-10-10) */
.cmi-ticker-track .cmi-tick-date{display:none!important;}

/* ---------- Fix: ugly yellow mobile menu toggles → premium brand (2026-10-10)
   Source was Customizer → Additional CSS "Mobile Toggle: Gold Button"
   (.menu-toggle{background:#F8CF2C!important;...}). This override wins by
   higher specificity (button.menu-toggle) + later load order. ---------- */
button.menu-toggle{
  background:linear-gradient(135deg,#6846D9,#4930A8)!important;
  color:#fff!important;border:0!important;border-radius:12px!important;
  padding:10px 18px!important;font-weight:700!important;
  box-shadow:0 6px 18px rgba(104,70,217,.4)!important;
}
button.menu-toggle:hover{filter:brightness(1.12)!important;}
button.menu-toggle .mobile-menu{color:#fff!important;}
button.menu-toggle .gp-icon svg{fill:#fff!important;}

/* ================= PREMIUM FOOTER ======================================= */
.cmix-footer{
  background:#1B1830;color:#CFC9EC;margin-top:48px;font-size:14.5px;line-height:1.65;
  position:relative;
}
.cmix-footer-top{
  height:4px;background:linear-gradient(90deg,#6846D9,#9B7BFF,#F8CF2C,#6846D9);
}
.cmix-fgrid{
  max-width:1180px;margin:0 auto;padding:44px 24px 28px;
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;
}
.cmix-fbrand .custom-logo{max-width:170px;height:auto;margin-bottom:14px;}
.cmix-flogo-text{
  font-size:24px;font-weight:700;color:#fff;text-decoration:none!important;
  display:inline-block;margin-bottom:12px;letter-spacing:.3px;
}
.cmix-flogo-text span{color:#F8CF2C;}
.cmix-fbrand p{margin:0 0 18px;color:#B9B3DD;font-size:14px;max-width:340px;}
.cmix-fsocial{display:flex;gap:10px;flex-wrap:wrap;}
.cmix-soc{
  width:42px;height:42px;border-radius:50%;flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none!important;color:#fff!important;
  box-shadow:0 4px 14px rgba(0,0,0,.28);
  transition:transform .2s ease,box-shadow .2s ease;
}
.cmix-soc svg{display:block;}
.cmix-soc:hover{transform:translateY(-3px) scale(1.06);box-shadow:0 8px 22px rgba(0,0,0,.35);}
.cmix-fcol h4{
  color:#fff;font-size:15px;font-weight:700;margin:0 0 14px;letter-spacing:.4px;
  text-transform:uppercase;
}
.cmix-fcol ul{list-style:none;margin:0;padding:0;}
.cmix-fcol li{margin:0 0 9px;}
.cmix-fcol a{color:#CFC9EC!important;text-decoration:none!important;transition:color .15s,padding-left .15s;}
.cmix-fcol a:hover{color:#F8CF2C!important;padding-left:4px;}
.cmix-fbottom{
  border-top:1px solid rgba(255,255,255,.12);
  max-width:1180px;margin:0 auto;padding:16px 24px 22px;
  display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;
  font-size:13px;color:#9D97C4;
}
.cmix-fnote{color:#8B85B3;}

/* ================= AUTHOR BOX (homepage) ================================ */
.cmix-ab{max-width:1180px;margin:8px auto 0;padding:0 24px;}
.cmix-ab-card{
  background:#fff;border:1px solid #ECEAF6;border-radius:22px;
  padding:30px;display:flex;gap:22px;align-items:flex-start;flex-wrap:wrap;
  box-shadow:0 8px 30px rgba(73,48,168,.08);position:relative;overflow:hidden;
}
.cmix-ab-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#6846D9,#9B7BFF,#F8CF2C);
}
.cmix-ab-avatar{
  width:92px;height:92px;border-radius:50%;flex:0 0 auto;overflow:hidden;
  background:linear-gradient(135deg,#6846D9,#4930A8);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:32px;font-weight:700;letter-spacing:1px;
  box-shadow:0 6px 18px rgba(104,70,217,.35);
}
.cmix-ab-avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.cmix-ab-body{flex:1;min-width:240px;}
.cmix-ab-tag{
  display:inline-block;background:#EDE7FF;color:#4930A8;font-size:11.5px;font-weight:700;
  padding:4px 12px;border-radius:999px;letter-spacing:.6px;text-transform:uppercase;margin-bottom:8px;
}
.cmix-ab-name{margin:0 0 8px;font-size:22px;color:#20213B;}
.cmix-ab-bio{margin:0 0 14px;color:#55546A;font-size:14.5px;max-width:720px;}
.cmix-ab-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;}
.cmix-ab-chips span{
  background:#F6F4FD;border:1px solid #E4E0F7;color:#4930A8;
  font-size:12.5px;font-weight:600;padding:5px 13px;border-radius:999px;
}
.cmix-ab-link{
  color:#6846D9!important;font-weight:700;font-size:14.5px;text-decoration:none!important;
}
.cmix-ab-link:hover{text-decoration:underline!important;}

/* ================= INSTALL TOAST (push-style) ============================ */
.cmix-toast{
  position:fixed;right:18px;bottom:18px;z-index:99999;
  display:flex;align-items:center;gap:12px;
  background:#fff;border:1px solid #ECEAF6;border-radius:16px;
  box-shadow:0 12px 40px rgba(32,33,59,.22);
  padding:14px 14px 14px 16px;max-width:360px;
  transform:translateY(24px);opacity:0;pointer-events:none;
  transition:transform .35s ease,opacity .35s ease;
}
.cmix-toast.show{transform:translateY(0);opacity:1;pointer-events:auto;}
.cmix-toast-icon{
  width:46px;height:46px;border-radius:12px;flex:0 0 auto;
  background:linear-gradient(135deg,#6846D9,#4930A8);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;
}
.cmix-toast-text{flex:1;min-width:0;}
.cmix-toast-text strong{display:block;color:#20213B;font-size:14px;margin-bottom:2px;}
.cmix-toast-text span{display:block;color:#68677D;font-size:12.5px;line-height:1.45;}
.cmix-toast-btn{
  background:#6846D9;color:#fff;border:0;border-radius:999px;
  padding:9px 20px;font-weight:700;font-size:13.5px;cursor:pointer;flex:0 0 auto;
}
.cmix-toast-btn:hover{background:#5538B8;}
.cmix-toast-x{
  background:transparent;border:0;color:#9a99ad;font-size:20px;cursor:pointer;
  line-height:1;padding:4px;flex:0 0 auto;
}
.cmix-toast-x:hover{color:#20213B;}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .cmix-fgrid{grid-template-columns:1fr 1fr;}
}
@media(max-width:768px){
  /* mobile bottom nav ke neeche na chhupe */
  .cmix-footer{padding-bottom:70px;}
  .cmix-toast{left:12px;right:12px;bottom:78px;max-width:none;}
  .cmix-ab-card{padding:24px 20px;}
  .cmix-ab-avatar{width:72px;height:72px;font-size:26px;}
}
@media(max-width:560px){
  .cmix-fgrid{grid-template-columns:1fr;gap:26px;padding:36px 20px 24px;}
  .cmix-fbottom{justify-content:center;text-align:center;}
}
