/* --- Reset & Global Styles --- */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f4f4f4; } a { color: #0073aa; text-decoration: none; } a:hover { text-decoration: underline; } img { max-width: 100%; height: auto; } /* --- Layout --- */ .site { max-width: 1200px; margin: 0 auto; background-color: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); } /* --- Header --- */ .site-header { padding: 2em; border-bottom: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } .site-title a { font-size: 2em; font-weight: 700; color: #333; text-decoration: none; } .site-title a:hover { color: #0073aa; text-decoration: none; } .site-description { font-size: 0.9em; color: #666; } .main-navigation ul { list-style: none; } .main-navigation li { display: inline-block; margin-left: 1.5em; } .main-navigation a { font-weight: 600; color: #555; text-transform: uppercase; font-size: 0.9em; } .menu-toggle { /* Tombol menu untuk mobile */ display: none; background: none; border: 1px solid #333; padding: 0.5em 1em; cursor: pointer; } /* --- Main Content & Sidebar Layout --- */ .site-content-container { display: flex; flex-wrap: wrap; } #primary { flex: 2; /* Mengambil 2/3 ruang */ padding: 2em; min-width: 0; /* Mencegah overflow di flexbox */ } #secondary { flex: 1; /* Mengambil 1/3 ruang */ padding: 2em; border-left: 1px solid #e0e0e0; } /* --- Post Styles --- */ .post { margin-bottom: 3em; padding-bottom: 1.5em; border-bottom: 1px solid #ddd; } .post:last-child { border-bottom: none; } .entry-title { font-size: 1.8em; margin-bottom: 0.5em; line-height: 1.3; } .entry-title a { color: #333; text-decoration: none; } .entry-title a:hover { color: #0073aa; } .entry-meta { font-size: 0.85em; color: #777; margin-bottom: 1.5em; } .entry-meta span { margin-right: 1em; } .post-thumbnail { margin-bottom: 1.5em; } .entry-content p { margin-bottom: 1em; } .read-more { display: inline-block; margin-top: 1em; font-weight: 600; } /* --- Pagination --- */ .navigation { margin-top: 2em; text-align: center; } .nav-links a { padding: 0.5em 1em; border: 1px solid #ddd; margin: 0 0.25em; } .nav-links .current { padding: 0.5em 1em; border: 1px solid #ddd; background-color: #f4f4f4; } /* --- Widget Styles --- */ .widget { margin-bottom: 2em; } .widget-title { font-size: 1.2em; font-weight: 700; margin-bottom: 1em; padding-bottom: 0.5em; border-bottom: 2px solid #333; } .widget ul { list-style: none; } .widget li { margin-bottom: 0.75em; padding-bottom: 0.75em; border-bottom: 1px solid #eee; } .widget li:last-child { border-bottom: none; } .search-form { display: flex; } .search-field { flex-grow: 1; padding: 0.5em; border: 1px solid #ccc; border-right: none; } .search-submit { padding: 0.5em 1em; border: 1px solid #ccc; background-color: #f7f7f7; cursor: pointer; } /* --- Footer --- */ .site-footer { text-align: center; padding: 2em; background-color: #333; color: #aaa; border-top: 1px solid #e0e0e0; } .site-footer a { color: #fff; } .site-info p { margin-bottom: 0.5em; } /* --- Responsive Design --- */ @media screen and (max-width: 768px) { .site-header { flex-direction: column; text-align: center; } .site-branding { margin-bottom: 1em; } .menu-toggle { display: inline-block; } .menu-primary-container { display: none; width: 100%; text-align: center; margin-top: 1em; } .menu-primary-container.is-active { display: block; } .main-navigation ul { flex-direction: column; } .main-navigation li { display: block; margin: 0.5em 0; } .site-content-container { flex-direction: column; } #primary { order: 2; /* Konten utama di bawah */ } #secondary { order: 1; /* Sidebar di atas di mobile */ border-left: none; border-bottom: 1px solid #e0e0e0; } } /* Kecil untuk menambahkan interaktivitas dasar pada tombol menu */ /* Anda perlu sedikit JavaScript untuk ini, tapi ini adalah dasarnya */