*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --myaa-shell-width: var(--wp--custom--layout--shell-width, 1216px);
  --myaa-shell-gutter: var(--wp--custom--layout--shell-gutter, clamp(1.5rem, 4vw, 3.5rem));
  --myaa-shell-inline: max(var(--myaa-shell-gutter), calc((100vw - var(--myaa-shell-width)) / 2));
  --myaa-font-body: var(--wp--preset--font-family--dm-sans, Aptos, sans-serif);
  --myaa-font-heading: var(--wp--preset--font-family--google-sans-flex, Inter, sans-serif);
  --myaa-color-navy: var(--wp--preset--color--canvas);
  --myaa-color-beige: var(--wp--preset--color--ivory);
  --myaa-color-gold: var(--wp--preset--color--accent);
  --myaa-type-body: var(--myaa-design-body-size, 1rem);
  --myaa-type-compact: 1rem;
  --myaa-type-secondary: .875rem;
  --myaa-type-lead: 1.125rem;
  --myaa-type-page: var(--myaa-design-heading-size, 1.75rem);
  --myaa-type-section: var(--myaa-design-section-size, 1.5rem);
  --myaa-type-card: var(--myaa-design-card-size, 1.125rem);
  --myaa-type-hero: 2rem;
  --myaa-line-body: 1.6;
  --myaa-line-secondary: 1.5;
}

.myaa-shell { width: min(var(--myaa-shell-width), calc(100% - 2 * var(--myaa-shell-gutter))); margin-inline: auto; }

