/**
 * GEO Engine v16.1 Stylesheet
 * The Final Override: Increased specificity on mobile h3 to fix alignment
 * and on bio links to fix hover color. Cache-busting version.
 */

.geoseo-author-profile b, 
.geoseo-author-profile strong {
    font-weight: bold;
}

.geoseo-author-profile {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 3px solid #12358c;
    display: flex;
    align-items: flex-start;
}
.geoseo-author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    flex-shrink: 0;
}
.geoseo-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.geoseo-author-content {
    flex-grow: 1;
}

div.geoseo-author-profile h3.geoseo-author-name {
    font-size: 1.5rem;
    font-weight: 300;
    color: #4d5058;
    line-height: 1.2;
    padding: 0;
    margin: 0 0 0.5rem 0;
    text-align: left;
}

div.geoseo-author-profile h3.geoseo-author-name span.geoseo-author-surname {
    color: #12358c;
    font-weight: 400;
}

div.geoseo-author-profile p.geoseo-author-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #12358c;
    text-transform: uppercase;
    margin: 0 0 0.8rem 0;
}

.geoseo-author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4d5058;
    margin-bottom: 1rem;
}
.geoseo-author-bio p {
    margin-bottom: 1em;
}

/* FIX #2 (Hover Color): Użycie hiper-specyficznego selektora dla linków w bio */
div.geoseo-author-profile .geoseo-author-bio a {
    color: #12358c;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

div.geoseo-author-profile .geoseo-author-bio a:hover {
    color: #12358c; /* Gwarancja pozostania niebieskim */
    font-weight: bold;
    text-decoration: none;
}

.geoseo-author-contact { 
    font-size: 0.95rem; 
    color: #4d5058; 
}
.geoseo-author-contact p { 
    margin: 0.2rem 0; 
}
.geoseo-author-contact a { 
    color: #12358c; 
    text-decoration: none; 
    transition: font-weight 0.2s ease-in-out;
}
.geoseo-author-contact a:hover { 
    color: #12358c;
    font-weight: bold;
    text-decoration: none;
}
.geoseo-publication-date { 
    font-size: 0.85rem; 
    color: #777; 
    margin-top: 0.8rem; 
}

/* Media Queries */
@media (max-width: 767px) {
    .geoseo-author-profile { 
        flex-direction: column; 
        align-items: center; 
        text-align: center;
        padding-left: 0; 
        border-left: none; 
    }
    .geoseo-author-image { 
        margin-right: 0; 
        margin-bottom: 1rem; 
    }
    
    /* FIX #1 (Mobile Centering): Użycie NAJSILNIEJSZEGO możliwego selektora do wymuszenia centrowania */
    div.geoseo-author-profile div.geoseo-author-content h3.geoseo-author-name {
        font-size: 1.3rem;
        text-align: center;
    }

    .geoseo-author-title { 
        margin-top: 0.2rem;
    }
    .geoseo-author-contact { 
        margin-top: 1rem; 
    }
    .geoseo-publication-date { 
        margin-top: 0.5rem; 
    }
    .geoseo-author-bio {
        text-align: left;
    }
}