/*
Theme Name: Father's House
Theme URI: https://fathershouse.org.ua/
Author: Father's House
Description: Lightweight bilingual Gutenberg block theme for Father's House Ukraine.
Version: 0.1.34
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: fathers-house
*/

:where(a,button,summary,input,textarea,select):focus-visible{
 outline:2px solid var(--fh-brand);outline-offset:2px;box-shadow:none
}

.fh-site-header {
  border-bottom: 1px solid var(--wp--preset--color--border, var(--fh-border));
}

.fh-site-footer {
  border-top: 1px solid var(--wp--preset--color--border, var(--fh-border));
}

.fh-site-header .fh-header-inner {
  gap: clamp(1rem, 3vw, 3rem);
}

.fh-site-brand {
  flex-shrink: 0;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.fh-site-brand a,
.fh-site-header .wp-block-navigation a,
.fh-site-footer .wp-block-site-title a {
  text-decoration: none;
}

.fh-site-brand a:hover,
.fh-site-header .wp-block-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Polylang Free does not translate FSE navigation blocks.
   Keep explicit, editable core Navigation blocks for each supported locale.
   Hidden-language navigation must never be keyboard reachable. */
html:lang(uk) .fh-site-brand--en,
html:lang(uk) .fh-primary-nav--en,
html:lang(en) .fh-site-brand--uk,
html:lang(en) .fh-primary-nav--uk {
  display: none !important;
}

@media (max-width: 599px) {
  .fh-site-header .fh-header-inner {
    gap: 0.5rem;
  }

  .fh-site-brand {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
