/* Blog: What Is Privileged Access Management (pam-) */
.pam-steps { list-style: none; padding: 0 !important; margin: 22px 0 0 !important; display: grid; gap: 12px; position: relative; counter-reset: none; }
.pam-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: rgba(148,212,244,.18); }
.pam-steps::after { content: ""; position: absolute; left: 21px; top: 22px; width: 2px; height: 0; background: linear-gradient(180deg, var(--accent), #fff); transition: height 3.2s cubic-bezier(.45,0,.2,1); }
.pam-path.in .pam-steps::after { height: calc(100% - 44px); }
.pam-path.pam-on .pam-steps::after { height: 0; transition-duration: .6s; }
.pam-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 12px 14px 12px 0 !important; margin: 0 !important; border-radius: 12px; opacity: .35; transition: opacity .5s, background .5s; }
.pam-steps li::before { display: none !important; }
.pam-steps li.lit { opacity: 1; background: rgba(148,212,244,.06); }
.pam-ico { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--navy); background: rgba(203,232,230,.35); position: relative; z-index: 1; transition: background .4s, box-shadow .4s, color .4s; }
.pam-steps li.lit .pam-ico { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 0 18px rgba(148,212,244,.6); }
.pam-steps li:last-child.lit .pam-ico { background: var(--accent); }
.pam-steps b { color: #fff; font-size: 16px; }
.pam-steps small { display: block; color: var(--teal-pale); font-size: 13.5px; line-height: 1.45; }
.pam-steps em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s, opacity .5s, margin .5s; }
.pam-path.pam-on .pam-steps li { opacity: 1; background: rgba(148,212,244,.06); }
.pam-path.pam-on .pam-steps em { max-height: 60px; opacity: 1; margin-top: 4px; }
.pam-path.pam-on .pam-ico { background: var(--blue); color: #fff; box-shadow: none; }
.pam-path.pam-on .pam-ico::after { content: ""; position: absolute; inset: 12px 15px 14px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg) scale(.7); }
.pam-path.pam-on .pam-ico { font-size: 0; }
.pam-path [data-pam-toggle][aria-pressed="true"] { background: var(--accent); color: var(--navy); }

.prose .pam-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 2em 0; }
.pam-pillar { border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; background: #fff; box-shadow: 0 10px 30px rgba(0,21,52,.05); opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pam-pillars.in .pam-pillar { opacity: 1; transform: none; }
.pam-pillars.in .pam-pillar:nth-child(2) { transition-delay: .15s; } .pam-pillars.in .pam-pillar:nth-child(3) { transition-delay: .3s; }
.pam-pillar svg { width: 46px; height: 46px; padding: 9px; border-radius: 12px; background: var(--navy); fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pam-pillar h5 { margin: 14px 0 6px; font-size: 17px; color: var(--ink); }
.pam-pillar p { font-size: 14.5px !important; line-height: 1.6 !important; margin: 0 !important; color: var(--muted); }

.pam-jit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: center; margin-top: 18px; }
.pam-jit-steps { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 10px; }
.pam-jit-steps li { margin: 0 !important; padding: 10px 14px !important; border: 1px solid rgba(148,212,244,.2); border-radius: 12px; background: rgba(7,28,66,.6); transition: border-color .4s, background .4s, opacity .4s; opacity: .55; }
.pam-jit-steps li::before { display: none !important; }
.pam-jit-steps li.on { opacity: 1; border-color: var(--accent); background: rgba(148,212,244,.1); }
.pam-jit-steps li.done { opacity: .85; }
.pam-jit-steps b { display: block; color: #fff; font-size: 15px; }
.pam-jit-steps small { display: block; color: var(--teal-pale); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.pam-clock { position: relative; width: 170px; height: 170px; margin: 0 auto; }
.pam-clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pam-clock circle { fill: none; stroke-width: 10; }
.pam-clock .bg { stroke: rgba(148,212,244,.14); }
.pam-clock .fg { stroke: var(--accent); stroke-linecap: round; }
.pam-clock > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.pam-clock b { font-size: 30px; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.pam-clock small { font-size: 11.5px; color: rgba(203,232,230,.85); max-width: 120px; line-height: 1.35; margin-top: 2px; }
.pam-jit.live .pam-clock b { color: var(--accent); }

.pam-rings { margin-top: 22px; }
.pam-ring { border-radius: 28px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1.5px solid rgba(148,212,244,.35); opacity: 0; transform: scale(.94); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pam-layers.in .pam-ring { opacity: 1; transform: none; }
.pam-ring > span { font-weight: 700; color: #fff; font-size: 15px; }
.pam-ring > small { display: block; font-size: 12.5px; color: var(--teal-pale); line-height: 1.45; max-width: 360px; margin: 4px 0 16px; }
.pam-ring.r1 { padding: 20px 22px 22px; border-style: dashed; background: rgba(148,212,244,.04); }
.pam-ring.r2 { width: 100%; max-width: 440px; padding: 18px 20px 20px; background: rgba(0,84,133,.3); border-radius: 22px; transition-delay: .35s; }
.pam-ring.r3 { width: 100%; max-width: 260px; padding: 16px 16px 14px; background: var(--accent); border-color: #fff; border-radius: 18px; transition-delay: .7s; box-shadow: 0 0 30px rgba(148,212,244,.45); }
.pam-ring.r3 > span { color: var(--navy); font-size: 22px; }
.pam-ring.r3 > small { color: var(--navy); font-weight: 500; margin-bottom: 0; }

.pam-check .pam-list { margin-top: 4px; }
.pam-check .pam-list .nx-item span { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; align-items: baseline; }

.prose .pam-signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 2em 0; }
.pam-signs > div { border-left: 4px solid var(--blue); background: var(--light); border-radius: 0 12px 12px 0; padding: 14px 16px; opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pam-signs.in > div { opacity: 1; transform: none; }
.pam-signs.in > div:nth-child(2) { transition-delay: .08s; } .pam-signs.in > div:nth-child(3) { transition-delay: .16s; } .pam-signs.in > div:nth-child(4) { transition-delay: .24s; } .pam-signs.in > div:nth-child(5) { transition-delay: .32s; } .pam-signs.in > div:nth-child(6) { transition-delay: .4s; }
.pam-signs b { display: block; color: var(--ink); font-size: 15.5px; }
.pam-signs span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 3px; }

@media (max-width: 760px) {
  .prose .pam-pillars, .prose .pam-signs { grid-template-columns: 1fr; }
  .pam-jit-grid { grid-template-columns: 1fr; }
  .pam-ring.r1 { padding: 16px 12px; } .pam-ring.r2 { padding: 14px 12px; }
  .pam-check .pam-list .nx-item span { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pam-steps::after, .pam-pillar, .pam-ring, .pam-signs > div, .pam-steps li { transition: none !important; }
}
