/* Shared Author & Bio Styling */

.author-spotlight-section {
    background: linear-gradient(180deg, #070707 0%, #111 100%);
    border-top: 1px solid rgba(208, 177, 63, 0.25);
    border-bottom: 1px solid rgba(208, 177, 63, 0.15);
    padding: 5rem 20px;
}

.author-spotlight-inner {
    max-width: 960px;
    margin: 0 auto;
}

.author-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 5px solid #d0b13f;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.author-portrait-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.author-portrait {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #d0b13f;
    box-shadow: 0 0 25px rgba(208, 177, 63, 0.25);
}

.author-eyebrow {
    display: inline-block;
    color: #d0b13f;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.author-heading {
    color: #fff;
    font-size: 2.2rem;
    margin: 0 0 0.35rem 0;
    font-family: 'Georgia', serif;
}

.author-subtitle {
    color: #bbb;
    font-style: italic;
    font-size: 1.05rem;
    margin: 0 0 1.25rem 0;
}

.author-bio-text p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 1rem 0;
}

.author-bio-text p:last-child {
    margin-bottom: 0;
}

.author-facts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0;
}

.author-fact-pill {
    background: rgba(208, 177, 63, 0.1);
    border: 1px solid rgba(208, 177, 63, 0.3);
    color: #e8d58a;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.author-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.author-btn {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid #d0b13f;
}

.author-btn-primary {
    background: #d0b13f;
    color: #000;
}

.author-btn-primary:hover {
    background: #e3c452;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(208, 177, 63, 0.4);
}

.author-btn-secondary {
    background: #222;
    color: #fff;
}

.author-btn-secondary:hover {
    background: #2b2b2b;
    color: #d0b13f;
    transform: translateY(-2px);
}

.author-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.author-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    background: #141414;
    border: 1px solid rgba(208, 177, 63, 0.3);
    border-radius: 8px;
    color: #eee;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.author-social-pill:hover {
    border-color: #d0b13f;
    color: #d0b13f;
    background: rgba(208, 177, 63, 0.08);
    transform: translateY(-2px);
}

.author-social-pill img {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1067%) hue-rotate(357deg) brightness(89%) contrast(85%);
}

/* Compact Author Card for Book Pages */
.author-mini-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: #161616;
    border: 1px solid #333;
    border-left: 4px solid #d0b13f;
    border-radius: 10px;
    padding: 1.75rem;
    margin-top: 2rem;
}

.author-mini-portrait {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d0b13f;
    flex-shrink: 0;
}

.author-mini-body h2 {
    color: #d0b13f;
    font-size: 1.35rem;
    margin: 0 0 0.5rem 0;
}

.author-mini-body p {
    color: #ccc;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 0.9rem 0;
}

.author-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-mini-links a {
    color: #d0b13f;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.92rem;
}

.author-mini-links a:hover {
    text-decoration: underline;
}

/* Reading Order / World Cards on About Page */
.about-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.about-book-item {
    background: #141414;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-book-item h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0.4rem 0;
}

.about-book-item p {
    color: #bbb;
    font-size: 0.95rem;
    text-align: left;
    margin: 0 0 1rem 0;
}

.about-book-badge {
    font-size: 0.75rem;
    color: #d0b13f;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Author Contact Form */
.author-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
}

.author-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.author-contact-form label {
    display: block;
    color: #d0b13f;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.author-contact-form input,
.author-contact-form select,
.author-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.9rem;
    background: #121212;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

.author-contact-form input:focus,
.author-contact-form select:focus,
.author-contact-form textarea:focus {
    outline: none;
    border-color: #d0b13f;
}

.author-contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

@media (max-width: 768px) {
    .author-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem;
    }

    .author-facts-row,
    .author-cta-row,
    .author-social-grid {
        justify-content: center;
    }

    .author-mini-card {
        flex-direction: column;
        text-align: center;
    }

    .author-mini-links {
        justify-content: center;
    }

    .author-contact-form .form-row {
        grid-template-columns: 1fr;
    }
}
