/* Shared page heroes, using the homepage Dr.Job brand palette. */
.dj-page-hero{
  --brand-50:#f0f7ff;--brand-100:#e0effe;--brand-200:#bae0fd;
  --brand-600:#0076c9;--brand-800:#065088;--brand-900:#0b4371;--brand-950:#072b4b;
  position:relative;isolation:isolate;overflow:hidden;color:#fff;
  background:linear-gradient(135deg,#072b4b 0%,#0b4371 50%,#065088 100%);
  margin:0 0 32px;-webkit-font-smoothing:antialiased;
}
.dj-page-hero[data-page="about-us"]{margin-bottom:0}
.dj-page-hero::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:-160px;left:calc(50% - 350px);width:700px;height:500px;
  background:radial-gradient(ellipse,rgba(12,148,235,.18),transparent 70%);
}
.dj-hero-inner{
  position:relative;max-width:1152px;margin:0 auto;padding:52px 32px 60px;
  box-sizing:border-box;text-align:center;display:block;
}
.dj-page-hero .dj-eyebrow{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:6px 14px;margin:0 0 20px;border-radius:999px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.08);
  color:#e0effe;font-size:12px;line-height:1.5;font-weight:500;letter-spacing:.025em;
}
.dj-eyebrow::before{
  content:"";width:6px;height:6px;border-radius:50%;background:#fde68a;
  box-shadow:0 0 0 4px rgba(253,230,138,.08);flex-shrink:0;
}
.dj-page-hero .dj-hero-title{
  color:#fff;font-family:inherit;font-size:clamp(30px,3.6vw,44px);
  font-weight:800;line-height:1.2;letter-spacing:-.02em;margin:0 auto;
  max-width:960px;text-align:center;
}
.dj-hero-highlight{
  background:linear-gradient(90deg,#bae0fd,#7dd3fc,#fde68a);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  white-space:nowrap;
}
.dj-page-hero .dj-hero-description{
  color:#cbd5e1;font-size:16px;font-weight:400;line-height:1.6;
  max-width:672px;margin:16px auto 0;text-align:center;
}
.dj-page-hero .dj-hero-tags{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;
  gap:10px 20px;margin:24px auto 0;
}
.dj-page-hero .dj-hero-tag{
  display:inline-flex;align-items:center;gap:7px;
  color:#e0effe;font-size:12px;font-weight:400;line-height:1.5;
}
.dj-hero-tag::before{content:"✓";color:#7dd3fc;font-size:13px;font-weight:700}
/* Keep the existing search controls, bringing the card into the hero's edge. */
.dj-page-hero:has(+ .filter-container-parent){margin-bottom:0}
.dj-page-hero:has(+ .filter-container-parent) .dj-hero-inner{padding-bottom:84px}
.dj-page-hero + .filter-container-parent{position:relative;margin-top:-36px;z-index:3}
.dj-page-hero + .filter-container-parent .find-jobs-container{
  margin-top:0;background:#fff;border:1px solid #e2e8f0;border-radius:16px;
  box-shadow:0 12px 30px -15px rgba(7,43,75,.28);
}
.dj-page-hero + .filter-container-parent .find-jobs button{
  background:#0076c9;color:#fff;border-radius:12px;white-space:nowrap;
}
.dj-page-hero + .filter-container-parent .find-jobs button:hover{background:#015ea5}
.dj-page-hero + .filter-container-parent .find-jobs button:focus-visible{outline:3px solid #7cc8fc;outline-offset:3px}
@media(max-width:760px){
  .dj-hero-inner{padding:36px 24px 40px}
  .dj-page-hero .dj-hero-title{font-size:30px;line-height:1.25}
  .dj-page-hero .dj-hero-description{font-size:15px;margin-top:14px}
  .dj-page-hero .dj-eyebrow{font-size:11px;margin-bottom:18px}
  .dj-page-hero .dj-hero-tags{gap:8px 14px;margin-top:22px}
  .dj-page-hero .dj-hero-tag{font-size:11px}
  .dj-page-hero:has(+ .filter-container-parent) .dj-hero-inner{padding-bottom:66px}
  .dj-page-hero + .filter-container-parent{margin-top:-26px}
}
@media(forced-colors:active){.dj-hero-highlight{background:none;-webkit-text-fill-color:CanvasText;color:CanvasText}}
/* AI tools share the homepage treatment and keep their original signup actions. */
.dj-page-hero.dj-tool-hero{margin:0}
.dj-tool-hero .dj-hero-inner{padding-top:52px;padding-bottom:56px}
.dj-hero-actions{display:flex;justify-content:center;margin:26px auto 0}
.dj-page-hero .dj-hero-cta{
 display:inline-flex;align-items:center;justify-content:center;gap:12px;
 padding:14px 24px;min-height:50px;box-sizing:border-box;
 background:#0076c9;color:#fff;border:1px solid rgba(255,255,255,.16);
 border-radius:12px;font-size:15px;font-weight:700;line-height:1.4;
 text-decoration:none;box-shadow:0 10px 20px -8px rgba(0,0,0,.3);
 transition:background .2s;
}
.dj-page-hero .dj-hero-cta:hover{background:#015ea5;color:#fff;text-decoration:none}
.dj-page-hero .dj-hero-cta:focus-visible{outline:3px solid #7cc8fc;outline-offset:4px}
@media(max-width:760px){
 .dj-tool-hero .dj-hero-inner{padding:36px 24px 40px}
 .dj-hero-actions{margin-top:24px}
 .dj-page-hero .dj-hero-cta{width:100%;max-width:360px;padding:14px 18px}
}
/* AI hub heroes retain their search forms, filters and Angular bindings. */
.dj-page-hero.dj-hub-hero{
 background:linear-gradient(135deg,#072b4b 0%,#0b4371 50%,#065088 100%)!important;
 margin:0;padding:52px 24px 56px!important;border:0;
}
.dj-hub-hero .ai-hub-hero-inner,.dj-hub-hero .community-hero-inner{
 width:100%;max-width:1056px;margin:0 auto;text-align:center;position:relative;
}
.dj-hub-hero .ai-hub-heading,.dj-hub-hero .community-title{
 color:#fff;font-size:clamp(30px,3.6vw,44px);font-weight:800;
 line-height:1.2;letter-spacing:-.02em;margin:0 auto 16px!important;
}
.dj-hub-hero .ai-hub-heading-gradient,.dj-hub-hero .community-title-gradient{
 background:linear-gradient(90deg,#bae0fd,#7dd3fc,#fde68a);
 -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
}
.dj-hub-hero .ai-hub-subheading,.dj-hub-hero .community-subtitle{
 color:#cbd5e1;font-size:16px;line-height:1.6;font-weight:400;
 max-width:672px;margin:0 auto 28px!important;
}
.dj-hub-hero .ai-hub-badge,.dj-hub-hero .community-badge{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 color:#e0effe;font-size:12px;font-weight:500;line-height:1.5;
 padding:6px 14px!important;margin-bottom:20px!important;border-radius:999px;
 background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
 box-shadow:inset 0 1px 2px rgba(255,255,255,.08);
}
.dj-hub-hero .ai-hub-badge-dot,.dj-hub-hero .community-badge-dot{
 background:#fde68a;width:6px;height:6px;box-shadow:0 0 0 4px rgba(253,230,138,.08);
}
.dj-hub-hero .ai-hub-search-row,.dj-hub-hero .community-search-row{max-width:800px;margin:0 auto}
.dj-hub-hero .ai-hub-search-form,.dj-hub-hero .community-search-form{
 display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.95);
 padding:12px;border:1px solid rgba(255,255,255,.4);border-radius:16px;
 box-shadow:0 20px 35px -18px rgba(0,0,0,.35);
}
.dj-hub-hero .ai-hub-search-wrap,.dj-hub-hero .community-search-wrap{flex:1;min-width:0}
.dj-hub-hero .ai-hub-search-input,.dj-hub-hero .community-search-input{
 background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0;border-radius:10px;min-height:50px;
}
.dj-hub-hero .ai-hub-search-icon,.dj-hub-hero .community-search-icon{color:#0076c9}
.dj-hub-hero .ai-hub-search-btn,.dj-hub-hero .community-search-btn{
 background:#0076c9;color:#fff;border:0;border-radius:10px;
 min-height:50px;padding:12px 28px;font-size:15px;font-weight:700;
}
.dj-hub-hero .ai-hub-search-btn:hover,.dj-hub-hero .community-search-btn:hover{background:#015ea5}
.dj-hub-hero .ai-hub-filter-row{justify-content:center;margin-top:20px}
.dj-hub-hero .ai-hub-btn-filter{
 background:rgba(255,255,255,.08);color:#e0effe;border-color:rgba(255,255,255,.25);
}
.dj-hub-hero .ai-hub-btn-filter:hover{background:rgba(255,255,255,.16);color:#fff}
.dj-hub-hero .ai-hub-btn-filter svg{color:inherit}
.dj-hub-hero button:focus-visible,.dj-hub-hero input:focus-visible{outline:3px solid #7cc8fc;outline-offset:3px}
@media(max-width:760px){
 .dj-page-hero.dj-hub-hero{padding:36px 24px 40px!important}
 .dj-hub-hero .ai-hub-heading,.dj-hub-hero .community-title{font-size:30px}
 .dj-hub-hero .ai-hub-subheading,.dj-hub-hero .community-subtitle{font-size:15px}
 .dj-hub-hero .ai-hub-search-form,.dj-hub-hero .community-search-form{flex-direction:column;gap:10px}
 .dj-hub-hero .ai-hub-search-wrap,.dj-hub-hero .community-search-wrap,
 .dj-hub-hero .ai-hub-search-btn,.dj-hub-hero .community-search-btn{width:100%}
 .dj-hub-hero .ai-hub-filter-row{gap:8px}
}
@media(max-width:760px){
 .dj-hub-hero .ai-hub-filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
 .dj-hub-hero .ai-hub-btn-filter{width:100%;min-width:0;justify-content:center}
}
/* Space between the gratuity hero and calculator content. */
.dj-page-hero.dj-tool-hero[data-page="gratuity-calculator"]{margin-bottom:32px}

/* Keep How It Works content flush with its hero. */
.dj-page-hero[data-page="how-it-works"]{margin-bottom:0}

/* PSDJ-2017 fix (ai-hub): the restyled hub hero must not break the filter dropdowns
   (white text / clipping / stacking) and needs spacing below it. */
.dj-page-hero.dj-hub-hero{overflow:visible;isolation:auto}
.dj-page-hero.dj-hub-hero[data-page="community"]{margin-bottom:32px}
.dj-page-hero.dj-hub-hero::before{display:none}
.dj-hub-hero .ai-hub-filter-row{position:relative;z-index:60}
.dj-hub-hero .dropdown{color:#1a1a1a;position:relative;z-index:60}
.dj-hub-hero .dropdown *{color:inherit}
