/* Oficios de fases posteriores (Pronto). Solo se carga en la portada (functions.php). */
.oficio-caja { position: relative; }
.oficio-pronto {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 248px;
  padding: 20px 20px 16px;
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--azul);
  cursor: default;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--azul) 8%, transparent);
}
.oficio-pronto img { filter: grayscale(.25) saturate(.9); transition: filter .35s ease; }
.oficio-pronto:hover img { filter: grayscale(.7); transform: none; }
.oficio-tras {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 72px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background-color: var(--azul);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 24px);
  opacity: 0;
}
.oficio-caja .oficio-tras > .e-con-inner { display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; height: 100%; }
.oficio-caja .oficio-tras .elementor-widget-button { width: auto; }
.oficio-caja .oficio-tras .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--r-md);
  background-color: #FFFFFF;
  color: var(--azul);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
  transition: box-shadow .2s ease-in-out, background-color .2s ease-in-out;
}
.oficio-caja .oficio-tras .elementor-button:hover { background-color: var(--hueso); box-shadow: 0 8px 18px rgba(0, 0, 0, .22); }
.oficio-caja .oficio-tras .elementor-button:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }