/* Additions for the Django-hosted HRBP site: link to the WAMS platform login.
   Kept separate so style.css / premium.css stay identical to the developer package.
   Breakpoints follow style.css: the header menu collapses into the ☰ panel at 820px. */
.header nav a.nav-login{padding-left:18px;border-left:1px solid #ffffff2e}
.footer-contact>a.footer-login{font-size:13px;font-weight:600;margin-top:6px}
/* Horizontal menu is already tight here; the footer link stays available. */
@media(min-width:821px) and (max-width:1150px){
 .header nav a.nav-login{display:none}
}
@media(max-width:820px){
 .header nav a.nav-login{padding-left:0;border-left:0;border-top:1px solid #ffffff2e;padding-top:18px}
}

/* WAMS section: entry point to the WAMS platform for existing users.
   Uses the section's own language: square edges, hairline gold borders, Georgia italic
   accent, ↗ arrows. Gold corner ticks echo a measuring frame ("Ölçmədən qərara").
   Secondary to the gold sales CTA above it: outlined, never a solid fill at rest. */
.wams-portal{
 --gold:#d5ba8d;--tick:10px;
 position:relative;isolation:isolate;overflow:hidden;
 display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;
 width:100%;max-width:480px;margin-top:34px;padding:16px 16px 16px 16px;
 color:#ecede1;border:1px solid #bda27459;
 background:
  linear-gradient(var(--gold),var(--gold)) top left/var(--tick) 1px no-repeat,
  linear-gradient(var(--gold),var(--gold)) top left/1px var(--tick) no-repeat,
  linear-gradient(var(--gold),var(--gold)) bottom right/var(--tick) 1px no-repeat,
  linear-gradient(var(--gold),var(--gold)) bottom right/1px var(--tick) no-repeat,
  linear-gradient(135deg,#ffffff0b,#ffffff02 60%);
 transition:border-color .35s,background-size .45s cubic-bezier(.2,.7,.2,1),transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s;
}
/* Pointer-following glow (position set by app.js; centred fallback without JS). */
.wams-portal:before{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;
 background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%),#d5ba8d2e,transparent 65%);
 transition:opacity .35s;
}
/* One-pass sheen across the panel on hover. */
.wams-portal:after{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(105deg,transparent 35%,#ffffff14 50%,transparent 65%);
 transform:translateX(-110%);
}
.wams-portal__mark{
 display:grid;place-items:center;width:48px;height:48px;
 border:1px solid #bda27480;font-family:Georgia,serif;font-style:italic;font-size:25px;line-height:1;color:#d6bf98;
 transition:background .35s,color .35s,border-color .35s;
}
/* Placement: header row of the WAMS section, so it is visible on arrival. Wraps onto its
   own line under the intro paragraph, right-aligned with it (≤820px .wams-top is block). */
.wams-top{flex-wrap:wrap;row-gap:0}
.wams-top>.wams-portal{flex:0 0 100%;margin:34px 0 0 auto}
.wams-portal__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.wams-portal__eyebrow{font-size:8px;letter-spacing:1.8px;color:#bfa77e}
.wams-portal__title{font-size:15px;font-weight:600;letter-spacing:-.2px;line-height:1.35}
.wams-portal__meta{font-size:11px;color:#9db4af}
.wams-portal__arrow{
 position:relative;overflow:hidden;width:40px;height:40px;border-left:1px solid #ffffff1c;
 color:var(--gold);font-size:19px;
}
.wams-portal__arrow i{
 position:absolute;inset:0;display:grid;place-items:center;font-style:normal;
 transition:transform .45s cubic-bezier(.2,.7,.2,1);
}
.wams-portal__arrow i+i{transform:translate(-100%,100%)}

.wams-portal:hover,.wams-portal:focus-visible{
 --tick:18px;border-color:#d5ba8dcc;transform:translateY(-2px);
 box-shadow:0 22px 44px -22px #000000b3,inset 0 0 0 1px #d5ba8d1a;
}
.wams-portal:hover:before,.wams-portal:focus-visible:before{opacity:1}
.wams-portal:hover:after,.wams-portal:focus-visible:after{transform:translateX(110%);transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.wams-portal:hover .wams-portal__mark,.wams-portal:focus-visible .wams-portal__mark{background:var(--gold);border-color:var(--gold);color:#102c34}
.wams-portal:hover .wams-portal__arrow i:first-child,.wams-portal:focus-visible .wams-portal__arrow i:first-child{transform:translate(100%,-100%)}
.wams-portal:hover .wams-portal__arrow i+i,.wams-portal:focus-visible .wams-portal__arrow i+i{transform:translate(0,0)}
.wams-portal:active{transform:translateY(0) scale(.995)}
.wams-portal:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

@media(max-width:520px){
 .wams-portal{gap:14px;padding:13px;margin-top:28px}
 .wams-portal__mark{width:40px;height:40px;font-size:21px}
 .wams-portal__title{font-size:14px}
 .wams-portal__arrow{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){
 .wams-portal,.wams-portal:after,.wams-portal__arrow i{transition:none}
 .wams-portal:hover,.wams-portal:focus-visible{transform:none}
 .wams-portal:hover:after,.wams-portal:focus-visible:after{transform:translateX(-110%)}
}
