/* Homepage header + footer, reused on generated pages (scoped with hp- classes). */
.hp-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #e6e9ef; }
.hp-wrap { max-width: 1040px; margin: 0 auto; padding: 16px; }
.hp-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0b1220; }
.hp-brand:hover { color: #0b1220; }
.hp-logo { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; box-shadow: 0 8px 20px rgba(15, 118, 110, .18); border: 2px solid #01bfa5; padding: 1px; }
.hp-brand b { font-size: 14px; letter-spacing: .2px; }
.hp-brand span { display: block; font-size: 12px; color: #5b667a; margin-top: 1px; }
.hp-header nav { margin-top: 10px; display: flex; gap: 5px; flex-wrap: wrap; font-size: 13px; }
.hp-header nav a { font-size: 13px; color: #5b667a; text-decoration: none; padding: 6px 8px; border-radius: 999px; }
.hp-header nav a:hover { background: #f2f5fb; color: #0b1220; }
.hp-header nav a[aria-current=page] { color: #0b1220; font-weight: 650; }
.hp-header nav.hp-lang { transition: all .3s ease; max-height: 50px; overflow: hidden; }
.hp-footer { border-top: 1px solid #e6e9ef; margin-top: 30px; padding: 22px 0; color: #5b667a; font-size: 13px; }
.hp-footer .hp-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; padding-top: 0; padding-bottom: 0; }
.hp-footer strong { color: #0b1220; }
.hp-legal { font-size: 12px; color: #5b667a; }
.hp-links { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.hp-footer .note { grid-column: 1 / -1; }
@media (max-width: 880px) { .hp-footer .hp-wrap { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .hp-header .hp-wrap { transition: padding .2s ease; }
  .hp-header nav { transition: opacity .2s ease, max-height .25s ease, margin .25s ease; max-height: 90px; overflow: hidden; }
  .hp-header.scrolled nav { opacity: 0; visibility: hidden; pointer-events: none; max-height: 0; margin-top: 0; }
  .hp-header.scrolled .hp-wrap { padding-top: 8px; padding-bottom: 8px; }
  .hp-logo { transition: width .2s ease, height .2s ease; }
  .hp-header.scrolled .hp-logo { width: 38px; height: 38px; }
}
