/* ============================================================
   LAU-TAM | NUESTRO ESTUDIO | HOMEPAGE
   Mantiene la misma jerarquía editorial que "Últimas novedades":
   título Playfair Display + declaración Georama.
   Se carga DESPUÉS de main.css para no alterar las otras páginas.
   ============================================================ */

#about .about-dna-landing-head {
  max-width: 1040px !important;
}

#about .about-dna-headline {
  display: block;
  max-width: 100%;
  margin: 0;
  color: #07192F;
  font-family: var(--fd, "Playfair Display", Georgia, serif);
  font-size: clamp(2.8rem, 4.2vw, 4.7rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.052em;
  text-transform: none;
}

#about .about-dna-statement {
  /* Same first-column width as the paragraphs; no overlap with rankings. */
  max-width: 100%;
  margin: clamp(1.45rem, 2.5vw, 2.45rem) 0 0;
  color: #344154;
  font-family: var(--fb, "Georama", Arial, sans-serif);
  font-size: clamp(1.28rem, 1.9vw, 1.75rem);
  font-weight: 400;
  line-height: 1.46;
  letter-spacing: -.022em;
}

/* El texto introductorio ahora es más breve que el antiguo título:
   mantener aire sin dejar un hueco excesivo hasta el contenido. */
#about .about-dna-body {
  margin-top: clamp(2.5rem, 4vw, 4rem) !important;
}

@media (max-width: 1100px) {
  #about .about-dna-headline {
    font-size: clamp(2.6rem, 5.7vw, 4.1rem);
  }
  #about .about-dna-statement {
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  }
}

@media (max-width: 640px) {
  #about .about-dna-headline {
    font-size: clamp(2.15rem, 9.7vw, 3.15rem);
    line-height: 1.04;
    letter-spacing: -.045em;
  }
  #about .about-dna-statement {
    margin-top: 1.25rem;
    font-size: clamp(1.12rem, 4.55vw, 1.32rem);
    line-height: 1.5;
    letter-spacing: -.014em;
  }
  #about .about-dna-body {
    margin-top: 2.5rem !important;
  }
}


/* ------------------------------------------------------------
   Homepage | Etiqueta "Reconocimientos" encima de los rankings
   Mantiene los logotipos en su fila y sin la línea dorada.
   ------------------------------------------------------------ */
#about.hero-intro.about-dna-landing .about-dna-values.about-dna-rankings {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: start !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  padding-top: .27rem !important; /* optical alignment with first paragraph */
  gap: clamp(.85rem, 1.35vw, 1.15rem) !important;
}

#about.hero-intro.about-dna-landing .about-dna-values.about-dna-rankings::before {
  display: none !important;
  content: none !important;
}

#about .about-dna-rankings-heading {
  display: block;
  margin: 0;
  padding: 0;
  color: #07192F;
  font-family: var(--fb, "Georama", Arial, sans-serif);
  font-size: clamp(.68rem, .78vw, .8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .17em;
  text-transform: uppercase;
}

#about .about-dna-rankings .about-dna-rankings-list {
  flex: none;
  margin: 0 !important;
  max-width: 100%;
}

@media(max-width: 680px) {
  #about.hero-intro.about-dna-landing .about-dna-values.about-dna-rankings {
    min-height: auto !important;
    margin-top: 1.9rem !important;
    padding-top: 0 !important;
    gap: .8rem !important;
  }
}

/* Reconocimientos: same starting axis as the first paragraph (desktop).
   Overrides legacy margin-top: 3rem in css/main.css. */
@media (min-width: 1101px) {
  #about.hero-intro.about-dna-landing .about-dna-body
  > .about-dna-values.about-dna-rankings {
    margin-top: 0 !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding-top: .27rem !important;
  }
}

/* ============================================================
   LAU-TAM | ABOUT: SAME RAIL FOR STATEMENT AND BODY COPY
   Headline + statement occupy only the text column. The right
   column remains reserved for Recognition, matching the body grid.
   ============================================================ */
