* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; background: #f0f0f1; color: #2c3338; line-height: 1.6; }

/* WordPress Admin Bar Style */
.wp-admin-bar { background: #23282d; height: 32px; display: flex; align-items: center; padding: 0 20px; position: sticky; top: 0; z-index: 9999; box-shadow: 0 1px 1px rgba(0,0,0,0.04); }
.wp-admin-bar a { color: #eee; text-decoration: none; margin-right: 20px; font-size: 13px; }
.wp-admin-bar a:hover { color: #72aee6; }

/* Header */
header { background: #fff; border-bottom: 1px solid #dcdcde; padding: 0; }
.site-header { max-width: 1200px; margin: 0 auto; padding: 30px 20px; display: flex; justify-content: space-between; align-items: center; }
.site-title { font-size: 28px; font-weight: 600; color: #1d2327; margin: 0; }
.site-description { color: #646970; font-size: 14px; margin-top: 5px; }

/* Navigation */
nav { background: #fff; border-bottom: 1px solid #dcdcde; position: sticky; top: 32px; z-index: 999; }
.nav-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
nav a { color: #1d2327; text-decoration: none; padding: 15px 20px; display: inline-block; font-size: 14px; font-weight: 500; transition: all 0.2s; }
nav a:hover, nav a.active { color: #2271b1; background: #f6f7f7; }

/* Main Content */
.wp-content { max-width: 1200px; margin: 30px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.main-content { background: #fff; padding: 30px; border: 1px solid #dcdcde; border-radius: 2px; box-shadow: 0 1px 1px rgba(0,0,0,0.04); }

/* Sidebar */
.wp-sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: #fff; padding: 20px; border: 1px solid #dcdcde; border-radius: 2px; box-shadow: 0 1px 1px rgba(0,0,0,0.04); }
.widget-title { font-size: 16px; font-weight: 600; color: #1d2327; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #dcdcde; }
.widget ul { list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid #f0f0f1; }
.widget li:last-child { border-bottom: none; }
.widget a { color: #2271b1; text-decoration: none; font-size: 14px; }
.widget a:hover { color: #135e96; }

/* Posts */
.post, .entry { background: #fff; padding: 30px; margin-bottom: 20px; border: 1px solid #dcdcde; border-radius: 2px; box-shadow: 0 1px 1px rgba(0,0,0,0.04); overflow: hidden; }
.entry-header { margin-bottom: 20px; }
.entry-title { font-size: 28px; font-weight: 600; color: #1d2327; margin-bottom: 10px; word-wrap: break-word; }
.entry-meta { color: #646970; font-size: 13px; margin-bottom: 15px; }
.entry-meta a { color: #2271b1; text-decoration: none; }
.entry-content { font-size: 15px; line-height: 1.8; }
.entry-content img { max-width: 100%; height: auto; border-radius: 2px; margin: 20px 0; display: block; }
.entry-content h2 { font-size: 24px; margin: 25px 0 15px; color: #1d2327; word-wrap: break-word; }
.entry-content h3 { font-size: 20px; margin: 20px 0 12px; color: #1d2327; word-wrap: break-word; }
.entry-content p { margin-bottom: 15px; word-wrap: break-word; }
.post img { max-width: 100%; height: auto; display: block; }
.post .entry-title { word-wrap: break-word; overflow-wrap: break-word; }

/* Buttons */
.wp-button, .button { display: inline-block; padding: 10px 20px; background: #2271b1; color: #fff; text-decoration: none; border-radius: 2px; font-size: 14px; font-weight: 500; border: none; cursor: pointer; transition: all 0.2s; }
.wp-button:hover, .button:hover { background: #135e96; }

/* Search */
.search-form { position: relative; }
.search-form input[type="text"] { width: 100%; padding: 10px 12px; border: 1px solid #8c8f94; border-radius: 2px; font-size: 14px; }
.search-form input[type="text"]:focus { border-color: #2271b1; outline: none; box-shadow: 0 0 0 1px #2271b1; }
.search-form button { width: 100%; margin-top: 10px; padding: 10px; background: #2271b1; color: #fff; border: none; border-radius: 2px; cursor: pointer; font-size: 14px; font-weight: 500; }
.search-form button:hover { background: #135e96; }

/* Footer */
footer { background: #fff; border-top: 1px solid #dcdcde; margin-top: 50px; padding: 30px 20px; text-align: center; color: #646970; font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) {
  .wp-content { max-width: 100%; padding: 0 15px; gap: 20px; }
  .main-content { padding: 20px; }
  .site-header { padding: 20px 15px; }
  .nav-wrapper { padding: 0 15px; }
}

@media (max-width: 768px) {
  .wp-content { grid-template-columns: 1fr; gap: 15px; }
  .wp-sidebar { order: 2; }
  .site-header { flex-direction: column; text-align: center; gap: 15px; }
  .site-title { font-size: 24px; }
  .site-description { font-size: 13px; }
  nav { position: static; }
  .nav-wrapper { flex-wrap: wrap; justify-content: center; padding: 0 10px; }
  nav a { padding: 10px 12px; font-size: 13px; }
  .main-content { padding: 15px; }
  .entry-title { font-size: 24px; }
  .entry-content { font-size: 14px; }
  .entry-content h2 { font-size: 20px; }
  .entry-content h3 { font-size: 18px; }
  .widget { padding: 15px; }
  .post, .entry { padding: 20px; }
  .wp-admin-bar { padding: 0 10px; font-size: 12px; }
}

@media (max-width: 480px) {
  .wp-content { padding: 0 10px; margin: 15px auto; }
  .site-header { padding: 15px 10px; }
  .site-title { font-size: 20px; }
  .site-description { font-size: 12px; }
  nav a { padding: 8px 8px; font-size: 12px; }
  .main-content { padding: 12px; }
  .entry-title { font-size: 20px; }
  .entry-content { font-size: 13px; }
  .widget { padding: 12px; }
  .widget-title { font-size: 14px; }
  footer { padding: 20px 10px; font-size: 12px; }
  .wp-admin-bar { height: 28px; font-size: 11px; }
  .wp-admin-bar a { margin-right: 10px; }
}

/* Hamburger Menu - WordPress Style */
.hamburger { display: none; cursor: pointer; padding: 8px; background: transparent; border: 1px solid #dcdcde; border-radius: 2px; transition: all 0.3s; }
.hamburger:hover { background: #f6f7f7; border-color: #2271b1; }
.hamburger div { width: 20px; height: 2px; background: #1d2327; margin: 4px 0; border-radius: 2px; }
@media (max-width: 768px) {
  .hamburger { display: block; position: absolute; top: 25px; right: 15px; }
}

/* Quick Menu - WordPress Style */
.quick-menu { position: absolute; top: 80px; right: 20px; background: #fff; border: 1px solid #c3c4c7; border-radius: 4px; box-shadow: 0 2px 16px rgba(0,0,0,0.15); display: none; z-index: 10000; min-width: 240px; animation: slideDown 0.2s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.quick-menu::before { content: ''; position: absolute; top: -8px; right: 15px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #c3c4c7; }
.quick-menu::after { content: ''; position: absolute; top: -7px; right: 16px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 7px solid #fff; }
.quick-menu ul { list-style: none; padding: 4px 0; margin: 0; }
.quick-menu li { margin: 0; position: relative; }
.quick-menu a { display: flex; align-items: center; padding: 12px 16px; color: #1d2327; text-decoration: none; font-size: 14px; font-weight: 400; transition: all 0.15s; position: relative; }
.quick-menu a:hover { background: #f0f0f1; color: #2271b1; }
.quick-menu a:active { background: #2271b1; color: #fff; }
.quick-menu li:first-child a { border-radius: 4px 4px 0 0; }
.quick-menu li:last-child a { border-radius: 0 0 4px 4px; }
.quick-menu li + li a { border-top: 1px solid #f0f0f1; }
