/* =============================================================================
   PERSONA CARD COMPONENT (Replaces Industry Card)
   Brand: Deep Trust Blue (#0B3C5D) text, Calm Teal (#1F8A70) accents
   Use Case: Homepage Persona Grid (Nurses, Students, Employers, etc.)
   ============================================================================= */

.persona-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-soft-grey);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(11, 60, 93, 0.05), 0 2px 4px -1px rgba(11, 60, 93, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    overflow: hidden; /* Crucial for keeping zoomed image contained */
    
    /* Motion bindings */
    transition: box-shadow var(--motion-fast), transform var(--motion-fast), border-color var(--motion-fast);
}

.persona-card:hover {
    box-shadow: 0 10px 15px -3px rgba(11, 60, 93, 0.1), 0 4px 6px -2px rgba(11, 60, 93, 0.05);
    transform: translateY(-2px);
    border-color: var(--color-calm-teal); /* Highlight on hover */
}

/* Keyboard Focus */
.persona-card:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

/* Image Container & Zoom Animation */
.persona-card__image-container {
    width: 100%;
    height: 160px; /* Fixed height for consistency */
    overflow: hidden; /* Ensures scaling doesn't break card borders */
    flex-shrink: 0;
}

.persona-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-slow); /* Slow, premium zoom */
}

.persona-card:hover .persona-card__image {
    transform: scale(1.05);
}

/* Content Container */
.persona-card__content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.persona-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: rgba(11, 60, 93, 0.08); /* Pale Deep Trust Blue */
    margin-bottom: 24px;
    transition: background-color var(--motion-fast);
}

.persona-card:hover .persona-card__icon-wrap {
    background-color: rgba(31, 138, 112, 0.12); /* Switches to Pale Teal on hover */
}

.persona-card__icon {
    font-size: 28px;
    color: var(--color-trust-blue);
    transition: color var(--motion-fast);
}

.persona-card:hover .persona-card__icon {
    color: var(--color-calm-teal);
}

.persona-card__title {
    font-family: 'Inter', 'Source Sans Pro', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-trust-blue);
    margin-bottom: 12px;
    margin-top: 0;
    line-height: 1.3;
}

.persona-card__description {
    font-size: 16px;
    color: var(--color-charcoal);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1; /* Pushes the CTA to the bottom */
    max-width: none;
}

.persona-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-calm-teal);
    margin-top: auto;
    transition: gap var(--motion-fast);
}

/* Subtle arrow nudge animation */
.persona-card:hover .persona-card__cta {
    gap: 12px; 
}

.persona-card__cta-icon {
    font-size: 14px;
}