/* ================================================== */
/* ==        STYLE.CSS LENGKAP (GABUNGAN)          == */
/* ================================================== */

/* --- Variabel Dasar & Root --- */
:root {
    --primary-color: #333;       /* Warna utama (misal: heading) */
    --background-color: #fff;    /* Latar belakang utama */
    --text-color: #2c3e50;       /* Warna teks utama */
    --link-color: #2c3e50;       /* Warna link sama dengan text */
    --border-color: #eee;       /* Warna border halus */
    --max-width: 800px;         /* Lebar konten maksimum */
    --accent-color: #e74c3c;     /* Warna aksen (misal: progress bar) */
    --code-bg: #f8f9fa;         /* Latar belakang halus untuk kode/komponen */
    --code-block-bg: #f5f5f5;   /* Latar belakang spesifik blok kode (light) */
    --table-header-bg: #f5f5f5; /* Latar header tabel (light) */
    --blockquote-bg: #f8f9fa;   /* Latar belakang blockquote */
    --highlight-color: #007bff;  /* Changed from #ffeb3b to blue */
    --highlight-opacity: 0.4;
    --highlight-height: 40%;
    --highlight-transition: all 0.3s ease;
}

/* --- Import Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- Pengaturan Body Dasar --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease; /* Transisi halus untuk dark mode */
}

/* --- Layout Dasar --- */
/* Menggunakan max-width pada elemen utama */
nav, main, footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    position: relative; /* For absolute positioning context */
}

/* Header Logo Container */
.header-container {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header-logo {
    position: absolute;
    bottom: 2rem;
    right: calc((100% - var(--max-width)) / 2 + 1rem);
}

.header-logo img {
    width: 120px;
    height: 120px;
}

/* Remove all other header-logo related styles */
.header-logo:hover img {
    transform: none;
    box-shadow: none;
}

/* Menghapus override max-width individual jika tidak perlu */
/* Kelas .now-content, .about-content, .article-content dll */
/* tidak perlu max-width lagi jika mereka ada di dalam <main> */
.now-content,
.about-content,
.featured-project,
.recent-articles,
.sponsors,
.article-content {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/* --- Navigasi --- */
nav {
    padding-top: 2rem; /* Jarak atas untuk nav */
    position: relative; /* For absolute positioning of logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem; /* Jarak antar item */
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    flex: 1;
    order: 1; /* Keep navigation links first */
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--link-color);
}

/* --- Tipografi Dasar --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

h1 { font-size: 2.5rem; margin-top: 2rem; }
h2 { font-size: 1.75rem; margin-top: 2.5rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; }
h4 { font-size: 1.25rem; margin-top: 1.8rem; }
h5 { font-size: 1.1rem; margin-top: 1.5rem; }
h6 { font-size: 1rem; margin-top: 1.5rem; color: #666; }


/* Links Dasar */
a {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

/* Exclude code blocks from highlighter effect */
pre a,
code a,
.article-content pre a,
.article-content code a {
    position: static;
    z-index: auto;
}

pre a::before,
code a::before,
.article-content pre a::before,
.article-content code a::before {
    display: none;
}

/* Apply highlighter only to non-code links and exclude logo */
a:not(pre a):not(code a):not(.article-content pre a):not(.article-content code a):not(.header-logo a)::before {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 0;
    height: var(--highlight-height);
    background-color: var(--highlight-color);
    opacity: var(--highlight-opacity);
    z-index: -1;
    transition: var(--highlight-transition);
}

a:not(pre a):not(code a):not(.article-content pre a):not(.article-content code a):not(.header-logo a):hover::before {
    height: 100%;
    opacity: 0.6;
}

/* --- Struktur Artikel Dasar (Index) --- */
article { /* Untuk preview di index */
    margin: 1rem 0;
    padding-bottom: 0.1rem;
    border-bottom: none; /* Remove border */
}

.article-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-row .date {
    min-width: 50px;
    font-family: monospace;
    color: #666;
    font-size: 0.9rem;
}

.article-row a {
    flex: 1;
    margin: 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-color); /* Add underline to title */
}

.article-row a:hover {
    border-bottom-color: var(--text-color);
}

.article-row .article-meta {
    flex: 0 0 auto;
    white-space: nowrap;
    color: #666;
    font-size: 0.9rem;
}

.article-meta { /* Meta di bawah judul artikel (halaman post) */
    color: #666;
    font-size: 0.9rem;
    margin: 0.3rem 0 0.3rem 0; /* Reduced from 0.5rem to 0.3rem */
}

.reading-time {
    font-style: italic;
    margin-left: 0.5rem;
}
.reading-time::before {
    content: "| "; /* Pemisah */
    font-style: normal;
    color: var(--border-color);
    margin-right: 0.5rem;
}

/* Lists Dasar */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.8rem;
}

