/* Archive photography, with an opaque navy reading area behind the copy. */
#pilares .pillar-card {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  padding: 30px 24px 28px;
  background: #061229;
}
#pilares .pillar-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
#pilares .pillar-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: .8;
  filter: saturate(.72) blur(.45px);
  transform: scale(1.015);
}
#pilares .pillar-card--personas .pillar-photo img { object-position: 28% 50%; }
#pilares .pillar-card--innovacion .pillar-photo img { object-position: 24% 50%; }
#pilares .pillar-card--sostenibilidad .pillar-photo img { object-position: 46% 50%; }
#pilares .pillar-card--etica .pillar-photo img { object-position: 42% 50%; }
#pilares .pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgb(4 16 36 / .22) 0%,
    rgb(4 16 36 / .4) 32%,
    rgb(4 16 36 / .94) 59%,
    #041024 100%);
}
#pilares .pillar-number {
  align-self: flex-start;
  padding: 7px 10px;
  margin-bottom: 160px;
  border: 1px solid rgb(232 239 249 / .3);
  border-radius: 24px;
  background: rgb(4 16 36 / .82);
  color: #e8eff9;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}
#pilares .pillar-icon { display: none; }
#pilares .pillar-card h3 {
  min-height: 2.75em;
  margin: auto 0 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.35;
  text-wrap: pretty;
}
#pilares .pillar-card > p {
  min-height: 8.4em;
  margin: 16px 0 0;
  color: #e0e7f2;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}
#pilares .pillar-card > p > .pillar-phrase {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  vertical-align: top;
}
#pilares .pillar-photo-credits {
  padding-top: 20px;
  padding-bottom: 0;
  color: #c2d2ea;
  font-size: .875rem;
  line-height: 1.65;
}
#pilares .pillar-photo-credits summary {
  width: fit-content;
  cursor: pointer;
}
#pilares .pillar-photo-credits summary:focus-visible,
#pilares .pillar-photo-credits a:focus-visible {
  outline: 2px solid #dce7f7;
  outline-offset: 5px;
}
#pilares .pillar-photo-credits p { margin: 12px 0; }
#pilares .pillar-photo-credits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
#pilares .pillar-photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  #pilares .pillar-card:hover { transform: translateY(-4px); }
}
@media (width <= 680px) {
  #pilares .pillar-card {
    min-height: 420px;
    padding: 24px;
  }
  #pilares .pillar-number { margin-bottom: 150px; }
  #pilares .pillar-card h3,
  #pilares .pillar-card > p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #pilares .pillar-card { transition: none; }
  #pilares .pillar-card:hover { transform: none; }
}
html[data-eco="on"] #pilares .pillar-card:hover { transform: none; }
html[data-motion="reduced"] #pilares .pillar-card:hover { transform: none; }
