#site-banner {
  width: 100%;
  height: 200px;
  background-image: url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?w=1600&auto=format&fit=crop&q=80");
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#site-banner-inner {
  background: rgba(10, 20, 40, 0.65);
  padding: 1.2rem 3rem;
  border-radius: 8px;
}
#site-banner-inner span {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
#layout-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}
main.main {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}
#site-sidebar {
  width: 240px;
  min-width: 240px;
  flex-shrink: 0;
  padding: 1.2rem;
  border-left: 3px solid #2A5298;
  margin-top: 2rem;
  position: sticky;
  top: 1rem;
  box-sizing: border-box;
}
.sidebar-title { font-size: 1rem; font-weight: 700; color: #2A5298; margin-bottom: 0.5rem; }
.sidebar-hr { border: none; border-top: 1px solid #C0622A; margin-bottom: 0.8rem; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { margin-bottom: 0.7rem; font-size: 0.85rem; line-height: 1.4; border-bottom: 1px dotted rgba(42,82,152,0.2); padding-bottom: 0.5rem; word-break: break-all; }
.sidebar-list a { color: var(--primary); text-decoration: none; }
.sidebar-list a:hover { color: #C0622A; }
#access-counter-widget { margin-bottom: 2rem; }
.counter-body { display: flex; flex-direction: column; align-items: center; padding: 0.75rem 0.5rem; background: #f5f7fc; border-radius: 8px; border: 1px solid #dde3f0; text-align: center; }
.counter-icon { font-size: 1.6rem; margin-bottom: 4px; }
.counter-label { font-size: 11px; color: #888; margin-bottom: 4px; }
.counter-value { font-size: 1.5rem; font-weight: 700; color: #2a5298; }

@media only screen and (max-width: 768px) {
  #site-banner { height: 120px !important; }
  #site-banner-inner { padding: 0.7rem 1.2rem !important; }
  #site-banner-inner span { font-size: 1.2rem !important; letter-spacing: 1px !important; }
  #layout-wrapper { flex-direction: column !important; padding: 0 0.75rem !important; gap: 1rem !important; }
  main.main { width: 100% !important; order: 1 !important; }
  #site-sidebar { width: 100% !important; min-width: unset !important; border-left: none !important; border-top: 3px solid #2A5298 !important; position: static !important; margin-top: 1rem !important; padding: 1rem 0 !important; order: 2 !important; }
}