@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* =================================================================
   Amigo Role Page — dedicated job-posting template [amigo_role_page]
   Scoped to .amigo-rp so it never leaks into headers/footers/menus
   and is independent of the WP page id. Premium Swiss-minimalist,
   Amigo brand. Pairs with the #amigoCareers form (own stylesheet).
   ================================================================= */
.amigo-rp{
  --t:#447E98; --a:#36DCFB; --h:#147a98; --body:#5d6770; --mut:#7a7a7a;
  --pale:#e2f7f7; --line:rgba(68,126,152,.12); --bg:#f6fbfc;
  max-width:1080px; margin:0 auto; padding:8px 0 24px;
  font-family:'Montserrat',sans-serif; color:var(--body); line-height:1.6;
}
.amigo-rp *{box-sizing:border-box}
.amigo-rp .rp-back{display:inline-flex;align-items:center;gap:7px;color:var(--t);font-weight:600;font-size:14px;text-decoration:none;margin-bottom:22px}
.amigo-rp .rp-back:hover{color:var(--h)}

/* HERO */
.amigo-rp .rp-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#3d7690 0%,#43869e 45%,#2fb6d6 130%);border-radius:28px;padding:44px 46px;color:#fff;display:grid;grid-template-columns:1.35fr .95fr;gap:40px;box-shadow:0 26px 60px rgba(56,110,135,.30)}
.amigo-rp .rp-hero::after{content:"";position:absolute;right:-140px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle at center,rgba(255,255,255,.14),rgba(255,255,255,0) 66%);pointer-events:none}
.amigo-rp .rp-hero-l{position:relative;z-index:1;min-width:0}
.amigo-rp .rp-pill{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#eafaff;font-weight:600;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;padding:6px 14px;border-radius:999px;margin-bottom:18px}
.amigo-rp .rp-pill .dot{width:7px;height:7px;border-radius:50%;background:#7bf5c9;box-shadow:0 0 0 3px rgba(123,245,201,.28)}
.amigo-rp .rp-title{font-family:'Baloo 2',Arial,sans-serif;font-weight:700;font-size:clamp(34px,5vw,50px);line-height:1.05;margin:0 0 16px;color:#fff}
.amigo-rp .rp-lede{font-size:17px;line-height:1.6;color:#eefbff;margin:0 0 26px;max-width:520px}
.amigo-rp .rp-hbtns{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.amigo-rp .rp-apply-btn{display:inline-flex;align-items:center;gap:9px;background:var(--a);color:#06323d;font-weight:700;font-size:16px;border-radius:25px;padding:15px 30px;text-decoration:none;transition:transform .2s,box-shadow .2s;box-shadow:0 10px 26px rgba(54,220,251,.36)}
.amigo-rp .rp-apply-btn:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(54,220,251,.46)}
.amigo-rp .rp-hlink{color:#eafaff;font-weight:600;font-size:14.5px;text-decoration:underline;text-underline-offset:3px}
.amigo-rp .rp-facts{position:relative;z-index:1;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);border-radius:20px;padding:8px 22px}
.amigo-rp .rp-fact{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.16)}
.amigo-rp .rp-fact:last-child{border-bottom:none}
.amigo-rp .rp-fic{flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;color:#fff}
.amigo-rp .rp-fic svg{width:20px;height:20px}
.amigo-rp .rp-fact>div{display:flex;flex-direction:column;min-width:0}
.amigo-rp .rp-flabel{font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:#cdeef7;font-weight:600}
.amigo-rp .rp-fval{font-size:15px;color:#fff;font-weight:600}

/* TRUST STRIP */
.amigo-rp .rp-trust{display:flex;flex-wrap:wrap;gap:8px 26px;justify-content:center;margin:22px 0 4px;color:var(--mut);font-size:13.5px;font-weight:500}
.amigo-rp .rp-trust span{display:inline-flex;align-items:center;gap:7px}
.amigo-rp .rp-trust svg{width:15px;height:15px;color:var(--t)}

/* SECTIONS */
.amigo-rp .rp-sec{margin:60px 0 0}
.amigo-rp .rp-eyebrow{display:block;color:var(--a);font-weight:700;font-size:13px;letter-spacing:.09em;text-transform:uppercase;margin-bottom:8px}
.amigo-rp .rp-sec h2{font-family:'Baloo 2',Arial,sans-serif;font-weight:700;color:var(--t);font-size:clamp(26px,3.4vw,34px);line-height:1.15;margin:0 0 22px}
.amigo-rp .rp-textlead{font-size:17px;line-height:1.65;max-width:720px;margin:0 0 6px}

/* CARD GRIDS */
.amigo-rp .rp-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.amigo-rp .rp-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.amigo-rp .rp-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px 24px 22px;transition:transform .2s,box-shadow .2s,border-color .2s}
.amigo-rp .rp-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(68,126,152,.13);border-color:rgba(54,220,251,.5)}
.amigo-rp .rp-card .rp-ic{display:inline-flex;width:46px;height:46px;border-radius:13px;background:var(--pale);color:var(--t);align-items:center;justify-content:center;margin-bottom:16px}
.amigo-rp .rp-card .rp-ic svg{width:23px;height:23px}
.amigo-rp .rp-card h3{font-family:'Baloo 2',Arial,sans-serif;font-weight:700;color:#3a6e85;font-size:18px;margin:0 0 7px;line-height:1.25}
.amigo-rp .rp-card p{font-size:14.5px;line-height:1.55;margin:0}
.amigo-rp .rp-card--why .rp-ic{background:#eafaf0;color:#2fa27a}

/* REQUIREMENTS */
.amigo-rp .rp-reqs{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.amigo-rp .rp-reqcard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 26px 22px}
.amigo-rp .rp-reqcard.ess{border-left:4px solid var(--a)}
.amigo-rp .rp-reqcard h3{font-family:'Baloo 2',Arial,sans-serif;font-weight:600;color:var(--mut);font-size:14px;text-transform:uppercase;letter-spacing:.05em;margin:0 0 16px}
.amigo-rp .rp-reqcard ul{list-style:none;margin:0;padding:0}
.amigo-rp .rp-reqcard li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.5;margin:0 0 13px}
.amigo-rp .rp-reqcard li:last-child{margin-bottom:0}
.amigo-rp .rp-ck{flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--a);color:#06323d;display:flex;align-items:center;justify-content:center;margin-top:1px}
.amigo-rp .rp-ck svg{width:12px;height:12px;stroke-width:3.2}
.amigo-rp .rp-ck--soft{background:var(--pale);color:var(--t)}

/* APPLY */
.amigo-rp .rp-applywrap{margin:64px 0 0;background:#fff;border:1px solid var(--line);border-radius:24px;padding:38px 34px;box-shadow:0 18px 44px rgba(68,126,152,.10)}
.amigo-rp .rp-applywrap .rp-eyebrow{text-align:left}
.amigo-rp .rp-applywrap h2{margin-bottom:8px}
.amigo-rp .rp-applywrap .rp-textlead{margin-bottom:24px}

@media(max-width:900px){
  .amigo-rp .rp-hero{grid-template-columns:1fr;padding:34px 26px;gap:26px}
  .amigo-rp .rp-reqs{grid-template-columns:1fr}
}
@media(max-width:760px){
  .amigo-rp{padding:4px 0 20px}
  .amigo-rp .rp-grid,.amigo-rp .rp-grid3{grid-template-columns:1fr}
  .amigo-rp .rp-applywrap{padding:28px 20px}
}

/* Hide the theme's default (unstyled) page title on role pages — the shortcode
   renders its own hero title. Body class set by amigo-role-page.php. Broad
   selectors to cover Hello Elementor / default page templates. */
body.amigo-role-page .entry-title,
body.amigo-role-page .page-title,
body.amigo-role-page h1.entry-title,
body.amigo-role-page .wp-block-post-title,
body.amigo-role-page .elementor-page-title,
body.amigo-role-page .entry-header{display:none !important}
