/* LAU-TÁM | Directorio: contacto directo bajo el cargo, acciones al pie. */
.attorneys-page .lt-attorney-meta .lt-attorney-email {
  display: inline-flex;
  flex: 0 1 auto;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  margin: 13px 0 0;
  max-width: 100%;
  color: #07192f;
  font-family: var(--fg, "Georama", Arial, sans-serif);
  font-size: .80rem;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  white-space: normal;
}
.attorneys-page .lt-attorney-meta .lt-attorney-email svg {
  display: block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  color: #13686b;
}
.attorneys-page .lt-attorney-meta .lt-attorney-email span {
  min-width: 0;
}
.attorneys-page .lt-attorney-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 13px;
  padding-top: 12px;
}
.attorneys-page .lt-attorney-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 21px;
  min-width: 0;
}
.attorneys-page .lt-attorney-vcard {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
}
.attorneys-page .lt-attorney-vcard svg { display: block; flex: none; }

.attorneys-page .lt-attorney-qr-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #07192f;
  font-family: var(--fg, "Georama", Arial, sans-serif);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.attorneys-page .lt-attorney-qr-trigger svg { display: block; flex: none; }
/* Ambas acciones usan el mismo dorado al pasar el cursor (VCARD y Codigo QR). */
.attorneys-page .lt-attorney-qr-trigger:hover { color: #a77c35; }
.attorneys-page .lt-attorney-qr-trigger:focus-visible {
  outline: 2px solid #13686b;
  outline-offset: 5px;
}

/* Unico acceso al perfil desde las tarjetas; separado de las acciones de contacto. */
.attorneys-page .lt-attorney-bio {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 30px;
  margin-left: auto;
  padding: 0;
  color: #07192f;
  font-family: var(--fg, "Georama", Arial, sans-serif);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .18s ease;
}
.attorneys-page .lt-attorney-bio:visited { color: #07192f; }
.attorneys-page .lt-attorney-bio:hover { color: #a77c35; }
.attorneys-page .lt-attorney-bio svg {
  display: block;
  flex: none;
  transition: transform .18s ease;
}
@media (hover:hover) and (pointer:fine) {
  .attorneys-page .lt-attorney-bio:hover svg { transform: translateX(3px); }
}
.attorneys-page .lt-attorney-bio:focus-visible {
  outline: 2px solid #13686b;
  outline-offset: 5px;
}

/* Modal independently styled, without changing the existing attorney cards. */
/* Block the document, without preventing overflow inside a short-screen dialog. */
html.lt-qr-open, body.lt-qr-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}
.lt-qr-overlay[hidden] { display: none !important; }
.lt-qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 18, 27, .75);
  overscroll-behavior: none;
}
.lt-qr-dialog {
  width: min(100%, 516px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 25px 28px 26px;
  background: #fff;
  border: 1px solid rgba(7,25,47,.12);
  box-shadow: 0 22px 70px rgba(0,0,0,.2);
  color: #263945;
  font-family: var(--fg, "Georama", Arial, sans-serif);
}
.lt-qr-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}
.lt-qr-title {
  margin: 0;
  font-family: var(--fg, "Georama", Arial, sans-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
}
.lt-qr-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #65717b;
  cursor: pointer;
  transition: color .18s ease, transform .28s var(--ease, cubic-bezier(.77, 0, .18, 1));
}
/* Same 90-degree rotation used by the site's other close controls. */
.lt-qr-close:hover, .lt-qr-close:focus-visible {
  color: #07192f;
  transform: rotate(90deg);
}
.lt-qr-close:focus-visible { outline: 2px solid #13686b; outline-offset: 2px; }
.lt-qr-close:active { transform: scale(.96); }
.lt-qr-image {
  display: block;
  box-sizing: border-box;
  width: min(100%, 424px);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: contain;
  image-rendering: auto;
}
.lt-qr-person {
  margin: 12px 0 0;
  text-align: center;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.4;
}
.lt-qr-help {
  margin: 6px 0 0;
  text-align: center;
  color: #65717b;
  font-size: .84rem;
  line-height: 1.5;
}

@media (min-width: 761px) and (max-width: 860px) {
  .attorneys-page .lt-attorney-actions { gap: 12px; }
  .attorneys-page .lt-attorney-vcard { gap: 4px; font-size: .66rem; }
  .attorneys-page .lt-attorney-vcard svg { width: 14px; height: 14px; }
  .attorneys-page .lt-attorney-qr-trigger { gap: 4px; font-size: .66rem; }
  .attorneys-page .lt-attorney-qr-trigger svg { width: 14px; height: 14px; }
  .attorneys-page .lt-attorney-bio { gap: 4px; font-size: .66rem; }
  .attorneys-page .lt-attorney-bio svg { width: 14px; height: 14px; }
}
@media (max-width: 400px) {
  .attorneys-page .lt-attorney-actions { gap: 12px; }
  .attorneys-page .lt-attorney-bio { font-size: .66rem; gap: 4px; }
  .attorneys-page .lt-attorney-bio svg { width: 14px; height: 14px; }
  .attorneys-page .lt-attorney-qr-trigger { font-size: .66rem; gap: 4px; }
  .attorneys-page .lt-attorney-qr-trigger svg { width: 14px; height: 14px; }
}
@media (max-width: 460px) {
  .lt-qr-overlay { padding: 15px; }
  .lt-qr-dialog { max-height: calc(100dvh - 30px); padding: 20px 18px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .lt-qr-overlay, .lt-qr-dialog, .lt-qr-close { animation: none; transition: none; }
  .lt-qr-close:hover, .lt-qr-close:focus-visible { transform: none; }
}

