/* All selectors are scoped to avoid changing the existing website. */
.asg-team {
  --asg-ink: var(--wp--preset--color--contrast, #202020);
  --asg-accent: var(--wp--preset--color--accent, #f9c200);
  --asg-cream: var(--wp--preset--color--contrast-2, #fcfaed);
  --asg-serif: var(--wp--preset--font-family--instrument-serif, "Instrument Serif", Georgia, serif);
  --asg-sans: var(--wp--preset--font-family--switzer, Switzer, Arial, sans-serif);
  box-sizing: border-box;
  container-type: inline-size;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--asg-ink);
  font-family: var(--asg-sans);
  text-align: left;
}
.asg-team *, .asg-team *::before, .asg-team *::after { box-sizing: border-box; }
.asg-team .asg-team-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 44px; padding: 0;
}
.asg-team .asg-team-nav a {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 44px; padding: 10px 16px; border: 1px solid #deded8; border-radius: 2px;
  font: 500 14px/1.35 var(--asg-sans); text-decoration: none; color: var(--asg-ink);
  background: transparent; transition: background-color .15s, border-color .15s;
}
.asg-team .asg-team-nav a:hover { background: var(--asg-accent); border-color: var(--asg-accent); }
.asg-team .asg-team-nav a span { font-size: 18px; line-height: 1; }
.asg-team .asg-team-section { margin: 0; padding: 40px 0 52px; border-top: 1px solid #d8d8d1; }
.asg-team .asg-team-section:last-child { padding-bottom: 8px; }
.asg-team .asg-team-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.asg-team .asg-team-heading h2 {
  margin: 0; padding: 0; color: var(--asg-ink);
  font: 400 44px/1.08 var(--asg-serif); letter-spacing: -.02em;
  scroll-margin-top: 120px;
}
.asg-team .asg-team-grid { display: grid; --asg-current-columns: var(--asg-columns-desktop, 3); --asg-current-gap: var(--asg-gap-desktop, 32px); grid-template-columns: repeat(var(--asg-current-columns), minmax(0, 1fr)); gap: calc(var(--asg-current-gap) + 8px) var(--asg-current-gap); }
.asg-team .asg-team-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; width: var(--asg-current-width); max-width: 100%; --asg-current-width: var(--asg-width-desktop, 80%); --asg-current-font: var(--asg-font-desktop, 29px); --asg-current-ratio: var(--asg-ratio-desktop, 3/4); }
.asg-team .asg-team-photo { position: relative; aspect-ratio: var(--asg-current-ratio); overflow: hidden; background: var(--asg-cream); border-radius: var(--asg-radius, 2px); box-shadow: var(--asg-shadow, none); }
.asg-team .asg-team-image { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; object-fit: cover; }
.asg-team .asg-team-placeholder { display: grid; place-items: center; height: 100%; background: var(--asg-cream); }
.asg-team .asg-team-placeholder span { font: 400 88px/1 var(--asg-serif); color: #68685f; }
.asg-team .asg-team-info { display: flex; flex-direction: column; flex: 1; padding-top: 17px; }
.asg-team .asg-team-info h3 {
  margin: 0; padding: 0; color: var(--asg-ink);
  font: 400 var(--asg-current-font)/1.12 var(--asg-serif); letter-spacing: -.01em; overflow-wrap: anywhere;
}
.asg-team .asg-team-role { margin: 7px 0 0; padding: 0; font: 600 14px/1.5 var(--asg-sans); overflow-wrap: anywhere; }
.asg-team .asg-team-contact { margin-top: auto; padding-top: 17px; display: flex; flex-direction: column; }
.asg-team .asg-team-link {
  display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 44px;
  margin: 0; padding: 6px 0; color: var(--asg-ink); background: transparent;
  text-decoration: none; font: 400 14px/1.45 var(--asg-sans);
}
.asg-team .asg-team-link svg { flex: 0 0 18px; width: 18px; height: 18px; }
.asg-team .asg-team-link span { min-width: 0; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: #aaa99e; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.asg-team .asg-team-link:hover span { text-decoration-color: var(--asg-ink); }
.asg-team a:focus-visible { outline: 2px solid var(--asg-ink); outline-offset: 4px; background: var(--asg-accent); border-radius: 2px; }
/* Responsive variables also adapt to a narrow template or content column. */
@media (max-width: 900px) {
  .asg-team .asg-team-grid { --asg-current-columns: var(--asg-columns-tablet, 2); --asg-current-gap: var(--asg-gap-tablet, 24px); }
  .asg-team .asg-team-card { --asg-current-width: var(--asg-width-tablet, 100%); --asg-current-font: var(--asg-font-tablet, 29px); --asg-current-ratio: var(--asg-ratio-tablet, 3/4); }
}
@media (max-width: 560px) {
  .asg-team .asg-team-grid { --asg-current-columns: var(--asg-columns-mobile, 1); --asg-current-gap: var(--asg-gap-mobile, 20px); }
  .asg-team .asg-team-card { --asg-current-width: var(--asg-width-mobile, 100%); --asg-current-font: var(--asg-font-mobile, 30px); --asg-current-ratio: var(--asg-ratio-mobile, 3/4); }
  .asg-team .asg-team-nav { gap: 8px; margin-bottom: 28px; }
  .asg-team .asg-team-nav a { flex: 1 1 calc(50% - 8px); gap: 12px; }
  .asg-team .asg-team-section { padding: 28px 0 36px; }
  .asg-team .asg-team-heading { margin-bottom: 20px; }
  .asg-team .asg-team-heading h2 { font-size: 36px; }
}
@container (max-width: 900px) {
  .asg-team .asg-team-grid { --asg-current-columns: var(--asg-columns-tablet, 2); --asg-current-gap: var(--asg-gap-tablet, 24px); }
  .asg-team .asg-team-card { --asg-current-width: var(--asg-width-tablet, 100%); --asg-current-font: var(--asg-font-tablet, 29px); --asg-current-ratio: var(--asg-ratio-tablet, 3/4); }
}
@container (max-width: 560px) {
  .asg-team .asg-team-grid { --asg-current-columns: var(--asg-columns-mobile, 1); --asg-current-gap: var(--asg-gap-mobile, 20px); }
  .asg-team .asg-team-card { --asg-current-width: var(--asg-width-mobile, 100%); --asg-current-font: var(--asg-font-mobile, 30px); --asg-current-ratio: var(--asg-ratio-mobile, 3/4); }
  .asg-team .asg-team-nav { gap: 8px; margin-bottom: 28px; }
  .asg-team .asg-team-nav a { flex: 1 1 calc(50% - 8px); gap: 12px; }
  .asg-team .asg-team-section { padding: 28px 0 36px; }
  .asg-team .asg-team-heading h2 { font-size: 36px; }
}
.asg-team .asg-team-card { transition: transform var(--asg-speed, 300ms) ease; }
.asg-team .asg-team-image { transition: transform var(--asg-speed, 300ms) ease, filter var(--asg-speed, 300ms) ease, opacity var(--asg-speed, 300ms) ease; }
.asg-team .asg-team-hover-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity var(--asg-speed, 300ms) ease; }
@media (hover: hover) and (pointer: fine) {
  .asg-team .asg-effect-zoom:hover .asg-team-image, .asg-team .asg-effect-zoom:focus-within .asg-team-image { transform: scale(1.035); }
  .asg-team .asg-effect-zoom_medium:hover .asg-team-image, .asg-team .asg-effect-zoom_medium:focus-within .asg-team-image { transform: scale(1.07); }
  .asg-team .asg-effect-lift:hover, .asg-team .asg-effect-lift:focus-within { transform: translateY(-4px); }
  .asg-team .asg-effect-grayscale .asg-team-image { filter: grayscale(1); }
  .asg-team .asg-effect-grayscale:hover .asg-team-image, .asg-team .asg-effect-grayscale:focus-within .asg-team-image { filter: grayscale(0); }
  .asg-team .asg-hover-active .asg-team-hover-media { opacity: 1; }
  .asg-team .asg-hover-active .asg-team-image { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .asg-team .asg-team-nav a, .asg-team .asg-team-card, .asg-team .asg-team-image, .asg-team .asg-team-hover-media { transition: none; }
  .asg-team .asg-team-card, .asg-team .asg-team-card .asg-team-image { transform: none !important; }
  .asg-team .asg-hover-active .asg-team-image { opacity: 1; }
  .asg-team .asg-team-hover-media { display: none; }
}
@media print {
  .asg-team .asg-team-nav { display: none; }
  .asg-team .asg-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .asg-team .asg-team-card { break-inside: avoid; }
}
