/* EEAT Author - Public Styles */

/* Author Box in Posts */
.eeat-author-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin: 40px 0;
    background: var(--eeat-bg, #f8f9fa);
    color: var(--eeat-text, #333333);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    align-items: flex-start;
}

.eeat-author-photo {
    flex-shrink: 0;
}

.eeat-author-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eeat-author-photo a:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.eeat-author-info {
    flex: 1;
}

.eeat-author-name {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.eeat-author-name a {
    color: var(--eeat-text, #333333);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.eeat-author-name a:hover {
    opacity: 0.8;
}

.eeat-author-description {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Social Links */
.eeat-author-social,
.eeat-bio-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.eeat-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--eeat-btn, #0073aa);
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.eeat-social-link:hover {
    background: var(--eeat-btn-hover, #005177);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.eeat-social-link i {
    line-height: 1;
}

/* Author Biography Page */
.eeat-author-bio {
    background: var(--eeat-bg, #f8f9fa);
    color: var(--eeat-text, #333333);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.eeat-bio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.eeat-bio-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.eeat-bio-meta {
    flex: 1;
}

.eeat-bio-content {
    font-size: 1rem;
    line-height: 1.8;
}

.eeat-bio-content p {
    margin-bottom: 1em;
}

.eeat-bio-content p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .eeat-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .eeat-author-social {
        justify-content: center;
    }

    .eeat-bio-header {
        flex-direction: column;
        text-align: center;
    }

    .eeat-bio-social {
        justify-content: center;
    }
}