/**
 * Bio Section Styles
 * Clean, readable typography with smooth toggle animation
 */

/* Section Container */
.ac-spp-bio {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Title */
.ac-spp-bio-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

/* Bio Content Container */
.ac-spp-bio-content {
    position: relative;
}

/* Bio Text */
.ac-spp-bio-text,
.ac-spp-bio-preview,
.ac-spp-bio-full {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

.ac-spp-bio-preview {
    position: relative;
}

.ac-spp-bio-full {
    animation: fadeIn 0.3s ease-in-out;
}

/* Read More/Less Toggle Button */
.ac-spp-bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ac-spp-bio-toggle:hover {
    background: #f7f8ff;
    border-color: #6366f1;
}

.ac-spp-bio-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Toggle Icon Animation */
.ac-spp-bio-toggle-icon {
    transition: transform 0.3s ease;
}

.ac-spp-bio-toggle[data-state="expanded"] .ac-spp-bio-toggle-icon {
    transform: rotate(180deg);
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ac-spp-bio {
        padding: 24px 20px;
        margin-bottom: 20px;
    }

    .ac-spp-bio-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .ac-spp-bio-text,
    .ac-spp-bio-preview,
    .ac-spp-bio-full {
        font-size: 15px;
        line-height: 1.6;
    }

    .ac-spp-bio-toggle {
        font-size: 13px;
        padding: 6px 12px;
    }
}
