/* assets/css/authorpro-display-public.css */

/*
 * Base styles for the custom author header.
 * Designed to be as non-intrusive as possible, focusing on structure.
 */

.authorpro-display-custom-header {
    padding: 20px 0;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.authorpro-display-custom-header-inner {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .authorpro-display-custom-header-inner {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    .authorpro-display-avatar {
        margin-right: 40px;
        flex-shrink: 0;
    }

    .authorpro-display-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .authorpro-display-bio {
        margin-top: 0;
    }
}

.authorpro-display-avatar {
    line-height: 0;
}

.authorpro-display-avatar img {
    border-radius: 50%;
    max-width: 150px;
    height: auto;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.authorpro-display-name {
    font-size: 2.5em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: inherit;
    line-height: 1.2;
}

.authorpro-display-bio {
    font-size: 1.15em;
    line-height: 1.6;
    color: inherit;
    margin-bottom: 20px;
    max-width: 700px;
}

.authorpro-display-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.authorpro-display-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background-color: var(--wp-admin-theme-color, #0073aa);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.95em;
    font-weight: 600;
}

.authorpro-display-links a:hover {
    background-color: var(--wp-admin-theme-color-dark, #005f87);
    transform: translateY(-2px);
}

.authorpro-display-links a .dashicons {
    margin-right: 8px;
    font-size: 1.1em;
    vertical-align: middle;
    line-height: 1;
    transform: translateY(1px);
}

.authorpro-display-bio img {
    max-width: 100%;
    height: auto;
}

/* Wrapper principal com layout lateral */
.authorpro-display-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

@media (min-width: 768px) {
    .authorpro-display-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .authorpro-display-avatar {
        margin-right: 40px;
        flex-shrink: 0;
    }

    .authorpro-display-info {
        flex-grow: 1;
    }
}
