/* BIEPE - language switcher (EN/HR) and Croatian-only blocks */

/* ---- Language switcher ---- */
.language-switch { display: flex; gap: 4px; align-items: center; flex-shrink: 0; margin-left: 8px; font-size: 12px; font-weight: 700; }
.language-switch a,
.language-switch span { color: inherit; text-decoration: none; padding: 7px 6px; border-radius: 5px; min-width: 30px; text-align: center; }
.language-switch [aria-current=page] { background: var(--color-primary-soft); color: var(--color-primary-hover); }
.language-switch a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Croatian labels are longer: tighten the desktop menu a little */
@media (max-width: 1100px) {
  html[lang=hr] .nav-links { gap: 12px; }
  html[lang=hr] .nav-link { font-size: 13px; }
}

/* Below the full-menu breakpoint: languages sit right next to the menu button, which stays on the far right */
@media (max-width: 679px) { .language-switch { margin-left: 0; } }
@media (width < 1180px) { .language-switch { margin-inline-start: auto; } }

/* ---- Croatian-only blocks ---- */
.hr-daily-badge { display: flex; align-items: center; justify-content: center; width: 139px; height: 139px; border-radius: 50%; background: #dfff47; color: #152c25; font-size: 24px; font-weight: 800; text-align: center; box-shadow: 0 8px 24px #132b241a; }
.hr-onboarding { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 32px; background: #f4f7f5; border-radius: 16px; counter-reset: step; }
.hr-onboarding li { counter-increment: step; display: flex; flex-direction: column; gap: 12px; color: #173c30; }
.hr-onboarding li:before { content: counter(step, decimal-leading-zero); font-size: 32px; font-weight: 700; color: #267a50; }
.hr-onboarding strong { font-size: 19px; }
.hr-onboarding span { font-size: 15px; line-height: 1.6; }

@media (max-width: 679px) {
  .hr-onboarding { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .hr-daily-badge { width: 100%; height: 100%; font-size: 18px; }
}
