/*
Theme Name:   GeneratePress Alam
Theme URI:    https://domainbloganda.com
Description:  Child theme GeneratePress yang dioptimasi khusus untuk blog pribadi Alam.
Author:       Alam
Author URI:   https://domainbloganda.com
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  gp-alam
Tags:         lightweight, blog, seo-optimized, generatepress
*/

/* ==========================================================================
   1. VARIABEL DESAIN (DESIGN TOKENS)
   ========================================================================== */
:root {
    --gp-warna-aksen: #2563eb; 
    --gp-warna-teks: #334155;
    --gp-warna-judul: #0f172a;
    --gp-bg-author: #f8fafc;
    --gp-radius: 8px;
}

/* ==========================================================================
   2. TIPOGRAFI & KONTEN ARTIKEL (TYPOGRAPHY)
   ========================================================================== */
.single-post .entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gp-warna-teks);
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
    color: var(--gp-warna-judul);
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 700;
}

.single-post .entry-content a {
    color: var(--gp-warna-aksen);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

.single-post .entry-content a:hover {
    color: #1e40af;
    text-decoration-thickness: 2px;
}

/* ==========================================================================
   3. KOTAK PENULIS KUSTOM (INJECTED VIA HOOK)
   ========================================================================== */
.gp-author-box {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background-color: var(--gp-bg-author);
    padding: 32px;
    border-radius: var(--gp-radius);
    border: 1px solid #e2e8f0;
    margin-top: 48px;
    margin-bottom: 48px;
}

.gp-author-box__avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.gp-author-box__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gp-warna-judul);
    margin-bottom: 8px;
}

.gp-author-box__bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gp-warna-teks);
    margin: 0;
}

@media (max-width: 768px) {
    .gp-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }
}