/* Custom bullet points for unordered lists */
ul {
    list-style: none;
}

ul li, ol li {
    margin-bottom: 0.8rem;
}

/* Dark mode adjustment for bullet points */
@media (prefers-color-scheme: dark) {
    ul li::before {
        background: var(--text-color);
        opacity: 0.7;
    }
}

/* --- Footer --- */
footer {
    margin-top: 3rem;
    padding-top: 1.5rem; /* Padding atas footer */
    padding-bottom: 1.5rem; /* Padding bawah footer */
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* --- Kode Dasar (Berlaku Global) --- */
/* Style dasar untuk inline code dan pre, akan di-override di .article-content jika perlu */
code {
    background: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em; /* Sedikit lebih kecil */
    border: 1px solid var(--border-color);
}

pre {
    background: var(--code-block-bg);
    padding: 1rem;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    overflow-x: auto; /* Selalu ada scroll jika perlu */
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    line-height: 1.5;
}
/* Penting: Hapus style background/padding/border dari 'code' di dalam 'pre' */
pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: none;
}

/* --- Tabel Dasar --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
}

th, td {
    padding: 0.7rem 1rem; /* Sesuaikan padding */
    border: 1px solid var(--border-color);
    text-align: left;
}

th {
    background: var(--table-header-bg);
    font-weight: 600; /* Sedikit lebih tebal */
}

/* --- Komponen Spesifik (Project Cards, Certs, Sponsors) --- */

/* Project Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.project-card {
    display: flex;
    flex-direction: row;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.5rem;
}
.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.project-image {
    width: 200px;
    min-width: 200px;
    height: 150px;
    background-color: var(--code-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    overflow: hidden;
}

.project-image img { /* Jika menggunakan gambar sungguhan */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar mengisi area */
    object-position: center; /* Center the image */
}
.project-content {
    padding: 1rem;
    flex: 1;
}
.project-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}
.project-card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}
.project-card a { font-weight: 500; }


/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Lebih kecil */
    gap: 1.5rem;
    margin: 2rem 0;
}
.cert-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cert-card:hover {
     transform: translateY(-3px);
     box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}
.cert-logo { /* Placeholder logo */
    width: 80px; /* Lebih kecil */
    height: 80px;
    margin: 0 auto 1rem;
    background-color: var(--code-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}
.cert-logo img { /* Jika pakai logo asli */
     width: 60%; /* Sesuaikan ukuran logo di dalam lingkaran */
     height: auto;
}
.cert-card h4 { font-size: 1rem; margin-bottom: 0.5rem;}
.cert-card p { font-size: 0.85rem; color: #666;}


/* Sponsor Section */
.sponsors {
    background-color: var(--code-bg);
    padding: 1rem;
    margin: 1rem 0; /* Jarak lebih besar */
    border-radius: 8px;
    text-align: center;
}
.sponsors h2 { margin-bottom: 1rem;}
.sponsor-grid {
    margin: 0.5rem 0;
    padding: 0 0.5rem;
}
.sponsor-item {
    padding: 0.1rem;
    text-align: center;
    line-height: 1.6;
}
.sponsor-item a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
.sponsor-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}


/* --- Dekorasi & Fitur Tambahan --- */

/* Remove all background styles */
/* Ensure content stays above the background */
main, nav, footer {
    position: relative;
    z-index: 1;
    background: var(--background-color);
}

/* Remove borders from main content areas */
main, nav, footer, article, .article-content {
    border: none;
    outline: none;
}

/* Ensure article content is properly layered */
.article-content {
    position: relative;
    z-index: 1;
    background: var(--background-color);
}

/* Remove all pop art background styles */
.pop-art-bg {
    display: none;
}

/* Remove pop art animation */
@keyframes popArtMove {
    0% { }
    100% { }
}

/* Remove dark mode adjustment */
@media (prefers-color-scheme: dark) {
    .pop-art-bg {
        display: none;
    }
}

/* Remove mobile adjustment */
@media (max-width: 600px) {
    .pop-art-bg {
        display: none;
    }
}

/* Reading Progress Bar (membutuhkan JS) */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0; /* Diupdate oleh JS */
    height: 4px; /* Sedikit lebih tebal */
    background-color: var(--accent-color);
    z-index: 1000;
    transition: width 0.1s linear; /* Transisi lebih cepat */
}

