/* Urgent brand correction: approved white logo and Home industrial photo. */
html body.page-inicio main#contenido .home-hero-back,
html body.page-inicio main#contenido .home-coverage-map,
html body.page-inicio main#contenido .home-hero-marks {
  display: none !important;
}

html body.page-inicio main#contenido .home-hero-frame {
  grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
}

html body.page-inicio main#contenido .home-hero-media {
  position: relative !important;
  z-index: 1 !important;
  grid-column: 8 / -1 !important;
  grid-row: 1 / 5 !important;
  align-self: center !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3 !important;
  border: 1px solid rgba(20, 97, 44, 0.16) !important;
  border-radius: 1rem !important;
  background: #d8ddd6 !important;
  box-shadow: 0 1.3rem 3.5rem rgba(19, 27, 38, 0.16) !important;
}

html body.page-inicio main#contenido .home-hero-media picture,
html body.page-inicio main#contenido .home-hero-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.page-inicio main#contenido .home-hero-media img {
  object-fit: contain !important;
  object-position: 50% 50% !important;
  animation: none !important;
  transform: none !important;
}

html body.page-inicio main#contenido .home-hero-kicker {
  grid-column: 1 / 7 !important;
  grid-row: 1 !important;
}

/* Product lockups supplied by the client: visible without becoming headings. */
html body:is(.page-vida, .page-salud) main#contenido .als-hero-product-logo {
  position: relative !important;
  z-index: 4 !important;
  display: block !important;
  width: clamp(11rem, 20vw, 18rem) !important;
  height: auto !important;
  margin: 0 0 clamp(0.8rem, 1.5vw, 1.25rem) !important;
  object-fit: contain !important;
}

/* One FAQ language for every landing, including PAS; native details retain semantics. */
html body main#contenido .dw-faq {
  width: min(100%, 72rem) !important;
  margin-inline: auto !important;
}

html body main#contenido .dw-faq details {
  min-width: 0 !important;
  margin: 0 0 0.7rem !important;
  overflow: clip !important;
  border: 1px solid rgba(20, 97, 44, 0.28) !important;
  border-radius: 1rem !important;
  background: #fffdf8 !important;
  box-shadow: 0 0.45rem 1.35rem rgba(39, 42, 52, 0.07) !important;
}

html body main#contenido .dw-faq details[open] {
  min-height: 0 !important;
  border-color: rgba(20, 97, 44, 0.5) !important;
  background: #faf6ef !important;
}

html body main#contenido .dw-faq details > summary {
  display: grid !important;
  grid-template-columns: 2.2rem minmax(0, 1fr) 2.75rem !important;
  gap: 0.8rem !important;
  align-items: center !important;
  min-height: 4.5rem !important;
  padding: 0.85rem 1rem !important;
  color: #272a34 !important;
  cursor: pointer !important;
  list-style: none !important;
}

html body main#contenido .dw-faq details > summary::-webkit-details-marker { display: none !important; }
html body main#contenido .dw-faq details > summary:focus-visible { outline: 3px solid #7abf62 !important; outline-offset: -3px !important; }

html body main#contenido .dw-faq details > summary::after {
  grid-column: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 50% !important;
  background: #14612c !important;
  color: #fff !important;
  content: "+" !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
}

html body main#contenido .dw-faq details[open] > summary::after { content: "−" !important; }
html body main#contenido .dw-faq details > .dw-faq-panel {
  max-width: none !important;
  padding: 0 4.8rem 1.35rem 4rem !important;
  color: rgba(39, 42, 52, 0.78) !important;
}

/* Contact: never let the right column or assistance brands overflow. */
html body.page-contacto main#contenido .contacto-main,
html body.page-contacto main#contenido .contacto-form-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr) !important;
}

html body.page-contacto main#contenido :is(.contacto-main__aside, .contacto-form-card, .contacto-form-shell) {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

html body.page-contacto main#contenido .contacto-assistance__numbers {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

html body.page-contacto main#contenido .contacto-assistance__numbers > a {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

html body.page-contacto main#contenido .contacto-assistance__logo img {
  max-width: 100% !important;
  height: 2.2rem !important;
  object-fit: contain !important;
  filter: grayscale(1) !important;
  opacity: 0.64 !important;
  transition: filter 180ms ease, opacity 180ms ease !important;
}

html body.page-contacto main#contenido img.contacto-assistance__logo {
  max-width: 100% !important;
  height: 2.2rem !important;
  object-fit: contain !important;
  filter: grayscale(1) !important;
  opacity: 0.64 !important;
  transition: filter 180ms ease, opacity 180ms ease !important;
}

html body.page-contacto main#contenido .contacto-assistance__numbers > a:is(:hover, :focus-visible, :active) .contacto-assistance__logo img {
  filter: grayscale(0) !important;
  opacity: 1 !important;
}

html body.page-contacto main#contenido .contacto-assistance__numbers > a:is(:hover, :focus-visible, :active) img.contacto-assistance__logo { filter: grayscale(0) !important; opacity: 1 !important; }

/* Team portraits are shown complete; role labels keep readable contrast. */
html body.page-nosotros main#contenido .atender-team .atender-card > figure {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 960 / 1450 !important;
  margin: 0 0 1rem !important;
  line-height: 0 !important;
}

html body.page-nosotros main#contenido .atender-team .atender-card > figure :is(a, img) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.page-nosotros main#contenido .atender-team .atender-card > figure img {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

html body.page-nosotros main#contenido .atender-team .atender-card .nos-person-role {
  display: block !important;
  margin-top: 0.3rem !important;
  color: #115326 !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

html body.page-nosotros main#contenido .nos-team-lead .atender-card.lead > figure {
  aspect-ratio: 960 / 1450 !important;
  margin-block: 0 !important;
  background: transparent !important;
}

html body.page-nosotros main#contenido .nos-team-lead .atender-card.lead > figure :is(a, img) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.page-nosotros main#contenido .nos-team-lead .atender-card.lead > figure img { object-fit: contain !important; object-position: center !important; }

html body.page-nosotros main#contenido #historia-1935 img { object-position: 50% 12% !important; }
html body.page-nosotros main#contenido #historia-1995 img { object-position: 50% 60% !important; }
html body.page-nosotros main#contenido .nos-hero-back img { object-position: 58% 56% !important; }

/* PAS: one-line desktop heading and equal, uncropped 4:3 client photos. */
html body.page-productores-asesores main#contenido .pas-client-story__head {
  grid-template-columns: 1fr !important;
}

html body.page-productores-asesores main#contenido .pas-client-story__head h3 {
  width: 100% !important;
  max-width: none !important;
  white-space: nowrap !important;
}

html body.page-productores-asesores main#contenido .pas-client-story__scene > img,
html body.page-productores-asesores main#contenido .pas-client-story__gallery img {
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

html body.page-productores-asesores main#contenido .pas-client-story__gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  overflow: visible !important;
}

html body.page-productores-asesores main#contenido .pas-client-story__gallery figure {
  width: auto !important;
  aspect-ratio: 4 / 3 !important;
}

/* Vida moments: remove the stray rule and center the icon system. */
html body.page-vida main#contenido .atender-vida-moments {
  align-items: stretch !important;
  border-top: 0 !important;
}

html body.page-vida main#contenido .atender-vida-moments::before,
html body.page-vida main#contenido .atender-vida-moments::after { display: none !important; content: none !important; }
html body.page-vida main#contenido .atender-vida-moments .atender-card { text-align: center !important; }
html body.page-vida main#contenido .atender-vida-moments .als-icon-badge {
  display: grid !important;
  place-items: center !important;
  margin-inline: auto !important;
  transform: none !important;
}

/* DDA: supplied image in the hero; preserve and relocate its identity animation. */
html body.page-dda-defensa-legal main#contenido .als-hero-back .dda-hero-picture,
html body.page-dda-defensa-legal main#contenido .als-hero-back .dda-hero-picture img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.page-dda-defensa-legal main#contenido .als-hero-back .dda-hero-picture img {
  object-fit: cover !important;
  object-position: 56% 50% !important;
}

html body.page-dda-defensa-legal main#contenido .dda-essay {
  display: grid !important;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr) !important;
  gap: 1rem clamp(2rem, 5vw, 4rem) !important;
  align-items: center !important;
}

html body.page-dda-defensa-legal main#contenido .dda-essay > h2 { grid-column: 1 / -1 !important; }
html body.page-dda-defensa-legal main#contenido .dda-identity-visual {
  grid-column: 1 !important;
  grid-row: 2 / span 2 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 1rem !important;
  border-radius: 1rem !important;
  background: #172636 !important;
  color: #fff !important;
}

html body.page-dda-defensa-legal main#contenido .dda-identity-visual figcaption {
  margin-bottom: 0.65rem !important;
  color: #fff !important;
  font-weight: 700 !important;
}

html body.page-dda-defensa-legal main#contenido .dda-identity-visual :is(.atender-context-visual--dda-defensa-legal, .als-hero-map) {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  min-height: 10rem !important;
  transform: none !important;
}

@media (max-width: 68rem) {
  html body.page-contacto main#contenido :is(.contacto-main, .contacto-form-section) { grid-template-columns: 1fr !important; }
  html body.page-contacto main#contenido .contacto-assistance__numbers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body.page-dda-defensa-legal main#contenido .dda-essay { grid-template-columns: 1fr !important; }
  html body.page-dda-defensa-legal main#contenido .dda-identity-visual { grid-column: 1 !important; grid-row: auto !important; }
}

@media (min-width: 68.01rem) {
  html body.page-vida.atender-internal-hero-system-v13 main#contenido .als-hero .atender-hero-title {
    grid-column: 1 / -1 !important;
    width: min(52rem, 100%) !important;
    font-size: 2.35rem !important;
  }
  html body.page-vida.atender-internal-hero-system-v13 main#contenido .als-hero .atender-hero-title > .als-hero-line {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
}

/* Final cascade: shared internal hero scale and photo contrast. */
html body { --atender-internal-hero-title-size: clamp(2.3rem, 2.7vw, 2.41rem); }

html body:not(.page-inicio) main#contenido :is(.als-hero, .nos-hero, .pas-hero, .contacto-hero, .ar-hero) :is(h1, .atender-hero-title, .als-hero-title, #nos-title) {
  font-size: var(--atender-internal-hero-title-size) !important;
  line-height: 1.03 !important;
}

@media (min-width: 68.01rem) {
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title {
    grid-column: 1 / -1 !important;
    width: min(52rem, 100%) !important;
  }
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title > .als-hero-line {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 68rem) {
  html body { --atender-internal-hero-title-size: clamp(2.05rem, 9vw, 2.4rem); }
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title > .als-hero-line { white-space: normal !important; }
}

html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before {
  background: linear-gradient(90deg, rgba(20, 24, 31, 0.88) 0%, rgba(20, 24, 31, 0.68) 42%, rgba(20, 24, 31, 0.16) 72%, rgba(20, 24, 31, 0) 100%) !important;
}

html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
  object-fit: cover !important;
  object-position: center 42% !important;
}

/* Final critical overrides after every legacy bundle. */
html body main#contenido .dw-faq details > summary > :is(.dw-faq-index, .dw-faq-sequence) {
  display: inline-grid !important;
  place-items: center !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 2.15rem !important;
  height: 2.15rem !important;
  border: 1px solid rgba(20, 97, 44, 0.26) !important;
  border-radius: 50% !important;
  background: #f6f0e6 !important;
  color: #14612c !important;
}
html body.page-salud main#contenido .salud-logos .atender-insurer-grid {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay {
  display: block !important;
  text-align: center !important;
}
html body.page-dda-defensa-legal.atender-landing.atender-internal-hero-system-v13 main#contenido .dda-essay > h2.atender-section-title.wp-block-heading {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual {
  display: block !important;
  width: min(46rem, 100%) !important;
  max-width: 100% !important;
  margin: 1.5rem auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual > figcaption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay .atender-context-visual {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.page-nosotros main#contenido .nos-hero :is(#nos-title, #nos-title .nos-hero-line) {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62) !important;
}
html body.page-nosotros main#contenido .nos-hero #nos-title .nos-hero-line--accent {
  color: #a8dfb4 !important;
}
html body.page-nosotros main#contenido .nos-hero .nos-hero-kicker {
  color: #d9f0de !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65) !important;
}
html body.page-nosotros main#contenido .atender-team .atender-card h3.nos-person-id .nos-person-role {
  color: #b9e6c4 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

html body.page-dda-defensa-legal main#contenido .dda-essay > h2 {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #272a34 !important;
}

/* Contact heading shares the internal scale and cannot enter the form column. */
html body.page-contacto main#contenido .contacto-title {
  max-width: 100% !important;
  font-size: var(--atender-internal-hero-title-size) !important;
  line-height: 1.03 !important;
  overflow-wrap: anywhere !important;
}

/* Every FAQ uses one explicit grid row; the JS wrapper prevents text-node auto-placement. */
html body main#contenido .dw-faq details > summary {
  grid-template-columns: 2.2rem minmax(0, 1fr) 2.75rem !important;
  grid-template-rows: auto !important;
  grid-auto-flow: column !important;
  grid-auto-rows: auto !important;
  min-height: 4.85rem !important;
  height: auto !important;
}
html body main#contenido .dw-faq details > summary > :is(.dw-faq-index, .dw-faq-sequence) {
  display: inline-grid !important;
  place-items: center !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 2.15rem !important;
  height: 2.15rem !important;
  border: 1px solid rgba(20, 97, 44, 0.26) !important;
  border-radius: 50% !important;
  background: #f6f0e6 !important;
  color: #14612c !important;
}
html body main#contenido .dw-faq details > summary > .dw-faq-question {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}
html body main#contenido .dw-faq details > summary::after {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

/* Salud insurer marks: no cards, quiet by default, colour on intent. */
html body.page-salud main#contenido .salud-logos .atender-insurer {
  display: grid !important;
  place-items: center !important;
  min-width: 0 !important;
  min-height: 4.75rem !important;
  padding: 0.6rem 0.8rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-salud main#contenido .salud-logos .atender-insurer-grid {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-salud main#contenido .salud-logos .atender-insurer img {
  display: block !important;
  width: min(8.5rem, 100%) !important;
  height: 3rem !important;
  object-fit: contain !important;
  filter: grayscale(1) !important;
  opacity: 0.64 !important;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease !important;
}
html body.page-salud main#contenido .salud-logos .atender-insurer:is(:hover, :focus-within) img {
  filter: grayscale(0) !important;
  opacity: 1 !important;
  transform: translateY(-1px) !important;
}
@media (hover: none) {
  html body.page-salud main#contenido .salud-logos .atender-insurer img {
    filter: grayscale(0) !important;
    opacity: 1 !important;
  }
}
@media (max-width: 47.99rem) {
  html body main#contenido .dw-faq details > summary {
    grid-template-columns: 1.85rem minmax(0, 1fr) 2.6rem !important;
    min-height: 4.4rem !important;
  }
  html body.page-salud main#contenido .salud-logos .atender-insurer {
    min-height: 4rem !important;
    padding: 0.45rem !important;
  }
}

/* DDA explanation: one centered, unboxed visual beneath its own heading. */
html body.page-dda-defensa-legal main#contenido .dda-essay {
  display: block !important;
  text-align: center !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > h2 {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual {
  display: block !important;
  width: min(46rem, 100%) !important;
  max-width: 100% !important;
  margin: 1.5rem auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual > figcaption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay .atender-context-visual {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* One shared scale for equivalent internal-page hero headings. */
html body {
  --atender-internal-hero-title-size: clamp(2.3rem, 2.7vw, 2.41rem);
}

html body:not(.page-inicio) main#contenido :is(.als-hero, .nos-hero, .pas-hero, .contacto-hero, .ar-hero) :is(h1, .atender-hero-title, .als-hero-title, #nos-title) {
  font-size: var(--atender-internal-hero-title-size) !important;
  line-height: 1.03 !important;
}

@media (min-width: 68.01rem) {
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title {
    width: min(52rem, 100%) !important;
  }

  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title > .als-hero-line {
    display: block !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 68rem) {
  html body { --atender-internal-hero-title-size: clamp(2.05rem, 9vw, 2.4rem); }
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title > .als-hero-line {
    white-space: normal !important;
  }
}

/* Readable photo hero without destructive image retouching. */
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before {
  background: linear-gradient(90deg, rgba(20, 24, 31, 0.88) 0%, rgba(20, 24, 31, 0.68) 42%, rgba(20, 24, 31, 0.16) 72%, rgba(20, 24, 31, 0) 100%) !important;
}

html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
  object-fit: cover !important;
  object-position: center 42% !important;
}

html body:is(.page-vida, .page-salud) main#contenido .als-hero { padding-top: max(1rem, var(--wp--preset--spacing--20, 1rem)) !important; }

html body:is(.page-vida, .page-salud) main#contenido .als-hero .als-hero-product-logo {
  align-self: start !important;
  margin-top: 1rem !important;
  transform: none !important;
}

@media (max-width: 43.74rem) {
  html body:is(.page-vida, .page-salud) main#contenido .als-hero-product-logo { width: min(13rem, 68vw) !important; }
  html body main#contenido .dw-faq details > summary { grid-template-columns: 1.85rem minmax(0, 1fr) 2.6rem !important; gap: 0.6rem !important; padding: 0.72rem 0.7rem !important; }
  html body main#contenido .dw-faq details > summary::after { grid-column: 3 !important; width: 2.6rem !important; height: 2.6rem !important; }
  html body main#contenido .dw-faq details > .dw-faq-panel { padding: 0 3.6rem 1.1rem 3.15rem !important; }
  html body.page-contacto main#contenido .contacto-assistance__numbers { grid-template-columns: 1fr !important; }
  html body.page-productores-asesores main#contenido .pas-client-story__head h3 { white-space: normal !important; }
  html body.page-productores-asesores main#contenido .pas-client-story__gallery { grid-template-columns: 1fr !important; }
  html body.page-nosotros main#contenido .nos-hero-back img { object-position: 58% 52% !important; }
  html body.page-dda-defensa-legal main#contenido .als-hero-back .dda-hero-picture img { object-position: 51% 50% !important; }
}

@media (hover: none) {
  html body.page-contacto main#contenido .contacto-assistance__logo img { filter: grayscale(0) !important; opacity: 1 !important; }
}

html body.page-inicio main#contenido .home-hero-title {
  z-index: 2 !important;
  grid-column: 1 / 8 !important;
  grid-row: 2 !important;
  font-size: clamp(3rem, 4.35vw, 4.6rem) !important;
}

html body.page-inicio main#contenido .home-hero-line,
html body.page-inicio main#contenido .home-hero-line:nth-child(2),
html body.page-inicio main#contenido .home-hero-line--resolve {
  max-width: 100% !important;
  margin-left: 0 !important;
  white-space: normal !important;
}

html body.page-inicio main#contenido .home-hero-meta {
  grid-column: 1 / 7 !important;
  grid-row: 3 !important;
}

html body.page-inicio main#contenido .home-hero-signoff {
  grid-column: 1 / 6 !important;
  grid-row: 4 !important;
}

html body.page-inicio main#contenido .home-hero-rule {
  grid-column: 1 / -1 !important;
  grid-row: 5 !important;
}

@media (max-width: 68rem) {
  html body.page-inicio main#contenido .home-hero-frame {
    grid-template-rows: auto auto auto auto auto !important;
  }

  html body.page-inicio main#contenido .home-hero-media {
    grid-column: 7 / -1 !important;
    grid-row: 3 / 5 !important;
    align-self: stretch !important;
  }

  html body.page-inicio main#contenido .home-hero-title {
    grid-column: 1 / -1 !important;
    font-size: clamp(2.8rem, 7.2vw, 4.5rem) !important;
  }

  html body.page-inicio main#contenido .home-hero-meta {
    grid-column: 1 / 7 !important;
  }

  html body.page-inicio main#contenido .home-hero-signoff {
    grid-column: 1 / 6 !important;
  }
}

/* Nosotros hero: supplied photo stays complete in its own right-hand field. */
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
  grid-template-columns: minmax(18rem, .78fr) minmax(0, 1.22fr) !important;
  grid-template-rows: auto auto auto !important;
  gap: .5rem clamp(1rem, 2.5vw, 2.25rem) !important;
  min-height: 0 !important;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) !important;
}
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 auto 0 0 !important;
  width: 54% !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 72%, rgba(255,255,255,0) 100%) !important;
}
html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
  position: relative !important;
  z-index: 0 !important;
  inset: auto !important;
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: center !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}
html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-kicker, #nos-title, .nos-hero-sign) {
  position: relative !important;
  z-index: 2 !important;
  grid-column: 1 !important;
}

@media (max-width: 60rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before {
    display: none !important;
  }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }
}

/* DDA desktop authority: one full-bleed photo hero and a clean two-column explainer. */
@media (min-width: 64rem) {
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-columns: minmax(0, 31rem) minmax(0, 1fr) !important;
    align-content: center !important;
    width: calc(100vw + 1rem) !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2914 / 976 !important;
    margin-inline: -.5rem !important;
    padding: 2rem max(calc((100vw - 76rem) / 2), 2rem) !important;
    overflow: hidden !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
    background-color: #10131c !important;
    background-image:
      linear-gradient(90deg, rgba(16,19,28,.99) 0%, rgba(16,19,28,.94) 22%, rgba(16,19,28,.66) 31%, rgba(16,19,28,.18) 39%, rgba(16,19,28,0) 46%),
      url("../img/heroes/hero-dda-foto-top.jpg") !important;
    background-repeat: no-repeat !important;
    background-position: center, center !important;
    background-size: 100% 100%, 100% auto !important;
  }
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo > .als-hero-back,
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo > .dda-mark {
    display: none !important;
  }
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo > :not(.als-hero-back, .dda-mark) {
    position: relative !important;
    z-index: 2 !important;
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 31rem !important;
  }
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo :is(.atender-internal-eyebrow, .atender-hero-title, .atender-lead) {
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.42) !important;
  }
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo .als-hero-line--accent {
    color: #8bc59a !important;
  }

  html body.page-dda-defensa-legal main#contenido .dda-essay {
    display: grid !important;
    grid-template-columns: minmax(24rem, .92fr) minmax(28rem, 1.08fr) !important;
    grid-template-rows: auto 1fr !important;
    gap: .8rem clamp(3rem, 6vw, 6.5rem) !important;
    align-items: start !important;
    padding-block: clamp(3.5rem, 6vw, 5.5rem) !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    width: 100% !important;
    min-height: 20rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual > figcaption {
    display: none !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay .atender-context-visual {
    width: 100% !important;
    height: 20rem !important;
    min-height: 20rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay > h2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin: 0 0 .45rem !important;
    text-align: left !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay > p:nth-of-type(1),
  html body.page-dda-defensa-legal main#contenido .dda-essay > p:nth-of-type(2) {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 39rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay > p:nth-of-type(1) {
    grid-row: 1 !important;
    font-size: 1.08rem !important;
    line-height: 1.65 !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay > p:nth-of-type(2) {
    grid-row: 2 !important;
    margin-top: 1rem !important;
    padding-top: 1.15rem !important;
    border-top: 1px solid rgba(39,52,58,.18) !important;
    line-height: 1.7 !important;
  }
}

/* FINAL SERVED AUTHORITY — keep this block at physical EOF. */
@media (min-width: 43.75rem) {
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero {
    width: calc(100vw + 1rem) !important;
    max-width: none !important;
    margin-inline: -.5rem !important;
  }
}

@media (min-width: 60.01rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.272fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: center !important;
    width: calc(100vw + 1rem) !important;
    max-width: none !important;
    height: 30rem !important;
    min-height: 30rem !important;
    aspect-ratio: auto !important;
    margin-inline: -.5rem !important;
    padding: 1rem max(calc((100vw - 76rem) / 2), 2rem) 1.5rem !important;
    gap: .68rem 2.5rem !important;
    overflow: hidden !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
    background-color: #eef7f1 !important;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(231,247,250,.80) 50%, rgba(231,247,250,.20) 69%, rgba(255,255,255,0) 84%),
      url("../../../../mu-plugins/atender-nosotros/media/nosotros-hero-a-1920.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after,
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
    display: none !important;
    content: none !important;
  }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) { display: contents !important; }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-kicker, #nos-title, .atender-nosotros-hero-actions, .nos-hero-sign) {
    position: relative !important;
    z-index: 2 !important;
    grid-column: 1 !important;
    max-width: 24rem !important;
  }
  html body.page-nosotros main#contenido .nos-hero #nos-title { font-size: 2.41rem !important; line-height: 1.03 !important; }
}

@media (max-width: 60rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 2.5rem 1.25rem 2rem !important;
    gap: 1rem !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after { display: none !important; content: none !important; }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) { display: contents !important; }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-kicker { grid-column: 1 !important; grid-row: 1 !important; }
  html body.page-nosotros main#contenido .nos-hero #nos-title {
    grid-column: 1 !important;
    grid-row: 2 !important;
    max-width: 22rem !important;
    font-size: 2.41rem !important;
    line-height: 1.03 !important;
  }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2854 / 964 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  html body.page-nosotros main#contenido .nos-hero .atender-nosotros-hero-actions { grid-column: 1 !important; grid-row: 4 !important; }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-sign { grid-column: 1 !important; grid-row: 5 !important; }
}

@media (max-width: 43.74rem) {
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero {
    background-position: center, center bottom !important;
    background-size: 100% 100%, 100% auto !important;
  }
}

/* Physical EOF authority — full-width Home at wide viewports. */
@media (min-width: 43.75rem) {
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero {
    width: calc(100vw + 1rem) !important;
    max-width: none !important;
    margin-inline: -.5rem !important;
  }
}

/* Physical EOF authority — supplied Nosotros photo. */
@media (min-width: 60.01rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.272fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: center !important;
    width: calc(100vw + 1rem) !important;
    max-width: none !important;
    height: 30rem !important;
    min-height: 30rem !important;
    aspect-ratio: auto !important;
    margin-inline: -.5rem !important;
    padding: 1rem max(calc((100vw - 76rem) / 2), 2rem) 1.5rem !important;
    gap: .68rem 2.5rem !important;
    overflow: hidden !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
    background-color: #eef7f1 !important;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(231,247,250,.80) 50%, rgba(231,247,250,.20) 69%, rgba(255,255,255,0) 84%),
      url("../../../../mu-plugins/atender-nosotros/media/nosotros-hero-a-1920.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after,
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
    display: none !important;
    content: none !important;
  }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) {
    display: contents !important;
  }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-kicker, #nos-title, .atender-nosotros-hero-actions, .nos-hero-sign) {
    position: relative !important;
    z-index: 2 !important;
    grid-column: 1 !important;
    max-width: 24rem !important;
  }
  html body.page-nosotros main#contenido .nos-hero #nos-title {
    font-size: 2.41rem !important;
    line-height: 1.03 !important;
  }
}

@media (max-width: 60rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 2.5rem 1.25rem 2rem !important;
    gap: 1rem !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after {
    display: none !important;
    content: none !important;
  }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) {
    display: contents !important;
  }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-kicker { grid-column: 1 !important; grid-row: 1 !important; }
  html body.page-nosotros main#contenido .nos-hero #nos-title {
    grid-column: 1 !important;
    grid-row: 2 !important;
    max-width: 22rem !important;
    font-size: 2.41rem !important;
    line-height: 1.03 !important;
  }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2854 / 964 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  html body.page-nosotros main#contenido .nos-hero .atender-nosotros-hero-actions { grid-column: 1 !important; grid-row: 4 !important; }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-sign { grid-column: 1 !important; grid-row: 5 !important; }
}

/* Served authority: Nosotros reuses the same full-field hero language as
   Vida/Salud. The supplied photograph is 2.96:1, effectively the desktop
   hero ratio, so it can fill the field without sacrificing a face. */
@media (min-width: 60.01rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.272fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: center !important;
    width: calc(100% + 1rem) !important;
    max-width: 90rem !important;
    height: 30rem !important;
    min-height: 30rem !important;
    aspect-ratio: auto !important;
    margin-inline: -.5rem !important;
    padding: 1rem max(calc((100vw - 76rem) / 2), 2rem) 1.5rem !important;
    gap: .68rem 2.5rem !important;
    overflow: hidden !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
    background-color: #eef7f1 !important;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(231,247,250,.80) 50%, rgba(231,247,250,.20) 69%, rgba(255,255,255,0) 84%),
      url("../../../../mu-plugins/atender-nosotros/media/nosotros-hero-a-1920.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after,
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
    display: none !important;
    content: none !important;
  }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) {
    display: contents !important;
  }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-kicker, #nos-title, .atender-nosotros-hero-actions, .nos-hero-sign) {
    position: relative !important;
    z-index: 2 !important;
    grid-column: 1 !important;
    max-width: 24rem !important;
  }
  html body.page-nosotros main#contenido .nos-hero #nos-title {
    font-size: 2.41rem !important;
    line-height: 1.03 !important;
  }
}

@media (max-width: 60rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 2.5rem 1.25rem 2rem !important;
    gap: 1rem !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after {
    display: none !important;
    content: none !important;
  }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) {
    display: contents !important;
  }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-kicker { grid-row: 1 !important; }
  html body.page-nosotros main#contenido .nos-hero #nos-title {
    grid-row: 2 !important;
    max-width: 22rem !important;
    font-size: 2.41rem !important;
    line-height: 1.03 !important;
  }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2854 / 964 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  html body.page-nosotros main#contenido .nos-hero .atender-nosotros-hero-actions { grid-row: 4 !important; }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-sign { grid-row: 5 !important; }
}

/* Home uses the exact internal-hero composition from Vida/Salud: one
   full-bleed background field, the same lateral wash, grid, type and rhythm. */
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.272fr) minmax(0, 1fr) !important;
  grid-template-rows: 5.13475rem 8.147rem 3.957rem 2.9995rem 1.4rem !important;
  gap: .68rem 2.5rem !important;
  width: calc(100% + 1rem) !important;
  max-width: 90rem !important;
  height: 30rem !important;
  min-height: 30rem !important;
  margin-inline: -.5rem !important;
  padding: 1rem max(calc((100vw - 76rem) / 2), 2rem) 1.5rem !important;
  overflow: hidden !important;
  border-radius: 0 0 1.25rem 1.25rem !important;
  background-color: #eef7f1 !important;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(231,247,250,.80) 50%, rgba(231,247,250,.20) 69%, rgba(255,255,255,0) 84%),
    var(--atender-cms-header-image, url("../img/heroes/hero-pyme-atender-1920.jpg")) !important;
  background-repeat: no-repeat !important;
  background-position: center, 50% 20% !important;
  background-size: 100% 100%, cover !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-frame,
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-meta {
  display: contents !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-frame::before,
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-media,
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-rule {
  display: none !important;
  content: none !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero :is(.home-hero-kicker,.home-hero-title,.home-hero-meta>p,.home-hero-signoff) {
  position: relative !important;
  z-index: 3 !important;
  grid-column: 1 !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-kicker {
  grid-row: 1 !important;
  align-self: end !important;
  margin: 0 0 1.25rem !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-title {
  grid-row: 2 !important;
  width: 21.3rem !important;
  max-width: 21.3rem !important;
  margin: 0 0 .7rem !important;
  font-size: 2.41rem !important;
  line-height: 1.03 !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-meta > p:first-child {
  grid-row: 3 !important;
  align-self: start !important;
  width: 34rem !important;
  max-width: 34rem !important;
  margin: 0 0 .85rem !important;
  font-size: 1.05rem !important;
  line-height: 1.48 !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-meta > p:last-child {
  grid-row: 4 !important;
  align-self: start !important;
  margin: .1rem 0 0 !important;
}
html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-signoff {
  grid-row: 5 !important;
  align-self: center !important;
  margin: 0 !important;
}

@media (max-width: 43.74rem) {
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: 4.13rem auto auto auto 1.4rem !important;
    gap: .68rem !important;
    width: calc(100% + 1rem) !important;
    height: auto !important;
    min-height: 33.25rem !important;
    margin-inline: -.5rem !important;
    padding: 1rem 1.21875rem 1.5rem !important;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 58%, rgba(231,247,250,.74) 78%, rgba(231,247,250,.36) 100%),
      var(--atender-cms-header-image, url("../img/heroes/hero-pyme-atender-960.jpg")) !important;
    background-position: center, 58% 20% !important;
    background-size: 100% 100%, cover !important;
  }
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-title {
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 21.3rem !important;
    font-size: 2.41rem !important;
    line-height: 1.03 !important;
  }
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-meta > p:first-child {
    grid-row: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-meta > p:last-child {
    grid-row: 4 !important;
  }
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero .home-hero-signoff {
    grid-row: 5 !important;
  }
}

/* WordPress lazy-image containment must not replace the intrinsic photo ratio. */
html body.page-nosotros main#contenido .nos-history .atender-hito img.timeline-media {
  contain: none !important;
  contain-intrinsic-size: auto !important;
  aspect-ratio: 884 / 738 !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Home hero follows the internal-hero scale while preserving every photo pixel. */
@media (min-width: 68.01rem) {
  html body.page-inicio main#contenido .home-hero-frame {
    min-height: 37.5rem !important;
  }
  html body.page-inicio main#contenido .home-hero-frame::before {
    width: 52% !important;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 68%, rgba(255,255,255,0) 100%) !important;
  }
  html body.page-inicio main#contenido .home-hero-media {
    grid-column: 6 / -1 !important;
    grid-row: 1 / 6 !important;
    justify-self: end !important;
    align-self: start !important;
    width: calc(100% + 7rem) !important;
  }
  html body.page-inicio main#contenido .home-hero-title {
    grid-column: 1 / 6 !important;
    width: 100% !important;
    max-width: 31rem !important;
    font-size: clamp(2.15rem, 3.6vw, 3.35rem) !important;
    line-height: .98 !important;
  }
}

/* One shared visual container for the three Home proof resources. */
html body.page-inicio main#contenido .home-proof-list > li .home-proof-icon {
  display: grid !important;
  place-items: center !important;
  width: 5.25rem !important;
  height: 5.25rem !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(20,97,44,.22) !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 .45rem 1.2rem rgba(39,42,52,.08) !important;
}
html body.page-inicio main#contenido .home-proof-list > li .home-proof-icon img {
  width: 3.25rem !important;
  height: 3.25rem !important;
  object-fit: contain !important;
  transform: none !important;
}
html body.page-inicio main#contenido .home-proof-list > li:nth-child(3) .home-proof-icon img {
  width: 4rem !important;
  height: 4rem !important;
}

@media (max-width: 43.74rem) {
  html body.page-inicio main#contenido .home-hero {
    min-height: 0 !important;
  }

  html body.page-inicio main#contenido .home-hero-frame {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto auto auto !important;
    gap: 1.15rem !important;
    padding-block: 2.5rem 2rem !important;
  }

  html body.page-inicio main#contenido .home-hero-kicker,
  html body.page-inicio main#contenido .home-hero-title,
  html body.page-inicio main#contenido .home-hero-media,
  html body.page-inicio main#contenido .home-hero-meta,
  html body.page-inicio main#contenido .home-hero-signoff,
  html body.page-inicio main#contenido .home-hero-rule {
    grid-column: 1 !important;
  }

  html body.page-inicio main#contenido .home-hero-kicker { grid-row: 1 !important; }

  html body.page-inicio main#contenido .home-hero-title {
    grid-row: 2 !important;
    font-size: clamp(2.35rem, 11vw, 3.3rem) !important;
  }

  html body.page-inicio main#contenido .home-hero-media {
    grid-row: 3 !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  html body.page-inicio main#contenido .home-hero-meta { grid-row: 4 !important; }
  html body.page-inicio main#contenido .home-hero-signoff { grid-row: 5 !important; }
  html body.page-inicio main#contenido .home-hero-rule { grid-row: 6 !important; }
}

/* Editorial search sits on the same measure as the portals and filters. */
html body.page-blog main#contenido .atender-editorial-search {
  width: min(calc(100% - 2rem), 78rem) !important;
  margin: 1rem auto clamp(2rem, 4vw, 3.5rem) !important;
  padding: clamp(1rem, 2.4vw, 1.5rem) !important;
  border: 1px solid rgba(20, 97, 44, 0.2) !important;
  border-radius: 1rem !important;
  background: #fffdf8 !important;
  box-shadow: 0 1rem 2.4rem rgba(39, 42, 52, 0.08) !important;
}

html body.page-blog main#contenido .atender-editorial-search__form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.34fr) auto !important;
  gap: 0.75rem !important;
  align-items: end !important;
}

html body.page-blog main#contenido .atender-editorial-search__form label {
  display: grid !important;
  gap: 0.4rem !important;
  min-width: 0 !important;
  color: #272a34 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

html body.page-blog main#contenido .atender-editorial-search__input { position: relative !important; display: block !important; }
html body.page-blog main#contenido .atender-editorial-search__input .atender-ui-icon {
  position: absolute !important;
  top: 50% !important;
  left: 0.9rem !important;
  width: 1.2rem !important;
  height: 1.2rem !important;
  color: #14612c !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

html body.page-blog main#contenido .atender-editorial-search :is(input, select) {
  width: 100% !important;
  min-height: 3rem !important;
  border: 1px solid rgba(39, 42, 52, 0.24) !important;
  border-radius: 0.65rem !important;
  background: #fff !important;
  color: #272a34 !important;
  font: inherit !important;
}

html body.page-blog main#contenido .atender-editorial-search input { padding: 0.7rem 0.85rem 0.7rem 2.75rem !important; }
html body.page-blog main#contenido .atender-editorial-search select { padding: 0.7rem 2rem 0.7rem 0.85rem !important; }
html body.page-blog main#contenido .atender-editorial-search :is(input, select):focus-visible { outline: 3px solid #7abf62 !important; outline-offset: 2px !important; }
html body.page-blog main#contenido .atender-editorial-search__status { margin: 0.85rem 0 0 !important; color: rgba(39, 42, 52, 0.72) !important; font-size: 0.82rem !important; }
html body.page-blog main#contenido .atender-editorial-search__results { display: grid !important; gap: 0.7rem !important; margin-top: 0.85rem !important; }
html body.page-blog main#contenido .atender-editorial-result {
  display: grid !important;
  grid-template-columns: 8rem minmax(0, 1fr) !important;
  gap: 1rem !important;
  align-items: center !important;
  padding: 0.75rem !important;
  border: 1px solid rgba(39, 42, 52, 0.12) !important;
  border-radius: 0.75rem !important;
  background: #fff !important;
}

html body.page-blog main#contenido .atender-editorial-result:not(:has(img)) { grid-template-columns: 1fr !important; padding-left: 1rem !important; }
html body.page-blog main#contenido .atender-editorial-result img { display: block !important; width: 8rem !important; height: 5rem !important; border-radius: 0.5rem !important; object-fit: cover !important; }
html body.page-blog main#contenido .atender-editorial-result span { color: #14612c !important; font-size: 0.68rem !important; font-weight: 700 !important; text-transform: uppercase !important; }
html body.page-blog main#contenido .atender-editorial-result h3 { margin: 0.15rem 0 0.25rem !important; font-size: 1.05rem !important; }
html body.page-blog main#contenido .atender-editorial-result p { margin: 0 !important; font-size: 0.86rem !important; }
html body.page-blog main#contenido .atender-editorial-search__empty { margin: 0 !important; padding: 1rem !important; border-radius: 0.7rem !important; background: #f6f0e6 !important; }

/* Single-note metadata and related cards reuse the archive component language. */
html body.single-post main#contenido .atender-single-hero h1 { max-width: 18ch !important; text-wrap: balance !important; }
html body.single-post main#contenido .atender-article-meta :is(.atender-article-hero__author, time) { display: inline-flex !important; align-items: center !important; gap: 0.35rem !important; }
html body.single-post main#contenido .atender-article-meta .atender-ui-icon { width: 1rem !important; height: 1rem !important; }
html body.single-post main#contenido .atender-single-related__inner { width: min(calc(100% - 2rem), 78rem) !important; margin-inline: auto !important; }
html body.single-post main#contenido .atender-single-related-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1rem !important; }
html body.single-post main#contenido .atender-single-related .atender-archive-card__byline { display: flex !important; flex-wrap: wrap !important; gap: 0.45rem 0.7rem !important; }

@media (max-width: 48rem) {
  html body.page-blog main#contenido .atender-editorial-search__form { grid-template-columns: 1fr !important; }
  html body.page-blog main#contenido .atender-editorial-search__form .atender-btn { width: 100% !important; }
  html body.page-blog main#contenido .atender-editorial-result { grid-template-columns: 5.5rem minmax(0, 1fr) !important; }
  html body.page-blog main#contenido .atender-editorial-result img { width: 5.5rem !important; height: 4.25rem !important; }
  html body.single-post main#contenido .atender-single-related-grid { grid-template-columns: 1fr !important; }
}

/* Final hero geometry after published responsive review. */
html body.page-inicio main#contenido .home-hero-media img { object-fit: contain !important; }

html body:is(.page-vida, .page-salud) main#contenido .als-hero-product-logo {
  width: clamp(8rem, 11vw, 10rem) !important;
  max-width: 100% !important;
  max-height: 3rem !important;
  overflow: visible !important;
  object-fit: contain !important;
  object-position: left center !important;
}

html body:is(.page-vida, .page-salud) main#contenido .als-hero-title {
  width: min(72rem, 88vw) !important;
  max-width: none !important;
  font-size: clamp(2.4rem, 3.35vw, 3.15rem) !important;
  line-height: 1.02 !important;
}

@media (min-width: 68.01rem) {
  html body.page-vida main#contenido .als-hero-title .als-hero-line { white-space: nowrap !important; }
}

@media (max-width: 43.74rem) {
  html body.page-inicio main#contenido .home-hero-title {
    max-width: 100% !important;
    font-size: clamp(2.15rem, 9.6vw, 2.55rem) !important;
    letter-spacing: -0.052em !important;
  }
  html body:is(.page-vida, .page-salud) main#contenido .als-hero-product-logo {
    width: 8rem !important;
    max-height: 2.5rem !important;
  }
  html body:is(.page-vida, .page-salud) main#contenido .als-hero-title {
    width: 100% !important;
    font-size: clamp(2.05rem, 9.5vw, 2.5rem) !important;
  }
}

@media (hover: none) {
  html body.page-contacto main#contenido img.contacto-assistance__logo { filter: grayscale(0) !important; opacity: 1 !important; }
}

/* DDA hero uses separate copy/media areas so neither subject is covered. */
html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo {
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr) !important;
  grid-template-rows: auto auto auto auto auto !important;
  gap: 0.65rem clamp(1.5rem, 4vw, 4rem) !important;
  align-items: center !important;
}

html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo > :not(.als-hero-back) { grid-column: 1 !important; }
html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo > .als-hero-back {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  grid-column: 2 !important;
  grid-row: 1 / -1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1264 / 832 !important;
  overflow: hidden !important;
  border-radius: 1rem !important;
  opacity: 1 !important;
}

html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo > .als-hero-back :is(picture, img) {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 68rem) {
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo { grid-template-columns: 1fr !important; }
  html body.page-dda-defensa-legal main#contenido .als-hero.als-hero--photo > .als-hero-back {
    grid-column: 1 !important;
    grid-row: 6 !important;
    margin-top: 0.75rem !important;
  }
}

html body:is(.page-vida, .page-salud) main#contenido .als-hero .als-hero-product-logo {
  align-self: start !important;
  margin-top: 1rem !important;
  transform: none !important;
}

@media (min-width: 68.01rem) {
  html body.page-vida.atender-internal-hero-system-v13 main#contenido .als-hero .als-hero-title {
    grid-column: 1 / 10 !important;
    width: min(52rem, 100%) !important;
    font-size: 2.35rem !important;
  }
  html body.page-vida.atender-internal-hero-system-v13 main#contenido .als-hero .als-hero-title > .als-hero-line {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
}

html body:is(.page-vida, .page-salud) main#contenido .als-hero {
  padding-top: max(1rem, var(--wp--preset--spacing--20, 1rem)) !important;
}

/* Nosotros: preserve the complete supplied photography and restore depth. */
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
  box-shadow: 0 1.25rem 2.75rem -2rem rgba(20, 24, 31, 0.5) !important;
}

html body.page-nosotros main#contenido .atender-team .atender-card figure,
html body.page-nosotros main#contenido .atender-team .atender-card.lead figure {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 960 / 1449 !important;
  margin: 0 0 0.75rem !important;
  overflow: hidden !important;
  background: #e8dfd0 !important;
}

html body.page-nosotros main#contenido .atender-team .atender-card .nos-person-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body.page-nosotros main#contenido .atender-team .atender-card img,
html body.page-nosotros main#contenido .atender-team .atender-card.lead img,
html body.page-nosotros main#contenido .atender-team img.portrait {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: 960 / 1449 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #e8dfd0 !important;
}

html body.page-nosotros main#contenido .atender-team h3.nos-person-id {
  display: grid !important;
  gap: 0.2rem !important;
  margin: 0 !important;
  padding: 0.85rem 0.95rem !important;
  border-radius: 0.75rem !important;
  background: #272a34 !important;
  line-height: 1.2 !important;
}

html body.page-nosotros main#contenido .atender-team .nos-person-name {
  color: #fff !important;
  font-size: clamp(1rem, 1.35vw, 1.18rem) !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
}

html body.page-nosotros main#contenido .atender-team .nos-person-role {
  color: #b9e6c4 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

@media (min-width: 68.01rem) {
  html body.page-vida.atender-internal-hero-system-v13 main#contenido .als-hero .atender-hero-title {
    grid-column: 1 / -1 !important;
    width: min(52rem, 100%) !important;
    font-size: 2.35rem !important;
  }
  html body.page-vida.atender-internal-hero-system-v13 main#contenido .als-hero .atender-hero-title > .als-hero-line {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
}

/* Authoritative final cascade for equivalent internal hero titles. */
html body { --atender-internal-hero-title-size: clamp(2.3rem, 2.7vw, 2.41rem); }
html body:not(.page-inicio) main#contenido :is(.als-hero, .nos-hero, .pas-hero, .contacto-hero, .ar-hero) :is(h1, .atender-hero-title, .als-hero-title, #nos-title) {
  font-size: var(--atender-internal-hero-title-size) !important;
  line-height: 1.03 !important;
}
@media (min-width: 68.01rem) {
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title {
    grid-column: 1 / -1 !important;
    width: min(52rem, 100%) !important;
  }
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title > .als-hero-line {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 68rem) {
  html body { --atender-internal-hero-title-size: clamp(2.05rem, 9vw, 2.4rem); }
  html body:is(.page-vida, .page-salud) main#contenido .als-hero .atender-hero-title > .als-hero-line { white-space: normal !important; }
}
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before {
  background: linear-gradient(90deg, rgba(20, 24, 31, 0.88) 0%, rgba(20, 24, 31, 0.68) 42%, rgba(20, 24, 31, 0.16) 72%, rgba(20, 24, 31, 0) 100%) !important;
}
html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
  object-fit: cover !important;
  object-position: center 42% !important;
}

/* Last-pass overrides; kept after the legacy compatibility cascade. */
html body main#contenido .dw-faq details > summary > :is(.dw-faq-index, .dw-faq-sequence) {
  display: inline-grid !important;
  place-items: center !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 2.15rem !important;
  height: 2.15rem !important;
  border: 1px solid rgba(20, 97, 44, 0.26) !important;
  border-radius: 50% !important;
  background: #f6f0e6 !important;
  color: #14612c !important;
}
html body.page-salud main#contenido .salud-logos .atender-insurer-grid {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr) !important;
  gap: 1rem clamp(1.5rem, 4vw, 3.5rem) !important;
  align-items: center !important;
  text-align: left !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > p {
  display: block !important;
  grid-column: 2 !important;
  margin: 0 !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > h2 {
  grid-column: 1 / -1 !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #272a34 !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual {
  grid-column: 1 !important;
  grid-row: 2 / span 2 !important;
  display: block !important;
  width: min(46rem, 100%) !important;
  max-width: 100% !important;
  margin: 1.5rem auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual > figcaption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay .atender-context-visual {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (max-width: 47.99rem) {
  html body.page-dda-defensa-legal main#contenido .dda-essay {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  html body.page-dda-defensa-legal main#contenido .dda-essay > :is(h2, p, .dda-identity-visual) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

html body.page-dda-defensa-legal.atender-landing.atender-internal-hero-system-v13 main#contenido .dda-essay > h2.atender-section-title.wp-block-heading {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #272a34 !important;
  text-shadow: none !important;
}

/* 2026-09-04 live-review closeout. These rules intentionally sit last. */

/* Home and DDA: preserve every source pixel and keep copy in its own column. */
html body.page-inicio main#contenido .home-hero-media {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
}
html body.page-inicio main#contenido .home-hero-media picture,
html body.page-inicio main#contenido .home-hero-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
}
html body.page-inicio main#contenido .home-proof-list > li:nth-child(3) .home-proof-icon img {
  width: min(9rem, 100%) !important;
  height: 4rem !important;
  object-fit: contain !important;
}
html body.page-dda-defensa-legal main#contenido .als-hero-back {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
}
html body.page-dda-defensa-legal main#contenido .als-hero-back picture,
html body.page-dda-defensa-legal main#contenido .als-hero-back img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .95fr) !important;
  gap: 1rem clamp(1.5rem, 4vw, 3.25rem) !important;
  align-items: start !important;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > h2 {
  margin: 0 auto 1rem !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > .dda-identity-visual {
  align-self: start !important;
  width: min(35rem, 100%) !important;
  margin: 0 auto !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > p {
  align-self: start !important;
  line-height: 1.62 !important;
}

/* Salud: three deliberate stages and one card vocabulary. */
html body.page-salud main#contenido .salud-situations .atender-salud-moments {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(.9rem, 2vw, 1.35rem) !important;
  align-items: stretch !important;
  border: 0 !important;
  background: transparent !important;
}
html body.page-salud main#contenido .salud-situations .atender-salud-moments::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  top: 3.1rem !important;
  left: 15.5% !important;
  right: 15.5% !important;
  height: 2px !important;
  background: linear-gradient(90deg, #14612c, #8bc59a) !important;
}
html body.page-salud main#contenido .salud-situations .als-icon-item {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-rows: auto auto 1fr !important;
  align-content: start !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 1.1rem !important;
  transform: none !important;
  border: 1px solid rgba(39, 42, 52, .13) !important;
  border-radius: 1rem !important;
  background: #fffdf8 !important;
}
html body.page-salud main#contenido .salud-situations .als-icon-badge {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 0 .85rem !important;
}
html body.page-salud main#contenido .salud-know-grid {
  align-items: stretch !important;
  gap: clamp(.9rem, 2vw, 1.25rem) !important;
}
html body.page-salud main#contenido .salud-know-card {
  display: grid !important;
  grid-template-columns: 3rem minmax(0, 1fr) !important;
  gap: .85rem !important;
  align-items: start !important;
  min-height: 100% !important;
  padding: 1.15rem !important;
  border-radius: 1rem !important;
}

/* PAS: compact story intro and FAQ composition shared with Risk/TRO. */
html body.page-productores-asesores main#contenido .pas-client-story {
  padding-top: clamp(2rem, 4vw, 3.5rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}
html body.page-productores-asesores main#contenido .pas-client-story__head {
  display: block !important;
  width: min(50rem, 100%) !important;
  margin: 0 0 1.35rem !important;
  padding: 0 !important;
}
html body.page-productores-asesores main#contenido .pas-client-story__head :is(.pas-eyebrow, h3, p) {
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html body.page-productores-asesores main#contenido .pas-client-story__head h3 { margin-bottom: .65rem !important; }
html body.page-productores-asesores main#contenido .pas-client-story__head > p:last-child {
  max-width: 46rem !important;
  margin-top: 0 !important;
}
html body.page-productores-asesores main#contenido .pas-client-story__scene { margin-top: 0 !important; }
html body.page-productores-asesores main#contenido .pas-faq.dw-faq > .pas-faq-layout {
  display: block !important;
  width: min(calc(100% - 2rem), 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
}
html body.page-productores-asesores main#contenido .pas-faq .pas-faq-title {
  display: block !important;
  width: 100% !important;
  max-width: 52rem !important;
  margin: 0 auto 1.5rem !important;
  padding: 0 !important;
  text-align: center !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-productores-asesores main#contenido .pas-faq .pas-faq-list {
  display: grid !important;
  width: 100% !important;
  max-width: 62rem !important;
  margin: 0 auto !important;
  gap: .65rem !important;
}
html body.page-productores-asesores main#contenido .pas-faq .pas-faq-list details {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid rgba(39, 42, 52, .14) !important;
  border-radius: .85rem !important;
  background: #fffdf8 !important;
  box-shadow: none !important;
}

/* Nosotros: readable hero, untouched portraits, compact lead pairing. */
html body.page-nosotros main#contenido .nos-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  width: min(54rem, 100%) !important;
  padding: clamp(1.1rem, 2.5vw, 2rem) !important;
  border-radius: 1rem !important;
  background: linear-gradient(90deg, rgba(16, 25, 35, .88), rgba(16, 25, 35, .56) 72%, rgba(16, 25, 35, .14)) !important;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .2) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55) !important;
}
html body.page-nosotros main#contenido .nos-team-lead {
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr) !important;
  gap: 1rem 1.25rem !important;
  align-items: start !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .nos-team-group {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  margin: 0 !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .nos-team-opening {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .atender-card.lead {
  grid-column: 2 !important;
  grid-row: 2 !important;
  grid-template-columns: minmax(8.5rem, .46fr) minmax(0, .54fr) !important;
  align-self: start !important;
  margin: 0 !important;
  padding: .85rem !important;
}
html body.page-nosotros main#contenido .atender-team > .atender-card:has(.nos-person-name:first-child) { isolation: isolate !important; }
html body.page-nosotros main#contenido .atender-team > .atender-card:has(.nos-person-name)::before,
html body.page-nosotros main#contenido .atender-team > .atender-card:has(.nos-person-name)::after,
html body.page-nosotros main#contenido .atender-team > .atender-card:first-child::before,
html body.page-nosotros main#contenido .atender-team > .atender-card:first-child::after {
  content: none !important;
  display: none !important;
}

/* Blog search and related-note cards use the archive component verbatim. */
html body.page-blog main#contenido .atender-editorial-search {
  padding: clamp(1.15rem, 2.5vw, 1.75rem) !important;
  border: 1px solid rgba(20, 97, 44, .22) !important;
  border-radius: 1.15rem !important;
  background: linear-gradient(135deg, #fffdf8 0%, #f6f0e6 100%) !important;
  box-shadow: 0 1.1rem 2.6rem rgba(39, 42, 52, .09) !important;
}
html body.page-blog main#contenido .atender-editorial-search__form {
  grid-template-columns: minmax(18rem, 1.45fr) minmax(12rem, .55fr) auto !important;
  gap: .8rem !important;
}
html body.page-blog main#contenido .atender-editorial-search :is(input, select) {
  min-height: 3.25rem !important;
  border-radius: .8rem !important;
}
html body.page-blog main#contenido .atender-editorial-search__form .atender-btn {
  min-height: 3.25rem !important;
  border-radius: .8rem !important;
}
html body.single-post main#contenido .atender-single-related .atender-archive-card,
html body.single-post main#contenido .atender-single-related .atender-archive-card__media,
html body.single-post main#contenido .atender-single-related .atender-archive-card__body,
html body.single-post main#contenido .atender-single-related .atender-archive-card__chip,
html body.single-post main#contenido .atender-single-related .atender-archive-card__byline {
  transform: none !important;
}
html body.single-post main#contenido .atender-single-related .atender-archive-card__chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  border-radius: 999px !important;
}
html body.single-post main#contenido .atender-single-related .atender-archive-card__byline :is(time, .atender-archive-card__author) {
  display: inline-flex !important;
  align-items: center !important;
  gap: .32rem !important;
}
html body.single-post main#contenido .atender-single-related .atender-archive-card__icon {
  display: inline-block !important;
  width: 1rem !important;
  height: 1rem !important;
  flex: 0 0 1rem !important;
}

/* Contact: one compact information panel balanced against the form. */
html body.page-contacto main#contenido .contacto-main__grid {
  grid-template-columns: minmax(21rem, .82fr) minmax(32rem, 1.18fr) !important;
  grid-template-areas: "intro form" "channels form" !important;
  gap: 1rem 2rem !important;
  align-items: stretch !important;
}
html body.page-contacto main#contenido .contacto-main__content { align-self: start !important; }
html body.page-contacto main#contenido .contacto-intro {
  display: grid !important;
  gap: 1rem !important;
}
html body.page-contacto main#contenido .contacto-urgent {
  margin: 0 !important;
  border-radius: 1rem !important;
}
html body.page-contacto main#contenido .contacto-info-cards {
  align-self: start !important;
  grid-template-columns: 1fr !important;
  gap: .55rem !important;
  padding: .7rem !important;
  border-radius: 1rem !important;
}
html body.page-contacto main#contenido .contacto-info-card {
  grid-template-columns: 2.75rem minmax(0, 1fr) !important;
  min-height: 4.75rem !important;
  padding: .75rem .85rem !important;
  border-radius: .8rem !important;
}
html body.page-contacto main#contenido .contacto-info-card__value {
  overflow-wrap: normal !important;
  word-break: normal !important;
}
html body.page-contacto main#contenido .contacto-info-card[href^="mailto:"] .contacto-info-card__value {
  white-space: nowrap !important;
  font-size: clamp(.75rem, 1vw, .9rem) !important;
}
html body.page-contacto main#contenido .contacto-info-card--whatsapp .contacto-info-card__icon { color: #272a34 !important; }

@media (max-width: 63.99rem) {
  html body.page-contacto main#contenido .contacto-main__grid,
  html body.page-nosotros main#contenido .nos-team-lead {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
  }
  html body.page-contacto main#contenido .contacto-main__content,
  html body.page-contacto main#contenido .contacto-info-cards,
  html body.page-contacto main#contenido .contacto-main__aside,
  html body.page-nosotros main#contenido .nos-team-lead > :is(.nos-team-group, .nos-team-opening, .atender-card.lead) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  html body.page-contacto main#contenido .contacto-info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 47.99rem) {
  html body.page-dda-defensa-legal main#contenido .dda-essay { grid-template-columns: 1fr !important; }
  html body.page-salud main#contenido .salud-situations .atender-salud-moments,
  html body.page-salud main#contenido .salud-know-grid { grid-template-columns: 1fr !important; }
  html body.page-salud main#contenido .salud-situations .atender-salud-moments::before { display: none !important; }
  html body.page-salud main#contenido .salud-know-card { grid-template-columns: 2.75rem minmax(0, 1fr) !important; }
  html body.page-blog main#contenido .atender-editorial-search__form { grid-template-columns: 1fr !important; }
  html body.page-contacto main#contenido .contacto-info-cards { grid-template-columns: 1fr !important; }
  html body.page-nosotros main#contenido .nos-hero-copy { padding: 1rem !important; }
  html body.page-nosotros main#contenido .nos-team-lead > .atender-card.lead { grid-template-columns: 1fr !important; }
}

/* Row placement corrections found in the rendered staging review. */
html body.page-dda-defensa-legal main#contenido .dda-essay > p:nth-of-type(1) {
  grid-row: 2 !important;
}
html body.page-dda-defensa-legal main#contenido .dda-essay > p:nth-of-type(2) {
  grid-row: 3 !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .nos-team-opening {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .nos-team-group {
  grid-row: 2 !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .atender-card.lead {
  grid-row: 2 !important;
}
@media (max-width: 63.99rem) {
  html body.page-dda-defensa-legal main#contenido .dda-essay > p,
  html body.page-nosotros main#contenido .nos-team-lead > :is(.nos-team-group, .nos-team-opening, .atender-card.lead) {
    grid-row: auto !important;
  }
}

/* Final Home proof marks: one optical system for all three resources. */
html body.page-inicio main#contenido .home-proof-list > li .home-proof-icon {
  display: grid !important;
  place-items: center !important;
  width: 5.25rem !important;
  height: 5.25rem !important;
  margin-inline: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(20,97,44,.22) !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 .45rem 1.2rem rgba(39,42,52,.08) !important;
}
html body.page-inicio main#contenido .home-proof-list > li .home-proof-icon img {
  display: block !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  object-fit: contain !important;
  object-position: center !important;
}
html body.page-inicio main#contenido .home-proof-list > li:first-child .home-proof-icon img {
  transform: none !important;
}
html body.page-inicio main#contenido .home-proof-list > li:nth-child(3) .home-proof-icon img {
  width: 4rem !important;
  height: 4rem !important;
  transform: none !important;
}

html body.page-nosotros main#contenido .nos-hero #nos-title,
html body.page-nosotros main#contenido .nos-hero #nos-title .nos-hero-line {
  color: #27343a !important;
  text-shadow: none !important;
}
html body.page-nosotros main#contenido .nos-hero #nos-title .nos-hero-line--accent {
  color: #14612c !important;
  text-shadow: none !important;
}

html body.page-dda-defensa-legal main#contenido .dda-essay > p:nth-of-type(1) {
  padding-top: 1.15rem !important;
}
html body.page-contacto main#contenido .contacto-intro {
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
}
html body.page-contacto main#contenido .contacto-intro__copy {
  grid-column: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body.page-contacto main#contenido .contacto-intro__copy :is(.contacto-title, .contacto-lead) {
  width: 100% !important;
  max-width: 28rem !important;
}
html body.page-contacto main#contenido .contacto-title {
  white-space: nowrap !important;
}
html body.page-contacto main#contenido .contacto-urgent {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: none !important;
}

/* User-supplied historical reframes: show the full 884×738 composition. */
html body.page-nosotros main#contenido .atender-timeline img[src*="-reencuadre-"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #101923 !important;
}

/* Nosotros hero: same light photo/gradient language as Vida and Salud. */
html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
  display: none !important;
}
html body.page-nosotros main#contenido .nos-hero-copy {
  width: min(54rem, 100%) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html body.page-nosotros main#contenido .nos-hero :is(h1, .nos-hero-line) {
  color: #27343a !important;
  text-shadow: none !important;
}
html body.page-nosotros main#contenido .nos-hero :is(.nos-kicker, .atender-internal-eyebrow) {
  color: #14612c !important;
  text-shadow: none !important;
}

/* Timeline: every image block follows its source ratio, with no letterboxing. */
html body.page-nosotros main#contenido .nos-history .atender-hito,
html body.page-nosotros main#contenido .nos-history .atender-hito:nth-child(even) {
  min-height: 0 !important;
  align-items: center !important;
}
html body.page-nosotros main#contenido .nos-history .atender-hito > figure {
  align-self: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 884 / 738 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}
html body.page-nosotros main#contenido .nos-history .atender-hito > figure::before {
  content: none !important;
  display: none !important;
}
html body.page-nosotros main#contenido .nos-history .atender-hito > figure img,
html body.page-nosotros main#contenido .nos-history .atender-hito img.timeline-media,
html body.page-nosotros main#contenido .atender-timeline img[src*="-reencuadre-"] {
  display: block !important;
  contain: none !important;
  contain-intrinsic-size: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  transform: none !important;
}
html body.page-nosotros main#contenido .nos-history .nos-hito-copy {
  min-height: 0 !important;
}

/* Team: photo at left; heading and compact Juanjo card share the right column. */
html body.page-nosotros main#contenido .nos-team-lead {
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr) !important;
  grid-template-rows: auto 1fr !important;
  gap: .55rem 1.25rem !important;
  align-items: start !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .nos-team-group {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-self: start !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .nos-team-opening {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .atender-card.lead {
  grid-column: 2 !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: .6rem !important;
  gap: .85rem !important;
}
html body.page-nosotros main#contenido .nos-team-lead > .atender-card.lead figure {
  align-self: start !important;
}

/* Home proof assets: clear generic audit mark and the supplied DDA lockup. */
html body.page-inicio main#contenido .home-proof-list > li .home-proof-icon {
  flex: 0 0 5.25rem !important;
  width: 5.25rem !important;
  height: 5.25rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(20,97,44,.22) !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 .45rem 1.2rem rgba(39,42,52,.08) !important;
}
html body.page-inicio main#contenido .home-proof-list > li:first-child .home-proof-icon {
  width: 5.25rem !important;
  height: 5.25rem !important;
}
html body.page-inicio main#contenido .home-proof-list > li:first-child .home-proof-icon img {
  width: 3.25rem !important;
  height: 3.25rem !important;
  object-fit: contain !important;
}
html body.page-inicio main#contenido .home-proof-list > li:nth-child(3) .home-proof-icon {
  width: 5.25rem !important;
  height: 5.25rem !important;
  max-width: 100% !important;
  border-radius: 50% !important;
  background: #fff !important;
}
html body.page-inicio main#contenido .home-proof-list > li:nth-child(3) .home-proof-icon img {
  width: 4rem !important;
  height: 4rem !important;
  object-fit: contain !important;
}

/* Blog and related notes intentionally share the very same card rules/markup. */
html body:is(.page-blog, .single-post) main#contenido :is(.atender-blog-grid, .atender-single-related-grid) .atender-archive-card__link {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  height: 100% !important;
}
html body:is(.page-blog, .single-post) main#contenido :is(.atender-blog-grid, .atender-single-related-grid) .atender-archive-card__body {
  display: grid !important;
  grid-template-rows: minmax(3.2rem, auto) auto 1fr !important;
  align-content: start !important;
}
html body:is(.page-blog, .single-post) main#contenido :is(.atender-blog-grid, .atender-single-related-grid) .atender-archive-card__byline {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: .4rem .4rem !important;
  align-items: center !important;
  min-height: 1.5rem !important;
  font-size: 1rem !important;
}
html body:is(.page-blog, .single-post) main#contenido :is(.atender-blog-grid, .atender-single-related-grid) .atender-archive-card__byline :is(time, .atender-archive-card__author) {
  display: inline-flex !important;
  align-items: center !important;
  gap: .32rem !important;
  white-space: nowrap !important;
  font-size: inherit !important;
}

@media (max-width: 43.74rem) {
  html body:is(.page-blog, .single-post) main#contenido :is(.atender-blog-grid, .atender-single-related-grid) .atender-archive-card__byline {
    column-gap: .2rem !important;
    font-size: .78rem !important;
  }
}

@media (max-width: 63.99rem) {
  html body.page-nosotros main#contenido .nos-team-lead {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  html body.page-nosotros main#contenido .nos-team-lead > :is(.nos-team-group, .nos-team-opening, .atender-card.lead) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Physical-EOF authority for the supplied Nosotros hero asset. */
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
  display: grid !important;
  grid-template-columns: minmax(18rem, .78fr) minmax(0, 1.22fr) !important;
  grid-template-rows: auto auto auto !important;
  gap: .5rem clamp(1rem, 2.5vw, 2.25rem) !important;
  min-height: 0 !important;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) !important;
  background: #fff !important;
  background-image: none !important;
}
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after {
  display: none !important;
  content: none !important;
}
html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) {
  display: contents !important;
}
html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 auto 0 0 !important;
  width: 54% !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 72%, rgba(255,255,255,0) 100%) !important;
}
html body.page-nosotros main#contenido .nos-hero > .nos-hero-back {
  position: relative !important;
  z-index: 0 !important;
  inset: auto !important;
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: center !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}
html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-kicker, #nos-title, .nos-hero-sign) {
  position: relative !important;
  z-index: 2 !important;
  grid-column: 1 !important;
}
/* FINAL SERVED AUTHORITY — full-width Home and supplied Nosotros photo. */
html body.page-contacto main#contenido .contacto-main__content {
  width: 100% !important;
  padding: 1.5rem !important;
  align-content: start !important;
  border-radius: 1rem !important;
}
html body.page-contacto main#contenido .contacto-intro {
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
}
html body.page-contacto main#contenido .contacto-urgent {
  grid-template-columns: 3rem minmax(0, 1fr) !important;
  align-items: center !important;
}
html body.page-contacto main#contenido .contacto-urgent__icon .atender-icon-wa {
  color: #fff !important;
  fill: currentColor !important;
}
@media (min-width: 64rem) {
  html body.page-nosotros main#contenido .nos-team-section {
    padding-top: 2rem !important;
  }
  html body.page-nosotros main#contenido .nos-team-lead > .nos-team-opening {
    padding: .65rem 1.25rem !important;
    border-radius: .85rem !important;
    background: #27343a !important;
  }
  html body.page-nosotros main#contenido .nos-team-lead > .nos-team-opening :is(h2, p) {
    color: #fff !important;
    text-shadow: none !important;
  }
  html body.page-nosotros main#contenido .nos-team-lead > .nos-team-opening p {
    color: rgba(255,255,255,.82) !important;
  }
}
@media (max-width: 63.99rem) {
  html body.page-contacto main#contenido .contacto-main__content { padding: 1rem !important; }
}
html body main#contenido .atender-reviews__selection-note {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: .75rem 0 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: .82rem !important;
  line-height: 1.45 !important;
}
html body.page-nosotros main#contenido .nos-history .atender-hito > figure img,
html body.page-nosotros main#contenido .nos-history .atender-hito img.timeline-media {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 884 / 738 !important;
  contain: none !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}
@media (max-width: 43.74rem) {
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero {
    background-position: center, center bottom !important;
    background-size: 100% 100%, 100% auto !important;
  }
}
@media (min-width: 43.75rem) {
  html body.page-inicio main#contenido .home-hero.atender-internal-hero.als-hero {
    width: calc(100vw + 1rem) !important;
    max-width: none !important;
    margin-inline: -.5rem !important;
  }
}
@media (min-width: 60.01rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.272fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: center !important;
    width: calc(100vw + 1rem) !important;
    max-width: none !important;
    height: 30rem !important;
    min-height: 30rem !important;
    aspect-ratio: auto !important;
    margin-inline: -.5rem !important;
    padding: 1rem max(calc((100vw - 76rem) / 2), 2rem) 1.5rem !important;
    gap: .68rem 2.5rem !important;
    overflow: hidden !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
    background-color: #eef7f1 !important;
    background-image: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(231,247,250,.80) 50%, rgba(231,247,250,.20) 69%, rgba(255,255,255,0) 84%), url("../../../../mu-plugins/atender-nosotros/media/nosotros-hero-a-1920.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center, center !important;
    background-size: 100% 100%, cover !important;
  }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after,
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back { display: none !important; content: none !important; }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) { display: contents !important; }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-kicker, #nos-title, .atender-nosotros-hero-actions, .nos-hero-sign) { position: relative !important; z-index: 2 !important; grid-column: 1 !important; max-width: 24rem !important; }
  html body.page-nosotros main#contenido .nos-hero #nos-title { font-size: 2.41rem !important; line-height: 1.03 !important; }
}
@media (max-width: 60rem) {
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto auto auto !important; width: 100% !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; padding: 2.5rem 1.25rem 2rem !important; gap: 1rem !important; overflow: hidden !important; background: #fff !important; }
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::before,
  html body.page-nosotros main#contenido .nos-hero.nos-hero--photo::after { display: none !important; content: none !important; }
  html body.page-nosotros main#contenido .nos-hero :is(.nos-hero-grid, .nos-hero-copy) { display: contents !important; }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-kicker { grid-column: 1 !important; grid-row: 1 !important; }
  html body.page-nosotros main#contenido .nos-hero #nos-title { grid-column: 1 !important; grid-row: 2 !important; max-width: 22rem !important; font-size: 2.41rem !important; line-height: 1.03 !important; }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back { position: relative !important; inset: auto !important; display: block !important; grid-column: 1 !important; grid-row: 3 !important; width: 100% !important; height: auto !important; overflow: hidden !important; }
  html body.page-nosotros main#contenido .nos-hero > .nos-hero-back img { display: block !important; width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 2854 / 964 !important; object-fit: contain !important; object-position: center !important; }
  html body.page-nosotros main#contenido .nos-hero .atender-nosotros-hero-actions { grid-column: 1 !important; grid-row: 4 !important; }
  html body.page-nosotros main#contenido .nos-hero .nos-hero-sign { grid-column: 1 !important; grid-row: 5 !important; }
}

@media (min-width: 64rem) {
  html body.page-dda-defensa-legal.atender-landing.atender-internal-hero-system-v13 main#contenido .dda-essay > h2.atender-section-title.wp-block-heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 .45rem !important;
    text-align: left !important;
  }
}
