/* ============================================================
   ResultHut.in — rh-post.css v2.0
   Single Post · Pages · Archive · Search styles
   ============================================================ */

/* ===== POST LAYOUT WRAP ===== */
.rh-post-outer{background:var(--bg,#F5F8FF);padding:30px 0 50px}
.rh-post-wrap{max-width:1200px;margin:0 auto;padding:0 20px;width:100%}
.rh-post-layout{display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start}

/* BREADCRUMB */
.rh-breadcrumb{padding:10px 0 18px;font-size:12.5px;color:var(--g5,#7A88A8);display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.rh-breadcrumb a{color:var(--gr,#2E7D32);font-weight:600}
.rh-breadcrumb a:hover{color:var(--bl,#1565C0)}

/* ===== ARTICLE CARD ===== */
.rh-article{background:#fff;border-radius:18px;padding:28px;box-shadow:0 4px 20px rgba(10,22,40,.09);border:1px solid var(--g2,#DDE5F0)}
.rh-post-cats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.rh-cat-tag{background:var(--grl,#E8F5E9);color:var(--gr,#2E7D32);font-size:11px;font-weight:700;padding:3px 12px;border-radius:50px;border:1px solid rgba(46,125,50,.2)}
.rh-cat-tag.bl{background:var(--bll,#E3F2FD);color:var(--bl,#1565C0);border-color:rgba(21,101,192,.2)}
.rh-post-title{font-size:clamp(20px,3vw,27px);font-weight:800;color:var(--nv,#0A1628);line-height:1.35;margin-bottom:14px}
.rh-post-meta{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--g5,#7A88A8);flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--g1,#F0F4FA)}
.rh-post-meta span{display:flex;align-items:center;gap:5px}

/* INFO BOX */
.rh-infobox{background:linear-gradient(135deg,var(--grl,#E8F5E9),var(--bll,#E3F2FD));border:1px solid rgba(46,125,50,.2);border-left:4px solid var(--gr,#2E7D32);border-radius:12px;padding:16px 18px;margin:20px 0;display:flex;gap:13px;align-items:flex-start}
.rh-infobox-icon{font-size:24px;flex-shrink:0;margin-top:2px}
.rh-infobox h3{font-size:14px;font-weight:800;color:var(--gr,#2E7D32);margin-bottom:5px}
.rh-infobox p{font-size:13px;color:var(--g7,#3D4563);line-height:1.65;margin:0}

/* NOTIFICATION TABLE */
.rh-notif-table{width:100%;border-collapse:collapse;margin:20px 0;border-radius:12px;overflow:hidden;box-shadow:var(--sh,0 4px 20px rgba(10,22,40,.09));border:1px solid var(--g2,#DDE5F0)}
.rh-notif-table caption{background:linear-gradient(90deg,var(--gr2,#1B5E20),var(--bl2,#0D47A1));color:#fff;padding:10px 14px;font-size:13px;font-weight:800;text-align:left;caption-side:top}
.rh-notif-table th{background:linear-gradient(90deg,var(--gr,#2E7D32),var(--bl,#1565C0));color:#fff;padding:9px 13px;font-size:12px;font-weight:700;text-align:left}
.rh-notif-table td{padding:9px 13px;font-size:13px;color:var(--nv2,#1A2C4A);border-bottom:1px solid var(--g1,#F0F4FA);background:#fff}
.rh-notif-table tr:last-child td{border-bottom:none}
.rh-notif-table tr:hover td{background:var(--grl,#E8F5E9)}
.rh-notif-table td a{color:var(--bl,#1565C0);font-weight:600}
.rh-notif-table td a:hover{color:var(--gr,#2E7D32)}

/* BUTTONS */
.rh-btn-group{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.rh-btn{display:inline-flex;align-items:center;gap:7px;padding:10px 22px;border-radius:8px;font-size:13px;font-weight:700;text-decoration:none;transition:all .2s;cursor:pointer;border:none}
.rh-btn-primary{background:linear-gradient(135deg,var(--gr,#2E7D32),var(--gr2,#1B5E20));color:#fff;box-shadow:0 4px 14px rgba(46,125,50,.3)}
.rh-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(46,125,50,.4)}
.rh-btn-secondary{background:linear-gradient(135deg,var(--bl,#1565C0),var(--bl2,#0D47A1));color:#fff;box-shadow:0 4px 14px rgba(21,101,192,.3)}
.rh-btn-secondary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(21,101,192,.4)}
.rh-btn-outline{background:transparent;color:var(--gr,#2E7D32);border:2px solid var(--gr,#2E7D32)}
.rh-btn-outline:hover{background:var(--gr,#2E7D32);color:#fff}

/* POST CONTENT */
.rh-post-content{font-size:15px;line-height:1.85;color:var(--g7,#3D4563);margin-top:20px}
.rh-post-content h2{font-size:21px;font-weight:800;color:var(--nv,#0A1628);margin:28px 0 12px;padding-left:14px;border-left:4px solid var(--gr,#2E7D32)}
.rh-post-content h3{font-size:17px;font-weight:700;color:var(--nv2,#1A2C4A);margin:22px 0 10px}
.rh-post-content h4{font-size:15px;font-weight:700;color:var(--nv2,#1A2C4A);margin:16px 0 8px}
.rh-post-content p{margin-bottom:14px}
.rh-post-content a{color:var(--bl,#1565C0);font-weight:600;border-bottom:1px solid rgba(21,101,192,.2)}
.rh-post-content a:hover{color:var(--gr,#2E7D32)}
.rh-post-content ul,.rh-post-content ol{margin:12px 0 14px 22px}
.rh-post-content li{margin-bottom:7px}
.rh-post-content table{width:100%;border-collapse:collapse;margin:16px 0;font-size:13.5px;border-radius:8px;overflow:hidden;box-shadow:var(--sh)}
.rh-post-content table th{background:var(--gr,#2E7D32);color:#fff;padding:9px 12px;text-align:left;font-size:12.5px}
.rh-post-content table td{padding:9px 12px;border-bottom:1px solid var(--g1,#F0F4FA);background:#fff}
.rh-post-content table tr:hover td{background:var(--grl,#E8F5E9)}
.rh-post-content blockquote{background:var(--grl,#E8F5E9);border-left:4px solid var(--gr,#2E7D32);padding:14px 18px;border-radius:0 8px 8px 0;margin:16px 0;font-style:italic;color:var(--nv2,#1A2C4A)}
.rh-post-content img{border-radius:10px;margin:16px 0;max-width:100%}
.rh-post-content strong{color:var(--nv,#0A1628);font-weight:700}

/* TAGS */
.rh-post-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px;padding-top:18px;border-top:1px solid var(--g1,#F0F4FA)}
.rh-post-tags>span{font-size:12px;font-weight:700;color:var(--g7,#3D4563);margin-right:4px;align-self:center}
.rh-post-tags a{background:var(--g1,#F0F4FA);color:var(--g7,#3D4563);font-size:12px;padding:4px 12px;border-radius:50px;border:1px solid var(--g2,#DDE5F0);transition:all .2s}
.rh-post-tags a:hover{background:var(--grl,#E8F5E9);color:var(--gr,#2E7D32);border-color:var(--gr,#2E7D32)}

/* RELATED POSTS */
.rh-related{margin-top:26px}
.rh-related-title{font-size:17px;font-weight:800;color:var(--nv,#0A1628);margin-bottom:16px;display:flex;align-items:center;gap:10px}
.rh-related-title::before{content:'';width:4px;height:20px;background:linear-gradient(to bottom,var(--gr,#2E7D32),var(--bl,#1565C0));border-radius:4px;flex-shrink:0;display:block}
.rh-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.rh-rel-card{background:#fff;border-radius:10px;overflow:hidden;border:1px solid var(--g2,#DDE5F0);transition:all .2s;box-shadow:0 2px 8px rgba(10,22,40,.06)}
.rh-rel-card:hover{transform:translateY(-3px);box-shadow:var(--shl);border-color:var(--gr,#2E7D32)}
.rh-rel-img{height:110px;background:var(--g1,#F0F4FA);overflow:hidden}
.rh-rel-img img{width:100%;height:100%;object-fit:cover}
.rh-rel-body{padding:10px 12px}
.rh-rel-title{font-size:12.5px;font-weight:700;color:var(--nv,#0A1628);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rh-rel-card:hover .rh-rel-title{color:var(--gr,#2E7D32)}

/* ARCHIVE */
.rh-archive-header{background:linear-gradient(135deg,var(--gr2,#1B5E20),var(--bl2,#0D47A1));padding:28px 0;margin-bottom:22px}
.rh-archive-header .rh-wrap{display:flex;align-items:center;gap:16px}
.rh-arc-icon{width:60px;height:60px;background:rgba(255,255,255,.15);border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0}
.rh-arc-info h1{font-size:24px;font-weight:800;color:#fff;margin-bottom:4px}
.rh-arc-info p{font-size:13px;color:rgba(255,255,255,.65)}

/* SEARCH */
.rh-search-header{padding:22px 0;background:#fff;border-bottom:1px solid var(--g2,#DDE5F0);margin-bottom:22px}
.rh-search-header h1{font-size:20px;font-weight:800;color:var(--nv,#0A1628)}
.rh-search-header h1 span{color:var(--gr,#2E7D32)}

/* ===== LEGAL PAGE STYLES ===== */
.rh-page-outer{background:var(--bg,#F5F8FF);padding:30px 0 60px}
.rh-page-wrap{max-width:900px;margin:0 auto;padding:0 20px}
.rh-page-header{background:linear-gradient(135deg,var(--gr2,#1B5E20),var(--bl2,#0D47A1));border-radius:18px;padding:32px;margin-bottom:26px;color:#fff}
.rh-page-header h1{font-size:28px;font-weight:800;margin-bottom:6px}
.rh-page-header p{font-size:13.5px;color:rgba(255,255,255,.7);margin:0}
.rh-page-content{background:#fff;border-radius:18px;padding:32px;box-shadow:var(--sh);border:1px solid var(--g2,#DDE5F0);line-height:1.85;font-size:15px;color:var(--g7,#3D4563)}
.rh-page-content h2{font-size:19px;font-weight:800;color:var(--nv,#0A1628);margin:26px 0 10px;padding-left:13px;border-left:4px solid var(--gr,#2E7D32)}
.rh-page-content h2:first-child{margin-top:0}
.rh-page-content h3{font-size:16px;font-weight:700;color:var(--nv2,#1A2C4A);margin:18px 0 8px}
.rh-page-content p{margin-bottom:14px}
.rh-page-content a{color:var(--bl,#1565C0);font-weight:600;border-bottom:1px solid rgba(21,101,192,.2)}
.rh-page-content a:hover{color:var(--gr,#2E7D32)}
.rh-page-content ul,.rh-page-content ol{margin:10px 0 14px 22px}
.rh-page-content li{margin-bottom:7px}
.rh-page-content strong{color:var(--nv,#0A1628)}
.rh-page-content blockquote{background:var(--grl,#E8F5E9);border-left:4px solid var(--gr,#2E7D32);padding:14px 18px;border-radius:0 8px 8px 0;margin:16px 0;font-style:italic}
.rh-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.rh-contact-card{background:var(--grl,#E8F5E9);border-radius:12px;padding:18px;border:1px solid rgba(46,125,50,.15)}
.rh-contact-card h4{font-size:14px;font-weight:800;color:var(--gr,#2E7D32);margin-bottom:8px}
.rh-contact-card p{font-size:13px;color:var(--g7,#3D4563);margin:0;line-height:1.7}

/* PAGINATION */
.rh-pagination{display:flex;justify-content:center;align-items:center;gap:6px;padding:24px 0}
.rh-pagination a,.rh-pagination span{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:700;border:1.5px solid var(--g2,#DDE5F0);color:var(--nv2,#1A2C4A);text-decoration:none;transition:all .2s}
.rh-pagination a:hover{border-color:var(--gr,#2E7D32);color:var(--gr,#2E7D32);background:var(--grl,#E8F5E9)}
.rh-pagination .current{background:linear-gradient(135deg,var(--gr,#2E7D32),var(--bl,#1565C0));color:#fff;border-color:transparent}

/* RESPONSIVE POST */
@media(max-width:900px){
  .rh-post-layout{grid-template-columns:1fr}
  .rh-related-grid{grid-template-columns:repeat(2,1fr)}
  .rh-contact-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .rh-article{padding:18px}
  .rh-page-content{padding:20px}
  .rh-page-header{padding:22px}
  .rh-related-grid{grid-template-columns:1fr}
  .rh-btn-group{flex-direction:column}
  .rh-btn{justify-content:center}
}
