/* ==========================================================================
   Topbar
   ========================================================================== */
.rh-topbar{background:var(--rh-navy);color:#c7c9e6;font-size:12.5px;}
.rh-topbar-inner{display:flex;align-items:center;justify-content:space-between;height:36px;}
.rh-topbar-links{display:flex;align-items:center;gap:18px;}
.rh-topbar-links a{color:#c7c9e6;}
.rh-topbar-links a:hover{color:#fff;}
.rh-dark-toggle{background:none;border:none;color:#c7c9e6;display:flex;align-items:center;gap:6px;font-size:12.5px;}
.rh-dot{width:9px;height:9px;border-radius:50%;background:var(--rh-orange);display:inline-block;}

/* ==========================================================================
   Header
   ========================================================================== */
.rh-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 var(--rh-border);}
.rh-header-inner{display:flex;align-items:center;justify-content:space-between;height:74px;gap:24px;}
.rh-logo{display:flex;align-items:center;gap:10px;}
.rh-logo-badge{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--rh-purple),var(--rh-purple-dark));color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:700;font-size:15px;}
.rh-logo-text strong{display:block;font-family:var(--font-display);font-size:18px;font-weight:700;color:var(--rh-text);}
.rh-logo-text small{font-size:11px;color:var(--rh-text-soft);}
.rh-logo-light .rh-logo-text strong{color:#fff;}

.rh-nav{flex:1;display:flex;justify-content:center;}
.rh-nav-list{display:flex;align-items:center;gap:28px;}
.rh-nav-list a{font-weight:500;font-size:14.5px;color:var(--rh-text);position:relative;padding:8px 0;}
.rh-nav-list a:hover{color:var(--rh-purple);}
.rh-nav-list li.menu-item-has-children{position:relative;}
.rh-nav-list li.menu-item-has-children > a::after{content:"⌵";margin-left:5px;font-size:12px;}
.rh-nav-list .sub-menu{position:absolute;top:100%;left:0;background:#fff;border-radius:10px;box-shadow:var(--rh-shadow-lg);min-width:180px;padding:8px;display:none;flex-direction:column;gap:2px;}
.rh-nav-list li.menu-item-has-children:hover .sub-menu{display:flex;}
.rh-nav-list .sub-menu a{padding:8px 10px;border-radius:6px;}
.rh-nav-list .sub-menu a:hover{background:var(--rh-bg);}

.rh-header-actions{display:flex;align-items:center;gap:12px;}
.rh-icon-btn{width:38px;height:38px;border-radius:10px;border:1px solid var(--rh-border);background:#fff;display:flex;align-items:center;justify-content:center;color:var(--rh-text-soft);}
.rh-icon-btn svg{width:17px;height:17px;}
.rh-btn-sm{padding:10px 18px;font-size:13.5px;}
.rh-menu-toggle{display:none;flex-direction:column;gap:4px;background:none;border:none;padding:6px;}
.rh-menu-toggle span{width:22px;height:2px;background:var(--rh-text);border-radius:2px;}

.rh-search-bar{display:none;background:#fff;border-top:1px solid var(--rh-border);padding:14px 0;}
.rh-search-bar.is-open{display:block;}
.rh-search-bar form{display:flex;gap:10px;}
.rh-search-bar input{flex:1;border:1px solid var(--rh-border);border-radius:10px;padding:12px 16px;font-size:14px;}

/* ==========================================================================
   Hero
   ========================================================================== */
.rh-hero{background:linear-gradient(135deg,var(--rh-navy) 0%,var(--rh-navy-2) 55%,var(--rh-purple-dark) 100%);color:#fff;padding:56px 0 0;border-radius:0 0 28px 28px;overflow:hidden;}
.rh-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-bottom:40px;}
.rh-hero-copy h1{font-size:40px;font-weight:800;letter-spacing:-.5px;margin-bottom:14px;}
.rh-accent{color:var(--rh-orange);}
.rh-hero-copy p{color:#c7c9e6;font-size:15.5px;margin-bottom:26px;max-width:440px;}
.rh-hero-search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:6px 6px 6px 16px;max-width:520px;}
.rh-hero-search svg{width:18px;height:18px;color:var(--rh-text-soft);flex-shrink:0;}
.rh-hero-search input{flex:1;border:none;outline:none;padding:12px 4px;font-size:14px;color:var(--rh-text);}
.rh-popular-searches{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px;font-size:13px;color:#a9abd1;}
.rh-popular-searches a{background:rgba(255,255,255,.08);padding:6px 12px;border-radius:20px;color:#e3e4f5;}
.rh-popular-searches a:hover{background:rgba(255,255,255,.18);}

.rh-hero-art{display:flex;justify-content:center;}
.rh-hero-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:var(--rh-radius-lg);padding:22px;width:100%;max-width:300px;backdrop-filter:blur(6px);}
.rh-hero-card-title{font-weight:600;font-size:13px;color:#c7c9e6;display:block;margin-bottom:14px;}
.rh-hero-card ul{display:flex;flex-direction:column;gap:10px;}
.rh-hero-card li{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.07);padding:12px 14px;border-radius:10px;font-size:13.5px;font-weight:500;}
.rh-hero-card li svg{width:16px;height:16px;color:var(--rh-orange);}

.rh-stats-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.12);padding:26px 0;}
.rh-stat{text-align:center;border-right:1px solid rgba(255,255,255,.12);}
.rh-stat:last-child{border-right:none;}
.rh-stat strong{display:block;font-family:var(--font-display);font-size:24px;font-weight:700;color:#fff;}
.rh-stat span{font-size:12px;color:#a9abd1;}

/* ==========================================================================
   Latest notifications
   ========================================================================== */
.rh-notif-panel{background:var(--rh-card);border-radius:var(--rh-radius-lg);padding:24px;box-shadow:var(--rh-shadow);}
.rh-notif-list li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--rh-border);}
.rh-notif-list li:last-child{border-bottom:none;}
.rh-tag-new{background:#ffe3e3;color:#e0333d;font-size:10.5px;font-weight:700;padding:3px 8px;border-radius:6px;flex-shrink:0;}
.rh-notif-list a{flex:1;font-weight:500;font-size:14.5px;}
.rh-notif-list a:hover{color:var(--rh-purple);}
.rh-notif-list time{font-size:12.5px;color:var(--rh-text-soft);flex-shrink:0;}

/* ==========================================================================
   Category cards
   ========================================================================== */
.rh-category-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:16px;}
.rh-cat-card{background:var(--rh-card);border-radius:var(--rh-radius);padding:22px 16px;text-align:center;box-shadow:var(--rh-shadow);display:flex;flex-direction:column;align-items:center;gap:8px;transition:.2s ease;}
.rh-cat-card:hover{transform:translateY(-4px);box-shadow:var(--rh-shadow-lg);}
.rh-cat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;}
.rh-cat-icon svg{width:22px;height:22px;}
.rh-cat-card strong{font-size:14px;font-weight:600;}
.rh-cat-card span{font-size:11.5px;color:var(--rh-text-soft);}

/* ==========================================================================
   Three column: state jobs / trending / calendar
   ========================================================================== */
.rh-three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:start;}
.rh-col-block{background:var(--rh-card);border-radius:var(--rh-radius-lg);padding:22px;box-shadow:var(--rh-shadow);}
.rh-state-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.rh-state-item{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:12.5px;font-weight:500;color:var(--rh-text-soft);}
.rh-state-item svg{width:26px;height:26px;color:var(--rh-purple);}
.rh-state-item:hover{color:var(--rh-purple);}

.rh-trend-list li{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--rh-border);}
.rh-trend-list li:last-child{border-bottom:none;}
.rh-trend-dot{width:8px;height:8px;border-radius:50%;background:var(--rh-orange);margin-top:6px;flex-shrink:0;}
.rh-trend-list a{font-weight:600;font-size:14px;display:block;}
.rh-trend-list small{color:var(--rh-text-soft);font-size:12px;}

.rh-calendar-list li{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--rh-border);}
.rh-calendar-list li:last-child{border-bottom:none;}
.rh-cal-date{background:var(--rh-bg);border-radius:10px;padding:8px 12px;font-weight:700;font-size:13px;color:var(--rh-purple);white-space:nowrap;}
.rh-calendar-list a{font-weight:500;font-size:14px;}

