/* =========================================
   AI Personas — Additional Styles
   Extends the shared cherry blossom styles
   ========================================= */

/* ===== Full-width persona cards (alternating image/text) ===== */
.persona-full {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
    text-align: left;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(160, 140, 123, 0.1);
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.persona-full:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--blossom);
}

.persona-full--reverse {
    grid-template-columns: 1fr 280px;
}

.persona-full--reverse .persona-full__image-col {
    order: 2;
}

.persona-full--reverse .persona-full__content {
    order: 1;
}

.persona-full__image-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.persona-full__img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(45, 42, 38, 0.1);
    border: 3px solid var(--cream-dark);
}

.persona-full__emoji-placeholder {
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    background: linear-gradient(135deg, var(--cream), var(--blossom-light));
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(45, 42, 38, 0.1);
}

.persona-full__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.persona-full__header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0;
}

.persona-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--blossom-deep);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.persona-card__subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blossom-deep);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.persona-full__content p {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.persona-full__takeaway {
    background: var(--cream);
    border-left: 3px solid var(--blossom-deep);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.92rem;
    color: var(--dark);
    margin-top: 0.5rem;
}

/* ===== Resources grid ===== */
.resources__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.resource-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(160, 140, 123, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blossom);
}

.resource-card--highlight {
    border: 2px solid var(--blossom);
    background: linear-gradient(135deg, var(--white), rgba(232, 180, 184, 0.05));
}

.resource-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.resource-card p {
    font-size: 0.86rem;
    margin-bottom: 1rem;
    flex: 1;
}

/* ===== Creative Commons notice ===== */
.cc-notice {
    margin-top: 2.5rem;
    background: rgba(160, 140, 123, 0.06);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    text-align: center;
}

.cc-notice p {
    font-size: 0.85rem;
    color: var(--branch);
}

.cc-notice a {
    color: var(--blossom-deep);
    transition: var(--transition);
}

.cc-notice a:hover {
    color: var(--accent-hover);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .persona-full,
    .persona-full--reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .persona-full--reverse .persona-full__image-col {
        order: 0;
    }

    .persona-full--reverse .persona-full__content {
        order: 0;
    }

    .persona-full__header {
        justify-content: center;
    }

    .persona-full__img {
        width: 180px;
        height: 180px;
    }

    .persona-full__emoji-placeholder {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }

    .persona-full__takeaway {
        text-align: left;
    }

    .persona-full__content p {
        text-align: left;
    }

    .resources__grid {
        grid-template-columns: 1fr;
    }
}