/* ============================================================
   ABOUT — Author Bio, Social Links, Connect Section
   ============================================================ */

/* --- Header Layout --- */

.about-header {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.about-photo {
    flex: 0 0 auto;
    width: 14rem;
}

    .about-photo img {
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
        box-shadow: 0 4px 2rem rgba(0, 0, 0, 0.1);
    }

.about-bio {
    flex: 1;
    min-width: 0;
}

    .about-bio h2 {
        font-family: "Titillium Web", sans-serif;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.5px;
        color: #000;
        margin-bottom: 0.25rem;
    }

    .about-bio p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #505050;
        margin-bottom: 1rem;
    }

.about-tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #a2aab5;
    margin-bottom: 1.25rem;
}

/* --- Social Icons --- */

.about-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

    .about-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 50%;
        background: #f5f5f5;
        color: #444;
        text-decoration: none;
        font-size: 1.15rem;
        transition: all 0.2s ease;
        position: relative;
    }

        .about-social a:hover {
            transform: scale(1.1);
        }

        /* Hide text accessibly */
        .about-social a .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Normalize pseudo-element icons */
        .about-social a::before {
            display: block;
            font-size: 1.4rem;
            line-height: 1;
            vertical-align: middle;
        }

        /* Platform-specific hover colors */
        .about-social a.social-facebook:hover { background: #3b5998; color: #fff; }
        .about-social a.social-youtube:hover { background: #ff0000; color: #fff; }
        .about-social a.social-goodreads:hover { background: #553b08; color: #fff; }
        .about-social a.social-amazon:hover { background: #ff9900; color: #fff; }
        .about-social a.social-bookbub:hover { background: #d0021b; color: #fff; }
        .about-social a.social-coffee:hover { background: #ffdd00; color: #000; }

/* Font Awesome icon pseudo-elements */
.social-facebook::before { font-family: "Font Awesome 5 Brands"; content: "\f39e"; }
.social-youtube::before { font-family: "Font Awesome 5 Brands"; content: "\f167"; }
.social-goodreads::before { font-family: "Font Awesome 5 Brands"; content: "\f3a9"; }
.social-amazon::before { font-family: "Font Awesome 5 Brands"; content: "\f270"; }
.social-coffee::before { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f7b6"; }

/* --- Divider --- */

.about-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 2.5rem 0;
}

/* --- Connect + Support Section --- */

.about-connect {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.about-connect-block {
    flex: 1;
}

    .about-connect-block h3 {
        font-family: "Titillium Web", sans-serif;
        font-size: 1rem;
        text-transform: uppercase;
        font-weight: 300;
        color: #a2aab5;
        letter-spacing: 2px;
        line-height: 1;
        margin-bottom: 1rem;
        margin-top: 0;
    }

    .about-connect-block p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: #505050;
        margin-bottom: 1rem;
    }

/* --- Responsive --- */

@media screen and (max-width: 767px) {
    .about-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-photo {
        width: 10rem;
    }

    .about-bio h2 {
        font-size: 1.75rem;
    }

    .about-social {
        justify-content: center;
    }

    .about-connect {
        flex-direction: column;
        gap: 1.5rem;
    }
}
