
/*
Theme Name: pensil-324
Theme URI: https://example.com/ubjpress-wp
Author: Penerbit Pensil
Author URI: https://example.com
Description: Tema WordPress ringan menyerupai situs UBJ Press (katalog buku, detail buku, halaman unduhan).
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ubjpress-wp
*/
:root { --container: 1100px; --gap: 1rem; --muted: #666; }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; line-height:1.6; color:#111; }
a { color: #0a58ca; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.site-header { border-bottom:1px solid #eee; position:sticky; top:0; background:#fff; z-index:10; }
.brand { display:flex; align-items:center; gap:.75rem; padding:.75rem 0; }
.brand img { width:40px; height:40px; object-fit:contain; }
.nav { display:flex; gap:1rem; flex-wrap:wrap; }
.hero { background:#0f172a; color:#fff; padding:3rem 0; }
.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:1rem; }
.card { border:1px solid #eee; border-radius:12px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.card img { width:100%; aspect-ratio: 3/4; object-fit:cover; }
.card-body { padding: .75rem 1rem 1rem; }
.badge { display:inline-block; font-size:.75rem; padding:.15rem .5rem; border-radius:999px; background:#eef2ff; }
.meta { color:var(--muted); font-size:.9rem; }
footer.site-footer { border-top:1px solid #eee; margin-top:2rem; padding:2rem 0; color:#333; background:#fafafa; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { border:1px solid #eee; padding:.5rem .6rem; text-align:left; }
.searchbar { display:flex; gap:.5rem; margin: 1rem 0; }
.searchbar input[type="search"] { flex:1; padding:.6rem .75rem; border:1px solid #ddd; border-radius:10px; }
.btn { display:inline-block; padding:.5rem .85rem; border-radius:10px; border:1px solid #ddd; background:#fff; }
.btn.primary { background:#0a58ca; color:#fff; border-color:#0a58ca; }
.sidebar { border-left:1px solid #eee; padding-left:1rem; }
.figure { display:flex; gap:1rem; }
.figure img { width:200px; border-radius:10px; }
*/
