:root { --site-ink: #2c3e50; --site-muted: #516574; --site-bg: #f4f6f7; --site-surface: #fff; --site-accent: #e67e22; --site-link: #7d4310; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--site-ink); background: var(--site-bg); font: 16px/1.68 system-ui, sans-serif; }
h1, h2, h3 { font-family: system-ui, sans-serif; line-height: 1.22; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--site-link); text-underline-offset: .15em; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 4px; }
.sg-topbar { background: #fff; border-bottom: 2px solid var(--site-accent); }
.sg-topbar-inner, .sg-page-wrap, .sg-footer-inner { width: min(calc(100% - 2.5rem), 1160px); margin-inline: auto; }
.sg-topbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sg-brand { display: flex; align-items: center; gap: .7rem; }
.sg-brand svg { width: 48px; flex: none; }
.sg-brand-info > * { display: block; }
.sg-brand a { color: var(--site-ink); }
.sg-nav ul { display: flex; flex-wrap: wrap; gap: 1.15rem; list-style: none; padding: 0; margin: 0; }
.sg-nav a { text-decoration: none; }
.sg-hamburger { display: none; color: var(--site-ink); background: transparent; border: 1px solid var(--site-accent); min-width: 42px; min-height: 39px; padding: .4rem .6rem; }
.sg-hamburger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: currentColor; }
.sg-page-wrap { padding-block: clamp(1.4rem, 3.5vw, 2.75rem); }
.sg-footer { color: #f7f3e9; background: #2c3e50; padding-top: 1.7rem; border-top: 2px solid var(--site-accent); }
.sg-footer a { color: #ffe4b9; }
.sg-footer-widgets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; }
.sg-footer-bottom { text-align: center; padding: .9rem 1rem; border-top: 1px solid #ffffff36; }
.sg-cookie-bar { position: fixed; inset: auto 0 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .7rem 1rem; color: #fff; background: #2c3e50; font-size: .88rem; }
.sg-cookie-bar a { color: #ffe4b9; }
.sg-cookie-accept { color: #2e251b; background: #f9e5c6; border: 0; padding: .45rem .8rem; font: inherit; }
@media (max-width: 800px) {
  .sg-topbar-inner, .sg-page-wrap, .sg-footer-inner { width: calc(100% - 1.75rem); }
  .sg-topbar-inner { min-height: 68px; flex-wrap: wrap; gap: .55rem; padding-block: .6rem; }
  .sg-hamburger { display: inline-block; }
  .sg-nav { display: none; flex-basis: 100%; width: 100%; }
  .sg-nav.is-open { display: block; }
  .sg-nav ul { flex-direction: column; gap: .55rem; }
  .sg-footer-widgets { grid-template-columns: 1fr; }
  .sg-cookie-bar { flex-wrap: wrap; }
}

.sg-section-alt { background: #fff; border: 1px solid #d6dfe4; border-left: 4px solid #e67e22; padding: clamp(1rem, 3.8vw, 1.9rem); margin-bottom: 1.15rem; }
.sg-section-alt h1 { margin-top: 0; font-size: clamp(1.7rem, 4vw, 3rem); }
.sg-features-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.sg-feature-item { flex: 1 1 14rem; padding: .85rem; background: #f2f5f7; }
.sg-feature-icon svg { width: 36px; }
.sg-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.sg-card { border: 1px solid #d6dfe4; background: #fff; }
.sg-card-thumb img { display: block; width: 100%; }
.sg-card-body { padding: 1.05rem; }
.sg-card-meta { color: var(--site-muted); font-size: .85rem; }
.sg-protect-level { display: flex; gap: .18rem; }
.sg-protect-bar { width: 1rem; height: 4px; background: #cdd7df; }
.sg-protect-bar.active { background: #e67e22; }
.sg-btn-outline { display: inline-block; border: 1px solid #c06d24; padding: .32rem .65rem; }
.sg-pagination { text-align: center; margin-top: 1.7rem; }
@media (max-width: 800px) {
  .sg-post-grid { grid-template-columns: 1fr; }
}