@media (min-width: 1101px) {
  #about .about-dna-landing-head {
    display: grid !important;
    grid-template-columns: minmax(0, 650px) minmax(250px, 340px) !important;
    column-gap: clamp(4.5rem, 6.5vw, 6.75rem) !important;
    justify-content: start !important;
    align-items: start !important;
  }

  #about .about-dna-landing-head > .about-dna-headline,
  #about .about-dna-landing-head > .about-dna-statement {
    grid-column: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Body becomes single-column at 1100px, so the statement does too. */
@media (max-width: 1100px) {
  #about .about-dna-landing-head > .about-dna-statement {
    width: 100% !important;
    max-width: 650px !important;
  }
}

/* ------------------------------------------------------------
   CTA "CONOCE MAS SOBRE EL ESTUDIO"
   Remove the legacy animated underline (generated with ::after),
   keeping the text color, hover feedback and corner arrow intact.
   ------------------------------------------------------------ */
#about .about-dna-link,
#about .about-dna-link:hover,
#about .about-dna-link:focus,
#about .about-dna-link:focus-visible {
  text-decoration: none !important;
  border-bottom: none !important;
}

#about .about-dna-link::after,
#about .about-dna-link:hover::after,
#about .about-dna-link:focus::after,
#about .about-dna-link:focus-visible::after {
  content: none !important;
  display: none !important;
}


/* ============================================================
   LAU-TAM | CTAs DE HOMEPAGE SIN LINEA INFERIOR
   Solo afecta a Ver todas las areas / Mas experiencias /
   Mas publicaciones. Conserva color, movimiento y flecha.
   Se incluye en about-home.css, cargado al final del homepage.
   ============================================================ */
#practice .practices-page-link,
#experience.deals-hero .deals-hero-more,
#publications.home-publications .home-publications-more {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

#practice .practices-page-link::after,
#experience.deals-hero .deals-hero-more::after,
#publications.home-publications .home-publications-more::after {
  content: none !important;
  display: none !important;
}

/* ============================================================
   HOMEPAGE | NUESTRO ESTUDIO - EDITORIAL RAIL + RECOGNITION AIR
   2026-10-22: Columnas balanceadas.
   - El texto mantiene su ancho editorial de hasta 650px.
   - Reconocimientos queda centrado en el espacio libre a la
     derecha, en lugar de quedar pegado al margen exterior.
   - Tablet y móvil conservan su disposición apilada.
   ============================================================ */
@media (min-width: 1101px) {
  #about .about-dna-landing-head,
  #about .about-dna-body {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 650px) minmax(0, 1fr) !important;
    column-gap: clamp(3.25rem, 4.5vw, 5rem) !important;
  }

  #about .about-dna-landing-head > .about-dna-headline,
  #about .about-dna-landing-head > .about-dna-statement {
    max-width: 650px !important;
  }

  #about.hero-intro.about-dna-landing .about-dna-values.about-dna-rankings {
    width: 100% !important;
    max-width: 320px !important;
    justify-self: center !important;
  }
}

/* An intentional gap between the ranking heading and its marks. */
#about.hero-intro.about-dna-landing .about-dna-values.about-dna-rankings {
  gap: clamp(1.35rem, 1.65vw, 1.7rem) !important;
}

@media (max-width: 680px) {
  #about.hero-intro.about-dna-landing .about-dna-values.about-dna-rankings {
    gap: 1.05rem !important;
  }
}
/* Recognition marks: two above, IFLR1000 centered below, within the column. */
#about .about-dna-rankings .about-dna-rankings-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px 24px !important;
  width: min(100%, 320px) !important;
  align-items: center !important;
}
#about .about-dna-rankings .about-ranking-logo {
  width: 100% !important;
  justify-content: center !important;
}
#about .about-dna-rankings .about-ranking-logo img {
  width: 100% !important;
  height: auto !important;
  object-position: center !important;
}
#about .about-dna-rankings .about-ranking-logo--legal500 img { max-width: 130px !important; }
#about .about-dna-rankings .about-ranking-logo--leaders img { max-width: 140px !important; }
#about .about-dna-rankings .about-ranking-logo--iflr {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  max-width: 180px !important;
}
/* Align the Legal 500 wordmark baseline with Leaders League optically. */
#about .about-dna-rankings .about-ranking-logo--legal500 img {
  transform: translateY(20%) !important;
}
