/* V10 — genuine editable Team Expert profiles and unified slim purple footer buttons.
   Loaded last to override old V7/V9 footer legacy selectors safely. */
:root {
  --expert-purple:#6d28d9;
  --expert-purple-dark:#4c1d95;
  --expert-ink:#24163d;
}
.expert-section {background:linear-gradient(160deg,#fffefc 0%,#f8f1ff 55%,#fff8e8 100%);}
.expert-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:stretch;}
.expert-card {
  min-width:0;overflow:hidden;position:relative;display:flex;flex-direction:column;
  background:#fff;border:1px solid #eadff7;border-radius:20px;
  box-shadow:0 6px 0 #e5d7f5,0 20px 36px rgba(51,23,82,.08);
  transition:transform .2s,box-shadow .2s;
}
.expert-card:hover {transform:translateY(-3px);box-shadow:0 9px 0 #dfcff3,0 24px 44px rgba(51,23,82,.13);}
.expert-photo {display:block;position:relative;aspect-ratio:4/4.4;overflow:hidden;background:linear-gradient(135deg,#e9dafa,#fbefdf);}
.expert-photo img {width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s;}
.expert-card:hover .expert-photo img {transform:scale(1.03);}
.expert-avatar {display:grid;place-items:center;width:100%;height:100%;font:800 clamp(70px,10vw,130px)/1 'Manrope',sans-serif;color:#55229d;background:radial-gradient(circle at 65% 30%,#fff0c4,transparent 55%),linear-gradient(145deg,#ead7ff,#f4dcf5 65%,#fff2db);}
.expert-copy{padding:22px;display:flex;flex-direction:column;flex:1;gap:9px;}
.expert-role {font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#6d28d9;}
.expert-card h3 {font-size:19px;line-height:1.25;margin:0;color:#24163d;}
.expert-card h3 a {color:inherit;font-size:inherit;}
.expert-card h3 a:hover {color:#6d28d9;}
.expert-bio {font-size:13px;line-height:1.65;color:#686078;margin:0 0 4px;}
.expert-skills {display:flex;flex-wrap:wrap;gap:7px;margin:5px 0 7px;}
.expert-skills span {display:inline-flex;align-items:center;border-radius:7px;background:#f3ebff;border:1px solid #e4d3fa;color:#532198;font-size:11px;line-height:1.2;font-weight:800;padding:7px 10px;}
.expert-social {display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:8px;}
.expert-social a,
body .expert-social a {
  display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:33px;
  padding:7px 11px;font:800 11px/1.2 'DM Sans',sans-serif;border-radius:8px;
  background:#6d28d9;color:#fff;border:1px solid #8653dc;
  box-shadow:0 3px 0 #3f146f;transition:transform .18s,box-shadow .18s;
  white-space:nowrap;text-decoration:none;
}
body .expert-social a:hover {background:#5f21c1;color:#fff;transform:translateY(1px);box-shadow:0 2px 0 #3f146f;}
.expert-empty {display:flex;gap:22px;align-items:center;max-width:780px;padding:35px;background:#fff;border:1px dashed #d2b8f2;border-radius:22px;box-shadow:0 8px 0 #ede0fb;}
.expert-empty-mark {flex:0 0 68px;height:68px;border-radius:17px;display:grid;place-items:center;background:#6d28d9;color:white;font-size:35px;}
.expert-empty h3 {margin-bottom:8px;}.expert-empty p{color:#655e77;margin:0;}
.expert-profile {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:55px;align-items:start;}
.expert-profile-photo {min-height:460px;border-radius:26px;overflow:hidden;background:#ead7ff;box-shadow:0 9px 0 #e0cff1,0 24px 45px #20133418;}
.expert-profile-photo img{height:100%;min-height:460px;width:100%;object-fit:cover;}
.expert-profile-content h2 {margin:0 0 16px;}.expert-profile-content h3{font-size:17px;margin:24px 0 12px;}
.expert-profile-content .prose {margin-top:22px;}.expert-back {margin-top:30px;}
/* The footer now uses real, visible button surfaces, including policy, contact, social and navigation links. */
body .footer .footer-grid {align-items:start;gap:34px;}
body .footer .footer-grid h4{color:#fff0c4;margin-bottom:15px;}
body .footer .footer-grid > div:not(.footer-brand) {min-width:0;}
body .footer .footer-grid a.footer-3d-button,
body .footer .footer-grid a.footer-action,
body .footer .footer-bottom a.footer-legal-button,
body .footer .social-links a.footer-3d-button {
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  width:100%;max-width:100%;min-height:37px;padding:9px 12px!important;margin:0 0 9px!important;
  border-radius:9px!important;background:#6d28d9!important;background-image:linear-gradient(165deg,#8043d6,#6d28d9)!important;
  border:1px solid #9666dc!important;color:#fff!important;
  font:800 12px/1.35 'DM Sans',system-ui,sans-serif!important;
  box-shadow:0 4px 0 #421777,0 9px 14px rgba(6,3,21,.23)!important;
  text-decoration:none!important;text-align:left!important;
  overflow-wrap:anywhere;white-space:normal!important;
  transform:translateY(0)!important;transition:transform .17s,box-shadow .17s!important;
}
body .footer .footer-grid a.footer-3d-button:hover,
body .footer .footer-grid a.footer-action:hover,
body .footer .footer-bottom a.footer-legal-button:hover,
body .footer .social-links a.footer-3d-button:hover {
  background:#6023c0!important;background-image:linear-gradient(165deg,#7134c6,#6023c0)!important;color:white!important;
  transform:translateY(2px)!important;box-shadow:0 2px 0 #421777,0 7px 10px rgba(6,3,21,.21)!important;
}
body .footer .footer-grid a.footer-3d-button:active,
body .footer .footer-grid a.footer-action:active,
body .footer .footer-bottom a.footer-legal-button:active {transform:translateY(4px)!important;box-shadow:0 0 0 #421777!important;}
body .footer .footer-grid .footer-logo {width:auto;box-shadow:none!important;padding:0!important;background:transparent!important;color:#fff!important;}
body .footer .social-links {display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;}
body .footer .social-links a.footer-3d-button {width:auto;min-height:34px;padding:8px 11px!important;margin:0 0 5px!important;font-size:11px!important;}
body .footer .footer-bottom > div {display:flex;align-items:center;flex-wrap:wrap;gap:11px;}
body .footer .footer-bottom a.footer-legal-button {width:auto;min-height:33px;padding:7px 11px!important;margin:0!important;font-size:11px!important;}
body .footer a.footer-3d-button:focus-visible,
body .expert-social a:focus-visible {outline:3px solid #facc15;outline-offset:3px;}
@media(max-width:1150px){.expert-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:850px){.expert-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.expert-profile{grid-template-columns:1fr;gap:30px;}.expert-profile-photo{max-width:500px;}}
@media(max-width:600px){.expert-grid{grid-template-columns:1fr;gap:17px;}.expert-photo{aspect-ratio:4/3.2;}.expert-copy{padding:18px;}.expert-empty{align-items:flex-start;padding:21px;}.expert-empty-mark{flex-basis:48px;height:48px;font-size:24px;}body .footer .footer-grid{gap:22px;}}
@media(prefers-reduced-motion:reduce){.expert-card,.expert-photo img,.expert-social a,body .footer a.footer-3d-button{transition:none!important;}}
