/* ------------------------------------------------------------------
   header-footer.css
   (Keep header/footer related styles isolated and scoped)
   ------------------------------------------------------------------ */

.site-header{
  align-self: stretch;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  gap: .75rem;
}

.site-header__nav{ display:flex; gap:.5rem; align-items:center; }
.site-header__nav a{ color:var(--link); text-decoration:none; }
.site-header__lang{ margin-left:auto; }

.home-btn{
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
}
.home-btn:hover{ background: var(--link); color: var(--bg); }

/* page header (hero area inside article) — visual centered block */
.page-header{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-title{ font-size: clamp(1.5rem,3vw,2rem); margin: 0 0 20px 0; text-align:center; width:100%; }
.subtitle{ text-align:center; width:100%; max-width:600px; margin:0 auto; }

/* footer */
.site-footer{
  border-top: 1px solid var(--border);
  color: var(--muted);
  display:flex;
  align-items:center;
  justify-content:center;
  background: transparent;
}
.site-footer .footer-inner{
  padding: 24px 16px;
  display:flex;
  gap:6px;
  align-items:center;
  justify-content:center;
}

/* toTop button */
#toTop{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  z-index: 99;
}
