/* ================================================================
   EffiQ Theme — Team
   Leadership team grid, advisory grid, team card styles,
   avatar styles, and capability grid. Loaded on page-team.php.
================================================================ */

/* ── LEADERSHIP TEAM GRID ───────────────────────────────────────── */
.team-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .team-grid { grid-template-columns: 1fr; } }

.tm-card    { background: var(--wh); border: 1px solid var(--bd); border-radius: 16px; padding: 28px; transition: all .2s; }
.tm-card:hover { box-shadow: 0 12px 36px rgba(15,43,70,.08); transform: translateY(-2px); }
.tm-av      { width: 56px; height: 56px; border-radius: 14px; background: var(--grad-bl-pur); color: #fff; font-family: var(--fh); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; letter-spacing: -.02em; }
.tm-name    { font-family: var(--fh); font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.tm-role    { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--pur); margin-top: 4px; margin-bottom: 12px; }
.tm-bio     { font-size: 13px; line-height: 1.68; color: var(--mid); }
.tm-li      { display: inline-flex; align-items: center; gap: 5px; font-family: var(--fh); font-size: 12px; font-weight: 700; color: var(--bl); margin-top: 14px; }

/* ── TEAM CARDS (horizontal layout — used in careers / single) ─── */
.tgr   { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tcard { background: var(--wh); border: 1px solid var(--bd); border-radius: 14px; padding: 32px; display: flex; gap: 16px; transition: border-color .2s, box-shadow .2s; }
.tav   { width: 50px; height: 50px; border-radius: 11px; background: var(--bls); border: 1px solid var(--blb); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: 16px; font-weight: 800; color: var(--bl); flex-shrink: 0; }
.tav--photo { padding: 0; overflow: hidden; }
.tav--photo img { width: 56px; height: 56px; object-fit: cover; border-radius: 14px; }
.tbio  { font-size: 12px; color: var(--mid); line-height: 1.65; }
.tname { font-family: var(--fh); font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 2px; }
.trole { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bl); margin-bottom: 9px; }
.tli   { display: inline-flex; align-items: center; gap: 4px; margin-top: 9px; font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lt); transition: color .2s; }

/* ── ADVISORY GRID ──────────────────────────────────────────────── */
.adv-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:900px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-card  { background: var(--gy); border: 1px solid var(--bd); border-radius: 14px; padding: 28px; transition: all .2s; }
.adv-card:hover { border-color: var(--blb); box-shadow: 0 8px 24px rgba(26,115,232,.06); }

/* ── ADVISORY CARD COMPONENTS (from ported v9 styles) ───────────── */
.agr   { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.acard { background: var(--wh); border: 1px solid var(--bd); border-radius: 14px; padding: 30px; transition: border-color .2s; }
.aav   { width: 42px; height: 42px; border-radius: 9px; background: var(--gy2); border: 1px solid var(--bd); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: 13px; font-weight: 800; color: var(--mid); margin-bottom: 13px; }
.aav--photo { padding: 0; overflow: hidden; }
.aav--photo img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.adv-section { margin-top: 80px; }
.abio { margin-bottom: 10px; }
.aname { font-family: var(--fh); font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 9px; }
.arole { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lt); margin-bottom: 3px; }

/* ── TIMELINE ───────────────────────────────────────────────────── */
.tl     { position: relative; padding-left: 28px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom,var(--bl),var(--pur)); }
.tl-row { position: relative; padding-bottom: 32px; padding-left: 28px; }
.tl-dot { position: absolute; left: -35px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-bl-pur); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--bl); }
.tl-yr  { font-family: var(--fh); font-size: 12px; font-weight: 700; color: var(--bl); letter-spacing: .08em; margin-bottom: 4px; }
.tl-ev  { font-family: var(--fh); font-size: 15px; font-weight: 700; color: var(--ink); }
.tl-d   { font-size: 13px; color: var(--mid); margin-top: 3px; }

/* timeline row layout (alternate style) */
.tlr  { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding-bottom: 40px; position: relative; }
.tly  { font-family: var(--fh); font-size: 12px; font-weight: 700; color: var(--bl); letter-spacing: .04em; padding-top: 2px; }
.tlt  { font-family: var(--fh); font-size: 14px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.tld  { position: absolute; left: -31px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--bl); border: 2px solid var(--wh); box-shadow: 0 0 0 1px var(--bl); }
.tld2 { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ── CAPABILITY GRID ────────────────────────────────────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:700px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
.cap-card { background: var(--wh); border: 1px solid var(--bd); border-radius: 12px; padding: 22px; transition: all .2s; }
.cap-card:hover { border-color: var(--blb); box-shadow: 0 8px 24px rgba(26,115,232,.07); }
.cap-ico  { width: 36px; height: 36px; border-radius: 9px; background: var(--bls); border: 1px solid var(--blb); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 16px; }
.cap-ico.p { background: rgba(107,79,211,.08); border-color: rgba(107,79,211,.2); }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media(max-width:640px) { .tgr, .agr, .adv-grid { grid-template-columns: 1fr; } }
