/*==========================================================
Persona cards
============================================================*/
/* ── Background image layer ─────────────────── */
.persona-card {
  position: relative;
  width: 280px;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}

.persona-card__bg {
  position: absolute !important;
  inset: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

/* ── Permanent bottom gradient ──────────────── */
/* Always visible — keeps the label readable    */
.persona-card__base-gradient {
  position: absolute !important;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(40, 80, 30, 0.72) 0%,
    transparent 100%
  );
}


/* ── Label — always visible ─────────────────── */
.persona-card__label {
 position: absolute !important;

 bottom: 28px;
 
 left: 24px;
 right: 24px;
 font-family: 'ClashDisplay-SemiBold';
 font-size: 3.8rem;
 color: #ffffff;
 z-index: 3;
transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Label fades out when overlay rises */
.persona-card:hover .persona-card__label {
  opacity: 0;
  transform: translateY(6px);
}

.persona-card__overlay {
  position: absolute !important;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 40;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(
    to top,
    #305538 0%,
    #305538de 40%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.persona-card:hover .persona-card__overlay {
  height: 100%;
}



.persona-card__text-wrap{
    position: absolute !important;
    z-index: 20;
    bottom: 48px;
    left: 28px;
    right: 28px;
}

.persona-card__overlay-name {
    font-family: 'ClashDisplay-SemiBold';
    color: #ffffff;
    font-size: 2.5rem;
    margin: 0 0 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.25s, transform 0.3s ease 0.25s;
}

.persona-card__text {
  font-family: 'museo-sans';
 
    font-weight: 500;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.32s, transform 0.3s ease 0.32s;
}

.persona-card:hover .persona-card__overlay-name,
.persona-card:hover .persona-card__text {
  opacity: 1;
  transform: translateY(0);
}