/* Gambar Responsif & Placeholder */
.responsive-image { /* Jika menggunakan class spesifik */
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.8rem 0;
}
.image-placeholder {
    background-color: var(--code-bg);
    border: 1px dashed var(--border-color); /* Border dashed */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa; /* Warna teks placeholder */
    min-height: 200px;
    margin: 1.8rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Bagian Akhir Artikel (Author Bio, dll) --- */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.author-bio {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Jarak dikurangi */
    padding: 1.5rem;
    background-color: var(--code-bg);
    border-radius: 8px;
    margin-top: 2rem; /* Jarak dari konten terakhir */
}
.author-avatar { /* Jika ada avatar */
     width: 80px;
     height: 80px;
     border-radius: 50%;
     object-fit: cover;
     background-color: #ccc; /* Fallback jika gambar tidak ada */
     border: 2px solid var(--background-color); /* Border putih/background */
     box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.bio-content { flex: 1; }
.bio-content h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.2rem;}
.bio-content p { font-size: 0.9rem; margin-bottom: 0.5rem; color: #666;}
.bio-content a { font-weight: 500; font-size: 0.9rem;}


/* ======================================================== */
/* ==       STYLING DETAIL KONTEN ARTIKEL (.article-content)     == */
/* ======================================================== */

.article-content {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: 1.8rem;
}

/* Headings dalam artikel - Penyesuaian Jarak */
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: 'Inter', sans-serif;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Beri jarak atas lebih besar lagi untuk H2 */
.article-content h2 { margin-top: 3.5rem; font-size: 1.75rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.4rem;}
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; margin-top: 2.5rem;} /* Kurangi sedikit jarak atas H4 */
.article-content h5 { font-size: 1.1rem; margin-top: 2.2rem;}
.article-content h6 { font-size: 1rem; color: #666; margin-top: 2rem;}

/* Paragraf di dalam artikel - Penyesuaian Jarak */
.article-content p {
    /* Sedikit tingkatkan jarak SETELAH paragraf */
    margin-bottom: 1.4rem;
}

/* Penyesuaian margin-top untuk elemen pertama setelah heading (opsional) */
/* Ini agar elemen pertama (misal <p>) tidak terlalu jauh dari heading */
.article-content h2 + *, /* Target elemen APAPUN (+) setelah H2 */
.article-content h3 + *,
.article-content h4 + *,
.article-content h5 + *,
.article-content h6 + * {
    margin-top: 1rem; /* Kurangi margin atas elemen pertama setelah heading */
}

/* Penyesuaian Jarak untuk list setelah heading (jika ada) */
 .article-content h2 + ul, .article-content h2 + ol,
 .article-content h3 + ul, .article-content h3 + ol,
 .article-content h4 + ul, .article-content h4 + ol,
 .article-content h5 + ul, .article-content h5 + ol,
 .article-content h6 + ul, .article-content h6 + ol {
    margin-top: 1rem; /* Kurangi juga margin atas list setelah heading */
 }

 /* Penyesuaian jarak untuk blok kode setelah heading (jika ada) */
  .article-content h2 + pre,
  .article-content h3 + pre,
  .article-content h4 + pre,
  .article-content h5 + pre,
  .article-content h6 + pre {
     margin-top: 1.5rem; /* Jarak normal untuk blok kode */
  }

/* Lists dalam artikel */
.article-content ul,
.article-content ol {
    padding-left: 1.8rem;
    margin-bottom: 1.2rem;
}
.article-content ul li,
.article-content ol li {
    margin-bottom: 0.5rem;
}
.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
}

/* Links dalam artikel */
.article-content a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted var(--text-color);
    transition: border-color 0.2s ease;
}
.article-content a:hover {
    border-bottom-style: solid;
}

/* Kode Inline dalam artikel */
.article-content code:not(pre > code) {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    background: var(--code-bg);
    padding: 0.2em 0.45em; /* Sedikit lebih lebar */
    margin: 0 0.1em;
    font-size: 0.9em;
    border-radius: 4px; /* Sedikit lebih bulat */
    color: var(--text-color);
    word-break: break-word;
    border: 1px solid var(--border-color);
}

/* Blok Kode (<pre>) dalam artikel - SELALU GELAP */
.article-content pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; /* Font dari style Anda */
    background: #282c34; /* <<< PAKSA LATAR GELAP */
    color: #abb2bf;      /* <<< PAKSA TEKS TERANG */
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.8rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
    border: 1px solid #3e4451; /* <<< SESUAIKAN BORDER GELAP */
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Kode di dalam <pre> dalam artikel */
.article-content pre code {
    font-family: inherit;
    background: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
    border: none;
    border-radius: 0;
}

/* Blockquotes dalam artikel */
.article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 5px solid var(--link-color);
    background-color: var(--code-bg);
    color: inherit;
    font-style: normal;
    border-radius: 0 4px 4px 0;
}
.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Horizontal Rules (<hr>) dalam artikel */
.article-content hr {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 3rem 0;
}

/* Gambar dalam Konten Artikel */
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto; /* Jarak lebih besar & tengah */
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Bayangan lebih jelas */
}

