/* One framing rule for every presentation of a team portrait. */
.cc-team-portrait {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  flex: none;
  margin: 0;
  background: #e6edf4;
}
.cc-team-portrait > img {
  position: absolute !important;
  display: block !important;
  inset: 0 auto auto 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.cc-team-portrait[data-portrait="mark-wilson"] > img {
  width: 181% !important;
  height: auto !important;
  left: -65%;
  top: -7.5%;
}

html body :is(#cc-site-footer,footer.cc-global-footer) .cc-footer-connect {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 23px;
  align-items: stretch;
}
html body footer.cc-global-footer .cc-team-legacy-footer {
  margin: 26px auto 18px;
  padding: 22px 0;
  max-width: 1180px;
  border-block: 1px solid currentColor;
  border-color: #8b9eb246;
}
html body :is(#cc-site-footer,footer.cc-global-footer) .cc-footer-company {
  display: grid;
  grid-template-columns: minmax(160px,.8fr) minmax(180px,1fr) minmax(220px,1.25fr);
  gap: 4px 22px;
  align-items: start;
}
.cc-footer-company h3 { grid-area: 1 / 1; }
.cc-footer-company > strong { grid-area: 2 / 1; }
.cc-footer-company > a[href^="mailto:"], .cc-footer-company > a[href^="/cdn-cgi/l/email-protection"] { grid-area: 1 / 2; }
.cc-footer-company > a[href^="https://wa.me/"] { grid-area: 2 / 2; }
.cc-footer-company .cc-footer-location { grid-area: 1 / 3 / span 2; }
html body :is(#cc-site-footer,footer.cc-global-footer) .cc-footer-people {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  align-items: stretch;
  gap: 10px;
}
html body footer.cc-global-footer .cc-team-footer-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 1px solid #8196ae38;
  border-radius: 12px;
  padding: 14px;
  background: #8ea7c009;
}
.cc-team-card-person { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cc-team-card-person > div { min-width: 0; }
.cc-team-card-person .cc-team-portrait { width: 42px; border-radius: 50%; }
html body footer.cc-global-footer .cc-team-card-person strong {
  display: block; font-size: 13px; line-height: 1.3;
}
html body footer.cc-global-footer .cc-team-card-person small {
  display: block; font-size: 10px; line-height: 1.4; margin: 4px 0 0;
}
.cc-team-card-actions { display: grid; align-content: start; gap: 3px; margin-top: auto; }
html body footer.cc-global-footer .cc-team-card-actions > a {
  display: flex; align-items: center; gap: 4px;
  width: fit-content; max-width: 100%; min-height: 24px;
  font-size: 11px; line-height: 1.4; text-decoration: none;
  overflow-wrap: anywhere;
}
html body footer.cc-global-footer .cc-team-card-actions > a > span { font-size: inherit; }
html body footer.cc-global-footer .cc-team-card-actions > a:hover { text-decoration: underline; text-underline-offset: 3px; }
html body footer.cc-global-footer .cc-team-card-actions > a:focus-visible,
.cc-people-update a:focus-visible { outline: 2px solid #67a7e2; outline-offset: 3px; }

html body section.cc-people-update {
  box-sizing: border-box; width: min(1240px,calc(100% - 40px)); max-width: 1240px; margin: 76px auto; color: #142638;
}
.cc-people-update > header { margin-bottom: 28px; }
html body section.cc-people-update .cc-people-grid {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 17px;
}
.cc-people-update .cc-people-card {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid #e0e7ee; border-radius: 12px; background: #fff;
}
.cc-people-update .cc-people-person > .cc-team-portrait { width: 100%; }
.cc-people-update .cc-people-name { padding: 19px 17px 12px; }
.cc-people-update .cc-people-name h3 { font-size: 19px; line-height: 1.25; margin: 0 0 6px; color: #142638; }
.cc-people-update .cc-people-name > span { display: block; color: #526677; font-size: 12px; line-height: 1.5; }
.cc-people-update .cc-people-bio { padding: 0 17px 18px; color: #526475; margin: 0; font-size: 13px; line-height: 1.65; }
.cc-people-update .cc-people-contacts {
  display: flex; flex-direction: column; gap: 8px; padding: 12px 17px; margin: auto 0 0;
  background: #f7f9fb; border-top: 1px solid #e0e7ee;
}
.cc-people-update .cc-people-contacts a { display: block; min-height: 24px; color: #17679e; font-size: 12px; overflow-wrap: anywhere; }

#cc-contact-panel .cc-team-portrait { width: 44px; border-radius: 50%; }
#cc-contact-panel [data-hub-person] > span:nth-child(2) { min-width: 0; }
/* Use the local Lucide envelope and Tabler WhatsApp mark in place of text arrows. */
.cc-team-action-icon {
  --cc-team-action-mask: url("camcuda-ui-icons/lucide/mail.svg");
  display: inline-block;
  flex: none;
  inline-size: 16px;
  block-size: 16px;
  vertical-align: middle;
  color: inherit;
  background-color: currentColor;
  -webkit-mask: var(--cc-team-action-mask) center / contain no-repeat;
  mask: var(--cc-team-action-mask) center / contain no-repeat;
}
:is(.cc-team-wa, #cc-contact-panel a[href^="https://wa.me/"]) > .cc-team-action-icon {
  --cc-team-action-mask: url("camcuda-ui-icons/tabler/brand-whatsapp.svg");
}
#cc-contact-panel [data-hub-person] > .cc-team-action-icon { color: #657587; }
#cc-contact-panel [data-hub-general] > .cc-team-action-icon { margin-inline-start: 4px; }
.cc-team-wa > .cc-team-action-icon { inline-size: 14px; block-size: 14px; }
.cc-company-team > a { padding: 14px; border: 1px solid #e0e7ee; border-radius: 12px; }
.cc-company-team .cc-team-portrait { width: 44px; border-radius: 50%; margin-bottom: 5px; }
.cc-team-contact-section .cc-company-team { grid-template-columns: repeat(5,minmax(0,1fr)); }

@media (max-width: 1100px) {
  html body :is(#cc-site-footer,footer.cc-global-footer) .cc-footer-people,
  html body section.cc-people-update .cc-people-grid,
  .cc-team-contact-section .cc-company-team { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .cc-footer-people > .cc-team-footer-card,
  .cc-people-grid > .cc-people-card,
  .cc-company-team > a { grid-column: span 2; }
  .cc-footer-people > .cc-team-footer-card:nth-child(4),
  .cc-people-grid > .cc-people-card:nth-child(4),
  .cc-company-team > a:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 720px) {
  html body :is(#cc-site-footer,footer.cc-global-footer) .cc-footer-company { display: flex; gap: 6px; }
  html body :is(#cc-site-footer,footer.cc-global-footer) .cc-footer-people,
  html body section.cc-people-update .cc-people-grid,
  .cc-team-contact-section .cc-company-team { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .cc-footer-people > .cc-team-footer-card:nth-child(4),
  .cc-people-grid > .cc-people-card:nth-child(4),
  .cc-company-team > a:nth-child(4) { grid-column: span 2; }
  .cc-footer-people > .cc-team-footer-card:last-child,
  .cc-people-grid > .cc-people-card:last-child,
  .cc-company-team > a:last-child { grid-column: 2 / span 2; }
  html body section.cc-people-update { width: calc(100% - 32px); margin: 50px auto; }
  .cc-people-update .cc-people-person { display: flex; gap: 14px; align-items: center; padding: 16px; }
  .cc-people-update .cc-people-person > .cc-team-portrait { width: 78px; border-radius: 9px; }
  .cc-people-update .cc-people-name { padding: 0; }
}
@media (max-width: 540px) {
  html body :is(#cc-site-footer,footer.cc-global-footer) .cc-footer-people,
  html body section.cc-people-update .cc-people-grid,
  .cc-team-contact-section .cc-company-team { grid-template-columns: minmax(0,1fr); }
  .cc-footer-people > .cc-team-footer-card:nth-child(n),
  .cc-people-grid > .cc-people-card:nth-child(n),
  .cc-company-team > a:nth-child(n) { grid-column: 1; }
  html body footer.cc-global-footer .cc-team-footer-card { gap: 8px; padding: 12px 14px; }
  .cc-team-card-person .cc-team-portrait { width: 44px; }
  .cc-team-card-actions { grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-inline-start: 53px; }
  html body footer.cc-global-footer .cc-team-card-actions > a { min-height: 40px; }
}
