/* Scoped front-end styling: suitable for WordPress page builders and responsive columns. */
.sqn-chain {
  --sqn-navy: #132440;
  --sqn-blue: #315c91;
  --sqn-border: #e1e8f0;
  --sqn-muted: #6d7a8d;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--sqn-navy);
  container-type: inline-size;
  width: 100%; max-width: 100%; margin-inline: auto;
  box-sizing: border-box;
}
.sqn-chain *, .sqn-chain *::before, .sqn-chain *::after { box-sizing: border-box; }
.sqn-chain-header { text-align: center; padding: 8px 12px 28px; }
.sqn-chain-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .19em; color: var(--sqn-blue); margin-bottom: 10px; }
.sqn-chain-title { margin: 0 !important; padding: 0 !important; font-family: inherit; color: var(--sqn-navy); font-size: clamp(22px, 3.8cqw, 34px); font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
.sqn-chain-header-rule { display: block; margin: 16px auto 0; width: 42px; height: 3px; border-radius: 4px; background: #b98a50; }
.sqn-chain-flow { position: relative; width: 100%; max-width: 100%; }
.sqn-chain-tiers { display: flex; flex-direction: column; gap: 38px; padding: 4px 2px 14px; }
.sqn-chain-tier { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; width: 100%; }
.sqn-chain-card {
  flex: 1 1 193px;
  min-width: min(193px, 100%); max-width: 240px;
  padding: 18px 14px 17px;
  margin: 0; position: relative;
  border: 1px solid var(--sqn-border); border-radius: 14px;
  background: #fff; text-align: center;
  box-shadow: 0 6px 24px rgba(25,49,79,.065), 0 1px 2px rgba(25,49,79,.035);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.sqn-chain-card::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 3px; background: #d7e0ec; }
.sqn-chain-tier:first-child .sqn-chain-card { background: var(--sqn-navy); color: white; border-color: var(--sqn-navy); box-shadow: 0 9px 25px rgba(14,32,56,.15); }
.sqn-chain-tier:first-child .sqn-chain-card::before { background: #c69b62; }
.sqn-chain-card:has(.sqn-chain-card-link):hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(25,49,79,.14); }
.sqn-chain-card-link, .sqn-chain-card-link:link, .sqn-chain-card-link:visited { display: flex; flex-direction: column; align-items: center; color: inherit !important; text-decoration: none !important; height: 100%; outline-offset: 3px; }
/* Larger portrait-format imagery is the focus of version 1.1. */
.sqn-chain-portrait { margin: 0 auto 15px; width: 126px; height: 140px; flex: 0 0 140px; border: 3px solid #f0f3f8; border-radius: 12px; background: #e7edf5; display: grid; place-items: center; overflow: hidden; }
.sqn-chain-tier:first-child .sqn-chain-portrait { border-color: rgba(255,255,255,.8); }
.sqn-chain-photo { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 26%; border-radius: 0 !important; margin: 0 !important; }
.sqn-chain-initials { color: #4f6681; font-weight: 800; font-size: 35px; letter-spacing: -.03em; }
.sqn-chain-card-copy { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.sqn-chain-rank { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #53739b; line-height: 1.35; }
.sqn-chain-tier:first-child .sqn-chain-rank { color: #cbd9eb; }
.sqn-chain-name { display: block; font-size: 15px; line-height: 1.35; font-weight: 800; color: inherit; overflow-wrap: anywhere; }
.sqn-chain-role { display: block; font-size: 11px; color: var(--sqn-muted); line-height: 1.45; margin-top: 5px; overflow-wrap: anywhere; }
.sqn-chain-tier:first-child .sqn-chain-role { color: #d9e3f0; }
.sqn-chain-notice { padding: 10px 16px; border-left: 3px solid #315c91; }
@container (max-width: 720px) {
  .sqn-chain-tiers { gap: 29px; }
  .sqn-chain-tier { gap: 12px; }
  .sqn-chain-card { flex-basis: 185px; min-width: 160px; max-width: 220px; padding: 15px 11px; }
  .sqn-chain-portrait { width: 116px; height: 130px; flex-basis: 130px; }
}
@container (max-width: 455px) {
  .sqn-chain-tiers { gap: 24px; padding: 0; }
  .sqn-chain-tier { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .sqn-chain-card { max-width: 100%; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 12px 14px; text-align: left; }
  .sqn-chain-card-link { flex-direction: row; align-items: center; width: 100%; gap: 16px; }
  .sqn-chain-portrait { margin: 0; width: 90px; height: 106px; flex: 0 0 90px; border-radius: 10px; }
  .sqn-chain-initials { font-size: 26px; }
  .sqn-chain-card-copy { flex: 1; align-items: flex-start; text-align: left; }
  .sqn-chain-name { font-size: 15px; }
  .sqn-chain-role { margin-top: 2px; }
}
@container (max-width: 275px) {
  .sqn-chain-card, .sqn-chain-card-link { gap: 9px; }
  .sqn-chain-portrait { width: 70px; height: 82px; flex-basis: 70px; }
  .sqn-chain-name { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .sqn-chain-card { transition: none; } }

/* Initials become visible when an unavailable photo is removed by the fallback script. */
.sqn-chain-initials[hidden] { display: none !important; }