/* Keyboard cues also cover ordinary links outside the route components. */
:where(a):focus-visible {
  outline: 0;
  text-decoration: underline;
  text-decoration-color: var(--myaa-design-focus-color, var(--myaa-focus-color, var(--wp--preset--color--ink)));
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
:where(a:has(img), a.wp-block-button__link):focus-visible {
  outline: 1px solid var(--myaa-design-focus-color, var(--myaa-focus-color, var(--wp--preset--color--ink)));
  outline-offset: 3px;
  text-decoration: none;
}

.myaa-section-nav {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.myaa-section-nav > a {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-family: var(--myaa-font-heading);
  font-size: var(--myaa-type-secondary);
  font-weight: 500;
  font-variation-settings: "opsz" 18;
  font-optical-sizing: none;
  font-synthesis: none;
  letter-spacing: .133em;
  line-height: 1.4;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
}
.myaa-section-nav svg { display: block; flex: none; max-width: none; }
.myaa-section-nav__previous { justify-self: stretch; justify-content: flex-start; text-align: left; }
.myaa-section-nav__next { justify-self: stretch; justify-content: flex-end; text-align: right; }
.myaa-section-nav__next > svg { order: 1; transform: rotate(180deg); }
.myaa-section-nav__up { transform: rotate(90deg); }
.myaa-section-nav > .myaa-section-nav__back { justify-self: stretch; justify-content: center; text-align: center; }
.myaa-section-nav__mobile { display: none; }
.myaa-section-nav--person,
.myaa-section-nav--area { color: var(--wp--preset--color--canvas); }
.myaa-section-nav--person > .myaa-section-nav__previous > svg,
.myaa-section-nav--person > .myaa-section-nav__next > svg { color: var(--wp--preset--color--ink); }
.myaa-section-nav > a { text-decoration-line:underline; text-decoration-color: transparent; text-underline-offset:.2em; transition: color 160ms ease, text-decoration-color 160ms ease; }
.myaa-section-nav a:hover { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .2em; }
.myaa-section-nav a:focus-visible { outline: 0; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.myaa-searchcontrol {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  margin: 0;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}
.myaa-searchcontrol__input {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  flex: 0 1 auto;
  font-family: var(--myaa-font-body);
  font-size: var(--myaa-type-compact);
  font-weight: 400;
  font-variation-settings: "opsz" 18;
  font-optical-sizing: none;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: var(--myaa-line-secondary);
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
}
.myaa-searchcontrol__input::placeholder { color: inherit; opacity: 1; }
.myaa-searchcontrol__input:focus-visible { border-block-end: 1px solid var(--wp--preset--color--ivory); caret-color: var(--wp--preset--color--ivory); outline: 0; }
.myaa-searchcontrol__submit {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--wp--preset--color--accent-active);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  width: 44px;
}
.myaa-searchcontrol__submit svg { height: 14px; max-width: none; width: 14px; }
.myaa-searchcontrol__submit:focus-visible { outline: 1px solid var(--wp--preset--color--ivory); outline-offset: 3px; }
.myaa-team__search .myaa-searchcontrol__input { width: 190px; }
.myaa-news-directory__search .myaa-searchcontrol__input { width: 200px; }

@media (max-width: 767px) {
  .myaa-section-nav:not(.myaa-section-nav--area) > a {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .myaa-section-nav:not(.myaa-section-nav--area) > .myaa-section-nav__next > svg { order: 0; }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: break-word;
  padding-inline: 0 !important;
}

.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

.wp-site-blocks > main { display:flex; flex: 1 1 auto; flex-direction:column; }
#contenido > .wp-block-post-content:has(> .myaa-contact-page) { display:flex; flex:1 1 auto; flex-direction:column; }
.myaa-contact-page { flex:1 0 auto; }

.wp-site-blocks > *,
.wp-site-blocks > * + *,
#contenido > .wp-block-post-content > * + * {
  margin-block-start: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


@media (min-width: 64rem) { :root { --myaa-type-body: var(--myaa-design-body-size, 1.125rem); --myaa-type-lead: 1.25rem; --myaa-type-page: var(--myaa-design-heading-size, 2.25rem); --myaa-type-section: var(--myaa-design-section-size, 1.75rem); --myaa-type-card: var(--myaa-design-card-size, 1.25rem); --myaa-type-hero: 3rem; } }
body { color: var(--wp--preset--color--ink); font-family: var(--myaa-font-body); font-size: var(--myaa-type-body); font-weight: 400; line-height: var(--myaa-line-body); }
a { font-family: var(--myaa-font-heading); }
.wp-block-button__link { background-color:var(--myaa-design-background, inherit); color:var(--myaa-design-color, inherit); font-size:var(--myaa-design-font-size, inherit); font-weight:var(--myaa-design-font-weight, inherit); line-height:var(--myaa-design-line-height, inherit); letter-spacing:var(--myaa-design-letter-spacing, inherit); text-align:var(--myaa-design-text-align, inherit); }
.wp-block-button__link:hover { color:var(--myaa-design-hover-color, currentColor); }
.wp-block-button__link:active { color:var(--myaa-design-active-color, currentColor); }
.wp-block-button__link:focus-visible { outline-color:var(--myaa-design-focus-color, currentColor); }
:where(a, button) { transition:color 160ms ease, text-decoration-color 160ms ease; }
:focus-visible { transition:none !important; }

/* Shared presentation for professionals on editorial and practice pages. */
.myaa-related-people { margin-top:3rem; }
.myaa-related-people h2 { font-size:var(--myaa-design-section-size, 1.5rem); font-weight:500; line-height:1.25; margin:0 0 1rem; }
.myaa-related-people__list { display:block; list-style:disc; margin:0; padding-inline-start:2.5rem; }
.myaa-related-people__list li { font-size:var(--myaa-design-body-size, 1rem); line-height:var(--myaa-design-line-height, 1.6); margin:0 0 .5rem; min-width:0; }
.myaa-related-people__list a { color:var(--wp--preset--color--ink); text-decoration:underline; text-decoration-color:currentColor; }
.myaa-related-people__list a:hover { text-decoration-color:currentColor; }
.myaa-related-people__list a:focus-visible { text-decoration-color:currentColor; outline:1px solid var(--myaa-color-navy); outline-offset:3px; }
@media(max-width:47.99rem) { .myaa-related-people h2 { font-size:var(--myaa-design-section-size, 1.375rem); } }
