/*
Theme Name: HRFreelancer Platform
Theme URI: https://hrfreelancer.ir/
Author: HRFreelancer
Description: پوسته اختصاصی HRFreelancer برای یکپارچه‌سازی ظاهر سایت با پلتفرم پروژه‌ها، متخصصان، عضویت، پروژه عمومی/اختصاصی و داشبوردها.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: hrfreelancer-theme
*/

:root{
  --hrf-blue:#004680;
  --hrf-blue-2:#4484BA;
  --hrf-yellow:#FFC000;
  --hrf-bg:#f4f8fc;
  --hrf-border:#d8e8f4;
  --hrf-text:#1a2a3a;
  --hrf-muted:#7a9ab0;
}
*{box-sizing:border-box}
html{direction:rtl;scroll-behavior:smooth}
body{margin:0;font-family:"Vazirmatn",Tahoma,Arial,sans-serif;direction:rtl;background:#fff;color:var(--hrf-text);line-height:1.75}
body.admin-bar .site-header{top:32px}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
button,input,textarea,select{font-family:inherit}
.hrf-container{width:min(1140px,calc(100% - 40px));margin:0 auto}

/* Header */
.site-header{height:64px;background:var(--hrf-blue);position:sticky;top:0;z-index:999;box-shadow:0 3px 16px rgba(0,70,128,.18)}
.site-header .hrf-container{height:100%;display:flex;align-items:center;gap:22px}
.site-brand{font-size:21px;font-weight:900;color:#fff;white-space:nowrap}
.site-brand span{color:#8ec8f0}
.site-nav{margin-right:auto;display:flex;align-items:center;gap:22px}
.site-nav a{font-size:12.5px;color:#fff;opacity:.82}
.site-nav a:hover,.site-nav .current-menu-item>a{opacity:1}
.site-actions{display:flex;gap:8px;align-items:center}
.site-btn-outline,.site-btn-light{border-radius:22px;padding:7px 16px;font-size:11.5px;font-weight:700}
.site-btn-outline{border:1px solid rgba(255,255,255,.48);color:#fff}
.site-btn-light{background:#fff;color:var(--hrf-blue)}
.mobile-toggle{display:none;background:transparent;border:0;color:#fff;font-size:24px}

/* Hero */
.hrf-home-hero{background:linear-gradient(110deg,var(--hrf-blue-2),var(--hrf-blue));color:#fff;padding:58px 0 0;text-align:center}
.hrf-hero-inner{max-width:780px;margin:auto}
.hrf-hero-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.09);padding:6px 14px;border-radius:22px;font-size:11.5px}
.hrf-hero-badge i{width:7px;height:7px;border-radius:50%;background:var(--hrf-yellow);display:block}
.hrf-home-hero h1{font-size:clamp(34px,5vw,54px);line-height:1.25;margin:17px 0 15px;font-weight:900}
.hrf-home-hero h1 em{font-style:normal;color:var(--hrf-yellow)}
.hrf-home-hero .hero-sub{max-width:680px;margin:0 auto 25px;color:rgba(255,255,255,.82);font-size:14px}
.hrf-search-box{display:flex;max-width:650px;margin:0 auto;background:#fff;border-radius:11px;overflow:hidden;box-shadow:0 7px 28px rgba(0,0,0,.18)}
.hrf-search-box input{flex:1;min-width:0;border:0;padding:15px 17px;font-size:13px;outline:0}
.hrf-search-box button{border:0;background:var(--hrf-blue);color:#fff;font-weight:800;padding:0 25px}
.hrf-popular{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;align-items:center;margin:17px 0 40px;font-size:11px}
.hrf-popular>span{color:rgba(255,255,255,.65)}
.hrf-popular a{border:1px solid rgba(255,255,255,.3);border-radius:20px;padding:4px 11px;background:rgba(255,255,255,.08)}
.hrf-stats{display:flex;justify-content:center;border-top:1px solid rgba(255,255,255,.13);background:rgba(0,0,0,.16)}
.hrf-stat{min-width:190px;padding:22px 45px;position:relative}
.hrf-stat:not(:last-child):after{content:"";position:absolute;left:0;top:28%;height:44%;width:1px;background:rgba(255,255,255,.2)}
.hrf-stat strong{display:block;font-size:28px;color:#fff;line-height:1.1}
.hrf-stat strong.yellow{color:var(--hrf-yellow)}
.hrf-stat span{font-size:10.5px;color:rgba(255,255,255,.68)}

/* Sections */
.hrf-section{padding:58px 0}
.hrf-section.alt{background:var(--hrf-bg)}
.hrf-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}
.hrf-section-head.center{display:block;text-align:center}
.hrf-eyebrow{display:block;font-size:10px;font-weight:800;color:var(--hrf-blue-2);letter-spacing:.08em;margin-bottom:5px}
.hrf-section h2{margin:0;color:var(--hrf-text);font-size:27px;line-height:1.35}
.hrf-section-sub{color:var(--hrf-muted);font-size:12.5px;margin:5px 0 0}
.hrf-see-all{color:var(--hrf-blue-2);font-weight:700;font-size:12px}

/* Specialties */
.hrf-specialty-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.hrf-specialty-card{display:block;background:var(--hrf-bg);border:1px solid var(--hrf-border);border-radius:14px;padding:19px;transition:.18s}
.hrf-specialty-card:hover{transform:translateY(-3px);border-color:var(--hrf-blue-2);box-shadow:0 8px 25px rgba(0,70,128,.08)}
.hrf-specialty-icon{height:39px;font-size:28px;display:flex;align-items:center;margin-bottom:10px}
.hrf-specialty-card h3{font-size:14px;margin:0 0 5px}
.hrf-specialty-card p{font-size:11px;color:var(--hrf-muted);margin:0 0 12px;min-height:39px}
.hrf-count{display:inline-block;border:1px solid var(--hrf-blue-2);color:var(--hrf-blue-2);background:#fff;border-radius:20px;font-size:10px;padding:3px 9px}

/* Professionals */
.hrf-pro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.hrf-pro-card{background:#fff;border:1px solid var(--hrf-border);border-radius:14px;padding:18px;transition:.18s}
.hrf-pro-card:hover{border-color:var(--hrf-blue-2);box-shadow:0 7px 22px rgba(0,70,128,.08)}
.hrf-pro-top{display:flex;gap:11px;align-items:flex-start}
.hrf-pro-avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--hrf-blue-2),var(--hrf-blue));color:#fff;display:grid;place-items:center;font-weight:900;font-size:18px;overflow:hidden;flex:0 0 auto}
.hrf-pro-card h3{font-size:13.5px;margin:2px 0 1px}
.hrf-pro-title{font-size:11px;color:var(--hrf-blue-2)}
.hrf-pro-bio{font-size:11px;color:var(--hrf-muted);line-height:1.8;margin:12px 0}
.hrf-chips{display:flex;flex-wrap:wrap;gap:5px}
.hrf-chips span{background:var(--hrf-bg);border:1px solid var(--hrf-border);font-size:9.5px;border-radius:20px;padding:3px 8px}
.hrf-verified{display:inline-block;background:#e8f6ee;color:#27784d;font-size:8.5px;border-radius:18px;padding:2px 7px;margin-right:4px}
.hrf-honorary{display:inline-block;background:#fff5d6;color:#916700;font-size:8.5px;border-radius:18px;padding:2px 7px;margin-right:4px}

/* Projects */
.hrf-project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.hrf-home-project{display:flex;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--hrf-border);border-radius:14px;padding:18px}
.hrf-home-project:hover{border-color:var(--hrf-blue-2)}
.hrf-home-project h3{font-size:13.5px;margin:0 0 5px}
.hrf-home-project p{font-size:10.5px;color:var(--hrf-muted);margin:0 0 10px}
.hrf-project-meta{display:flex;gap:6px;flex-wrap:wrap}
.hrf-project-meta span{font-size:9px;border:1px solid var(--hrf-border);background:var(--hrf-bg);border-radius:20px;padding:3px 8px}
.hrf-project-budget{min-width:118px;text-align:left;color:var(--hrf-blue);font-weight:900;font-size:12px}

/* Testimonials */
.hrf-testimonial-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.hrf-testimonial-group>h3{text-align:center;font-size:15px;margin:0 0 12px}
.hrf-testimonial-list{display:grid;gap:12px}
.hrf-home-testimonial{background:#fff;border:1px solid var(--hrf-border);border-radius:14px;padding:18px}
.hrf-home-testimonial .stars{color:var(--hrf-yellow);letter-spacing:1px;font-size:11px}
.hrf-home-testimonial blockquote{margin:9px 0 13px;color:#597589;font-size:11px;line-height:1.9}
.hrf-home-testimonial strong{font-size:11px}
.hrf-home-testimonial small{display:block;color:var(--hrf-muted);font-size:9.5px;margin-top:2px}
.hrf-real-badge{font-size:8px;background:#e8f6ee;color:#27784d;border-radius:16px;padding:3px 7px}

/* How */
.hrf-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.hrf-how-card{background:var(--hrf-bg);border:1px solid var(--hrf-border);border-radius:14px;padding:24px;text-align:center}
.hrf-how-num{width:45px;height:45px;border-radius:50%;background:linear-gradient(135deg,var(--hrf-blue-2),var(--hrf-blue));color:#fff;display:grid;place-items:center;margin:0 auto 12px;font-weight:900}
.hrf-how-card h3{font-size:13.5px;margin:0 0 6px}
.hrf-how-card p{font-size:10.5px;color:var(--hrf-muted);margin:0}

/* CTA */
.hrf-cta{background:linear-gradient(110deg,var(--hrf-blue-2),var(--hrf-blue));border-radius:18px;padding:45px 25px;text-align:center;color:#fff}
.hrf-cta h2{color:#fff;margin-bottom:7px}
.hrf-cta p{color:rgba(255,255,255,.78);font-size:12px;margin:0 0 18px}
.hrf-cta-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.hrf-white-btn,.hrf-ghost-btn{padding:10px 21px;border-radius:9px;font-size:11.5px;font-weight:800}
.hrf-white-btn{background:#fff;color:var(--hrf-blue)}
.hrf-ghost-btn{border:1px solid rgba(255,255,255,.5);color:#fff}

/* Generic pages */
.hrf-page-hero{background:linear-gradient(110deg,var(--hrf-blue-2),var(--hrf-blue));padding:42px 0;color:#fff}
.hrf-page-hero h1{font-size:32px;margin:0 0 5px;color:#fff}
.hrf-page-hero p{margin:0;color:rgba(255,255,255,.76);font-size:12px}
.hrf-page-content{padding:38px 0 60px}
.hrf-entry{max-width:950px;margin:0 auto}
.hrf-entry>*:first-child{margin-top:0}
.hrf-entry p,.hrf-entry li{font-size:12.5px;color:#4e6d82;line-height:2}
.hrf-entry h2{color:var(--hrf-blue);font-size:21px;margin-top:30px}
.hrf-entry h3{color:#264b65;font-size:16px}
.hrf-entry img{border-radius:12px}

/* Specialty workspace */
.hrf-specialty-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.hrf-workspace-tabs{display:flex;border-bottom:1px solid var(--hrf-border);margin-bottom:17px}
.hrf-workspace-tabs a{flex:1;text-align:center;padding:13px;border-bottom:3px solid transparent;font-size:12px;color:var(--hrf-muted)}
.hrf-workspace-tabs a.active{border-bottom-color:var(--hrf-yellow);color:var(--hrf-blue);font-weight:800}
.hrf-filter-panel{background:var(--hrf-bg);border:1px solid var(--hrf-border);border-radius:13px;padding:14px;margin-bottom:17px}
.hrf-filter-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:8px}
.hrf-filter-grid input,.hrf-filter-grid select{height:40px;border:1px solid var(--hrf-border);border-radius:8px;padding:0 10px;background:#fff}
.hrf-filter-grid button{border:0;background:var(--hrf-blue);color:#fff;border-radius:8px;font-weight:700}

/* Footer */
.site-footer{background:var(--hrf-blue);color:#fff;padding:50px 0 20px}
.hrf-footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:42px}
.hrf-footer-brand h3{font-size:20px;margin:0 0 9px}
.hrf-footer-brand p{font-size:10.5px;color:rgba(255,255,255,.52);line-height:1.8}
.hrf-footer-socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.hrf-footer-socials a{font-size:10px;color:rgba(255,255,255,.63)}
.hrf-footer-col h4{font-size:12px;margin:0 0 12px}
.hrf-footer-col a{display:block;color:rgba(255,255,255,.55);font-size:10.5px;margin:8px 0}
.hrf-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:17px;text-align:center;font-size:10px;color:rgba(255,255,255,.4)}

/* Plugin UI overrides */
body .hrf-wrap{max-width:1140px!important;margin:35px auto!important;padding:0 20px!important;color:#29485f}
body .hrf-panel{border-color:var(--hrf-border)!important;border-radius:14px!important;box-shadow:none!important}
body .hrf-btn{background:var(--hrf-blue)!important;border-radius:9px!important}
body .hrf-btn.secondary{background:#fff!important;color:var(--hrf-blue)!important;border:1px solid var(--hrf-blue)!important}
body .hrf-profile-card,body .hrf-project-card,body .hrf-testimonial,body .hrf-plan{border-color:var(--hrf-border)!important;border-radius:14px!important}
body .hrf-hero-small{background:linear-gradient(110deg,var(--hrf-blue-2),var(--hrf-blue))!important;border-radius:16px!important}
body .hrf-admin-cards .hrf-card{background:var(--hrf-bg)!important;border-color:var(--hrf-border)!important}
body .hrf-profile-card:hover,body .hrf-project-card:hover{border-color:var(--hrf-blue-2)!important}
body .hrf-narrow{max-width:690px!important}
body .hrf-form-grid input,body .hrf-form-grid select,body .hrf-form-grid textarea,
body .hrf-panel input,body .hrf-panel select,body .hrf-panel textarea{border-color:var(--hrf-border)!important;background:#fbfdff!important}

/* WordPress */
.wp-block-button__link{background:var(--hrf-blue)}
.pagination,.nav-links{display:flex;justify-content:center;gap:8px;margin:28px 0}
.page-numbers{padding:7px 11px;border:1px solid var(--hrf-border);border-radius:7px}
.page-numbers.current{background:var(--hrf-blue);color:#fff}

@media(max-width:1000px){
  .site-nav{display:none}
  .mobile-toggle{display:block;margin-right:auto}
  .site-nav.open{display:flex;position:absolute;top:64px;right:0;left:0;background:var(--hrf-blue);padding:16px 22px;flex-direction:column;align-items:flex-start}
  .hrf-specialty-grid{grid-template-columns:repeat(2,1fr)}
  .hrf-pro-grid{grid-template-columns:1fr 1fr}
  .hrf-footer-grid{grid-template-columns:1fr 1fr}
  .hrf-filter-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  body.admin-bar .site-header{top:46px}
  .site-actions{display:none}
  .hrf-container{width:min(100% - 28px,1140px)}
  .hrf-home-hero{padding-top:40px}
  .hrf-stats{flex-direction:column}
  .hrf-stat{padding:15px}
  .hrf-stat:not(:last-child):after{display:none}
  .hrf-specialty-grid,.hrf-pro-grid,.hrf-project-grid,.hrf-testimonial-columns,.hrf-how-grid,.hrf-footer-grid{grid-template-columns:1fr}
  .hrf-home-project{flex-direction:column}
  .hrf-project-budget{text-align:right}
  .hrf-section-head{align-items:flex-start;flex-direction:column}
  .hrf-filter-grid{grid-template-columns:1fr}
  .hrf-specialty-workspace-head{flex-direction:column}
}


/* ===== v1.0.1 Contrast Fixes for Platform Pages ===== */

/* Blue hero blocks produced by the HRFreelancer platform plugin */
body .hrf-hero-small{
  background:linear-gradient(110deg,#4484BA,#004680)!important;
  border-radius:16px!important;
  color:#fff!important;
}

body .hrf-hero-small h1,
body .hrf-hero-small h2,
body .hrf-hero-small h3,
body .hrf-hero-small h4,
body .hrf-hero-small strong{
  color:#fff!important;
  opacity:1!important;
}

body .hrf-hero-small p,
body .hrf-hero-small span,
body .hrf-hero-small small,
body .hrf-hero-small li{
  color:rgba(255,255,255,.84)!important;
  opacity:1!important;
}

body .hrf-hero-small a{
  color:#FFC000!important;
  font-weight:800!important;
  opacity:1!important;
}

body .hrf-hero-small a:hover{
  color:#fff!important;
}

/* Keep text readable in any dark/blue platform banner */
body .hrf-panel[style*="background:#004680"],
body .hrf-panel[style*="background: #004680"],
body .hrf-panel[style*="background:#005"],
body .hrf-panel[style*="linear-gradient"]{
  color:#fff!important;
}

body .hrf-panel[style*="linear-gradient"] h1,
body .hrf-panel[style*="linear-gradient"] h2,
body .hrf-panel[style*="linear-gradient"] h3{
  color:#fff!important;
}

/* Submit-project form labels and helper text */
body .hrf-form-grid label,
body .hrf-panel label{
  color:#18384F!important;
  font-weight:700!important;
}

body .hrf-form-grid small,
body .hrf-panel .description,
body .hrf-panel .hrf-muted{
  color:#6F8A9E!important;
}

/* Inputs: better text/placeholder contrast */
body .hrf-form-grid input,
body .hrf-form-grid select,
body .hrf-form-grid textarea,
body .hrf-panel input,
body .hrf-panel select,
body .hrf-panel textarea{
  color:#18384F!important;
  background:#FBFDFF!important;
}

body .hrf-form-grid input::placeholder,
body .hrf-form-grid textarea::placeholder,
body .hrf-panel input::placeholder,
body .hrf-panel textarea::placeholder{
  color:#829BAC!important;
  opacity:1!important;
}

/* Readable notice/info boxes */
body .hrf-notice,
body .hrf-info{
  color:#29485F!important;
}


/* ===== v1.0.2 Homepage Testimonials Polish ===== */
.hrf-testimonial-columns{
  align-items:start;
  gap:24px;
}

.hrf-testimonial-group{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbfe 100%);
  border:1px solid var(--hrf-border);
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 28px rgba(0,70,128,.05);
  position:relative;
  overflow:hidden;
}

.hrf-testimonial-group:before{
  content:"";
  position:absolute;
  top:0; right:0; left:0;
  height:5px;
  background:linear-gradient(90deg,var(--hrf-blue),var(--hrf-blue-2),var(--hrf-yellow));
}

.hrf-testimonial-group>h3{
  text-align:right;
  font-size:19px;
  margin:0 0 16px;
  color:var(--hrf-blue);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:10px;
  border-bottom:1px solid #e8f0f6;
}

.hrf-testimonial-group>h3:before{
  content:"";
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(68,132,186,.18),rgba(0,70,128,.10));
  border:1px solid rgba(0,70,128,.08);
  flex:0 0 44px;
}

.hrf-testimonial-group:first-child>h3:before{
  content:"🏢";
  display:grid;
  place-items:center;
  font-size:20px;
}

.hrf-testimonial-group:last-child>h3:before{
  content:"👩‍💼";
  display:grid;
  place-items:center;
  font-size:20px;
}

.hrf-testimonial-list{
  gap:14px;
}

.hrf-home-testimonial{
  position:relative;
  background:#fff;
  border:1px solid #e3edf5;
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:0 6px 18px rgba(12,54,86,.04);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.hrf-home-testimonial:hover{
  transform:translateY(-2px);
  border-color:#c5dceb;
  box-shadow:0 10px 22px rgba(12,54,86,.08);
}

.hrf-home-testimonial:before{
  content:"“";
  position:absolute;
  top:12px;
  left:16px;
  font-size:52px;
  line-height:1;
  color:rgba(68,132,186,.15);
  font-family:Georgia,serif;
}

.hrf-home-testimonial .stars{
  display:inline-flex;
  align-items:center;
  gap:3px;
  background:#fff6d8;
  color:#b88400;
  border:1px solid #ffe089;
  border-radius:999px;
  padding:4px 10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.2px;
}

.hrf-home-testimonial blockquote{
  margin:14px 0 15px;
  color:#4d6980;
  font-size:12.5px;
  line-height:2;
  min-height:72px;
  position:relative;
  z-index:1;
}

.hrf-home-testimonial strong{
  display:block;
  color:#18384f;
  font-size:12px;
  margin-bottom:4px;
}

.hrf-home-testimonial small{
  display:block;
  color:#7893a8;
  font-size:10px;
  line-height:1.8;
}

.hrf-real-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:9px;
  font-weight:700;
  background:#ecf9f0;
  color:#21754c;
  border:1px solid #cbead7;
  border-radius:999px;
  padding:4px 8px;
  margin-top:6px;
}

.hrf-real-badge:before{
  content:"✓";
  font-weight:900;
}

.hrf-testimonial-group .hrf-section-sub{
  background:#f7fafc;
  border:1px dashed #d7e4ef;
  border-radius:14px;
  padding:18px;
  text-align:center;
  margin:0;
}

@media(max-width:700px){
  .hrf-testimonial-group{padding:18px}
  .hrf-testimonial-group>h3{font-size:16px}
  .hrf-home-testimonial blockquote{min-height:auto;font-size:12px}
}


/* ===== v1.0.3 Role-Aware Header ===== */
.hrf-header-inner{position:relative}
.site-nav{margin-right:auto;gap:20px}
.site-nav a{position:relative;font-weight:600;white-space:nowrap}
.site-nav a:after{content:"";position:absolute;right:0;left:0;bottom:-8px;height:2px;background:#ffc000;transform:scaleX(0);transition:.18s;border-radius:2px}
.site-nav a:hover:after{transform:scaleX(1)}
.site-actions{margin-right:auto;gap:8px;position:relative}
.hrf-header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 17px;background:#ffc000;color:#15384f;border-radius:10px;font-size:11.5px;font-weight:900;box-shadow:0 5px 14px rgba(255,192,0,.18);white-space:nowrap}
.hrf-header-cta:hover{background:#ffd04a;transform:translateY(-1px)}
.hrf-login-link{color:#fff;font-size:11.5px;font-weight:700;padding:8px 6px;opacity:.85}
.hrf-login-link:hover{opacity:1}
.hrf-upgrade-link{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border-radius:9px;background:#fff5d6;color:#7e5a00;border:1px solid rgba(255,192,0,.5);font-size:10.5px;font-weight:800;white-space:nowrap}
.hrf-profile-shortcut,.hrf-admin-header-link{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border-radius:9px;border:1px solid rgba(255,255,255,.35);color:#fff;font-size:10.5px;font-weight:700;white-space:nowrap}
.hrf-notification-button{position:relative;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);color:#fff;flex:0 0 38px}
.hrf-notification-button:hover{background:rgba(255,255,255,.17)}
.hrf-bell{font-size:15px;line-height:1}
.hrf-notification-count{position:absolute;top:-5px;left:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;display:grid;place-items:center;background:#e5484d;color:#fff;border:2px solid #004680;font-size:8px;font-weight:900}
.hrf-user-menu{position:relative}
.hrf-user-menu-toggle{height:40px;border:1px solid rgba(255,255,255,.27);background:rgba(255,255,255,.08);border-radius:22px;color:#fff;padding:3px 5px 3px 10px;display:flex;align-items:center;gap:7px;cursor:pointer}
.hrf-user-menu-toggle:hover{background:rgba(255,255,255,.14)}
.hrf-user-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#004680;font-size:12px;font-weight:900}
.hrf-user-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:700}
.hrf-user-chevron{font-size:14px;opacity:.75;transition:.18s}
.hrf-user-menu.open .hrf-user-chevron{transform:rotate(180deg)}
.hrf-user-dropdown{display:none;position:absolute;top:49px;left:0;width:220px;background:#fff;border:1px solid #d8e8f4;border-radius:14px;box-shadow:0 14px 38px rgba(0,45,80,.18);padding:8px;z-index:1100;color:#28495f}
.hrf-user-menu.open .hrf-user-dropdown{display:block}
.hrf-user-dropdown-head{padding:10px 10px 9px;border-bottom:1px solid #edf3f7;margin-bottom:5px}
.hrf-user-dropdown-head strong{display:block;font-size:11px;color:#18384f}
.hrf-user-dropdown-head small{display:block;font-size:8.5px;color:#86a0b2;direction:ltr;text-align:right;margin-top:2px;overflow:hidden;text-overflow:ellipsis}
.hrf-user-dropdown>a{display:flex;align-items:center;min-height:35px;padding:0 10px;border-radius:8px;font-size:10.5px;color:#42647b}
.hrf-user-dropdown>a:hover{background:#f3f8fc;color:#004680}
.hrf-user-dropdown-separator{height:1px;background:#edf3f7;margin:5px 3px}
.hrf-user-dropdown .hrf-logout-link{color:#a93e43}

@media(max-width:1180px){
  .site-nav{gap:13px}
  .site-nav a{font-size:11.5px}
  .hrf-user-name{display:none}
  .hrf-profile-shortcut{display:none}
}
@media(max-width:1000px){
  .site-actions{margin-right:0}
  .site-nav.open{z-index:1005;box-shadow:0 12px 24px rgba(0,45,80,.18)}
  .site-nav.open a{width:100%;padding:8px 0}
  .site-nav.open a:after{display:none}
}
@media(max-width:700px){
  .hrf-header-cta{padding:0 10px;font-size:10px;min-height:34px}
  .site-btn-outline,.hrf-upgrade-link,.hrf-admin-header-link{display:none}
  .hrf-notification-button{width:34px;height:34px;flex-basis:34px}
  .hrf-user-menu-toggle{height:36px;padding:2px;border-radius:50%}
  .hrf-user-avatar{width:30px;height:30px}
  .hrf-user-chevron{display:none}
  .hrf-user-dropdown{left:0;top:43px;width:210px}
}


/* ===== v1.0.4 Minimal Header ===== */
.hrf-minimal-header{
  height:72px;
}

.hrf-minimal-header .hrf-header-inner{
  height:72px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:34px;
}

.hrf-minimal-header .site-brand{
  font-size:22px;
}

.hrf-minimal-nav{
  margin:0!important;
  justify-self:center;
  gap:28px!important;
}

.hrf-minimal-nav a{
  font-size:12px!important;
  font-weight:700!important;
  color:rgba(255,255,255,.84)!important;
}

.hrf-minimal-nav a:hover{
  color:#fff!important;
}

.hrf-minimal-actions{
  margin:0!important;
  justify-self:end;
  gap:10px!important;
}

.hrf-minimal-login{
  color:#fff;
  font-size:11px;
  font-weight:700;
  opacity:.82;
  padding:8px 6px;
}

.hrf-minimal-login:hover{
  opacity:1;
}

.hrf-minimal-header .hrf-header-cta{
  min-height:36px;
  padding:0 15px;
  border-radius:9px;
  font-size:10.5px;
  box-shadow:none;
}

.hrf-minimal-header .hrf-notification-button{
  width:36px;
  height:36px;
  flex-basis:36px;
}

.hrf-avatar-only-toggle{
  width:42px!important;
  height:42px!important;
  padding:4px!important;
  border-radius:50%!important;
  justify-content:center!important;
  background:rgba(255,255,255,.08)!important;
}

.hrf-avatar-only-toggle .hrf-user-avatar{
  width:32px;
  height:32px;
}

.hrf-avatar-only-toggle .hrf-user-chevron{
  display:none!important;
}

.hrf-minimal-header .hrf-user-dropdown{
  top:50px;
}

.hrf-dropdown-highlight{
  color:#846000!important;
  background:#fff7d9!important;
  font-weight:800!important;
}

.hrf-dropdown-highlight:hover{
  background:#fff1b9!important;
  color:#6f5000!important;
}

/* Secondary informational destinations now live in footer/user menu */
.hrf-minimal-header .site-btn-outline,
.hrf-minimal-header .hrf-upgrade-link,
.hrf-minimal-header .hrf-profile-shortcut,
.hrf-minimal-header .hrf-admin-header-link,
.hrf-minimal-header .hrf-user-name{
  display:none!important;
}

@media(max-width:1000px){
  .hrf-minimal-header .hrf-header-inner{
    display:flex;
    gap:12px;
  }

  .hrf-minimal-header .site-brand{
    order:1;
  }

  .hrf-minimal-header .mobile-toggle{
    order:2;
    margin-right:auto;
  }

  .hrf-minimal-header .site-actions{
    order:3;
  }

  .hrf-minimal-header .site-nav{
    position:absolute;
    top:72px;
    right:0;
    left:0;
    margin:0!important;
  }
}

@media(max-width:700px){
  .hrf-minimal-header,
  .hrf-minimal-header .hrf-header-inner{
    height:62px;
  }

  .hrf-minimal-header .site-brand{
    font-size:18px;
  }

  .hrf-minimal-header .site-nav{
    top:62px;
  }

  .hrf-minimal-header .hrf-header-cta{
    min-height:32px;
    padding:0 10px;
    font-size:9.5px;
  }

  .hrf-minimal-header .hrf-notification-button{
    width:32px;
    height:32px;
    flex-basis:32px;
  }

  .hrf-avatar-only-toggle{
    width:34px!important;
    height:34px!important;
  }

  .hrf-avatar-only-toggle .hrf-user-avatar{
    width:27px;
    height:27px;
    font-size:10px;
  }
}


/* ===== v1.0.5 Header alignment + membership dropdown ===== */
.hrf-split-header .hrf-header-inner{
  display:flex;
  align-items:center;
  gap:20px;
}

.hrf-split-header .site-brand{
  margin-left:0;
  flex:0 0 auto;
}

.hrf-split-header .mobile-toggle{
  display:none;
}

.hrf-split-header .hrf-header-left{
  margin-right:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:20px;
  min-width:0;
}

.hrf-split-header .hrf-main-nav{
  margin:0!important;
  display:flex;
  align-items:center;
  gap:26px!important;
}

.hrf-split-header .hrf-main-nav > a,
.hrf-split-header .hrf-nav-dropdown-toggle{
  font-size:12px!important;
  font-weight:700!important;
  color:rgba(255,255,255,.86)!important;
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
  white-space:nowrap;
  line-height:1;
}

.hrf-split-header .hrf-main-nav > a:hover,
.hrf-split-header .hrf-nav-dropdown-toggle:hover{
  color:#fff!important;
}

.hrf-split-header .hrf-nav-dropdown{
  position:relative;
}

.hrf-split-header .hrf-nav-dropdown-toggle::after{
  content:'▾';
  display:inline-block;
  margin-right:6px;
  font-size:10px;
  opacity:.9;
}

.hrf-split-header .hrf-nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 14px);
  right:0;
  min-width:170px;
  background:#fff;
  color:#18324a;
  border-radius:14px;
  border:1px solid #d9e4ee;
  box-shadow:0 16px 36px rgba(14,44,76,.15);
  padding:8px;
  display:none;
  z-index:1002;
}

.hrf-split-header .hrf-nav-dropdown:hover .hrf-nav-dropdown-menu,
.hrf-split-header .hrf-nav-dropdown:focus-within .hrf-nav-dropdown-menu{
  display:block;
}

.hrf-split-header .hrf-nav-dropdown-menu a{
  display:block;
  color:#20496a!important;
  font-size:12px!important;
  font-weight:700!important;
  padding:10px 12px;
  border-radius:10px;
}

.hrf-split-header .hrf-nav-dropdown-menu a:hover{
  background:#f3f7fb;
  color:#0f4f8d!important;
}

.hrf-split-header .hrf-minimal-actions{
  margin:0!important;
  justify-self:auto;
  gap:10px!important;
  flex-shrink:0;
}

.hrf-split-header .hrf-header-cta{
  order:1;
}
.hrf-split-header .hrf-notification-button{
  order:2;
}
.hrf-split-header .hrf-user-menu{
  order:3;
}
.hrf-split-header .hrf-minimal-login{
  order:2;
}

@media(max-width:1000px){
  .hrf-split-header .mobile-toggle{
    display:inline-flex;
    order:2;
    margin-right:auto;
  }

  .hrf-split-header .hrf-header-left{
    margin-right:0;
    gap:10px;
  }

  .hrf-split-header .site-actions{
    order:3;
  }

  .hrf-split-header .site-nav{
    position:absolute;
    top:72px;
    right:0;
    left:0;
    margin:0!important;
    display:none;
    background:var(--hrf-blue);
    padding:14px 22px 18px;
    flex-direction:column;
    align-items:flex-start;
    gap:0!important;
    z-index:1001;
  }

  .hrf-split-header .site-nav.open{
    display:flex;
  }

  .hrf-split-header .site-nav > a,
  .hrf-split-header .hrf-nav-dropdown{
    width:100%;
  }

  .hrf-split-header .site-nav > a,
  .hrf-split-header .hrf-nav-dropdown-toggle{
    display:flex;
    width:100%;
    justify-content:space-between;
    padding:12px 0;
  }

  .hrf-split-header .hrf-nav-dropdown-menu{
    position:static;
    display:block;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:none;
    padding:6px;
    margin:0 0 8px;
  }

  .hrf-split-header .hrf-nav-dropdown-menu a{
    color:#fff!important;
    opacity:.86;
    padding:8px 10px;
  }

  .hrf-split-header .hrf-nav-dropdown-menu a:hover{
    background:rgba(255,255,255,.08);
    color:#fff!important;
  }
}

@media(max-width:700px){
  .hrf-split-header .site-nav{top:62px;}
  .hrf-split-header .hrf-main-nav > a,
  .hrf-split-header .hrf-nav-dropdown-toggle{font-size:11px!important;}
}


/* ===== v1.0.6 Full-width split header ===== */
.hrf-split-header .hrf-header-inner{
  width:100%!important;
  max-width:none!important;
  padding-right:28px!important;
  padding-left:28px!important;
  margin:0!important;
}

.hrf-split-header .site-brand{
  margin-right:0!important;
  margin-left:0!important;
}

.hrf-split-header .hrf-header-left{
  margin-right:auto!important;
  margin-left:0!important;
}

@media(max-width:1000px){
  .hrf-split-header .hrf-header-inner{
    padding-right:20px!important;
    padding-left:20px!important;
  }
}

@media(max-width:700px){
  .hrf-split-header .hrf-header-inner{
    padding-right:14px!important;
    padding-left:14px!important;
  }
}img.hrf-pro-avatar{object-fit:cover}

/* eNamad / trust seals */
.hrf-footer-trustseal{margin-top:14px;display:flex;align-items:center;justify-content:flex-start;min-height:90px}
.hrf-footer-trustseal a{display:inline-block;line-height:0}
.hrf-footer-trustseal img{display:block;max-width:90px;height:auto;background:#fff;border-radius:8px;padding:5px}
@media (max-width:700px){.hrf-footer-trustseal{justify-content:center}}
