/* Result Mitra Homepage — isolated styles */
.rmhp-wrap{font-family:Inter,Arial,"Noto Sans Devanagari",sans-serif;color:#17152a;background:#fff;max-width:1400px;margin:auto;overflow:hidden}
.rmhp-wrap a{text-decoration:none}
.rmhp-nav{height:72px;display:flex;align-items:center;gap:24px;padding:0 28px;background:#fff;border-bottom:1px solid #eee;position:relative;z-index:5}
.rmhp-brand img{width:175px;height:58px;object-fit:contain;display:block}
.rmhp-nav nav{display:flex;gap:22px;align-items:center;flex:1;justify-content:center}
.rmhp-nav nav a{font-size:14px;font-weight:600;color:#25213b}
.rmhp-nav nav a:hover,.rmhp-nav nav a.active{color:#5b18c9}
.rmhp-login{background:#5b18c9;color:#fff!important;padding:12px 21px;border-radius:10px;font-weight:800;font-size:14px}
.rmhp-hero{min-height:405px;background:linear-gradient(110deg,#241044 0%,#4c0c91 44%,#d9c4f4 100%);display:grid;grid-template-columns:1.05fr .95fr;position:relative;overflow:hidden}.rmhp-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,6,34,.28) 0%,rgba(55,8,104,.08) 58%,rgba(255,255,255,.02) 100%);pointer-events:none;z-index:1}
.rmhp-hero-copy{padding:48px 40px 35px 54px;position:relative;z-index:2;color:#fff;text-shadow:0 2px 12px rgba(16,5,35,.22)}
.rmhp-pill{display:inline-block;padding:7px 15px;border:1px solid rgba(255,255,255,.5);border-radius:30px;font-size:13px;font-weight:700;margin-bottom:15px}
.rmhp-hero h1{font-size:57px;line-height:1.02;margin:0 0 10px;font-weight:900;letter-spacing:-1px;color:#fff!important;text-shadow:0 3px 16px rgba(15,4,30,.35)}
.rmhp-hero h1 strong{color:#ffd21a!important;text-shadow:0 3px 14px rgba(35,15,0,.28)}
.rmhp-exams{font-size:23px;font-weight:800;margin:5px 0;color:#fff!important;text-shadow:0 2px 10px rgba(15,4,30,.35)}
.rmhp-tagline{font-size:17px;margin:0 0 20px;color:#fff!important;text-shadow:0 2px 10px rgba(15,4,30,.35)}
.rmhp-search form{display:flex;max-width:580px}
.rmhp-search input[type=search]{height:48px;border:0;border-radius:9px 0 0 9px;padding:0 15px;flex:1;font-size:14px}
.rmhp-search button{height:48px;background:#6b19d8;color:#fff;border:0;padding:0 24px;border-radius:0 9px 9px 0;font-weight:800}
.rmhp-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.rmhp-tags span{background:rgba(255,255,255,.12);padding:6px 11px;border-radius:20px;font-size:12px}
.rmhp-hero-art{position:relative;background:radial-gradient(circle at 55% 55%,#ffe8c5 0,#c9b2ec 34%,rgba(201,178,236,.28) 55%,transparent 72%);z-index:2}.rmhp-hero-art:before{content:"";position:absolute;right:8%;bottom:-18px;width:72%;height:78%;background:linear-gradient(145deg,rgba(255,255,255,.48),rgba(255,255,255,.12));clip-path:polygon(15% 100%,15% 42%,28% 42%,28% 24%,40% 24%,40% 36%,53% 36%,53% 10%,68% 10%,68% 29%,80% 29%,80% 0,94% 0,94% 100%);opacity:.72;filter:drop-shadow(0 18px 25px rgba(45,15,80,.12))}.rmhp-hero-art:after{content:"";position:absolute;right:23%;bottom:14%;width:28%;height:42%;border:7px solid rgba(255,255,255,.28);border-bottom:0;border-radius:18px 18px 0 0;box-shadow:inset 0 0 0 2px rgba(87,35,145,.08)}
.rmhp-hero-building{position:absolute;inset:35px 25px 0;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.24),transparent 42%);border-radius:45% 45% 0 0}
.rmhp-quick{display:grid;grid-template-columns:repeat(8,1fr);gap:0;margin:-1px 20px 18px;background:#fff;border:1px solid #e9e1f5;border-radius:16px;box-shadow:0 10px 30px rgba(62,17,126,.14);position:relative;z-index:3;padding:6px;overflow:hidden}
.rmhp-quick-card{min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#17152a;border-right:1px solid #e6dff1;position:relative;padding:10px 6px;transition:background .2s,transform .2s}
.rmhp-quick-card:last-child{border-right:0}
.rmhp-quick-card:hover{background:#f8f4ff;transform:translateY(-1px)}
.rmhp-quick-card span{width:48px;height:48px;display:flex;align-items:center;justify-content:center;font-size:27px;margin-bottom:8px;border-radius:12px;background:#f2ebff}
.rmhp-quick-card strong{font-size:13px;line-height:1.25;font-weight:800}
.rmhp-stats{display:grid;grid-template-columns:repeat(4,1fr);margin:0 20px 22px;background:#f3edff;border-radius:13px;padding:18px}
.rmhp-stats div{text-align:center;border-right:1px solid #d7c9f5}.rmhp-stats div:last-child{border:0}
.rmhp-stats strong{display:block;color:#5b18c9;font-size:28px}.rmhp-stats span{font-size:13px;color:#4d4960}
.rmhp-section,.rmhp-course-section{padding:0 22px;margin:25px 0}
.rmhp-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.rmhp-section-head h2{font-size:25px;margin:0;font-weight:900}.rmhp-section-head a{font-size:13px;color:#5b18c9;font-weight:800}
.rmhp-exams-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.rmhp-exams-grid a{background:#f5f1ff;border:1px solid #e5daf8;border-radius:12px;padding:18px;display:grid;grid-template-columns:48px 1fr;column-gap:10px;align-items:center;color:#1d1930}
.rmhp-exams-grid a> b{font-size:19px}.rmhp-exams-grid a>small{grid-column:2;color:#666;font-size:12px}
.rmhp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.rmhp-post-card{background:#fff;border:1px solid #e8e2f0;border-radius:12px;overflow:hidden;box-shadow:0 4px 15px rgba(20,12,45,.06);color:#17152a}
.rmhp-thumb{height:145px;background:#f1eaff;overflow:hidden}.rmhp-thumb img{width:100%;height:100%;object-fit:cover;display:block}.rmhp-thumb img.rmhp-logo-fallback{object-fit:contain;padding:22px;box-sizing:border-box;background:#fff}
.rmhp-card-body{padding:12px}.rmhp-card-date{font-size:11px;color:#7b728c}.rmhp-card-body h3{font-size:16px;line-height:1.35;margin:6px 0 9px}.rmhp-read{font-size:12px;color:#5b18c9;font-weight:800}
.rmhp-course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.rmhp-course-card{border:1px solid #e5d9f7;border-radius:13px;padding:17px;background:linear-gradient(150deg,#fff,#f8f2ff);position:relative}
.rmhp-course-icon{font-size:28px}.rmhp-course-card h3{font-size:18px;margin:9px 0 3px}.rmhp-course-card p{margin:0 0 8px;color:#665d75;font-size:13px}.rmhp-course-card ul{padding-left:17px;margin:8px 0 15px;font-size:12px;line-height:1.7;color:#514b5e}.rmhp-course-card>a{display:block;text-align:center;background:#5b18c9;color:#fff;border-radius:8px;padding:10px;font-weight:800;font-size:13px}
.rmhp-resource-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.rmhp-resource-grid a{background:#f6f1ff;border:1px solid #e5dcf2;border-radius:10px;padding:17px 10px;text-align:center;color:#251d35}.rmhp-resource-grid span{display:block;font-size:26px;color:#5b18c9;margin-bottom:7px}.rmhp-resource-grid b{font-size:12px}
.rmhp-final-cta{margin:35px 22px 0;padding:35px;background:linear-gradient(110deg,#38106f,#741bd0);color:#fff;border-radius:14px;text-align:center}.rmhp-final-cta h2{font-size:30px;margin:0 0 6px}.rmhp-final-cta p{margin:0 0 18px}.rmhp-final-cta a{display:inline-block;background:#ffd21a;color:#211700;padding:12px 20px;border-radius:8px;font-weight:900;margin:4px}.rmhp-final-cta a.alt{background:#fff;color:#5b18c9}
.rmhp-footer{background:#1e0b3a;color:#fff;margin-top:25px;padding:30px 25px;display:flex;justify-content:space-between;gap:20px;font-size:13px}.rmhp-footer b{font-size:22px}.rmhp-footer span{color:#d9c8f5}
@media(max-width:1000px){.rmhp-nav nav{display:none}.rmhp-quick{grid-template-columns:repeat(4,1fr)}.rmhp-grid,.rmhp-course-grid{grid-template-columns:repeat(2,1fr)}.rmhp-resource-grid{grid-template-columns:repeat(3,1fr)}.rmhp-exams-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.rmhp-hero:after{background:linear-gradient(180deg,rgba(16,6,34,.25),rgba(55,8,104,.06))}.rmhp-nav{height:62px;padding:0 12px}.rmhp-brand img{width:145px;height:50px}.rmhp-login{margin-left:auto;padding:9px 14px}.rmhp-hero{grid-template-columns:1fr;min-height:500px}.rmhp-hero-copy{padding:35px 20px}.rmhp-hero h1{font-size:43px}.rmhp-exams{font-size:18px}.rmhp-hero-art{height:130px}.rmhp-quick{grid-template-columns:repeat(2,1fr);margin:10px 12px}.rmhp-quick-card{border-bottom:1px solid #e6dff1}.rmhp-quick-card:nth-child(2n){border-right:0}.rmhp-stats{grid-template-columns:repeat(2,1fr);gap:14px;margin:0 12px 18px}.rmhp-stats div:nth-child(2){border:0}.rmhp-section,.rmhp-course-section{padding:0 12px}.rmhp-grid,.rmhp-course-grid,.rmhp-exams-grid{grid-template-columns:1fr 1fr}.rmhp-resource-grid{grid-template-columns:1fr 1fr}.rmhp-thumb{height:120px}.rmhp-card-body h3{font-size:14px}.rmhp-footer{flex-direction:column}.rmhp-final-cta{margin:25px 12px 0}.rmhp-final-cta h2{font-size:23px}}

/* v1.3 visual polish */
.rmhp-wrap{max-width:1440px;background:#fff}
.rmhp-nav{box-shadow:0 2px 14px rgba(35,15,75,.05)}
.rmhp-hero{min-height:430px;background:linear-gradient(112deg,#241044 0%,#4f1494 47%,#b99be6 100%)}
.rmhp-hero-copy{padding:54px 42px 38px 58px}
.rmhp-pill{background:rgba(255,255,255,.08);backdrop-filter:blur(5px)}
.rmhp-hero h1{font-size:61px;letter-spacing:-1.5px}
.rmhp-hero h1 strong{color:#ffd21a!important}
.rmhp-hero-art{background:radial-gradient(circle at 55% 52%,#ffe5bf 0,#d3b9f1 31%,rgba(209,186,241,.35) 56%,transparent 73%)}
.rmhp-quick{margin:-10px 24px 24px;padding:8px;border-radius:20px;box-shadow:0 16px 38px rgba(62,17,126,.15)}
.rmhp-quick-card{min-height:118px;padding:12px 8px;border-right:1px solid #e5def0}
.rmhp-quick-card span{width:54px;height:54px;font-size:28px;background:linear-gradient(145deg,#f3ebff,#ece2ff);box-shadow:inset 0 0 0 1px #e6d9fa}
.rmhp-quick-card strong{font-size:13px}
.rmhp-stats{margin:0 24px 28px;border:1px solid #e6daf8;background:linear-gradient(90deg,#f5efff,#efe7ff);box-shadow:0 7px 22px rgba(66,22,126,.06)}
.rmhp-section,.rmhp-course-section{padding:0 28px;margin:30px 0}
.rmhp-section-head h2{font-size:28px;letter-spacing:-.4px}
.rmhp-section-head>div .rmhp-eyebrow{display:block;color:#6b19d8;font-size:11px;font-weight:900;letter-spacing:1.3px;margin-bottom:4px}
.rmhp-exams-grid a{background:linear-gradient(145deg,#f8f4ff,#f0e8ff);box-shadow:0 5px 16px rgba(45,18,90,.05);transition:transform .2s,box-shadow .2s}
.rmhp-exams-grid a:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(45,18,90,.10)}
.rmhp-grid{gap:18px}
.rmhp-post-card{border-radius:16px;box-shadow:0 6px 20px rgba(20,12,45,.07);transition:transform .22s,box-shadow .22s}
.rmhp-post-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(32,15,70,.12)}
.rmhp-thumb{height:175px;position:relative;background:linear-gradient(145deg,#f3ecff,#fff)}
.rmhp-thumb-badge{position:absolute;left:10px;bottom:10px;max-width:80%;padding:5px 9px;border-radius:20px;background:rgba(32,12,63,.86);color:#fff;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rmhp-card-body{padding:14px 14px 15px}
.rmhp-card-meta{display:flex;gap:6px;color:#81768e;font-size:10px;align-items:center}
.rmhp-card-body h3{font-size:16px;min-height:44px}
.rmhp-read{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee7f5;padding-top:9px}
.rmhp-read span{font-size:15px}
.rmhp-course-card{box-shadow:0 7px 20px rgba(38,13,83,.05);transition:transform .2s,box-shadow .2s}
.rmhp-course-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(38,13,83,.10)}
.rmhp-course-card>a{background:linear-gradient(90deg,#5b18c9,#7224e4)}
.rmhp-resource-grid a{transition:transform .2s,background .2s;box-shadow:0 4px 12px rgba(40,15,80,.04)}
.rmhp-resource-grid a:hover{transform:translateY(-2px);background:#efe7ff}
.rmhp-content-hub{margin:36px 28px 0;padding:30px 0 5px;border-top:1px solid #eee7f5}
.rmhp-content-hub .rmhp-section-head{padding:0 0 4px}
.rmhp-hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.rmhp-hub-card{display:grid;grid-template-columns:48px 1fr 18px;align-items:center;gap:10px;padding:15px 14px;border:1px solid #e6dcf4;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(34,13,74,.045);color:#221b31;transition:transform .2s,box-shadow .2s,border-color .2s}
.rmhp-hub-card:hover{transform:translateY(-3px);border-color:#cbb4f1;box-shadow:0 10px 24px rgba(34,13,74,.09)}
.rmhp-hub-icon{width:44px;height:44px;border-radius:12px;background:#f1e9ff;display:flex;align-items:center;justify-content:center;font-size:22px}
.rmhp-hub-card b{display:block;font-size:13px;line-height:1.25}.rmhp-hub-card small{display:block;color:#81768e;font-size:10px;margin-top:4px}.rmhp-hub-card>strong{color:#5b18c9;font-size:18px}
.rmhp-final-cta{margin-left:28px;margin-right:28px}
@media(max-width:1000px){.rmhp-hub-grid{grid-template-columns:repeat(2,1fr)}.rmhp-hero h1{font-size:52px}.rmhp-thumb{height:155px}}
@media(max-width:650px){.rmhp-hero-copy{padding:35px 20px}.rmhp-hero h1{font-size:43px}.rmhp-quick{margin:10px 12px 18px}.rmhp-stats{margin-left:12px;margin-right:12px}.rmhp-section,.rmhp-course-section{padding:0 12px}.rmhp-thumb{height:125px}.rmhp-content-hub{margin-left:12px;margin-right:12px}.rmhp-hub-grid{grid-template-columns:1fr 1fr}.rmhp-hub-card{grid-template-columns:38px 1fr;gap:8px;padding:12px}.rmhp-hub-icon{width:36px;height:36px;font-size:18px}.rmhp-hub-card>strong{display:none}.rmhp-final-cta{margin-left:12px;margin-right:12px}}

/* v1.4 homepage refinement */
.rmhp-wrap a,.rmhp-wrap a:hover,.rmhp-wrap a:focus{ text-decoration:none; }
.rmhp-post-card{height:100%;display:flex;flex-direction:column;}
.rmhp-card-body{display:flex;flex-direction:column;flex:1;}
.rmhp-card-body h3{margin-bottom:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:64px;}
.rmhp-read{margin-top:auto;}
.rmhp-section#latest .rmhp-grid{align-items:stretch;}
.rmhp-section#latest .rmhp-post-card{min-height:455px;}
.rmhp-quick-card strong{text-decoration:none;}
.rmhp-exams-grid a b,.rmhp-exams-grid a small{text-decoration:none;}
@media(max-width:1000px){.rmhp-section#latest .rmhp-post-card{min-height:430px;}}
@media(max-width:650px){.rmhp-section#latest .rmhp-post-card{min-height:0;}.rmhp-card-body h3{min-height:58px;-webkit-line-clamp:3;}}

/* v1.5 hero redesign - V7 */
.rmhp-hero{position:relative;display:grid;grid-template-columns:52% 48%;min-height:430px;overflow:hidden;background:linear-gradient(110deg,#1d083d 0%,#40107c 46%,#6e2bb2 100%);border-radius:0 0 0 0}
.rmhp-hero-copy{position:relative;z-index:4;padding:52px 34px 38px 58px;background:linear-gradient(90deg,rgba(25,7,55,.98) 0%,rgba(49,10,91,.94) 72%,rgba(72,18,125,.50) 100%)}
.rmhp-hero-copy:after{content:"";position:absolute;right:-100px;top:0;width:180px;height:100%;background:linear-gradient(90deg,rgba(67,17,119,.55),transparent);pointer-events:none}
.rmhp-pill{display:inline-flex;align-items:center;padding:9px 16px;border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.09);color:#fff;border-radius:30px;font-size:13px;font-weight:800;letter-spacing:.1px;backdrop-filter:blur(5px);margin-bottom:18px}
.rmhp-hero h1{position:relative;z-index:2;font-size:60px;line-height:.98;letter-spacing:-1.8px;margin:0 0 12px;color:#fff;text-shadow:0 3px 12px rgba(0,0,0,.22)}
.rmhp-hero h1 strong{color:#ffd21a!important;text-shadow:0 3px 10px rgba(0,0,0,.25)}
.rmhp-exams{position:relative;z-index:2;color:#fff;font-weight:800;font-size:22px;margin:0 0 10px}
.rmhp-tagline{position:relative;z-index:2;color:#f8efff;font-size:16px;margin:0 0 18px}
.rmhp-search{position:relative;z-index:5;max-width:620px;margin-top:6px}
.rmhp-search form{display:flex;width:100%;box-shadow:0 8px 22px rgba(0,0,0,.20);border-radius:10px;overflow:hidden}
.rmhp-search input[type="search"]{height:52px!important;background:#fff!important;color:#2a2334!important;border:0!important;outline:0!important;padding:0 16px!important;flex:1!important;font-size:14px!important;border-radius:10px 0 0 10px!important}
.rmhp-search button{height:52px!important;min-width:112px;background:#6d22df!important;color:#fff!important;border:0!important;border-radius:0 10px 10px 0!important;font-weight:900!important;font-size:15px!important}
.rmhp-tags{position:relative;z-index:5;gap:8px;margin-top:14px}
.rmhp-tags span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.13);color:#fff;padding:7px 12px;border-radius:20px;font-size:12px;font-weight:700}
.rmhp-hero-art{position:relative!important;min-height:430px;background-image:url('hero-right-v7.jpg')!important;background-size:cover!important;background-position:center!important;z-index:3!important;box-shadow:inset 80px 0 80px rgba(45,8,83,.25)}
.rmhp-hero-art:before,.rmhp-hero-art:after,.rmhp-hero-building{display:none!important}
@media(max-width:1000px){.rmhp-hero{grid-template-columns:1fr;min-height:520px}.rmhp-hero-copy{padding:42px 28px 150px;background:linear-gradient(180deg,rgba(29,8,61,.98),rgba(57,13,107,.90))}.rmhp-hero-copy:after{display:none}.rmhp-hero-art{position:absolute!important;left:0;right:0;bottom:0;height:190px;min-height:190px;background-position:center 42%!important;box-shadow:inset 0 60px 70px rgba(45,8,83,.35)}}
@media(max-width:650px){.rmhp-hero{min-height:600px}.rmhp-hero-copy{padding:34px 20px 205px}.rmhp-hero h1{font-size:44px}.rmhp-exams{font-size:18px}.rmhp-tagline{font-size:14px}.rmhp-search button{min-width:88px}.rmhp-tags span{font-size:11px;padding:6px 9px}.rmhp-hero-art{height:210px;min-height:210px}}

/* V8: use the real Result Mitra logo in the hero */
.rmhp-hero-brand-overlay{position:absolute;top:18px;right:18px;z-index:12;width:190px;height:82px;background:#fff;border-radius:14px;padding:7px 10px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(20,10,40,.16);overflow:hidden}
.rmhp-hero-brand-overlay img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;border:0!important}
@media(max-width:1000px){.rmhp-hero-brand-overlay{top:12px;right:12px;width:155px;height:68px}}
@media(max-width:650px){.rmhp-hero-brand-overlay{top:10px;right:10px;width:135px;height:58px;border-radius:10px;padding:5px}}

/* V9: tightly cropped real Result Mitra logo */
.rmhp-hero-brand-overlay{top:18px;right:22px;width:210px;height:78px;background:rgba(255,255,255,.94);border-radius:14px;padding:7px 12px;box-shadow:0 8px 22px rgba(20,10,40,.14)}
.rmhp-hero-brand-overlay img{width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:1000px){.rmhp-hero-brand-overlay{top:12px;right:12px;width:170px;height:64px}}
@media(max-width:650px){.rmhp-hero-brand-overlay{top:10px;right:10px;width:145px;height:55px;border-radius:10px;padding:5px 8px}}

/* V10: real logo — no card, no scaling trap */
.rmhp-hero-brand-overlay{position:absolute!important;top:24px!important;right:28px!important;width:auto!important;height:auto!important;max-width:none!important;padding:0!important;margin:0!important;background:rgba(255,255,255,.94)!important;border-radius:12px!important;box-shadow:0 6px 18px rgba(20,10,40,.14)!important;overflow:hidden!important;z-index:30!important;display:block!important;line-height:0!important}
.rmhp-hero-brand-overlay img{display:block!important;width:230px!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
@media(max-width:1000px){.rmhp-hero-brand-overlay{top:16px!important;right:16px!important}.rmhp-hero-brand-overlay img{width:190px!important}}
@media(max-width:650px){.rmhp-hero-brand-overlay{top:10px!important;right:10px!important;border-radius:9px!important}.rmhp-hero-brand-overlay img{width:155px!important}}
