/* ══════════════════════════════════════════
   About the Author Page (about.html)
   ══════════════════════════════════════════ */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f3ee;
}

/* ── Hero Banner ── */
.hero {
    /*background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);*/
    background: linear-gradient(180deg, #8b4513 0%, #654321 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* ── Main Container ── */
.container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* ── Author Card ── */
.author-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Photo + name top section */
.author-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
    border-bottom: 3px solid #8b6e52;
}

.author-photo-wrapper {
    flex-shrink: 0;
    text-align: center;
}

.author-photo {
    width: 250px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    /*border: 5px solid #8b6e52;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);*/
}

.author-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    border: 5px solid #8b6e52;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.author-name-block h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.author-name-block .author-title {
    font-size: 1.1rem;
    color: #8b6e52;
    font-style: italic;
    margin-bottom: 1rem;
}

.author-name-block .tagline {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 550px;
}

/* Bio section */
.author-bio {
    padding: 2.5rem;
}

.section-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8b6e52;
    display: inline-block;
}

.bio-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Connect section */
.connect-section {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-top: 1px solid #ecf0f1;
}

.connect-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.connect-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.connect-card:hover {
    border-color: #8b6e52;
    color: #8b6e52;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52,152,219,0.2);
}

.connect-icon {
    font-size: 1.5rem;
}

/* Quote block */
.author-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 5px solid #8b6e52;
    background: #eaf4fb;
    border-radius: 0 8px 8px 0;
}

.author-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.8;
    margin: 0;
}

/* Footer overrides */
footer { margin-top: 3rem; }
footer a { color: #8b6e52; }

/* Responsive */
@media (max-width: 700px) {
    .author-header {
        flex-direction: column;
        text-align: center;
    }

    .author-name-block .tagline {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
