/* =========================================================
   AUTHOR
   Pinal Post child theme - css/author.css

   Author archive header (pairs with the [ppost_author_bio]
   shortcode in inc/author-archive.php -- a dormant fallback;
   the live author page is PostX builder template ID 8) and
   the link colors in author descriptions, which appear in
   the PostX author box on single posts as well.

   Loaded from functions.php on single posts and author
   archives, versioned by filemtime(). Split out of style.css
   2026-10-03; rules unchanged.
   ========================================================= */

/* ============================================================
   Author archive header  (pairs with [ppost_author_bio])
   ============================================================ */
.ppost-author-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto var(--wp--preset--spacing--40, 2rem);
}

.ppost-author-avatar img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--wp--preset--spacing--30, 1rem);
}

.ppost-author-name {
    margin: 0 0 var(--wp--preset--spacing--20, 0.5rem);
    font-size: var(--wp--preset--font-size--x-large, 2rem);
    line-height: 1.2;
}

.ppost-author-bio {
    color: var(--wp--preset--color--contrast-2, #555);
    font-size: var(--wp--preset--font-size--medium, 1rem);
    line-height: 1.6;
}

.ppost-author-bio p {
    margin: 0;
}

/* =========================================================
   AUTHOR DESCRIPTION LINKS
   Targets PostX author box and theme/shortcode fallbacks.
   Matches the advertise-cta button colors.
   ========================================================= */

.ultp-post-author-bio a,
.ppost-author-bio a,
.author-description a {
    color: #D96A3A !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}

.ultp-post-author-bio a:hover,
.ppost-author-bio a:hover,
.author-description a:hover {
    color: #E27B4D !important;
}
