/*
Theme Name: Rashtravijay Updated v17
Theme URI: https://rashtravijay.com
Author: Rashtravijay IT Cell
Description: Custom WordPress Theme for Rashtravijay Political Party supporting Marathi, Hindi, and English with interactive PIN code auto-fill.
Version: 1.7.0
Text Domain: rashtravijay
*/

/* Organisation directory */
.rv-directory .rv-stat { display:inline-flex; align-items:center; gap:.45rem; border:1px solid #fed7aa; background:#fff; color:#7c2d12; border-radius:999px; padding:.45rem .8rem; font-size:.75rem; font-weight:800; box-shadow:0 4px 12px rgba(15,23,42,.06); }
.rv-directory .rv-stat-live i { width:.55rem; height:.55rem; border-radius:50%; background:#16a34a; box-shadow:0 0 0 4px #dcfce7; }
.rv-filter-label { display:block; margin-bottom:.35rem; color:#334155; font-size:.72rem; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.rv-filter-select { display:block; width:100%; min-height:3rem; border:1px solid #cbd5e1; background:#f8fafc; border-radius:.8rem; padding:.7rem .85rem; color:#1e293b; font-size:.875rem; font-weight:700; outline:none; }
.rv-filter-select:focus { border-color:#f97316; box-shadow:0 0 0 3px rgba(249,115,22,.18); }
.rv-group { scroll-margin-top:7rem; }
.rv-group-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.7rem; margin-bottom:1rem; padding:.8rem 1rem; border-left:5px solid #ea580c; border-radius:.75rem; background:linear-gradient(90deg,#fff7ed,#fff); box-shadow:0 4px 14px rgba(15,23,42,.05); }
.rv-group-heading h3,.rv-group>h3 { color:#0f172a; font-size:1.1rem; font-weight:900; }
.rv-group-heading span { color:#64748b; font-size:.75rem; font-weight:800; }
.rv-card-grid { display:grid; grid-template-columns:repeat(1,minmax(0,1fr)); gap:1rem; }
.rv-member-card { overflow:hidden; display:flex; flex-direction:column; min-width:0; border:2px solid #e2e8f0; border-radius:1.25rem; background:#fff; box-shadow:0 8px 20px rgba(15,23,42,.06); transition:transform .2s ease,box-shadow .2s ease; }
.rv-member-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(15,23,42,.12); }
.rv-member-card.is-appointed { border-color:#a7f3d0; }
.rv-member-card.is-vacant { border-style:dashed; border-color:#fcd34d; }
.rv-photo { position:relative; height:13.5rem; overflow:hidden; background:linear-gradient(135deg,#0f172a,#312e81); }
.rv-photo img { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:cover; }
.rv-avatar-fallback { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#fde68a; }
.rv-avatar-fallback svg { width:5rem; height:5rem; fill:currentColor; opacity:.75; }
.rv-location-tag,.rv-status-badge { position:absolute; z-index:2; max-width:75%; border-radius:999px; padding:.35rem .55rem; color:#fff; font-size:.58rem; font-weight:900; line-height:1.2; box-shadow:0 3px 12px rgba(0,0,0,.2); }
.rv-location-tag { top:.65rem; left:.65rem; background:rgba(15,23,42,.86); }
.rv-status-badge { right:.65rem; bottom:.65rem; background:#047857; }
.is-vacant .rv-status-badge { background:#b45309; }
.rv-member-info { flex:1; padding:1rem; text-align:center; }
.rv-member-info h4 { color:#0f172a; font-size:1.05rem; font-weight:900; }
.is-vacant .rv-member-info h4 { color:#92400e; font-style:italic; }
.rv-member-info p { display:inline-block; margin-top:.55rem; border:1px solid #fde68a; border-radius:999px; background:#fef3c7; color:#78350f; padding:.3rem .65rem; font-size:.72rem; font-weight:900; }
.rv-contact-row,.rv-vacant-note { min-height:3.4rem; display:flex; align-items:center; justify-content:center; gap:.5rem; border-top:1px solid #e2e8f0; background:#f8fafc; padding:.7rem; font-size:.75rem; font-weight:800; }
.rv-contact-row a { border:1px solid #cbd5e1; border-radius:.65rem; background:#fff; color:#334155; padding:.5rem .65rem; }
.rv-contact-row a:hover { border-color:#f97316; color:#c2410c; }
.rv-vacant-note { background:#fffbeb; color:#92400e; }
.rv-guidance { margin-top:1rem; border:1px solid #fdba74; border-radius:1rem; background:#fff7ed; color:#9a3412; padding:1.25rem; font-weight:800; text-align:center; }
@media (min-width:640px) { .rv-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1024px) { .rv-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width:1280px) { .rv-card-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }
