/* Section 03 — wider, denser business stories with safe text wrapping. */
#ejemplos.examples-section .case-painting {
  padding: 28px 30px 30px !important;
}

#ejemplos.examples-section .case-business {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 8px 11px !important;
  border-radius: 3px !important;
  font: 700 14px/1 Arial, sans-serif !important;
  letter-spacing: .025em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  opacity: 1 !important;
}

#ejemplos.examples-section .case-frame:nth-child(odd) .case-business {
  background: #fffaf6 !important;
  color: #c63d2d !important;
}

#ejemplos.examples-section .case-frame:nth-child(even) .case-business {
  background: #c63d2d !important;
  color: #fffaf6 !important;
}

#ejemplos.examples-section .case-frame[data-theme="black"] .case-painting {
  background: #111111 !important;
  color: #fffaf6 !important;
  border-color: #343434 !important;
  box-shadow: 0 24px 52px rgba(17, 17, 17, .22) !important;
}

#ejemplos.examples-section .case-frame[data-theme="black"] .case-business {
  background: #c63d2d !important;
  color: #fffaf6 !important;
}

#ejemplos.examples-section .case-frame[data-theme="black"] .case-card-top,
#ejemplos.examples-section .case-frame[data-theme="black"] .case-painting > strong,
#ejemplos.examples-section .case-frame[data-theme="black"] .case-copy,
#ejemplos.examples-section .case-frame[data-theme="black"] .case-capabilities {
  color: #fffaf6 !important;
}

#ejemplos.examples-section .case-frame[data-theme="black"] .case-capabilities > div {
  border-color: rgba(255, 250, 246, .22) !important;
}

#ejemplos.examples-section .case-painting > strong {
  margin-top: 16px !important;
  font-size: clamp(28px, 2.35vw, 35px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance !important;
}

#ejemplos.examples-section .case-copy {
  margin-top: 18px !important;
  max-width: 35ch !important;
  font-size: 14px !important;
  line-height: 1.46 !important;
  letter-spacing: -.006em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: pretty !important;
}

#ejemplos.examples-section .case-detail {
  width: min(1460px, 88vw) !important;
  max-width: none !important;
  margin: 44px auto 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(320px, 1.02fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
  text-align: left !important;
}

#ejemplos.examples-section .case-detail > div:first-child,
#ejemplos.examples-section .case-detail .case-data > div {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 24px 26px !important;
  border-radius: 12px !important;
}

#ejemplos.examples-section .case-detail > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  border-left-width: 4px !important;
}

#ejemplos.examples-section .case-detail > div:first-child h3 {
  margin: 10px 0 14px !important;
  max-width: 19ch !important;
  font-size: clamp(29px, 2.45vw, 43px) !important;
  line-height: 1 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance !important;
}

#ejemplos.examples-section .case-detail > div:first-child > p:not(.overline) {
  max-width: 48ch !important;
  margin-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: pretty !important;
}

#ejemplos.examples-section .case-detail .inline-link {
  margin-top: auto !important;
  padding-top: 20px !important;
}

#ejemplos.examples-section .case-detail .case-data {
  display: contents !important;
}

#ejemplos.examples-section .case-data h4 {
  min-height: 2.4em !important;
  margin-bottom: 10px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: .035em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance !important;
}

#ejemplos.examples-section .case-data ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 20px !important;
  align-content: start !important;
}

#ejemplos.examples-section .case-data li {
  min-width: 0 !important;
  padding: 9px 0 9px 15px !important;
  font-size: 13px !important;
  line-height: 1.34 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: pretty !important;
}

#ejemplos.examples-section .case-detail > div:first-child,
#ejemplos.examples-section .case-detail .case-data > div {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .48s ease, transform .72s cubic-bezier(.16, 1, .3, 1) !important;
}

#ejemplos.examples-section .case-detail.is-entering > div:first-child,
#ejemplos.examples-section .case-detail.is-entering .case-data > div {
  opacity: 1;
  transform: translateY(0);
}

#ejemplos.examples-section .case-detail.is-entering .case-data > div:first-child {
  transition-delay: 70ms !important;
}

#ejemplos.examples-section .case-detail.is-entering .case-data > div:nth-child(2) {
  transition-delay: 140ms !important;
}

#ejemplos.examples-section .examples-universal-note {
  width: min(1460px, 88vw);
  margin: 18px auto 0;
  padding: 21px 24px;
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: 24px;
  align-items: center;
  background: #111111;
  color: #fffaf6;
  border-left: 4px solid #c63d2d;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

#ejemplos.examples-section .examples-universal-note strong {
  color: #ef5542;
  font-size: 16px;
  letter-spacing: -.01em;
}

@media (max-width: 1100px) {
  #ejemplos.examples-section .case-detail {
    width: calc(100% - 44px) !important;
    grid-template-columns: 1fr 1fr !important;
  }
  #ejemplos.examples-section .case-detail > div:first-child {
    grid-column: 1 / -1 !important;
  }
  #ejemplos.examples-section .case-detail .inline-link {
    margin-top: 0 !important;
  }
  #ejemplos.examples-section .examples-universal-note {
    width: calc(100% - 44px);
  }
}

@media (max-width: 700px) {
  #ejemplos.examples-section .case-painting {
    padding: 22px 23px 24px !important;
  }
  #ejemplos.examples-section .case-business {
    margin-top: 14px !important;
    padding: 7px 9px !important;
    font-size: 12px !important;
  }
  #ejemplos.examples-section .case-painting > strong {
    margin-top: 12px !important;
    font-size: 27px !important;
  }
  #ejemplos.examples-section .case-copy {
    margin-top: 14px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  #ejemplos.examples-section .case-detail {
    width: calc(100% - 36px) !important;
    grid-template-columns: 1fr !important;
    margin-top: 34px !important;
  }
  #ejemplos.examples-section .case-detail > div:first-child {
    grid-column: auto !important;
  }
  #ejemplos.examples-section .case-data ul {
    grid-template-columns: 1fr !important;
  }
  #ejemplos.examples-section .examples-universal-note {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 19px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ejemplos.examples-section .case-detail > div:first-child,
  #ejemplos.examples-section .case-detail .case-data > div {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