/* Tabel dalam artikel */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0; /* Margin lebih besar */
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}
.article-content th,
.article-content td {
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    text-align: left;
}
.article-content th {
    background: var(--table-header-bg);
    font-weight: 600; /* Bold */
}
.article-content tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Wrapper untuk tabel agar responsif */
.table-wrapper {
     overflow-x: auto;
     margin: 2rem 0; /* Samakan dengan margin tabel */
     border: 1px solid var(--border-color); /* Beri border pada wrapper */
     border-radius: 4px;
}
.table-wrapper table {
    margin: 0; /* Hapus margin tabel di dalam wrapper */
    border: none; /* Hapus border tabel di dalam wrapper */
    box-shadow: none; /* Hapus shadow tabel di dalam wrapper */
}


/* ================================================== */
/* ==               DARK MODE STYLES               == */
/* ================================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #e0e0e0;
        --background-color: #1a1a1a;
        --text-color: #c9d1d9;
        --link-color: #c9d1d9;
        --border-color: #30363d;
        --code-bg: #21262d;
        --code-block-bg: #161b22;
        --table-header-bg: #21262d;
        --blockquote-bg: #21262d;
        --highlight-color: #ffd700;
        --highlight-opacity: 0.3;
    }

    body {
        background: var(--background-color);
        color: var(--text-color);
    }

    /* Komponen Dasar Dark Mode */
    .project-card,
    .cert-card {
        background-color: #252525; /* Sedikit lebih terang dari bg body */
        border-color: var(--border-color);
    }
     .sponsor-item {
         background-color: #252525;
         border-color: var(--border-color);
     }
    .sponsors { /* Section sponsor */
         background-color: var(--code-bg);
    }
     .author-bio {
         background-color: var(--code-bg);
     }
     h6 { color: #888; } /* Warna H6 dark */


    /* Dekorasi Dark Mode */
    .image-placeholder {
        background-color: var(--code-bg);
        border-color: var(--border-color);
        color: #888;
    }


    /* --- Penyesuaian Styling Konten Artikel untuk Dark Mode --- */

    .article-content h2 { border-bottom-color: var(--border-color); }
    .article-content h6 { color: #999; } /* Warna H6 di konten dark */

    /* Kode Inline Dark */
    .article-content code:not(pre > code) {
        background: var(--code-bg);
        color: var(--text-color);
        border-color: var(--border-color);
    }

    /* Blockquotes Dark */
    .article-content blockquote {
        border-left-color: var(--link-color);
        background-color: var(--blockquote-bg);
        color: inherit;
    }

    /* Horizontal Rules Dark */
    .article-content hr { background-color: var(--border-color); }

    /* Gambar Dark (Shadow bisa disesuaikan jika terlalu terang) */
    .article-content img { box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

    /* Tabel Dark */
    .article-content table,
    .article-content th,
    .article-content td {
        border-color: var(--border-color);
    }
    .article-content th {
        background: var(--table-header-bg);
    }
    .article-content tr:nth-child(even) {
        background-color: rgba(255, 255, 255, 0.04); /* Belang halus dark */
    }
    .table-wrapper { /* Border wrapper tabel dark */
         border-color: var(--border-color);
    }

    .article-row .date {
        color: #888;
    }

    a:hover::before {
        opacity: 0.5;
    }
}


/* ================================================== */
/* ==           RESPONSIVE DESIGN (Mobile)         == */
/* ================================================== */
@media (max-width: 600px) {
    body {
        /* Hapus padding body jika nav/main/footer sudah punya padding */
        /* padding: 0.5rem; */
    }

    nav, main, footer {
         padding: 0.8rem; /* Kurangi padding di mobile */
    }

    nav ul {
        flex-direction: column; /* Tumpuk nav items */
        gap: 1rem;
        align-items: center; /* Tengah kan item */
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    .article-content h2 { font-size: 1.5rem; } /* Sesuaikan juga di article */
    .article-content h3 { font-size: 1.3rem; }

    /* Penyesuaian Grid untuk Mobile */
    .project-grid,
    .cert-grid,
    .sponsor-grid {
        grid-template-columns: 1fr; /* Satu kolom */
        gap: 1.5rem; /* Kurangi gap */
    }

    /* Penyesuaian lain untuk Mobile */
    .author-bio { flex-direction: column; text-align: center; gap: 1rem;} /* Tumpuk bio author */
    .author-avatar { margin: 0 auto 1rem auto;} /* Avatar di tengah */

    /* Padding blok kode di mobile */
    .article-content pre { padding: 1rem 0.8rem; }
    .article-content th, .article-content td { padding: 0.5rem 0.7rem; }
}

.project-divider {
    margin: 0;
    border: none;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.featured-project {
    margin-top: 2rem;
}

.featured-project .project-card {
    margin-bottom: 2rem;
}

.featured-project .project-card:last-child {
    margin-bottom: 0;
}
