/* File: blog/rb-blog.css */
/* Keterangan: CSS Halaman Arsip Blog Herbie Blog 1 (1 Baris Per-selektor) */

.herbie-blog-archive-wrapper { width: 100%; display: block; font-family: inherit; }
.herbie-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* HEADER HERO NARATIF (DUA KOLOM ALA LOST PACKER) */
.herbie-blog-hero-section { background: #ffffff; padding: 80px 0 60px 0; border-bottom: 1px solid #edf2f7; }
.herbie-blog-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.herbie-blog-hero-text p { font-size: 1.15rem; line-height: 1.8; color: #334155; margin: 0 0 20px 0; font-weight: 400; }
.herbie-blog-hero-text p:last-child { margin-bottom: 0; font-weight: 600; color: #0f172a; }
.herbie-blog-hero-image img { width: 100%; height: auto; max-height: 380px; object-fit: contain; display: block; margin: 0 auto; }

.herbie-blog-archive-content { padding: 60px 0; background: #f8fafc; }

.herbie-blog-grid { display: grid; gap: 30px; }
.herbie-layout-grid3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.herbie-layout-grid2 { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }
.herbie-layout-list { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }

.herbie-blog-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.herbie-blog-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #38bdf8; }
.herbie-blog-img-wrap { display: block; width: 100%; height: 230px; position: relative; overflow: hidden; background: #e2e8f0; }
.herbie-blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.herbie-blog-card:hover .herbie-blog-img-wrap img { transform: scale(1.08); }
.herbie-blog-cat-tag { position: absolute; top: 15px; left: 15px; background: #FFD700; color: #001D3D; padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 5; }

.herbie-blog-card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.herbie-blog-meta-date { font-size: 13px; color: #64748b; margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.herbie-blog-card-title { font-size: 1.3rem; margin: 0 0 12px 0; font-weight: 800; line-height: 1.3; }
.herbie-blog-card-title a { color: #001D3D; text-decoration: none; transition: color 0.3s; }
.herbie-blog-card-title a:hover { color: #0284c7; }
.herbie-blog-card-excerpt { color: #475569; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.herbie-blog-read-more { font-weight: 700; color: #0284c7; text-decoration: none; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; transition: color 0.3s; }
.herbie-blog-read-more:hover { color: #0369a1; text-decoration: underline; }

/* Tampilan khusus Layout List */
.herbie-layout-list .herbie-blog-card { flex-direction: row; align-items: center; }
.herbie-layout-list .herbie-blog-img-wrap { width: 320px; height: 100%; min-height: 220px; flex-shrink: 0; }
@media (max-width: 768px) { .herbie-layout-list .herbie-blog-card { flex-direction: column; } .herbie-layout-list .herbie-blog-img-wrap { width: 100%; height: 220px; } }

.herbie-blog-pagination { margin-top: 50px; text-align: center; }
.herbie-blog-pagination .page-numbers { display: inline-block; padding: 10px 18px; margin: 0 5px; border-radius: 8px; background: #fff; border: 1px solid #cbd5e1; color: #001D3D; text-decoration: none; font-weight: 700; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.herbie-blog-pagination .current, .herbie-blog-pagination .page-numbers:hover { background: #001D3D; color: #FFD700; border-color: #001D3D; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,29,61,0.2); }
.herbie-blog-no-posts { text-align: center; padding: 50px; background: #fff; border-radius: 12px; color: #64748b; font-style: italic; border: 1px dashed #cbd5e1; grid-column: 1 / -1; }

@media (max-width: 992px) {
    .herbie-blog-hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .herbie-blog-hero-section { padding: 50px 0 30px 0; }
}

@media (max-width: 768px) {
    .herbie-blog-hero-text p { font-size: 1rem; }
    .herbie-blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .herbie-blog-card-body { padding: 20px; }
}