.rh-empty{color:var(--rh-text-soft);font-size:14px;padding:20px 0;text-align:center;}

/* ==========================================================================
   Feature strip
   ========================================================================== */
.rh-feature-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.rh-feature{background:var(--rh-card);border-radius:var(--rh-radius);padding:18px 14px;text-align:center;box-shadow:var(--rh-shadow);display:flex;flex-direction:column;align-items:center;gap:6px;}
.rh-feature-icon{width:38px;height:38px;border-radius:10px;background:#eee9ff;color:var(--rh-purple);display:flex;align-items:center;justify-content:center;}
.rh-feature-icon svg{width:18px;height:18px;}
.rh-feature strong{font-size:13px;font-weight:600;}
.rh-feature span{font-size:11px;color:var(--rh-text-soft);}

/* ==========================================================================
   Bottom grid: community / newsletter / important links
   ========================================================================== */
.rh-bottom-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px;}
.rh-community{background:linear-gradient(135deg,var(--rh-purple),var(--rh-purple-dark));border-radius:var(--rh-radius-lg);padding:28px;color:#fff;}
.rh-community h2{font-size:22px;margin-bottom:10px;}
.rh-community p{color:#e3e0ff;font-size:14px;margin-bottom:20px;max-width:360px;}
.rh-community-actions{display:flex;gap:12px;flex-wrap:wrap;}
.rh-btn-white{background:#fff;color:var(--rh-purple);}
.rh-btn-white:hover{background:#eee9ff;}
.rh-btn-outline-white{background:transparent;border:1.5px solid rgba(255,255,255,.5);color:#fff;}

.rh-newsletter,.rh-important-links{background:var(--rh-card);border-radius:var(--rh-radius-lg);padding:24px;box-shadow:var(--rh-shadow);}
.rh-newsletter h3,.rh-important-links h3{font-size:16px;margin-bottom:8px;}
.rh-newsletter p{color:var(--rh-text-soft);font-size:13px;margin-bottom:16px;}
.rh-newsletter-form{display:flex;gap:8px;flex-wrap:wrap;}
.rh-newsletter-form input{flex:1;min-width:150px;border:1px solid var(--rh-border);border-radius:10px;padding:11px 14px;font-size:13.5px;}
.rh-important-links ul li{padding:9px 0;border-bottom:1px solid var(--rh-border);font-size:13.5px;font-weight:500;}
.rh-important-links ul li:last-child{border-bottom:none;}
.rh-important-links ul li a:hover{color:var(--rh-purple);}

/* ==========================================================================
   Footer
   ========================================================================== */
.rh-footer{background:var(--rh-navy);color:#a9abd1;margin-top:40px;padding-top:48px;}
.rh-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr 1.2fr;gap:24px;padding-bottom:32px;}
.rh-footer-brand p{font-size:13px;margin:14px 0 16px;}
.rh-social{display:flex;gap:8px;}
.rh-social a{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:700;color:#e3e4f5;}
.rh-social a:hover{background:var(--rh-purple);}
.rh-footer-col h4{color:#fff;font-size:14px;margin-bottom:14px;}
.rh-footer-col ul li{padding:6px 0;font-size:13.5px;}
.rh-footer-col ul a:hover{color:#fff;}
.rh-tag-cloud{display:flex;flex-wrap:wrap;gap:8px;}
.rh-tag-cloud a{background:rgba(255,255,255,.08);padding:6px 10px;border-radius:8px;font-size:12px;}
.rh-tag-cloud a:hover{background:var(--rh-purple);color:#fff;}
.rh-contact-list li{display:flex;align-items:center;gap:8px;font-size:13px;padding:6px 0;}
.rh-contact-list svg{width:14px;height:14px;flex-shrink:0;}
.rh-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;display:flex;align-items:center;justify-content:space-between;font-size:12.5px;flex-wrap:wrap;gap:10px;}
.rh-footer-bottom nav{display:flex;gap:16px;flex-wrap:wrap;}
.rh-footer-bottom nav a:hover{color:#fff;}

/* ==========================================================================
   Post cards (index / category / search loops)
   ========================================================================== */
.rh-page-layout{display:grid;grid-template-columns:1fr 300px;gap:30px;align-items:start;}
.rh-post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.rh-post-card{background:var(--rh-card);border-radius:var(--rh-radius);box-shadow:var(--rh-shadow);padding:20px;display:flex;gap:14px;}
.rh-post-card-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.rh-post-card-icon svg{width:20px;height:20px;}
.rh-post-card-cat{display:inline-block;background:#eee9ff;color:var(--rh-purple);font-size:11px;font-weight:700;padding:3px 10px;border-radius:6px;margin-bottom:8px;}
.rh-post-card-body h3{font-size:15.5px;margin-bottom:6px;}
.rh-post-card-body h3 a:hover{color:var(--rh-purple);}
.rh-post-card-body p{font-size:13px;color:var(--rh-text-soft);margin-bottom:10px;}
.rh-post-card-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--rh-text-soft);}
.rh-pagination{margin-top:24px;display:flex;justify-content:center;gap:8px;}
.rh-pagination .page-numbers{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--rh-card);box-shadow:var(--rh-shadow);font-size:13px;font-weight:600;}
.rh-pagination .page-numbers.current{background:var(--rh-purple);color:#fff;}

/* Archive hero (category.php) */
.rh-archive-hero{padding:44px 0;color:#fff;border-radius:0 0 24px 24px;}
.rh-archive-icon{width:52px;height:52px;border-radius:14px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.rh-archive-icon svg{width:24px;height:24px;color:#fff;}
.rh-archive-hero h1{font-size:28px;font-weight:700;}
.rh-archive-hero p{color:rgba(255,255,255,.85);margin-top:6px;max-width:500px;}

/* Sidebar */
.rh-sidebar{display:flex;flex-direction:column;gap:18px;}
.rh-widget{background:var(--rh-card);border-radius:var(--rh-radius);padding:18px;box-shadow:var(--rh-shadow);}
.rh-widget-title{font-size:14px;margin-bottom:12px;}

/* Single post */
.rh-single-post h1{font-size:26px;margin:10px 0 12px;}
.rh-single-meta{color:var(--rh-text-soft);font-size:13px;display:flex;gap:8px;margin-bottom:18px;}
.rh-single-thumb{border-radius:var(--rh-radius);overflow:hidden;margin-bottom:20px;}
.rh-single-content{background:var(--rh-card);border-radius:var(--rh-radius);padding:26px;box-shadow:var(--rh-shadow);font-size:14.5px;line-height:1.8;}
.rh-single-content h2,.rh-single-content h3{margin:22px 0 10px;}
.rh-single-content table{width:100%;border-collapse:collapse;margin:16px 0;}
.rh-single-content table td,.rh-single-content table th{border:1px solid var(--rh-border);padding:8px 12px;font-size:13.5px;}
.rh-disclaimer{background:#fff7e6;border:1px solid #ffe3a3;border-radius:10px;padding:14px 16px;font-size:12.5px;color:#7a5b00;margin-top:18px;}

/* Static pages */
.rh-static-page .rh-single-content{padding:30px;}

/* 404 */
.rh-404{text-align:center;padding:70px 0;}
.rh-404-code{font-family:var(--font-display);font-size:80px;font-weight:800;color:var(--rh-purple);}
.rh-404 h1{margin:6px 0 10px;}
.rh-404 p{color:var(--rh-text-soft);margin-bottom:22px;}

/* Comments */
.rh-comments{margin-top:26px;background:var(--rh-card);border-radius:var(--rh-radius);padding:24px;box-shadow:var(--rh-shadow);}
.rh-comment-list li{padding:14px 0;border-bottom:1px solid var(--rh-border);}

/* Dark mode */
body.rh-dark{--rh-bg:#0d0e24;--rh-card:#161a45;--rh-text:#eef0ff;--rh-text-soft:#9a9cc4;--rh-border:#262a5e;}
