/* GharMeShiksha homepage: Recent Student Enquiries card grid (includes/home_enquiries.php) */
.he-sec{--he-blue:#1D4ED8;--he-blue-d:#1E40AF;--he-navy:#0F172A;--he-green:#10B981;--he-green-d:#047857;--he-orange:#F97316;--he-orange-d:#EA580C;--he-line:#E2E8F0;--he-mu:#64748B;
  background:linear-gradient(180deg,#F8FAFC 0%,#EEF4FF 100%)}
.he-head{text-align:center;max-width:720px;margin:0 auto 26px}
.he-live{display:inline-flex;align-items:center;gap:8px;background:#ECFDF5;color:var(--he-green-d);border:1px solid #A7F3D0;border-radius:50px;padding:6px 14px;font:700 12px/1 'Poppins',sans-serif;letter-spacing:.08em}
.he-live b{font-weight:600;letter-spacing:0;color:var(--he-navy);padding-left:8px;border-left:1px solid #A7F3D0}
.he-dot{width:8px;height:8px;border-radius:50%;background:var(--he-green);box-shadow:0 0 0 0 rgba(16,185,129,.6);animation:he-pulse 1.8s infinite}
@keyframes he-pulse{0%{box-shadow:0 0 0 0 rgba(16,185,129,.55)}70%{box-shadow:0 0 0 9px rgba(16,185,129,0)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}}
.he-head h2{font-family:'Poppins',sans-serif;font-size:clamp(26px,3.4vw,38px);font-weight:800;color:var(--he-navy);margin:14px 0 8px;line-height:1.2}
.he-head h2 span{color:var(--he-blue)}
.he-head p{color:var(--he-mu);font-size:16px;margin:0}

.he-filters{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:0 0 26px}
.he-pill{font:600 14px/1 'Poppins',sans-serif;color:#334155;background:#fff;border:1px solid var(--he-line);border-radius:50px;padding:10px 18px;cursor:pointer;transition:.2s}
.he-pill:hover{border-color:var(--he-blue);color:var(--he-blue)}
.he-pill.on{background:var(--he-blue);border-color:var(--he-blue);color:#fff;box-shadow:0 6px 16px rgba(29,78,216,.25)}
.he-pill:focus-visible,.he-cta:focus-visible,.he-btn:focus-visible{outline:3px solid #93C5FD;outline-offset:2px}
.he-count{font-size:13px;color:var(--he-mu);background:#fff;border:1px dashed #CBD5E1;border-radius:50px;padding:8px 12px}
.he-count b{color:var(--he-navy)}

.he-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;transition:opacity .12s}
.he-grid.he-fade{opacity:.35}
.he-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--he-line);border-radius:16px;padding:20px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 6px 18px rgba(15,23,42,.05);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;min-width:0}
.he-card[hidden]{display:none}
.he-card:hover{transform:translateY(-4px);border-color:var(--he-blue);box-shadow:0 16px 34px rgba(29,78,216,.14)}
.he-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.he-top-l{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.he-mode{display:inline-flex;align-items:center;gap:5px;font:600 12px/1 'Poppins',sans-serif;border-radius:50px;padding:6px 10px;white-space:nowrap}
.he-mode svg{flex:none}
.he-home{background:#EFF6FF;color:var(--he-blue)}
.he-online{background:#F0FDFA;color:#0F766E}
.he-time{font-size:12px;color:var(--he-mu);white-space:nowrap}
.he-id{font:600 11.5px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#475569;background:#F1F5F9;border-radius:6px;padding:5px 7px;white-space:nowrap}
.he-title{font-family:'Poppins',sans-serif;font-size:17px;font-weight:700;line-height:1.38;margin:0 0 14px;min-height:2.76em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.he-title a{color:var(--he-navy)}
.he-title a:hover{color:var(--he-blue)}
.he-rows{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:10px}
.he-rows li{display:grid;grid-template-columns:22px 72px 1fr;align-items:start;gap:6px;font-size:14px;color:#334155}
.he-rows i{color:#94A3B8;display:flex;align-items:center;justify-content:center;height:20px;font-style:normal}
.he-rs{font-weight:700;font-size:15px}
.he-k{color:var(--he-mu);font-size:13px;line-height:20px}
.he-v{min-width:0;line-height:20px;overflow-wrap:anywhere}
.he-v b{color:var(--he-navy)}
.he-ver{display:inline-flex;align-items:center;gap:3px;margin-left:6px;background:#ECFDF5;color:var(--he-green-d);font-size:11px;font-weight:700;border-radius:50px;padding:2px 7px;vertical-align:1px}
.he-chips{display:flex;flex-wrap:wrap;gap:5px}
.he-chip{font-size:12px;font-weight:600;background:#F1F5F9;color:#334155;border-radius:6px;padding:2px 8px;line-height:18px}
.he-chip-c{background:#EEF2FF;color:#3730A3}
.he-fee{color:var(--he-green-d)!important;font-weight:700}
.he-neg{color:#475569;font-weight:600}
.he-mask{display:flex;align-items:center;gap:10px;background:#F8FAFC;border:1px solid var(--he-line);border-radius:12px;padding:10px 12px;margin-bottom:16px;color:#64748B}
.he-mask svg{flex:none;color:#94A3B8}
.he-mask b{display:block;font:600 14px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#334155;letter-spacing:.04em}
.he-mask small{font-size:12px}
.he-foot{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding-top:14px;border-top:1px solid #F1F5F9}
.he-cnt{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--he-mu)}
.he-first{color:var(--he-green-d);font-weight:600}
.he-cta{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;background:var(--he-blue);color:#fff!important;font:600 14px/1 'Poppins',sans-serif;border-radius:10px;padding:11px 15px;transition:background .2s,box-shadow .2s}
.he-cta:hover{background:var(--he-blue-d);box-shadow:0 8px 18px rgba(29,78,216,.28)}
.he-arr{display:inline-block;transition:transform .2s}
.he-cta:hover .he-arr{transform:translateX(4px)}

.he-bar{margin-top:30px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:var(--he-navy);color:#CBD5E1;border-radius:18px;padding:22px 26px;box-shadow:0 14px 30px rgba(15,23,42,.18)}
.he-bar b{display:block;color:#fff;font:700 18px/1.3 'Poppins',sans-serif}
.he-bar span{font-size:14px}
.he-bar-btns{display:flex;gap:10px;flex-wrap:wrap}
.he-btn{display:inline-flex;align-items:center;justify-content:center;font:600 15px/1 'Poppins',sans-serif;border-radius:50px;padding:14px 22px;transition:.2s;text-align:center}
.he-btn-blue{background:var(--he-blue);color:#fff!important}
.he-btn-blue:hover{background:#2563EB}
.he-btn-orange{background:var(--he-orange);color:#fff!important}
.he-btn-orange:hover{background:var(--he-orange-d)}
.he-empty{text-align:center;padding:20px}

@media (max-width:1024px){.he-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){
  .he-grid{grid-template-columns:1fr;gap:16px}
  .he-filters{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding-bottom:6px;margin-left:-4px;margin-right:-4px;scrollbar-width:none}
  .he-filters::-webkit-scrollbar{display:none}
  .he-pill,.he-count{flex:none}
  .he-card{padding:16px}
  .he-bar{padding:20px;text-align:center;justify-content:center}
  .he-bar-btns,.he-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.he-dot{animation:none}.he-card,.he-card:hover{transition:none;transform:none}}
